/*! For license information please see TenantHome.js.LICENSE.txt */ (()=>{var e={91(e,t,n){var r=n(25371);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},198(e,t,n){var r=n(54825);e.exports=function(e,t,n){for(var a=-1,o=e.length;++athis.total&&this.destination.next(e)},t}(a.Subscriber)},311(e){e.exports=function(e){return e}},438(e,t,n){"use strict";var r,a=Object.create,o=Object.defineProperty,i=Object.defineProperties,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))t.indexOf(r)<0&&p.call(e,r)&&(n[r]=e[r]);return n},g=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},v=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},_=(e,t,n)=>(v(e,t,"default"),n&&v(n,t,"default")),M=(e,t,n)=>(n=null!=e?a(d(e)):{},v(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),w=(e,t,n)=>m(e,"symbol"!=typeof t?t+"":t,n),S={};g(S,{PureSingleValue:()=>Hr,computeVizProps:()=>qr,config:()=>Wr,default:()=>Ur,themes:()=>Vr}),e.exports=(r=S,v(o({},"__esModule",{value:!0}),r));var x={};g(x,{default:()=>C});var k=M(n(14041));_(x,n(14041));var C="default"in k?k.default:k,E={};g(E,{default:()=>L});var A=M(n(39067));_(E,n(39067));var L="default"in A?A.default:A,O={};g(O,{default:()=>D});var T=M(n(53057));_(O,n(53057));var D="default"in T?T.default:T,z={};g(z,{default:()=>P});var j=M(n(91344));_(z,n(91344));var P="default"in j?j.default:j,B={};g(B,{default:()=>N});var Y=M(n(68456));_(B,n(68456));var N="default"in Y?Y.default:Y,F={};g(F,{default:()=>R});var I=M(n(70434));_(F,n(70434));var R="default"in I?I.default:I,W={};g(W,{default:()=>q});var H=M(n(64127));_(W,n(64127));var q="default"in H?H.default:H,X=D.div.attrs(({dataTestKey:e})=>({"data-test":e,"data-testid":e}))` display: flex; justify-content: center; flex-direction: column; width: 100%; height: 100%; background-color: ${e=>e.backgroundColor}; `;X.displayName="VizStyleWrapper";var V=X,U={};g(U,{default:()=>G});var $=M(n(48153));_(U,n(48153));var G="default"in $?$.default:$,K={};g(K,{default:()=>Z});var J=M(n(2966));_(K,n(2966));var Z="default"in J?J.default:J,Q=D.div` margin-left: 10px; margin-right: 10px; padding-top: 8px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; `,ee=D.div` height: ${28}px; font-size: 14px; font-weight: 700; color: ${e=>e.fontColor}; background-color: ${e=>e.backgroundColor}; box-shadow: 0 1px ${e=>e.backgroundColor}; // this is added to avoid a 1px gap between title and viz divs that showed up intermittently because of pixel rounding error in chrome. `,te=e=>{const t=String(e.trellisKey).toString();return x.createElement(ee,{fontColor:e.fontColor,backgroundColor:e.backgroundColor,"data-test":"trellis-title",title:t},x.createElement(Q,null,t))},ne={};g(ne,{default:()=>ae});var re=M(n(48808));_(ne,n(48808));var ae="default"in re?re.default:re,oe={};g(oe,{default:()=>le});var ie=M(n(84377));_(oe,n(84377));var le="default"in ie?ie.default:ie,se={};g(se,{default:()=>ce});var ue=M(n(81886));_(se,n(81886));var ce="default"in ue?ue.default:ue,de={};g(de,{default:()=>pe});var fe=M(n(61993));_(de,n(61993));var pe="default"in fe?fe.default:fe,me={};g(me,{default:()=>ye});var he=M(n(74859));_(me,n(74859));var ye="default"in he?he.default:he,be='"Splunk Platform Sans", "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif',ge=e=>({left:"start",center:"center",right:"end"}[e]||"center"),ve=e=>"absolute"===e||"percent"===e,_e=(e,t)=>(0,de.formatColor)(e)||(0,de.formatColor)(t),Me=e=>!!e&&"transparent"!==e,we=(e,t)=>!!e&&!!t&&(0,de.formatColor)(e.toLowerCase())===(0,de.formatColor)(t.toLowerCase()),Se=(e,t)=>{const n=_e(e.backgroundColor,t.defaultBackgroundColor),r=Me(n),a=(({majorColor:e,backgroundColor:t,defaultFontColor:n,defaultBlockFontColor:r})=>Me(t)&&!e?(({backgroundColor:e,defaultFontColor:t,defaultBlockFontColor:n})=>we(e,n)?t:n)({backgroundColor:t,defaultFontColor:n,defaultBlockFontColor:r}):_e(e,n))({majorColor:e.majorColor,backgroundColor:n,defaultFontColor:t.defaultFontColor,defaultBlockFontColor:t.defaultBlockFontColor}),o=(({trendColor:e,trendValue:t,majorValue:n,customizedBgColor:r,trendDisplay:a,defaultColors:o})=>{if(e)return e;if(Number.isNaN(Number(t)))return;const{defaultFontColor:i,defaultBlockFontColor:l,defaultBackgroundColor:s}=o;if(Me(r)&&!we(r,s)&&!we(r,l))return l;const u="percent"===a&&t===parseFloat(n);return 0===t||u?i:t>0?me.DELTA_GREEN:me.DELTA_RED})({trendColor:e.trendColor,trendValue:e.trendValue,majorValue:e.majorValue,customizedBgColor:e.backgroundColor,trendDisplay:e.trendDisplay,defaultColors:t});return{backgroundColor:n,backgroundEnabled:r,majorColor:a,trendColor:o,underLabelColor:a}},xe=({value:e,numberPrecision:t,shouldUseThousandSeparators:n,shouldAbbreviateValue:r})=>{let a=(0,oe.isNumerial)(e)?(0,oe.formatNumber)(e,t,{useThousandSeparators:n,useTrendUnits:r}):e;return a=a||"",a},ke=(e,{width:t,height:n},r=be,a="normal")=>{const o=(0,se.computeTextSize)(e,`${a} 12px ${r}`),i=Math.min(t/o*12,n/12*12);return parseInt(i,10)},Ce=({width:e,height:t,majorValue:n,majorValueDisplay:r,trendValue:a,majorFontSize:o,trendFontSize:i,trendDisplay:l,unit:s,numberPrecision:u,shouldUseThousandSeparators:c,shouldAbbreviateTrendValue:d,shouldAbbreviateMajorValue:f})=>{const p=(0,oe.isNumerial)(a)&&ve(l)?.6:1,m=.9*e,h=.9*t,y=(({majorValueDisplay:e,numberPrecision:t,shouldUseThousandSeparators:n,shouldAbbreviateMajorValue:r})=>xe({value:null===e?"N/A":e,numberPrecision:t,shouldUseThousandSeparators:n,shouldAbbreviateValue:r}))({majorValueDisplay:r,numberPrecision:u,shouldUseThousandSeparators:c,shouldAbbreviateMajorValue:f}),b=o||(({width:e,height:t,unit:n,majorText:r,spaceRatio:a=1})=>ke(n?`${n}${r}`:r,{width:e*a,height:t}))({width:m,height:h,unit:s,majorText:y,spaceRatio:p}),g=(({majorValue:e,trendValue:t,trendDisplay:n,numberPrecision:r,shouldUseThousandSeparators:a,shouldAbbreviateTrendValue:o})=>{const i=e=>xe({value:e,numberPrecision:r,shouldUseThousandSeparators:a,shouldAbbreviateValue:o});if(""===t||!(0,oe.isNumerial)(t))return"";if("percent"!==n)return i(t);const l=Math.abs(t-e);let s=t/l*100;return 0===t&&0===l&&(s=0),Number.isFinite(s)?`${i(s)}%`:"N/A"})({majorValue:n,trendValue:a,trendDisplay:l,numberPrecision:u,shouldUseThousandSeparators:c,shouldAbbreviateTrendValue:d}),v=i||(({width:e,height:t,trendText:n,spaceRatio:r=1})=>{let a=12;return r>0&&(a=ke(n,{width:e*r,height:t}),a=parseInt(a,10)*r),a})({width:m,height:h,trendText:g,spaceRatio:1-p});return{majorText:y,majorTextFontSize:b,trendText:g,trendTextFontSize:v}},Ee=(e,t)=>255===e?e-t:0===e?e+t:e,Ae=e=>((e,t)=>{const n=e.replace(/(0x|#)/,""),r=parseInt(n.substr(0,2),16),a=parseInt(n.substr(2,2),16),o=parseInt(n.substr(4,2),16);let i=Math.max(Math.min(Math.floor(r*t),255),0),l=Math.max(Math.min(Math.floor(a*t),255),0),s=Math.max(Math.min(Math.floor(o*t),255),0);return i===r&&l===a&&s===o&&(0===i&&0===l&&0===s?(i=Ee(i,40),l=Ee(l,40),s=Ee(s,40)):255===i&&255===l&&255===s?(i=Ee(i,80),l=Ee(l,80),s=Ee(s,80)):(i=Ee(i,20),l=Ee(l,20),s=Ee(s,20))),`#${i.toString(16).padStart(2,0)}${l.toString(16).padStart(2,0)}${s.toString(16).padStart(2,0)}`})(e,.5),Le={};g(Le,{default:()=>Te});var Oe=M(n(99664));_(Le,n(99664));var Te="default"in Oe?Oe.default:Oe,De={};g(De,{default:()=>je});var ze=M(n(79473));_(De,n(79473));var je="default"in ze?ze.default:ze,Pe={};g(Pe,{default:()=>Ye});var Be=M(n(41454));_(Pe,n(41454));var Ye="default"in Be?Be.default:Be,Ne=D.div` display: flex; flex-direction: row; justify-content: ${e=>e.justify||"flex-end"}; height: ${e=>e.size||12}px; ${e=>e.size?`margin: 0 ${.2*parseInt(e.size,10)||5}px;`:""}; `,Fe=D.div` white-space: nowrap; font-size: ${e=>e.size||12}px; color: ${e=>e.color||"#000"}; font-family: ${be}; height: ${e=>e.size||12}px; line-height: ${e=>e.size||12}px; display: flex; align-self: baseline; ${e=>e.size?`margin-left: ${.2*parseInt(e.size,10)||5}px;`:""}; `,Ie=({fontSize:e,color:t,value:n,text:r})=>{let a=!1,o=!1;return parseFloat(n,10)>0?(a=Te,o=(0,Pe._)("increase")):parseFloat(n,10)<0&&(a=je,o=(0,Pe._)("decrease")),C.createElement(Ne,{justify:"flex-end",size:e},C.createElement(Fe,{"data-test":"trendValueIndicator",size:e,color:t},a&&C.createElement(a,{"aria-label":o})),C.createElement(Fe,{"data-test":"trendValue",size:e,color:t},`${r}`))};Ie.propTypes={fontSize:L.number,color:L.string,value:L.oneOfType([L.string,L.number]),text:L.string};var Re=Ie,We={};g(We,{default:()=>qe});var He=M(n(25836));_(We,n(25836));var qe="default"in He?He.default:He,Xe=D.div` display: flex; flex-direction: row; align-items: flex-end; justify-content: left; height: ${e=>e.size}px; line-height: ${e=>e.size}px; `,Ve=D.div` white-space: nowrap; height: 100%; font-size: ${e=>e.size||12}px; color: ${e=>e.color}; font-family: ${be}; font-weight: bold; &:hover { text-decoration: ${e=>e.showUnderline?"underline":"inherit"}; cursor: ${e=>e.showUnderline?"pointer":"inherit"}; } ${e=>e.pseudoContent&&e.pseudoContentPosition?`&:${e.pseudoContentPosition} {\n // by default this pseudo element would inherit text-decoration from main element\n // and text-decoration could not be overwritten.\n // adding display: inline-block makes text decoration independent from main element.\n // => the unit will not be underlined if a user hovers over the main value\n display: inline-block;\n font-size: ${e.pseudoContentFontSize}px;\n position: relative;\n font-weight: normal;\n content: ${e.pseudoContent};\n }`:""} `,Ue=D(Ve).attrs({as:"button",type:"button"})` border: 0; background: transparent; padding: 0; -webkit-appearance: none; `,$e=["before","after"],Ge=({color:e,fontSize:t,unitPosition:n,title:r,value:a,onValueClick:o,unit:i})=>{let l,s;return"string"==typeof i&&(l=qe(i,{wrap:!0,quotes:"double"}),s="string"==typeof n&&$e.includes(n)?n:"after"),C.createElement(Xe,{size:t},"function"==typeof o?C.createElement(Ue,{"data-test":"majorValue",color:e,size:t,title:r,pseudoContent:l,pseudoContentPosition:s,pseudoContentFontSize:.6*t,showUnderline:!0,onClick:o},a):C.createElement(Ve,{"data-test":"majorValue",color:e,size:t,title:r,pseudoContent:l,pseudoContentPosition:s,pseudoContentFontSize:.6*t,showUnderline:!1},a))};Ge.propTypes={color:L.string,fontSize:L.number,unit:L.string,unitPosition:L.oneOf($e),value:L.oneOfType([L.string,L.number]),title:L.oneOfType([L.string,L.number]),onValueClick:L.oneOfType([L.bool,L.func])};var Ke=Ge,Je=D.div` display: flex; flex-direction: column; align-self: center; justify-content: center; `,Ze=D.div` display: flex; flex-direction: row; align-items: ${e=>e.alignItems||"center"}; justify-content: ${e=>ge(e.align)}; `,Qe=D.div` font-weight: normal; white-space: nowrap; font-size: ${e=>e.size||12}px; color: ${e=>e.color||"#000"}; font-family: ${be}; height: ${e=>e.size||12}px; line-height: 1.2; margin: ${e=>e.margin||"inherit"}; `,et=e=>{var t=b(e,[]);const{majorColor:n,majorTextFontSize:r,majorText:a,majorValueTitle:o,trendColor:i,trendTextFontSize:l,trendText:s,showTrendIndicator:u,unit:c,unitPosition:d,underLabel:f,underLabelFontSize:p,underLabelColor:m,onValueClick:h,align:y}=t,g=""!==s&&u;return C.createElement(Je,null,C.createElement(Ze,{alignItems:"baseline",align:y,"data-test":`single-value-row-align-${ge(y)}`},C.createElement(Ke,{color:n,fontSize:r,unit:c,unitPosition:d,value:a,title:o,onValueClick:h}),g&&C.createElement(Re,{fontSize:l,color:i,value:s,text:s})),f&&C.createElement(Ze,{justify:"center",align:y,"data-test":`single-value-row-align-${ge(y)}`},C.createElement(Qe,{"data-test":"underLabel",size:p,color:m,margin:"0 6px"},f)))};et.propTypes={majorText:L.string,majorColor:L.string,majorTextFontSize:L.number,majorValueTitle:L.string,trendText:L.string,trendTextFontSize:L.number,trendColor:L.string,showTrendIndicator:L.bool,unit:L.string,unitPosition:L.oneOf(["before","after"]),underLabel:L.string,underLabelFontSize:L.number,underLabelColor:L.string,onValueClick:L.oneOfType([L.bool,L.func]),align:L.string};var tt=et,nt={};g(nt,{default:()=>at});var rt=M(n(57959));_(nt,n(57959));var at="default"in rt?rt.default:rt,ot={};g(ot,{default:()=>lt});var it=M(n(66115));_(ot,n(66115));var lt="default"in it?it.default:it,st=D.svg` /* For fixing IE11 shows overflow part line issue */ overflow: hidden; `,ut=D.div` padding: 3px 8px; font-size: 12px; `,ct=e=>e.preventDefault(),dt=class e extends x.Component{constructor(e,...t){super(e,...t),w(this,"handleCursorMount",e=>{this.setState({anchor:e})}),this.state={anchor:null,activeIndex:0,hoveredIndex:null,componentIsFocused:!1},this.titleId=(0,ot.createDOMID)("sparkline-title"),this.pointRefs=[],this.containerRef=C.createRef(),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseLeave=this.handleMouseLeave.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleBlur=this.handleBlur.bind(this)}handleFocus(e){const{target:t}=e,{pointIndex:n}=t.dataset||{},{activeIndex:r,componentIsFocused:a,hoveredIndex:o}=this.state;if(void 0!==n){const e=Number.parseInt(n,10);r===e&&a&&null===o||this.setState({activeIndex:e,hoveredIndex:null,componentIsFocused:!0})}else if(this.pointRefs.length>0){const e=r?Math.min(this.pointRefs.length-1,r):0;this.pointRefs[e].focus()}}handleBlur(e){this.containerRef.current&&!this.containerRef.current.contains(e.relatedTarget)&&this.setState({componentIsFocused:!1})}handleKeyDown(e){const{data:t}=this.props,{activeIndex:n}=this.state,r=t.length;if(0===r)return;if(!["ArrowLeft","ArrowRight","Home","End"].includes(e.key))return;let a;switch(e.key){case"Home":a=0;break;case"End":a=r-1;break;case"ArrowLeft":a=Math.max(0,n-1);break;case"ArrowRight":a=Math.min(r-1,n+1);break;default:return}a!==n&&(e.preventDefault(),this.pointRefs[a]&&this.pointRefs[a].focus())}handleMouseOver(e){const t=e.target.dataset&&e.target.dataset.pointIndex;if(void 0!==t){const e=Number.parseInt(t,10);this.state.hoveredIndex!==e&&this.setState({hoveredIndex:e})}}handleMouseLeave(){null!==this.state.hoveredIndex&&this.setState({hoveredIndex:null})}getMax(){const{data:e,acceptNull:t,yMax:n}=this.props;return void 0===n?(()=>t?(0,ne.max)(this.fillNull()):(0,ne.max)(e))():n}getMin(){const{data:e,acceptNull:t,yMin:n}=this.props;return void 0===n?(()=>t?(0,ne.min)(this.fillNull()):(0,ne.min)(e))():n}getXUnit(e){const{data:t,width:n}=this.props,r=(n-2*e)/(t.length>1?t.length-1:1);return Math.max(0,r)}getYUnit(e){const{height:t}=this.props,n=(t-2*e)/(this.getMax()-this.getMin()||2);return Math.max(0,n)}getSegmentSets(e,t){const{acceptNull:n}=this.props,r=[];let a=[];for(const[o,i]of e.entries())!n&&(0,ne.isNull)(i)?(a.length>1&&r.push(a),a=[]):a.push(t[o]);return a.length>1&&r.push(a),r}fillNull(){const{data:e}=this.props;return e.map(e=>null===e?0:e)}dataToPoints(e,t){const{data:n}=this.props,r=this.getXUnit(e),a=this.getYUnit(t),o=this.getMax(),i=this.getMin();return n.map((n,l)=>({x:l*r+e,y:o===i?a+t:(o-n)*a+t})).map(e=>[e.x,e.y])}renderRect(e,t){const{data:n,height:r,showTooltip:a}=this.props,o=this.getXUnit(t);return e.map((e,t)=>C.createElement("rect",{key:`${t}_${e[0]}`,role:"graphics-symbol","aria-label":`Value: ${null===n[t]?"N/A":n[t]}, point ${t+1} of ${n.length}`,"data-test":`rect-${t}`,"data-point-index":t,tabIndex:a&&this.state.activeIndex===t?0:-1,ref:e=>{this.pointRefs[t]=e},x:Math.max(0,e[0]-o/2),y:0,width:0===t&&1!==n.length?o/2:o,height:r,style:{fillOpacity:0},onMouseDown:ct}))}renderArea(e){const{data:t,fillColor:n,fillOpacity:r,height:a,isArea:o}=this.props;if(!o||0===e.length)return null;let i=this.getSegmentSets(t,e);return i=i.map(e=>e.concat([[e.at(-1)[0],a],[e[0][0],a],e[0]])),C.createElement("g",{"data-test":"area"},i.map(e=>C.createElement("polyline",{key:`area${e.join("")}`,points:e.join(" "),"data-test":"area-line",style:{fill:n,fillOpacity:r,strokeWidth:"0"}})))}renderCursor(e,t){const{cursorStroke:n,cursorStrokeWidth:r,cursorStrokeLinecap:a,cursorStrokeDasharray:o,height:i}=this.props;return t&&C.createElement("line",{"data-test":"cursor",ref:this.handleCursorMount,x1:e,y1:0,x2:e,y2:i,style:{stroke:n,strokeWidth:r,strokeLinecap:a,strokeDasharray:o}})}renderTooltip(e,t){const{anchor:n}=this.state;return C.createElement(at,{"data-test":"tooltip",open:t,anchor:n,"data-test-value":e,appearance:"inverted",defaultPlacement:"above",animation:!1},C.createElement(ut,null,e))}renderEndDots(e,t,n){const{endDotFillColor:r,endDotRadius:a,endDotStroke:o,endDotStrokeWidth:i}=this.props;return C.createElement("g",null,e.slice(-t).map(e=>C.createElement("circle",{key:`end-dot${e[0]}${e[1]}`,"data-test":"end-dot",cx:e[0],cy:e[1],r:0===a?n:a,style:{fill:r,stroke:o,strokeWidth:i}})))}renderPolyline(e){const{data:t,lineColor:n,lineLength:r,lineStrokeWidth:a}=this.props,o=(0,ne.isFinite)(r)&&r>0?r:e.length,i=this.getSegmentSets(t.slice(-o),e.slice(-o));return C.createElement("g",{"data-test":"sparkline"},i.map(e=>C.createElement("polyline",{key:`line${e.join("")}`,"data-test":"polyline",style:{fill:"none",stroke:n,strokeWidth:a,strokeLinejoin:"round",strokeLinecap:"round"},points:e.join(" ")})))}getInteractionState({data:e,points:t,showTooltip:n,activeIndex:r,hoveredIndex:a,componentIsFocused:o}){if(!n)return{currentPointX:null,tooltipValue:null,showCursorAndTooltip:!1,interactiveProps:{}};const i={onKeyDown:this.handleKeyDown,onMouseOver:this.handleMouseOver,onMouseLeave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},l=null!==a;if(!((l||o)&&e.length>0))return{currentPointX:null,tooltipValue:null,showCursorAndTooltip:!1,interactiveProps:i};const s=l?a:r;if(!(null!==s&&s>=0&&s0&&l),{currentPointX:M,tooltipValue:w,showCursorAndTooltip:S,interactiveProps:x}=this.getInteractionState({data:t,points:v,showTooltip:r,activeIndex:p,hoveredIndex:m,componentIsFocused:y}),k=f||(0,Pe._)("Source count over time sparkline trend");return C.createElement("div",h(h({"data-test":"line","data-test-type":u?"area":"line",ref:e=>{this.containerRef.current=e,"function"==typeof n?n(e):n&&"object"==typeof n&&(n.current=e)}},x),(0,ne.omit)(this.props,(0,ne.keys)(e.propTypes))),C.createElement(st,{height:s,width:d,"aria-labelledby":this.titleId,"data-test":"sparkline-svg"},C.createElement("title",{id:this.titleId,"data-test":"sparkline-title"},k),C.createElement("g",null,r?this.renderCursor(M,S):null,this.renderPolyline(v),this.renderArea(v),_?this.renderEndDots(v,_,b):null,this.renderRect(v,b),r?this.renderTooltip(w,S):null)))}};w(dt,"propTypes",{acceptNull:L.bool,data:e=>(0,ne.isArray)(e.data)?e.acceptNull&&!e.data.every(e=>(0,ne.isNull)(e)||(0,ne.isFinite)(e))?new Error("Data provided to Sparkline must be finite numbers or null."):e.acceptNull||e.data.every(e=>(0,ne.isFinite)(e))?null:new Error("Data provided to Sparkline must be finite numbers."):new Error("Data provided to Sparkline must be an array."),elementRef:L.oneOfType([L.func,L.object]),endDotCount:L.number,endDotFillColor:L.string,endDotRadius:L.number,endDotStroke:L.string,endDotStrokeWidth:L.number,fillColor:L.string,fillOpacity:L.string,cursorStroke:L.string,cursorStrokeWidth:L.number,cursorStrokeLinecap:L.oneOf(["butt","round","square"]),cursorStrokeDasharray:L.string,height:L.number.isRequired,isArea:L.bool,lineColor:L.string,lineLength:L.number,lineStrokeWidth:L.number,showEndDot:L.bool,showTooltip:L.bool,yMax:L.number,yMin:L.number,width:L.number.isRequired,title:L.string}),w(dt,"defaultProps",{acceptNull:!1,data:[],showTooltip:!0,endDotCount:0,showEndDot:!1,endDotRadius:0,endDotFillColor:"white",endDotStroke:"black",endDotStrokeWidth:0,fillColor:"#65a637",fillOpacity:".1",cursorStroke:"#5184AF",cursorStrokeWidth:3,cursorStrokeLinecap:"square",cursorStrokeDasharray:"1, 5",isArea:!1,lineColor:"#65a637",lineStrokeWidth:1});var ft=dt,pt=({width:e,height:t,data:n,fill:r,fillOpacity:a=.2,stroke:o,showTooltip:i,isArea:l,lineLength:s=0,endDotCount:u=0,acceptNull:c=!0})=>C.createElement(ft,{lineColor:(0,de.formatColor)(o),fillColor:(0,de.formatColor)(r),fillOpacity:a.toString(10),data:n,height:t,width:e,showTooltip:i,isArea:l,lineStrokeWidth:1.5,lineLength:l?s:void 0,endDotCount:l?u:void 0,endDotRadius:Math.min(e,t)<15?1:3,endDotStroke:(0,de.formatColor)(o),endDotFillColor:(0,de.formatColor)(o),acceptNull:c,style:{flex:"0 0 auto",justifyContent:"center",display:"flex",alignItems:"flex-end"}});pt.propTypes={acceptNull:L.bool,data:L.arrayOf(L.number),endDotCount:L.number,fill:L.string,fillOpacity:L.number,height:L.number,isArea:L.bool,lineLength:L.number,showTooltip:L.bool,stroke:L.string,width:L.number};var mt=pt,ht=["below","before","after","off"],yt=({underLabel:e,underLabelFontSize:t})=>e&&e.length?1.2*t:0,bt=e=>ht.indexOf(e)>-1,gt=({showSparkline:e,sparklineValues:t})=>e&&Array.isArray(t)&&t.length>1&&t.every(e=>null===e||!Number.isNaN((0,oe.parseNumber)(e)))&&t.filter(e=>null!==e).length>0,vt=D.div` display: flex; flex-direction: column; height: 100%; width: 100%; justify-content: center; `,_t=D.div` display: flex; flex-direction: row; `,Mt=D.div.attrs(()=>({"data-test":"overflowWrapper"}))` box-sizing: border-box; padding-left: 16px; padding-right: 16px; width: 100%; height: ${e=>e.height}px; position: relative; display: flex; align-items: start; justify-content: ${e=>ge(e.align)}; &:after, &:before { position: absolute; height: 100%; width: ${16}px; content: ''; top: 0; } &:after { right: 0; pointer-events: none; background: linear-gradient( 90deg, ${e=>e.overflowBackgroundColor}00, ${e=>e.overflowBackgroundColor} ); } &:before { left: 0; pointer-events: none; background: linear-gradient( -90deg, ${e=>e.overflowBackgroundColor}00, ${e=>e.overflowBackgroundColor} ); } `,wt=e=>{var t=b(e,[]);const{backgroundColor:n,contentHeight:r,majorColor:a,majorText:o,majorTextFontSize:i,majorValueTitle:l,trendColor:s,trendText:u,trendTextFontSize:c,showTrendIndicator:d,unit:f,unitPosition:p,underLabel:m,underLabelFontSize:h,underLabelColor:y,onValueClick:g,showSparkline:v,sparklinePosition:_,sparklineWidth:M,sparklineHeight:w,sparklineValues:S,sparklineAreaColor:x,sparklineStrokeColor:k,showSparklineTooltip:E,showSparklineAreaGraph:A,shouldSparklineAcceptNullData:L,sparklineSegments:O,endDots:T,align:D}=t;let z=null;return gt({showSparkline:v,sparklineValues:S})&&(z=C.createElement(mt,{width:M,height:w,data:S,fill:x,stroke:k,showTooltip:E,isArea:A,acceptNull:L,lineLength:O,endDotCount:T})),C.createElement(vt,null,C.createElement(_t,null,"before"===_&&z,C.createElement(Mt,{overflowBackgroundColor:n,height:r,align:D},C.createElement(tt,{majorColor:a,majorText:o,majorTextFontSize:i,majorValueTitle:l,trendColor:s,trendText:u,trendTextFontSize:c,showTrendIndicator:d,unit:f,unitPosition:p,underLabel:m,underLabelFontSize:h,underLabelColor:y,onValueClick:g,align:D})),"after"===_&&z),"below"===_&&z)};wt.propTypes=y(h({},tt.propTypes),{contentHeight:L.number,backgroundColor:L.string,showSparkline:L.bool,sparklinePosition:L.oneOf(ht),sparklineWidth:L.number,sparklineHeight:L.number,sparklineValues:L.arrayOf(L.oneOfType([L.string,L.number])),sparklineAreaColor:L.string,sparklineStrokeColor:L.string,showSparklineTooltip:L.bool,showSparklineAreaGraph:L.bool,shouldSparklineAcceptNullData:L.bool,sparklineSegments:L.number,endDots:L.number});var St=wt,xt={none:{background:"#818d99",stroke:"#171d21"},low:{background:"#275126",stroke:"#FFFFFF"},guarded:{background:"#002b3e",stroke:"#FFFFFF"},elevated:{background:"#7d600f",stroke:"#FFFFFF"},high:{background:"#79401a",stroke:"#FFFFFF"},severe:{background:"#6f261d",stroke:"#FFFFFF"}},kt=D.div` overflow: hidden; ${e=>(0,F.toDimension)(P(e,["width","height"]))}; `,Ct=e=>{var t=b(e,[]);const{width:n,height:r=250,hasEventHandlers:a,style:o,majorFontSize:i,majorValue:l,majorValueDisplay:s,majorValueField:u,trendValue:c,trendFontSize:d,unitPosition:f,underLabelFontSize:p,numberPrecision:m,shouldUseThousandSeparators:g,shouldAbbreviateTrendValue:v,shouldAbbreviateMajorValue:_,sparklineValues:M,sparklineHighlightSegments:w,sparklineHighlightDots:S,showSparklineAreaGraph:k,showSparklineTooltip:E,shouldSparklineAcceptNullData:A,onValueClick:L,defaultFontColor:O,defaultBackgroundColor:T,defaultBlockFontColor:D,sparklineSeverityColors:z=xt,sparklineAreaColor:j,defaultThemeColors:P,splitByLayout:B,trellisKey:Y="",trellisSplitBy:F="",align:I}=t,R={defaultFontColor:O,defaultBackgroundColor:T,defaultBlockFontColor:D,sparklineSeverityColors:z},[W,H]=C.useState(Number(n)),[X,U]=C.useState(Number(r)),$=C.useCallback((e,t)=>{H(e),U(t)},[]),J=((e=K.LAYOUT_TYPE.Off)=>(()=>{const e=(0,x.useContext)(G);return Boolean(null==e?void 0:e.visualizations_enableTrellis)})()&&e===K.LAYOUT_TYPE.Trellis)(B),Z=(0,x.useCallback)(e=>((e,t,n,r,a,o=!1,i="",l="")=>a(y(h({},e),{payload:h({trendValue:r,value:t,name:n},o&&{"trellis.name":i,"trellis.value":l})})))(e,l,u,c,L,J,F,Y),[L,l,u,c,J,F,Y]),{backgroundEnabled:Q,backgroundColor:ee,majorColor:ne,trendColor:re,underLabelColor:ae}=Se(t,R),ie=t.sparklineStrokeColor||(({backgroundEnabled:e,backgroundColor:t,sparklineSeverityColors:n})=>(({backgroundEnabled:e,backgroundColor:t,defaultColors:n,customColorFormatter:r})=>e&&t&&"function"==typeof r?r(t):n.none)({backgroundEnabled:e,backgroundColor:t,defaultColors:n,customColorFormatter:e=>e===me.SPARKLINE_WHITE?n.none:{background:Ae(e),stroke:me.SPARKLINE_WHITE}}))({backgroundEnabled:Q,backgroundColor:ee,sparklineSeverityColors:z}).stroke,le=()=>{if(!W||!X)return null;let{sparklineDisplay:e="below",trendDisplay:n="absolute",unit:r,underLabel:u}=t;const y=(({sparklineValues:e})=>Array.isArray(e)?e.map(e=>{const t=(0,oe.parseNumber)(e);return 0===t?null:t||e}):void 0)({sparklineValues:M});let b=gt({showSparkline:bt(e)&&"off"!==e,sparklineValues:y});b&&(bt(e)||(e="below"));const x=b&&"below"===e,L=(({hasSparkline:e,isSparklinePositionBelow:t,containerWidth:n,overflowArea:r})=>{const a=2*r;return e&&!t?.4*n-a:n-a})({hasSparkline:b,isSparklinePositionBelow:x,containerWidth:W,overflowArea:16}),{majorText:O,trendText:T,majorTextFontSize:D,trendTextFontSize:z,majorValueTitle:P,smallVizProps:B}=(({contentWidth:e,contentHeight:t,containerWidth:n,containerHeight:r,majorValue:a,majorValueDisplay:o,trendValue:i,majorFontSize:l,trendFontSize:s,trendDisplay:u,unit:c,numberPrecision:d,shouldUseThousandSeparators:f,shouldAbbreviateTrendValue:p,shouldAbbreviateMajorValue:m,toRemoveList:y})=>{let{majorText:b,trendText:g,majorTextFontSize:v,trendTextFontSize:_}=Ce({majorValue:a,majorValueDisplay:o||a,trendValue:i,majorFontSize:l,trendFontSize:s,trendDisplay:u,width:e,height:t,unit:c,numberPrecision:d,shouldUseThousandSeparators:f,shouldAbbreviateTrendValue:p,shouldAbbreviateMajorValue:m});const M=b;let w={};if(v<12){const{newMajorAndTrend:e,updatedProps:t}=(({width:e,height:t,toRemoveList:n,majorValue:r,majorValueDisplay:a,trendValue:o,majorFontSize:i,trendFontSize:l,majorTextFontSize:s,unit:u,numberPrecision:c,shouldUseThousandSeparators:d,shouldAbbreviateTrendValue:f})=>{let p=0,m={},y={},b=s;for(;b<12&&pt&&!n?e:r+16+a)({height:X,hasSparkline:b,isSparklinePositionBelow:x,majorTextFontSize:D,underLabelHeight:yt({underLabel:u,underLabelFontSize:p})}),{sparklineWidth:F,sparklineHeight:R,sparklineSegments:H,endDots:q}=(({width:e,height:t,contentHeight:n,hasSparkline:r,isSparklinePositionBelow:a,sparklineHighlightSegments:o,sparklineHighlightDots:i})=>{const l=(({width:e,isSparklinePositionBelow:t})=>e*(t?1:.6))({width:e,isSparklinePositionBelow:a}),s=(({height:e,contentHeight:t,isSparklinePositionBelow:n})=>{const r=e-t;return n?r<0?0:r:e})({height:t,contentHeight:n,isSparklinePositionBelow:a}),u=(({hasSparkline:e,sparklineHighlightSegments:t})=>e&&"number"==typeof t&&t>0?t+1:0)({hasSparkline:r,sparklineHighlightSegments:o}),c=(({hasSparkline:e,sparklineHighlightDots:t})=>!e||"string"==typeof t||t<0?0:t)({hasSparkline:r,sparklineHighlightDots:i});return{sparklineWidth:l,sparklineHeight:s,sparklineSegments:u,endDots:c}})({width:W,height:X,contentHeight:Y,hasSparkline:b,isSparklinePositionBelow:x,sparklineHighlightSegments:w,sparklineHighlightDots:S});return C.createElement(V,{backgroundColor:ee,style:o,dataTestKey:"SingleValueWrapper"},C.createElement(St,{"data-test":"SingleValueContent",backgroundColor:ee,contentHeight:Y,majorColor:ne,majorText:O,majorTextFontSize:D,majorValueTitle:P,trendColor:re,trendText:T,trendTextFontSize:z,showTrendIndicator:ve(n),unit:r,unitPosition:f,underLabel:u,underLabelFontSize:p,underLabelColor:ae,onValueClick:a&&Z,showSparkline:b,sparklinePosition:e,sparklineWidth:F,sparklineHeight:R,sparklineValues:y,sparklineAreaColor:j,sparklineStrokeColor:ie,showSparklineTooltip:E,showSparklineAreaGraph:k,shouldSparklineAcceptNullData:A,sparklineSegments:H,endDots:q,align:I}))};return J?C.createElement(C.Fragment,null,C.createElement(te,{fontColor:null==P?void 0:P.defaultFontColor,backgroundColor:ee,trellisKey:Y}),C.createElement(kt,{width:n,height:r-28},C.createElement(q,{width:n,height:r,onResize:$}),le())):C.createElement(kt,{width:n,height:r},C.createElement(q,{width:n,height:r,onResize:$}),le())};Ct.propTypes={width:L.oneOfType([L.string,L.number]),height:L.oneOfType([L.string,L.number]),style:L.object,sparklineValues:L.arrayOf(L.oneOfType([L.string,L.number])),majorValue:L.oneOfType([L.string,L.number]),majorValueDisplay:L.oneOfType([L.string,L.number]),majorColor:L.string,majorFontSize:L.number,majorValueField:L.string,trendValue:L.oneOfType([L.string,L.number]),trendColor:L.string,trendFontSize:L.number,trendDisplay:L.oneOf(["absolute","percent","off"]),shouldAbbreviateTrendValue:L.bool,shouldAbbreviateMajorValue:L.bool,backgroundColor:L.string,unit:L.string,unitPosition:L.string,underLabel:L.string,underLabelFontSize:L.number,numberPrecision:L.number,shouldUseThousandSeparators:L.bool,showSparklineTooltip:L.bool,showSparklineAreaGraph:L.bool,sparklineDisplay:L.oneOf(ht),sparklineAreaColor:L.string,sparklineStrokeColor:L.string,shouldSparklineAcceptNullData:L.bool,sparklineHighlightSegments:L.number,sparklineHighlightDots:L.number,hasEventHandlers:L.bool,onValueClick:L.func,defaultFontColor:L.string,defaultBackgroundColor:L.string,defaultBlockFontColor:L.string,sparklineSeverityColors:L.object,defaultThemeColors:L.object,splitByLayout:L.string,trellisKey:L.string,trellisSplitBy:L.string,align:L.string},Ct.defaultProps={width:"100%",height:250,majorValue:"N/A",majorValueField:"",trendDisplay:"absolute",shouldAbbreviateTrendValue:!1,shouldAbbreviateMajorValue:!1,unitPosition:"after",underLabelFontSize:12,numberPrecision:0,shouldUseThousandSeparators:!0,showSparklineTooltip:!1,showSparklineAreaGraph:!1,sparklineDisplay:"below",shouldSparklineAcceptNullData:!0,sparklineHighlightSegments:0,sparklineHighlightDots:0,hasEventHandlers:!1,onValueClick:()=>{},trellisKey:"",trellisSplitBy:"",align:"center"};var Et=Ct,At={};g(At,{default:()=>Ot});var Lt=M(n(6318));_(At,n(6318));var Ot="default"in Lt?Lt.default:Lt,Tt={};g(Tt,{default:()=>zt});var Dt=M(n(40690));_(Tt,n(40690));var zt="default"in Dt?Dt.default:Dt,jt={};g(jt,{default:()=>Bt});var Pt=M(n(81596));_(jt,n(81596));var Bt="default"in Pt?Pt.default:Pt,Yt={};g(Yt,{default:()=>Ft});var Nt=M(n(31870));_(Yt,n(31870));var Ft="default"in Nt?Nt.default:Nt,It={};g(It,{default:()=>Wt});var Rt=M(n(77330));_(It,n(77330));var Wt="default"in Rt?Rt.default:Rt,Ht={};g(Ht,{default:()=>Xt});var qt=M(n(27016));_(Ht,n(27016));var Xt="default"in qt?qt.default:qt,Vt={};g(Vt,{default:()=>$t});var Ut=M(n(57533));_(Vt,n(57533));var $t="default"in Ut?Ut.default:Ut,Gt={};g(Gt,{default:()=>Jt});var Kt=M(n(21121));_(Gt,n(21121));var Jt="default"in Kt?Kt.default:Kt,Zt=class{focus(){}snapshot(){return null}},Qt=class{};Qt.propTypes={mode:E.oneOf(["view","edit","export"]).isRequired,width:E.oneOfType([E.string,E.number]).isRequired,height:E.oneOfType([E.string,E.number]).isRequired,context:E.object,options:E.object,onOptionsChange:E.func,dataSources:E.objectOf(E.shape({requestParams:E.object,data:E.shape({fields:E.array,columns:E.array}),error:E.shape({level:E.string,message:E.string}),meta:E.object})),onEventTrigger:E.func,hasEventHandlers:E.bool,onComputedProps:E.func,vizActionHandlerRef:E.func,loading:E.bool,theme:E.object,onRequestParamsChange:E.func},Qt.defaults={width:"100%",height:250,dataSources:{},onEventTrigger:()=>({}),mode:"view",hasEventHandlers:!1,options:{},context:{},onOptionsChange:()=>({}),vizActionHandlerRef:()=>new Zt,onComputedProps:()=>({}),loading:!1,onRequestParamsChange:ne.noop};var en=Qt,tn=(E.shape({currentSortKey:E.string,currentSortDir:E.oneOf(["asc","desc","none"]),onSort:E.func}),E.shape({isPaging:E.bool,current:E.number,totalPages:E.number,onChange:E.func}),{});g(tn,{default:()=>rn});var nn=M(n(44432));_(tn,n(44432));var rn="default"in nn?nn.default:nn,an=e=>{const{width:t=en.defaults.width,height:n=en.defaults.height,missingProps:r,backgroundColor:a}=e,o=x.useCallback((e,t)=>{l(e),u(t)},[]),[i,l]=x.useState(Number(t)),[s,u]=x.useState(Number(n));return x.createElement("div",{style:{width:i,height:s,background:a}},x.createElement(q,{width:t,height:n,onResize:o}),x.createElement(rn,{"data-test":"message",width:t,height:n,message:(0,Pe._)(`Missing property: ${r.join(", ")}`),level:"error"}))},on=({Wrapper:e,Visualization:t})=>{["propTypes","config"].forEach(n=>{t[n]&&(e[n]=t[n])})},ln=D.div` position: absolute; left: 0; right: 0; top: 0; bottom: 0; `,sn=D.div.attrs({"data-splunk-visualization-version":"28.3.0 - 843e0f60b"})` position: relative; width: 100%; height: 100%; `,un={};g(un,{default:()=>dn});var cn=M(n(91179));_(un,n(91179));var dn="default"in cn?cn.default:cn,fn={};g(fn,{default:()=>mn});var pn=M(n(17173));_(fn,n(17173));var mn="default"in pn?pn.default:pn,hn=D.div.attrs(({width:e})=>({style:{width:(0,F.toPx)(e)}}))` position: relative; background-color: ${e=>(0,un.isColor)(e.backgroundColor)&&e.backgroundColor||e.theme.defaultBackgroundColor}}; `,yn=D.div.attrs(({width:e,height:t})=>{const n="number"==typeof t?Math.max(t,1):t;return{style:h(h({},e&&{width:(0,F.toPx)(e)}),n&&{height:(0,F.toPx)(n)})}})` position: relative; flex-direction: column; flex: 1; display: flex; overflow: hidden !important; background-color: ${e=>(0,un.isColor)(e.backgroundColor)&&e.backgroundColor||e.theme.defaultBackgroundColor}}; `,bn=D.div` position: relative; min-height: 100px; width: 100%; `,gn=D.div` min-height: 0px; flex: 1; position: relative; box-sizing: border-box; overflow: hidden !important; `,vn=(e,t=!1)=>{const n=void 0===(0,ne.get)(e,"primary.data.columns[0]",void 0),r=(0,ne.get)(e,"primary.data.fields[0]",void 0);return t||n||void 0===r},_n=(e=>{const t=t=>{const{width:n,height:r,backgroundColor:a}=t,o=x.useCallback((e,t)=>{l(e),u(t)},[]),[i,l]=x.useState(Number(t.width)),[s,u]=x.useState(Number(t.height));return r?x.createElement(yn,{"data-test":"fix-size-item","data-splunk-visualization-version":"28.3.0 - 843e0f60b",width:n,height:r,backgroundColor:a},x.createElement(gn,null,x.createElement(q,{width:n,height:r,onResize:o}),x.createElement(e,y(h({},t),{width:i,height:s})))):x.createElement(hn,{"data-test":"item",width:n,backgroundColor:a},x.createElement(bn,null,x.createElement(e,h({},t))))};return t.displayName="withFixedSizeContainer",t})(e=>{const{width:t=en.defaults.width,height:n=en.defaults.height,icon:r,iconColor:a,backgroundColor:o}=e;let i=x.createElement(rn,{width:t,height:n,level:"warning",message:(0,Pe._)("No DataSource Connected")});return r&&(i=x.createElement(r,{style:{left:"50%",top:"50%",color:a,opacity:.15,position:"absolute",transform:"translate(-50%, -50%)"},width:"50%",height:"50%","data-test":"icon-placeholder"})),x.createElement("div",{style:{width:t,height:n,background:o}},i)}),Mn=(e,t=vn)=>{const{config:n}=e,{themes:r}=n,a=a=>{var o,i;const{dataSources:l,loading:s,options:u,height:c=en.defaults.height,width:d=en.defaults.width}=a,f=t(l,s,u),p=null!=(o=n.placeholderIcon)?o:n.icon,m=mn.contentColorActive(a),y=(0,un.isColor)(null==u?void 0:u.backgroundColor)?null==u?void 0:u.backgroundColor:null==(i=null==r?void 0:r.defaultBackgroundColor)?void 0:i.call(r,a);return n.supports.includes("placeholder")&&f?x.createElement(_n,{"data-test":"icon-placeholder",icon:p,width:d,height:c,backgroundColor:y,iconColor:m}):x.createElement(e,h({},a))};return on({Wrapper:a,Visualization:e}),a},wn=(e,t)=>e.every((n,r)=>!("number"===t&&Number.isNaN(n)||"time"===t&&Number.isNaN(n.getTime())||!(0===r||n>e[r-1]))),Sn=({dataSources:e,threshold:t,options:n})=>{var r,a,o;const i=null==e?void 0:e.primary,l=null!=(o=null==(a=null==(r=null==i?void 0:i.data)?void 0:r.columns[0])?void 0:a.length)?o:0;if(Number.isNaN(t)||l<=t||t<2)return e;const{xField:s,yFields:u,fieldTypes:c}=n;if(!s||!(null==u?void 0:u.length)||!(null==c?void 0:c.length))return e;const d=new Set(u.filter(e=>!e.startsWith("_")));if(Math.min(d.size*t,l)>=l)return e;const{xColumn:f,yColumns:p}=((e,t,n,r,a)=>{let o=[];const i=[],l=!e.data.fields.some((l,s)=>{var u,c;const d=null!=(u=l.name)?u:l,f=null!=(c=r[s])?c:"unknown",p=e.data.columns[s];let m=!1;if(d===t)o=((e,t)=>{if("number"===t){const n=e.map(e=>Number(e));if(wn(n,t))return n}else if("time"===t){const n=e.map(e=>new Date(e));if(wn(n,t))return n}return[]})(p,f);else if(n.has(d)){const{coercedColumn:t,canLooselyCoerceSomeValues:n,canDownsampleColumn:r}=((e,t)=>{const n="zero"===t.nullValueDisplay,r=e.findIndex(e=>(0,oe.startsWithNumber)(`${e}`)||n&&null===e)>=0,a=[],o=!e.some(e=>{const t=Number(e),r=n&&null===e;return!!(Number.isNaN(t)||t<=Number.MIN_SAFE_INTEGER||t>=Number.MAX_SAFE_INTEGER||"string"!=typeof e&&"number"!=typeof e&&!r)||(a.push(t),!1)});return{canDownsampleColumn:o,canLooselyCoerceSomeValues:r,coercedColumn:o?a:[]}})(e.data.columns[s],a);if(m=n&&!r,m)return!0;r&&i.push(t)}return!1});return l?{xColumn:o,yColumns:i}:{xColumn:[],yColumns:[]}})(i,s,d,c,n);if(!p.length||!f.length)return e;const m=h({},e),b=new Set;return p.forEach((e,n)=>{const r=e.map((e,t)=>[f[t],e]);try{const{downsampledIndices:e}=((e,t,n)=>{const r=e.length,a=[];if(t>=r||0===t){const t=e.map((e,t)=>t);return{downsampledData:e,downsampledIndices:t}}const o=[];let i=0;const l=(r-2)/(t-2);let s,u,c,d,f=0;o.push(e[f]),a.push(0);for(let p=0;pu||c===u&&n.has(g))&&(u=c,s=e[g],d=g,w=g);o[i++]=s,a.push(w),f=d}return o[i++]=e[r-1],a.push(r-1),{downsampledData:o,downsampledIndices:a}})(r,t,b);e.forEach(e=>b.add(e))}catch(e){console.error(`Error occurred while downsampling column ${n}`,e)}}),m.primary=((e,t)=>{const n=Array.from(t).sort((e,t)=>e-t),r=[];return e.data.columns.forEach(e=>{const t=[];n.forEach(n=>{t.push(e[n])}),r.push(t)}),y(h({},e),{data:y(h({},e.data),{columns:r})})})(i,b),m};function xn(e){const t=(0,x.useRef)();return(0,x.useEffect)(()=>{t.current=e}),t.current}var kn=["nullValueDisplay"],Cn=({dataSources:e,options:t,context:n,threshold:r,isDownsamplingEnabled:a})=>{const o=(0,x.useRef)(!0),i=(({shouldEvaluateDSL:e,options:t,context:n,dataSources:r})=>{const{dataSourcesWithOnlyOnePoint:a,dataFrameWithOnlyOnePoint:o}=(0,x.useMemo)(()=>{var t,n,a;if(!e)return{dataSourcesWithOnlyOnePoint:null,dataFrameWithOnlyOnePoint:null};if(!(null==(a=null==(n=null==(t=null==r?void 0:r.primary)?void 0:t.data)?void 0:n.columns)?void 0:a.length))return{dataSourcesWithOnlyOnePoint:null,dataFrameWithOnlyOnePoint:null};const{primary:o}=r,i=o.data.columns.map(e=>[e[0]]),l={primary:y(h({},o),{data:y(h({},o.data),{columns:i})})};return{dataSourcesWithOnlyOnePoint:l,dataFrameWithOnlyOnePoint:Tt.Options.dataFrameFromDataSource(l)}},[r,e]);return(0,x.useMemo)(()=>{try{if(!a||!o)return t;if(!(null==t?void 0:t.x)||!(null==t?void 0:t.y)&&!(null==t?void 0:t.y2))return t;const e={x:t.x,xField:"> x | getField()",y:t.y,yFields:t.y?"> y | getField()":void 0,y2:t.y2,y2Fields:t.y2?"> y2 | getField()":void 0,fieldTypes:"> primary | getType()"},{xField:r="",yFields:i=[],y2Fields:l=[],fieldTypes:s}=Tt.Options.evaluate({options:e,context:n},a,()=>{},o);return{xField:r,yFields:[...i,...l],fieldTypes:s}}catch(e){return{xField:void 0,yFields:[],fieldTypes:[]}}},[t,n,a,o])})({shouldEvaluateDSL:a,options:t,context:n,dataSources:e}),l=(0,x.useMemo)(()=>(0,ne.pick)(t,kn),[t]),s=(0,x.useMemo)(()=>h(h({},l),i),[i,l]),u=xn(s),c=xn(e),d=xn(r),[f,p]=(0,x.useState)(()=>a?Sn({dataSources:e,threshold:r,options:s}):e),m=(0,x.useMemo)(()=>(0,ne.debounce)(e=>{const t=Sn(e);p(t)},100,{trailing:!0}),[]);return(0,x.useEffect)(()=>{o.current?o.current=!1:a?(0,ne.isEqual)(u,s)&&c===e&&d===r||m({dataSources:e,options:s,threshold:r}):p(e)},[e,s,m,i,r,a,c,d,u]),f},En={};g(En,{default:()=>Ln});var An=M(n(11819));_(En,n(11819));var Ln="default"in An?An.default:An,On=(e,t)=>e&&Object.keys(e).find(e=>e===t)?e[t]:!!Object.keys(Ln).find(e=>e===t)&&Ln[t],Tn={};g(Tn,{default:()=>zn});var Dn=M(n(38141));_(Tn,n(38141));var zn="default"in Dn?Dn.default:Dn,jn="aggregations",Pn=e=>{var t,n,r,a;const o=(e=>e.map(e=>"string"==typeof e?{name:e}:e))(null==(n=null==(t=null==e?void 0:e.primary)?void 0:t.data)?void 0:n.fields),i=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.columns;let l=null,s=[],u=null;if("string"!=typeof o[0]&&(s=(0,Tn.extractDataSourceAggregationKeysChart)(o)),s&&s.length>0)l={},s.forEach(t=>{l[t]=(0,ne.cloneDeep)((0,ne.omit)(e,["primary.data.fields","primary.data.columns"])),l[t].primary.data.fields=[o[0]],l[t].primary.data.columns=[i[0]],o.forEach((e,n)=>{const r=null==e?void 0:e.name;"_time"===r||(null==r?void 0:r.startsWith("_"))||e.data_source!==t||(l[t].primary.data.fields.push(e),l[t].primary.data.columns.push(i[n]))})});else if(s&&s.length||!(o.length>1))u="INVALID_SPLIT_BY_FIELD";else{l={};for(let t=1;t{var r,a,o,i,l,s;const u=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.fields,c=null==(i=null==(o=null==e?void 0:e.primary)?void 0:o.data)?void 0:i.columns;let d=null,f=[],p=null;"string"!=typeof u[0]&&(f=n!==Tn.UNKNOWN?(0,Tn.extractSplitByFieldsForStats)(u):(0,Tn.extractSplitByFieldsForUnknown)(u));const m=null==u?void 0:u.findIndex(e=>e===t||e.name===t);if(f&&f.indexOf(t)>-1){const t=null==(s=null==(l=null==e?void 0:e.primary)?void 0:l.data)?void 0:s.columns[m];d={},t.forEach((e,t)=>{d[e]?d[e].push(t):d[e]=[t]});const n=(0,ne.cloneDeep)(u);n.splice(m,1),Object.keys(d).forEach(t=>{const r=(0,ne.cloneDeep)(d[t]);d[t]=(0,ne.cloneDeep)((0,ne.omit)(e,["primary.data.fields","primary.data.columns"])),d[t].primary.data.fields=n,d[t].primary.data.columns=[],c.forEach((e,n)=>{if(n!==m){const n=r.map(t=>e[t]);d[t].primary.data.columns.push(n)}})})}else p="INVALID_SPLIT_BY_FIELD";return{splitDataSources:d,errorCode:p}},Yn={};g(Yn,{default:()=>Fn});var Nn=M(n(84594));_(Yn,n(84594));var Fn="default"in Nn?Nn.default:Nn,In={};g(In,{default:()=>Wn});var Rn=M(n(43668));_(In,n(43668));var Wn="default"in Rn?Rn.default:Rn,Hn=D(Wn)` color: ${e=>e.eventColor||mn.severityColorNotice(e)}; `,qn=({event:e,dimensions:t})=>{const n=e;return C.createElement(Hn,{width:`${t.width}px`,height:`${t.height}px`,viewBox:"0 0 24 24",variant:"filled",eventColor:n.color})},Xn=["splunk.line"],Vn={center:!0,fontSize:12,largerTiles:!0,hideSeriesValue:!0},Un=(e,t,n)=>{if("collapsed"===n)return"";let r=t.length>1?"":t[0];return r||(r=""),(null==e?void 0:e.length)?e.trim():r},$n=(e,t,n=12)=>{if(!e)return"";if(Number.isNaN(t)||t<=0)return e;const r=.6*t,a=.55*n,o=Math.floor(r/a);if(e.length<=o)return e;if(o<=3)return"...";const i=o-3,l=Math.floor(i/2);return`${e.slice(0,l)}...${e.slice(-l)}`},Gn=e=>"object"==typeof e?null==e?void 0:e.name:e,Kn=D.div` overflow: hidden; ${e=>(0,F.toDimension)((0,ne.pick)(e,["width","height"]))}; canvas { position: absolute !important; // This is needed for canvas element export pdf/png to work correctly } `,Jn=(0,jt.withSanitizedProps)(e=>{const{width:t,height:n,chartData:r,options:a,userLocale:o,annotationX:i,annotationLabel:l,annotationColor:s,legendDisplay:u,markerDisplay:c,onClick:d,onPointMouseOver:f,onPointMouseOut:p}=e,{backgroundColor:m,seriesColors:b,fieldColors:g,"axisTitleX.text":v,"axisTitleY.text":_,"axisTitleY2.text":M,"axisTitleX.visibility":w,"axisTitleY.visibility":S,"axisTitleY2.visibility":k,"axisLabelsX.majorLabelVisibility":C,"axisLabelsY.majorLabelVisibility":E,"axisLabelsY2.majorLabelVisibility":A,"axisY.abbreviation":L,"axisY.scale":O,"axisY2.abbreviation":T,"axisY2.fields":D,"axisY2.scale":z,"axisY2.enabled":j,"axisLabelsY2.integerUnits":P,"chart.overlayFields":B,"chart.nullValueMode":Y,lineWidth:N}=a,F=b?JSON.parse(b):void 0,I=g?JSON.parse(g):void 0,[R,W]=x.useState(Number(e.width)),[H,X]=x.useState(Number(e.height)),U=x.useCallback((e,t)=>{W(e),X(t)},[]),$=(e=>{const{fields:t,columns:n}=e,r=t.reduce((e,t,n)=>{const r="object"==typeof t?null==t?void 0:t.name:t;return(null==r?void 0:r.startsWith("_"))&&"_time"!==r||e.push(n),e},[]);return{fields:r.map(e=>t[e]),columns:r.map(e=>n[e])}})({fields:r.fields,columns:r.seriesList}),G=Gn($.fields[0]),K=($.fields.length>1?$.fields.slice(1):[]).map(e=>Gn(e)),J=D?D.split(",").map(e=>e.trim()):[],Z=B?B.split(",").map(e=>e.trim()):[];let Q=Un(v,[G],w);Q=$n(Q,R);let ee=Un(_,K,S);ee=$n(ee,H);const te=J.length>0?J:Z;let re=Un(M,te,k);re=$n(re,H);const ae=((e,t)=>{const n={x:{}};return n.x.label=e,"hide"===t&&(n.x.hideLabels=!0),n})(Q,C),oe=((e,t,n,r)=>{const a=null!=n?n:"linear",o={y:{}};return o.y.label=e,o.y.type=a,"none"!==t&&(o.y.tickFmt=e=>(0,Yn.shortenNumber)(e,1)),o.y.width="none"===t?55:e&&e.length>0?30:10,"hide"===r&&(o.y.hideLabels=!0),o})(ee,L,O,E);let ie={};j&&(ie=((e,t,n,r,a)=>{const o={y2:{}},i=null!=n?n:"linear";return o.y2.label=e,o.y2.side="right",o.y2.showGrid=!1,o.y2.type=i,"none"!==t?o.y2.tickFmt=e=>(0,Yn.shortenNumber)(e,1,r):r&&(o.y2.tickFmt=e=>r?Math.round(e).toString():e.toString()),"hide"===a&&(o.y2.hideLabels=!0),o})(re,T,z,P,A));const le=(0,x.useRef)(null),se=[$.columns[0],...(ue=$.columns.slice(1),ue.map(e=>e.map(e=>parseFloat(e))))];var ue;r.fields=$.fields,r.columns=se;const ce=(0,x.useMemo)(()=>((e,t,n,r,a,o,i)=>{const l={};let s,u;return"gaps"===o?s=!1:"connect"!==o&&"zero"!==o||(s=!0,"zero"===o&&(u=!0)),e.forEach(e=>{l[e]={overrides:{width:null!=n?n:2}},void 0!==s&&(l[e].overrides.spanGaps=s),a&&((null==t?void 0:t.length)>0&&t.includes(e)||(!t||0===t.length)&&(null==r?void 0:r.includes(e)))&&(l[e].overrides.scale="y2"),(null==r?void 0:r.includes(e))&&(l[e].type="line"),void 0!==i&&(l[e].markerDisplay=i),void 0!==u&&(l[e].replaceNullsWithZero=u)}),l})(K,J,N,Z,j,Y,c),[K,J,N,Z,j,Y,c]),de=(0,x.useMemo)(()=>(({annotationX:e,annotationColor:t,annotationLabel:n})=>(null==e?void 0:e.length)?e.map((e,r)=>({key:null==n?void 0:n[r],time:e,color:null==t?void 0:t[r]})):[])({annotationX:i,annotationColor:s,annotationLabel:l}),[i,s,l]),fe=(0,x.useMemo)(()=>h(h(h({},ae),oe),ie),[ae,oe,ie]),pe=(0,x.useMemo)(()=>(e=>{switch(null==e?void 0:e.legendDisplay){case"off":return!1;case"left":return(0,Yn.LeftLegendFactory)(h({width:75},Vn));case"bottom":return(0,Yn.BottomLegendFactory)(h({wrap:!0},Vn));case"top":return(0,Yn.TopLegendFactory)(h({wrap:!0},Vn));default:return(0,Yn.SideLegendFactory)(h({width:75},Vn))}})({legendDisplay:u}),[u]),me=x.useCallback(e=>{d&&((e,t)=>{const n=y(h({},(0,ne.pick)(e,"value","seriesKey")),{name:e.seriesKey});delete n.seriesKey,e.rowContext&&Object.keys(e.rowContext).forEach(t=>{n[`row.${t}.value`]=e.rowContext[t]}),t&&t({type:"point.click",originalEvent:e,payload:n})})(e,d)},[d]),he=x.useCallback(e=>{d&&((e,t)=>{t&&t({type:"legend.click",originalEvent:e,payload:{name:e}})})(e,d)},[d]),ye=x.useRef(null),be=x.useRef(null),ge=x.useCallback(e=>{if(f||p){if(!e)return void(p&&ye.current&&p({type:"point.mouseout",originalEvent:be.current,payload:ye.current}));const t=y(h({},(0,ne.pick)(e,"value","seriesKey","time","index","seriesIndex")),{name:e.seriesKey});delete t.seriesKey,e.rowContext&&Object.keys(e.rowContext).forEach(n=>{t[`row.${n}.value`]=e.rowContext[n]}),ye.current=t,be.current=e,f&&f({type:"point.mouseover",originalEvent:e,payload:t})}},[f,p]),ve=(0,x.useMemo)(()=>x.createElement(Yn.TimeSeriesChart,{data:r,width:R,height:H,seriesColors:F,seriesColorsByField:I,seriesConfig:ce,legend:pe,scaleConfig:fe,timestampFormat:"expanded",onCrosshairClick:d?me:void 0,onCrosshairChange:f||p?ge:void 0,onSeriesClick:d?he:void 0,userLocale:o,events:de,eventsConfig:{renderer:qn}}),[r,R,H,F,I,ce,pe,fe,o,de,d,me,f,p,ge,he]),_e=(0,x.useMemo)(()=>x.createElement(V,{backgroundColor:m},ve),[m,ve]);return x.createElement(Kn,{height:n,width:t,ref:le,"data-test":"timeseries-chart-wrapper"},x.createElement(q,{width:t,height:n,onResize:U}),_e)}),Zn={};g(Zn,{default:()=>er});var Qn=M(n(78915));_(Zn,n(78915));var er="default"in Qn?Qn.default:Qn,tr={};g(tr,{default:()=>rr});var nr=M(n(20642));_(tr,n(20642));var rr="default"in nr?nr.default:nr,ar={};g(ar,{default:()=>ir});var or=M(n(68807));_(ar,n(68807));var ir="default"in or?or.default:or,lr={};g(lr,{default:()=>ur});var sr=M(n(4005));_(lr,n(4005));var ur="default"in sr?sr.default:sr,cr={};g(cr,{default:()=>fr});var dr=M(n(44544));_(cr,n(44544));var fr="default"in dr?dr.default:dr,pr={trendColorConfig:[{to:0,value:"#9E2520"},{from:0,value:"#1C6B2D"}],majorColorConfig:[{to:20,value:"#D41F1F"},{from:20,to:40,value:"#D94E17"},{from:40,to:60,value:"#CBA700"},{from:60,to:80,value:"#669922"},{from:80,value:"#118832"}],majorColorMatchConfig:[{match:"",value:"#5C33FF"}],trendValueCopy:"> trendValue",divisor:"> majorValue | subtract(trendValueCopy) | divideBy(100)",trendValuePercent:"> trendValue | divideBy(divisor)"},mr={};g(mr,{default:()=>yr});var hr=M(n(40028));_(mr,n(40028));var yr="default"in hr?hr.default:hr,br=[[{label:(0,Pe._)("Unit position"),option:"unitPosition",editor:"editor.select",editorProps:{values:[{label:(0,Pe._)("Before"),value:"before"},{label:(0,Pe._)("After"),value:"after"}]},showEditor:({options:e})=>e.showValue||void 0===e.showValue},{label:(0,Pe._)("Unit label"),option:"unit",editor:"editor.text",showEditor:({options:e})=>e.showValue||void 0===e.showValue}],[{label:(0,Pe._)("Precision"),option:"numberPrecision",editor:"editor.number",editorProps:{min:0,max:20},showEditor:({options:e})=>e.showValue||void 0===e.showValue}]],gr={label:(0,Pe._)("Major value"),option:"majorColor",editor:"editor.color",showEditor:({options:e})=>!(0,mr.isDynamicOption)(e.majorColor)},vr={label:(0,Pe._)("Trend value"),option:"trendColor",editor:"editor.color",showEditor:({options:e})=>!(0,mr.isDynamicOption)(e.trendColor),isDisabled:({options:e})=>"off"===e.trendDisplay},_r={label:(0,Pe._)("Background color"),option:"backgroundColor",editor:"editor.color",showEditor:({options:e})=>!(0,mr.isDynamicOption)(e.backgroundColor)};var Mr=({featureFlags:e})=>Boolean(null==e?void 0:e.visualizations_enableTrellis),wr=({options:e,featureFlags:t})=>{const{splitByLayout:n=K.LAYOUT_TYPE.Off}=e;return Mr({featureFlags:t})&&n===K.LAYOUT_TYPE.Trellis},Sr=[[{label:(0,Pe._)("Trellis layout"),option:"splitByLayout",editor:"editor.toggle",showEditor:Mr}],[{label:(0,Pe._)("Split by"),option:"trellisSplitBy",editor:"editor.trellisSplitBy",editorProps:{dataSourceKey:"primary"},showEditor:wr}],[{label:(0,Pe._)("Number of columns"),option:"trellisColumns",editor:"editor.number",editorProps:{min:1},showEditor:wr}],[{label:(0,Pe._)("Min column width"),option:"trellisMinColumnWidth",editor:"editor.number",editorProps:{min:1},showEditor:wr},{label:(0,Pe._)("Row height"),option:"trellisRowHeight",editor:"editor.number",editorProps:{min:1},showEditor:wr}],[{label:(0,Pe._)("Max number of components per page"),option:"trellisPageCount",editor:"editor.number",editorProps:{min:1},showEditor:wr}]],xr=((0,Pe._)("Trellis layout"),(0,Pe._)("Y2-axis and overlay field configurations are not supported when trellis is enabled."),Sr.slice(1),(0,Pe._)("Shared y-axis scale"),{label:(0,Pe._)("Trellis background"),option:"trellisBackgroundColor",editor:"editor.color",showEditor:wr}),kr={majorColorEditorConfig:void 0,trendColorEditorConfig:void 0,backgroundColorEditorConfig:void 0},Cr={majorColor:void 0,trendColor:void 0,backgroundColor:void 0},Er=[{label:(0,Pe._)("None"),name:"singleValue.none",value:{context:h({},kr),options:h({},Cr)}},{label:(0,Pe._)("Major value"),name:"singleValue.majorValue",value:{context:y(h({},kr),{majorColorEditorConfig:pr.majorColorConfig}),options:y(h({},Cr),{majorColor:"> majorValue | rangeValue(majorColorEditorConfig)"})}},{label:(0,Pe._)("Trend value"),name:"singleValue.trend",value:{context:y(h({},kr),{trendColorEditorConfig:pr.trendColorConfig}),options:y(h({},Cr),{trendColor:"> trendValue | rangeValue(trendColorEditorConfig)"})}},{label:(0,Pe._)("Major value and Trend value"),name:"singleValue.majorValueAndTrend",value:{context:y(h({},kr),{majorColorEditorConfig:pr.majorColorConfig,trendColorEditorConfig:pr.trendColorConfig}),options:y(h({},Cr),{majorColor:"> majorValue | rangeValue(majorColorEditorConfig)",trendColor:"> trendValue | rangeValue(trendColorEditorConfig)"})}},{label:(0,Pe._)("Background"),name:"singleValue.background",value:{context:y(h({},kr),{backgroundColorEditorConfig:pr.majorColorConfig}),options:y(h({},Cr),{backgroundColor:"> majorValue | rangeValue(backgroundColorEditorConfig)"})}}],Ar={defaultFontColor:e=>ir({enterprise:{dark:mn.textColor(e),light:mn.gray20(e)},prisma:mn.contentColorActive(e)})(e),defaultBlockFontColor:e=>ir({enterprise:mn.white(e),prisma:mn.contentColorActive(e)})(e),defaultBackgroundColor:e=>ir({enterprise:{dark:mn.black(e),light:mn.white(e)},prisma:mn.backgroundColorSection(e)})(e),defaultSparklineStrokeColor:e=>ir({enterprise:mn.textColor(e),prisma:mn.contentColorActive(e)})(e),sparklineSeverityColors:e=>ir({enterprise:{dark:JSON.stringify({none:{background:tr.enterpriseDark.gray60,stroke:tr.enterpriseDark.white},low:{background:tr.enterpriseDark.successColorD50,stroke:tr.enterpriseDark.white},guarded:{background:tr.enterpriseDark.infoColorD50,stroke:tr.enterpriseDark.white},elevated:{background:tr.enterpriseDark.warningColorD50,stroke:tr.enterpriseDark.white},high:{background:tr.enterpriseDark.alertColorD50,stroke:tr.enterpriseDark.white},severe:{background:tr.enterpriseDark.errorColorD50,stroke:tr.enterpriseDark.white}}),light:JSON.stringify({none:{background:tr.enterprise.gray60,stroke:tr.enterprise.gray20},low:{background:tr.enterprise.successColorD50,stroke:tr.enterprise.white},guarded:{background:tr.enterprise.infoColorD50,stroke:tr.enterprise.white},elevated:{background:tr.enterprise.warningColorD50,stroke:tr.enterprise.white},high:{background:tr.enterprise.alertColorD50,stroke:tr.enterprise.white},severe:{background:tr.enterprise.errorColorD50,stroke:tr.enterprise.white}})},prisma:JSON.stringify({none:{background:tr.scp.gray52,stroke:tr.scp.white},low:{background:tr.scp.successColorD50,stroke:tr.scp.white},guarded:{background:tr.scp.infoColorD50,stroke:tr.scp.white},elevated:{background:tr.scp.warningColorD50,stroke:tr.scp.white},high:{background:tr.scp.alertColorD50,stroke:tr.scp.white},severe:{background:tr.scp.errorColorD50,stroke:tr.scp.white}})})(e)},Lr=[{label:(0,Pe._)("Data configurations"),layout:[[{label:(0,Pe._)("Value"),editor:"editor.columnSelector",option:"sparklineValues",context:"sparklineValuesContext",editorProps:{dataSourceKey:"primary",prepareValue:e=>{const{options:{sparklineValues:t}}=e;return{context:{},options:{majorValue:"> sparklineValues | lastPoint()",trendValue:"> sparklineValues | delta(-2)",sparklineValues:t}}}},isDisabled:({options:e})=>e.splitByLayout===K.LAYOUT_TYPE.Trellis}]]},{label:(0,Pe._)("Data display"),layout:[...br,[{label:(0,Pe._)("Trend display"),option:"trendDisplay",editor:"editor.select",editorProps:{values:[{label:(0,Pe._)("Percent"),value:"percent"},{label:(0,Pe._)("Absolute"),value:"absolute"},{label:(0,Pe._)("Off"),value:"off"}]},showEditor:({options:e})=>e.showValue||void 0===e.showValue},{label:(0,Pe._)("Sparkline display"),option:"sparklineDisplay",editor:"editor.select",editorProps:{values:[{label:(0,Pe._)("Off"),value:"off"},{label:(0,Pe._)("Before"),value:"before"},{label:(0,Pe._)("Below"),value:"below"},{label:(0,Pe._)("After"),value:"after"}]}}],...Sr]},{label:(0,Pe._)("Color and style"),layout:[[{label:(0,Pe._)("Dynamic elements"),key:"presetSelector",editor:"editor.presetSelector",editorProps:{presets:Er,value:({context:e,options:t})=>{const n=(r=e,a=t,Er.find(e=>{const t=(0,ne.get)(e,["value","context"],{}),n=(0,ne.get)(e,["value","options"],{}),o=Object.keys(t),i=Object.keys(n);return 0!==o.length&&0!==i.length&&function(e,t){return Object.keys(t).every(n=>void 0===t[n]&&void 0===e[n]||void 0!==t[n]&&void 0!==e[n])}(r,t)&&function(e,t){return Object.keys(t).every(n=>(0,mr.isDynamicOption)(t[n])===(0,mr.isDynamicOption)(e[n]))}(a,n)}));var r,a;return n&&n.label||null}}}],[y(h({},gr),{editorProps:{themes:Ar}})],[(({defaultContext:e,defaultPalettesConfig:t})=>({label:(0,Pe._)("Major value"),option:"majorColor",context:"majorColorEditorConfig",editor:"editor.dynamicColor",showEditor:({options:e})=>(0,mr.isDynamicOption)(e.majorColor),editorProps:{labelPosition:"top",flyoutTitle:(0,Pe._)("Dynamic coloring: major value"),formatters:[{label:(0,Pe._)("Ranges"),value:"rangeValue",defaults:{majorValue:e.majorColorConfig}},{label:(0,Pe._)("Matches"),value:"matchValue",defaults:{majorValue:e.majorColorMatchConfig}}],dataSelectors:[{label:(0,Pe._)("Major value"),value:"majorValue"}],defaultPalettesConfig:t}}))({defaultContext:pr,defaultPalettesConfig:Zn.defaultPalettesConfig})],[y(h({},vr),{editorProps:{themes:Ar}})],[(({defaultContext:e,defaultPalettesConfig:t})=>({label:(0,Pe._)("Trend value"),option:"trendColor",context:"trendColorEditorConfig",editor:"editor.dynamicColor",showEditor:({options:e})=>(0,mr.isDynamicOption)(e.trendColor),editorProps:{labelPosition:"top",flyoutTitle:(0,Pe._)("Dynamic coloring: trend value"),formatters:[{label:(0,Pe._)("Ranges"),value:"rangeValue",defaults:{trendValue:e.trendColorConfig}}],dataSelectors:[{label:(0,Pe._)("Trend value"),value:"trendValue"}],defaultPalettesConfig:t}}))({defaultContext:pr,defaultPalettesConfig:Zn.defaultPalettesConfig})],[y(h({},_r),{editorProps:{themes:Ar}})],[y(h({},xr),{editorProps:{themes:Ar}})],[(({defaultContext:e,defaultPalettesConfig:t})=>({label:(0,Pe._)("Background color"),option:"backgroundColor",context:"backgroundColorEditorConfig",editor:"editor.dynamicColor",showEditor:({options:e})=>(0,mr.isDynamicOption)(e.backgroundColor),editorProps:{labelPosition:"top",flyoutTitle:(0,Pe._)("Dynamic coloring: background"),formatters:[{label:(0,Pe._)("Ranges"),value:"rangeValue",defaults:{majorValue:e.majorColorConfig,trendValue:e.trendColorConfig}},{label:(0,Pe._)("Matches"),value:"matchValue",defaults:{majorValue:e.majorColorMatchConfig}}],dataSelectors:[{label:(0,Pe._)("Major Value"),value:"majorValue"},{label:(0,Pe._)("Trend"),value:"trendValue"}],defaultPalettesConfig:t}}))({defaultContext:pr,defaultPalettesConfig:Zn.defaultPalettesConfig})],[{label:(0,Pe._)("Major value size (px)"),option:"majorFontSize",editor:"editor.number",editorProps:{min:1},showEditor:({options:e})=>e.showValue||void 0===e.showValue},{label:(0,Pe._)("Trend value size (px)"),option:"trendFontSize",editor:"editor.number",editorProps:{min:1},showEditor:({options:e})=>e.showValue||void 0===e.showValue,isDisabled:({options:e})=>"off"===e.trendDisplay}],[{label:(0,Pe._)("Major value abbreviation"),option:"shouldAbbreviateMajorValue",editor:"editor.checkbox"}],[{label:(0,Pe._)("Trend value abbreviation"),option:"shouldAbbreviateTrendValue",editor:"editor.checkbox"}],[{label:(0,Pe._)("Alignment"),editor:"editor.radioBar",option:"align",editorProps:{values:[{label:(0,Pe._)("Left"),value:"left"},{label:(0,Pe._)("Center"),value:"center"},{label:(0,Pe._)("Right"),value:"right"}]},showEditor:({options:e})=>e.showValue||void 0===e.showValue}]]}],Or=function(e){const t=h({},e);return t.editorConfig=e.editorConfig.map(e=>y(h({},e),{open:e.open||!1})),t}({key:"splunk.singlevalue",name:(0,Pe._)("Single value"),category:"Single Value",icon:lr.SingleValue,placeholderIcon:cr.SingleValue,dataContract:{requiredDataSources:[{name:"primary",description:"DataSource that powers the visualization"}],optionalDataSources:[],initialRequestParams:{primary:{offset:0,count:1e4}}},size:{initialWidth:250,initialHeight:250},defaultContext:pr,optionsSchema:K.singleValueOptionsSchema,editorConfig:Lr,events:{"value.click":{description:"trigger when user clicks major value",payloadKeys:["majorValue","trendValue"]}},supports:["dynamic-options","events","placeholder","trellis"],themes:Ar,requiredProps:["majorValue"]}),Tr={};g(Tr,{default:()=>zr});var Dr=M(n(80953));_(Tr,n(80953));var zr="default"in Dr?Dr.default:Dr,jr={};g(jr,{default:()=>Br});var Pr=M(n(18672));_(jr,n(18672));var Br="default"in Pr?Pr.default:Pr,Yr={};g(Yr,{default:()=>Fr});var Nr=M(n(55415));_(Yr,n(55415));var Fr="default"in Nr?Nr.default:Nr,Ir=D.div` overflow: hidden; display: flex; flex-direction: column; background-color: ${e=>e.backgroundColor}; ${e=>(0,F.toDimension)((0,ne.pick)(e,["width","height"]))}; > [data-test='paginator'] { align-self: flex-end; margin-bottom: 10px; } `,Rr=D.div` display: grid; height: ${e=>`${e.height}px`}; gap: 10px 10px; grid-template-columns: ${e=>e.colCount?`repeat(${e.colCount}, minmax(${e.colMinWidth}px, 1fr))`:`repeat(auto-fit, minmax(${e.colMinWidth}px, 1fr))`}; overflow: auto; justify-items: stretch; grid-auto-rows: ${e=>`${e.rowHeight}px`}; .child { height: ${e=>`${e.rowHeight}px`}; } `,Wr=Or,Hr=Et,qr=e=>{var t=e,{themeFunc:n}=t,r=b(t,["themeFunc"]);const a={};if(["defaultFontColor","defaultBackgroundColor","defaultBlockFontColor","defaultSparklineStrokeColor","sparklineSeverityColors"].forEach(e=>{a[e]=n(e)}),"string"==typeof a.sparklineSeverityColors)try{a.sparklineSeverityColors=JSON.parse(a.sparklineSeverityColors)}catch(e){}return h({defaultThemeColors:a},r)},Xr=(e=>{const t=t=>{const n=x.useCallback((e,t)=>{a(e),i(t)},[]),[r,a]=x.useState(Number(t.width)),[o,i]=x.useState(Number(t.height)),l=t,{options:s={},height:u,width:c}=l,d=b(l,["options","height","width"]),f=(0,Vt.pickFieldFromJSONSchema)(e.config.optionsSchema,"default"),p=(0,Ht.deepMergeWithArrayPrimitiveOverrides)({},s,f),{trellisColumns:m,trellisPageCount:g,trellisMinColumnWidth:v,trellisRowHeight:_,splitByLayout:M,trellisSplitBy:w,trellisSharedScale:S,stackMode:k,yAxisMin:C,yAxisMax:E}=p,A=m>0?m:f.trellisColumns,L=+g>0?+g:f.trellisPageCount,O=v>0?v:f.trellisMinColumnWidth,T=_>0?_:f.trellisRowHeight,[D,z]=(0,x.useState)(1),[j,P]=(0,x.useState)(null);let B=[],Y=0,N=!1;const{dataSources:F}=d,I={splunkThemeV1:Fr()},{family:R,colorScheme:W,density:H}=(0,jr.getSettingsFromThemedProps)({theme:I}),X=(0,x.useMemo)(()=>Tt.Options.evaluate({context:e.config.context,options:{trellisBackgroundColor:p.trellisBackgroundColor}},{},t=>{var n,r;return null==(r=(n=e.config.themes)[t])?void 0:r.call(n,{trellisBackgroundColor:p.trellisBackgroundColor,theme:I})}).trellisBackgroundColor,[p.trellisBackgroundColor,R,W,H]),V=(0,ne.get)(F,"primary.data.columns",void 0),U=(0,ne.get)(F,"primary.data.fields",void 0),$=void 0===V,J=void 0===U,Z=e=>{if(N){const t=L*(e-1),n=B.slice(t,t+L);P(n)}else P(B),z(1)};(0,x.useEffect)(()=>{z(1),Z(1)},[L,w]),(0,x.useEffect)(()=>{Z(D)},[V,U,w,D,M]);const Q=(0,x.useCallback)((e,{page:t})=>{z(t)},[D,j]),ee=x.useContext(G);if(!Boolean(ee&&ee.visualizations_enableTrellis)||!M||M!==K.LAYOUT_TYPE.Trellis)return x.createElement(e,h({},t));if(M===K.LAYOUT_TYPE.Trellis){if($||J)return x.createElement(rn,{width:c,height:u,message:(0,Pe._)("Loading"),level:"info"});let t=w;if(!w||0===w.length){const e=(0,Tn.getAllPossibleSplitByFields)(U);t=e.fields&&e.fields.length?e.fields[0]:jn}const a=((e,t,n)=>{let r=null;try{e===Tn.TIMECHART?r=n===jn?Pn(t):((e,t)=>{var n,r,a,o,i;const l=null==(r=null==(n=null==e?void 0:e.primary)?void 0:n.data)?void 0:r.fields,s=null==(o=null==(a=null==e?void 0:e.primary)?void 0:a.data)?void 0:o.columns;let u=null,c=[],d=null;if("string"!=typeof l[0]&&(c=(0,Tn.extractSplitByFieldsChartFields)(l)),c&&c.indexOf(t)>-1){u={};const t=(0,Tn.extractDataSourceAggregationKeysChart)(l),n=[];for(let e=1;e{u[n]=(0,ne.cloneDeep)((0,ne.omit)(e,["primary.data.fields","primary.data.columns"])),u[n].primary.data.fields=[{name:l[0].name},...t.map(e=>({name:e}))],u[n].primary.data.columns=[[...s[0]]],t.forEach(e=>{l.forEach((t,r)=>{t.data_source!==e||t.splitby_value!==n&&t.name!==n||u[n].primary.data.columns.push([...s[r]])})})})}else d="INVALID_SPLIT_BY_FIELD";return{splitDataSources:u,errorCode:d}})(t,n):e===Tn.STATS?r=n===jn?(e=>{var t,n,r,a;const o=null==(n=null==(t=null==e?void 0:e.primary)?void 0:t.data)?void 0:n.fields,i=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.columns;let l=null,s=[],u=null;return"string"!=typeof o[0]&&(s=(0,Tn.extractDataSourceAggregationKeysStats)(o)),s&&s.length>0?(l={},s.forEach(t=>{l[t]=(0,ne.cloneDeep)((0,ne.omit)(e,["primary.data.fields","primary.data.columns"])),l[t].primary.data.fields=[o[0]],l[t].primary.data.columns=[i[0]];const n=o.findIndex(e=>e.name===t);n>0&&(l[t].primary.data.fields.push(o[n]),l[t].primary.data.columns.push(i[n]))})):u="INVALID_SPLIT_BY_FIELD",{splitDataSources:l,errorCode:u}})(t):Bn(t,n,Tn.STATS):e===Tn.CHART?r=n===jn?Pn(t):((e,t)=>{var n,r,a,o;const i=null==(r=null==(n=null==e?void 0:e.primary)?void 0:n.data)?void 0:r.fields,l=null==(o=null==(a=null==e?void 0:e.primary)?void 0:a.data)?void 0:o.columns;let s=null,u=[],c=null;if("string"!=typeof i[0]&&(u=(0,Tn.extractSplitByFieldsChartFields)(i)),u&&u.indexOf(t)>-1){s={};const n=u.findIndex(e=>e===t),r=u.filter(e=>e!==t),a=(0,Tn.extractDataSourceAggregationKeysChart)(i),o=[];if(!a.length&&"0"===i[0].groupby_rank&&i.length&&!i[1].groupby_rank)for(let e=1;e{if(s[t]=(0,ne.cloneDeep)((0,ne.omit)(e,["primary.data.fields","primary.data.columns"])),s[t].primary.data.fields=[],r.length&&(s[t].primary.data.fields=[{name:r[0]}]),a.length){const e=[[]];s[t].primary.data.fields=[...s[t].primary.data.fields,...a.map(e=>({name:e}))],a.forEach(()=>{e.push([])});for(let t=1;t<=Math.ceil((i.length-1)/a.length);t+=1)e[0].push(i[t].splitby_value?i[t].splitby_value:i[t].name),a.forEach((r,o)=>{const s=(i.length-1)/a.length;e[o+1].push(l[t+o*s][n])});s[t].primary.data.columns=e}else if(o.length){const e=[];i.forEach((r,a)=>{a>0&&(s[t].primary.data.fields.push(r),e.push([l[a][n]]))}),s[t].primary.data.columns=e}});else{const t=[];for(let e=1;e{s[t]=(0,ne.cloneDeep)((0,ne.omit)(e,["primary.data.fields","primary.data.columns"])),s[t].primary.data.fields=[{name:r[0]},...a.map(e=>({name:e}))],s[t].primary.data.columns=[[...l[0]]],a.forEach(e=>{i.forEach((n,r)=>{n.data_source!==e||n.splitby_value!==t&&n.name!==t||s[t].primary.data.columns.push([...l[r]])})})})}}else c="INVALID_SPLIT_BY_FIELD";return{splitDataSources:s,errorCode:c}})(t,n):e===Tn.UNKNOWN&&(r=n===jn?(e=>{var t,n,r,a;const o=null==(n=null==(t=null==e?void 0:e.primary)?void 0:t.data)?void 0:n.fields,i=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.columns;let l=null,s=null;if(o&&o.length){l={};for(let t=0;t"INVALID_SPLIT_BY_FIELD"===e?x.createElement(rn,{width:t,height:n,message:(0,Pe._)("Select a valid trellis split by field"),level:"info"}):"UNKNOWN_DATA_SPLIT_MODE"===e?x.createElement(rn,{width:t,height:n,message:(0,Pe._)("Unknown data split mode"),level:"info"}):x.createElement(rn,{width:t,height:n,message:(0,Pe._)("Error render in trellis"),level:"info"}))(l,c,u);const f=i?Object.keys(i):[];f&&(N=f.length>L,B=f,Y=f?Math.ceil(f.length/L):0);const[p,m]=((e,t,n,r,a)=>{if(!t||"stacked100"===a||"auto"!==n&&"auto"!==r)return[n,r];const[o,i]=(e=>{let t=-1/0,n=1/0;return Object.keys(e).forEach(r=>{const a=e[r];Object.keys(a).forEach(e=>{a[e].data.columns.forEach(e=>{e.forEach(e=>{const r=Number(e);r>t&&(t=r),rx.createElement("div",{className:"child","data-test":"trellis-child",key:`div-child-${l.toString()}`},x.createElement(q,{width:c,height:u,onResize:n}),x.createElement(e,y(h({},d),{trellisKey:a,trellisSplitBy:t,dataSources:i[a],options:y(h({},s),{yAxisMin:p,yAxisMax:m}),key:`viz-${l.toString()}`,height:o,width:r}))))),N&&Y>=D&&x.createElement(zr,{onChange:Q,current:D,alwaysShowLastPageLink:!0,totalPages:Y}))}return null};return t.propTypes=e.proptypes,t.config=e.config,t})((e=>{const{ReactViz:t,vizConfig:n,computeVizProps:r=()=>{},computeVizPropsBeforeEval:a=()=>{},computeDataFrames:o,disableEditModeCover:i,useIconPlaceholder:l}=e,s=(0,jt.withSanitizedProps)(t),u=(0,Vt.pickFieldFromJSONSchema)(n.optionsSchema,"default"),c=e=>{var t;const{mode:i="view",hasEventHandlers:l,dataSources:c,options:d={},context:f={},width:p,height:m,onComputedProps:b=ne.noop,onEventTrigger:g=en.defaults.onEventTrigger,theme:v,onRequestParamsChange:_=ne.noop}=e,M=x.useContext(Ft);M.serializedTimezone&&(Wt.getDefaultSplunkTimezone()||Wt.setDefaultSplunkTimezone(M.serializedTimezone));const w=t=>{var r,a;return null==(a=(r=n.themes)[t])?void 0:a.call(r,e)},{family:S,colorScheme:k,density:C}=Ot({theme:v});let E={};const[A,L]=x.useState({}),O=x.useContext(G),[T]=x.useState(`${n.name} - ${(0,ot.createGUID)()}`),[D,z]=x.useState({}),[j,P]=x.useState(),[B,Y]=x.useState(Boolean(On(O,"visualizations_useWebWorkersForDSL"))),N=Boolean(null==O?void 0:O.visualizations_enableDownsampling),F=Boolean(O&&O.visualizations_enableTrellis)&&(null==(t=null==n?void 0:n.supports)?void 0:t.includes("trellis"))&&"trellis"===(null==d?void 0:d.splitByLayout),I=Boolean(null==O?void 0:O.visualizations_enableAcceleratedRender)&&(R=n.key,Xn.indexOf(R)>-1)&&!0===(null==d?void 0:d.acceleratedRender);var R;const W=x.useRef(!0),H=x.useMemo(()=>{var e;const t=((e,t)=>e&&!t.legendDisplay?{legendDisplay:"off"}:{})(F,d),r=null!=(e=a(d))?e:{};return{context:(0,ne.defaultsDeep)({},f,n.defaultContext),options:(0,Ht.deepMergeWithArrayPrimitiveOverrides)({},t,r,d,u)}},[F,d,f]),[q,X]=x.useState(Number(p)),V=x.useCallback(e=>{X(e)},[]),U=x.useMemo(()=>N&&(({vizConfig:e})=>{var t;return null==(t=e.supports)?void 0:t.includes("downsampling")})({vizConfig:n}),[N]),$=x.useMemo(()=>U?{onDownsamplingThresholdChange:V,originalDataSources:c}:{},[c,U,V]),K=Cn({options:H.options,context:H.context,dataSources:c,threshold:q,isDownsamplingEnabled:U});E=((t,r)=>{const a=(0,x.useRef)();return a.current&&(0,ne.isEqual)(r,a.current.dependencies)||(a.current={dependencies:r,value:(()=>{try{if(!B){let e=j;K!==D&&(z(K),e=Tt.Options.dataFrameFromDataSource(K,On(O,"visualizations_lazyLoadingDataFrame")),P(e));let t=e;if(o&&e){const n=o({dataSources:K,options:H.options});t=h(h({},e),n)}return Tt.Options.evaluate(H,K,w,t,On(O,"visualizations_bypassCloneDeepOptionScope"))}{const t={visualizationID:T,props:e,options:H,dataSources:K,theme:n.themes,bypassCloneDeepOptionScope:Boolean(On(O,"visualizations_bypassCloneDeepOptionScope")),lazyLoadingDataFrame:Boolean(On(O,"visualizations_lazyLoadingDataFrame"))};Jt.evaluate(t).then(e=>{L(e.results)}).catch(()=>{W.current&&Y(!1)})}}catch(e){return e instanceof Error&&console.error(`unexpected error evaluating options: ${e.message}`),{}}return{}})()}),a.current.value})(0,[S,k,C,H,K,M.serializedTimezone,B]);const J=B?A:E;let Z={};const Q="paginateDataSourceKey",ee=(0,ne.has)(J,Q)&&J[Q],te="string"==typeof ee?ee:"primary",re=(0,ne.get)(c,[te,"requestParams"],{}),ae=(0,ne.get)(c,[te,"meta"],{}),oe=e=>_(te,e),ie=(({requestParams:e,onRequestParamsChange:t})=>{let n,r;const a={asc:"desc",desc:"asc",none:"asc"};let o;return"function"==typeof t&&(e&&(0,ne.has)(e,"sort")&&(n=Object.keys(e.sort).shift(),r=e.sort[n]),o=(n,{sortKey:r,sortDir:o})=>{if("string"==typeof r){const n=(0,ne.has)(a,o)?a[o]:"none";t(h(h({},e),{offset:0,sort:{[r]:n}}))}else t(e)}),{currentSortKey:n,currentSortDir:r,onSort:o}})({requestParams:re,meta:ae,onRequestParamsChange:oe}),le=(({requestParams:e,meta:t,onRequestParamsChange:n})=>{const r=t&&t.totalCount||0,a=e&&e.offset||0,o=e&&e.count,i="number"==typeof o&&o>0?Math.ceil(r/o):0,l="number"==typeof o&&o>0?Math.floor(a/o)+1:0;return{isPaging:i>1&&"function"==typeof n,current:l,totalPages:i,onChange:"function"==typeof n?(t,{page:r,count:a})=>{const o=(0,ne.cloneDeep)(e);"number"==typeof a&&(o.count=a,o.offset=0);const i="number"==typeof o.count?o.count:10;"number"==typeof r&&r>0&&(o.count=i,o.offset=(r-1)*i),n(o)}:ne.noop}})({requestParams:re,meta:ae,onRequestParamsChange:oe});Z={sortParams:ie,paginatorParams:le},-1!==n.supports.indexOf("page-and-sort")||(0,ne.has)(c,te)||(Z={});const se=h({},J);F&&(se.backgroundColor=null==se?void 0:se.trellisBackgroundColor),x.useEffect(()=>{b(se)}),x.useEffect(()=>()=>{B&&(W.current=!1,Jt.reset(T))},[]);const{requiredProps:ue=[],supports:ce}=n,de=(fe=J,ue.filter(e=>null==fe[e]));var fe;if(de.length>0&&ce.includes("placeholder")&&"splunk.singlevalue"!==n.key)return x.createElement(an,{"data-test":"missing-props-message",width:p,height:m,missingProps:de,backgroundColor:w("defaultBackgroundColor")});const pe={};if(l&&"view"===i&&n.supports.indexOf("events")>-1){const e=n.events;Object.keys(e).forEach(t=>{const{parentKeys:n,payloadKeys:r}=e[t],a=(0,ne.camelCase)(`on.${t}`);let o={};if(Array.isArray(r)&&r.length&&r.forEach(e=>{o[e]=J[e]}),pe[a]=e=>((null==e?void 0:e.payload)&&(o=h({},e.payload)),g({originalEvent:e,payload:o,type:t})),n)for(let e=n.length-1;e>=0;e-=1){const t={};t[n[e]]=pe[a],pe[a]=t}})}const me=r(y(h(h(h({},e),J),pe),{themeFunc:w}));if(B&&0===Object.keys(J).length)return null;const he=I?Jn:s;return x.createElement(he,h(h(h(h(h(y(h({},en.defaults),{mode:i,width:p||en.defaults.width,height:m||en.defaults.height,userLocale:M}),$),J),me),pe),Z))};return c.propTypes=h(h({},en.propTypes),t.propTypes),c.defaultProps=y(h({},t.defaultProps),{onEventTrigger:en.defaults.onEventTrigger}),c.config=n,(0,O.withTheme)(Mn(((e,t)=>{const n=n=>{const{mode:r}=n,a="edit"===r&&!t;return x.createElement(sn,null,x.createElement(e,h({},n)),a&&x.createElement(ln,{"data-test":"edit-mode-cover"}))};return on({Wrapper:n,Visualization:e}),n})(c,i),l))})({ReactViz:Et,vizConfig:Or,computeVizProps:qr,computeVizPropsBeforeEval:e=>{const t=(e=>"> trendValue | rangeValue(trendColorEditorConfig)"===e.trendColor&&"percent"===e.trendDisplay?{trendColor:"> trendValuePercent | rangeValue(trendColorEditorConfig)"}:{})(e);return h({},t)},useIconPlaceholder:(e,t)=>((e,t)=>{const n=(0,ne.get)(e,"primary.data.columns[0]",void 0);return t||void 0===n})(e,t)})),{themes:Vr}=Or,Ur=Xr},473(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 14.7858L18.2953 8.49062C18.6858 8.1001 19.319 8.1001 19.7095 8.49062C20.1 8.88115 20.1 9.51431 19.7095 9.90484L13.0607 16.5536C12.475 17.1394 11.5252 17.1394 10.9394 16.5536L4.28874 9.90289C3.89822 9.51236 3.89822 8.8792 4.28874 8.48868C4.67927 8.09815 5.31243 8.09815 5.70296 8.48868L12.0001 14.7858Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{VirtualizedResultsMenu:()=>ie,default:()=>P});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(13339);var u=t.n(s);const c=n(7343);var d=t.n(c);const f=n(30762);var p=t.n(f);const m=n(41454),h=n(53057);var y=t.n(h);const b=n(33772);var g=t.n(b);const v=n(18672);var _=y()(d()).withConfig({displayName:"ResultsMenuStyles__StyledMenu",componentId:"avbhl8-0"})(["overflow:auto;flex-direction:column;"]),M=y().div.withConfig({displayName:"ResultsMenuStyles__Styled",componentId:"avbhl8-1"})(["",";flex-direction:column;max-height:calc(100vh - 20px);border-radius:",";background-color:",";& > ",":not(:first-child){border-start-start-radius:0;border-start-end-radius:0;}& > ",":not(:last-child){border-end-start-radius:0;border-end-end-radius:0;}"],v.mixins.reset("flex"),v.variables.borderRadius,v.variables.backgroundColorPopup,_,_),w=y().div.withConfig({displayName:"ResultsMenuStyles__StyledFooter",componentId:"avbhl8-2"})(["padding:"," ",";color:",";"],v.variables.spacingSmall,v.variables.spacingLarge,v.variables.contentColorDefault),S=y().li.withConfig({displayName:"ResultsMenuStyles__StyledLoading",componentId:"avbhl8-3"})(["",";padding:"," ",";gap:",";"],v.mixins.reset("flex"),v.variables.spacingSmall,v.variables.spacingLarge,v.variables.spacingXSmall),x=y()(d().Item).withConfig({displayName:"ResultsMenuStyles__StyledNoOptions",componentId:"avbhl8-4"})(["&[disabled],&[aria-disabled='true']{color:",";}"],v.variables.contentColorDefault),k=y()(g()).withConfig({displayName:"ResultsMenuStyles__StyledWait",componentId:"avbhl8-5"})(["flex:0 0 auto;"]),C=y().div.withConfig({displayName:"ResultsMenuStyles__StyledLoadingMessage",componentId:"avbhl8-6"})(["flex:1 0 0;color:",";"],v.variables.contentColorDefault);function E(e,t){e&&("function"==typeof e?e(t):e.current=t)}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=t&&se(e)}null==O||O(e)},[se,X,O,T]),ce=(0,a.useCallback)(function(){var e=a.Children.count(r);le()&&se(null),null!=F&&e!==F&&(G(e-(null!=F?F:0)),te(!1)),e!==F&&I(e)},[le,r,F,se]);(0,a.useEffect)(function(){W&&X&&T&&r&&ce()},[W,X,r,T,ce]);var de=a.Children.toArray(r).filter(a.isValidElement).some(function(e){var t=e.type;return!("Divider"===t.as&&t.filterFirst||("Divider"===t.as||"Heading"===t.as)&&(t.filterLast||t.filterConsecutive))}),fe=le(),pe=(0,a.useMemo)(function(){return{height:ee?28*$:0}},[ee,$]),me=!de&&!!v&&!f,he=(0,a.useCallback)(function(){return{role:"listbox",preventFocus:"never"===s}},[s]),ye=(0,a.useCallback)(function(){var e=!!a.Children.toArray(r).length;return d&&e&&o().createElement(o().Fragment,null,"above"!==j&&o().createElement(u(),null),o().createElement(w,{"data-test":"footer-message",key:"footer"},d),"above"===j&&o().createElement(u(),null))},[d,r,j]);return o().createElement(M,A({"data-test":"results-menu",key:"wrapper",ref:re,onWheel:T?ie:void 0,onMouseEnter:T?ae:void 0,onMouseLeave:T?oe:void 0},Y,{style:P}),"above"!==j&&i,"above"===j&&ye(),o().createElement(c.MenuContext.Provider,{value:he()},o().createElement(_,{"aria-multiselectable":n,"aria-labelledby":m,elementRef:ne,focusMode:s,id:b,key:"menu",onScroll:ue,stopScrollPropagation:!0,tabIndex:B},me&&o().createElement(x,{"data-test":"no-results-message",disabled:!0},v),r,T&&!fe&&o().createElement("div",{"data-test":"results-menu-bottom-spacer",style:pe}),f&&o().createElement(S,null,t&&o().createElement(k,null),o().createElement(C,null,y)))),o().createElement(p(),{"aria-live":"polite"},me&&v),"above"!==j&&ye(),"above"===j&&i)}j.propTypes=T;const P=j,B=n(36728);var Y=t.n(B);const N=n(14412);var F={result:[]},I=function(e,t){return F.children===e&&F.groupSize===t||(F.children=e,F.groupSize=t,F.result=t<=1?[a.Children.toArray(e)]:a.Children.toArray(e).reduce(function(e,n,r){var a=Math.floor(r/t);return Array.isArray(e[a])||(e[a]=[]),e[a].push(n),e},[])),F.result};const R=n(66115);var W={children:l().node,onMount:l().func.isRequired,onUnmount:l().func.isRequired},H=o().forwardRef(function(e,t){var n=e.children,r=e.onMount,o=e.onUnmount,i=(0,a.useRef)(null);(0,a.useEffect)(function(){var e=i.current;return e&&r(e),function(){e&&o(e)}},[r,o]);var l=a.Children.only(n);return l?(0,a.cloneElement)(l,{elementRef:function(e){i.current=e,E(t,e)}}):null});H.propTypes=W,H.as="Item";var q=function(e,t){var n=-1,r=-1;return e.forEach(function(e,a){var o=Math.abs(t-a);n>=0&&n3&&void 0!==arguments[3]?arguments[3]:{},a=r.trackFirstElement,i=r.trackLastElement;if(!Array.isArray(e))return[];var l=q(e,Math.floor(e.length/2)),s=a&&q(e,0),u=i&&q(e,e.length-1);return e.map(function(e,r){return r===l||r===s||r===u?o().createElement(H,{key:(0,R.createGUID)(),onMount:t,onUnmount:n},e):e})};function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&S.current.splice(n,1);var r=w.current.indexOf(e);r&&w.current.splice(r,1),null===(t=M.current)||void 0===t||t.unobserve(e)}};return[].concat($(X(n[r-1],a(S),o,{trackFirstElement:!0})),$(null!==(e=n[r])&&void 0!==e?e:[]),$(X(n[r+1],a(w),o,{trackLastElement:!0})))},[]),k=G((0,a.useState)(x),2),C=k[0],A=k[1],L=(0,a.useCallback)(function(e){var t=v.current;v.current=Math.max(0,Math.min(e,g.current.length-1)),t!==v.current&&A(x)},[x]),O=(0,a.useCallback)(function(e){var t;E(r,e),_.current=e,null===(t=M.current)||void 0===t||t.disconnect(),e&&(S.current=[],w.current=[],M.current=new IntersectionObserver(function(t){var n,r,a=v.current,o=e.firstElementChild;if(o&&o.scrollHeight1&&t.some(function(e){return e.isIntersecting}))f(function(e){return e+10});else{var i=!1;t.forEach(function(e){!i&&e.isIntersecting&&(S.current.includes(e.target)?(i=!0,L(a-1)):w.current.includes(e.target)&&(i=!0,L(a+1)))})}},{root:e}))},[r,L]),T=(0,a.useCallback)(function(e){var t=_.current;if(t){e.preventDefault();var n=e.key;if("Home"!==n){var r=g.current.length-1;if("End"!==n){var a=(0,N.getSortedTabbableElements)(t,{ignoreTabIndex:!0}),o=e.target instanceof HTMLElement?e.target:null==t?void 0:t.querySelector(":focus"),i=o instanceof HTMLElement?a.indexOf(o):-1;(0,N.handleFocus)(n,a,i,{enableLoop:!1,orientation:"vertical",enableTab:!1,enableHomeEnd:!1})}else if(v.current===r){var l,s=(0,N.getSortedTabbableElements)(t,{ignoreTabIndex:!0}),u=s[s.length-1];null==u||null===(l=u.focus)||void 0===l||l.call(u)}else m.current=!0,L(r)}else if(0===v.current){var c,d=(0,N.getSortedTabbableElements)(t,{ignoreTabIndex:!0})[0];null==d||null===(c=d.focus)||void 0===c||c.call(d)}else p.current=!0,L(0)}},[L]);return(0,a.useEffect)(function(){f(function(e){return n})},[n]),(0,a.useEffect)(function(){g.current=I(y,d),A(x)},[y,d,x]),(0,a.useEffect)(function(){return function(){var e;return null===(e=M.current)||void 0===e?void 0:e.disconnect()}},[]),(0,a.useEffect)(function(){if("never"!==s){var e=_.current;return e&&e.addEventListener("keydown",T),function(){null==e||e.removeEventListener("keydown",T)}}},[T,s]),o().createElement(P,U({elementRef:O,focusMode:s},u),C)}re.propTypes=te;"undefined"!=typeof document&&document;var ae={document:{body:{appendChild:function(){return[]}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function oe(){return"undefined"!=typeof window?window:ae}oe();const ie="IntersectionObserver"in oe()?re:P;e.exports=r})()},740(e,t,n){"use strict";var r=n(26854),a=n(37166),o=n(35117),i=n(19469),l=n(91638),s=n(78380),u=n(98261),c=n(85999);t.subscribeToResult=function(e,t,n,d){var f=new u.InnerSubscriber(e,n,d);if(f.closed)return null;if(t instanceof l.Observable)return t._isScalar?(f.next(t.value),f.complete(),null):(f.syncErrorThrowable=!0,t.subscribe(f));if(a.isArrayLike(t)){for(var p=0,m=t.length;p0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},973(e,t,n){"use strict";e.exports=n(94315)},1329(e){"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},1338(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(99420))},1376(e){"use strict";e.exports=function(e){return e<-2}},1431(e,t,n){var r=n(41082),a=n(47804),o=n(77051),i=n(58144),l=n(90276),s=n(85100),u=n(50439),c=n(1676),d="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,h,y,b){var g=s(e),v=s(t),_=g?f:l(e),M=v?f:l(t),w=(_=_==d?p:_)==p,S=(M=M==d?p:M)==p,x=_==M;if(x&&u(e)){if(!u(t))return!1;g=!0,w=!1}if(x&&!w)return b||(b=new r),g||c(e)?a(e,t,n,h,y,b):o(e,t,_,n,h,y,b);if(!(1&n)){var k=w&&m.call(e,"__wrapped__"),C=S&&m.call(t,"__wrapped__");if(k||C){var E=k?e.value():e,A=C?t.value():t;return b||(b=new r),y(E,A,n,h,b)}}return!!x&&(b||(b=new r),i(e,t,n,h,y,b))}},1542(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(36786),i=n(70817);t.sequenceEqual=function(e,t){return function(n){return n.lift(new l(e,t))}};var l=function(){function e(e,t){this.compareTo=e,this.comparor=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.compareTo,this.comparor))},e}();t.SequenceEqualOperator=l;var s=function(e){function t(t,n,r){e.call(this,t),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new u(t,this)))}return r(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t.prototype.checkValues=function(){for(var e=this,t=e._a,n=e._b,r=e.comparor;t.length>0&&n.length>0;){var a=t.shift(),l=n.shift(),s=!1;r?(s=o.tryCatch(r)(a,l))===i.errorObject&&this.destination.error(i.errorObject.e):s=a===l,s||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t}(a.Subscriber);t.SequenceEqualSubscriber=s;var u=function(e){function t(t,n){e.call(this,t),this.parent=n}return r(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e)},t.prototype._complete=function(){this.parent._complete()},t}(a.Subscriber)},1607(e,t,n){var r=n(43390),a=n(63634),o=n(22498),i=a(function(e,t){r(t,o(t),e)});e.exports=i},1611(e,t,n){"use strict";var r=n(21743);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},1676(e,t,n){var r=n(76940),a=n(77118),o=n(27896),i=o&&o.isTypedArray,l=i?a(i):r;e.exports=l},1752(e,t,n){"use strict";var r=n(26854);function a(){return function(){function e(){this._values=[]}return e.prototype.add=function(e){this.has(e)||this._values.push(e)},e.prototype.has=function(e){return-1!==this._values.indexOf(e)},Object.defineProperty(e.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._values.length=0},e}()}t.minimalSetImpl=a,t.Set=r.root.Set||a()},1769(e,t,n){"use strict";var r=n(90257),a=n(90257);t.mergeStatic=a.merge,t.merge=function(){for(var e=[],t=0;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Body:()=>X,Caption:()=>re,Cell:()=>pe,Head:()=>pn,HeadCell:()=>ut,HeadDropdownCell:()=>Ln,Row:()=>rn,default:()=>kr});const a=n(14041);var o=t.n(a);const i=n(81380),l=n(5414),s=n(37626),u=n(22539);var c=t.n(u);n(28541);const d=n(37980);var f=t.n(d);const p=n(33429);var m=t.n(p);n(92288);const h=n(36728);var y=t.n(h);const b=n(56505);var g=t.n(b);const v=n(39067);var _=t.n(v);const M=n(38282);var w=t.n(M);const S=n(46387),x=n(50824);var k=t.n(x);const C=n(68795);var E=t.n(C);const A=n(2841),L=n(41454),O=n(66115),T=n(60856);var D=t.n(T);const z=n(60909);var j=t.n(z);const P=n(53057);var B=t.n(P);const Y=n(18672);var N=B().tbody.withConfig({displayName:"BodyStyles__Styled",componentId:"sc-1k5p6pq-0"})([""," z-index:0;"],Y.mixins.reset("table-row-group"));function F(e,t){e&&("function"==typeof e?e(t):e.current=t)}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n input:focus)):not([disabled]){box-shadow:",";}padding-block:",";padding-inline:",";"," "," "," [data-expansion-row='true'] > &:first-child{padding-top:8px;}[data-expansion-row='true'] > &:last-child{padding-bottom:14px;}",""],Y.mixins.reset("table-cell"),Y.variables.lineHeightSpacious,"2px",Y.variables.spacingSmall,Y.variables.contentColorDefault,Y.variables.focusShadowInset,(0,Y.pick)({comfortable:"8px",compact:"6px"}),Y.variables.spacingSmall,(0,Y.pickVariant)("$variant",{expand:(0,P.css)(["height:100%;padding:0;"]),toggle:(0,P.css)(["height:100%;padding:0;"])}),function(e){var t=e.$variant,n=e.$isPrimaryCell;return(0,Y.pickVariant)("$appearance",{data:(0,P.css)(["",""],"actions"===t&&(0,P.css)(["cursor:default;padding-block:",";padding-inline:",";*:where(button){"," &:focus{box-shadow:",";}}"],"2px",Y.variables.spacingSmall,(0,ae.buttonMixin)("subtle",{color:Y.variables.contentColorDefault}),Y.variables.focusShadowInset)),rowLink:(0,P.css)(["color:",";*:hover > &&{cursor:pointer;","}"],Y.variables.contentColorActive,n&&(0,P.css)(["text-decoration:underline;"])),link:(0,P.css)(["color:",";&:hover{cursor:pointer;text-decoration:underline;}&:focus{text-decoration:underline;box-shadow:",";}"],Y.variables.contentColorLink,Y.variables.focusShadowInset)})},function(e){var t=e.$clickable,n=e.$focusWithin,r=e.$stripe;return t&&(0,P.css)(["cursor:pointer;&:hover{background-color:",";}&:focus{"," background-color:",";}",""],"even"===r?Y.variables.neutral300:Y.variables.neutral100,oe,"even"===r?Y.variables.neutral300:Y.variables.neutral100,n&&(0,P.css)(["&:focus-within{"," background-color:",";}"],oe,"even"===r?Y.variables.neutral300:Y.variables.neutral100))},function(e){return e.$isPinned&&(0,P.css)(["background-color:",";position:sticky;inset-inline-end:-1px;&::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid ",";}"],Y.variables.backgroundColorPage,Y.variables.borderColor)}),le=B().div.withConfig({displayName:"CellStyles__StyledCellContent",componentId:"sc-1955xk2-1"})(["display:flex;align-items:flex-start;"," "," ",""],(0,Y.pickVariant)("$variant",{expand:(0,P.css)(["height:100%;"]),toggle:(0,P.css)(["height:100%;"])}),function(e){var t=e.$variant,n=e.$align;return t?(0,P.css)(["display:block;text-align:",";"],n):(0,P.css)(["justify-content:",";text-align:",";"],n,n)},(0,Y.pickVariant)("$horizontalOverflow",{auto:(0,P.css)(["word-break:break-word;"]),scroll:(0,P.css)(["overflow-wrap:wrap;"])})),se=(0,a.createContext)({});se.displayName="Table";const ue=se;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t4&&(0,P.css)(["word-wrap:break-word;word-break:break-word;"])},function(e){var t=e.$truncate,n=e.$labelLength;return(0,Y.pickVariant)("$horizontalOverflow",{auto:t&&n&&n>4&&(0,P.css)([""," min-width:4ch;"],Y.mixins.ellipsis()),scroll:(0,P.css)(["white-space:nowrap;"])})},(0,Y.pickVariant)("$align",{right:(0,P.css)(["& > &{text-align:right;}"]),left:(0,P.css)(["& > &{text-align:left;}"]),center:(0,P.css)(["& > &{text-align:center;}"])})),Ae=(0,P.css)(["box-shadow:",";outline:none;color:",";text-decoration:underline;"],Y.variables.focusShadowInset,Y.variables.contentColorActive),Le=B().div.withConfig({displayName:"HeadInnerStyles__Styled",componentId:"sc-1sa0wng-3"})(["",";",";",";position:relative;"," grid-template-rows:1lh 1fr;align-items:start;flex-grow:1;height:100%;padding-block:",";padding-inline:",";justify-content:",";"," "," @media print{background-image:none;}",""],Y.mixins.reset("grid"),Y.mixins.clearfix(),Y.mixins.typography("body",{weight:"bold"}),function(e){var t=e.$hasTooltip,n=e.$hasIcon;return(0,P.css)(["grid-template-columns:[label] auto "," ",";column-gap:",";"],t?"[tooltip] min-content":"",n?"[icon] min-content":"",t||n?Y.variables.spacingXSmall:0)},(0,Y.pick)({comfortable:"8px",compact:"6px"}),Y.variables.spacingSmall,(0,Y.pickVariant)("$align",{center:"center",left:"flex-start",right:"flex-end"}),function(e){return e.$variant&&(0,P.css)(["grid-template-columns:1fr;grid-template-rows:1fr;"])},(0,Y.pickVariant)("$variant",{toggleAll:(0,P.css)(["padding:0;"]),actions:(0,P.css)(["padding-block:2px;"])}),function(e){var t=e.$clickable,n=e.$focusWithin;return t&&(0,P.css)(["cursor:pointer;&:focus{","}"," &:hover{outline:none;text-decoration:underline;color:",";}"],Ae,n&&(0,P.css)(["&:focus-within{","}"],Ae),Y.variables.contentColorActive)}),Oe=B()(Se()).withConfig({displayName:"HeadInnerStyles__StyledResize",componentId:"sc-1sa0wng-4"})(["",";position:absolute;right:-5px;width:9px;top:0;bottom:0;z-index:1;cursor:col-resize;th:last-child > div > "," > &{right:1px;width:4px;}&:hover{outline:none;&::before{content:'';background:",";position:absolute;left:4px;width:1px;top:0;bottom:0;}}&:focus{outline:none;&::before{content:'';position:absolute;background:",";box-shadow:",";left:4px;width:1px;top:0;bottom:0;}}"],Y.mixins.reset("block"),Le,Y.variables.borderColorStrong,Y.variables.focusColor,Y.variables.focusShadow),Te=B().div.withConfig({displayName:"HeadCellStyles__StyledInnerWrapper",componentId:"sc-1hj81sa-0"})(["display:flex;height:100%;align-items:flex-start;"]),De=B().th.withConfig({displayName:"HeadCellStyles__Styled",componentId:"sc-1hj81sa-1"})([""," line-height:",";background-color:",";box-sizing:content-box;text-align:left;vertical-align:",";position:relative;height:100%;&:not(:first-child,:has(",")){","{border-left:1px solid ",";}}&:has(","){","{border-right:1px solid ",";}}&:nth-last-child(2):has(",") + &:last-child{","{border-left:none;}}*:where(button):focus{box-shadow:",";}"," "," "," ",""],Y.mixins.reset("table-cell"),Y.variables.lineHeightSpacious,Y.variables.neutral100,function(e){return e.$variant?"middle":"top"},Oe,Te,Y.variables.borderColorWeak,Oe,Te,Y.variables.borderColor,Oe,Te,Y.variables.focusShadowInset,function(e){return e.$isDragging&&(0,P.css)(["background-color:",";&:focus{box-shadow:none;}"],Y.variables.backgroundColorPage)},function(e){return e.$variant&&(0,P.css)(["&:first-child + &{","{border-left:1px solid ",";}}"],Te,Y.variables.borderColorWeak)},(0,Y.pickVariant)("$variant",{actions:(0,P.css)(["*:where(button){"," &:focus{box-shadow:",";}}"],(0,ae.buttonMixin)("subtle",{color:Y.variables.contentColorDefault}),Y.variables.focusShadowInset)}),function(e){return e.$isPinned&&(0,P.css)(["position:sticky;inset-inline-end:-1px;&::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid ",";}"],Y.variables.borderColor)}),ze=B().div.withConfig({displayName:"HeadCellStyles__StyledIcon",componentId:"sc-1hj81sa-2"})(["display:inline-flex;align-items:center;height:1lh;"]),je=B().div.withConfig({displayName:"HeadCellStyles__StyledDragHandler",componentId:"sc-1hj81sa-3"})(["display:inline-flex;align-items:start;align-self:stretch;justify-content:center;min-width:20px;cursor:move;padding-block:",";-webkit-user-select:none;-moz-user-select:none;user-select:none;&:hover{background:",";color:",";}&:focus{background:",";box-shadow:",";color:",";}"],(0,Y.pick)({comfortable:"8px",compact:"6px"}),Y.variables.interactiveColorOverlayHover,Y.variables.contentColorActive,Y.variables.interactiveColorOverlayDrag,Y.variables.focusShadowInset,Y.variables.contentColorActive);const Pe=n(93427);var Be=t.n(Pe);const Ye=n(79958);var Ne=t.n(Ye);const Fe=n(37670);var Ie=t.n(Fe);const Re=n(90274);var We=t.n(Re);const He=n(77996);var qe=t.n(He),Xe={body:{appendChild:function(){return[]}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ve(){return"undefined"!=typeof document?document:Xe}Ve();var Ue={document:Xe,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function $e(){return"undefined"!=typeof window?window:Ue}function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n div{margin:0;}@media print{background-image:none;}"],Y.mixins.reset("flex"),Y.mixins.clearfix(),Y.variables.focusShadowInset,Y.variables.interactiveColorOverlayDrag,Y.variables.interactiveColorOverlayActive,Y.variables.focusShadowInset);function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=i.length)null==h||h(e,t);else{var s=i[a],u=o-s;if(u<=0)o>=l?null==h||h(e,t):null==h||h(e,{columnId:n,id:r,index:a,width:l});else{var c=[],d=0,f=!0;if(x.current.length!==i.length)return void(null==h||h(e,t));if(x.current.forEach(function(e,t){"auto"===e&&(d+=1,c.push(t))}),d>0){var p=u/d;if(c.every(function(e){return!(e=l?null==h||h(e,t):null==h||h(e,{columnId:n,id:r,index:a,width:s+(g-l)})}else null==h||h(e,t)}}},[l,h,M]),A=(0,a.useCallback)(function(e){F(u,e),S.current=e},[u]),L=(0,a.useMemo)(function(){return a.Children.toArray(s).filter(a.isValidElement)},[s]),O=L.length+(n.length||r?1:0),T=(0,a.useMemo)(function(){var e=[],t=L.map(function(t,n){return e.push(t.props.width),(0,a.cloneElement)(t,{index:n,onRequestResize:w?E:h,onRequestMoveColumn:m?C:void 0,onAutosizeColumn:p,key:t.key||t.props.columnId||n})});return x.current=e,t},[L,w,E,h,m,C,p]),D=void 0===b?void 0:ln[b],z=r||48,j="fixed"===_?"fixed-head":"head";k="some"===D?un:D?cn:sn;var P=(0,a.useMemo)(function(){return{minWidth:z}},[z]),B=(0,a.useMemo)(function(){return{minWidth:r}},[r]);return o().createElement(ct,an({ref:A,"data-test":j,$isFixed:"fixed"===_,$zIndex:O+1},g),o().createElement(rn,null,c&&o().createElement(pt,{key:"drag_rows_head_cell","data-test":"drag-rows-head-cell",align:"center",resizable:!1}),y&&o().createElement(dt,{key:"toggle_all",resizable:!1,align:"center",variant:"toggleAll",truncate:!1,"data-test":"toggle-all"},o().createElement(Vt,{"aria-label":k,onClick:y,selected:D})),d&&o().createElement(ft,{key:"more_info_head_cell","data-test":"more-info-head-cell",resizable:!1,variant:"info"}),T,n.length>0&&o().createElement(ut,{key:"actions_head_cell","data-test":"actions-head-cell",align:"right",resizable:!1,width:z,style:P,variant:"actions",isPinned:null==f?void 0:f.actions},n),0===n.length&&r&&o().createElement(ut,{key:"actions_head_cell","data-test":"actions-head-cell",align:"right",resizable:!1,width:r,style:B,variant:"actions",isPinned:null==f?void 0:f.actions}," ")))}fn.propTypes=on,fn.splunkUiType="Table.Head";const pn=fn,mn=n(41694);var hn=t.n(mn);const yn=n(91573);var bn=t.n(yn);const gn=n(57959);var vn=t.n(gn);const _n=n(91659);var Mn=t.n(_n);function wn(){return wn=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:$n,n=e.getBoundingClientRect();if(t.ignoreTransform){var r=(0,mt.getWindow)(e).getComputedStyle(e),a=r.transform,o=r.transformOrigin;a&&(n=function(e,t,n){var r=function(e){if(e.startsWith("matrix3d(")){var t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){var n=e.slice(7,-1).split(/, /);return{x:+n[4],y:+n[5],scaleX:+n[0],scaleY:+n[3]}}return null}(t);if(!r)return e;var a=r.scaleX,o=r.scaleY,i=r.x,l=r.y,s=e.left-i-(1-a)*parseFloat(n),u=e.top-l-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),c=a?e.width/a:e.width,d=o?e.height/o:e.height;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s}}(n,a,o))}var i=n;return{top:i.top,left:i.left,width:i.width,height:i.height,bottom:i.bottom,right:i.right}}function Kn(e){if(e===document.scrollingElement){var t=window,n=t.innerWidth,r=t.innerHeight;return{top:0,left:0,right:n,bottom:r,width:n,height:r}}var a=e.getBoundingClientRect();return{top:a.top,left:a.left,right:a.right,bottom:a.bottom,width:e.clientWidth,height:e.clientHeight}}function Jn(e){var t={x:0,y:0},n=function(e){return!(!mt.canUseDOM||!e)&&e===document.scrollingElement}(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var Zn={x:0,y:0};var Qn={start:[i.KeyboardCode.Space,i.KeyboardCode.Enter],cancel:[i.KeyboardCode.Esc],end:[i.KeyboardCode.Space,i.KeyboardCode.Enter]};function er(e){if(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gn)(e),n=t.top,r=t.left,a=t.bottom,o=t.right,i=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||In(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(function(e,t){var n=[];return e?function r(a){if(null!=t&&n.length>=t)return n;if(!a)return n;if((0,mt.isDocument)(a)&&null!=a.scrollingElement&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!(0,mt.isHTMLElement)(a)||(0,mt.isSVGElement)(a))return n;if(n.includes(a))return n;var o=(0,mt.getWindow)(e).getComputedStyle(a);return a!==e&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,mt.getWindow)(e).getComputedStyle(e),n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(function(e){var r=t[e];return"string"==typeof r&&n.test(r)})}(a,o)&&n.push(a),function(e){return"fixed"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,mt.getWindow)(e).getComputedStyle(e)).position}(a,o)?n:r(a.parentNode)}(e):n}(e,1),1)[0];return null!=t?t:null}(e);i&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}}var tr=function(){function e(t){Wn(this,e),Xn(this,"autoScrollEnabled",!1),Xn(this,"referenceCoordinates",void 0),Xn(this,"listeners",void 0),Xn(this,"windowListeners",void 0),this.props=t;var n=t.event.target;this.props=t,this.listeners=new Un((0,mt.getOwnerDocument)(n)),this.windowListeners=new Un((0,mt.getWindow)(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}return qn(e,[{key:"attach",value:function(){var e=this;this.handleStart(),this.windowListeners.add("resize",this.handleCancel),this.windowListeners.add("visibilitychange",this.handleCancel),setTimeout(function(){return e.listeners.add("keydown",e.handleKeyDown)})}},{key:"handleStart",value:function(){var e=this.props,t=e.activeNode,n=e.onStart,r=t.node.current;r&&er(r),n(Zn)}},{key:"handleKeyDown",value:function(e){if((0,mt.isKeyboardEvent)(e)){var t=this.props,n=t.active,r=t.context,a=t.options,o=a.keyboardCodes,l=void 0===o?Qn:o,s=a.coordinateGetter,u=a.scrollBehavior,c=void 0===u?"smooth":u,d=e.code;if(l.end.includes(d))return void this.handleEnd(e);if(l.cancel.includes(d))return void this.handleCancel(e);var f=r.current.collisionRect,p=f?{x:f.left,y:f.top}:Zn;this.referenceCoordinates||(this.referenceCoordinates=p);var m=s(e,{active:n,context:r.current,currentCoordinates:p});if(m){for(var h=(0,mt.subtract)(m,p),y={x:0,y:0},b=r.current.scrollableAncestors,g=0;g=m.y+((null==f?void 0:f.height)||0),O=A.left<=m.x&&A.right>=m.x+((null==f?void 0:f.width)||0),T=(_===i.KeyboardCode.Right&&!S||_===i.KeyboardCode.Left&&!x)&&!O,D=(_===i.KeyboardCode.Down&&!k||_===i.KeyboardCode.Up&&!w)&&!L;if(T){var z=v.scrollLeft+h.x,j=_===i.KeyboardCode.Right&&z<=C.x||_===i.KeyboardCode.Left&&z>=E.x;if(j&&!h.y)return void v.scrollTo({left:z,behavior:c});y.x=j?v.scrollLeft-z:_===i.KeyboardCode.Right?v.scrollLeft-C.x:v.scrollLeft-E.x,y.x&&v.scrollBy({left:-y.x,behavior:c});break}if(D){var P=v.scrollTop+h.y,B=_===i.KeyboardCode.Down&&P<=C.y||_===i.KeyboardCode.Up&&P>=E.y;if(B&&!h.x)return void v.scrollTo({top:P,behavior:c});y.y=B?v.scrollTop-P:_===i.KeyboardCode.Down?v.scrollTop-C.y:v.scrollTop-E.y,y.y&&v.scrollBy({top:-y.y,behavior:c});break}}this.handleMove(e,(0,mt.add)((0,mt.subtract)(m,this.referenceCoordinates),y))}}}},{key:"handleMove",value:function(e,t){var n=this.props.onMove;e.preventDefault(),n(t)}},{key:"handleEnd",value:function(e){var t=this.props.onEnd;e.preventDefault(),this.detach(),t()}},{key:"handleCancel",value:function(e){var t=this.props.onCancel;e.preventDefault(),this.detach(),t()}},{key:"detach",value:function(){this.listeners.removeAll(),this.windowListeners.removeAll()}}]),e}();function nr(e){return nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nr(e)}function rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ar(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n-1)return{target:"headCell",index:r};var a=e.querySelectorAll("[data-test=resize]"),o=f()(a,t.activeElement);return o>-1?{target:"resizeButton",index:o}:void 0}},yr=function(e,t){return e.indexOf(t)+1},br=function(e,t){return e.indexOf(t)+1},gr={coordinateGetter:s.sortableKeyboardCoordinates},vr={draggable:(0,L._)("To pick up a sortable row, press space or enter.\n Use the up and down arrow keys to update the position of the row.\n Press space or enter again to drop the row in its new position, or press escape to cancel.")},_r={draggable:(0,L._)("To pick up a sortable column, press space or enter.\n Use the left and right arrow keys to update the position of the column.\n Press space or enter again to drop the column in its new position, or press escape to cancel.")};function Mr(e,t){var n,r,a,o=t.target,i=t.index;"headCell"===o?a=null==e?void 0:e.children[0].children[i]:"resizeButton"===o&&(a=null==e?void 0:e.querySelectorAll("[data-test=resize]")[i]),null===(n=a)||void 0===n||null===(r=n.focus)||void 0===r||r.call(n)}var wr={passive:!1,capture:!0},Sr=[];function xr(e){var t=e.actions,n=void 0===t?Sr:t,r=e.actionsColumnWidth,u=e.children,d=e.dockOffset,f=void 0===d?0:d,p=e.dockScrollBar,h=e.elementRef,b=e.headType,v=void 0===b?"inline":b,_=e.horizontalOverflow,M=void 0===_?"auto":_,x=e.innerStyle,C=e.onRequestMoveColumn,T=e.onRequestMoveRow,D=e.onRequestResizeColumn,z=e.onRequestToggleAllRows,j=e.onScroll,P=e.outerStyle,B=e.pinnedColumns,Y=e.primaryColumnIndex,N=void 0===Y?0:Y,I=e.resizableFillLayout,R=e.rowExpansion,W=void 0===R?"none":R,H=e.rowSelection,q=void 0===H?"none":H,X=e.stripeRows,J=e.tableStyle,ee=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rCe.current&&(r=n+1),ke(r)}else ke(-1)},[Xe]),ot=(0,a.useMemo)(function(){return g()(at,100)},[at]);(0,a.useEffect)(function(){return function(){ot.cancel()}},[ot]);var it,lt,st,ut=(0,a.useCallback)(function(e){var t=e.active,n=e.over;if(n&&t.id!==n.id){var r=Xe.indexOf(t.id),a=Xe.indexOf(null==n?void 0:n.id);null==C||C({fromIndex:r,toIndex:a})}Oe(void 0),ke(-1),Ee.current=void 0,Ce.current=void 0},[Xe,C]),ct=(0,a.useCallback)(function(e){var t=e.active,n=e.over;if(be.current=!0,n&&t.id!==n.id){var r=He.indexOf(t.id),a=He.indexOf(null==n?void 0:n.id);null==T||T({fromIndex:r,toIndex:a})}},[He,T]),dt=(0,a.useCallback)(function(){be.current=!0},[]),ft=(0,a.useRef)({}),pt=(0,a.useMemo)(function(){var e,t;if(-1===xe||!De.current||!Ye.current)return null;var n,r,a=!!T,i="none"!==W,l=Array.from(null!==(e=null===(t=De.current.firstElementChild)||void 0===t?void 0:t.children)&&void 0!==e?e:[]).slice(i?1:0).slice(a?1:0).slice(z?1:0);if(0===xe)n=(null===(r=l[0])||void 0===r?void 0:r.offsetLeft)||0;else if(xe>=l.length){var s=l[l.length-1];n=((null==s?void 0:s.offsetLeft)||0)+((null==s?void 0:s.offsetWidth)||0)-1}else{var u;n=(null===(u=l[xe])||void 0===u?void 0:u.offsetLeft)||0}return o().createElement(Q,{$height:Ye.current.clientHeight,$left:n})},[xe,T,W,z]),mt=(0,a.useMemo)(function(){var e,t,n;if(!Te.current||!De.current||!Be.current)return 0;var r=$e(),a=null!==(e=ir(Be.current).top)&&void 0!==e?e:0,o=null!==(t=null===(n=De.current)||void 0===n?void 0:n.offsetHeight)&&void 0!==t?t:0,i=r.innerHeight-a-o;return Math.min(i-Te.current.offsetHeight,0)},[]),ht=(0,a.useMemo)(function(){return{width:he,marginBottom:mt}},[he,mt]),yt=(0,a.useMemo)(function(){return{width:se}},[se]),bt=!!D;a.Children.toArray(u).forEach(function(e){var t=e.type.splunkUiType;if("Table.Head"===t){it=function(e){var t=[],o=[],i=a.Children.toArray(e.props.children).filter(a.isValidElement).map(function(e,n){var r=e,i=r.key||(0,O.createDOMID)("col-");return(i=String(i)).startsWith("col-")||(i="col-".concat(i)),t.push(r),o.push(i),(0,a.cloneElement)(r,{index:n,dragId:i,elementRef:function(e){ft.current[i]=e,F(r.props.elementRef,e)}})});Re.current=t,Xe=o;var l=null==n?void 0:n.filter(a.isValidElement);return(0,a.cloneElement)(e,{actions:l,actionsColumnWidth:r,hasInfoColumn:"none"!==W,hasDragColumn:!!T,pinnedColumns:B,onAutosizeColumn:nt,onRequestMoveColumn:C,onRequestResizeColumn:D,onRequestToggleAllRows:z,elementRef:Qe(e),rowSelection:q},i)}(e);var o=a.Children.toArray(e.props.children).filter(a.isValidElement).every(function(e){return e.props.width&&void 0!==e.props.width});bt=o}else"Table.Body"===t?lt=function(e){var t=(null==n?void 0:n.filter(a.isValidElement).length)>0,o=!1,i=[],l=[];a.Children.toArray(null==e?void 0:e.props.children).filter(a.isValidElement).forEach(function(e,t){var n,r;((null===(n=e.props)||void 0===n?void 0:n.actionPrimary)||(null===(r=e.props)||void 0===r?void 0:r.actionsSecondary))&&(o=!0);var s=e.key||(0,O.createDOMID)("row-");(s=String(s)).startsWith("row-")||(s="row-".concat(s)),i.push((0,a.cloneElement)(e,{index:t,dragId:s})),l.push(s)});var s=t||o||!!r;return qe=i,He=l,(0,a.cloneElement)(e,{actions:s,movableColumns:!!C,onRequestMoveRow:T,primaryColumnIndex:N,rowExpansion:W,pinnedColumns:B,stripeRows:X},qe)}(e):"Table.Caption"===t&&(st=e)}),function(e,t){if(null==e)throw new Error(t)}(it,"A Table.Head is required.");var gt=function(e,t){if(function(){var e=Ye.current,t=$e();if(!(fr(v)&&Be.current&&De.current&&e))return!1;var n=mr(e).top;return t.pageYOffset>=n-(f||0)}()){if(ze.current=hr(De.current),void 0===ne||void 0===se||void 0===fe||void 0===he)return!1;var n=(0,a.cloneElement)(e);return o().createElement(Nn,{headType:"docked",tHead:n,cellWidths:ne,horizontalOffset:oe,tableWidth:se,top:fe,width:he,tableStyle:J,isFixedColumn:t,onKeyUp:tt,elementRef:et,hasDragColumn:!!T,hasRowExpansion:"none"!==W,hasRowSelection:!!z})}return!1}(it,bt),vt=a.Children.toArray(it.props.children).filter(a.isValidElement).map(function(e){return(0,a.cloneElement)(e,{visible:!gt})});it=(0,a.cloneElement)(it,{},vt);var _t=ge||$e(),Mt=pr(v)?Ye.current:_t;I&&(bt=!1);var wt=function(){var e=De.current,t=Ye.current;if(e){var n=dn(De.current),r=null==n?void 0:n.length,a=null==t?void 0:t.clientWidth;if(null!=a)return a-Math.max(0,r-1)}return null}(),St=(0,a.useMemo)(function(){return{headType:v,horizontalOverflow:M,resizableFillLayout:I,tableContainerWidthWithoutBorders:wt}},[v,M,I,wt]),xt=(0,a.useMemo)(function(){return T?{onDragStart:function(e){var t=e.active.id;if(void 0!==t){var n=yr(He,t);return"number"==typeof n?(0,A.sprintf)((0,L._)("Picked up sortable row in position %(pos)d of %(total)d."),{pos:n,total:He.length}):void 0}},onDragOver:function(e){var t=e.active,n=e.over;if(be.current)be.current=!1;else if(t.id&&(null==n?void 0:n.id)){var r=yr(He,t.id),a=yr(He,n.id);return(0,A.sprintf)((0,L._)("Row moved from position %(from)d to position %(to)d of %(total)d."),{from:r,to:a,total:He.length})}},onDragEnd:function(e){var t=e.over;if(null==t?void 0:t.id){var n=yr(He,t.id);return"number"==typeof n?(0,A.sprintf)((0,L._)("Row dropped at position %(pos)d of %(total)d."),{pos:n,total:He.length}):void 0}},onDragCancel:function(e){var t=e.active.id;if(void 0!==t){var n=yr(He,t);return"number"==typeof n?(0,A.sprintf)((0,L._)("Row returned to its starting position of %(pos)d."),{pos:n}):void 0}}}:{onDragStart:function(){},onDragOver:function(){},onDragEnd:function(){},onDragCancel:function(){}}},[He,T]),kt=(0,a.useMemo)(function(){return C?{onDragStart:function(e){var t=e.active.id;if(void 0!==t){var n=br(Xe,t);return"number"==typeof n?(0,A.sprintf)((0,L._)("Picked up sortable column in position %(pos)d of %(total)d."),{pos:n,total:Xe.length}):void 0}},onDragOver:function(e){var t=e.active,n=e.over;if(be.current)be.current=!1;else if(t.id&&(null==n?void 0:n.id)){var r=br(Xe,t.id),a=br(Xe,n.id);if("number"==typeof r&&"number"==typeof a)return(0,A.sprintf)((0,L._)("Column moved from position %(from)d to position %(to)d of %(total)d."),{from:r,to:a,total:Xe.length})}},onDragEnd:function(e){var t=e.over;if(null==t?void 0:t.id){var n=br(Xe,t.id);return"number"==typeof n?(0,A.sprintf)((0,L._)("Column dropped at position %(pos)d of %(total)d."),{pos:n,total:Xe.length}):void 0}},onDragCancel:function(e){var t=e.active.id;if(void 0!==t){var n=br(Xe,t);return"number"==typeof n?(0,A.sprintf)((0,L._)("Column returned to its starting position of %(pos)d."),{pos:n}):void 0}}}:{onDragStart:function(){},onDragOver:function(){},onDragEnd:function(){},onDragCancel:function(){}}},[Xe,C]),Ct=(0,a.useMemo)(function(){return{screenReaderInstructions:T?vr:_r,announcements:T?xt:kt}},[xt,kt,T]),Et=(0,a.useCallback)(function(e){var t=e.active.id;t.startsWith("col-")&&C?(we([l.restrictToHorizontalAxis]),rt(e)):t.startsWith("row-")&&T&&we([l.restrictToVerticalAxis])},[C,T,rt]),At=(0,a.useCallback)(function(e){we([]);var t=e.active.id;t.startsWith("col-")&&C?ut(e):t.startsWith("row-")&&T&&ct(e)},[ut,ct,C,T]),Lt=(0,a.useCallback)(function(e){e.active.id.startsWith("col-")&&C&&ot(e)},[ot,C]),Ot=(0,a.useCallback)(function(e){we([]),e.active.id.startsWith("row-")&&T&&dt()},[dt,T]),Tt=(0,a.useMemo)(function(){return function(e){var t=(0,i.pointerWithin)(e);return t.length>0?t:(0,i.rectIntersection)(e)}},[]),Dt=Le?ft.current[Le]:null,zt=Dt?ir(Dt).width:void 0,jt=Ye.current?ir(Ye.current).height:void 0;return o().createElement(V,lr({"data-test":"table",ref:h,style:P,"data-test-row-selection":z?q:void 0},y()(ee,[].concat(function(e){return function(e){if(Array.isArray(e))return cr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ur(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Object.keys(dr)),["style"]))),o().createElement(w(),{target:$e(),eventType:"scroll",listener:Ke,options:wr}),o().createElement(ue.Provider,{value:St},gt,o().createElement(U,{"data-test":"scroll-container",onScroll:Ge,ref:Ye,style:x,$dragging:!!Le},o().createElement(S.ScrollContainerProvider,{value:Mt},o().createElement(i.DndContext,{accessibility:Ct,collisionDetection:Tt,modifiers:Me,onDragCancel:Ot,onDragEnd:At,onDragOver:Lt,onDragStart:Et,sensors:ve},o().createElement($,{ref:Be,"data-test":"main-table",style:J,"data-fixed-column":bt?"true":void 0,$resizableFillLayout:I},st,C?o().createElement(s.SortableContext,{items:Xe,strategy:s.horizontalListSortingStrategy},it):it,T?o().createElement(s.SortableContext,{items:He,strategy:s.verticalListSortingStrategy},lt):lt),Le&&o().createElement(i.DragOverlay,null,o().createElement(Z,{$width:zt,$height:jt})),Le&&pt))),!!function(){var e=$e(),t=Ye.current;if(!p||!Be.current||!t)return!1;var n=ir(t);return n.bottom>e.innerHeight&&n.top{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(80305);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t= 0");if(0===Math.floor(n))return l((0,a._)("%s B"),e.toLocaleString(t));const i=n/1024;if(0===Math.floor(i))return l((0,a._)("%s KB"),(0,o.roundToDecimal)(n,-2).toLocaleString(t));const s=i/1024;if(0===Math.floor(s))return l((0,a._)("%s MB"),(0,o.roundToDecimal)(i,-2).toLocaleString(t));const u=s/1024;return 0===Math.floor(u)?l((0,a._)("%s GB"),(0,o.roundToDecimal)(s,-2).toLocaleString(t)):l((0,a._)("%s TB"),(0,o.roundToDecimal)(u,-2).toLocaleString(t))},t.truncateNumber=function({number:e,max:t}){return e>t?(0,a._)(`${t}+`):`${e}`},t.smartTrim=function(e,t,{precomposed:n=!1}={}){if(!e||t<1||e.length<=t)return e;const r=n?"…":"...";if(1===t)return`${e[0]}${r}`;const a=Math.ceil(e.length/2),o=e.length-t,i=Math.ceil(o/2),l=o-i;return`${e.substring(0,a-i)}${r}${e.substring(a+l)}`};const r=n(48808),a=n(41454),o=n(65776),i=n(78358);function l(e,...t){return(0,i.sprintfFormat)((0,i.sprintfParse)(e),[e,...t])}},2883(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(99420))},2895(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearGetThemeCache=t.default=void 0;var r=l(n(85741)),a=l(n(47558)),o=l(n(57337)),i=n(30281);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e,t,n){return(t=function(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=(0,r.default)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.addThemeDefaults)(e),n=t.family,r=t.colorScheme,l=t.density,s="prisma"===n,d="enterprise"===n,f="comfortable"===l,p="compact"===l,m="dark"===r,h="light"===r;return Object.freeze(function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.family,n=e.colorScheme,r=e.density;return"".concat(t).concat(n).concat(r)});t.clearGetThemeCache=function(){var e,t;return null===(e=(t=d.cache).clear)||void 0===e?void 0:e.call(t)};var f=d;t.default=f},2915(e,t,n){var r=n(91573),a=n(6085);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},2944(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(18033),o=n(80757),i=n(234),l=n(740);t.race=function(){for(var e=[],t=0;tt in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},v={};b(v,{COLOR_OR_TOKEN_PATTERN:()=>R,COLOR_OR_TOKEN_PATTERN_WITH_RGBA:()=>W,DYNAMIC_OPTIONS_DSL_PATTERN:()=>H,LAYER_TYPE:()=>x,LAYOUT_TYPE:()=>k,SchemaUtils:()=>z,TOKEN_PATTERN:()=>B,areaOptionsSchema:()=>U,barOptionsSchema:()=>$,bubbleOptionsSchema:()=>G,choroplethSvgOptionsSchema:()=>K,colorPattern:()=>F,colorPatternWithRGBA:()=>I,columnOptionsSchema:()=>J,createTestSchema:()=>P,ellipseOptionsSchema:()=>Z,enhanceOptionsSchemaWithDynamicOptions:()=>V,eventsOptionsSchema:()=>Q,fillerGaugeOptionsSchema:()=>ee,getPattern:()=>q,imageOptionsSchema:()=>te,lineOptionsSchema:()=>ne,linkGraphOptionsSchema:()=>re,mapOptionsSchema:()=>ae,markdownOptionsSchema:()=>oe,markerGaugeOptionsSchema:()=>ie,parallelCoordinatesOptionsSchema:()=>le,pieOptionsSchema:()=>se,punchcardOptionsSchema:()=>ue,rectangleOptionsSchema:()=>ce,rgbColorPattern:()=>Y,rgbaColorPattern:()=>N,sankeyOptionsSchema:()=>de,scatterOptionsSchema:()=>fe,schemaDraft07:()=>j,singleValueIconOptionsSchema:()=>me,singleValueOptionsSchema:()=>pe,singleValueRadialOptionsSchema:()=>he,tableOptionsSchema:()=>ye,timelineOptionsSchema:()=>be,validAlignments:()=>L,validCellRenderers:()=>C,validColumnAlignments:()=>O,validFontSizes:()=>D,validHeaderVisibilities:()=>A,validSegmentationModes:()=>S,validSparklineTypes:()=>E,validTextOverflows:()=>T}),e.exports=(r=v,g(o({},"__esModule",{value:!0}),r));var _={};b(_,{default:()=>w});var M=((e,t,n)=>(n=null!=e?a(d(e)):{},g(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(16951));((e,t)=>{g(e,t,"default")})(_,n(16951));var w="default"in M?M.default:M,S=["none","inner"],x=(e=>(e.Marker="marker",e.Bubble="bubble",e.Choropleth="choropleth",e))(x||{}),k=(e=>(e.Off="off",e.Trellis="trellis",e))(k||{}),C=["TextCell","ArrayCell","SparklineCell"],E=["line","area"],A=["none","fixed","inline"],L=["left","center","right"],O=["left","center","right","auto"],T=["anywhere","break-word","ellipsis"],D=["extraSmall","small","default","large"],z={};b(z,{COLOR_OR_TOKEN_PATTERN:()=>R,COLOR_OR_TOKEN_PATTERN_WITH_RGBA:()=>W,DYNAMIC_OPTIONS_DSL_PATTERN:()=>H,TOKEN_PATTERN:()=>B,colorPattern:()=>F,colorPatternWithRGBA:()=>I,createTestSchema:()=>P,getPattern:()=>q,rgbColorPattern:()=>Y,rgbaColorPattern:()=>N,schemaDraft07:()=>j});var j={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0},P=e=>({$schema:"http://json-schema.org/draft-07/schema#",$id:"http://www.splunk.com/dashboard.schema.json",title:"Dashboard Definition",description:"Dashboard Definition",type:"object",properties:e}),B=/\$/.source+/(\w+:)?/.source+/([^$|:]+?)(\|[|\w]+)?/.source+/\$/.source,Y=/^rgb\(\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,N=/^rgba\(\s*(\d{1,3}%?),\s*(\d{1,3}%?),\s*(\d{1,3}%?),\s*(\d*(?:\.\d+)?)\)$/,F="^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$|^transparent$",I=`${F}|${Y.source}|${N.source}`,R=`${F}|${B}`,W=`${I}|${B}`,H=/^>.*/.source,q=e=>e.reduce((e,t)=>`${e}|^${t}$`,B),X={type:"string",pattern:H},V=e=>{const t={};return Object.keys(e).forEach(n=>{const r=e[n],{title:a,description:o,readOnly:i,writeOnly:l,examples:s,default:u,type:d,properties:m,patternProperties:b}=r,g=((e,t)=>{var n={};for(var r in e)f.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))t.indexOf(r)<0&&p.call(e,r)&&(n[r]=e[r]);return n})(r,["title","description","readOnly","writeOnly","examples","default","type","properties","patternProperties"]),v=h(h(h(h(h(h({},void 0!==a&&{title:a}),void 0!==o&&{description:o}),void 0!==i&&{readOnly:i}),void 0!==l&&{writeOnly:l}),void 0!==s&&{examples:s}),void 0!==u&&{default:u});if("object"===d){if(t[n]=h(y(h(h({},g),v),{type:d}),m&&{properties:V(m)}),b){let e={};Object.keys(b).forEach(t=>{e=h(h({},e),V({[t]:b[t]}))}),t[n].patternProperties=e}}else t[n]=y(h({},v),{anyOf:[h(h({},void 0!==d&&{type:d}),g),X]})}),t},U=V({x:{default:"> primary | seriesByIndex(0)",description:"Specify the data source to apply to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify the data source to apply to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify the data source to apply to the second y-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field to map to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify the field to map to the y-axis.",type:"string"},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},annotationColor:{description:'Specify the annotation colors. For example, [“#FF0000”, “#0000FF", “#008000”]. You can use a data source or a hexadecimal code to apply the color.',type:"array",items:{type:"string"}},annotationLabel:{description:"Specify a list of labels to use for annotations. For example, [“Sales”, “Revenue”, “Orders”]. You might use a data source to apply the labels.",type:"array",items:{type:"string"}},annotationX:{description:"Specify a data source field to apply to the event annotation on the x-axis.",type:"array",items:{type:["string","number"]}},areaOpacity:{description:"Specify the opacity of the area chart. Values can range from 0 (transparent) to 1 (opaque).",type:"number",default:.75},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color to use for the background. You can use a data source or hexadecimal code to apply the color.",pattern:W,type:"string"},dataValuesDisplay:{description:'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.',type:"string",pattern:q(["off","all","minmax"]),default:"off"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. You must select the Standard legend mode to make this change.",pattern:q(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',pattern:q(["standard","seriesCompare"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},lineDashStyle:{default:"solid",description:"Specify a dash style for all overlay field lines.",pattern:q(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:'Specify a dash style to use for overlay lines for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".',type:"object"},lineWidth:{default:2,description:"Specify the line width (px) for overlay field lines.",type:"number"},nullValueDisplay:{default:"gaps",description:"Specify the handling of null values for area and line charts .",pattern:q(["gaps","zero","connect"]),type:"string"},resultLimit:{default:5e4,description:"Specify the number of data points to render in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors to use for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.",type:"object"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},stackMode:{description:"Specify stack mode.",type:"string",pattern:q(["auto","stacked","stacked100"]),default:"auto"},showIndependentYRanges:{description:"Specify whether split series charts have independent y-ranges.",type:"boolean",default:!1},showSplitSeries:{description:"Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom; use one chart for each series.",type:"boolean",default:!1},showLines:{description:"Specify whether to show lines in area charts.",default:!0,type:"boolean"},showXMajorGridLines:{description:"Specify whether to show major grid lines on the x-axis.",type:"boolean",default:!1},showYMajorGridLines:{description:"Specify whether to show major grid lines on the y-axis.",type:"boolean",default:!0},showY2MajorGridLines:{description:"Specify whether to show major grid lines on the second y-axis.",type:"boolean",default:!1},showYMinorGridLines:{description:"Specify whether to show minor grid lines on the y-axis.",type:"boolean",default:!1},showY2MinorGridLines:{description:"Specify whether to show minor grid lines on the second y-axis.",type:"boolean",default:!1},showYAxisExtendedRange:{description:"Specify whether to extend the y-axis to include whole major tick marks.",type:"boolean",default:!0},showYAxisWithZero:{description:"Specify whether to include zero in the y-axis range.",type:"boolean",default:!1},showY2AxisWithZero:{description:"Specify whether to include zero in the second y-axis range.",type:"boolean",default:!1},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{description:"Specify the rotation of the x-axis label in degrees.",enum:[-90,-45,0,45,90],type:"number",default:0},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show the second y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},xAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the second y-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the second y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{default:3,minimum:1,maximum:3,description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number"},yAxisScale:{type:"string",pattern:q(["linear","log"]),description:"Specify the type of scale that applies to a numerical y-axis.",default:"linear"},y2AxisScale:{type:"string",pattern:q(["linear","log"]),description:"Specify the type of scale that applies to a numerical second y-axis.",default:"linear"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the second y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the x-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the second y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:q(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:q(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric second y-axis.",type:["string","number"]},yAxisMax:{type:["string","number"],description:"Specify the largest value for the visible y-axis range.",default:"auto"},y2AxisMax:{type:["string","number"],description:"Specify the largest value for the visible second y-axis range.",default:"auto"},yAxisMin:{type:["string","number"],description:"Specify the smallest value for the visible y-axis range.",default:"auto"},y2AxisMin:{type:["string","number"],description:"Specify the smallest value for the visible second y-axis range.",default:"auto"},overlayFields:{description:"Specify one or more fields to differentiate on the chart and display as chart overlays.",type:["array","string"],items:{type:"string"}},showOverlayY2Axis:{default:!1,description:"Enable a second y-axis for chart overlays. All overlay fields will map to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round second y-axis values to the nearest integer.",type:"boolean"},y2Fields:{default:"> y2 | getField()",description:"Specify one or more fields to map to the second y-axis.",type:["array","string"],items:{type:"string"}}}),$=V({x:{default:"> primary | seriesByIndex(0)",description:"Specify the data source to apply to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify the data source to apply to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify the data source to apply to the second y-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field to map to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify the field to map to the y-axis.",type:"string"},y2Fields:{default:"> y2 | getField()",description:"Specify one or more fields to map to a second y-axis.",type:["array","string"],items:{type:"string"}},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.",pattern:W,type:"string"},barSpacing:{description:"Specify the spacing (px) between columns in a bar chart.",type:"number"},dataValuesDisplay:{default:"off",description:'Specify the labels to display. Enter "all" to show lables for all data points, "off" to show no labels, or "minmax to show high and low values".',pattern:q(["off","all","minmax"]),type:"string"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",pattern:q(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',pattern:q(["standard","seriesCompare"]),type:"string"},legendReversed:{default:"false",description:"Specify whether to reverse the order of the legend items.",type:"boolean"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},lineDashStyle:{default:"solid",description:"Specify a dash style for all overlay field lines.",pattern:q(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:'Specify a dash style to use for overlay lines for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".',type:"object"},lineWidth:{default:2,description:"Specify the line width (px) for overlay field lines.",type:"number"},resultLimit:{default:5e4,description:"Specify the number of data points to render in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors to use for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.",type:"object"},seriesSpacing:{description:"Specify the spacing (px) between clustered series in column and bar charts.",type:"number"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},stackMode:{default:"auto",description:"Specify stack mode.",pattern:q(["auto","stacked","stacked100"]),type:"string"},showIndependentYRanges:{default:!1,description:"Specify whether split series charts have independent y-ranges.",type:"boolean"},showSplitSeries:{default:!1,description:"Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom, one for each series.",type:"boolean"},showXMajorGridLines:{default:!1,description:"Specify whether to show major grid lines on the x-axis.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether to show major grid lines on the y-axis.",type:"boolean"},showY2MajorGridLines:{default:!1,description:"Specify whether to show major grid lines on the second y-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether to show minor grid lines on the y-axis.",type:"boolean"},showY2MinorGridLines:{default:!1,description:"Specify whether to show minor grid lines on the second y-axis.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether to extend the y-axis to include whole major tick marks.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether to include zero in the y-axis range.",type:"boolean"},showY2AxisWithZero:{default:!1,description:"Specify whether to include zero the second y-axis range .",type:"boolean"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show the second y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},xAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the second y-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the second y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{default:3,minimum:1,maximum:3,description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number"},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:q(["linear","log"]),type:"string"},y2AxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical second y-axis.",pattern:q(["linear","log"]),type:"string"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the second y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the x-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the second y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:q(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y2-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:q(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric second y-axis.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the largest value to display in the visible y-axis range.",type:["string","number"]},y2AxisMax:{default:"auto",description:"Specify the largest value to display in the visible second y-axis range.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the smallest value for the visible y-axis range.",type:["string","number"]},y2AxisMin:{default:"auto",description:"Specify the smallest value for the visible second y-axis range.",type:["string","number"]},overlayFields:{description:"Specify one or more fields to differentiate on the chart and display as chart overlays.",type:["array","string"]},showOverlayY2Axis:{default:!1,description:"Enable a second y-axis for chart overlays. All overlay fields map to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round second y-axis values to the nearest integer.",type:"boolean"}}),G=V({x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | seriesByIndex(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},category:{description:"Specify a sequence of dataSource events to be plotted on the chart.",type:"array",items:{type:["string","number"]}},size:{default:"> primary | seriesByIndex(2)",description:"Specify the dataSource events that are represented by the bubble size in the chart.",type:"array",items:{type:"number"}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the series categories.",type:"string"},sizeField:{default:"> size | getField()",description:"Specify the field that should be mapped to the bubble size in the chart.",type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the chart background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},bubbleSizeMax:{default:50,description:"Specify, in pixels, the maximum size of each bubble.",type:"number"},bubbleSizeMin:{default:10,description:"Specify, in pixels, the minimum size of each bubble.",type:"number"},bubbleSizeMethod:{default:"area",description:"Specify how bubble size is measured.",pattern:q(["area","diameter"]),type:"string"},legendDisplay:{default:"right",description:"Specify the location of the legend on the panel.",pattern:q(["right","left","top","bottom","off"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify where to use ellipsis to replace legend labels that overflow the layout.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the hexadecimal color codes for the bubble order from largest to smallest. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:'Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}.',type:"object"},showXAxisExtendedRange:{default:!0,description:"Specify whether the x-axis should be extended to snap to whole major tick marks.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether the y-axis should be extended to snap to whole major tick marks.",type:"boolean"},showXAxisWithZero:{default:!1,description:"Specify whether the x-axis range includes zero.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether the y-axis range includes zero.",type:"boolean"},showRoundedXAxisLabels:{default:!1,description:"Specify whether to round x-axis values to the nearest integer.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether major grid lines are visible on the y-axis.",type:"boolean"},showXMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the x-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the y-axis.",type:"boolean"},xAxisLabelRotation:{default:0,description:"Specify the rotation of the x-axis labels in degrees.",type:"number",enum:[-90,-45,0,45,90]},xAxisAbbreviation:{default:"off",description:"Specify whether to abbreviate large x-axis values with the closest International System of Units (SI) prefix.",enum:["off","auto"],pattern:q(["auto","off"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["off","auto"],pattern:q(["auto","off"]),type:"string"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},xAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval between major tick marks along the x-axis. By default, the spacing value is automatically calculated based on the scale of the related axis.",type:["string","number"]},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval between major tick marks along the y-axis. By default, the spacing value is automatically calculated based on the scale of the related axis.",type:["string","number"]},xAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y-axis.",type:"number"},xAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the x-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the x-axis .",pattern:q(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMax:{default:"auto",description:"Specify the maximum value for the visible x-axis range.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the maximum value for the visible y-axis range.",type:["string","number"]},xAxisMin:{default:"auto",description:"Specify the minimum value for the visible x-axis range.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the minimum value for the visible y-axis range.",type:["string","number"]},xAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical x-axis.",pattern:q(["linear","log"]),type:"string"},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:q(["linear","log"]),type:"string"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to hide the title of the x-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to hide the title of the y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"}}),K=V({areaColors:{default:"> areaValues|rangeValue(areaColorsRangeConfig)",description:"Specify the dataSource field that should be used to set the svg fill attribute of identified areas.",type:"array",items:{type:"string",pattern:W}},areaIds:{default:'> primary|seriesByType("string")',description:"Specify the dataSource field that should be used to identify each area in the Choropleth svg, where the area has been tagged with an id field.",type:"array",items:{type:"string"}},areaValues:{default:'> primary|seriesByType("number")',description:"Specify the dataSource field that indicates the values for the areas.",type:"array",items:{type:"number"}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"the background color behind the SVG, title, and description.",type:"string",pattern:W},svg:{description:"Literal svg, or svg data URI.",type:"string"}}),J=V({x:{default:"> primary | seriesByIndex(0)",description:"Specify a data source to apply to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify a data source to apply to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify a data source to apply to the second y-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify a field to map to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify a field to map to the y-axis.",type:"string"},y2Fields:{default:"> y2 | getField()",description:"Specify one or more fields to map to a second y-axis.",type:["array","string"],items:{type:"string"}},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},annotationColor:{description:'Specify the annotation colors. For example, [“#FF0000”, “#0000FF", “#008000”]. You can use a data source or hexadecimal code to apply the color.',type:"array",items:{type:"string"}},annotationLabel:{description:"Specify a list of labels to use for annotations. For example, [“Sales”, “Revenue”, “Orders”].You can use a data source to apply the labels. ",type:"array",items:{type:"string"}},annotationX:{description:"Specify a data source field to apply to the event annotation on the x-axis.",type:"array",items:{type:["string","number"]}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color to use for the background. You can use a data source or a hexadecimal code to apply the color.",pattern:W,type:"string"},columnGrouping:{default:"auto",description:"Specify a column grouping mode. If chart.stackMode is defined, it overrides grouping mode settings.",pattern:q(["auto","overlay"]),type:"string"},columnSpacing:{description:"Specifies the spacing (px) between columns in a column chart.",type:"number"},dataValuesDisplay:{description:'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.',type:"string",pattern:q(["off","all","minmax"]),default:"off"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",pattern:q(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',pattern:q(["standard","seriesCompare"]),type:"string"},legendTruncation:{description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string",default:"ellipsisEnd"},lineDashStyle:{default:"solid",description:"Specify a dash style for all overlay field lines.",pattern:q(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:'Specify a dash style to use for overlay lines for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".',type:"object"},lineWidth:{default:2,description:"Specify the line width (px) for overlay field lines.",type:"number"},resultLimit:{default:5e4,description:"Specify the number of data points to render in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors to use for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.",type:"object"},seriesSpacing:{description:"Specify the spacing (px) between clustered series in column and bar charts.",type:"number"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},stackMode:{description:"Specify stack mode.",type:"string",pattern:q(["auto","stacked","stacked100"]),default:"auto"},showIndependentYRanges:{description:"Specify whether split series charts have independent y-ranges.",type:"boolean",default:!1},showSplitSeries:{description:"Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom; uses one chart for each series.",type:"boolean",default:!1},showTooltip:{description:"Specify whether to make a tooltip visible on hover",type:"boolean",default:!0},showXMajorGridLines:{description:"Specify whether to show major grid lines on the x-axis.",type:"boolean",default:!1},showYMajorGridLines:{description:"Specify whether to show major grid lines on the y-axis.",type:"boolean",default:!0},showY2MajorGridLines:{description:"Specify whether to show major grid lines on the second y-axis.",type:"boolean",default:!1},showYMinorGridLines:{description:"Specify whether to show minor grid lines on the y-axis.",type:"boolean",default:!1},showY2MinorGridLines:{description:"Specify whether to show minor grid lines on the second y-axis.",type:"boolean",default:!1},showYAxisExtendedRange:{description:"Specify whether to extend the y-axis to include whole major tick marks.",type:"boolean",default:!0},showYAxisWithZero:{description:"Specify whether to include zero in the y-axis range.",type:"boolean",default:!1},showY2AxisWithZero:{description:"Specify whether to include zero in the second y-axis range.",type:"boolean",default:!1},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{description:"Specify the rotation of the x-axis label in degrees.",enum:[-90,-45,0,45,90],type:"number",default:0},xAxisLabelVisibility:{description:"Specify whether to show labels on the x-axis.",pattern:q(["auto","show","hide"]),type:"string",default:"auto"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show the second y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},xAxisMajorTickSize:{description:"Specify the size (px) of major tick marks on the x-axis.",type:"number",default:6},yAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the second y-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the second y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the second y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number",default:3,minimum:1,maximum:3},yAxisScale:{type:"string",pattern:q(["linear","log"]),description:"Specify the type of scale that applies to a numerical y-axis.",default:"linear"},y2AxisScale:{type:"string",pattern:q(["linear","log"]),description:"Specify the type of scale that applies to a numerical second y-axis.",default:"linear"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the second y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the x-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the second y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:q(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:q(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric second y-axis.",type:["string","number"]},yAxisMax:{type:["string","number"],description:"Specify the largest value for the visible y-axis range.",default:"auto"},y2AxisMax:{type:["string","number"],description:"Specify the largest value for the visible second y-axis range.",default:"auto"},yAxisMin:{type:["string","number"],description:"Specify the smallest value for the visible y-axis range.",default:"auto"},y2AxisMin:{type:["string","number"],description:"Specify the smallest value for the visible second y-axis range.",default:"auto"},overlayFields:{description:"Specify one or more fields to differentiate on the chart and display as chart overlays.",type:["array","string"],items:{type:"string"}},showOverlayY2Axis:{default:!1,description:"Enable a second y-axis for chart overlays. All overlay fields will map to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round the second y-axis values to the nearest integer.",type:"boolean"}}),Z=V({fillColor:{default:"> themes.defaultFillColor",description:'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#C3CBD4". The default for enterprise dark is "#31373E". The default for prisma dark is "#0B0C0E".',type:"string"},fillOpacity:{default:1,description:'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',type:"number"},strokeColor:{default:"> themes.defaultStrokeColor",description:'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#3C444D". The default for enterprise dark is "#C3CBD4". The default for prisma dark is "#ACACAD".',type:"string"},strokeDashStyle:{default:0,description:"Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.",type:"number"},strokeOpacity:{default:1,description:'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',type:"number"},strokeWidth:{default:1,description:"Specify the width of the stroke, in pixels. The minimum value is 0.",type:"number"}}),Q=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},eventActions:{default:[],description:'Specify the available actions to take for an event. For example, `[{ "eventType": "eventAction.buildEventType.click", "label": "Build Event Type" }]`. Event types should end in `.click` if utilizing event handlers. Note that both `eventtypeValues` and `fieldFilters` keys support wildcard values.',type:"array",items:{anyOf:[{type:"object",properties:{eventType:{description:"The distinct type for the event emitted upon event action click.",type:"string",pattern:".click$",default:""},label:{description:"The label for the event action.",type:"string",default:""},eventtypeValues:{description:"An array of string values that all need to match against the value(s) of the `eventtype` field if it exists in the event in order to be shown.",items:{type:"string"},type:"array",default:[]},fieldFilters:{description:"An array of string values for fields that need to exist in the event in order for the given event action in order to be shown.",items:{type:"string"},type:"array",default:[]}},required:["eventType","label"]}]}},fieldActions:{description:'Specify the available actions for this field. For example, `{ *: [{ "eventType": "fieldAction.sharedAction1.click", "label": "Shared Action 1", "eventtypeValues": ["*"], "fieldFilters": ["*"] }] }`. Event types should end in `.click` if utilizing event handlers. Actions under the `*` key are shared across all field dropdowns. Note that both `eventtypeValues` and `fieldFilters` keys, as well as the field names, support wildcard values.',type:"object",patternProperties:{".*":{description:"Specify the available actions for this field.",type:"array",items:{anyOf:[{type:"object",properties:{eventType:{description:"The distinct type for the event emitted upon event action click.",type:"string",pattern:".click$",default:""},label:{description:"The label for the event action.",type:"string",default:""},eventtypeValues:{description:"An array of string values that all need to match against the value(s) of the `eventtype` field if it exists in the event in order to be shown.",items:{type:"string"},type:"array",default:[]},fieldFilters:{description:"An array of string values for fields that need to exist in the event in order for the given event action in order to be shown.",items:{type:"string"},type:"array",default:[]}},required:["eventType","label"]}]}}}},footerFields:{description:'Specify field(s) that should be displayed in the footer component. Specify one or more fields to display in the footer component. For example, specify ["source", "dest"] to display the source and destination fields.',type:"array",items:{type:"string"},default:[]},highlightValuesByField:{description:'Specify the field and value pairs for manual highlighting. For example, `{"source": "$srcToken$", "dest": "12.21.1.11", "tag": ["tag1", "tag2"]}`.',type:"object"},highlightFromSource:{description:'Specify a segmentation mode to use for search based highlighting. Specifying "none" will turn search based highlighting off. For more about segmentation, search for "event segmentation" in the Getting Data In manual in the Splunk Docs.',type:"string",pattern:q(S),default:"none"},showFieldSummary:{description:"Specify that a field summary popup appears when a field is selected. To show field summaries for a search, configure an additional datasource called `fieldsummary` using the original search followed by the `... | fieldsummary maxvals=10` SPL command.",type:"boolean",default:!0}}),ee=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},gaugeColor:{default:_.CATEGORICAL[0],description:'Specify the color for the gauge color of the filler gauge. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF".',type:"string"},labelDisplay:{default:"number",description:"Specify whether to display the labels as numbers, percentages, or off. The label right aligns to the value for horizontal orientation, and top aligns for vertical.",pattern:q(["number","percentage","off"]),type:"string"},majorTickInterval:{description:"Specify, in pixels, the spacing between major tick marks.",default:"auto",type:["string","number"]},orientation:{default:"vertical",description:"Specify the axis orientation of the gauge.",pattern:q(["vertical","horizontal"]),type:"string"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:200,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:200,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},value:{default:'> primary | seriesByType("number") | lastPoint()',description:"Specify the dataSource applied to the value of the filler gauge.",type:"number"},valueDisplay:{default:"number",description:"Specify whether to display the value as a number, percentage, or off.",pattern:q(["number","percentage","off"]),type:"string"}}),te=V({src:{description:"URL of an image file. All browser-supported image formats are acceptable.",type:"string"},preserveAspectRatio:{default:!1,description:"Set to true to maintain the aspect ratio of an image when the screen is resized.",type:"boolean"}}),ne=V({acceleratedRender:{default:!1,description:"Specify whether to switch rendering from SVG to Canvas for faster performance with large datasets. Some options may not be supported in this mode.",type:"boolean"},x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify the dataSource applied to the y2-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},annotationColor:{description:'Specify the annotation colors. You may use a dataSource to apply the color. For example, [“#FF0000”, “#0000FF", “#008000”].',type:"array",items:{type:"string"}},annotationLabel:{description:"Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [“houston, we have a problem”, “just close the jira”, “looking good now”].",type:"array",items:{type:"string"}},annotationX:{description:"Specify the dataSource field applied to the event annotation on the x-axis.",type:"array",items:{type:["string","number"]}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},dataValuesDisplay:{default:"off",description:"Specify whether chart should display no labels, all labels, or only the min and max labels.",pattern:q(["off","all","minmax"]),type:"string"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. You must select the Standard legend mode to make this change.",pattern:q(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:'Specify a list of labels to pre-populate the legend. For example, ["percent", "count"].',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',pattern:q(["standard","seriesCompare"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},lineDashStyle:{default:"solid",description:"Specify a dash style for all line series in the chart.",pattern:q(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:'Specify a dash style to use for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".',type:"object"},lineWidth:{default:2,description:"Specify the line width (px), for all line series.",type:"number"},markerDisplay:{default:"off",description:"Specify the marker display style for data points.",pattern:q(["off","filled","outlined"]),enum:["off","filled","outlined"],type:"string"},nullValueDisplay:{default:"gaps",description:"Specify how area and line charts handle null values.",pattern:q(["gaps","zero","connect"]),type:"string"},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors used for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.",type:"object"},showLineSmoothing:{default:!1,description:"Specify whether lines are straight or smoothed using curves.",type:"boolean"},showIndependentYRanges:{default:!1,description:"Specify whether split series charts have independent y-ranges.",type:"boolean"},showSplitSeries:{default:!1,description:'Set to "true" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',type:"boolean"},showXMajorGridLines:{default:!1,description:"Specify whether major grid lines are visible on the x-axis.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether major grid lines are visible on the y-axis.",type:"boolean"},showY2MajorGridLines:{default:!1,description:"Specify whether major grid lines are visible on the y2-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the y-axis.",type:"boolean"},showY2MinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on y2-axis.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether the y-axis should be extended to include whole major tick marks.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether the y-axis range includes zero.",type:"boolean"},showY2AxisWithZero:{default:!1,description:"Specify whether the y2-axis range includes zero.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{default:0,description:"Specify the rotation of the x-axis label in degrees.",enum:[-90,-45,0,45,90],type:"number"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y2-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",enum:["hide","show"],description:"Specify whether to show or hide the x-axis line.",pattern:q(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the y2-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},xAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y2-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y2-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y2-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y2-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{default:3,minimum:1,maximum:3,description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the y2-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the x-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the y2-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest SI prefix.",enum:["off","auto"],pattern:q(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y2-axis values with the closest SI prefix.",enum:["off","auto"],pattern:q(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y2-axis.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the maximum number for the visible y-axis range.",type:["string","number"]},y2AxisMax:{default:"auto",description:"Specify the maximum number for the visible y2-axis range.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the minimum number for the visible y-axis range.",type:["string","number"]},y2AxisMin:{default:"auto",description:"Specify the minimum number for the visible y2-axis range.",type:["string","number"]},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:q(["linear","log"]),type:"string"},y2AxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y2-axis.",pattern:q(["linear","log"]),type:"string"},overlayFields:{description:"Specify field(s) that should be differentiated on the chart and displayed as chart overlays.",type:["array","string"],items:{type:"string"}},showOverlayY2Axis:{default:!1,description:"Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round y2-axis values to the nearest integer.",type:"boolean"},y2Fields:{default:"> y2 | getField()",description:"Specify field(s) that should be mapped to a second y-axis.",type:["array","string"],items:{type:"string"}}}),re=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},fieldOrder:{default:"> primary | getField()",description:"Specify the order of fields to be displayed in the link graph from left to right when loaded. Unspecified fields will be excluded from the graph.",type:"array",items:{type:"string"}},linkColor:{default:"#6d6f76",description:"Specify the color used for highlighted links. Non-highlighted links will be displayed at 20% opacity.",pattern:W,type:"string"},linkWidth:{default:1,description:"Specify, in pixels, the stroke width of each link.",type:"number"},nodeColor:{default:"> themes.defaultNodeColor",description:"Specify the color used for unhighlighted nodes.",pattern:W,type:"string"},nodeTextColor:{description:"Specify the color used for unhighlighted nodes text.",pattern:W,type:"string",default:"> nodeColor | maxContrast(nodeTextColorMaxContrast)"},nodeHeight:{default:21,description:"Specify, in pixels, the height of each node.",type:"number"},nodeHighlightColor:{default:_.VIZ_CATEGORICAL[0],description:"Specify the color used for highlighted nodes.",pattern:W,type:"string"},nodeTextHighlightColor:{description:"Specify the color used for highlighted nodes text.",pattern:W,type:"string",default:"> nodeHighlightColor | maxContrast(nodeHighlightTextColorMaxContrast)"},nodeSpacingX:{default:32,description:"Specify, in pixels, the horizontal spacing between each node.",type:"number"},nodeSpacingY:{default:18,description:"Specify, in pixels, the vertical spacing between each node.",type:"number"},nodeWidth:{default:180,description:"Specify, in pixels, the width of each node.",type:"number"},resultLimit:{default:50,description:"Specify the number of nodes rendered in each column.",type:"number"},showNodeCounts:{default:!0,description:"Specify whether a count is shown for the number of nodes displayed in each column. The number of total nodes is also shown if there are hidden nodes.",type:"boolean"},showValueCounts:{default:!0,description:"Specify whether a count is shown for the frequency of occurrence for each distinct node value.",type:"boolean"}}),ae=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify a color for the background. You might use a dataSource to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".',pattern:W,type:"string"},baseLayerTileServer:{type:"string",description:"Specify the URL for the set of tiles that make up the base map."},baseLayerTileServerType:{type:"string",description:"Specify the type of tile set for the base map.",pattern:q(["vector","raster"])},center:{type:"array",description:"Specify the center of the map in coordinates, in the form of [latitude, longitude]. If you don’t provide coordinates, the map automatically centers, based on available location data. If there is no available location data, the center of the map defaults to [37.7749, -122.4194].",items:{type:"number"}},layers:{default:[{type:"bubble",latitude:'> primary | seriesByName("latitude")',longitude:'> primary | seriesByName("longitude")',seriesColors:_.VIZ_CATEGORICAL,dataValues:'> primary | seriesByType("number")',dataColors:"",bubbleSize:'> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")',additionalTooltipFields:[],resultLimit:1e3},{type:"marker",latitude:'> primary | seriesByName("latitude")',longitude:'> primary | seriesByName("longitude")',seriesColors:_.VIZ_CATEGORICAL,dataValues:'> primary | seriesByType("number")',dataColors:"",additionalTooltipFields:[],resultLimit:1e3},{type:"choropleth",areaIds:'> primary | seriesByType("string")',areaValues:'> primary | seriesByType("number")',dataColors:"> areaValues | gradient()",additionalTooltipFields:[],resultLimit:1e3,choroplethEmptyAreaColor:"> themes.defaultChoroplethEmptyAreaColor",choroplethStrokeColor:"transparent",choroplethOpacity:.8}],type:"array",description:"Specify the optional data visualization layers over the base map. If empty, only the base map appears.",items:{anyOf:[{type:"object",properties:{type:{description:'Specify the type of data layer method to display points on the map. For example, “bubble”, “marker”, or "choropleth".',type:"string",pattern:q(["marker","bubble","choropleth"]),default:"marker"},latitude:{description:'Specify a dataSource series to apply latitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',type:["string","array"],items:{type:"number"},default:'> primary | seriesByName("latitude")'},longitude:{description:'Specify a dataSource series to apply longitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',type:["string","array"],items:{type:"number"},default:'> primary | seriesByName("longitude")'},seriesColors:{description:'Specify the colors to use for data points. If the dataColors option is specified, the seriesColors option is ignored. The seriesColors option applies to layers where type: "bubble" or type: "marker".',type:"array",items:{type:"string",pattern:W},default:_.VIZ_CATEGORICAL},dataColors:{description:'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. When type: "choropleth", dataColors is defined by default, and the opacities are shown at 80% of maximum to allow textual information to be visible in the map. By default, the dataColors option is empty for "bubble" or "marker" layers to prioritize seriesColors. For "bubble" layers, dataColors requires bubbleSize to have a single series configured. If multiple series are set for bubbleSize, only the first pie slice reflects the colors.',type:["string","array"],items:{type:"string"},default:""},dataValues:{description:'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".',type:["string","array"],items:{type:"number"},default:'> primary | seriesByType("number")'},additionalTooltipFields:{description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"},default:[]},tooltipHeaderField:{description:"Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",type:"string"},resultLimit:{description:"Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",type:"number",default:1e3}}},{type:"object",properties:{type:{description:'Specify the type of data layer method to display points on the map. For example, “bubble”, “marker”, or "choropleth".',type:"string",pattern:q(["marker","bubble","choropleth"]),default:"choropleth"},areaIds:{description:'Specify a dataSource series to identify each area in the choropleth map layer. This applies to layers where type: "choropleth".',type:"array",items:{type:"string"},default:'> primary | seriesByType("string")'},areaValues:{description:'Specify a dataSource series that indicates the values for the choropleth map areas. This applies to layers where type: "choropleth".',type:"array",items:{type:"number"},default:'> primary | seriesByType("number")'},dataColors:{description:'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. When type: "choropleth", dataColors is defined by default. By default, the dataColors option is not defined for type "bubble" or "marker".',type:["string","array"],items:{type:"string"},default:"> areaValues | gradient()"},additionalTooltipFields:{description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"},default:[]},tooltipHeaderField:{description:"Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",type:"string"},resultLimit:{description:"Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",type:"number",default:1e3},source:{description:'Source for the geodata for choropleth layer: "us" or "world", and will override data specified in the SPL geom command.',pattern:q(["geo://default/us","geo://default/world"]),type:"string"},choroplethEmptyAreaColor:{description:'Specify the color used for empty choropleth areas when "type": "choropleth", and will only work when "source" option is correctly configured.',pattern:W,type:"string",default:"> themes.defaultChoroplethEmptyAreaColor"},choroplethStrokeColor:{description:'Specify the stroke color for choropleth area outlines. The hex value format should be "#FFFFFF".',pattern:W,type:"string",default:"transparent"},choroplethOpacity:{description:'Specify the opacity of choropleth areas. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.8" in code or "80%" in UI.',type:"number",default:.8}}},{type:"object",properties:{type:{description:'Specify the type of data layer method to display points on the map. For example, “bubble”, “marker”, or "choropleth".',type:"string",pattern:q(["marker","bubble","choropleth"]),default:"bubble"},bubbleSize:{description:'Specify the data column to encode bubble size. This applies to layers where type: "bubble". If a single data column is specified, each bubble appears as a circle. When multiple columns are provided, bubbles are displayed as pie charts, with each slice representing a different column.',type:["string","array"],items:{type:"number"},default:'> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")'},latitude:{description:'Specify a dataSource series to apply latitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',type:["string","array"],items:{type:"number"},default:'> primary | seriesByName("latitude")'},longitude:{description:'Specify a dataSource series to apply longitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',type:["string","array"],items:{type:"number"},default:'> primary | seriesByName("longitude")'},seriesColors:{description:'Specify the colors to use for data points. If the dataColors option is specified, the seriesColors option is ignored. The seriesColors option applies to layers where type: "bubble" or type: "marker".',type:"array",items:{type:"string",pattern:W},default:_.VIZ_CATEGORICAL},dataColors:{description:'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. When type: "choropleth", dataColors is defined by default, and the opacities are shown at 80% of maximum to allow textual information to be visible in the map. By default, the dataColors option is empty for "bubble" or "marker" layers to prioritize seriesColors. For "bubble" layers, dataColors requires bubbleSize to have a single series configured. If multiple series are set for bubbleSize, only the first pie slice reflects the colors.',type:["string","array"],items:{type:"string"},default:""},dataValues:{description:'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".',type:["string","array"],items:{type:"number"},default:'> primary | seriesByType("number")'},additionalTooltipFields:{description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"},default:[]},tooltipHeaderField:{description:"Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",type:"string"},resultLimit:{description:"Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",type:"number",default:1e3}}}]}},scaleUnit:{default:"metric",type:"string",description:"Specify the scale unit to use.",pattern:q(["metric","imperial"])},showBaseLayer:{default:!0,type:"boolean",description:"Specify if showing the base map."},showScale:{default:!0,type:"boolean",description:"Specify whether to display the scale on the bottom left."},showZoomControls:{default:!0,type:"boolean",description:"Specify whether to display the control panel of zoom on the top left."},zoom:{description:"Specify the zoom level of the map.",type:"number"},showCoordinates:{default:!0,type:"boolean",description:"Specify whether to display coordinates (latitude and longitude) in the tooltip."},icon:{default:"",type:"string",description:'Specify the url for an svg to display an icon inside bubbles for map. This applies to layers where type: "bubble".'}}),oe=V({backgroundColor:{description:'Specify the background color using a Hex code such as "#FF0000".',type:"string",default:"transparent",pattern:W},customFontSize:{description:"Specify the font size (in pixels) you would like to use for unformatted text when `fontSize` is set to `custom`. Header elements are calculated with the following formula: h1 = 2 × `customFontSize`, h2 = 1.5 × `customFontSize`, h3 = 1.25 × `customFontSize`",default:14,type:"number"},fontColor:{description:'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".',type:"string",default:"> themes.defaultFontColor",pattern:W},fontFamily:{default:"Splunk Platform Sans",pattern:q(["Splunk Platform Sans","Splunk Data Sans","Splunk Platform Mono","Arial","Helvetica","Times New Roman","Comic Sans MS"]),description:'Specify the font family you would like to use for markdown content, such as "Comic Sans MS". Note: the font needs to be available to your end user.',type:"string"},fontSize:{description:"Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.",type:"string",default:"default",pattern:q(["extraSmall","small","default","large","extraLarge","custom"])},markdown:{description:"Add text using basic markdown syntax.",type:"string"},rotation:{description:"Specify the angle of rotation of the markdown content in degrees.",type:"number",default:0}}),ie=V({backgroundColor:{description:'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',type:"string",pattern:W,default:"> themes.defaultBackgroundColor"},gaugeRanges:{description:'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"from": 0, "to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#F4DF7A"}].',default:[{from:0,to:50,value:"#118832"},{from:50,to:90,value:"#CBA700"},{from:90,to:100,value:"#D41F1F"}],type:"array",items:{type:"object",properties:{from:{type:"number",description:"Starting value for range."},to:{type:"number",description:"Ending value for range."},value:{description:"Color for sub range.",type:"string",pattern:W}},required:["from","to","value"],additionalProperties:!1}},labelDisplay:{description:"Specify whether to display the labels as numbers, percentages, or off. The label center aligns to the value.",default:"number",type:"string",pattern:q(["number","percentage","off"])},majorTickInterval:{description:"Specify, in pixels, the spacing between major tick marks.",default:"auto",type:["string","number"]},orientation:{description:"Specify the axis orientation of the gauge.",default:"vertical",type:"string",pattern:q(["horizontal","vertical"])},value:{description:"Specify the dataSource applied to the value of the marker gauge.",type:"string",default:'> primary | seriesByType("number") | lastPoint()'},valueDisplay:{description:"Specify whether to display the value as a number, percentage, or off.",default:"number",type:"string",pattern:q(["number","percentage","off"])}}),le=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color used for the background. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},lineColor:{default:_.VIZ_CATEGORICAL[0],description:"Specify the dataSource color for the lines. The hex value format should be #FFFFFF.",pattern:W,type:"string"},lineOpacity:{default:.5,description:'Specify the opacity of the lines. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.50" in source or "50%" in UI.',type:"number"},showNullAxis:{default:!0,description:"Select whether you would like to show or hide the null value axis.",type:"boolean"}}),se=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},collapseExcludeZero:{default:!1,description:"Specify whether to exclude zeros and non-numeric values in the consolidated slice.",type:"boolean"},collapseLabel:{description:"Specify the label for the consolidated slice.",type:"string",default:"other"},collapseThreshold:{description:"Specify the size threshold as a number between 0 and 1 (inclusive), of the whole pie at which slices collapse into one consolidated slice.",type:"number",default:.01},label:{description:"List of string values to display the pie chart labels.",type:"array",items:{type:"string"},default:"> primary | seriesByIndex(0)"},labelField:{default:"> label | getField()",description:"Specify the field that corresponds to the labels.",type:"string"},labelDisplay:{description:"Specify whether to display the labels and/or slice percentages.",type:"string",pattern:q(["values","valuesAndPercentage","off"]),default:"values"},percentagePrecision:{description:"Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 10.",type:"number",minimum:1,maximum:16,default:0},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:'Specify the colors used for specific pie slice labels. For example: {"April": "#008000", "May": "#FFA500"}.',type:"object"},showDonutHole:{default:!1,description:"Specify whether the pie should be a donut.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable.",type:"string"},value:{description:"List of numerical values to power the pie chart.",type:"array",items:{type:"number"},default:"> primary | seriesByIndex(1)"},valueField:{default:"> value | getField()",description:"Specify the field that corresponds to the data powering values.",type:"string"}}),ue=V({x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | seriesByIndex(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},category:{default:"> primary | seriesByIndex(3)",description:"Specify the dataSource to apply series categories.",type:"array",items:{type:["string","number"]}},size:{default:"> primary | seriesByIndex(2)",description:"Specify the dataSource to apply bubble size in the chart.",type:"array",items:{type:"number"}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the series categories.",type:"string"},sizeField:{default:"> size | getField()",description:"Specify the field that should be mapped to the bubble size in the chart.",type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},bubbleColor:{default:"> size | gradient(bubbleColorConfig)",description:'Specify the coloring method used for the bubbles when the colorMode “dynamic” is specified. For example “> size | gradient(bubbleColorConfig)".',type:["string","array"]},bubbleLabelDisplay:{default:"all",description:"Specify whether all bubble labels, the max value bubble labels, or none of the bubble labels should be displayed.",pattern:q(["all","max","off"]),type:"string"},bubbleRadiusMax:{default:15,description:"Specify the max radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.",type:"number"},bubbleRadiusMin:{default:1,description:"Specify the min radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.",type:"number"},bubbleRowScale:{default:"global",description:"Specify how bubbles are scaled relative to other rows.",pattern:q(["global","row"]),type:"string"},bubbleSizeMax:{default:1,description:"Specify the max percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.",type:"number"},bubbleSizeMin:{default:.25,description:"Specify the min percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.",type:"number"},bubbleSizeMethod:{default:"area",description:"Specify whether bubble area or diameter corresponds to the size value.",pattern:q(["radius","area"]),type:"string"},colorMode:{default:"dynamic",description:"Specify the coloring method used for the bubbles.",pattern:q(["categorical","dynamic"]),type:"string"},legendDisplay:{default:"right",description:"Specify the location of the legend on the panel.",pattern:q(["right","off"]),type:"string"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors used for a series. For example, "#FF0000", "#0000FF", "#008000".',type:"array",items:{type:"string"}},showDefaultSort:{default:!1,description:"Specify whether axes should be sorted based on order of time, digits and strings.",type:"boolean"},showDynamicBubbleSize:{default:!0,description:"Specify whether the bubble size should be dynamic or fixed.",type:"boolean"},showMaxValuePulsation:{default:!0,description:"Specify whether the max value bubble should pulsate.",type:"boolean"}}),ce=V({fillColor:{default:"> themes.defaultFillColor",description:'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#C3CBD4". The default for enterprise dark mode is "#31373E". The default for prisma dark mode is "#0B0C0E".',type:"string"},fillOpacity:{description:'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',type:"number",default:1},rx:{description:"Specify the curvature of the horizontal corner (or border) radius with an integer or a percent greater than or equal to zero.",type:"number",default:0},ry:{description:"Specify the curvature of the vertical corner (or border) radius with an integer or a percent greater than or equal to zero.",type:"number",default:"> rx"},strokeColor:{default:"> themes.defaultStrokeColor",description:'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#3C444D". The default for enterprise dark mode is "#C3CBD4". The default for prisma dark mode is "#ACACAD".',type:"string"},strokeDashStyle:{description:"Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.",type:"number",default:0},strokeJoinStyle:{description:"Specifies the shape to be used at the corners of paths when they are joined.",type:"string",default:"miter",pattern:q(["arcs","bevel","miter","miter-clip","round"])},strokeOpacity:{description:'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',type:"number",default:1},strokeWidth:{description:"Specify the width of the stroke, in pixels. The minimum value is 0.",type:"number",default:1}}),de=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},colorMode:{default:"categorical",description:'Specify the coloring method used for the links. When set to "categorical" the nodes and links will be colored based on the "seriesColors". When set to "dynamic" the links will be colored based on the dynamic string assigned to "linkColors".',pattern:q(["categorical","dynamic"]),type:"string"},labelDisplay:{default:"off",description:"Specify whether to display the values and/or percentages of the nodes. Values are abbreviated to two decimal points, and a magnitude unit will be displayed. Percentages are calculated using the maximum node value as 100%. For very small nodes (with height < 24px) the values/percentage display is automatically turned off. ",pattern:q(["values","valuesAndPercentage","percentage","off"]),type:"string"},linkColors:{default:"> linkValues | rangeValue(linkColorRangeConfig)",description:"Specify the coloring method used for the links when the colorMode “dynamic” is specified.",type:"array",items:{type:"string",pattern:W}},linkOpacity:{default:.5,description:"Specify the opacity of the links. Choose a number in the range of 0 - 1 (inclusive).",type:"number"},linkValues:{default:"> primary | seriesByType('number')",description:"Specify the dataSource to apply link width.",type:"string"},resultLimit:{default:1e3,description:"Specify the maximum length of link data points rendered.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},unit:{description:'Specify text to show on the left of the value in the node label when "labelDisplay" is set to either "values" or "valuesAndPercentage"',type:"string"}}),fe=V({x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | seriesByIndex(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},category:{description:"Specify a sequence of dataSource events to be plotted on the chart.",type:"array",items:{type:["string","number"]},default:"> primary | seriesByIndex(2)"},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the series categories.",type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",pattern:q(["right","left","top","bottom","off"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},markerSize:{description:"Specify, in pixels, the size of each scatter marker.",type:"number",default:4},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},seriesColorsByField:{description:'Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}.',type:"object"},showXAxisExtendedRange:{default:!0,description:"Specify whether the x-axis should be extended to snap to whole major tick marks.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether the y-axis should be extended to snap to whole major tick marks.",type:"boolean"},showXAxisWithZero:{default:!1,description:"Specify whether the x-axis range includes zero.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether the y-axis range includes zero.",type:"boolean"},showRoundedXAxisLabels:{default:!1,description:"Specify whether to round x-axis values to the nearest integer.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether major grid lines are visible on the y-axis.",type:"boolean"},showXMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the x-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the y-axis.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `stats` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{default:0,description:"Specify the rotation of the x-axis labels in degrees.",type:"number",enum:[-90,-45,0,45,90]},xAxisAbbreviation:{default:"off",description:"Specify whether to abbreviate large x-axis values with the closest SI prefix.",enum:["off","auto"],pattern:q(["auto","off"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest SI prefix.",enum:["off","auto"],pattern:q(["auto","off"]),type:"string"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the x-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the y-axis line.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},xAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis.",type:["string","number"]},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis.",type:["string","number"]},xAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y-axis.",type:"number"},xAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the x-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the x-axis.",pattern:q(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the x-axis .",pattern:q(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y-axis.",pattern:q(["auto","show","hide"]),type:"string"},xAxisMax:{default:"auto",description:"Specify the maximum number for the range of the visible x-axis.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the maximum number for the range of the visible y-axis.",type:["string","number"]},xAxisMin:{default:"auto",description:"Specify the minimum number for the range of the visible x-axis.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the minimum number for the range of the visible y-axis.",type:["string","number"]},xAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical x-axis.",pattern:q(["linear","log"]),type:"string"},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:q(["linear","log"]),type:"string"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the x-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the y-axis.",enum:["hide","show"],pattern:q(["show","hide"]),type:"string"}}),pe=V({align:{default:"center",description:"Specify how to align the center content.",pattern:q(["left","center","right"]),type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},majorColor:{default:"> themes.defaultFontColor",description:'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},majorFontSize:{description:"Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.",type:"number"},majorValue:{default:"> sparklineValues|lastPoint()",description:"The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified.",type:["string","number"]},majorValueDisplay:{default:"> majorValue",description:"The formatted version of majorValue displayed in the visualization.",type:["string","number"]},majorValueField:{default:"> majorValue | getField()",description:"The field name of major value.",type:"string"},numberPrecision:{default:0,maximum:20,minimum:0,description:"Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.",type:"number"},shouldAbbreviateTrendValue:{default:!1,description:"Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldAbbreviateMajorValue:{default:!1,description:"Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldSparklineAcceptNullData:{default:!0,description:"Specify whether to convert null and non-numeric values in the sparkline to 0.",type:"boolean"},shouldUseThousandSeparators:{default:!0,description:"Specify whether numeric values use commas as thousandths separators.",type:"boolean"},showSparklineAreaGraph:{default:!1,description:"Specify whether to show the sparkline as an area graph rather than a line.",type:"boolean"},showSparklineTooltip:{default:!1,description:"Show a tooltip to display values on the sparkline.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},sparklineAreaColor:{default:"> sparklineStrokeColor",description:"Specify the color for the sparkline area fill. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The graph area will have an opacity of 20% and will blend with the background color.",pattern:W,type:"string"},sparklineDisplay:{default:"below",description:"Specify how to display a sparkline.",pattern:q(["before","after","below","off"]),type:"string"},sparklineHighlightDots:{default:0,description:"Specify the number of markers, or dots, to display at the top of a sparkline area graph.",type:"number"},sparklineHighlightSegments:{default:0,description:"Specify the number of segments to be highlighted at the top of a sparkline area graph.",type:"number"},sparklineStrokeColor:{default:"> themes.defaultSparklineStrokeColor",description:'Specify the color for the sparkline stroke. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},sparklineValues:{default:'> primary|seriesByPrioritizedTypes("number", "string", "time")',description:"List of numerical values to display on a sparkline. If the values are string type, the sparkline will not be shown.",type:"array",items:{type:["string","number"]}},trendColor:{default:"> themes.defaultFontColor",description:'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},trendDisplay:{default:"absolute",description:"Specify how to display the trend value.",pattern:q(["percent","absolute","off"]),type:"string"},trendFontSize:{description:"Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.",type:"number"},trendValue:{default:"> sparklineValues|delta(-2)",description:"The trend value to display in the visualization.",type:"number"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1},trellisMinColumnWidth:{default:100,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:70,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},underLabel:{description:"Specify the text that appears below the major value.",type:"string"},underLabelFontSize:{default:12,description:"Specify the font size (px) for the under label text.",type:"number"},unit:{description:"Specify text to show next to the major value.",type:"string"},unitPosition:{default:"after",description:"Specify whether the unit text should appear before or after the major value.",pattern:q(["before","after"]),type:"string"}}),me=V({align:{default:"center",description:"Specify how to align the center content.",pattern:q(["left","center","right"]),type:"string"},backgroundColor:{default:"transparent",description:"Specify the color for the background. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”.",pattern:W,type:"string"},icon:{default:"default",description:"Specify an icon.",type:"string"},iconColor:{default:null,description:'Specify the color for the icon. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},iconOpacity:{default:1,description:"Specify the opacity for the icon using a number between 0 and 1 (inclusive).",type:"number"},iconPosition:{default:"before",description:"Specify where to display the icon in relation to the major value.",type:"string"},majorColor:{default:"> themes.defaultFontColor",description:'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},majorFontSize:{description:"Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.",type:"number"},majorValue:{default:'> primary|seriesByPrioritizedTypes("number", "string", "time")|lastPoint()',description:"The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified.",type:["string","number"]},majorValueDisplay:{default:"> majorValue",description:"The formatted version of majorValue displayed in the visualization.",type:["string","number"]},majorValueField:{default:"> majorValue | getField()",description:"The field name of major value.",type:"string"},numberPrecision:{default:0,maximum:20,minimum:0,description:"Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.",type:"number"},shouldAbbreviateTrendValue:{default:!1,description:"Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldAbbreviateMajorValue:{default:!1,description:"Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldUseThousandSeparators:{default:!0,description:"Specify whether numeric values use commas as thousandths separators.",type:"boolean"},showValue:{default:!0,description:"Specify whether to enable or disable the value and trend indicator displays.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},trendColor:{default:"> themes.defaultFontColor",description:'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},trendDisplay:{default:"absolute",description:"Specify whether the trend value is displayed as a percentage or an absolute count.",pattern:q(["off","percent","absolute"]),type:"string"},trendFontSize:{description:"Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.",type:"number"},trendValue:{default:'> primary|seriesByPrioritizedTypes("number", "string", "time")|delta(-2)',description:"The trend value to display in the visualization.",type:"number"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1},trellisMinColumnWidth:{default:100,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:70,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},underLabel:{description:"Specify the text that appears below the major value.",type:"string"},unit:{description:"Specify text to show next to the major value.",type:"string"},unitPosition:{default:"after",description:"Specify whether the unit text should appear before or after the major value.",pattern:q(["before","after"]),type:"string"}}),he=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. The hex value format should be “#ffffff”. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},gaugeRanges:{default:"> majorColorEditorConfig",description:'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#D41F1F"}, {"from": 50, "value": "#F4DF7A"}]. Must be unbounded, open ranges. Ranges are bound by a separate minValue/maxValue option. Only configured if isGaugeOn is true.',type:"array",items:{type:"object",properties:{from:{type:"number"},to:{type:"number"},value:{type:"string",pattern:W}}}},isGaugeOn:{default:!1,description:"Specify if gauge is on.",type:"boolean"},majorColor:{default:"> themes.defaultFontColor",description:'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},majorValue:{default:'> primary | seriesByPrioritizedTypes("number", "string", "time") | lastPoint()',description:"The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified.",type:["string","number"]},majorValueDisplay:{default:"> majorValue",description:"The formatted version of majorValue displayed in the visualization.",type:["string","number"]},majorValueField:{default:"> majorValue | getField()",description:"Specify the field that should be mapped to the major value.",type:"string"},minValue:{default:0,description:"Specify the min value of the radial.",type:"number"},maxValue:{default:100,description:"Specify the value the radial fills up to.",type:"number"},numberPrecision:{default:0,maximum:20,minimum:0,description:"Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.",type:"number"},radialBackgroundColor:{default:"> themes.defaultRadialBackgroundColor",description:'Specify the color for the radial background. The hex value format should be “#ffffff”. The default for enterprise light is "rgba(0, 0, 0, 0.1)". The default for enterprise dark is "rgba(255, 255, 255, 0.15)". The default for prisma dark is "rgba(255, 255, 255, 0.15)".',pattern:W,type:"string"},radialStrokeColor:{default:"> majorColor",description:'Specify the color for the radial. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},shouldAbbreviateTrendValue:{default:!1,description:"Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldAbbreviateMajorValue:{default:!1,description:"Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldUseThousandSeparators:{default:!0,description:"Specify whether numeric values use commas as thousandths separators.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:q(["off","trellis"]),enum:["off","trellis"]},trendColor:{default:"> themes.defaultFontColor",description:'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',pattern:W,type:"string"},trendDisplay:{default:"absolute",description:"Specify how to display the trend value.",pattern:q(["percent","absolute","off"]),type:"string"},trendValue:{default:'> primary | seriesByPrioritizedTypes("number", "string", "time") | delta(-2)',description:"Specify the dataSource applied to the trend value.",type:"number"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:W,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1},trellisMinColumnWidth:{default:120,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:100,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},underLabel:{description:"Specify the text that appears below the major value.",type:"string"},unit:{description:"Specify text to show next to the major value.",type:"string"},unitPosition:{default:"after",description:"Specify whether the unit text should appear before or after the major value.",pattern:q(["before","after"]),type:"string"}}),ye=V({backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".',pattern:W,type:"string"},columnFormat:{description:"Lets you format an individual column in a table. Specify a column in a table as a field, followed by a property. For more information, see the Column Format Align - Left example on the Examples page.",type:"object",patternProperties:{".*":{description:"Customization for column property",type:"object",properties:{align:{description:'Specify the alignment for the whole column. Valid alignments include "left", "center", and "right". You can also pass an array to specify the alignment of each cell. When set to "auto", the column will use the same configuration as tableFormat.align.',type:["string","array"],items:{type:"string",enum:O.concat()},default:"auto"},cellTypes:{description:'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',type:"array",items:{type:"string",enum:C.concat()}},data:{description:"Specify data points to be displayed in the cells of a column.",type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"array",items:{type:["string","number"]}}]}},footer:{description:'DSL expression to format footer values for this column. Example: "> footer | seriesByName(\\"FieldName\\") | formatByType(unitConfig)". The footer DataFrame contains a 1D series with [total, percentage] for each column.',type:"string"},headerAlign:{description:'Specify the header alignment for the whole column. Valid alignments include "left", "center", and "right". When set to "auto", the column will use the same configuration as tableFormat.headerAlign',type:"string",default:"auto",pattern:q(O)},rowBackgroundColors:{description:'Specify a list of colors, in hexadecimal code, for the background color of each column of the table. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"string",pattern:W}},rowColors:{description:'Specify a list of colors, in hexadecimal code, for the text color of the cells of a column. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"string",pattern:W}},sparklineAreaColors:{description:'Specify a list of colors, in hexadecimal code, for the sparkline area of each column. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"string",pattern:W}},sparklineColors:{description:'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each column. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"string",pattern:W}},sparklineTypes:{description:'Choose either area or line formatting for the Sparkline. Valid sparkline types include "line" and "area".',type:"array",items:{type:"string",enum:E.concat()}},textOverflow:{description:'Controls how the text should be truncated within a particular column. Valid types include "anywhere", "break-word", "ellipsis". Columns and Headers are "break-word" styled by default when "textOverflow" is not configured.',type:"string",pattern:q(T)},width:{description:"Specify, in pixels, the width of the column. The default displays a minimum width of at least 90, unless the table needs to filled further. The minimum width is 30px.",type:"number",minimum:30}}}}},count:{description:"Specify the maximum number of rows to display.",type:"number",default:10},font:{default:"proportional",description:"Specify the font style to use for table content.",type:"string",pattern:q(["proportional","monospace"])},fontSize:{default:"default",description:"Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px.",type:"string",pattern:q(D)},headers:{default:"> table | getField()",description:"Specify an array of headers to display on the table. Though these can be statically listed, it's best to use the dynamic default, as it will return the fields of your search.",type:"array",items:{type:"string"}},headerVisibility:{default:"inline",description:"Specify how to display the table header row.",pattern:q(A),enum:A.concat(),type:"string"},paginateDataSourceKey:{default:"primary",description:"Specify the data source key for pagination and sorting.",type:"string"},showFooterPercentages:{default:!1,description:"Specify whether to show a row at the bottom of the table that displays percentage values for applicable columns.",type:"boolean"},showFooterTotals:{default:!1,description:"Specify whether to show a row at the bottom of the table that displays total values for applicable columns.",type:"boolean"},showInternalFields:{default:!0,description:"Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false.",type:"boolean"},showRowNumbers:{default:!1,description:"Show row numbers in the first column.",type:"boolean"},table:{default:"> primary",description:"Two dimensional array of data to be displayed in the table.",type:"array",items:{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"array",items:{type:["string","number"]}}]}}},tableFormat:{description:"Lets you set global options for a table.",type:"object",properties:{align:{default:"> table | type() | matchValue(tableAlignByType)",description:'Specify alignment for the whole table. Valid alignments include "left", "center", and "right". You can also pass a 2 dimensional array to specify the alignment of each cell. By default, the table will be aligned by type.',type:["string","array"],items:{type:"array",items:{type:"string",enum:L.concat()}}},cellTypes:{default:"> table | type() | matchValue(tableCellTypeByType)",description:'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',type:"array",items:{type:"array",items:{type:"string",enum:C.concat()}}},data:{description:"Two dimensional data to be displayed in the table. This is usually formatted data instead of raw data from search.",type:"array",items:{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"array",items:{type:["string","number"]}}]}}},headerAlign:{description:'Specify the header alignment for the whole table. Valid alignments include "left", "center", and "right".',type:"string",default:"left",pattern:q(L)},headerBackgroundColor:{default:"> themes.defaultHeaderBackgroundColor",description:'Specify the table header background color using a hexadecimal code. For example, "#FFFFFF".',pattern:W,type:"string"},headerColor:{description:'Specify the table header text color using a hexadecimal code. For example, "#FFFFFF".',pattern:W,type:"string"},rowBackgroundColors:{default:"> table | seriesByIndex(0) | pick(tableAltRowBackgroundColorsByTheme)",description:'Specify a list of colors, in hexadecimal code, for the background color of each row of the table. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"array",items:{type:"string",pattern:W}}},rowColors:{description:'Specify a list of colors, in hexadecimal code, for the text color of each row of the table. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"array",items:{type:"string",pattern:W}}},sparklineAreaColors:{description:'Specify a list of colors, in hexadecimal code, for the sparkline area of each row of the table. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"array",items:{type:"string",pattern:W}}},sparklineColors:{description:'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each row of the table. For example, ["#2C333B", "32373D"].',type:"array",items:{type:"array",items:{type:"string",pattern:W}}},sparklineTypes:{description:"Choose either area or line formatting for the Sparkline.",type:"array",items:{type:"array",items:{type:"string",enum:E.concat()}}},textOverflow:{description:'Specify the text overflow for the whole table. Valid overflows include "break-word", "anywhere", and "ellipsis". Default for Column and Headers is "break-word".',type:"string",pattern:q(T)}}}}),be=V({x:{default:'> primary | seriesByType("time")',description:"Specify the data source applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:'> primary | seriesByPrioritizedTypes("string", "number")',description:"Specify the data source applied to the y-axis.",type:"array",items:{type:["string","number"]}},duration:{default:'> primary | seriesByPrioritizedTypes("number", "time")',description:"Specify the data source to apply duration to events. This will display events over a length of time as a bar rather than a circle.",type:"array",items:{type:["string","number"]}},category:{default:'> primary| seriesByName("category")',description:"Specify the data source to apply series categories. This will color events in distinct categories.",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},durationField:{default:"> duration | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:'Specify the color for the background. You may use a data source to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',pattern:W,type:"string"},dataColors:{description:'Specify the colors to use for events. You can use an array of colors to be picked from, or you can use a data source to apply dynamic coloring. For example, “> primary | seriesByName("count") | rangeValue(lowToHigh)”. By default, the dataColors option is not defined and seriesColors is used for categorical coloring.',type:["string","array"],items:{type:"string"}},legendDisplay:{default:"off",description:"Specify the location of the legend on the panel.",pattern:q(["right","bottom","off"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:q(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},resultLimit:{default:1e4,description:"Specify the maximum number of events to render on the timeline. Adjust the value to improve performance.",type:"number"},seriesColors:{default:_.VIZ_CATEGORICAL,description:'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',type:"array",items:{type:"string"}},yAxisLabelWidth:{default:100,description:"Specify the width, in pixels, for y-axis labels.",type:"number"}})},2970(e,t,n){var r=n(85914),a=n(13257);e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=a(n))==n?n:0),void 0!==t&&(t=(t=a(t))==t?t:0),r(a(e),t,n)}},3008(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(99420))},3103(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741);t.filter=function(e,t){return function(n){return n.lift(new o(e,t))}};var o=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new i(e,this.predicate,this.thisArg))},e}(),i=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.thisArg=r,this.count=0}return r(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(a.Subscriber)},3126(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>Y});const a=n(14041);var o=t.n(a);const i=n(36728);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(30762);var d=t.n(c);const f=n(10219),p=n(2841),m=n(41454),h=n(53057);var y=t.n(h);const b=n(25146);var g=t.n(b);const v=n(43594);var _=t.n(v);const M=n(18672);var w=(0,h.css)(["",";",";align-content:center;align-items:center;height:",";max-width:100%;padding:"," ",";column-gap:",";background-color:",";color:",";border-radius:",";",";",";"],M.mixins.reset("grid"),M.mixins.typography("body"),M.variables.inputHeight,M.variables.spacingXSmall,M.variables.spacingSmall,M.variables.spacingXSmall,(0,M.pickVariant)("$appearance",{default:M.variables.neutral200,outline:M.variables.transparent,info:M.variables.severityColorInfo,success:M.variables.severityColorNormal,warning:M.variables.severityColorNotice,error:M.variables.severityColorAlert,custom:function(e){return e.$backgroundColor}}),function(e){var t=e.$appearance;return e.$foregroundColor||("default"===t||"outline"===t?M.variables.contentColorActive:M.variables.contentColorInverted)},M.variables.borderRadius,function(e){return"outline"===e.$appearance&&(0,h.css)(["border:1px solid ",";"],M.variables.borderColorStrong)},function(e){var t=e.$appearance;return e.$disabled&&(0,h.css)(["background-color:",";color:",";",""],M.variables.neutral100,M.variables.contentColorDisabled,"outline"===t&&(0,h.css)(["background-color:",";border-color:",";"],M.variables.transparent,M.variables.borderColorWeak))}),S=y().div.withConfig({displayName:"ChipStyles__StyledNonInteractive",componentId:"sc-1sd3tsh-0"})([""," ",";"],w,(0,M.pickVariant)("$icon",{true:(0,h.css)(["grid-template-columns:[icon] min-content [label] auto;"]),false:(0,h.css)(["grid-template-columns:[label] auto;"])})),x=y().div.withConfig({displayName:"ChipStyles__StyledIcon",componentId:"sc-1sd3tsh-1"})(["display:grid;grid-column:icon;"]),k=y()(g()).withConfig({displayName:"ChipStyles__StyledRemoveIcon",componentId:"sc-1sd3tsh-2"})(["grid-column:remove;"]),C=y().div.withConfig({displayName:"ChipStyles__StyledLabel",componentId:"sc-1sd3tsh-3"})([""," grid-column:label;"],M.mixins.ellipsis()),E=y()(_()).withConfig({displayName:"ChipStyles__StyledClickable",componentId:"sc-1sd3tsh-4"})([""," cursor:pointer;",";",""],w,(0,M.pickVariant)("$icon",{true:(0,h.css)(["grid-template-columns:[icon] min-content [label] auto [remove] min-content;"]),false:(0,h.css)(["grid-template-columns:[label] auto [remove] min-content;"])}),function(e){return!e.$disabled&&(0,h.css)(["&:focus{box-shadow:",";}&:hover{background-color:",";}"],M.variables.focusShadow,(0,M.pickVariant)("$appearance",{outline:M.variables.neutral100,default:M.variables.neutral300,info:M.mixins.overlayColors(M.variables.severityColorInfo,M.variables.interactiveColorOverlayHover),success:M.mixins.overlayColors(M.variables.severityColorNormal,M.variables.interactiveColorOverlayHover),warning:M.mixins.overlayColors(M.variables.severityColorNotice,M.variables.interactiveColorOverlayHover),error:M.mixins.overlayColors(M.variables.severityColorAlert,M.variables.interactiveColorOverlayHover),custom:function(e){var t=e.$backgroundColor;return t&&M.mixins.overlayColors(t,M.variables.interactiveColorOverlayHover)}}))});function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=100?100:null])},week:{dow:1,doy:7}})}(n(99420))},3270(e){e.exports=function(){return!1}},3284(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(99420))},3315(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;tt in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},v=(e,t,n)=>(g(e,t,"default"),n&&g(n,t,"default")),_=(e,t,n)=>(n=null!=e?a(d(e)):{},g(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),M={};b(M,{Area:()=>A,Bar:()=>L,Bubble:()=>O,ChoroplethSvg:()=>T,Column:()=>D,EditIcon:()=>Y,Events:()=>z,FillerGauge:()=>le,Image:()=>F,Line:()=>I,LinkGraph:()=>be,Map:()=>ge,MarkerGauge:()=>re,ParallelCoordinates:()=>he,Pie:()=>Q,PresetIcons:()=>G,Punchcard:()=>se,RemoveIcon:()=>ue,ReverseRangeValuesIcon:()=>ce,Sankey:()=>ye,Scatter:()=>de,SingleValue:()=>pe,SingleValueRadial:()=>fe,Table:()=>me}),e.exports=(r=M,g(o({},"__esModule",{value:!0}),r));var w={};b(w,{default:()=>x});var S=_(n(14041));v(w,n(14041));var x="default"in S?S.default:S,k={};b(k,{default:()=>E});var C=_(n(51019));v(k,n(51019));var E="default"in C?C.default:C,A=e=>w.createElement(E,h({viewBox:"0 0 18 14"},e),w.createElement("path",{d:"M17.3337 1.4905C17.3337 0.40624 16.0477 -0.163839 15.2443 0.564266L10.7797 4.61035L7.36815 0.787101L0.666992 7.48826V13.6668H17.3337V1.4905Z",fill:"currentColor"})),L=e=>w.createElement(E,h({viewBox:"0 0 16 18"},e),w.createElement("path",{d:"M0.5 16.5C0.5 16.9602 0.873096 17.3333 1.33333 17.3333C1.79357 17.3333 2.16667 16.9602 2.16667 16.5V1.49996C2.16667 1.03972 1.79357 0.666626 1.33333 0.666626C0.873096 0.666626 0.5 1.03972 0.5 1.49996V16.5Z",fill:"currentColor"}),w.createElement("path",{d:"M10.0833 3.16663C10.7737 3.16663 11.3333 3.72627 11.3333 4.41663V6.91663C11.3333 7.60698 10.7737 8.16663 10.0833 8.16663H3.83333V3.16663H10.0833Z",fill:"currentColor"}),w.createElement("path",{d:"M14.25 9.83329C14.9404 9.83329 15.5 10.3929 15.5 11.0833V13.5833C15.5 14.2736 14.9404 14.8333 14.25 14.8333H3.83333V9.83329H14.25Z",fill:"currentColor"})),O=e=>w.createElement(E,h({viewBox:"0 0 16 16"},e),w.createElement("path",{d:"M2.58333 4.66667C1.43274 4.66667 0.5 3.73393 0.5 2.58333C0.5 1.43274 1.43274 0.5 2.58333 0.5C3.73393 0.5 4.66667 1.43274 4.66667 2.58333C4.66667 3.73393 3.73393 4.66667 2.58333 4.66667Z",fill:"currentColor"}),w.createElement("path",{d:"M11.3333 3.83333C11.3333 4.98393 12.2661 5.91667 13.4167 5.91667C14.5673 5.91667 15.5 4.98393 15.5 3.83333C15.5 2.68274 14.5673 1.75 13.4167 1.75C12.2661 1.75 11.3333 2.68274 11.3333 3.83333Z",fill:"currentColor"}),w.createElement("path",{d:"M3.83333 7.16667C3.83333 9.00762 5.32572 10.5 7.16667 10.5C9.00762 10.5 10.5 9.00762 10.5 7.16667C10.5 5.32572 9.00762 3.83333 7.16667 3.83333C5.32572 3.83333 3.83333 5.32572 3.83333 7.16667Z",fill:"currentColor"}),w.createElement("path",{d:"M3 15.5C1.61929 15.5 0.5 14.3807 0.5 13C0.5 11.6193 1.61929 10.5 3 10.5C4.38071 10.5 5.5 11.6193 5.5 13C5.5 14.3807 4.38071 15.5 3 15.5Z",fill:"currentColor"}),w.createElement("path",{d:"M9.66667 11.3333C9.66667 12.714 10.786 13.8333 12.1667 13.8333C13.5474 13.8333 14.6667 12.714 14.6667 11.3333C14.6667 9.95262 13.5474 8.83333 12.1667 8.83333C10.786 8.83333 9.66667 9.95262 9.66667 11.3333Z",fill:"currentColor"})),T=e=>w.createElement(E,y(h({viewBox:"0 0 16 16"},e),{style:y(h({},e.style),{overflow:"hidden"})}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 1.75C0.5 1.05964 1.05964 0.5 1.75 0.5H14.25C14.9404 0.5 15.5 1.05964 15.5 1.75V14.25C15.5 14.9404 14.9404 15.5 14.25 15.5H2.59171L2.58802 15.5022L2.58676 15.5H1.75C1.05964 15.5 0.5 14.9404 0.5 14.25V1.75ZM13.8333 2.16667V2.17568L7.9999 5.47201V10.3975L2.16667 13.8172V2.16667H13.8333Z",fill:"currentColor"})),D=e=>w.createElement(E,h({viewBox:"0 0 18 16"},e),w.createElement("path",{d:"M9.83366 1.75C9.83366 1.05964 10.3933 0.5 11.0837 0.5H13.5837C14.274 0.5 14.8337 1.05964 14.8337 1.75V12.1667H9.83366V1.75Z",fill:"currentColor"}),w.createElement("path",{d:"M3.16699 5.91667C3.16699 5.22631 3.72664 4.66667 4.41699 4.66667H6.91699C7.60735 4.66667 8.16699 5.22631 8.16699 5.91667V12.1667H3.16699V5.91667Z",fill:"currentColor"}),w.createElement("path",{d:"M1.50033 13.8333C1.04009 13.8333 0.666992 14.2064 0.666992 14.6667C0.666992 15.1269 1.04009 15.5 1.50033 15.5H16.5003C16.9606 15.5 17.3337 15.1269 17.3337 14.6667C17.3337 14.2064 16.9606 13.8333 16.5003 13.8333H1.50033Z",fill:"currentColor"})),z=e=>w.createElement(E,h({viewBox:"0 0 24 24"},e),w.createElement("path",{d:"M5.79289 7.79289C6.18342 7.40237 6.81658 7.40237 7.20711 7.79289L8.6364 9.22218C9.06598 9.65176 9.06597 10.3482 8.6364 10.7778L7.20711 12.2071C6.81658 12.5976 6.18342 12.5976 5.79289 12.2071C5.40237 11.8166 5.40237 11.1834 5.79289 10.7929L6.58579 10L5.79289 9.20711C5.40237 8.81658 5.40237 8.18342 5.79289 7.79289Z",fill:"currentColor"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5C1 4.67157 1.67157 4 2.5 4H21.5C22.3284 4 23 4.67157 23 5.5V18.5C23 19.3284 22.3284 20 21.5 20H2.5C1.67157 20 1 19.3284 1 18.5V5.5ZM3 16V18H11V16H3ZM3 14H11V6H3V14ZM13 6V14H21V6H13ZM21 16H13V18H21V16Z",fill:"currentColor"})),j={};b(j,{default:()=>B});var P=_(n(41454));v(j,n(41454));var B="default"in P?P.default:P,Y=e=>w.createElement(E,h({screenReaderText:(0,j._)("Edit"),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.52181 2.86485C10.5206 1.86451 12.1417 1.86474 13.1403 2.86538C14.1373 3.86453 14.1359 5.4827 13.137 6.48004L12.6242 6.99211L11.6821 6.04859L11.6822 6.0485L9.22506 3.58847L9.01185 3.37559L9.01214 3.3753L9.012 3.37516L9.01241 3.37503L9.52181 2.86485ZM2.2961 10.0997L8.07613 4.31412L9.01939 5.25648L9.01604 5.25983L11.6867 7.92415L11.6842 7.92503L11.6863 7.92713L5.9022 13.7058C5.71469 13.8931 5.46048 13.9983 5.19543 13.9983H3.00354C2.45126 13.9983 2.00354 13.5506 2.00354 12.9983V10.8064C2.00354 10.5414 2.10877 10.2872 2.2961 10.0997Z",fill:"#818D99"})),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"16",height:"16",fill:"white"})))),N={stroke:"currentColor",strokeWidth:2,fill:"none"};function F(e){return x.createElement(E,h({viewBox:"0 0 32 32",screenReaderText:(0,j._)("Image")},e),x.createElement("rect",{x:"5",y:"5",width:"22",height:"22",style:N}),x.createElement("path",{d:"M12,14.6667 C13.4728,14.6667 14.6667,13.4728 14.6667,12 C14.6667,10.5272 13.4728,9.33333 12,9.33333 C10.5273,9.33333 9.33337,10.5272 9.33337,12 C9.33337,13.4728 10.5273,14.6667 12,14.6667 Z",style:N}),x.createElement("polyline",{strokeLinejoin:"round",points:"4.66663 22.6666 9.33329 20 14 22.6666 20.6666 14.6667 26.6666 22.6666",style:N}))}var I=e=>w.createElement(E,h({viewBox:"0 0 16 14"},e),w.createElement("path",{d:"M2.16667 1.16671C2.16667 0.70647 1.79357 0.333374 1.33333 0.333374C0.873096 0.333374 0.5 0.70647 0.5 1.16671V12.4167C0.5 13.107 1.05964 13.6667 1.75 13.6667H14.6667C15.1269 13.6667 15.5 13.2936 15.5 12.8333C15.5 12.3731 15.1269 12 14.6667 12H2.16667V1.16671Z",fill:"currentColor"}),w.createElement("path",{d:"M15.2559 3.42263C15.5814 3.09719 15.5814 2.56956 15.2559 2.24412C14.9305 1.91868 14.4029 1.91868 14.0774 2.24412L10.5 5.82153L8.88388 4.20541C8.39573 3.71726 7.60427 3.71726 7.11612 4.20541L4.07741 7.24412C3.75197 7.56955 3.75197 8.09719 4.07741 8.42263C4.40285 8.74807 4.93049 8.74807 5.25592 8.42263L8 5.67855L9.61612 7.29467C10.1043 7.78282 10.8957 7.78282 11.3839 7.29467L15.2559 3.42263Z",fill:"currentColor"})),R={"singleValue.none":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M37.34 38.052C37.34 39.492 36.944 40.764 36.152 41.868C35.384 42.948 34.28 43.8 32.84 44.424C31.424 45.048 29.744 45.36 27.8 45.36C24.896 45.36 22.58 44.712 20.852 43.416C19.124 42.12 18.26 40.344 18.26 38.088C18.26 36.72 18.62 35.508 19.34 34.452C20.06 33.396 21.104 32.664 22.472 32.256C21.392 31.776 20.54 31.08 19.916 30.168C19.292 29.256 18.98 28.164 18.98 26.892C18.98 25.668 19.316 24.552 19.988 23.544C20.66 22.512 21.656 21.696 22.976 21.096C24.296 20.472 25.904 20.16 27.8 20.16C29.768 20.16 31.4 20.46 32.696 21.06C33.992 21.636 34.964 22.44 35.612 23.472C36.284 24.48 36.62 25.62 36.62 26.892C36.62 28.164 36.308 29.256 35.684 30.168C35.06 31.08 34.208 31.776 33.128 32.256C34.472 32.664 35.504 33.396 36.224 34.452C36.968 35.508 37.34 36.708 37.34 38.052ZM23.948 27.324C23.948 28.284 24.284 29.052 24.956 29.628C25.652 30.18 26.612 30.456 27.836 30.456C29.036 30.456 29.972 30.168 30.644 29.592C31.316 29.016 31.652 28.248 31.652 27.288C31.652 26.304 31.304 25.536 30.608 24.984C29.936 24.432 28.988 24.156 27.764 24.156C26.564 24.156 25.628 24.444 24.956 25.02C24.284 25.572 23.948 26.34 23.948 27.324ZM23.3 37.872C23.3 38.976 23.696 39.84 24.488 40.464C25.28 41.064 26.372 41.364 27.764 41.364C29.204 41.364 30.32 41.064 31.112 40.464C31.904 39.864 32.3 39 32.3 37.872C32.3 36.744 31.904 35.868 31.112 35.244C30.32 34.62 29.216 34.308 27.8 34.308C26.408 34.308 25.304 34.62 24.488 35.244C23.696 35.868 23.3 36.744 23.3 37.872ZM49.4579 45H44.4899V43.956C44.4899 42.156 44.5739 40.548 44.7419 39.132C44.9339 37.692 45.2339 36.336 45.6419 35.064C46.0499 33.768 46.6019 32.472 47.2979 31.176C47.9939 29.856 48.8579 28.428 49.8899 26.892L51.2939 24.84H39.6659V20.52H56.7659V24.876L54.3179 28.476C53.3819 29.844 52.6019 31.128 51.9779 32.328C51.3539 33.504 50.8499 34.68 50.4659 35.856C50.1059 37.032 49.8419 38.268 49.6739 39.564C49.5299 40.86 49.4579 42.324 49.4579 43.956V45Z",fill:"#C3CBD4"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3674 38.7752C60.1071 39.0355 59.685 39.0355 59.4246 38.7752C59.1643 38.5148 59.1643 38.0927 59.4246 37.8324L63.2928 33.9643C63.6833 33.5738 64.3164 33.5738 64.7069 33.9643L68.575 37.8324C68.8354 38.0927 68.8354 38.5148 68.575 38.7752C68.3147 39.0355 67.8926 39.0355 67.6323 38.7752L64.6663 35.8092V43.6668C64.6663 44.035 64.3679 44.3335 63.9997 44.3335C63.6315 44.3335 63.333 44.035 63.333 43.6668V35.8095L60.3674 38.7752Z",fill:"#C3CBD4"})),w.createElement("path",{d:"M72.912 45V43.976C72.912 43.144 73.0613 42.4507 73.36 41.896C73.6693 41.3413 74.0853 40.8667 74.608 40.472C75.1307 40.0667 75.7173 39.6987 76.368 39.368C77.008 39.0373 77.488 38.728 77.808 38.44C78.128 38.1413 78.288 37.7467 78.288 37.256C78.288 36.8613 78.16 36.536 77.904 36.28C77.6587 36.0133 77.296 35.88 76.816 35.88C76.3573 35.88 75.984 36.0133 75.696 36.28C75.408 36.536 75.232 36.8933 75.168 37.352H73.024C73.0453 36.9467 73.136 36.5467 73.296 36.152C73.456 35.7573 73.6907 35.3947 74 35.064C74.3093 34.7227 74.7093 34.456 75.2 34.264C75.6907 34.0613 76.272 33.96 76.944 33.96C78.064 33.96 78.9493 34.248 79.6 34.824C80.2613 35.4 80.592 36.1787 80.592 37.16C80.592 38.0347 80.3093 38.76 79.744 39.336C79.1787 39.9013 78.3893 40.44 77.376 40.952C76.8213 41.2293 76.3573 41.528 75.984 41.848C75.6213 42.168 75.3813 42.5787 75.264 43.08H80.624V45H72.912ZM82.2018 41.8H84.3458C84.4418 42.312 84.6551 42.6853 84.9858 42.92C85.3164 43.144 85.7431 43.256 86.2658 43.256C86.8418 43.256 87.2898 43.1333 87.6098 42.888C87.9404 42.6427 88.1058 42.28 88.1058 41.8C88.1058 41.3093 87.9351 40.936 87.5938 40.68C87.2631 40.4133 86.7938 40.28 86.1858 40.28H84.8418V38.584H86.2018C86.7351 38.584 87.1404 38.4613 87.4178 38.216C87.7058 37.96 87.8498 37.6187 87.8498 37.192C87.8498 36.7867 87.7058 36.4667 87.4178 36.232C87.1404 35.9867 86.7618 35.864 86.2818 35.864C85.2791 35.864 84.7031 36.3227 84.5538 37.24H82.4578C82.4791 36.7067 82.6284 36.1893 82.9058 35.688C83.1831 35.1867 83.6044 34.776 84.1698 34.456C84.7351 34.1253 85.4658 33.96 86.3618 33.96C87.1724 33.96 87.8551 34.0933 88.4098 34.36C88.9644 34.616 89.3858 34.9733 89.6737 35.432C89.9724 35.88 90.1218 36.3867 90.1218 36.952C90.1218 37.528 89.9778 38.0187 89.6898 38.424C89.4124 38.8293 89.0444 39.1387 88.5858 39.352C89.1724 39.5333 89.6258 39.8587 89.9458 40.328C90.2658 40.7867 90.4258 41.3253 90.4258 41.944C90.4258 42.584 90.2551 43.144 89.9138 43.624C89.5831 44.104 89.1084 44.4827 88.4898 44.76C87.8711 45.0267 87.1351 45.16 86.2818 45.16C85.4284 45.16 84.7031 45.016 84.1058 44.728C83.5084 44.4293 83.0498 44.024 82.7298 43.512C82.4098 43 82.2338 42.4293 82.2018 41.8Z",fill:"#C3CBD4"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(56 31)"})))),"singleValue.majorValue":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M37.34 38.052C37.34 39.492 36.944 40.764 36.152 41.868C35.384 42.948 34.28 43.8 32.84 44.424C31.424 45.048 29.744 45.36 27.8 45.36C24.896 45.36 22.58 44.712 20.852 43.416C19.124 42.12 18.26 40.344 18.26 38.088C18.26 36.72 18.62 35.508 19.34 34.452C20.06 33.396 21.104 32.664 22.472 32.256C21.392 31.776 20.54 31.08 19.916 30.168C19.292 29.256 18.98 28.164 18.98 26.892C18.98 25.668 19.316 24.552 19.988 23.544C20.66 22.512 21.656 21.696 22.976 21.096C24.296 20.472 25.904 20.16 27.8 20.16C29.768 20.16 31.4 20.46 32.696 21.06C33.992 21.636 34.964 22.44 35.612 23.472C36.284 24.48 36.62 25.62 36.62 26.892C36.62 28.164 36.308 29.256 35.684 30.168C35.06 31.08 34.208 31.776 33.128 32.256C34.472 32.664 35.504 33.396 36.224 34.452C36.968 35.508 37.34 36.708 37.34 38.052ZM23.948 27.324C23.948 28.284 24.284 29.052 24.956 29.628C25.652 30.18 26.612 30.456 27.836 30.456C29.036 30.456 29.972 30.168 30.644 29.592C31.316 29.016 31.652 28.248 31.652 27.288C31.652 26.304 31.304 25.536 30.608 24.984C29.936 24.432 28.988 24.156 27.764 24.156C26.564 24.156 25.628 24.444 24.956 25.02C24.284 25.572 23.948 26.34 23.948 27.324ZM23.3 37.872C23.3 38.976 23.696 39.84 24.488 40.464C25.28 41.064 26.372 41.364 27.764 41.364C29.204 41.364 30.32 41.064 31.112 40.464C31.904 39.864 32.3 39 32.3 37.872C32.3 36.744 31.904 35.868 31.112 35.244C30.32 34.62 29.216 34.308 27.8 34.308C26.408 34.308 25.304 34.62 24.488 35.244C23.696 35.868 23.3 36.744 23.3 37.872ZM49.4579 45H44.4899V43.956C44.4899 42.156 44.5739 40.548 44.7419 39.132C44.9339 37.692 45.2339 36.336 45.6419 35.064C46.0499 33.768 46.6019 32.472 47.2979 31.176C47.9939 29.856 48.8579 28.428 49.8899 26.892L51.2939 24.84H39.6659V20.52H56.7659V24.876L54.3179 28.476C53.3819 29.844 52.6019 31.128 51.9779 32.328C51.3539 33.504 50.8499 34.68 50.4659 35.856C50.1059 37.032 49.8419 38.268 49.6739 39.564C49.5299 40.86 49.4579 42.324 49.4579 43.956V45Z",fill:"#00A4FD"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3674 38.7752C60.1071 39.0355 59.685 39.0355 59.4246 38.7752C59.1643 38.5148 59.1643 38.0927 59.4246 37.8324L63.2928 33.9643C63.6833 33.5738 64.3164 33.5738 64.7069 33.9643L68.575 37.8324C68.8354 38.0927 68.8354 38.5148 68.575 38.7752C68.3147 39.0355 67.8926 39.0355 67.6323 38.7752L64.6663 35.8092V43.6668C64.6663 44.035 64.3679 44.3335 63.9997 44.3335C63.6315 44.3335 63.333 44.035 63.333 43.6668V35.8095L60.3674 38.7752Z",fill:"#C3CBD4"})),w.createElement("path",{d:"M72.912 45V43.976C72.912 43.144 73.0613 42.4507 73.36 41.896C73.6693 41.3413 74.0853 40.8667 74.608 40.472C75.1307 40.0667 75.7173 39.6987 76.368 39.368C77.008 39.0373 77.488 38.728 77.808 38.44C78.128 38.1413 78.288 37.7467 78.288 37.256C78.288 36.8613 78.16 36.536 77.904 36.28C77.6587 36.0133 77.296 35.88 76.816 35.88C76.3573 35.88 75.984 36.0133 75.696 36.28C75.408 36.536 75.232 36.8933 75.168 37.352H73.024C73.0453 36.9467 73.136 36.5467 73.296 36.152C73.456 35.7573 73.6907 35.3947 74 35.064C74.3093 34.7227 74.7093 34.456 75.2 34.264C75.6907 34.0613 76.272 33.96 76.944 33.96C78.064 33.96 78.9493 34.248 79.6 34.824C80.2613 35.4 80.592 36.1787 80.592 37.16C80.592 38.0347 80.3093 38.76 79.744 39.336C79.1787 39.9013 78.3893 40.44 77.376 40.952C76.8213 41.2293 76.3573 41.528 75.984 41.848C75.6213 42.168 75.3813 42.5787 75.264 43.08H80.624V45H72.912ZM82.2018 41.8H84.3458C84.4418 42.312 84.6551 42.6853 84.9858 42.92C85.3164 43.144 85.7431 43.256 86.2658 43.256C86.8418 43.256 87.2898 43.1333 87.6098 42.888C87.9404 42.6427 88.1058 42.28 88.1058 41.8C88.1058 41.3093 87.9351 40.936 87.5938 40.68C87.2631 40.4133 86.7938 40.28 86.1858 40.28H84.8418V38.584H86.2018C86.7351 38.584 87.1404 38.4613 87.4178 38.216C87.7058 37.96 87.8498 37.6187 87.8498 37.192C87.8498 36.7867 87.7058 36.4667 87.4178 36.232C87.1404 35.9867 86.7618 35.864 86.2818 35.864C85.2791 35.864 84.7031 36.3227 84.5538 37.24H82.4578C82.4791 36.7067 82.6284 36.1893 82.9058 35.688C83.1831 35.1867 83.6044 34.776 84.1698 34.456C84.7351 34.1253 85.4658 33.96 86.3618 33.96C87.1724 33.96 87.8551 34.0933 88.4098 34.36C88.9644 34.616 89.3858 34.9733 89.6737 35.432C89.9724 35.88 90.1218 36.3867 90.1218 36.952C90.1218 37.528 89.9778 38.0187 89.6898 38.424C89.4124 38.8293 89.0444 39.1387 88.5858 39.352C89.1724 39.5333 89.6258 39.8587 89.9458 40.328C90.2658 40.7867 90.4258 41.3253 90.4258 41.944C90.4258 42.584 90.2551 43.144 89.9138 43.624C89.5831 44.104 89.1084 44.4827 88.4898 44.76C87.8711 45.0267 87.1351 45.16 86.2818 45.16C85.4284 45.16 84.7031 45.016 84.1058 44.728C83.5084 44.4293 83.0498 44.024 82.7298 43.512C82.4098 43 82.2338 42.4293 82.2018 41.8Z",fill:"#C3CBD4"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(56 31)"})))),"singleValue.trend":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M37.34 38.052C37.34 39.492 36.944 40.764 36.152 41.868C35.384 42.948 34.28 43.8 32.84 44.424C31.424 45.048 29.744 45.36 27.8 45.36C24.896 45.36 22.58 44.712 20.852 43.416C19.124 42.12 18.26 40.344 18.26 38.088C18.26 36.72 18.62 35.508 19.34 34.452C20.06 33.396 21.104 32.664 22.472 32.256C21.392 31.776 20.54 31.08 19.916 30.168C19.292 29.256 18.98 28.164 18.98 26.892C18.98 25.668 19.316 24.552 19.988 23.544C20.66 22.512 21.656 21.696 22.976 21.096C24.296 20.472 25.904 20.16 27.8 20.16C29.768 20.16 31.4 20.46 32.696 21.06C33.992 21.636 34.964 22.44 35.612 23.472C36.284 24.48 36.62 25.62 36.62 26.892C36.62 28.164 36.308 29.256 35.684 30.168C35.06 31.08 34.208 31.776 33.128 32.256C34.472 32.664 35.504 33.396 36.224 34.452C36.968 35.508 37.34 36.708 37.34 38.052ZM23.948 27.324C23.948 28.284 24.284 29.052 24.956 29.628C25.652 30.18 26.612 30.456 27.836 30.456C29.036 30.456 29.972 30.168 30.644 29.592C31.316 29.016 31.652 28.248 31.652 27.288C31.652 26.304 31.304 25.536 30.608 24.984C29.936 24.432 28.988 24.156 27.764 24.156C26.564 24.156 25.628 24.444 24.956 25.02C24.284 25.572 23.948 26.34 23.948 27.324ZM23.3 37.872C23.3 38.976 23.696 39.84 24.488 40.464C25.28 41.064 26.372 41.364 27.764 41.364C29.204 41.364 30.32 41.064 31.112 40.464C31.904 39.864 32.3 39 32.3 37.872C32.3 36.744 31.904 35.868 31.112 35.244C30.32 34.62 29.216 34.308 27.8 34.308C26.408 34.308 25.304 34.62 24.488 35.244C23.696 35.868 23.3 36.744 23.3 37.872ZM49.4579 45H44.4899V43.956C44.4899 42.156 44.5739 40.548 44.7419 39.132C44.9339 37.692 45.2339 36.336 45.6419 35.064C46.0499 33.768 46.6019 32.472 47.2979 31.176C47.9939 29.856 48.8579 28.428 49.8899 26.892L51.2939 24.84H39.6659V20.52H56.7659V24.876L54.3179 28.476C53.3819 29.844 52.6019 31.128 51.9779 32.328C51.3539 33.504 50.8499 34.68 50.4659 35.856C50.1059 37.032 49.8419 38.268 49.6739 39.564C49.5299 40.86 49.4579 42.324 49.4579 43.956V45Z",fill:"#C3CBD4"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3674 38.7752C60.1071 39.0355 59.685 39.0355 59.4246 38.7752C59.1643 38.5148 59.1643 38.0927 59.4246 37.8324L63.2928 33.9643C63.6833 33.5738 64.3164 33.5738 64.7069 33.9643L68.575 37.8324C68.8354 38.0927 68.8354 38.5148 68.575 38.7752C68.3147 39.0355 67.8926 39.0355 67.6323 38.7752L64.6663 35.8092V43.6668C64.6663 44.035 64.3679 44.3335 63.9997 44.3335C63.6315 44.3335 63.333 44.035 63.333 43.6668V35.8095L60.3674 38.7752Z",fill:"#53A051"})),w.createElement("path",{d:"M72.912 45V43.976C72.912 43.144 73.0613 42.4507 73.36 41.896C73.6693 41.3413 74.0853 40.8667 74.608 40.472C75.1307 40.0667 75.7173 39.6987 76.368 39.368C77.008 39.0373 77.488 38.728 77.808 38.44C78.128 38.1413 78.288 37.7467 78.288 37.256C78.288 36.8613 78.16 36.536 77.904 36.28C77.6587 36.0133 77.296 35.88 76.816 35.88C76.3573 35.88 75.984 36.0133 75.696 36.28C75.408 36.536 75.232 36.8933 75.168 37.352H73.024C73.0453 36.9467 73.136 36.5467 73.296 36.152C73.456 35.7573 73.6907 35.3947 74 35.064C74.3093 34.7227 74.7093 34.456 75.2 34.264C75.6907 34.0613 76.272 33.96 76.944 33.96C78.064 33.96 78.9493 34.248 79.6 34.824C80.2613 35.4 80.592 36.1787 80.592 37.16C80.592 38.0347 80.3093 38.76 79.744 39.336C79.1787 39.9013 78.3893 40.44 77.376 40.952C76.8213 41.2293 76.3573 41.528 75.984 41.848C75.6213 42.168 75.3813 42.5787 75.264 43.08H80.624V45H72.912ZM82.2018 41.8H84.3458C84.4418 42.312 84.6551 42.6853 84.9858 42.92C85.3164 43.144 85.7431 43.256 86.2658 43.256C86.8418 43.256 87.2898 43.1333 87.6098 42.888C87.9404 42.6427 88.1058 42.28 88.1058 41.8C88.1058 41.3093 87.9351 40.936 87.5938 40.68C87.2631 40.4133 86.7938 40.28 86.1858 40.28H84.8418V38.584H86.2018C86.7351 38.584 87.1404 38.4613 87.4178 38.216C87.7058 37.96 87.8498 37.6187 87.8498 37.192C87.8498 36.7867 87.7058 36.4667 87.4178 36.232C87.1404 35.9867 86.7618 35.864 86.2818 35.864C85.2791 35.864 84.7031 36.3227 84.5538 37.24H82.4578C82.4791 36.7067 82.6284 36.1893 82.9058 35.688C83.1831 35.1867 83.6044 34.776 84.1698 34.456C84.7351 34.1253 85.4658 33.96 86.3618 33.96C87.1724 33.96 87.8551 34.0933 88.4098 34.36C88.9644 34.616 89.3858 34.9733 89.6737 35.432C89.9724 35.88 90.1218 36.3867 90.1218 36.952C90.1218 37.528 89.9778 38.0187 89.6898 38.424C89.4124 38.8293 89.0444 39.1387 88.5858 39.352C89.1724 39.5333 89.6258 39.8587 89.9458 40.328C90.2658 40.7867 90.4258 41.3253 90.4258 41.944C90.4258 42.584 90.2551 43.144 89.9138 43.624C89.5831 44.104 89.1084 44.4827 88.4898 44.76C87.8711 45.0267 87.1351 45.16 86.2818 45.16C85.4284 45.16 84.7031 45.016 84.1058 44.728C83.5084 44.4293 83.0498 44.024 82.7298 43.512C82.4098 43 82.2338 42.4293 82.2018 41.8Z",fill:"#53A051"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(56 31)"})))),"singleValue.majorValueAndTrend":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M37.34 38.052C37.34 39.492 36.944 40.764 36.152 41.868C35.384 42.948 34.28 43.8 32.84 44.424C31.424 45.048 29.744 45.36 27.8 45.36C24.896 45.36 22.58 44.712 20.852 43.416C19.124 42.12 18.26 40.344 18.26 38.088C18.26 36.72 18.62 35.508 19.34 34.452C20.06 33.396 21.104 32.664 22.472 32.256C21.392 31.776 20.54 31.08 19.916 30.168C19.292 29.256 18.98 28.164 18.98 26.892C18.98 25.668 19.316 24.552 19.988 23.544C20.66 22.512 21.656 21.696 22.976 21.096C24.296 20.472 25.904 20.16 27.8 20.16C29.768 20.16 31.4 20.46 32.696 21.06C33.992 21.636 34.964 22.44 35.612 23.472C36.284 24.48 36.62 25.62 36.62 26.892C36.62 28.164 36.308 29.256 35.684 30.168C35.06 31.08 34.208 31.776 33.128 32.256C34.472 32.664 35.504 33.396 36.224 34.452C36.968 35.508 37.34 36.708 37.34 38.052ZM23.948 27.324C23.948 28.284 24.284 29.052 24.956 29.628C25.652 30.18 26.612 30.456 27.836 30.456C29.036 30.456 29.972 30.168 30.644 29.592C31.316 29.016 31.652 28.248 31.652 27.288C31.652 26.304 31.304 25.536 30.608 24.984C29.936 24.432 28.988 24.156 27.764 24.156C26.564 24.156 25.628 24.444 24.956 25.02C24.284 25.572 23.948 26.34 23.948 27.324ZM23.3 37.872C23.3 38.976 23.696 39.84 24.488 40.464C25.28 41.064 26.372 41.364 27.764 41.364C29.204 41.364 30.32 41.064 31.112 40.464C31.904 39.864 32.3 39 32.3 37.872C32.3 36.744 31.904 35.868 31.112 35.244C30.32 34.62 29.216 34.308 27.8 34.308C26.408 34.308 25.304 34.62 24.488 35.244C23.696 35.868 23.3 36.744 23.3 37.872ZM49.4579 45H44.4899V43.956C44.4899 42.156 44.5739 40.548 44.7419 39.132C44.9339 37.692 45.2339 36.336 45.6419 35.064C46.0499 33.768 46.6019 32.472 47.2979 31.176C47.9939 29.856 48.8579 28.428 49.8899 26.892L51.2939 24.84H39.6659V20.52H56.7659V24.876L54.3179 28.476C53.3819 29.844 52.6019 31.128 51.9779 32.328C51.3539 33.504 50.8499 34.68 50.4659 35.856C50.1059 37.032 49.8419 38.268 49.6739 39.564C49.5299 40.86 49.4579 42.324 49.4579 43.956V45Z",fill:"#00A4FD"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3674 38.7752C60.1071 39.0355 59.685 39.0355 59.4246 38.7752C59.1643 38.5148 59.1643 38.0927 59.4246 37.8324L63.2928 33.9643C63.6833 33.5738 64.3164 33.5738 64.7069 33.9643L68.575 37.8324C68.8354 38.0927 68.8354 38.5148 68.575 38.7752C68.3147 39.0355 67.8926 39.0355 67.6323 38.7752L64.6663 35.8092V43.6668C64.6663 44.035 64.3679 44.3335 63.9997 44.3335C63.6315 44.3335 63.333 44.035 63.333 43.6668V35.8095L60.3674 38.7752Z",fill:"#53A051"})),w.createElement("path",{d:"M72.912 45V43.976C72.912 43.144 73.0613 42.4507 73.36 41.896C73.6693 41.3413 74.0853 40.8667 74.608 40.472C75.1307 40.0667 75.7173 39.6987 76.368 39.368C77.008 39.0373 77.488 38.728 77.808 38.44C78.128 38.1413 78.288 37.7467 78.288 37.256C78.288 36.8613 78.16 36.536 77.904 36.28C77.6587 36.0133 77.296 35.88 76.816 35.88C76.3573 35.88 75.984 36.0133 75.696 36.28C75.408 36.536 75.232 36.8933 75.168 37.352H73.024C73.0453 36.9467 73.136 36.5467 73.296 36.152C73.456 35.7573 73.6907 35.3947 74 35.064C74.3093 34.7227 74.7093 34.456 75.2 34.264C75.6907 34.0613 76.272 33.96 76.944 33.96C78.064 33.96 78.9493 34.248 79.6 34.824C80.2613 35.4 80.592 36.1787 80.592 37.16C80.592 38.0347 80.3093 38.76 79.744 39.336C79.1787 39.9013 78.3893 40.44 77.376 40.952C76.8213 41.2293 76.3573 41.528 75.984 41.848C75.6213 42.168 75.3813 42.5787 75.264 43.08H80.624V45H72.912ZM82.2018 41.8H84.3458C84.4418 42.312 84.6551 42.6853 84.9858 42.92C85.3164 43.144 85.7431 43.256 86.2658 43.256C86.8418 43.256 87.2898 43.1333 87.6098 42.888C87.9404 42.6427 88.1058 42.28 88.1058 41.8C88.1058 41.3093 87.9351 40.936 87.5938 40.68C87.2631 40.4133 86.7938 40.28 86.1858 40.28H84.8418V38.584H86.2018C86.7351 38.584 87.1404 38.4613 87.4178 38.216C87.7058 37.96 87.8498 37.6187 87.8498 37.192C87.8498 36.7867 87.7058 36.4667 87.4178 36.232C87.1404 35.9867 86.7618 35.864 86.2818 35.864C85.2791 35.864 84.7031 36.3227 84.5538 37.24H82.4578C82.4791 36.7067 82.6284 36.1893 82.9058 35.688C83.1831 35.1867 83.6044 34.776 84.1698 34.456C84.7351 34.1253 85.4658 33.96 86.3618 33.96C87.1724 33.96 87.8551 34.0933 88.4098 34.36C88.9644 34.616 89.3858 34.9733 89.6737 35.432C89.9724 35.88 90.1218 36.3867 90.1218 36.952C90.1218 37.528 89.9778 38.0187 89.6898 38.424C89.4124 38.8293 89.0444 39.1387 88.5858 39.352C89.1724 39.5333 89.6258 39.8587 89.9458 40.328C90.2658 40.7867 90.4258 41.3253 90.4258 41.944C90.4258 42.584 90.2551 43.144 89.9138 43.624C89.5831 44.104 89.1084 44.4827 88.4898 44.76C87.8711 45.0267 87.1351 45.16 86.2818 45.16C85.4284 45.16 84.7031 45.016 84.1058 44.728C83.5084 44.4293 83.0498 44.024 82.7298 43.512C82.4098 43 82.2338 42.4293 82.2018 41.8Z",fill:"#53A051"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(56 31)"})))),"singleValue.background":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#00A4FD"}),w.createElement("path",{d:"M37.34 38.052C37.34 39.492 36.944 40.764 36.152 41.868C35.384 42.948 34.28 43.8 32.84 44.424C31.424 45.048 29.744 45.36 27.8 45.36C24.896 45.36 22.58 44.712 20.852 43.416C19.124 42.12 18.26 40.344 18.26 38.088C18.26 36.72 18.62 35.508 19.34 34.452C20.06 33.396 21.104 32.664 22.472 32.256C21.392 31.776 20.54 31.08 19.916 30.168C19.292 29.256 18.98 28.164 18.98 26.892C18.98 25.668 19.316 24.552 19.988 23.544C20.66 22.512 21.656 21.696 22.976 21.096C24.296 20.472 25.904 20.16 27.8 20.16C29.768 20.16 31.4 20.46 32.696 21.06C33.992 21.636 34.964 22.44 35.612 23.472C36.284 24.48 36.62 25.62 36.62 26.892C36.62 28.164 36.308 29.256 35.684 30.168C35.06 31.08 34.208 31.776 33.128 32.256C34.472 32.664 35.504 33.396 36.224 34.452C36.968 35.508 37.34 36.708 37.34 38.052ZM23.948 27.324C23.948 28.284 24.284 29.052 24.956 29.628C25.652 30.18 26.612 30.456 27.836 30.456C29.036 30.456 29.972 30.168 30.644 29.592C31.316 29.016 31.652 28.248 31.652 27.288C31.652 26.304 31.304 25.536 30.608 24.984C29.936 24.432 28.988 24.156 27.764 24.156C26.564 24.156 25.628 24.444 24.956 25.02C24.284 25.572 23.948 26.34 23.948 27.324ZM23.3 37.872C23.3 38.976 23.696 39.84 24.488 40.464C25.28 41.064 26.372 41.364 27.764 41.364C29.204 41.364 30.32 41.064 31.112 40.464C31.904 39.864 32.3 39 32.3 37.872C32.3 36.744 31.904 35.868 31.112 35.244C30.32 34.62 29.216 34.308 27.8 34.308C26.408 34.308 25.304 34.62 24.488 35.244C23.696 35.868 23.3 36.744 23.3 37.872ZM49.4579 45H44.4899V43.956C44.4899 42.156 44.5739 40.548 44.7419 39.132C44.9339 37.692 45.2339 36.336 45.6419 35.064C46.0499 33.768 46.6019 32.472 47.2979 31.176C47.9939 29.856 48.8579 28.428 49.8899 26.892L51.2939 24.84H39.6659V20.52H56.7659V24.876L54.3179 28.476C53.3819 29.844 52.6019 31.128 51.9779 32.328C51.3539 33.504 50.8499 34.68 50.4659 35.856C50.1059 37.032 49.8419 38.268 49.6739 39.564C49.5299 40.86 49.4579 42.324 49.4579 43.956V45Z",fill:"white"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3674 38.7752C60.1071 39.0355 59.685 39.0355 59.4246 38.7752C59.1643 38.5148 59.1643 38.0927 59.4246 37.8324L63.2928 33.9643C63.6833 33.5738 64.3164 33.5738 64.7069 33.9643L68.575 37.8324C68.8354 38.0927 68.8354 38.5148 68.575 38.7752C68.3147 39.0355 67.8926 39.0355 67.6323 38.7752L64.6663 35.8092V43.6668C64.6663 44.035 64.3679 44.3335 63.9997 44.3335C63.6315 44.3335 63.333 44.035 63.333 43.6668V35.8095L60.3674 38.7752Z",fill:"white"})),w.createElement("path",{d:"M72.912 45V43.976C72.912 43.144 73.0613 42.4507 73.36 41.896C73.6693 41.3413 74.0853 40.8667 74.608 40.472C75.1307 40.0667 75.7173 39.6987 76.368 39.368C77.008 39.0373 77.488 38.728 77.808 38.44C78.128 38.1413 78.288 37.7467 78.288 37.256C78.288 36.8613 78.16 36.536 77.904 36.28C77.6587 36.0133 77.296 35.88 76.816 35.88C76.3573 35.88 75.984 36.0133 75.696 36.28C75.408 36.536 75.232 36.8933 75.168 37.352H73.024C73.0453 36.9467 73.136 36.5467 73.296 36.152C73.456 35.7573 73.6907 35.3947 74 35.064C74.3093 34.7227 74.7093 34.456 75.2 34.264C75.6907 34.0613 76.272 33.96 76.944 33.96C78.064 33.96 78.9493 34.248 79.6 34.824C80.2613 35.4 80.592 36.1787 80.592 37.16C80.592 38.0347 80.3093 38.76 79.744 39.336C79.1787 39.9013 78.3893 40.44 77.376 40.952C76.8213 41.2293 76.3573 41.528 75.984 41.848C75.6213 42.168 75.3813 42.5787 75.264 43.08H80.624V45H72.912ZM82.2018 41.8H84.3458C84.4418 42.312 84.6551 42.6853 84.9858 42.92C85.3164 43.144 85.7431 43.256 86.2658 43.256C86.8418 43.256 87.2898 43.1333 87.6098 42.888C87.9404 42.6427 88.1058 42.28 88.1058 41.8C88.1058 41.3093 87.9351 40.936 87.5938 40.68C87.2631 40.4133 86.7938 40.28 86.1858 40.28H84.8418V38.584H86.2018C86.7351 38.584 87.1404 38.4613 87.4178 38.216C87.7058 37.96 87.8498 37.6187 87.8498 37.192C87.8498 36.7867 87.7058 36.4667 87.4178 36.232C87.1404 35.9867 86.7618 35.864 86.2818 35.864C85.2791 35.864 84.7031 36.3227 84.5538 37.24H82.4578C82.4791 36.7067 82.6284 36.1893 82.9058 35.688C83.1831 35.1867 83.6044 34.776 84.1698 34.456C84.7351 34.1253 85.4658 33.96 86.3618 33.96C87.1724 33.96 87.8551 34.0933 88.4098 34.36C88.9644 34.616 89.3858 34.9733 89.6737 35.432C89.9724 35.88 90.1218 36.3867 90.1218 36.952C90.1218 37.528 89.9778 38.0187 89.6898 38.424C89.4124 38.8293 89.0444 39.1387 88.5858 39.352C89.1724 39.5333 89.6258 39.8587 89.9458 40.328C90.2658 40.7867 90.4258 41.3253 90.4258 41.944C90.4258 42.584 90.2551 43.144 89.9138 43.624C89.5831 44.104 89.1084 44.4827 88.4898 44.76C87.8711 45.0267 87.1351 45.16 86.2818 45.16C85.4284 45.16 84.7031 45.016 84.1058 44.728C83.5084 44.4293 83.0498 44.024 82.7298 43.512C82.4098 43 82.2338 42.4293 82.2018 41.8Z",fill:"white"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(56 31)"}))))},W={"singleValueIcon.none":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M43.34 38.052C43.34 39.492 42.944 40.764 42.152 41.868C41.384 42.948 40.28 43.8 38.84 44.424C37.424 45.048 35.744 45.36 33.8 45.36C30.896 45.36 28.58 44.712 26.852 43.416C25.124 42.12 24.26 40.344 24.26 38.088C24.26 36.72 24.62 35.508 25.34 34.452C26.06 33.396 27.104 32.664 28.472 32.256C27.392 31.776 26.54 31.08 25.916 30.168C25.292 29.256 24.98 28.164 24.98 26.892C24.98 25.668 25.316 24.552 25.988 23.544C26.66 22.512 27.656 21.696 28.976 21.096C30.296 20.472 31.904 20.16 33.8 20.16C35.768 20.16 37.4 20.46 38.696 21.06C39.992 21.636 40.964 22.44 41.612 23.472C42.284 24.48 42.62 25.62 42.62 26.892C42.62 28.164 42.308 29.256 41.684 30.168C41.06 31.08 40.208 31.776 39.128 32.256C40.472 32.664 41.504 33.396 42.224 34.452C42.968 35.508 43.34 36.708 43.34 38.052ZM29.948 27.324C29.948 28.284 30.284 29.052 30.956 29.628C31.652 30.18 32.612 30.456 33.836 30.456C35.036 30.456 35.972 30.168 36.644 29.592C37.316 29.016 37.652 28.248 37.652 27.288C37.652 26.304 37.304 25.536 36.608 24.984C35.936 24.432 34.988 24.156 33.764 24.156C32.564 24.156 31.628 24.444 30.956 25.02C30.284 25.572 29.948 26.34 29.948 27.324ZM29.3 37.872C29.3 38.976 29.696 39.84 30.488 40.464C31.28 41.064 32.372 41.364 33.764 41.364C35.204 41.364 36.32 41.064 37.112 40.464C37.904 39.864 38.3 39 38.3 37.872C38.3 36.744 37.904 35.868 37.112 35.244C36.32 34.62 35.216 34.308 33.8 34.308C32.408 34.308 31.304 34.62 30.488 35.244C29.696 35.868 29.3 36.744 29.3 37.872ZM55.4579 45H50.4899V43.956C50.4899 42.156 50.5739 40.548 50.7419 39.132C50.9339 37.692 51.2339 36.336 51.6419 35.064C52.0499 33.768 52.6019 32.472 53.2979 31.176C53.9939 29.856 54.8579 28.428 55.8899 26.892L57.2939 24.84H45.6659V20.52H62.7659V24.876L60.3179 28.476C59.3819 29.844 58.6019 31.128 57.9779 32.328C57.3539 33.504 56.8499 34.68 56.4659 35.856C56.1059 37.032 55.8419 38.268 55.6739 39.564C55.5299 40.86 55.4579 42.324 55.4579 43.956V45Z",fill:"#C3CBD4"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.3675 38.7752C66.1072 39.0355 65.6851 39.0355 65.4247 38.7752C65.1644 38.5148 65.1644 38.0927 65.4247 37.8324L69.2929 33.9643C69.6834 33.5738 70.3165 33.5738 70.707 33.9643L74.5752 37.8324C74.8355 38.0927 74.8355 38.5148 74.5752 38.7752C74.3148 39.0355 73.8927 39.0355 73.6324 38.7752L70.6664 35.8092V43.6668C70.6664 44.035 70.368 44.3335 69.9998 44.3335C69.6316 44.3335 69.3332 44.035 69.3332 43.6668V35.8095L66.3675 38.7752Z",fill:"#C3CBD4"})),w.createElement("path",{d:"M78.912 45V43.976C78.912 43.144 79.0613 42.4507 79.36 41.896C79.6693 41.3413 80.0853 40.8667 80.608 40.472C81.1307 40.0667 81.7173 39.6987 82.368 39.368C83.008 39.0373 83.488 38.728 83.808 38.44C84.128 38.1413 84.288 37.7467 84.288 37.256C84.288 36.8613 84.16 36.536 83.904 36.28C83.6587 36.0133 83.296 35.88 82.816 35.88C82.3573 35.88 81.984 36.0133 81.696 36.28C81.408 36.536 81.232 36.8933 81.168 37.352H79.024C79.0453 36.9467 79.136 36.5467 79.296 36.152C79.456 35.7573 79.6907 35.3947 80 35.064C80.3093 34.7227 80.7093 34.456 81.2 34.264C81.6907 34.0613 82.272 33.96 82.944 33.96C84.064 33.96 84.9493 34.248 85.6 34.824C86.2613 35.4 86.592 36.1787 86.592 37.16C86.592 38.0347 86.3093 38.76 85.744 39.336C85.1787 39.9013 84.3893 40.44 83.376 40.952C82.8213 41.2293 82.3573 41.528 81.984 41.848C81.6213 42.168 81.3813 42.5787 81.264 43.08H86.624V45H78.912ZM88.2018 41.8H90.3458C90.4418 42.312 90.6551 42.6853 90.9858 42.92C91.3164 43.144 91.7431 43.256 92.2658 43.256C92.8418 43.256 93.2898 43.1333 93.6098 42.888C93.9404 42.6427 94.1058 42.28 94.1058 41.8C94.1058 41.3093 93.9351 40.936 93.5938 40.68C93.2631 40.4133 92.7938 40.28 92.1858 40.28H90.8418V38.584H92.2018C92.7351 38.584 93.1404 38.4613 93.4178 38.216C93.7058 37.96 93.8498 37.6187 93.8498 37.192C93.8498 36.7867 93.7058 36.4667 93.4178 36.232C93.1404 35.9867 92.7618 35.864 92.2818 35.864C91.2791 35.864 90.7031 36.3227 90.5538 37.24H88.4578C88.4791 36.7067 88.6284 36.1893 88.9058 35.688C89.1831 35.1867 89.6044 34.776 90.1698 34.456C90.7351 34.1253 91.4658 33.96 92.3618 33.96C93.1724 33.96 93.8551 34.0933 94.4098 34.36C94.9644 34.616 95.3858 34.9733 95.6737 35.432C95.9724 35.88 96.1218 36.3867 96.1218 36.952C96.1218 37.528 95.9778 38.0187 95.6898 38.424C95.4124 38.8293 95.0444 39.1387 94.5858 39.352C95.1724 39.5333 95.6258 39.8587 95.9458 40.328C96.2658 40.7867 96.4258 41.3253 96.4258 41.944C96.4258 42.584 96.2551 43.144 95.9138 43.624C95.5831 44.104 95.1084 44.4827 94.4898 44.76C93.8711 45.0267 93.1351 45.16 92.2818 45.16C91.4284 45.16 90.7031 45.016 90.1058 44.728C89.5084 44.4293 89.0498 44.024 88.7298 43.512C88.4098 43 88.2338 42.4293 88.2018 41.8Z",fill:"#C3CBD4"}),w.createElement("rect",{x:"10",y:"28",width:"8",height:"8",rx:"3",fill:"#C3CBD4"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(62 31)"})))),"singleValueIcon.icon":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M43.34 38.052C43.34 39.492 42.944 40.764 42.152 41.868C41.384 42.948 40.28 43.8 38.84 44.424C37.424 45.048 35.744 45.36 33.8 45.36C30.896 45.36 28.58 44.712 26.852 43.416C25.124 42.12 24.26 40.344 24.26 38.088C24.26 36.72 24.62 35.508 25.34 34.452C26.06 33.396 27.104 32.664 28.472 32.256C27.392 31.776 26.54 31.08 25.916 30.168C25.292 29.256 24.98 28.164 24.98 26.892C24.98 25.668 25.316 24.552 25.988 23.544C26.66 22.512 27.656 21.696 28.976 21.096C30.296 20.472 31.904 20.16 33.8 20.16C35.768 20.16 37.4 20.46 38.696 21.06C39.992 21.636 40.964 22.44 41.612 23.472C42.284 24.48 42.62 25.62 42.62 26.892C42.62 28.164 42.308 29.256 41.684 30.168C41.06 31.08 40.208 31.776 39.128 32.256C40.472 32.664 41.504 33.396 42.224 34.452C42.968 35.508 43.34 36.708 43.34 38.052ZM29.948 27.324C29.948 28.284 30.284 29.052 30.956 29.628C31.652 30.18 32.612 30.456 33.836 30.456C35.036 30.456 35.972 30.168 36.644 29.592C37.316 29.016 37.652 28.248 37.652 27.288C37.652 26.304 37.304 25.536 36.608 24.984C35.936 24.432 34.988 24.156 33.764 24.156C32.564 24.156 31.628 24.444 30.956 25.02C30.284 25.572 29.948 26.34 29.948 27.324ZM29.3 37.872C29.3 38.976 29.696 39.84 30.488 40.464C31.28 41.064 32.372 41.364 33.764 41.364C35.204 41.364 36.32 41.064 37.112 40.464C37.904 39.864 38.3 39 38.3 37.872C38.3 36.744 37.904 35.868 37.112 35.244C36.32 34.62 35.216 34.308 33.8 34.308C32.408 34.308 31.304 34.62 30.488 35.244C29.696 35.868 29.3 36.744 29.3 37.872ZM55.4579 45H50.4899V43.956C50.4899 42.156 50.5739 40.548 50.7419 39.132C50.9339 37.692 51.2339 36.336 51.6419 35.064C52.0499 33.768 52.6019 32.472 53.2979 31.176C53.9939 29.856 54.8579 28.428 55.8899 26.892L57.2939 24.84H45.6659V20.52H62.7659V24.876L60.3179 28.476C59.3819 29.844 58.6019 31.128 57.9779 32.328C57.3539 33.504 56.8499 34.68 56.4659 35.856C56.1059 37.032 55.8419 38.268 55.6739 39.564C55.5299 40.86 55.4579 42.324 55.4579 43.956V45Z",fill:"#C3CBD4"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.3675 38.7752C66.1072 39.0355 65.6851 39.0355 65.4247 38.7752C65.1644 38.5148 65.1644 38.0927 65.4247 37.8324L69.2929 33.9643C69.6834 33.5738 70.3165 33.5738 70.707 33.9643L74.5752 37.8324C74.8355 38.0927 74.8355 38.5148 74.5752 38.7752C74.3148 39.0355 73.8927 39.0355 73.6324 38.7752L70.6664 35.8092V43.6668C70.6664 44.035 70.368 44.3335 69.9998 44.3335C69.6316 44.3335 69.3332 44.035 69.3332 43.6668V35.8095L66.3675 38.7752Z",fill:"#C3CBD4"})),w.createElement("path",{d:"M78.912 45V43.976C78.912 43.144 79.0613 42.4507 79.36 41.896C79.6693 41.3413 80.0853 40.8667 80.608 40.472C81.1307 40.0667 81.7173 39.6987 82.368 39.368C83.008 39.0373 83.488 38.728 83.808 38.44C84.128 38.1413 84.288 37.7467 84.288 37.256C84.288 36.8613 84.16 36.536 83.904 36.28C83.6587 36.0133 83.296 35.88 82.816 35.88C82.3573 35.88 81.984 36.0133 81.696 36.28C81.408 36.536 81.232 36.8933 81.168 37.352H79.024C79.0453 36.9467 79.136 36.5467 79.296 36.152C79.456 35.7573 79.6907 35.3947 80 35.064C80.3093 34.7227 80.7093 34.456 81.2 34.264C81.6907 34.0613 82.272 33.96 82.944 33.96C84.064 33.96 84.9493 34.248 85.6 34.824C86.2613 35.4 86.592 36.1787 86.592 37.16C86.592 38.0347 86.3093 38.76 85.744 39.336C85.1787 39.9013 84.3893 40.44 83.376 40.952C82.8213 41.2293 82.3573 41.528 81.984 41.848C81.6213 42.168 81.3813 42.5787 81.264 43.08H86.624V45H78.912ZM88.2018 41.8H90.3458C90.4418 42.312 90.6551 42.6853 90.9858 42.92C91.3164 43.144 91.7431 43.256 92.2658 43.256C92.8418 43.256 93.2898 43.1333 93.6098 42.888C93.9404 42.6427 94.1058 42.28 94.1058 41.8C94.1058 41.3093 93.9351 40.936 93.5938 40.68C93.2631 40.4133 92.7938 40.28 92.1858 40.28H90.8418V38.584H92.2018C92.7351 38.584 93.1404 38.4613 93.4178 38.216C93.7058 37.96 93.8498 37.6187 93.8498 37.192C93.8498 36.7867 93.7058 36.4667 93.4178 36.232C93.1404 35.9867 92.7618 35.864 92.2818 35.864C91.2791 35.864 90.7031 36.3227 90.5538 37.24H88.4578C88.4791 36.7067 88.6284 36.1893 88.9058 35.688C89.1831 35.1867 89.6044 34.776 90.1698 34.456C90.7351 34.1253 91.4658 33.96 92.3618 33.96C93.1724 33.96 93.8551 34.0933 94.4098 34.36C94.9644 34.616 95.3858 34.9733 95.6737 35.432C95.9724 35.88 96.1218 36.3867 96.1218 36.952C96.1218 37.528 95.9778 38.0187 95.6898 38.424C95.4124 38.8293 95.0444 39.1387 94.5858 39.352C95.1724 39.5333 95.6258 39.8587 95.9458 40.328C96.2658 40.7867 96.4258 41.3253 96.4258 41.944C96.4258 42.584 96.2551 43.144 95.9138 43.624C95.5831 44.104 95.1084 44.4827 94.4898 44.76C93.8711 45.0267 93.1351 45.16 92.2818 45.16C91.4284 45.16 90.7031 45.016 90.1058 44.728C89.5084 44.4293 89.0498 44.024 88.7298 43.512C88.4098 43 88.2338 42.4293 88.2018 41.8Z",fill:"#C3CBD4"}),w.createElement("rect",{x:"10",y:"28",width:"8",height:"8",rx:"3",fill:"#00A4FD"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(62 31)"})))),"singleValueIcon.majorValue":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M43.34 38.052C43.34 39.492 42.944 40.764 42.152 41.868C41.384 42.948 40.28 43.8 38.84 44.424C37.424 45.048 35.744 45.36 33.8 45.36C30.896 45.36 28.58 44.712 26.852 43.416C25.124 42.12 24.26 40.344 24.26 38.088C24.26 36.72 24.62 35.508 25.34 34.452C26.06 33.396 27.104 32.664 28.472 32.256C27.392 31.776 26.54 31.08 25.916 30.168C25.292 29.256 24.98 28.164 24.98 26.892C24.98 25.668 25.316 24.552 25.988 23.544C26.66 22.512 27.656 21.696 28.976 21.096C30.296 20.472 31.904 20.16 33.8 20.16C35.768 20.16 37.4 20.46 38.696 21.06C39.992 21.636 40.964 22.44 41.612 23.472C42.284 24.48 42.62 25.62 42.62 26.892C42.62 28.164 42.308 29.256 41.684 30.168C41.06 31.08 40.208 31.776 39.128 32.256C40.472 32.664 41.504 33.396 42.224 34.452C42.968 35.508 43.34 36.708 43.34 38.052ZM29.948 27.324C29.948 28.284 30.284 29.052 30.956 29.628C31.652 30.18 32.612 30.456 33.836 30.456C35.036 30.456 35.972 30.168 36.644 29.592C37.316 29.016 37.652 28.248 37.652 27.288C37.652 26.304 37.304 25.536 36.608 24.984C35.936 24.432 34.988 24.156 33.764 24.156C32.564 24.156 31.628 24.444 30.956 25.02C30.284 25.572 29.948 26.34 29.948 27.324ZM29.3 37.872C29.3 38.976 29.696 39.84 30.488 40.464C31.28 41.064 32.372 41.364 33.764 41.364C35.204 41.364 36.32 41.064 37.112 40.464C37.904 39.864 38.3 39 38.3 37.872C38.3 36.744 37.904 35.868 37.112 35.244C36.32 34.62 35.216 34.308 33.8 34.308C32.408 34.308 31.304 34.62 30.488 35.244C29.696 35.868 29.3 36.744 29.3 37.872ZM55.4579 45H50.4899V43.956C50.4899 42.156 50.5739 40.548 50.7419 39.132C50.9339 37.692 51.2339 36.336 51.6419 35.064C52.0499 33.768 52.6019 32.472 53.2979 31.176C53.9939 29.856 54.8579 28.428 55.8899 26.892L57.2939 24.84H45.6659V20.52H62.7659V24.876L60.3179 28.476C59.3819 29.844 58.6019 31.128 57.9779 32.328C57.3539 33.504 56.8499 34.68 56.4659 35.856C56.1059 37.032 55.8419 38.268 55.6739 39.564C55.5299 40.86 55.4579 42.324 55.4579 43.956V45Z",fill:"#00A4FD"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.3675 38.7752C66.1072 39.0355 65.6851 39.0355 65.4247 38.7752C65.1644 38.5148 65.1644 38.0927 65.4247 37.8324L69.2929 33.9643C69.6834 33.5738 70.3165 33.5738 70.707 33.9643L74.5752 37.8324C74.8355 38.0927 74.8355 38.5148 74.5752 38.7752C74.3148 39.0355 73.8927 39.0355 73.6324 38.7752L70.6664 35.8092V43.6668C70.6664 44.035 70.368 44.3335 69.9998 44.3335C69.6316 44.3335 69.3332 44.035 69.3332 43.6668V35.8095L66.3675 38.7752Z",fill:"#C3CBD4"})),w.createElement("path",{d:"M78.912 45V43.976C78.912 43.144 79.0613 42.4507 79.36 41.896C79.6693 41.3413 80.0853 40.8667 80.608 40.472C81.1307 40.0667 81.7173 39.6987 82.368 39.368C83.008 39.0373 83.488 38.728 83.808 38.44C84.128 38.1413 84.288 37.7467 84.288 37.256C84.288 36.8613 84.16 36.536 83.904 36.28C83.6587 36.0133 83.296 35.88 82.816 35.88C82.3573 35.88 81.984 36.0133 81.696 36.28C81.408 36.536 81.232 36.8933 81.168 37.352H79.024C79.0453 36.9467 79.136 36.5467 79.296 36.152C79.456 35.7573 79.6907 35.3947 80 35.064C80.3093 34.7227 80.7093 34.456 81.2 34.264C81.6907 34.0613 82.272 33.96 82.944 33.96C84.064 33.96 84.9493 34.248 85.6 34.824C86.2613 35.4 86.592 36.1787 86.592 37.16C86.592 38.0347 86.3093 38.76 85.744 39.336C85.1787 39.9013 84.3893 40.44 83.376 40.952C82.8213 41.2293 82.3573 41.528 81.984 41.848C81.6213 42.168 81.3813 42.5787 81.264 43.08H86.624V45H78.912ZM88.2018 41.8H90.3458C90.4418 42.312 90.6551 42.6853 90.9858 42.92C91.3164 43.144 91.7431 43.256 92.2658 43.256C92.8418 43.256 93.2898 43.1333 93.6098 42.888C93.9404 42.6427 94.1058 42.28 94.1058 41.8C94.1058 41.3093 93.9351 40.936 93.5938 40.68C93.2631 40.4133 92.7938 40.28 92.1858 40.28H90.8418V38.584H92.2018C92.7351 38.584 93.1404 38.4613 93.4178 38.216C93.7058 37.96 93.8498 37.6187 93.8498 37.192C93.8498 36.7867 93.7058 36.4667 93.4178 36.232C93.1404 35.9867 92.7618 35.864 92.2818 35.864C91.2791 35.864 90.7031 36.3227 90.5538 37.24H88.4578C88.4791 36.7067 88.6284 36.1893 88.9058 35.688C89.1831 35.1867 89.6044 34.776 90.1698 34.456C90.7351 34.1253 91.4658 33.96 92.3618 33.96C93.1724 33.96 93.8551 34.0933 94.4098 34.36C94.9644 34.616 95.3858 34.9733 95.6737 35.432C95.9724 35.88 96.1218 36.3867 96.1218 36.952C96.1218 37.528 95.9778 38.0187 95.6898 38.424C95.4124 38.8293 95.0444 39.1387 94.5858 39.352C95.1724 39.5333 95.6258 39.8587 95.9458 40.328C96.2658 40.7867 96.4258 41.3253 96.4258 41.944C96.4258 42.584 96.2551 43.144 95.9138 43.624C95.5831 44.104 95.1084 44.4827 94.4898 44.76C93.8711 45.0267 93.1351 45.16 92.2818 45.16C91.4284 45.16 90.7031 45.016 90.1058 44.728C89.5084 44.4293 89.0498 44.024 88.7298 43.512C88.4098 43 88.2338 42.4293 88.2018 41.8Z",fill:"#C3CBD4"}),w.createElement("rect",{x:"10",y:"28",width:"8",height:"8",rx:"3",fill:"#C3CBD4"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(62 31)"})))),"singleValueIcon.trend":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M43.34 38.052C43.34 39.492 42.944 40.764 42.152 41.868C41.384 42.948 40.28 43.8 38.84 44.424C37.424 45.048 35.744 45.36 33.8 45.36C30.896 45.36 28.58 44.712 26.852 43.416C25.124 42.12 24.26 40.344 24.26 38.088C24.26 36.72 24.62 35.508 25.34 34.452C26.06 33.396 27.104 32.664 28.472 32.256C27.392 31.776 26.54 31.08 25.916 30.168C25.292 29.256 24.98 28.164 24.98 26.892C24.98 25.668 25.316 24.552 25.988 23.544C26.66 22.512 27.656 21.696 28.976 21.096C30.296 20.472 31.904 20.16 33.8 20.16C35.768 20.16 37.4 20.46 38.696 21.06C39.992 21.636 40.964 22.44 41.612 23.472C42.284 24.48 42.62 25.62 42.62 26.892C42.62 28.164 42.308 29.256 41.684 30.168C41.06 31.08 40.208 31.776 39.128 32.256C40.472 32.664 41.504 33.396 42.224 34.452C42.968 35.508 43.34 36.708 43.34 38.052ZM29.948 27.324C29.948 28.284 30.284 29.052 30.956 29.628C31.652 30.18 32.612 30.456 33.836 30.456C35.036 30.456 35.972 30.168 36.644 29.592C37.316 29.016 37.652 28.248 37.652 27.288C37.652 26.304 37.304 25.536 36.608 24.984C35.936 24.432 34.988 24.156 33.764 24.156C32.564 24.156 31.628 24.444 30.956 25.02C30.284 25.572 29.948 26.34 29.948 27.324ZM29.3 37.872C29.3 38.976 29.696 39.84 30.488 40.464C31.28 41.064 32.372 41.364 33.764 41.364C35.204 41.364 36.32 41.064 37.112 40.464C37.904 39.864 38.3 39 38.3 37.872C38.3 36.744 37.904 35.868 37.112 35.244C36.32 34.62 35.216 34.308 33.8 34.308C32.408 34.308 31.304 34.62 30.488 35.244C29.696 35.868 29.3 36.744 29.3 37.872ZM55.4579 45H50.4899V43.956C50.4899 42.156 50.5739 40.548 50.7419 39.132C50.9339 37.692 51.2339 36.336 51.6419 35.064C52.0499 33.768 52.6019 32.472 53.2979 31.176C53.9939 29.856 54.8579 28.428 55.8899 26.892L57.2939 24.84H45.6659V20.52H62.7659V24.876L60.3179 28.476C59.3819 29.844 58.6019 31.128 57.9779 32.328C57.3539 33.504 56.8499 34.68 56.4659 35.856C56.1059 37.032 55.8419 38.268 55.6739 39.564C55.5299 40.86 55.4579 42.324 55.4579 43.956V45Z",fill:"#C3CBD4"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.3675 38.7752C66.1072 39.0355 65.6851 39.0355 65.4247 38.7752C65.1644 38.5148 65.1644 38.0927 65.4247 37.8324L69.2929 33.9643C69.6834 33.5738 70.3165 33.5738 70.707 33.9643L74.5752 37.8324C74.8355 38.0927 74.8355 38.5148 74.5752 38.7752C74.3148 39.0355 73.8927 39.0355 73.6324 38.7752L70.6664 35.8092V43.6668C70.6664 44.035 70.368 44.3335 69.9998 44.3335C69.6316 44.3335 69.3332 44.035 69.3332 43.6668V35.8095L66.3675 38.7752Z",fill:"#53A051"})),w.createElement("path",{d:"M78.912 45V43.976C78.912 43.144 79.0613 42.4507 79.36 41.896C79.6693 41.3413 80.0853 40.8667 80.608 40.472C81.1307 40.0667 81.7173 39.6987 82.368 39.368C83.008 39.0373 83.488 38.728 83.808 38.44C84.128 38.1413 84.288 37.7467 84.288 37.256C84.288 36.8613 84.16 36.536 83.904 36.28C83.6587 36.0133 83.296 35.88 82.816 35.88C82.3573 35.88 81.984 36.0133 81.696 36.28C81.408 36.536 81.232 36.8933 81.168 37.352H79.024C79.0453 36.9467 79.136 36.5467 79.296 36.152C79.456 35.7573 79.6907 35.3947 80 35.064C80.3093 34.7227 80.7093 34.456 81.2 34.264C81.6907 34.0613 82.272 33.96 82.944 33.96C84.064 33.96 84.9493 34.248 85.6 34.824C86.2613 35.4 86.592 36.1787 86.592 37.16C86.592 38.0347 86.3093 38.76 85.744 39.336C85.1787 39.9013 84.3893 40.44 83.376 40.952C82.8213 41.2293 82.3573 41.528 81.984 41.848C81.6213 42.168 81.3813 42.5787 81.264 43.08H86.624V45H78.912ZM88.2018 41.8H90.3458C90.4418 42.312 90.6551 42.6853 90.9858 42.92C91.3164 43.144 91.7431 43.256 92.2658 43.256C92.8418 43.256 93.2898 43.1333 93.6098 42.888C93.9404 42.6427 94.1058 42.28 94.1058 41.8C94.1058 41.3093 93.9351 40.936 93.5938 40.68C93.2631 40.4133 92.7938 40.28 92.1858 40.28H90.8418V38.584H92.2018C92.7351 38.584 93.1404 38.4613 93.4178 38.216C93.7058 37.96 93.8498 37.6187 93.8498 37.192C93.8498 36.7867 93.7058 36.4667 93.4178 36.232C93.1404 35.9867 92.7618 35.864 92.2818 35.864C91.2791 35.864 90.7031 36.3227 90.5538 37.24H88.4578C88.4791 36.7067 88.6284 36.1893 88.9058 35.688C89.1831 35.1867 89.6044 34.776 90.1698 34.456C90.7351 34.1253 91.4658 33.96 92.3618 33.96C93.1724 33.96 93.8551 34.0933 94.4098 34.36C94.9644 34.616 95.3858 34.9733 95.6737 35.432C95.9724 35.88 96.1218 36.3867 96.1218 36.952C96.1218 37.528 95.9778 38.0187 95.6898 38.424C95.4124 38.8293 95.0444 39.1387 94.5858 39.352C95.1724 39.5333 95.6258 39.8587 95.9458 40.328C96.2658 40.7867 96.4258 41.3253 96.4258 41.944C96.4258 42.584 96.2551 43.144 95.9138 43.624C95.5831 44.104 95.1084 44.4827 94.4898 44.76C93.8711 45.0267 93.1351 45.16 92.2818 45.16C91.4284 45.16 90.7031 45.016 90.1058 44.728C89.5084 44.4293 89.0498 44.024 88.7298 43.512C88.4098 43 88.2338 42.4293 88.2018 41.8Z",fill:"#53A051"}),w.createElement("rect",{x:"10",y:"28",width:"8",height:"8",rx:"3",fill:"#C3CBD4"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(62 31)"})))),"singleValueIcon.iconAndMajorValue":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M43.34 38.052C43.34 39.492 42.944 40.764 42.152 41.868C41.384 42.948 40.28 43.8 38.84 44.424C37.424 45.048 35.744 45.36 33.8 45.36C30.896 45.36 28.58 44.712 26.852 43.416C25.124 42.12 24.26 40.344 24.26 38.088C24.26 36.72 24.62 35.508 25.34 34.452C26.06 33.396 27.104 32.664 28.472 32.256C27.392 31.776 26.54 31.08 25.916 30.168C25.292 29.256 24.98 28.164 24.98 26.892C24.98 25.668 25.316 24.552 25.988 23.544C26.66 22.512 27.656 21.696 28.976 21.096C30.296 20.472 31.904 20.16 33.8 20.16C35.768 20.16 37.4 20.46 38.696 21.06C39.992 21.636 40.964 22.44 41.612 23.472C42.284 24.48 42.62 25.62 42.62 26.892C42.62 28.164 42.308 29.256 41.684 30.168C41.06 31.08 40.208 31.776 39.128 32.256C40.472 32.664 41.504 33.396 42.224 34.452C42.968 35.508 43.34 36.708 43.34 38.052ZM29.948 27.324C29.948 28.284 30.284 29.052 30.956 29.628C31.652 30.18 32.612 30.456 33.836 30.456C35.036 30.456 35.972 30.168 36.644 29.592C37.316 29.016 37.652 28.248 37.652 27.288C37.652 26.304 37.304 25.536 36.608 24.984C35.936 24.432 34.988 24.156 33.764 24.156C32.564 24.156 31.628 24.444 30.956 25.02C30.284 25.572 29.948 26.34 29.948 27.324ZM29.3 37.872C29.3 38.976 29.696 39.84 30.488 40.464C31.28 41.064 32.372 41.364 33.764 41.364C35.204 41.364 36.32 41.064 37.112 40.464C37.904 39.864 38.3 39 38.3 37.872C38.3 36.744 37.904 35.868 37.112 35.244C36.32 34.62 35.216 34.308 33.8 34.308C32.408 34.308 31.304 34.62 30.488 35.244C29.696 35.868 29.3 36.744 29.3 37.872ZM55.4579 45H50.4899V43.956C50.4899 42.156 50.5739 40.548 50.7419 39.132C50.9339 37.692 51.2339 36.336 51.6419 35.064C52.0499 33.768 52.6019 32.472 53.2979 31.176C53.9939 29.856 54.8579 28.428 55.8899 26.892L57.2939 24.84H45.6659V20.52H62.7659V24.876L60.3179 28.476C59.3819 29.844 58.6019 31.128 57.9779 32.328C57.3539 33.504 56.8499 34.68 56.4659 35.856C56.1059 37.032 55.8419 38.268 55.6739 39.564C55.5299 40.86 55.4579 42.324 55.4579 43.956V45Z",fill:"#00A4FD"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.3675 38.7752C66.1072 39.0355 65.6851 39.0355 65.4247 38.7752C65.1644 38.5148 65.1644 38.0927 65.4247 37.8324L69.2929 33.9643C69.6834 33.5738 70.3165 33.5738 70.707 33.9643L74.5752 37.8324C74.8355 38.0927 74.8355 38.5148 74.5752 38.7752C74.3148 39.0355 73.8927 39.0355 73.6324 38.7752L70.6664 35.8092V43.6668C70.6664 44.035 70.368 44.3335 69.9998 44.3335C69.6316 44.3335 69.3332 44.035 69.3332 43.6668V35.8095L66.3675 38.7752Z",fill:"#C3CBD4"})),w.createElement("path",{d:"M78.912 45V43.976C78.912 43.144 79.0613 42.4507 79.36 41.896C79.6693 41.3413 80.0853 40.8667 80.608 40.472C81.1307 40.0667 81.7173 39.6987 82.368 39.368C83.008 39.0373 83.488 38.728 83.808 38.44C84.128 38.1413 84.288 37.7467 84.288 37.256C84.288 36.8613 84.16 36.536 83.904 36.28C83.6587 36.0133 83.296 35.88 82.816 35.88C82.3573 35.88 81.984 36.0133 81.696 36.28C81.408 36.536 81.232 36.8933 81.168 37.352H79.024C79.0453 36.9467 79.136 36.5467 79.296 36.152C79.456 35.7573 79.6907 35.3947 80 35.064C80.3093 34.7227 80.7093 34.456 81.2 34.264C81.6907 34.0613 82.272 33.96 82.944 33.96C84.064 33.96 84.9493 34.248 85.6 34.824C86.2613 35.4 86.592 36.1787 86.592 37.16C86.592 38.0347 86.3093 38.76 85.744 39.336C85.1787 39.9013 84.3893 40.44 83.376 40.952C82.8213 41.2293 82.3573 41.528 81.984 41.848C81.6213 42.168 81.3813 42.5787 81.264 43.08H86.624V45H78.912ZM88.2018 41.8H90.3458C90.4418 42.312 90.6551 42.6853 90.9858 42.92C91.3164 43.144 91.7431 43.256 92.2658 43.256C92.8418 43.256 93.2898 43.1333 93.6098 42.888C93.9404 42.6427 94.1058 42.28 94.1058 41.8C94.1058 41.3093 93.9351 40.936 93.5938 40.68C93.2631 40.4133 92.7938 40.28 92.1858 40.28H90.8418V38.584H92.2018C92.7351 38.584 93.1404 38.4613 93.4178 38.216C93.7058 37.96 93.8498 37.6187 93.8498 37.192C93.8498 36.7867 93.7058 36.4667 93.4178 36.232C93.1404 35.9867 92.7618 35.864 92.2818 35.864C91.2791 35.864 90.7031 36.3227 90.5538 37.24H88.4578C88.4791 36.7067 88.6284 36.1893 88.9058 35.688C89.1831 35.1867 89.6044 34.776 90.1698 34.456C90.7351 34.1253 91.4658 33.96 92.3618 33.96C93.1724 33.96 93.8551 34.0933 94.4098 34.36C94.9644 34.616 95.3858 34.9733 95.6737 35.432C95.9724 35.88 96.1218 36.3867 96.1218 36.952C96.1218 37.528 95.9778 38.0187 95.6898 38.424C95.4124 38.8293 95.0444 39.1387 94.5858 39.352C95.1724 39.5333 95.6258 39.8587 95.9458 40.328C96.2658 40.7867 96.4258 41.3253 96.4258 41.944C96.4258 42.584 96.2551 43.144 95.9138 43.624C95.5831 44.104 95.1084 44.4827 94.4898 44.76C93.8711 45.0267 93.1351 45.16 92.2818 45.16C91.4284 45.16 90.7031 45.016 90.1058 44.728C89.5084 44.4293 89.0498 44.024 88.7298 43.512C88.4098 43 88.2338 42.4293 88.2018 41.8Z",fill:"#C3CBD4"}),w.createElement("rect",{x:"10",y:"28",width:"8",height:"8",rx:"3",fill:"#00A4FD"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(62 31)"})))),"singleValueIcon.background":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#00A4FD"}),w.createElement("path",{d:"M43.34 38.052C43.34 39.492 42.944 40.764 42.152 41.868C41.384 42.948 40.28 43.8 38.84 44.424C37.424 45.048 35.744 45.36 33.8 45.36C30.896 45.36 28.58 44.712 26.852 43.416C25.124 42.12 24.26 40.344 24.26 38.088C24.26 36.72 24.62 35.508 25.34 34.452C26.06 33.396 27.104 32.664 28.472 32.256C27.392 31.776 26.54 31.08 25.916 30.168C25.292 29.256 24.98 28.164 24.98 26.892C24.98 25.668 25.316 24.552 25.988 23.544C26.66 22.512 27.656 21.696 28.976 21.096C30.296 20.472 31.904 20.16 33.8 20.16C35.768 20.16 37.4 20.46 38.696 21.06C39.992 21.636 40.964 22.44 41.612 23.472C42.284 24.48 42.62 25.62 42.62 26.892C42.62 28.164 42.308 29.256 41.684 30.168C41.06 31.08 40.208 31.776 39.128 32.256C40.472 32.664 41.504 33.396 42.224 34.452C42.968 35.508 43.34 36.708 43.34 38.052ZM29.948 27.324C29.948 28.284 30.284 29.052 30.956 29.628C31.652 30.18 32.612 30.456 33.836 30.456C35.036 30.456 35.972 30.168 36.644 29.592C37.316 29.016 37.652 28.248 37.652 27.288C37.652 26.304 37.304 25.536 36.608 24.984C35.936 24.432 34.988 24.156 33.764 24.156C32.564 24.156 31.628 24.444 30.956 25.02C30.284 25.572 29.948 26.34 29.948 27.324ZM29.3 37.872C29.3 38.976 29.696 39.84 30.488 40.464C31.28 41.064 32.372 41.364 33.764 41.364C35.204 41.364 36.32 41.064 37.112 40.464C37.904 39.864 38.3 39 38.3 37.872C38.3 36.744 37.904 35.868 37.112 35.244C36.32 34.62 35.216 34.308 33.8 34.308C32.408 34.308 31.304 34.62 30.488 35.244C29.696 35.868 29.3 36.744 29.3 37.872ZM55.4579 45H50.4899V43.956C50.4899 42.156 50.5739 40.548 50.7419 39.132C50.9339 37.692 51.2339 36.336 51.6419 35.064C52.0499 33.768 52.6019 32.472 53.2979 31.176C53.9939 29.856 54.8579 28.428 55.8899 26.892L57.2939 24.84H45.6659V20.52H62.7659V24.876L60.3179 28.476C59.3819 29.844 58.6019 31.128 57.9779 32.328C57.3539 33.504 56.8499 34.68 56.4659 35.856C56.1059 37.032 55.8419 38.268 55.6739 39.564C55.5299 40.86 55.4579 42.324 55.4579 43.956V45Z",fill:"white"}),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.3675 38.7752C66.1072 39.0355 65.6851 39.0355 65.4247 38.7752C65.1644 38.5148 65.1644 38.0927 65.4247 37.8324L69.2929 33.9643C69.6834 33.5738 70.3165 33.5738 70.707 33.9643L74.5752 37.8324C74.8355 38.0927 74.8355 38.5148 74.5752 38.7752C74.3148 39.0355 73.8927 39.0355 73.6324 38.7752L70.6664 35.8092V43.6668C70.6664 44.035 70.368 44.3335 69.9998 44.3335C69.6316 44.3335 69.3332 44.035 69.3332 43.6668V35.8095L66.3675 38.7752Z",fill:"white"})),w.createElement("path",{d:"M78.912 45V43.976C78.912 43.144 79.0613 42.4507 79.36 41.896C79.6693 41.3413 80.0853 40.8667 80.608 40.472C81.1307 40.0667 81.7173 39.6987 82.368 39.368C83.008 39.0373 83.488 38.728 83.808 38.44C84.128 38.1413 84.288 37.7467 84.288 37.256C84.288 36.8613 84.16 36.536 83.904 36.28C83.6587 36.0133 83.296 35.88 82.816 35.88C82.3573 35.88 81.984 36.0133 81.696 36.28C81.408 36.536 81.232 36.8933 81.168 37.352H79.024C79.0453 36.9467 79.136 36.5467 79.296 36.152C79.456 35.7573 79.6907 35.3947 80 35.064C80.3093 34.7227 80.7093 34.456 81.2 34.264C81.6907 34.0613 82.272 33.96 82.944 33.96C84.064 33.96 84.9493 34.248 85.6 34.824C86.2613 35.4 86.592 36.1787 86.592 37.16C86.592 38.0347 86.3093 38.76 85.744 39.336C85.1787 39.9013 84.3893 40.44 83.376 40.952C82.8213 41.2293 82.3573 41.528 81.984 41.848C81.6213 42.168 81.3813 42.5787 81.264 43.08H86.624V45H78.912ZM88.2018 41.8H90.3458C90.4418 42.312 90.6551 42.6853 90.9858 42.92C91.3164 43.144 91.7431 43.256 92.2658 43.256C92.8418 43.256 93.2898 43.1333 93.6098 42.888C93.9404 42.6427 94.1058 42.28 94.1058 41.8C94.1058 41.3093 93.9351 40.936 93.5938 40.68C93.2631 40.4133 92.7938 40.28 92.1858 40.28H90.8418V38.584H92.2018C92.7351 38.584 93.1404 38.4613 93.4178 38.216C93.7058 37.96 93.8498 37.6187 93.8498 37.192C93.8498 36.7867 93.7058 36.4667 93.4178 36.232C93.1404 35.9867 92.7618 35.864 92.2818 35.864C91.2791 35.864 90.7031 36.3227 90.5538 37.24H88.4578C88.4791 36.7067 88.6284 36.1893 88.9058 35.688C89.1831 35.1867 89.6044 34.776 90.1698 34.456C90.7351 34.1253 91.4658 33.96 92.3618 33.96C93.1724 33.96 93.8551 34.0933 94.4098 34.36C94.9644 34.616 95.3858 34.9733 95.6737 35.432C95.9724 35.88 96.1218 36.3867 96.1218 36.952C96.1218 37.528 95.9778 38.0187 95.6898 38.424C95.4124 38.8293 95.0444 39.1387 94.5858 39.352C95.1724 39.5333 95.6258 39.8587 95.9458 40.328C96.2658 40.7867 96.4258 41.3253 96.4258 41.944C96.4258 42.584 96.2551 43.144 95.9138 43.624C95.5831 44.104 95.1084 44.4827 94.4898 44.76C93.8711 45.0267 93.1351 45.16 92.2818 45.16C91.4284 45.16 90.7031 45.016 90.1058 44.728C89.5084 44.4293 89.0498 44.024 88.7298 43.512C88.4098 43 88.2338 42.4293 88.2018 41.8Z",fill:"white"}),w.createElement("rect",{x:"10",y:"28",width:"8",height:"8",rx:"3",fill:"white"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"15.9993",height:"15.9993",fill:"white",transform:"translate(62 31)"}))))},H={"singleValueRadial.none":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M8.47363 55.3796C8.47363 49.2734 9.64593 43.227 11.9236 37.5856C14.2013 31.9442 17.5397 26.8183 21.7483 22.5006C25.9569 18.1829 30.9532 14.7579 36.4519 12.4211C41.9507 10.0844 47.8443 8.88166 53.7961 8.88166C59.7479 8.88166 65.6415 10.0844 71.1402 12.4211C76.639 14.7579 81.6353 18.1829 85.8439 22.5006C90.0525 26.8183 93.3909 31.9442 95.6686 37.5856C97.9462 43.227 99.1185 49.2734 99.1185 55.3796L91.7374 55.3796C91.7373 50.2679 90.756 45.2062 88.8492 40.4836C86.9425 35.7609 84.1478 31.4698 80.6246 27.8553C77.1014 24.2407 72.9188 21.3735 68.3156 19.4173C63.7123 17.4611 58.7786 16.4543 53.7961 16.4543C48.8136 16.4543 43.8798 17.4611 39.2766 19.4173C34.6733 21.3735 30.4907 24.2407 26.9676 27.8553C23.4444 31.4698 20.6497 35.7609 18.7429 40.4835C16.8362 45.2062 15.8548 50.2679 15.8548 55.3796L8.47363 55.3796Z",fill:"#C4CBD3",fillOpacity:"0.3"}),w.createElement("path",{d:"M8.47363 55.3796C8.47363 48.1045 10.1376 40.9308 13.3317 34.4354C16.5259 27.9401 21.1611 22.3043 26.8646 17.9812C32.5681 13.6581 39.1808 10.7685 46.171 9.54447C53.1612 8.32048 60.3338 8.79637 67.1121 10.9339L53.7961 55.3796L8.47363 55.3796Z",fill:"#C4CBD3"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.95117 55.9021L7.95117 55.3797C7.95117 48.0249 9.6333 40.7724 12.8629 34.2049C16.0925 27.6374 20.7798 21.9377 26.549 17.5649C32.3182 13.192 39.0081 10.2683 46.0809 9.02986C53.1537 7.7914 60.4111 8.27296 67.2692 10.4356L67.7603 10.5905L54.1849 55.9021L7.95117 55.9021ZM8.47648 54.8572C8.55419 47.7613 10.2141 40.7752 13.3317 34.4354C16.5259 27.9401 21.161 22.3043 26.8646 17.9812C32.5681 13.6582 39.1808 10.7685 46.171 9.54448C53.1612 8.32049 60.3338 8.79638 67.1121 10.9339L53.7961 55.3796L8.47362 55.3797C8.47362 55.2054 8.47457 55.0313 8.47648 54.8572Z",fill:"#F2F4F5"}),w.createElement("path",{d:"M91.7353 55.3797C70 55.3797 74.7648 55.3797 53.8305 55.3797C32.8963 55.3797 48.5 55.3797 15.9258 55.3797C15.9258 33.8834 32.8963 16.4572 53.8305 16.4572C74.7648 16.4572 91.7353 33.8834 91.7353 55.3797Z",fill:"#F2F4F5"}),w.createElement("path",{d:"M60.1005 50.4937C59.9157 50.6785 59.6162 50.6785 59.4315 50.4937C59.2468 50.309 59.2468 50.0095 59.4315 49.8248L62.1762 47.0801C62.4532 46.803 62.9025 46.803 63.1796 47.0801L65.9242 49.8248C66.109 50.0095 66.109 50.309 65.9242 50.4937C65.7395 50.6785 65.44 50.6785 65.2553 50.4937L63.1508 48.3892V53.9646C63.1508 54.2259 62.939 54.4377 62.6778 54.4377C62.4165 54.4377 62.2048 54.2259 62.2048 53.9646V48.3894L60.1005 50.4937Z",fill:"#C4CBD3"}),w.createElement("path",{d:"M69.0006 54.9769V54.2503C69.0006 53.66 69.1066 53.168 69.3185 52.7745C69.538 52.3809 69.8331 52.0442 70.204 51.7641C70.5748 51.4765 70.9911 51.2154 71.4527 50.9808C71.9068 50.7462 72.2474 50.5267 72.4744 50.3224C72.7015 50.1105 72.815 49.8304 72.815 49.4823C72.815 49.2023 72.7242 48.9714 72.5426 48.7898C72.3685 48.6006 72.1112 48.506 71.7706 48.506C71.4452 48.506 71.1803 48.6006 70.9759 48.7898C70.7716 48.9714 70.6467 49.225 70.6013 49.5504H69.0801C69.0952 49.2628 69.1595 48.979 69.2731 48.699C69.3866 48.419 69.5531 48.1616 69.7726 47.927C69.992 47.6848 70.2759 47.4956 70.624 47.3594C70.9721 47.2156 71.3846 47.1437 71.8614 47.1437C72.6561 47.1437 73.2842 47.348 73.7459 47.7567C74.2151 48.1654 74.4498 48.7179 74.4498 49.4142C74.4498 50.0348 74.2492 50.5494 73.8481 50.9581C73.447 51.3592 72.8869 51.7414 72.1679 52.1047C71.7744 52.3015 71.4452 52.5134 71.1803 52.7404C70.9229 52.9675 70.7527 53.2589 70.6694 53.6146H74.4725V54.9769H69.0006ZM75.5919 52.7064H77.1131C77.1813 53.0697 77.3326 53.3346 77.5672 53.5011C77.8019 53.66 78.1046 53.7395 78.4754 53.7395C78.8841 53.7395 79.202 53.6524 79.429 53.4783C79.6637 53.3043 79.781 53.047 79.781 52.7064C79.781 52.3582 79.6599 52.0934 79.4177 51.9117C79.1831 51.7225 78.8501 51.6279 78.4187 51.6279H77.4651V50.4245H78.43C78.8084 50.4245 79.096 50.3375 79.2928 50.1634C79.4972 49.9818 79.5993 49.7396 79.5993 49.4369C79.5993 49.1493 79.4972 48.9222 79.2928 48.7557C79.096 48.5817 78.8274 48.4946 78.4868 48.4946C77.7754 48.4946 77.3667 48.8201 77.2607 49.4709H75.7736C75.7887 49.0925 75.8947 48.7255 76.0914 48.3698C76.2882 48.0141 76.5871 47.7227 76.9883 47.4956C77.3894 47.261 77.9078 47.1437 78.5435 47.1437C79.1187 47.1437 79.6031 47.2383 79.9967 47.4275C80.3902 47.6092 80.6892 47.8627 80.8935 48.1881C81.1054 48.506 81.2114 48.8655 81.2114 49.2666C81.2114 49.6753 81.1092 50.0234 80.9049 50.311C80.7081 50.5986 80.447 50.8181 80.1215 50.9695C80.5378 51.0981 80.8594 51.329 81.0865 51.662C81.3135 51.9874 81.4271 52.3696 81.4271 52.8086C81.4271 53.2627 81.306 53.66 81.0638 54.0006C80.8292 54.3411 80.4924 54.6098 80.0534 54.8066C79.6145 54.9958 79.0922 55.0904 78.4868 55.0904C77.8813 55.0904 77.3667 54.9882 76.9429 54.7839C76.519 54.572 76.1936 54.2844 75.9666 53.9211C75.7395 53.5578 75.6146 53.1529 75.5919 52.7064Z",fill:"#C4CBD3"}),w.createElement("path",{d:"M40.99 49.7943C40.99 50.8462 40.7007 51.7753 40.1222 52.5817C39.5612 53.3706 38.7548 53.9929 37.703 54.4487C36.6687 54.9045 35.4415 55.1324 34.0216 55.1324C31.9004 55.1324 30.2087 54.6591 28.9465 53.7124C27.6843 52.7658 27.0532 51.4685 27.0532 49.8206C27.0532 48.8214 27.3161 47.9361 27.842 47.1648C28.368 46.3934 29.1305 45.8587 30.1298 45.5607C29.3409 45.2101 28.7186 44.7017 28.2628 44.0356C27.807 43.3694 27.5791 42.5717 27.5791 41.6426C27.5791 40.7486 27.8245 39.9334 28.3154 39.1971C28.8062 38.4433 29.5337 37.8473 30.4979 37.409C31.4621 36.9532 32.6367 36.7253 34.0216 36.7253C35.4591 36.7253 36.6512 36.9444 37.5978 37.3827C38.5445 37.8034 39.2544 38.3907 39.7278 39.1445C40.2186 39.8808 40.4641 40.7135 40.4641 41.6426C40.4641 42.5717 40.2362 43.3694 39.7804 44.0356C39.3246 44.7017 38.7022 45.2101 37.9134 45.5607C38.8951 45.8587 39.6489 46.3934 40.1748 47.1648C40.7182 47.9361 40.99 48.8126 40.99 49.7943ZM31.2079 41.9582C31.2079 42.6594 31.4533 43.2204 31.9442 43.6411C32.4526 44.0443 33.1538 44.2459 34.0479 44.2459C34.9244 44.2459 35.6081 44.0356 36.0989 43.6148C36.5898 43.1941 36.8352 42.6331 36.8352 41.9319C36.8352 41.2131 36.581 40.6522 36.0726 40.2489C35.5818 39.8457 34.8893 39.6441 33.9953 39.6441C33.1187 39.6441 32.4351 39.8545 31.9442 40.2752C31.4533 40.6784 31.2079 41.2394 31.2079 41.9582ZM30.7346 49.6629C30.7346 50.4693 31.0238 51.1004 31.6024 51.5562C32.1809 51.9944 32.9785 52.2136 33.9953 52.2136C35.0471 52.2136 35.8623 51.9944 36.4408 51.5562C37.0193 51.1179 37.3086 50.4868 37.3086 49.6629C37.3086 48.8389 37.0193 48.1991 36.4408 47.7433C35.8623 47.2875 35.0559 47.0596 34.0216 47.0596C33.0048 47.0596 32.1984 47.2875 31.6024 47.7433C31.0238 48.1991 30.7346 48.8389 30.7346 49.6629ZM49.8414 54.8694H46.2126V54.1069C46.2126 52.7921 46.2739 51.6175 46.3966 50.5832C46.5369 49.5314 46.756 48.5409 47.054 47.6118C47.3521 46.6651 47.7553 45.7185 48.2637 44.7718C48.772 43.8077 49.4031 42.7646 50.157 41.6426L51.1825 40.1438H42.6889V36.9883H55.1795V40.1701L53.3913 42.7996C52.7077 43.7989 52.1379 44.7368 51.6821 45.6133C51.2263 46.4723 50.8582 47.3313 50.5777 48.1903C50.3147 49.0493 50.1219 49.9521 49.9992 50.8988C49.894 51.8454 49.8414 52.9148 49.8414 54.1069V54.8694Z",fill:"#C4CBD3"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"})),"singleValueRadial.majorValue":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M8 55.498C8 49.3918 9.17229 43.3454 11.45 37.704C13.7276 32.0626 17.0661 26.9367 21.2746 22.619C25.4832 18.3013 30.4795 14.8762 35.9783 12.5395C41.4771 10.2028 47.3706 9.00005 53.3225 9.00005C59.2743 9.00005 65.1678 10.2028 70.6666 12.5395C76.1654 14.8762 81.1617 18.3013 85.3703 22.619C89.5788 26.9367 92.9173 32.0626 95.1949 37.704C97.4726 43.3454 98.6449 49.3918 98.6449 55.498L91.2637 55.498C91.2637 50.3863 90.2823 45.3246 88.3756 40.6019C86.4689 35.8793 83.6742 31.5882 80.151 27.9736C76.6278 24.3591 72.4452 21.4919 67.8419 19.5357C63.2387 17.5795 58.305 16.5727 53.3225 16.5727C48.3399 16.5727 43.4062 17.5795 38.803 19.5357C34.1997 21.4919 30.0171 24.3591 26.4939 27.9736C22.9707 31.5882 20.176 35.8793 18.2693 40.6019C16.3626 45.3246 15.3812 50.3863 15.3812 55.498L8 55.498Z",fill:"#C4CBD3",fillOpacity:"0.3"}),w.createElement("mask",{id:"path-3-outside-1_361:10973",maskUnits:"userSpaceOnUse",x:"6.99999",y:"7.99597",width:"61",height:"49",fill:"black"},w.createElement("rect",{fill:"white",x:"6.99999",y:"7.99597",width:"61",height:"49"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43885 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z"})),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43885 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",fill:"#00A4FD"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43885 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",stroke:"#F2F4F5",strokeWidth:"1.0449",mask:"url(#path-3-outside-1_361:10973)"}),w.createElement("path",{d:"M91.7353 55.3797C80.5 59.5 74.7648 59.5 53.8305 59.5C32.8963 59.5 24 61 15.9258 55.3797C15.9258 33.8834 32.8963 16.4572 53.8305 16.4572C74.7648 16.4572 91.7353 33.8834 91.7353 55.3797Z",fill:"#F2F4F5"}),w.createElement("path",{d:"M60.1005 50.4937C59.9157 50.6785 59.6162 50.6785 59.4315 50.4937C59.2468 50.309 59.2468 50.0095 59.4315 49.8248L62.1762 47.0801C62.4532 46.803 62.9025 46.803 63.1796 47.0801L65.9242 49.8248C66.109 50.0095 66.109 50.309 65.9242 50.4937C65.7395 50.6785 65.44 50.6785 65.2553 50.4937L63.1508 48.3892V53.9646C63.1508 54.2259 62.939 54.4377 62.6778 54.4377C62.4165 54.4377 62.2048 54.2259 62.2048 53.9646V48.3894L60.1005 50.4937Z",fill:"#C4CBD3"}),w.createElement("path",{d:"M69.0006 54.9769V54.2503C69.0006 53.66 69.1066 53.168 69.3185 52.7745C69.538 52.3809 69.8331 52.0442 70.204 51.7641C70.5748 51.4765 70.9911 51.2154 71.4527 50.9808C71.9068 50.7462 72.2474 50.5267 72.4744 50.3224C72.7015 50.1105 72.815 49.8304 72.815 49.4823C72.815 49.2023 72.7242 48.9714 72.5426 48.7898C72.3685 48.6006 72.1112 48.506 71.7706 48.506C71.4452 48.506 71.1803 48.6006 70.9759 48.7898C70.7716 48.9714 70.6467 49.225 70.6013 49.5504H69.0801C69.0952 49.2628 69.1595 48.979 69.2731 48.699C69.3866 48.419 69.5531 48.1616 69.7726 47.927C69.992 47.6848 70.2759 47.4956 70.624 47.3594C70.9721 47.2156 71.3846 47.1437 71.8614 47.1437C72.6561 47.1437 73.2842 47.348 73.7459 47.7567C74.2151 48.1654 74.4498 48.7179 74.4498 49.4142C74.4498 50.0348 74.2492 50.5494 73.8481 50.9581C73.447 51.3592 72.8869 51.7414 72.1679 52.1047C71.7744 52.3015 71.4452 52.5134 71.1803 52.7404C70.9229 52.9675 70.7527 53.2589 70.6694 53.6146H74.4725V54.9769H69.0006ZM75.5919 52.7064H77.1131C77.1813 53.0697 77.3326 53.3346 77.5672 53.5011C77.8019 53.66 78.1046 53.7395 78.4754 53.7395C78.8841 53.7395 79.202 53.6524 79.429 53.4783C79.6637 53.3043 79.781 53.047 79.781 52.7064C79.781 52.3582 79.6599 52.0934 79.4177 51.9117C79.1831 51.7225 78.8501 51.6279 78.4187 51.6279H77.4651V50.4245H78.43C78.8084 50.4245 79.096 50.3375 79.2928 50.1634C79.4972 49.9818 79.5993 49.7396 79.5993 49.4369C79.5993 49.1493 79.4972 48.9222 79.2928 48.7557C79.096 48.5817 78.8274 48.4946 78.4868 48.4946C77.7754 48.4946 77.3667 48.8201 77.2607 49.4709H75.7736C75.7887 49.0925 75.8947 48.7255 76.0914 48.3698C76.2882 48.0141 76.5871 47.7227 76.9883 47.4956C77.3894 47.261 77.9078 47.1437 78.5435 47.1437C79.1187 47.1437 79.6031 47.2383 79.9967 47.4275C80.3902 47.6092 80.6892 47.8627 80.8935 48.1881C81.1054 48.506 81.2114 48.8655 81.2114 49.2666C81.2114 49.6753 81.1092 50.0234 80.9049 50.311C80.7081 50.5986 80.447 50.8181 80.1215 50.9695C80.5378 51.0981 80.8594 51.329 81.0865 51.662C81.3135 51.9874 81.4271 52.3696 81.4271 52.8086C81.4271 53.2627 81.306 53.66 81.0638 54.0006C80.8292 54.3411 80.4924 54.6098 80.0534 54.8066C79.6145 54.9958 79.0922 55.0904 78.4868 55.0904C77.8813 55.0904 77.3667 54.9882 76.9429 54.7839C76.519 54.572 76.1936 54.2844 75.9666 53.9211C75.7395 53.5578 75.6146 53.1529 75.5919 52.7064Z",fill:"#C4CBD3"}),w.createElement("path",{d:"M40.99 49.7943C40.99 50.8462 40.7007 51.7753 40.1222 52.5817C39.5612 53.3706 38.7548 53.9929 37.703 54.4487C36.6687 54.9045 35.4415 55.1324 34.0216 55.1324C31.9004 55.1324 30.2087 54.6591 28.9465 53.7124C27.6843 52.7658 27.0532 51.4685 27.0532 49.8206C27.0532 48.8214 27.3161 47.9361 27.842 47.1648C28.368 46.3934 29.1305 45.8587 30.1298 45.5607C29.3409 45.2101 28.7186 44.7017 28.2628 44.0356C27.807 43.3694 27.5791 42.5717 27.5791 41.6426C27.5791 40.7486 27.8245 39.9334 28.3154 39.1971C28.8062 38.4433 29.5337 37.8473 30.4979 37.409C31.4621 36.9532 32.6367 36.7253 34.0216 36.7253C35.4591 36.7253 36.6512 36.9444 37.5978 37.3827C38.5445 37.8034 39.2544 38.3907 39.7278 39.1445C40.2186 39.8808 40.4641 40.7135 40.4641 41.6426C40.4641 42.5717 40.2362 43.3694 39.7804 44.0356C39.3246 44.7017 38.7022 45.2101 37.9134 45.5607C38.8951 45.8587 39.6489 46.3934 40.1748 47.1648C40.7182 47.9361 40.99 48.8126 40.99 49.7943ZM31.2079 41.9582C31.2079 42.6594 31.4533 43.2204 31.9442 43.6411C32.4526 44.0443 33.1538 44.2459 34.0479 44.2459C34.9244 44.2459 35.6081 44.0356 36.0989 43.6148C36.5898 43.1941 36.8352 42.6331 36.8352 41.9319C36.8352 41.2131 36.581 40.6522 36.0726 40.2489C35.5818 39.8457 34.8893 39.6441 33.9953 39.6441C33.1187 39.6441 32.4351 39.8545 31.9442 40.2752C31.4533 40.6784 31.2079 41.2394 31.2079 41.9582ZM30.7346 49.6629C30.7346 50.4693 31.0238 51.1004 31.6024 51.5562C32.1809 51.9944 32.9785 52.2136 33.9953 52.2136C35.0471 52.2136 35.8623 51.9944 36.4408 51.5562C37.0193 51.1179 37.3086 50.4868 37.3086 49.6629C37.3086 48.8389 37.0193 48.1991 36.4408 47.7433C35.8623 47.2875 35.0559 47.0596 34.0216 47.0596C33.0048 47.0596 32.1984 47.2875 31.6024 47.7433C31.0238 48.1991 30.7346 48.8389 30.7346 49.6629ZM49.8414 54.8694H46.2126V54.1069C46.2126 52.7921 46.2739 51.6175 46.3966 50.5832C46.5369 49.5314 46.756 48.5409 47.054 47.6118C47.3521 46.6651 47.7553 45.7185 48.2637 44.7718C48.772 43.8077 49.4031 42.7646 50.157 41.6426L51.1825 40.1438H42.6889V36.9883H55.1795V40.1701L53.3913 42.7996C52.7077 43.7989 52.1379 44.7368 51.6821 45.6133C51.2263 46.4723 50.8582 47.3313 50.5777 48.1903C50.3147 49.0493 50.1219 49.9521 49.9992 50.8988C49.894 51.8454 49.8414 52.9148 49.8414 54.1069V54.8694Z",fill:"#00A4FD"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"})),"singleValueRadial.trend":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M8 55.498C8 49.3918 9.17229 43.3454 11.45 37.704C13.7276 32.0626 17.0661 26.9367 21.2746 22.619C25.4832 18.3013 30.4795 14.8762 35.9783 12.5395C41.4771 10.2028 47.3706 9.00005 53.3225 9.00005C59.2743 9.00005 65.1678 10.2028 70.6666 12.5395C76.1654 14.8762 81.1617 18.3013 85.3703 22.619C89.5788 26.9367 92.9173 32.0626 95.1949 37.704C97.4726 43.3454 98.6449 49.3918 98.6449 55.498L91.2637 55.498C91.2637 50.3863 90.2823 45.3246 88.3756 40.6019C86.4689 35.8793 83.6741 31.5882 80.151 27.9736C76.6278 24.3591 72.4452 21.4919 67.8419 19.5357C63.2387 17.5795 58.305 16.5727 53.3225 16.5727C48.3399 16.5727 43.4062 17.5795 38.803 19.5357C34.1997 21.4919 30.0171 24.3591 26.4939 27.9736C22.9707 31.5882 20.176 35.8793 18.2693 40.6019C16.3626 45.3246 15.3812 50.3863 15.3812 55.498L8 55.498Z",fill:"#C4CBD3",fillOpacity:"0.3"}),w.createElement("mask",{id:"path-3-outside-1_360:10760",maskUnits:"userSpaceOnUse",x:"6.99999",y:"7.99597",width:"61",height:"49",fill:"black"},w.createElement("rect",{fill:"white",x:"6.99999",y:"7.99597",width:"61",height:"49"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43886 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z"})),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43886 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",fill:"#C4CBD3"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43886 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",stroke:"#F2F4F5",strokeWidth:"1.0449",mask:"url(#path-3-outside-1_360:10760)"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M83.3698 58C85.6309 57.2371 88.3179 56.3663 91.7353 55.3797C91.7353 33.8834 74.7648 16.4572 53.8305 16.4572C32.8963 16.4572 15.9258 33.8834 15.9258 55.3797C19.3968 56.3473 22.2095 57.2219 24.6798 58H83.3698ZM68.1872 62H41.9984C45.4262 62.3311 49.5589 62.5 55 62.5C60.8904 62.5 64.9703 62.3417 68.1872 62Z",fill:"#F2F4F5"}),w.createElement("path",{d:"M60.1005 50.4937C59.9157 50.6785 59.6162 50.6785 59.4315 50.4937C59.2468 50.309 59.2468 50.0095 59.4315 49.8248L62.1762 47.0801C62.4532 46.803 62.9025 46.803 63.1796 47.0801L65.9242 49.8248C66.109 50.0095 66.109 50.309 65.9242 50.4937C65.7395 50.6785 65.44 50.6785 65.2553 50.4937L63.1508 48.3892V53.9646C63.1508 54.2259 62.939 54.4377 62.6778 54.4377C62.4165 54.4377 62.2048 54.2259 62.2048 53.9646V48.3894L60.1005 50.4937Z",fill:"#53A051"}),w.createElement("path",{d:"M69.0006 54.9769V54.2503C69.0006 53.66 69.1066 53.168 69.3185 52.7745C69.538 52.3809 69.8331 52.0442 70.204 51.7641C70.5748 51.4765 70.9911 51.2154 71.4527 50.9808C71.9068 50.7462 72.2474 50.5267 72.4744 50.3224C72.7015 50.1105 72.815 49.8304 72.815 49.4823C72.815 49.2023 72.7242 48.9714 72.5426 48.7898C72.3685 48.6006 72.1112 48.506 71.7706 48.506C71.4452 48.506 71.1803 48.6006 70.9759 48.7898C70.7716 48.9714 70.6467 49.225 70.6013 49.5504H69.0801C69.0952 49.2628 69.1595 48.979 69.2731 48.699C69.3866 48.419 69.5531 48.1616 69.7726 47.927C69.992 47.6848 70.2759 47.4956 70.624 47.3594C70.9721 47.2156 71.3846 47.1437 71.8614 47.1437C72.6561 47.1437 73.2842 47.348 73.7459 47.7567C74.2151 48.1654 74.4498 48.7179 74.4498 49.4142C74.4498 50.0348 74.2492 50.5494 73.8481 50.9581C73.447 51.3592 72.8869 51.7414 72.1679 52.1047C71.7744 52.3015 71.4452 52.5134 71.1803 52.7404C70.9229 52.9675 70.7527 53.2589 70.6694 53.6146H74.4725V54.9769H69.0006ZM75.5919 52.7064H77.1131C77.1813 53.0697 77.3326 53.3346 77.5672 53.5011C77.8019 53.66 78.1046 53.7395 78.4754 53.7395C78.8841 53.7395 79.202 53.6524 79.429 53.4783C79.6637 53.3043 79.781 53.047 79.781 52.7064C79.781 52.3582 79.6599 52.0934 79.4177 51.9117C79.1831 51.7225 78.8501 51.6279 78.4187 51.6279H77.4651V50.4245H78.43C78.8084 50.4245 79.096 50.3375 79.2928 50.1634C79.4972 49.9818 79.5993 49.7396 79.5993 49.4369C79.5993 49.1493 79.4972 48.9222 79.2928 48.7557C79.096 48.5817 78.8274 48.4946 78.4868 48.4946C77.7754 48.4946 77.3667 48.8201 77.2607 49.4709H75.7736C75.7887 49.0925 75.8947 48.7255 76.0914 48.3698C76.2882 48.0141 76.5871 47.7227 76.9883 47.4956C77.3894 47.261 77.9078 47.1437 78.5435 47.1437C79.1187 47.1437 79.6031 47.2383 79.9967 47.4275C80.3902 47.6092 80.6892 47.8627 80.8935 48.1881C81.1054 48.506 81.2114 48.8655 81.2114 49.2666C81.2114 49.6753 81.1092 50.0234 80.9049 50.311C80.7081 50.5986 80.447 50.8181 80.1215 50.9695C80.5378 51.0981 80.8594 51.329 81.0865 51.662C81.3135 51.9874 81.4271 52.3696 81.4271 52.8086C81.4271 53.2627 81.306 53.66 81.0638 54.0006C80.8292 54.3411 80.4924 54.6098 80.0534 54.8066C79.6145 54.9958 79.0922 55.0904 78.4868 55.0904C77.8813 55.0904 77.3667 54.9882 76.9429 54.7839C76.519 54.572 76.1936 54.2844 75.9666 53.9211C75.7395 53.5578 75.6146 53.1529 75.5919 52.7064Z",fill:"#53A051"}),w.createElement("path",{d:"M40.99 49.7943C40.99 50.8462 40.7007 51.7753 40.1222 52.5817C39.5612 53.3706 38.7548 53.9929 37.703 54.4487C36.6687 54.9045 35.4415 55.1324 34.0216 55.1324C31.9004 55.1324 30.2087 54.6591 28.9465 53.7124C27.6843 52.7658 27.0532 51.4685 27.0532 49.8206C27.0532 48.8214 27.3161 47.9361 27.842 47.1648C28.368 46.3934 29.1305 45.8587 30.1298 45.5607C29.3409 45.2101 28.7186 44.7017 28.2628 44.0356C27.807 43.3694 27.5791 42.5717 27.5791 41.6426C27.5791 40.7486 27.8245 39.9334 28.3154 39.1971C28.8062 38.4433 29.5337 37.8473 30.4979 37.409C31.4621 36.9532 32.6367 36.7253 34.0216 36.7253C35.4591 36.7253 36.6512 36.9444 37.5978 37.3827C38.5445 37.8034 39.2544 38.3907 39.7278 39.1445C40.2186 39.8808 40.4641 40.7135 40.4641 41.6426C40.4641 42.5717 40.2362 43.3694 39.7804 44.0356C39.3246 44.7017 38.7022 45.2101 37.9134 45.5607C38.8951 45.8587 39.6489 46.3934 40.1748 47.1648C40.7182 47.9361 40.99 48.8126 40.99 49.7943ZM31.2079 41.9582C31.2079 42.6594 31.4533 43.2204 31.9442 43.6411C32.4526 44.0443 33.1538 44.2459 34.0479 44.2459C34.9244 44.2459 35.6081 44.0356 36.0989 43.6148C36.5898 43.1941 36.8352 42.6331 36.8352 41.9319C36.8352 41.2131 36.581 40.6522 36.0726 40.2489C35.5818 39.8457 34.8893 39.6441 33.9953 39.6441C33.1187 39.6441 32.4351 39.8545 31.9442 40.2752C31.4533 40.6784 31.2079 41.2394 31.2079 41.9582ZM30.7346 49.6629C30.7346 50.4693 31.0238 51.1004 31.6024 51.5562C32.1809 51.9944 32.9785 52.2136 33.9953 52.2136C35.0471 52.2136 35.8623 51.9944 36.4408 51.5562C37.0193 51.1179 37.3086 50.4868 37.3086 49.6629C37.3086 48.8389 37.0193 48.1991 36.4408 47.7433C35.8623 47.2875 35.0559 47.0596 34.0216 47.0596C33.0048 47.0596 32.1984 47.2875 31.6024 47.7433C31.0238 48.1991 30.7346 48.8389 30.7346 49.6629ZM49.8414 54.8694H46.2126V54.1069C46.2126 52.7921 46.2739 51.6175 46.3966 50.5832C46.5369 49.5314 46.756 48.5409 47.054 47.6118C47.3521 46.6651 47.7553 45.7185 48.2637 44.7718C48.772 43.8077 49.4031 42.7646 50.157 41.6426L51.1825 40.1438H42.6889V36.9883H55.1795V40.1701L53.3913 42.7996C52.7077 43.7989 52.1379 44.7368 51.6821 45.6133C51.2263 46.4723 50.8582 47.3313 50.5777 48.1903C50.3147 49.0493 50.1219 49.9521 49.9992 50.8988C49.894 51.8454 49.8414 52.9148 49.8414 54.1069V54.8694Z",fill:"#C4CBD3"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"})),"singleValueRadial.background":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#00A4FD"}),w.createElement("path",{d:"M8 55.498C8 49.3918 9.17229 43.3454 11.45 37.704C13.7276 32.0626 17.0661 26.9367 21.2746 22.619C25.4832 18.3013 30.4795 14.8762 35.9783 12.5395C41.4771 10.2028 47.3706 9.00005 53.3225 9.00005C59.2743 9.00005 65.1678 10.2028 70.6666 12.5395C76.1654 14.8762 81.1617 18.3013 85.3703 22.619C89.5788 26.9367 92.9173 32.0626 95.1949 37.704C97.4726 43.3454 98.6449 49.3918 98.6449 55.498L91.2637 55.498C91.2637 50.3863 90.2823 45.3246 88.3756 40.6019C86.4689 35.8793 83.6741 31.5882 80.151 27.9736C76.6278 24.3591 72.4452 21.4919 67.8419 19.5357C63.2387 17.5795 58.305 16.5727 53.3225 16.5727C48.3399 16.5727 43.4062 17.5795 38.803 19.5357C34.1997 21.4919 30.0171 24.3591 26.4939 27.9736C22.9707 31.5882 20.176 35.8793 18.2693 40.6019C16.3626 45.3246 15.3812 50.3863 15.3812 55.498L8 55.498Z",fill:"white",fillOpacity:"0.3"}),w.createElement("mask",{id:"path-3-outside-1_360:10389",maskUnits:"userSpaceOnUse",x:"6.99999",y:"7.99597",width:"61",height:"49",fill:"black"},w.createElement("rect",{fill:"white",x:"6.99999",y:"7.99597",width:"61",height:"49"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43886 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z"})),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43886 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",fill:"white"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43886 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",stroke:"#00A4FD",strokeWidth:"1.0449",mask:"url(#path-3-outside-1_360:10389)"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M91.7031 57C91.7245 56.4626 91.7353 55.9224 91.7353 55.3797C91.7353 33.8834 74.7648 16.4572 53.8305 16.4572C32.8963 16.4572 15.9258 33.8834 15.9258 55.3797C15.9258 55.9224 15.9366 56.4626 15.958 57H91.7031Z",fill:"#00A4FD"}),w.createElement("path",{d:"M60.1005 50.4937C59.9157 50.6785 59.6162 50.6785 59.4315 50.4937C59.2468 50.309 59.2468 50.0095 59.4315 49.8248L62.1762 47.0801C62.4532 46.803 62.9025 46.803 63.1796 47.0801L65.9242 49.8248C66.109 50.0095 66.109 50.309 65.9242 50.4937C65.7395 50.6785 65.44 50.6785 65.2553 50.4937L63.1508 48.3892V53.9646C63.1508 54.2259 62.939 54.4377 62.6778 54.4377C62.4165 54.4377 62.2048 54.2259 62.2048 53.9646V48.3894L60.1005 50.4937Z",fill:"white"}),w.createElement("path",{d:"M69.0006 54.9769V54.2503C69.0006 53.66 69.1066 53.168 69.3185 52.7745C69.538 52.3809 69.8331 52.0442 70.204 51.7641C70.5748 51.4765 70.9911 51.2154 71.4527 50.9808C71.9068 50.7462 72.2474 50.5267 72.4744 50.3224C72.7015 50.1105 72.815 49.8304 72.815 49.4823C72.815 49.2023 72.7242 48.9714 72.5426 48.7898C72.3685 48.6006 72.1112 48.506 71.7706 48.506C71.4452 48.506 71.1803 48.6006 70.9759 48.7898C70.7716 48.9714 70.6467 49.225 70.6013 49.5504H69.0801C69.0952 49.2628 69.1595 48.979 69.2731 48.699C69.3866 48.419 69.5531 48.1616 69.7726 47.927C69.992 47.6848 70.2759 47.4956 70.624 47.3594C70.9721 47.2156 71.3846 47.1437 71.8614 47.1437C72.6561 47.1437 73.2842 47.348 73.7459 47.7567C74.2151 48.1654 74.4498 48.7179 74.4498 49.4142C74.4498 50.0348 74.2492 50.5494 73.8481 50.9581C73.447 51.3592 72.8869 51.7414 72.1679 52.1047C71.7744 52.3015 71.4452 52.5134 71.1803 52.7404C70.9229 52.9675 70.7527 53.2589 70.6694 53.6146H74.4725V54.9769H69.0006ZM75.5919 52.7064H77.1131C77.1813 53.0697 77.3326 53.3346 77.5672 53.5011C77.8019 53.66 78.1046 53.7395 78.4754 53.7395C78.8841 53.7395 79.202 53.6524 79.429 53.4783C79.6637 53.3043 79.781 53.047 79.781 52.7064C79.781 52.3582 79.6599 52.0934 79.4177 51.9117C79.1831 51.7225 78.8501 51.6279 78.4187 51.6279H77.4651V50.4245H78.43C78.8084 50.4245 79.096 50.3375 79.2928 50.1634C79.4972 49.9818 79.5993 49.7396 79.5993 49.4369C79.5993 49.1493 79.4972 48.9222 79.2928 48.7557C79.096 48.5817 78.8274 48.4946 78.4868 48.4946C77.7754 48.4946 77.3667 48.8201 77.2607 49.4709H75.7736C75.7887 49.0925 75.8947 48.7255 76.0914 48.3698C76.2882 48.0141 76.5871 47.7227 76.9883 47.4956C77.3894 47.261 77.9078 47.1437 78.5435 47.1437C79.1187 47.1437 79.6031 47.2383 79.9967 47.4275C80.3902 47.6092 80.6892 47.8627 80.8935 48.1881C81.1054 48.506 81.2114 48.8655 81.2114 49.2666C81.2114 49.6753 81.1092 50.0234 80.9049 50.311C80.7081 50.5986 80.447 50.8181 80.1215 50.9695C80.5378 51.0981 80.8594 51.329 81.0865 51.662C81.3135 51.9874 81.4271 52.3696 81.4271 52.8086C81.4271 53.2627 81.306 53.66 81.0638 54.0006C80.8292 54.3411 80.4924 54.6098 80.0534 54.8066C79.6145 54.9958 79.0922 55.0904 78.4868 55.0904C77.8813 55.0904 77.3667 54.9882 76.9429 54.7839C76.519 54.572 76.1936 54.2844 75.9666 53.9211C75.7395 53.5578 75.6146 53.1529 75.5919 52.7064Z",fill:"white"}),w.createElement("path",{d:"M40.99 49.7943C40.99 50.8462 40.7007 51.7753 40.1222 52.5817C39.5612 53.3706 38.7548 53.9929 37.703 54.4487C36.6687 54.9045 35.4415 55.1324 34.0216 55.1324C31.9004 55.1324 30.2087 54.6591 28.9465 53.7124C27.6843 52.7658 27.0532 51.4685 27.0532 49.8206C27.0532 48.8214 27.3161 47.9361 27.842 47.1648C28.368 46.3934 29.1305 45.8587 30.1298 45.5607C29.3409 45.2101 28.7186 44.7017 28.2628 44.0356C27.807 43.3694 27.5791 42.5717 27.5791 41.6426C27.5791 40.7486 27.8245 39.9334 28.3154 39.1971C28.8062 38.4433 29.5337 37.8473 30.4979 37.409C31.4621 36.9532 32.6367 36.7253 34.0216 36.7253C35.4591 36.7253 36.6512 36.9444 37.5978 37.3827C38.5445 37.8034 39.2544 38.3907 39.7278 39.1445C40.2186 39.8808 40.4641 40.7135 40.4641 41.6426C40.4641 42.5717 40.2362 43.3694 39.7804 44.0356C39.3246 44.7017 38.7022 45.2101 37.9134 45.5607C38.8951 45.8587 39.6489 46.3934 40.1748 47.1648C40.7182 47.9361 40.99 48.8126 40.99 49.7943ZM31.2079 41.9582C31.2079 42.6594 31.4533 43.2204 31.9442 43.6411C32.4526 44.0443 33.1538 44.2459 34.0479 44.2459C34.9244 44.2459 35.6081 44.0356 36.0989 43.6148C36.5898 43.1941 36.8352 42.6331 36.8352 41.9319C36.8352 41.2131 36.581 40.6522 36.0726 40.2489C35.5818 39.8457 34.8893 39.6441 33.9953 39.6441C33.1187 39.6441 32.4351 39.8545 31.9442 40.2752C31.4533 40.6784 31.2079 41.2394 31.2079 41.9582ZM30.7346 49.6629C30.7346 50.4693 31.0238 51.1004 31.6024 51.5562C32.1809 51.9944 32.9785 52.2136 33.9953 52.2136C35.0471 52.2136 35.8623 51.9944 36.4408 51.5562C37.0193 51.1179 37.3086 50.4868 37.3086 49.6629C37.3086 48.8389 37.0193 48.1991 36.4408 47.7433C35.8623 47.2875 35.0559 47.0596 34.0216 47.0596C33.0048 47.0596 32.1984 47.2875 31.6024 47.7433C31.0238 48.1991 30.7346 48.8389 30.7346 49.6629ZM49.8414 54.8694H46.2126V54.1069C46.2126 52.7921 46.2739 51.6175 46.3966 50.5832C46.5369 49.5314 46.756 48.5409 47.054 47.6118C47.3521 46.6651 47.7553 45.7185 48.2637 44.7718C48.772 43.8077 49.4031 42.7646 50.157 41.6426L51.1825 40.1438H42.6889V36.9883H55.1795V40.1701L53.3913 42.7996C52.7077 43.7989 52.1379 44.7368 51.6821 45.6133C51.2263 46.4723 50.8582 47.3313 50.5777 48.1903C50.3147 49.0493 50.1219 49.9521 49.9992 50.8988C49.894 51.8454 49.8414 52.9148 49.8414 54.1069V54.8694Z",fill:"white"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"})),"singleValueRadial.majorValueAndTrend":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M8 55.498C8 49.3918 9.17229 43.3454 11.45 37.704C13.7276 32.0626 17.0661 26.9367 21.2746 22.619C25.4832 18.3013 30.4795 14.8762 35.9783 12.5395C41.4771 10.2028 47.3706 9.00005 53.3225 9.00005C59.2743 9.00005 65.1678 10.2028 70.6666 12.5395C76.1654 14.8762 81.1617 18.3013 85.3703 22.619C89.5788 26.9367 92.9173 32.0626 95.1949 37.704C97.4726 43.3454 98.6449 49.3918 98.6449 55.498L91.2637 55.498C91.2637 50.3863 90.2823 45.3246 88.3756 40.6019C86.4689 35.8793 83.6742 31.5882 80.151 27.9736C76.6278 24.3591 72.4452 21.4919 67.8419 19.5357C63.2387 17.5795 58.305 16.5727 53.3225 16.5727C48.3399 16.5727 43.4062 17.5795 38.803 19.5357C34.1997 21.4919 30.0171 24.3591 26.4939 27.9736C22.9707 31.5882 20.176 35.8793 18.2693 40.6019C16.3626 45.3246 15.3812 50.3863 15.3812 55.498L8 55.498Z",fill:"#C4CBD3",fillOpacity:"0.3"}),w.createElement("mask",{id:"path-3-outside-1_360:10722",maskUnits:"userSpaceOnUse",x:"6.99999",y:"7.99597",width:"61",height:"49",fill:"black"},w.createElement("rect",{fill:"white",x:"6.99999",y:"7.99597",width:"61",height:"49"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43885 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z"})),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43885 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",fill:"#00A4FD"}),w.createElement("path",{d:"M8 55.498C7.99999 48.2228 9.66396 41.0491 12.8581 34.5538C16.0522 28.0584 20.6874 22.4226 26.3909 18.0996C32.0945 13.7765 38.7072 10.8868 45.6974 9.66284C52.6875 8.43885 59.8601 8.91474 66.6384 11.0522L53.3224 55.498L8 55.498Z",stroke:"#F2F4F5",strokeWidth:"1.0449",mask:"url(#path-3-outside-1_360:10722)"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M91.7031 57C91.7245 56.4626 91.7353 55.9224 91.7353 55.3797C91.7353 33.8834 74.7648 16.4572 53.8305 16.4572C32.8963 16.4572 15.9258 33.8834 15.9258 55.3797C15.9258 55.9224 15.9366 56.4626 15.958 57H91.7031Z",fill:"#F2F4F5"}),w.createElement("path",{d:"M60.1005 50.4937C59.9157 50.6785 59.6162 50.6785 59.4315 50.4937C59.2468 50.309 59.2468 50.0095 59.4315 49.8248L62.1762 47.0801C62.4532 46.803 62.9025 46.803 63.1796 47.0801L65.9242 49.8248C66.109 50.0095 66.109 50.309 65.9242 50.4937C65.7395 50.6785 65.44 50.6785 65.2553 50.4937L63.1508 48.3892V53.9646C63.1508 54.2259 62.939 54.4377 62.6778 54.4377C62.4165 54.4377 62.2048 54.2259 62.2048 53.9646V48.3894L60.1005 50.4937Z",fill:"#53A051"}),w.createElement("path",{d:"M69.0006 54.9769V54.2503C69.0006 53.66 69.1066 53.168 69.3185 52.7745C69.538 52.3809 69.8331 52.0442 70.204 51.7641C70.5748 51.4765 70.9911 51.2154 71.4527 50.9808C71.9068 50.7462 72.2474 50.5267 72.4744 50.3224C72.7015 50.1105 72.815 49.8304 72.815 49.4823C72.815 49.2023 72.7242 48.9714 72.5426 48.7898C72.3685 48.6006 72.1112 48.506 71.7706 48.506C71.4452 48.506 71.1803 48.6006 70.9759 48.7898C70.7716 48.9714 70.6467 49.225 70.6013 49.5504H69.0801C69.0952 49.2628 69.1595 48.979 69.2731 48.699C69.3866 48.419 69.5531 48.1616 69.7726 47.927C69.992 47.6848 70.2759 47.4956 70.624 47.3594C70.9721 47.2156 71.3846 47.1437 71.8614 47.1437C72.6561 47.1437 73.2842 47.348 73.7459 47.7567C74.2151 48.1654 74.4498 48.7179 74.4498 49.4142C74.4498 50.0348 74.2492 50.5494 73.8481 50.9581C73.447 51.3592 72.8869 51.7414 72.1679 52.1047C71.7744 52.3015 71.4452 52.5134 71.1803 52.7404C70.9229 52.9675 70.7527 53.2589 70.6694 53.6146H74.4725V54.9769H69.0006ZM75.5919 52.7064H77.1131C77.1813 53.0697 77.3326 53.3346 77.5672 53.5011C77.8019 53.66 78.1046 53.7395 78.4754 53.7395C78.8841 53.7395 79.202 53.6524 79.429 53.4783C79.6637 53.3043 79.781 53.047 79.781 52.7064C79.781 52.3582 79.6599 52.0934 79.4177 51.9117C79.1831 51.7225 78.8501 51.6279 78.4187 51.6279H77.4651V50.4245H78.43C78.8084 50.4245 79.096 50.3375 79.2928 50.1634C79.4972 49.9818 79.5993 49.7396 79.5993 49.4369C79.5993 49.1493 79.4972 48.9222 79.2928 48.7557C79.096 48.5817 78.8274 48.4946 78.4868 48.4946C77.7754 48.4946 77.3667 48.8201 77.2607 49.4709H75.7736C75.7887 49.0925 75.8947 48.7255 76.0914 48.3698C76.2882 48.0141 76.5871 47.7227 76.9883 47.4956C77.3894 47.261 77.9078 47.1437 78.5435 47.1437C79.1187 47.1437 79.6031 47.2383 79.9967 47.4275C80.3902 47.6092 80.6892 47.8627 80.8935 48.1881C81.1054 48.506 81.2114 48.8655 81.2114 49.2666C81.2114 49.6753 81.1092 50.0234 80.9049 50.311C80.7081 50.5986 80.447 50.8181 80.1215 50.9695C80.5378 51.0981 80.8594 51.329 81.0865 51.662C81.3135 51.9874 81.4271 52.3696 81.4271 52.8086C81.4271 53.2627 81.306 53.66 81.0638 54.0006C80.8292 54.3411 80.4924 54.6098 80.0534 54.8066C79.6145 54.9958 79.0922 55.0904 78.4868 55.0904C77.8813 55.0904 77.3667 54.9882 76.9429 54.7839C76.519 54.572 76.1936 54.2844 75.9666 53.9211C75.7395 53.5578 75.6146 53.1529 75.5919 52.7064Z",fill:"#53A051"}),w.createElement("path",{d:"M40.99 49.7943C40.99 50.8462 40.7007 51.7753 40.1222 52.5817C39.5612 53.3706 38.7548 53.9929 37.703 54.4487C36.6687 54.9045 35.4415 55.1324 34.0216 55.1324C31.9004 55.1324 30.2087 54.6591 28.9465 53.7124C27.6843 52.7658 27.0532 51.4685 27.0532 49.8206C27.0532 48.8214 27.3161 47.9361 27.842 47.1648C28.368 46.3934 29.1305 45.8587 30.1298 45.5607C29.3409 45.2101 28.7186 44.7017 28.2628 44.0356C27.807 43.3694 27.5791 42.5717 27.5791 41.6426C27.5791 40.7486 27.8245 39.9334 28.3154 39.1971C28.8062 38.4433 29.5337 37.8473 30.4979 37.409C31.4621 36.9532 32.6367 36.7253 34.0216 36.7253C35.4591 36.7253 36.6512 36.9444 37.5978 37.3827C38.5445 37.8034 39.2544 38.3907 39.7278 39.1445C40.2186 39.8808 40.4641 40.7135 40.4641 41.6426C40.4641 42.5717 40.2362 43.3694 39.7804 44.0356C39.3246 44.7017 38.7022 45.2101 37.9134 45.5607C38.8951 45.8587 39.6489 46.3934 40.1748 47.1648C40.7182 47.9361 40.99 48.8126 40.99 49.7943ZM31.2079 41.9582C31.2079 42.6594 31.4533 43.2204 31.9442 43.6411C32.4526 44.0443 33.1538 44.2459 34.0479 44.2459C34.9244 44.2459 35.6081 44.0356 36.0989 43.6148C36.5898 43.1941 36.8352 42.6331 36.8352 41.9319C36.8352 41.2131 36.581 40.6522 36.0726 40.2489C35.5818 39.8457 34.8893 39.6441 33.9953 39.6441C33.1187 39.6441 32.4351 39.8545 31.9442 40.2752C31.4533 40.6784 31.2079 41.2394 31.2079 41.9582ZM30.7346 49.6629C30.7346 50.4693 31.0238 51.1004 31.6024 51.5562C32.1809 51.9944 32.9785 52.2136 33.9953 52.2136C35.0471 52.2136 35.8623 51.9944 36.4408 51.5562C37.0193 51.1179 37.3086 50.4868 37.3086 49.6629C37.3086 48.8389 37.0193 48.1991 36.4408 47.7433C35.8623 47.2875 35.0559 47.0596 34.0216 47.0596C33.0048 47.0596 32.1984 47.2875 31.6024 47.7433C31.0238 48.1991 30.7346 48.8389 30.7346 49.6629ZM49.8414 54.8694H46.2126V54.1069C46.2126 52.7921 46.2739 51.6175 46.3966 50.5832C46.5369 49.5314 46.756 48.5409 47.054 47.6118C47.3521 46.6651 47.7553 45.7185 48.2637 44.7718C48.772 43.8077 49.4031 42.7646 50.157 41.6426L51.1825 40.1438H42.6889V36.9883H55.1795V40.1701L53.3913 42.7996C52.7077 43.7989 52.1379 44.7368 51.6821 45.6133C51.2263 46.4723 50.8582 47.3313 50.5777 48.1903C50.3147 49.0493 50.1219 49.9521 49.9992 50.8988C49.894 51.8454 49.8414 52.9148 49.8414 54.1069V54.8694Z",fill:"#00A4FD"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}))},q=e=>function(){return w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("path",h({d:"M107.5 32C107.5 40.5888 101.622 48.4531 91.9289 54.1973C82.2464 59.935 68.8377 63.5 54 63.5C39.1623 63.5 25.7536 59.935 16.0711 54.1973C6.37777 48.4531 0.5 40.5888 0.5 32C0.5 23.4112 6.37777 15.5469 16.0711 9.80273C25.7536 4.065 39.1623 0.5 54 0.5C68.8377 0.5 82.2464 4.065 91.9289 9.80273C101.622 15.5469 107.5 23.4112 107.5 32Z"},e)))},X={"ellipse.none":q({fill:"#F2F4F5",stroke:"#C3CBD4"}),"ellipse.fill":q({fill:"#00A4FD"}),"ellipse.stroke":q({fill:"#F2F4F5",stroke:"#00A4FD"}),"ellipse.fillAndStroke":q({fill:"#00A4FD",stroke:"#00A4FD"})},V=e=>function(){return w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",h({x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5"},e)))},U={"rectangle.none":V({fill:"#F2F4F5",stroke:"#C3CBD4"}),"rectangle.fill":V({stroke:"#C3CBD4",fill:"#00A4FD"}),"rectangle.stroke":V({stroke:"#00A4FD",fill:"#F2F4F5"}),"rectangle.fillAndStroke":V({stroke:"#00A4FD",fill:"#00A4FD"})},$={"fillerGauge.none":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M69.576 27.1135C68.63 27.1135 67.8807 26.7994 67.3282 26.1713C66.7757 25.5431 66.4995 24.6349 66.4995 23.4467C66.4995 22.6142 66.6471 21.8763 66.9423 21.233C67.2374 20.5897 67.6802 20.0864 68.2705 19.7231C68.8608 19.3523 69.6025 19.1668 70.4956 19.1668C70.9345 19.1668 71.3054 19.2122 71.6081 19.3031V20.5291H70.8361C69.9204 20.5291 69.2468 20.7259 68.8154 21.1194C68.384 21.513 68.1343 22.0731 68.0661 22.7996C68.2705 22.512 68.5392 22.2963 68.8722 22.1525C69.2052 22.0087 69.5495 21.9368 69.9052 21.9368C70.4047 21.9368 70.8399 22.039 71.2108 22.2433C71.5816 22.4477 71.8692 22.7353 72.0735 23.1061C72.2779 23.477 72.3801 23.9084 72.3801 24.4003C72.3801 24.9149 72.2703 25.3804 72.0508 25.7966C71.8314 26.2053 71.5097 26.527 71.0859 26.7616C70.6696 26.9962 70.1663 27.1135 69.576 27.1135ZM69.5306 25.7626C69.9317 25.7626 70.242 25.6453 70.4615 25.4107C70.6885 25.1685 70.8021 24.8506 70.8021 24.4571C70.8021 24.0786 70.6885 23.7721 70.4615 23.5375C70.2345 23.3029 69.9242 23.1856 69.5306 23.1856C69.1371 23.1856 68.8154 23.3029 68.5656 23.5375C68.3235 23.7721 68.2024 24.09 68.2024 24.4911C68.2024 24.862 68.3235 25.1685 68.5656 25.4107C68.8154 25.6453 69.1371 25.7626 69.5306 25.7626ZM76.576 27H75.0094V26.6708C75.0094 26.1032 75.0359 25.5961 75.0888 25.1496C75.1494 24.6955 75.244 24.2679 75.3727 23.8667C75.5013 23.458 75.6754 23.0494 75.8949 22.6407C76.1144 22.2244 76.3868 21.7741 76.7122 21.2897L77.155 20.6426H73.4882V19.2804H78.8806V20.654L78.1086 21.7892C77.8134 22.2206 77.5675 22.6255 77.3707 23.0039C77.1739 23.3748 77.015 23.7456 76.8939 24.1165C76.7804 24.4873 76.6971 24.8771 76.6441 25.2858C76.5987 25.6945 76.576 26.1561 76.576 26.6708V27Z",fill:"#C4CBD3"}),w.createElement("rect",{x:"8",y:"33",width:"92",height:"15",fill:"#C4CBD3",fillOpacity:"0.3"}),w.createElement("rect",{x:"8",y:"33",width:"65",height:"15",fill:"#C4CBD3"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"})),"fillerGauge.gauge":()=>w.createElement("svg",{width:"108",height:"64",viewBox:"0 0 108 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",fill:"#F2F4F5"}),w.createElement("path",{d:"M69.576 27.1135C68.63 27.1135 67.8807 26.7994 67.3282 26.1713C66.7757 25.5431 66.4995 24.6349 66.4995 23.4467C66.4995 22.6142 66.6471 21.8763 66.9423 21.233C67.2374 20.5897 67.6802 20.0864 68.2705 19.7231C68.8608 19.3523 69.6025 19.1668 70.4956 19.1668C70.9345 19.1668 71.3054 19.2122 71.6081 19.3031V20.5291H70.8361C69.9204 20.5291 69.2468 20.7259 68.8154 21.1194C68.384 21.513 68.1343 22.0731 68.0661 22.7996C68.2705 22.512 68.5392 22.2963 68.8722 22.1525C69.2052 22.0087 69.5495 21.9368 69.9052 21.9368C70.4047 21.9368 70.8399 22.039 71.2108 22.2433C71.5816 22.4477 71.8692 22.7353 72.0735 23.1061C72.2779 23.477 72.3801 23.9084 72.3801 24.4003C72.3801 24.9149 72.2703 25.3804 72.0508 25.7966C71.8314 26.2053 71.5097 26.527 71.0859 26.7616C70.6696 26.9962 70.1663 27.1135 69.576 27.1135ZM69.5306 25.7626C69.9317 25.7626 70.242 25.6453 70.4615 25.4107C70.6885 25.1685 70.8021 24.8506 70.8021 24.4571C70.8021 24.0786 70.6885 23.7721 70.4615 23.5375C70.2345 23.3029 69.9242 23.1856 69.5306 23.1856C69.1371 23.1856 68.8154 23.3029 68.5656 23.5375C68.3235 23.7721 68.2024 24.09 68.2024 24.4911C68.2024 24.862 68.3235 25.1685 68.5656 25.4107C68.8154 25.6453 69.1371 25.7626 69.5306 25.7626ZM76.576 27H75.0094V26.6708C75.0094 26.1032 75.0359 25.5961 75.0888 25.1496C75.1494 24.6955 75.244 24.2679 75.3727 23.8667C75.5013 23.458 75.6754 23.0494 75.8949 22.6407C76.1144 22.2244 76.3868 21.7741 76.7122 21.2897L77.155 20.6426H73.4882V19.2804H78.8806V20.654L78.1086 21.7892C77.8134 22.2206 77.5675 22.6255 77.3707 23.0039C77.1739 23.3748 77.015 23.7456 76.8939 24.1165C76.7804 24.4873 76.6971 24.8771 76.6441 25.2858C76.5987 25.6945 76.576 26.1561 76.576 26.6708V27Z",fill:"#C4CBD3"}),w.createElement("rect",{x:"8",y:"33",width:"92",height:"15",fill:"#C4CBD3",fillOpacity:"0.3"}),w.createElement("rect",{x:"8",y:"33",width:"65",height:"15",fill:"#00A4FD"}),w.createElement("rect",{x:"0.5",y:"0.5",width:"107",height:"63",rx:"2.5",stroke:"#C3CBD4"}))},G=h(h(h(h(h(h({},X),$),R),W),H),U),K={};b(K,{default:()=>Z});var J=_(n(71732));v(K,n(71732));var Z="default"in J?J.default:J,Q=e=>w.createElement(Z,y(h({},e),{screenReaderText:null})),ee={};b(ee,{default:()=>ne});var te=_(n(53253));v(ee,n(53253));var ne="default"in te?te.default:te,re=e=>w.createElement(ne,y(h({},e),{screenReaderText:null})),ae={};b(ae,{default:()=>ie});var oe=_(n(75717));v(ae,n(75717));var ie="default"in oe?oe.default:oe,le=e=>w.createElement(ie,y(h({},e),{screenReaderText:null}));function se(e){return x.createElement(E,h({viewBox:"0 0 24 24"},e),x.createElement("circle",{cx:"3.5",cy:"3.5",r:"0.5",fill:"currentColor"}),x.createElement("circle",{cx:"9.5",cy:"3.5",r:"0.5",transform:"rotate(-180 9.5 3.5)",fill:"currentColor"}),x.createElement("circle",{cx:"15.5",cy:"3.5",r:"1.5",transform:"rotate(-180 15.5 3.5)",fill:"currentColor"}),x.createElement("circle",{r:"1.5",transform:"matrix(-1 0 0 1 21.5 3.5)",fill:"currentColor"}),x.createElement("circle",{r:"0.5",transform:"matrix(-1 0 0 1 3.5 9.5)",fill:"currentColor"}),x.createElement("circle",{cx:"9.5",cy:"9.5",r:"1.5",fill:"currentColor"}),x.createElement("circle",{cx:"15.5",cy:"9.5",r:"1.5",fill:"currentColor"}),x.createElement("circle",{r:"2.5",transform:"matrix(-1 0 0 1 21.5 9.5)",fill:"currentColor"}),x.createElement("circle",{r:"1.5",transform:"matrix(-1 0 0 1 3.5 15.5)",fill:"currentColor"}),x.createElement("circle",{cx:"9.5",cy:"15.5",r:"0.5",transform:"rotate(-180 9.5 15.5)",fill:"currentColor"}),x.createElement("circle",{cx:"15.5",cy:"15.5",r:"1.5",fill:"currentColor"}),x.createElement("circle",{cx:"21.5",cy:"15.5",r:"1.5",fill:"currentColor"}),x.createElement("circle",{r:"0.5",transform:"matrix(-1 0 0 1 3.5 21.5)",fill:"currentColor"}),x.createElement("circle",{cx:"9.5",cy:"21.5",r:"0.5",fill:"currentColor"}),x.createElement("circle",{cx:"15.5",cy:"21.5",r:"2.5",fill:"currentColor"}),x.createElement("circle",{cx:"21.5",cy:"21.5",r:"1.5",fill:"currentColor"}))}var ue=e=>w.createElement(E,h({screenReaderText:(0,j._)("Remove"),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e),w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.66667 4.00016V2.66683H9.33333V4.00016H6.66667ZM11.3333 4.00016H10.6667V2.3335C10.6667 1.78121 10.219 1.3335 9.66667 1.3335H6.33333C5.78105 1.3335 5.33333 1.78121 5.33333 2.3335V4.00016H4.66667H3.33333H2.66667C2.29848 4.00016 2 4.29864 2 4.66683C2 5.03502 2.29848 5.3335 2.66667 5.3335H3.33333V13.6668C3.33333 14.2191 3.78105 14.6668 4.33333 14.6668H11.6667C12.219 14.6668 12.6667 14.2191 12.6667 13.6668V5.3335H13.3333C13.7015 5.3335 14 5.03502 14 4.66683C14 4.29864 13.7015 4.00016 13.3333 4.00016H12.6667H11.3333ZM8 8.39077L7.13807 7.52884C6.87772 7.26849 6.45561 7.26849 6.19526 7.52884C5.93491 7.78919 5.93491 8.2113 6.19526 8.47165L7.05719 9.33358L6.19526 10.1955C5.93491 10.4559 5.93491 10.878 6.19526 11.1383C6.45561 11.3987 6.87772 11.3987 7.13807 11.1383L8 10.2764L8.86193 11.1383C9.12228 11.3987 9.54439 11.3987 9.80474 11.1383C10.0651 10.878 10.0651 10.4559 9.80474 10.1955L8.94281 9.33358L9.80474 8.47165C10.0651 8.2113 10.0651 7.78919 9.80474 7.52884C9.54439 7.26849 9.12228 7.26849 8.86193 7.52884L8 8.39077Z",fill:"#818D99"})),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"16",height:"16",fill:"white"})))),ce=()=>w.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.createElement("g",{clipPath:"url(#clip0)"},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.83008 11.0587L2.90476 9.13335C2.64506 8.87365 2.224 8.87365 1.96431 9.13335C1.70461 9.39305 1.70461 9.8141 1.96431 10.0738L5.02385 13.1334C5.1542 13.2637 5.32519 13.3286 5.49603 13.3281C5.66687 13.3286 5.83787 13.2637 5.96821 13.1334L9.02776 10.0738C9.28746 9.8141 9.28746 9.39305 9.02776 9.13335C8.76806 8.87365 8.34701 8.87365 8.08731 9.13335L6.16008 11.0606L6.16008 3.33102C6.16008 2.96375 5.86235 2.66602 5.49508 2.66602C5.12781 2.66602 4.83008 2.96375 4.83008 3.33102L4.83008 11.0587Z",fill:"#3C444D"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8306 4.93547L9.90525 6.86079C9.64555 7.12049 9.22449 7.12049 8.96479 6.86079C8.70509 6.60109 8.70509 6.18004 8.96479 5.92034L12.0243 2.86079C12.1547 2.73044 12.3257 2.66552 12.4965 2.66602C12.6674 2.66552 12.8384 2.73044 12.9687 2.86079L16.0282 5.92034C16.2879 6.18004 16.2879 6.60109 16.0282 6.86079C15.7685 7.12049 15.3475 7.12049 15.0878 6.86079L13.1606 4.93356L13.1606 12.6631C13.1606 13.0304 12.8628 13.3281 12.4956 13.3281C12.1283 13.3281 11.8306 13.0304 11.8306 12.6631L11.8306 4.93547Z",fill:"#3C444D"})),w.createElement("defs",null,w.createElement("clipPath",{id:"clip0"},w.createElement("rect",{width:"16",height:"15.9993",fill:"white",transform:"matrix(1 0 0 -1 0 15.9994)"})))),de=e=>w.createElement(E,h({viewBox:"0 0 20 18"},e),w.createElement("path",{d:"M10.8333 3.99996C11.7538 3.99996 12.5 3.25377 12.5 2.33329C12.5 1.41282 11.7538 0.666626 10.8333 0.666626C9.91286 0.666626 9.16667 1.41282 9.16667 2.33329C9.16667 3.25377 9.91286 3.99996 10.8333 3.99996Z",fill:"currentColor"}),w.createElement("path",{d:"M9.16667 8.99996C10.0871 8.99996 10.8333 8.25377 10.8333 7.33329C10.8333 6.41282 10.0871 5.66663 9.16667 5.66663C8.24619 5.66663 7.5 6.41282 7.5 7.33329C7.5 8.25377 8.24619 8.99996 9.16667 8.99996Z",fill:"currentColor"}),w.createElement("path",{d:"M13.3333 10.6666C13.3333 11.5871 12.5871 12.3333 11.6667 12.3333C10.7462 12.3333 10 11.5871 10 10.6666C10 9.74615 10.7462 8.99996 11.6667 8.99996C11.6667 8.07948 12.4129 7.33329 13.3333 7.33329C14.2538 7.33329 15 8.07948 15 8.99996C15 9.92043 14.2538 10.6666 13.3333 10.6666Z",fill:"currentColor"}),w.createElement("path",{d:"M10.8333 13.1666C10.8333 14.0871 10.0871 14.8333 9.16667 14.8333C8.24619 14.8333 7.5 14.0871 7.5 13.1666C7.5 12.2462 8.24619 11.5 9.16667 11.5C10.0871 11.5 10.8333 12.2462 10.8333 13.1666Z",fill:"currentColor"}),w.createElement("path",{d:"M5 14.8333C5 15.7538 4.25381 16.5 3.33333 16.5C2.41286 16.5 1.66667 15.7538 1.66667 14.8333C1.66667 13.9128 2.41286 13.1666 3.33333 13.1666C4.25381 13.1666 5 13.9128 5 14.8333Z",fill:"currentColor"}),w.createElement("path",{d:"M13.3333 17.3333C14.2538 17.3333 15 16.5871 15 15.6666C15 14.7462 14.2538 14 13.3333 14C12.4129 14 11.6667 14.7462 11.6667 15.6666C11.6667 16.5871 12.4129 17.3333 13.3333 17.3333Z",fill:"currentColor"}),w.createElement("path",{d:"M7.5 9.83329C7.5 10.7538 6.75381 11.5 5.83333 11.5C4.91286 11.5 4.16667 10.7538 4.16667 9.83329C4.16667 8.91282 4.91286 8.16663 5.83333 8.16663C6.75381 8.16663 7.5 8.91282 7.5 9.83329Z",fill:"currentColor"}),w.createElement("path",{d:"M20 12.3333C20 13.2538 19.2538 14 18.3333 14C17.4129 14 16.6667 13.2538 16.6667 12.3333C16.6667 11.4128 17.4129 10.6666 18.3333 10.6666C19.2538 10.6666 20 11.4128 20 12.3333Z",fill:"currentColor"}),w.createElement("path",{d:"M16.6667 8.16663C17.5871 8.16663 18.3333 7.42043 18.3333 6.49996C18.3333 5.57948 17.5871 4.83329 16.6667 4.83329C15.7462 4.83329 15 5.57948 15 6.49996C15 7.42043 15.7462 8.16663 16.6667 8.16663Z",fill:"currentColor"}),w.createElement("path",{d:"M1.66667 8.16663C2.58714 8.16663 3.33333 7.42043 3.33333 6.49996C3.33333 5.57948 2.58714 4.83329 1.66667 4.83329C0.746192 4.83329 0 5.57948 0 6.49996C0 7.42043 0.746192 8.16663 1.66667 8.16663Z",fill:"currentColor"})),fe=e=>w.createElement(E,h({viewBox:"0 0 20 17"},e),w.createElement("path",{d:"M9.99967 2.50004C5.85754 2.50004 2.49967 5.85791 2.49967 10C2.49967 11.5437 2.96515 12.9762 3.76326 14.1678C4.04016 14.5812 4.35715 14.9657 4.70871 15.3156C5.03489 15.6403 5.03611 16.168 4.71143 16.4942C4.38674 16.8203 3.85911 16.8216 3.53292 16.4969C3.10383 16.0698 2.71677 15.6003 2.3785 15.0953C1.40234 13.6378 0.833008 11.8842 0.833008 10C0.833008 4.93743 4.93706 0.833374 9.99967 0.833374C15.0623 0.833374 19.1663 4.93743 19.1663 10C19.1663 11.8869 18.5953 13.643 17.6166 15.1017C17.2806 15.6024 16.8966 16.068 16.4713 16.492C16.1454 16.8169 15.6177 16.8161 15.2928 16.4902C14.9679 16.1642 14.9687 15.6366 15.2946 15.3117C15.6431 14.9643 15.9576 14.5829 16.2326 14.173C17.0328 12.9804 17.4997 11.546 17.4997 10C17.4997 5.85791 14.1418 2.50004 9.99967 2.50004Z",fill:"currentColor"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2089 5.83998C12.6655 5.89744 12.9891 6.31419 12.9317 6.77083L12.8399 7.50004H13.333C13.7932 7.50004 14.1663 7.87314 14.1663 8.33337C14.1663 8.79361 13.7932 9.16671 13.333 9.16671H12.6302L12.4205 10.8334H13.333C13.7932 10.8334 14.1663 11.2065 14.1663 11.6667C14.1663 12.1269 13.7932 12.5 13.333 12.5H12.2108L12.0929 13.4375C12.0354 13.8941 11.6186 14.2177 11.162 14.1603C10.7054 14.1028 10.3818 13.6861 10.4392 13.2294L10.531 12.5H8.8612L8.74324 13.4375C8.68579 13.8941 8.26903 14.2177 7.8124 14.1603C7.35576 14.1028 7.03216 13.6861 7.08961 13.2294L7.18139 12.5H6.66634C6.2061 12.5 5.83301 12.1269 5.83301 11.6667C5.83301 11.2065 6.2061 10.8334 6.66634 10.8334H7.39109L7.6008 9.16671H6.66634C6.2061 9.16671 5.83301 8.79361 5.83301 8.33337C5.83301 7.87314 6.2061 7.50004 6.66634 7.50004H7.8105L7.92844 6.56276C7.98589 6.10613 8.40265 5.78253 8.85928 5.83998C9.31592 5.89744 9.63952 6.31419 9.58206 6.77083L9.49031 7.50004H11.1601L11.278 6.56276C11.3355 6.10613 11.7523 5.78253 12.2089 5.83998ZM9.0709 10.8334H10.7407L10.9504 9.16671H9.28061L9.0709 10.8334Z",fill:"currentColor"})),pe=e=>w.createElement(E,h({viewBox:"0 0 18 18"},e),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2095 0.673234C11.6662 0.730689 11.9898 1.14744 11.9323 1.60408L11.8406 2.33329H12.3337C12.7939 2.33329 13.167 2.70639 13.167 3.16663C13.167 3.62686 12.7939 3.99996 12.3337 3.99996H11.6309L11.4212 5.66663H12.3337C12.7939 5.66663 13.167 6.03972 13.167 6.49996C13.167 6.9602 12.7939 7.33329 12.3337 7.33329H11.2115L11.0935 8.27075C11.036 8.72738 10.6193 9.05098 10.1627 8.99353C9.70602 8.93607 9.38242 8.51932 9.43988 8.06268L9.53165 7.33329H7.86185L7.7439 8.27075C7.68644 8.72738 7.26969 9.05098 6.81305 8.99353C6.35641 8.93607 6.03281 8.51932 6.09027 8.06268L6.18204 7.33329H5.66699C5.20676 7.33329 4.83366 6.9602 4.83366 6.49996C4.83366 6.03972 5.20676 5.66663 5.66699 5.66663H6.39175L6.60145 3.99996H5.66699C5.20676 3.99996 4.83366 3.62686 4.83366 3.16663C4.83366 2.70639 5.20676 2.33329 5.66699 2.33329H6.81116L6.92909 1.39602C6.98654 0.939379 7.4033 0.615778 7.85993 0.673234C8.31657 0.730689 8.64017 1.14744 8.58272 1.60408L8.49096 2.33329H10.1608L10.2787 1.39602C10.3362 0.939379 10.7529 0.615778 11.2095 0.673234ZM8.07155 5.66663H9.74136L9.95106 3.99996H8.28126L8.07155 5.66663Z",fill:"currentColor"}),w.createElement("path",{d:"M17.1938 11.0378C17.4491 11.4207 17.3456 11.9381 16.9627 12.1934L10.9438 16.206C10.5239 16.4859 9.9769 16.4859 9.55703 16.206L6.50041 14.1683L1.96266 17.1934C1.57972 17.4487 1.06233 17.3452 0.807039 16.9623C0.551745 16.5794 0.655223 16.062 1.03816 15.8067L5.80703 12.6274C6.22691 12.3475 6.77391 12.3475 7.19378 12.6274L10.2504 14.6652L16.0382 10.8067C16.4211 10.5514 16.9385 10.6549 17.1938 11.0378Z",fill:"currentColor"})),me=e=>w.createElement(E,h({viewBox:"0 0 20 12"},e),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.833008 1.41663C0.833008 0.726271 1.39265 0.166626 2.08301 0.166626H17.9163C18.6067 0.166626 19.1663 0.726271 19.1663 1.41663V10.5833C19.1663 11.2736 18.6067 11.8333 17.9163 11.8333H2.08301C1.39265 11.8333 0.833008 11.2736 0.833008 10.5833V1.41663ZM2.49967 1.83329V10.1666H9.16634V6.88863H2.50374V5.22197H9.16634V1.83329H2.49967ZM10.833 6.88863V10.1666H17.4997V6.88863H10.833ZM17.4997 5.22197H10.833V1.83329H17.4997V5.22197Z",fill:"currentColor"})),he=e=>w.createElement(E,y(h({viewBox:"0 0 24 24"},e),{style:y(h({},e.style),{overflow:"hidden"})}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.00012 5C4.00012 4.44772 3.5524 4 3.00012 4C2.44784 4 2.00012 4.44772 2.00012 5V10.4837C1.99996 10.494 1.99996 10.5043 2.00012 10.5147V19C2.00012 19.5523 2.44784 20 3.00012 20C3.5524 20 4.00012 19.5523 4.00012 19V18.5369L7.39046 14.9044L11.0001 17.5113V19C11.0001 19.5523 11.4478 20 12.0001 20C12.5524 20 13.0001 19.5523 13.0001 19V17.489L20.0001 12.0446V19C20.0001 19.5523 20.4478 20 21.0001 20C21.5524 20 22.0001 19.5523 22.0001 19V6.02293C22.0005 6.0079 22.0005 5.99282 22.0001 5.97771V5C22.0001 4.44772 21.5524 4 21.0001 4C20.4478 4 20.0001 4.44772 20.0001 5V5.23968L13.0001 7.18413V5C13.0001 4.44772 12.5524 4 12.0001 4C11.4478 4 11.0001 4.44772 11.0001 5V8.10561L7.13169 12.2504L4.00012 9.98872V5ZM4.00012 12.4558V15.6057L5.75626 13.7241L4.00012 12.4558ZM11.0001 11.0368L8.76589 13.4307L11.0001 15.0443V11.0368ZM13.0001 14.9553L20.0001 9.51088V7.31541L13.0001 9.25985V14.9553Z",fill:"currentColor"})),ye=e=>w.createElement(E,h({viewBox:"0 0 24 24"},e),w.createElement("path",{d:"M11.278 8.29599C13.4714 5.3705 15.9985 2 21 2C21.5523 2 22 2.44772 22 3V12C22 12.5523 21.5523 13 21 13C19.2142 13 17.8255 13.3351 16.6433 13.8765C15.1641 13.0082 13.9957 11.7226 12.7433 10.331L12.6941 10.2764C12.1812 9.70642 11.6533 9.11976 11.0843 8.55419C11.1228 8.50294 11.1613 8.45154 11.2 8.4L11.278 8.29599Z",fill:"currentColor"}),w.createElement("path",{d:"M2 16V20C2 20.5523 2.44772 21 3 21C6.40592 21 8.64914 19.9206 10.4654 18.5825C9.6609 17.98 8.85617 17.4364 7.92086 16.9999C6.65179 16.4077 5.10923 16 3 16H2Z",fill:"currentColor"}),w.createElement("path",{d:"M3 7C2.44772 7 2 7.44772 2 8V13C2 13.5523 2.44772 14 3 14C5.10923 14 6.65179 14.4077 7.92086 14.9999C9.21024 15.6016 10.2515 16.4069 11.3861 17.2894L11.4179 17.3141C12.5245 18.1748 13.7247 19.1084 15.2334 19.8124C16.7768 20.5327 18.6092 21 21 21C21.5523 21 22 20.5523 22 20V18C22 17.4477 21.5523 17 21 17C16.9823 17 14.9991 14.8375 12.7433 12.331L12.6941 12.2764C10.4623 9.79625 7.94594 7 3 7Z",fill:"currentColor"})),be=e=>w.createElement(E,h({viewBox:"0 0 20 16"},e),w.createElement("path",{d:"M0 1C0 0.447715 0.447715 0 1 0H8C8.55228 0 9 0.447715 9 1V3H11V1C11 0.447715 11.4477 0 12 0H19C19.5523 0 20 0.447715 20 1V6C20 6.55228 19.5523 7 19 7H12C11.4477 7 11 6.55228 11 6V5H9.53876L11.4041 9.1969C11.5705 9.07319 11.7767 9 12 9H19C19.5523 9 20 9.44771 20 10V15C20 15.5523 19.5523 16 19 16H12C11.4477 16 11 15.5523 11 15V13.2122L8.22747 6.97401C8.1544 6.99101 8.07825 7 8 7H1C0.447715 7 0 6.55228 0 6V1Z",fill:"currentColor"})),ge=e=>w.createElement(E,h({viewBox:"0 0 20 20"},e),w.createElement("path",{d:"M8.94602 0.0469999L8.95102 0.0539999C9.29602 0.0179999 9.64602 0 10 0C15.522 0 20 4.477 20 10C20 15.523 15.522 20 10 20C8.47644 20.0015 6.97273 19.6542 5.60409 18.9848C4.23545 18.3154 3.03819 17.3416 2.10402 16.138H2.10102V16.135C0.735713 14.3817 -0.00386222 12.2222 1.51686e-05 10C1.51686e-05 4.838 3.91102 0.59 8.93202 0.056L8.94602 0.0469999ZM10 1.5L9.84002 1.501C9.96302 1.746 10.095 2.034 10.214 2.351C10.561 3.274 10.88 4.633 10.314 5.838C9.79202 6.951 8.89002 7.238 8.22402 7.411L8.14002 7.432C7.48302 7.602 7.23002 7.667 7.04702 7.946C6.87702 8.203 6.90302 8.528 7.10802 9.196L7.15402 9.344C7.23602 9.602 7.33401 9.914 7.38402 10.207C7.44802 10.571 7.46602 11.034 7.23202 11.482C7.03518 11.8813 6.7212 12.2109 6.33202 12.427C5.99101 12.612 5.63802 12.683 5.37402 12.729L5.28102 12.746C4.76602 12.836 4.52002 12.88 4.28102 13.136C4.09402 13.336 3.97401 13.689 3.90402 14.215C3.87502 14.429 3.85802 14.642 3.84002 14.861L3.83002 14.978C3.81002 15.22 3.78602 15.499 3.73102 15.738V15.74C4.52661 16.6109 5.49519 17.3063 6.57483 17.7815C7.65447 18.2567 8.8214 18.5015 10.001 18.5C11.577 18.5 13.054 18.07 14.32 17.322C14.2106 17.2108 14.1072 17.094 14.01 16.972C13.67 16.544 13.224 15.808 13.379 14.939C13.453 14.521 13.677 14.171 13.894 13.903C14.1158 13.6392 14.3564 13.3919 14.614 13.163L14.772 13.017C14.951 12.854 15.102 12.716 15.232 12.58C15.404 12.4 15.442 12.318 15.444 12.313C15.512 12.089 15.429 11.929 15.338 11.859C15.2833 11.8179 15.2164 11.7964 15.148 11.798C15.064 11.798 14.928 11.822 14.747 11.938C14.6247 12.0182 14.4849 12.0677 14.3394 12.0825C14.1939 12.0973 14.047 12.0769 13.911 12.023C13.7064 11.9356 13.5358 11.7839 13.425 11.591C13.281 11.354 13.2 11.045 13.147 10.819C13.107 10.645 13.067 10.447 13.032 10.266L12.992 10.06C12.9595 9.87719 12.9148 9.69678 12.858 9.52L12.838 9.483C12.8181 9.44714 12.7968 9.41212 12.774 9.378C12.7017 9.26999 12.626 9.16427 12.547 9.061L12.437 8.918C12.2568 8.6867 12.0847 8.44923 11.921 8.206C11.725 7.908 11.504 7.518 11.434 7.102C11.3894 6.85665 11.4083 6.60395 11.489 6.368C11.583 6.104 11.754 5.886 11.976 5.719C12.459 5.357 13.169 4.547 13.799 3.76C14.087 3.401 14.343 3.065 14.535 2.81C13.1783 1.9519 11.6054 1.49755 10 1.5Z",fill:"currentColor"}))},4162(e){"use strict";var t=String.fromCharCode;e.exports=t},4293(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},4599(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.701 20.25C11.2783 21.25 12.7217 21.25 13.2991 20.25L21.9593 5.25C22.5367 4.25 21.815 3 20.6603 3H3.33976C2.18507 3 1.46337 4.24999 2.04072 5.25L10.701 20.25ZM12 18.5L4.20579 5H19.7942L12 18.5Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7009 20.25C11.2782 21.25 12.7216 21.25 13.2989 20.25L21.9592 5.25C22.5365 4.25 21.8149 3 20.6601 3H3.33964C2.18495 3 1.46325 4.24999 2.0406 5.25L10.7009 20.25Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{StyledParagraph:()=>d,default:()=>h});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672);var d=u().p.withConfig({displayName:"ParagraphStyles__Styled",componentId:"sic5zk-0"})(["",";",";"],c.mixins.reset("block"),c.mixins.typography("body"));function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(99420))},5070(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{calendarActiveSelector:()=>J,default:()=>ne,focusActiveDay:()=>ee});const a=n(14041);var o=t.n(a);const i=n(99420);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(66115),d=n(53057);var f=t.n(d);const p=n(18672);var m=f().div.withConfig({displayName:"CalendarStyles__Styled",componentId:"sc-18925wt-0"})(["",";grid-row-gap:",";padding:",";"],p.mixins.reset("grid"),p.variables.spacingXSmall,p.variables.spacingLarge);const h=n(75735);var y=t.n(h);const b=n(30762);var g=t.n(b),v=f().div.withConfig({displayName:"DateGridStyles__Styled",componentId:"sc-7cb7ui-0"})(["",";grid-template-columns:repeat(7,min-content);grid-row-gap:",";"],p.mixins.reset("grid"),p.variables.spacingXSmall),_=f().div.withConfig({displayName:"DateGridStyles__StyledWeekday",componentId:"sc-7cb7ui-1"})(["",";text-align:center;"],p.mixins.typography("smallBody")),M=f().div.withConfig({displayName:"DayStyles__Styled",componentId:"sc-1nryhyt-0"})([""," width:",";height:",";align-items:center;justify-content:center;border:1px solid transparent;border-radius:",";color:",";cursor:pointer;"," "," &:focus{box-shadow:",";font-weight:",";outline:none;z-index:0;}&:hover{background-color:",";color:",";}",""],p.mixins.reset("flex"),p.variables.inputHeight,p.variables.inputHeight,p.variables.borderRadius,p.variables.contentColorActive,function(e){var t=e.$dayOfWeek;return(0,d.css)(["grid-column:calc("," + 1);"],t)},function(e){return e.$today&&(0,d.css)(["border:1px solid ",";"],p.variables.borderColor)},p.variables.focusShadow,p.variables.fontWeightBold,p.variables.interactiveColorOverlayHover,p.variables.contentColorAccent,function(e){return e.$selected&&(0,d.css)(["border:1px solid ",";font-weight:",";background-color:",";&:hover{background-color:",";}"],p.variables.contentColorAccent,p.variables.fontWeightBold,p.variables.interactiveColorOverlaySelected,p.mixins.overlayColors(p.variables.interactiveColorOverlaySelected,p.variables.interactiveColorOverlayHover))});function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);na,restrictToFirstScrollableAncestor:()=>s,restrictToHorizontalAxis:()=>o,restrictToParentElement:()=>l,restrictToVerticalAxis:()=>u,restrictToWindowEdges:()=>c,snapCenterToCursor:()=>d});var r=n(56550);function a(e){return t=>{let{transform:n}=t;return{...n,x:Math.ceil(n.x/e)*e,y:Math.ceil(n.y/e)*e}}}const o=e=>{let{transform:t}=e;return{...t,y:0}};function i(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}const l=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:r}=e;return n&&t?i(r,n,t):r},s=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e;const a=r[0];return t&&a?i(n,t,a):n},u=e=>{let{transform:t}=e;return{...t,x:0}},c=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return n&&r?i(t,n,r):t},d=e=>{let{activatorEvent:t,draggingNodeRect:n,transform:a}=e;if(n&&t){const e=(0,r.getEventCoordinates)(t);if(!e)return a;const o=e.x-n.left,i=e.y-n.top;return{...a,x:a.x+o-n.width/2,y:a.y+i-n.height/2}}return a}},5619(e,t,n){"use strict";var r=n(19545),a=n(52334);t.timeoutWith=function(e,t,n){return void 0===n&&(n=r.async),a.timeoutWith(e,t,n)(this)}},5653(e,t,n){"use strict";var r=n(91638),a=n(15457);r.Observable.prototype.bufferCount=a.bufferCount},5813(e,t,n){var r=n(38572),a=n(49892),o=n(59858),i=n(89862),l=n(16410);e.exports=function(e,t,n,s){if(!i(e))return e;for(var u=-1,c=(t=a(t,e)).length,d=c-1,f=e;null!=f&&++u-1&&e%1==0&&e<=9007199254740991}},6182(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(19545);t.sampleTime=function(e,t){return void 0===t&&(t=o.async),function(n){return n.lift(new i(e,t))}};var i=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.period,this.scheduler))},e}(),l=function(e){function t(t,n,r){e.call(this,t),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(s,n,{subscriber:this,period:n}))}return r(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(a.Subscriber);function s(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}},6185(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(99420))},6242(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741);t.mapTo=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new i(e,this.value))},e}(),i=function(e){function t(t,n){e.call(this,t),this.value=n}return r(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(a.Subscriber)},6318(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(30281);t.default=function(e){var t,n=(null===(t=e.theme)||void 0===t?void 0:t.splunkThemeV1)||{},a=n.family,o=n.colorScheme,i=n.density;return(0,r.addThemeDefaults)({family:a,colorScheme:o,density:i})}},6341(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(99420))},6441(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(91638),o=n(16732),i=n(11239),l=function(e){function t(t,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),e.call(this),this.source=t,this.delayTime=n,this.scheduler=r,(!i.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(t,e),t.create=function(e,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new t(e,n,r)},t.dispatch=function(e){var t=e.source,n=e.subscriber;return this.add(t.subscribe(n))},t.prototype._subscribe=function(e){var n=this.delayTime,r=this.source;return this.scheduler.schedule(t.dispatch,n,{source:r,subscriber:e})},t}(a.Observable);t.SubscribeOnObservable=l},6616(e,t,n){var r,a,o;o=function(){var e,t,n=document,r=n.getElementsByTagName("head")[0],a="push",o="readyState",i="onreadystatechange",l={},s={},u={},c={};function d(e,t){for(var n=0,r=e.length;n{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f={};c(f,{getPropsForSimpleXMLOptions:()=>v,getSimpleXMLOptionsForProps:()=>_,replaceObjectKeysFromMap:()=>g}),e.exports=(r=f,d(o({},"__esModule",{value:!0}),r));var p={};c(p,{default:()=>h});var m=((e,t,n)=>(n=null!=e?a(s(e)):{},d(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(71797));((e,t)=>{d(e,t,"default")})(p,n(71797));var h="default"in m?m.default:m,y={"annotation.categoryColors":"annotationColor","axisLabelsX.axisVisibility":"xAxisVisibility","axisLabelsY.axisVisibility":"yAxisVisibility","axisLabelsX.integerUnits":"roundXAxisLabelsToInteger","axisLabelsY.integerUnits":"roundYAxisLabelsToInteger","axisLabelsY2.integerUnits":"roundY2AxisLabelsToInteger","axisLabelsY2.axisVisibility":"y2AxisVisibility","axisLabelsX.extendsAxisRange":"xAxisExtendsAxisRange","axisLabelsY.extendsAxisRange":"yAxisExtendsAxisRange","axisLabelsX.majorLabelStyle.rotation":"xAxisMajorLabelRotation","axisLabelsX.majorLabelVisibility":"xAxisMajorLabelVisibility","axisLabelsY.majorLabelVisibility":"yAxisMajorLabelVisibility","axisLabelsY2.majorLabelVisibility":"y2AxisMajorLabelVisibility","axisLabelsX.majorTickSize":"xAxisMajorTickSize","axisLabelsY.majorTickSize":"yAxisMajorTickSize","axisLabelsY2.majorTickSize":"y2AxisMajorTickSize","axisLabelsX.minorTickSize":"xAxisMinorTickSize","axisLabelsY.minorTickSize":"yAxisMinorTickSize","axisLabelsY2.minorTickSize":"y2AxisMinorTickSize","axisLabelsX.majorTickVisibility":"xAxisMajorTickVisibility","axisLabelsY.majorTickVisibility":"yAxisMajorTickVisibility","axisLabelsY2.majorTickVisibility":"y2AxisMajorTickVisibility","axisLabelsX.majorUnit":"xAxisMajorUnit","axisLabelsY.majorUnit":"yAxisMajorUnit","axisLabelsY2.majorUnit":"y2AxisMajorUnit","axisLabelsX.minorTickVisibility":"xAxisMinorTickVisibility","axisLabelsY.minorTickVisibility":"yAxisMinorTickVisibility","axisLabelsY2.minorTickVisibility":"y2AxisMinorTickVisibility","axisLabelsX.maxLabelParts":"xAxisMaxLabelParts","axisX.abbreviation":"xAxisAbbreviation","axisY.abbreviation":"yAxisAbbreviation","axisY2.abbreviation":"y2AxisAbbreviation","axisX.includeZero":"xAxisIncludeZero","axisY.includeZero":"yAxisIncludeZero","axisY2.includeZero":"y2AxisIncludeZero","axisX.maximumNumber":"xAxisMax","axisY.maximumNumber":"yAxisMax","axisY2.maximumNumber":"y2AxisMax","axisX.minimumNumber":"xAxisMin","axisY.minimumNumber":"yAxisMin","axisY2.minimumNumber":"y2AxisMin","axisX.scale":"xAxisScale","axisY.scale":"yAxisScale","axisY2.scale":"y2AxisScale","axisTitleX.text":"xAxisTitleText","axisTitleY.text":"yAxisTitleText","axisTitleY2.text":"y2AxisTitleText","axisTitleX.alignment":"xAxisTitleAlignment","axisTitleY.alignment":"yAxisTitleAlignment","axisTitleY2.alignment":"y2AxisTitleAlignment","axisTitleX.visibility":"xAxisTitleVisibility","axisTitleY.visibility":"yAxisTitleVisibility","axisTitleY2.visibility":"y2AxisTitleVisibility","chart.resultTruncationLimit":"resultTruncationLimit","chart.overlayFields":"overlayFields","axisY2.enabled":"enableY2Axis","axisY2.fields":"y2AxisField","chart.barSpacing":"barSpacing","chart.columnSpacing":"columnSpacing","chart.seriesSpacing":"seriesSpacing","chart.nullValueMode":"nullValueMode","chart.markerSize":"markerSize","chart.showDataLabels":"showDataLabels","chart.showLegend":"showLegend","chart.showLines":"showLines","chart.showMarkers":"showMarkers","chart.stackMode":"stackMode","data.fieldListMode":"fieldListMode","data.fieldShowList":"fieldShowList","data.fieldHideList":"fieldHideList","gridLinesX.showMajorLines":"showMajorXGridLines","gridLinesY.showMajorLines":"showMajorYGridLines","gridLinesY2.showMajorLines":"showMajorY2GridLines","gridLinesX.showMinorLines":"showMinorXGridLines","gridLinesY.showMinorLines":"showMinorYGridLines","gridLinesY2.showMinorLines":"showMinorY2GridLines","layout.splitSeries":"splitSeries","layout.splitSeries.allowIndependentYRanges":"allowIndependentYRanges","legend.labels":"legendLabels","legend.labelStyle.overflowMode":"legendLabelOverflowMode","legend.masterLegend":"masterLegend","legend.mode":"legendMode","legend.placement":"legendPlacement","legend.reversed":"legendReversed","chart.bubbleMaximumSize":"bubbleMaxSize","chart.bubbleMinimumSize":"bubbleMinSize","chart.bubbleSizeBy":"bubbleSizeBy"},b=h(y),g=(e={},t={},n=()=>!0)=>{const r={};return Object.keys(e).forEach(a=>{const o=t[a];o?r[o]=e[a]:n(a)&&(r[a]=e[a])}),r},v=(e={})=>g(e,y,e=>-1===e.indexOf(".")),_=(e={})=>g(e,b)},7043(e,t,n){"use strict";var r=n(4162);e.exports=function(e){return function(t){return e.test(r(t))}}},7176(e){"use strict";var t={}.hasOwnProperty;e.exports=t},7343(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Divider:()=>Y,Heading:()=>G,Item:()=>pe,MenuContext:()=>j,default:()=>Se});const a=n(14041);var o=t.n(a);const i=n(36728);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(14412),d=n(53057);var f=t.n(d);const p=n(13339);var m=t.n(p);const h=n(18672),y=n(14729);var b=t.n(y);const g=n(43594);var v=t.n(g),_=(0,d.css)([""," overflow:inherit;white-space:inherit;text-overflow:inherit;"],h.mixins.typography("smallBody")),M=f().div.withConfig({displayName:"ItemStyles__StyledItemDescriptionBottom",componentId:"sc-4kc053-0"})(["",";"],_),w=f().span.withConfig({displayName:"ItemStyles__StyledItemDescriptionRight",componentId:"sc-4kc053-1"})(["",";display:flex;align-self:flex-start;align-items:center;float:right;padding-left:",";max-width:50%;min-height:20px;text-align:right;"],_,h.variables.spacingLarge),S=(0,d.css)([""," flex:0 0 auto;& > svg{height:20px;}"],h.mixins.reset("inline-flex")),x=f().div.withConfig({displayName:"ItemStyles__StyledItemSelectedAdornment",componentId:"sc-4kc053-2"})(["",";padding-left:",";align-items:flex-start;color:",";"],S,h.variables.spacingLarge,h.variables.contentColorActive),k=f().span.withConfig({displayName:"ItemStyles__StyledItemAdornment",componentId:"sc-4kc053-3"})(["",";"," padding-right:",";align-items:center;color:",";"],S,function(e){return e.endAdornment&&(0,d.css)(["padding-left:",";"],h.variables.spacingSmall)},h.variables.spacingSmall,h.variables.contentColorMuted),C=f()(b()).withConfig({displayName:"ItemStyles__StyledCheckbox",componentId:"sc-4kc053-4"})(["min-height:0;padding-right:",";"],h.variables.spacingSmall),E=f()(v()).withConfig({displayName:"ItemStyles__StyledClickable",componentId:"sc-4kc053-5"})(["line-height:",";display:block;position:relative;cursor:pointer;color:",";word-wrap:break-word;max-width:100%;width:100%;min-height:",";padding:"," ",";"," "," "," &:not([disabled],[aria-disabled='true']){&:hover{background:",";","}&:active{background:",";}","}&:focus{outline:0;box-shadow:",";background:",";}&[disabled],&[aria-disabled='true']{color:",";",",",",",",","{color:",";}}"],h.variables.lineHeightSpacious,h.variables.contentColorActive,h.variables.inputHeight,h.variables.spacingXSmall,h.variables.spacingLarge,function(e){var t=e.$active,n=e.$preventFocus;return t&&!n&&(0,d.css)(["box-shadow:",";"],h.variables.focusShadowInset)},function(e){return e.$active&&(0,d.css)(["background:",";font-weight:",";"],h.variables.interactiveColorOverlayActive,h.variables.fontWeightBold)},function(e){var t=e.$isSelectable,n=e.$selectableAppearance,r=e.$selected;return t&&!r&&"checkmark"===n&&(0,d.css)(["padding-right:calc("," * 3);"],h.variables.spacingLarge)},h.variables.interactiveColorOverlayHover,function(e){return e.$active&&(0,d.css)(["background:",";"],h.mixins.overlayColors(h.variables.interactiveColorOverlayActive,h.variables.interactiveColorOverlayHover))},h.variables.interactiveColorOverlayActive,function(e){var t=e.$selected,n=e.$active;return t&&(0,d.css)(["font-weight:",";",""],h.variables.fontWeightSemiBold,n&&(0,d.css)(["font-weight:",";"],h.variables.fontWeightBold))},h.variables.focusShadowInset,h.variables.interactiveColorOverlayHover,h.variables.contentColorDisabled,M,w,x,k,h.variables.contentColorDisabled),A=f().span.withConfig({displayName:"ItemStyles__StyledInnerWrapper",componentId:"sc-4kc053-6"})(["display:flex;align-items:flex-start;"]),L=f().div.withConfig({displayName:"ItemStyles__StyledTitleAndDescriptionWrapper",componentId:"sc-4kc053-7"})(["display:flex;flex:1;width:100%;align-self:flex-start;word-break:break-word;white-space:normal;"," ",""],function(e){return e.$descriptionBottom&&(0,d.css)(["flex-direction:column;"])},function(e){return e.$truncate&&(0,d.css)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"])}),O=f().div.withConfig({displayName:"ItemStyles__StyledLabel",componentId:"sc-4kc053-8"})(["flex:1;overflow:inherit;white-space:inherit;text-overflow:inherit;max-width:100%;min-height:20px;",""],function(e){return e.$truncate&&(0,d.css)(["display:block;clear:both;"])}),T=f().span.withConfig({displayName:"ItemStyles__StyledMatch",componentId:"sc-4kc053-9"})(["border-bottom:1px solid ",";"],h.variables.contentColorActive),D=f().span.withConfig({displayName:"ItemStyles__StyledSubmenu",componentId:"sc-4kc053-10"})(["float:right;padding-left:",";color:",";"],h.variables.spacingSmall,h.variables.contentColorDefault),z=f()(m()).withConfig({displayName:"DividerStyles__Styled",componentId:"l3zfh3-0"})([""," + &,& + ","{margin-block-start:",";}"],E,E,h.variables.spacingSmall);const j=(0,a.createContext)({role:"menu",preventFocus:!1});function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;tn+1){var a=r[n+1];if("Heading"===a.type.as||"Divider"===a.type.as)return e}return"Divider"!==t.type.as&&"Heading"!==t.type.as||n!==r.length-1?(e.push(t),e):e},[]),h=(0,a.useCallback)(function(e){p.current=e,function(e,t){e&&("function"==typeof e?e(t):e.current=t)}(n,e)},[n]),y={enableLoop:!0,orientation:"vertical",enableTab:!1,enableHomeEnd:!0},b=(0,a.useCallback)(function(e){if(!e.nativeEvent.metaKey){var t=function(e){var t=e.key;return"Tab"===t&&(0,c.isTabKey)(e.nativeEvent)?e.shiftKey?"tabShift":"Tab":t}(e);"Enter"===t||!y.enableTab&&("Tab"===t||"tabShift"===t)||e.preventDefault();var n=p.current,r=[];n&&(r=(0,c.getSortedTabbableElements)(n,{ignoreTabIndex:!0}));var a=e.target instanceof HTMLElement?e.target:null==n?void 0:n.querySelector(":focus"),o=a instanceof HTMLElement?r.indexOf(a):-1;(0,c.handleFocus)(t,r,o,y)}},[y]),g={"data-test":"menu",onKeyDown:"normal"===i||"never"===i?void 0:b,role:f};return s?o().createElement(ve,_e({},g,{elementRef:h,stopScrollPropagation:!0},l()(u,"tagName")),m):o().createElement(ge,_e({},g,{ref:h},u),o().createElement(j.Provider,{value:{role:"menu",preventFocus:"never"===i}},m))}we.propTypes=Me,we.Item=pe,we.Divider=Y,we.Heading=G;const Se=we;e.exports=r})()},7453(e,t,n){"use strict";var r=n(91638),a=n(21481);r.Observable.throw=a._throw},7494(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>he});const a=n(14041);var o=t.n(a);const i=n(52804);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(66115),d=n(53057);var f=t.n(d);const p=n(59856);var m=t.n(p);const h=n(18672);var y=(0,d.css)(["",";",";color:",";padding:4px;"],h.mixins.reset("block"),h.mixins.typography({family:"monospace"}),h.variables.syntaxGray),b=f().code.withConfig({displayName:"JSONTreeStyles__StyledScrollCode",componentId:"vrdt21-0"})(["",";overflow-x:auto;white-space:nowrap;"],y),g=f()(m()).withConfig({displayName:"JSONTreeStyles__StyledTree",componentId:"vrdt21-1"})(["font-family:inherit;ul{font-family:inherit;}"]),v=f().code.withConfig({displayName:"JSONTreeStyles__StyledWrapCode",componentId:"vrdt21-2"})(["",";white-space:pre-wrap;"],y);const _=n(95180);var M=t.n(_);const w=n(85100);var S=t.n(w);const x=n(68456);var k=t.n(x);const C=n(92288);var E=t.n(C);const A=n(89862);var L=t.n(A);const O=n(84505);var T=t.n(O);const D=n(73614);var z=t.n(D);const j=n(41454),P=n(8710);var B=t.n(P);const Y=n(43594);var N=t.n(Y);const F=n(26361);var I=t.n(F),R={string:h.variables.syntaxTeal,number:h.variables.syntaxBlue,boolean:h.variables.syntaxPurple,null:h.variables.syntaxBrown,object:h.variables.syntaxGray,array:h.variables.syntaxGray},W=(0,d.css)(["word-break:break-word;word-wrap:break-word;"]),H=(0,d.css)(["white-space:nowrap;"]),q=(0,d.css)(["padding-block:2px;"]),X=(0,d.css)(["font-family:inherit;&:focus{box-shadow:",";outline:0;&:active{box-shadow:none;}}&:hover{background-color:",";}"],h.variables.focusShadow,h.variables.neutral50),V=(0,d.css)(["color:",";",";",""],function(e){var t=e.valueType;return R[t]},function(e){return"wrap"===e.overflowType?W:H},q),U=f().span.withConfig({displayName:"JSONTreeItemStyles__StyledContentWrapper",componentId:"o558h3-0"})(["color:",";"],h.variables.syntaxGray),$=f().span.withConfig({displayName:"JSONTreeItemStyles__StyledValue",componentId:"o558h3-1"})(["",""],V),G=f()(N()).withConfig({displayName:"JSONTreeItemStyles__StyledValueInteractiveClickable",componentId:"o558h3-2"})([""," "," min-width:24px;text-align:center;"],V,X),K=(0,d.css)([""," color:",";"],q,h.variables.syntaxRed),J=f().span.withConfig({displayName:"JSONTreeItemStyles__StyledProperty",componentId:"o558h3-3"})(["",""],K),Z=f()(N()).withConfig({displayName:"JSONTreeItemStyles__StyledPropertyInteractiveClickable",componentId:"o558h3-4"})([""," ",""],K,X),Q=f()(B()).withConfig({displayName:"JSONTreeItemStyles__StyledExpandLinkClickable",componentId:"o558h3-5"})(["",";border:none;border-radius:0;font-family:inherit;padding:1px "," 3px ",";&:hover{background-color:",";text-decoration:none;}&:focus{box-shadow:",";&:active{box-shadow:none;}}"],q,h.variables.spacingXSmall,h.variables.spacingXSmall,h.variables.actionColorBackgroundSubtleHover,h.variables.focusShadowInset),ee=f()(I()).withConfig({displayName:"JSONTreeItemStyles__StyledTooltip",componentId:"o558h3-6"})(["font-family:",";"],h.variables.monoFontFamily);function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0;return o().createElement(ae,{id:t,propertyDataPath:s,propertyElement:w,hasChildren:C,initialOpenState:f(),representation:v,indentArray:p,value:i,index:r,properties:l,renderExpandLink:m,clickableKeyRef:x,clickableValRef:_,onFocus:function(){h(x,_)}})}function ue(e){var t=e.baseId,n=(0,e.renderValue)({value:e.obj,clickValueRef:(0,a.useRef)(null)}).representation;return o().createElement(m().Item,{id:"".concat(t,"-0"),"data-test-path":".",content:n})}function ce(e){var t,n,r=e.baseId,a=e.defaultOpen,i=void 0!==a&&a,s=e.defaultExpanded,u=void 0!==s&&s,c=e.expandChildrenOnShiftKey,d=void 0!==c&&c,f=e.indent,p=void 0===f?4:f,m=e.indentLevel,h=void 0===m?1:m,y=e.obj,b=e.onClickKey,g=e.onClickValue,v=e.overflow,_=void 0===v?"scroll":v,w=e.path,x=void 0===w?[]:w,C=e.shift,A=e.updateShift,O=M()(Array(h),z()(" ",p)),D=function(){return!(!u||null!=C)||(d?!!C:i)},P=function(e,r){var a,o,i,l,s=e.key;"ArrowLeft"===s&&b&&(null===(a=n)||void 0===a?void 0:a.current)&&!r&&(e.stopPropagation(),null===(i=n.current)||void 0===i||i.focus()),"ArrowRight"===s&&g&&(null===(o=t)||void 0===o?void 0:o.current)&&r&&(e.stopPropagation(),null===(l=t.current)||void 0===l||l.focus())},B=function(e){var t=e.onToggleExpansion,n=e.open,r=e.withTooltip,a=e.expandLinkRef,i=n?"[-]":"[+]",l=n?(0,j._)("Collapse all"):(0,j._)("Shift click to expand all"),s=o().createElement(Q,{appearance:"subtle",elementRef:a,tabIndex:-1,onClick:function(e){!function(e){d&&null!=A&&A(e.shiftKey)}(e),null==t||t(e)},"aria-expanded":n,"data-test":"toggle"},i);return d&&r?{expandLink:o().createElement(ee,{contentRelationship:"description",openDelay:"secondary",defaultPlacement:"above",content:(0,j._)(l)},s),expandLinkRef:a}:{expandLink:s,expandLinkRef:a}},Y=function(e){var n,a=e.value,i=e.key,s=e.clickValueRef;if(n=L()(a)?k()(a)?S()(a)?"[]":"{}":ce({baseId:r,defaultOpen:!0===u,defaultExpanded:u,expandChildrenOnShiftKey:d,onClickKey:b,onClickValue:g,overflow:_,obj:a,path:void 0!==i?[].concat(ie(x),[i]):ie(x),indentLevel:h+1,shift:C,updateShift:A}):"string"==typeof a?'"'.concat(a,'"'):"boolean"==typeof a?a.toString():null===a?"null":a,l()(n)||E()(n)){var c=null===a?"null":oe(a);return g?{representation:o().createElement(G,{elementRef:s,valueType:c,overflowType:_,onClick:function(e){t=s,function(e,n){var r,a,o=void 0!==n?[].concat(ie(x),[n]):ie(x),i=".".concat(o.join("."));null===(r=t)||void 0===r||null===(a=r.current)||void 0===a||a.focus(),null==g||g(e,{key:i,keyPath:o,value:e.target.textContent})}(e,i)},onKeyDown:function(e){P(e,!1)},tabIndex:-1},n),clickableValRef:s}:{representation:o().createElement($,{valueType:c,overflowType:_},n)}}return{representation:n}},N=function(e,t){return b?{propertyElement:o().createElement(o().Fragment,null,o().createElement(Z,{elementRef:t,tabIndex:-1,onClick:function(r){n=t,function(e,t){var r,a,o=void 0!==t?[].concat(ie(x),[t]):ie(x),i=".".concat(o.join("."));null===(r=n)||void 0===r||null===(a=r.current)||void 0===a||a.focus(),null==b||b(e,{key:i,keyPath:o})}(r,e)},onKeyDown:function(e){P(e,!0)}},e),":"," "),clickableKeyRef:t}:{propertyElement:o().createElement(o().Fragment,null,o().createElement(J,null,e),":"," ")}};if(L()(y)&&!k()(y)||S()(y)&&y.length>0){var F=T()(y).map(function(e,a,i){var l=y[e],s=S()(y)?parseInt(e,10):e,u=0===x.length?".".concat(s):".".concat(x.join("."),".").concat(s);return o().createElement(se,{id:"".concat(r,"-").concat(u),key:u,propertyDataPath:u,childKey:s,index:a,value:l,properties:i,obj:y,renderValue:Y,renderKey:N,getInitialOpenState:D,indentArray:O,renderExpandLink:B,onFocus:function(e,r){n=e,t=r}})});if(0===x.length){var I=L()(y)&&!k()(y)||S()(y)&&y.length>0;return o().createElement(ae,{id:"".concat(r,"-root"),isRoot:!0,propertyDataPath:".",key:".",hasChildren:I,initialOpenState:i||u,value:y,index:0,renderExpandLink:B,representation:F})}return F}return o().createElement(ue,{baseId:r,obj:y,renderValue:Y})}function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 12C12.2091 12 14 10.2091 14 8C14 5.79086 12.2091 4 10 4C7.79086 4 6 5.79086 6 8C6 10.2091 7.79086 12 10 12ZM12 8C12 9.10457 11.1046 10 10 10C8.89543 10 8 9.10457 8 8C8 6.89543 8.89543 6 10 6C11.1046 6 12 6.89543 12 8Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5C17.1193 5 16 6.11929 16 7.5V9.82326C16 10.7054 15.5876 11.5369 14.8853 12.0708L13.6631 13H7.9604C5.22084 13 3 15.2208 3 17.9604C3 18.5346 3.46545 19 4.0396 19H14.9392C15.2306 19 15.5112 18.8898 15.7249 18.6916L19.0418 15.6131C20.2905 14.4543 21 12.8278 21 11.1242V7.5C21 6.11929 19.8807 5 18.5 5ZM18 7.5C18 7.22386 18.2239 7 18.5 7C18.7761 7 19 7.22386 19 7.5V11.1242C19 12.2714 18.5222 13.3668 17.6813 14.1472L14.6075 17H5.15926C5.55811 15.8364 6.66158 15 7.9604 15H13.9872C14.2141 15 14.4347 14.9257 14.6153 14.7884L16.0957 13.663C17.2955 12.7509 18 11.3304 18 9.82326V7.5Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M10 12C12.2091 12 14 10.2091 14 8C14 5.79086 12.2091 4 10 4C7.79086 4 6 5.79086 6 8C6 10.2091 7.79086 12 10 12Z"}),o().createElement("path",{d:"M18.5 5C17.1193 5 16 6.11929 16 7.5V9.82326C16 10.7054 15.5876 11.5369 14.8853 12.0708L13.6631 13H7.9604C5.22084 13 3 15.2208 3 17.9604C3 18.5345 3.46544 19 4.0396 19H14.9392C15.2306 19 15.5112 18.8898 15.7248 18.6916L19.0418 15.6131C20.2905 14.4543 21 12.8278 21 11.1242V7.5C21 6.11929 19.8807 5 18.5 5Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{buttonMixin:()=>b,default:()=>A});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(43594);var d=t.n(c);const f=n(18672),p=n(63085);var m=t.n(p);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var y=["primary","secondary","destructive","destructiveSecondary","subtle","standalone"];const b=function(e,t){var n="string"==typeof e&&y.includes(e)?e:void 0,r={};n&&void 0!==t?r=t:void 0===n&&"object"===h(e)&&void 0===t&&(r=e);var a=function(e){var t,n,r,a,o,i="transparent",l="transparent",s="transparent",u="transparent",c="transparent",d=f.variables.actionColorContentSecondary,p=f.variables.actionColorContentSecondaryDisabled;switch(e){case"primary":i=f.variables.actionColorBackgroundPrimary,l=f.variables.actionColorBackgroundPrimaryActive,s=f.variables.actionColorBackgroundPrimaryDisabled,u=f.variables.actionColorBackgroundPrimaryHover,d=f.variables.actionColorContentPrimary,p=f.variables.actionColorContentPrimaryDisabled;break;case"destructive":i=f.variables.actionColorBackgroundDestructive,l=f.variables.actionColorBackgroundDestructiveActive,s=f.variables.actionColorBackgroundDestructiveDisabled,u=f.variables.actionColorBackgroundDestructiveHover,d=f.variables.actionColorContentDestructive,p=f.variables.actionColorContentDestructiveDisabled;break;case"destructiveSecondary":c=f.variables.actionColorBorderDestructiveSecondary,t=f.variables.actionColorBorderDestructiveSecondaryActive,n=f.variables.actionColorBorderDestructiveSecondaryDisabled,r=f.variables.actionColorBorderDestructiveSecondaryHover,i=f.variables.actionColorBackgroundDestructiveSecondary,l=f.variables.actionColorBackgroundDestructiveSecondaryActive,s=f.variables.actionColorBackgroundDestructiveSecondaryDisabled,u=f.variables.actionColorBackgroundDestructiveSecondaryHover,d=f.variables.actionColorContentDestructiveSecondary,p=f.variables.actionColorContentDestructiveSecondaryDisabled;break;case"secondary":c=f.variables.actionColorBorderSecondary,t=f.variables.actionColorBorderSecondaryActive,n=f.variables.actionColorBorderSecondaryDisabled,r=f.variables.actionColorBorderSecondaryHover,i=f.variables.actionColorBackgroundSecondary,l=f.variables.actionColorBackgroundSecondaryActive,u=f.variables.actionColorBackgroundSecondaryHover;break;case"subtle":l=f.variables.actionColorBackgroundSubtleActive,u=f.variables.actionColorBackgroundSubtleHover,a=f.variables.actionColorContentSubtleActive,o=f.variables.actionColorContentSubtleHover;break;case"standalone":i=f.variables.actionColorBackgroundSubtle,l=f.variables.actionColorBackgroundSubtleActive,u=f.variables.actionColorBackgroundSubtleHover,d=f.variables.actionColorContentStandalone,a=f.variables.actionColorContentStandaloneActive,p=f.variables.actionColorContentStandaloneDisabled,o=f.variables.actionColorContentStandaloneHover}return{background:i,backgroundActive:l,backgroundDisabled:s,backgroundHover:u,borderColor:c,borderColorActive:t,borderColorDisabled:n,borderColorHover:r,color:d,colorActive:a,colorDisabled:p,colorHover:o}}(n),o=m()(a,r),i=o.background,l=o.backgroundActive,u=o.backgroundDisabled,c=o.backgroundDisabledSelected,d=o.backgroundHover,p=o.borderColor,b=o.borderColorActive,g=o.borderColorDisabled,v=o.borderColorHover,_=o.color,M=o.colorActive,w=o.colorDisabled,S=o.colorHover,x=null!=i&&"transparent"!==i;return function(){return(0,s.css)(["border:"," solid ",";border-radius:",";"," "," cursor:pointer;position:relative;font-weight:",";&:focus,&:hover{z-index:3;}&:focus{box-shadow:",";}&:not([disabled],[aria-disabled='true']){background-color:",";color:",";transition:background-color 0.2s,box-shadow 0.2s,text-decoration 0.2s;&:hover{background-color:",";border-color:",";color:",";}&:active{background-color:",";border-color:",";color:",";transition:none;}}&[disabled],&[aria-disabled='true']{border-color:",";color:",";","}"],f.variables.inputBorderWidth,p,f.variables.borderRadius,function(e){return e.$append&&(0,s.css)(["border-top-right-radius:0.1px;border-bottom-right-radius:0.1px;border-right:none;"])},function(e){return e.$prepend&&(0,s.css)(["border-top-left-radius:0.1px;border-bottom-left-radius:0.1px;"])},f.variables.fontWeightSemiBold,f.variables.focusShadow,i,_,d,v,S,l,b,M,g,w,function(e){var t=e.$selected;return x&&(0,s.css)(["background-color:",";"],t?c:u)})}};function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>C});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(26068),u=n(21751);var c=t.n(u);const d=n(71560),f=n(53057);var p=t.n(f);const m=n(18672);var h=(0,f.css)(["",";position:fixed;top:0;right:0;bottom:0;left:0;"],m.mixins.reset("block")),y=p()(d.animated.div).withConfig({displayName:"ModalLayerStyles__StyledClickAwayOverlay",componentId:"sc-1sa3n1j-0"})(["",";background-color:",";z-index:",";"],h,m.variables.backgroundColorScrim,m.variables.zindexModalBackdrop);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(d={type:"text",value:d}),d&&(m=[].concat(m,d)),h=s+u[0].length),f.global);)u=f.exec(r.value);if(void 0===s?(m=[r],y--):(h1)for(c=e(t.slice(1)),s=-1;++s{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Panel:()=>C,default:()=>T});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(91659);var u=t.n(s);const c=n(50824);var d=t.n(c),f=(0,a.createContext)({});f.displayName="Accordion";const p=f,m=n(53057);var h=t.n(m);const y=n(33199);var b=t.n(y);const g=n(18672);var v=h()(b()).withConfig({displayName:"AccordionStyles__StyledBox",componentId:"m39hyh-0"})(["",";flex-direction:column;margin-bottom:0;"],g.mixins.reset("flex"));const _=n(16090);var M=t.n(_);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:"inline",t=null!==e?"display: ".concat(e,";"):"";return function(){return(0,r.css)(l(),(0,a.default)({dark:"dark",light:"light"}),o.default.contentColorDefault,t,o.default.fontFamily,o.default.fontSize,o.default.lineHeight,o.default.focusColor)}};t.reset=d;var f={pageBase:c,reset:d};t.default=f},10073(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>h});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672);var d=u().div.withConfig({displayName:"ButtonGroupStyles__StyledDiv",componentId:"sc-14fs2xs-0"})([""," position:relative;"],c.mixins.reset("inline-flex"));function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t0,append:tparseInt(e,16)),[n,r,a]=e;return[n,r,a]}}return null},t.isCSSColor=function(e){return"string"==typeof e&&(!!n(e)||("transparent"===e||"currentColor"===e||t.extendedColorKeywords.includes(e.toLowerCase())))},t.isValidRgb=function(e){const t=e.replace(/[^\d,-]/g,"").split(",").map(e=>parseInt(e,10));return 3===t.length&&3===t.filter(e=>"number"==typeof e&&e>=0&&e<=255).length},t.namedColorToHex=function(e){return t.extendedColorKeywordsToHex[e.toLowerCase()]},t.extendedColorKeywords=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],t.extendedColorKeywordsToHex={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"}},10235(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(91638),o=n(740),i=n(234),l=function(e){function t(t,n,r){e.call(this),this.condition=t,this.thenSource=n,this.elseSource=r}return r(t,e),t.create=function(e,n,r){return new t(e,n,r)},t.prototype._subscribe=function(e){var t=this,n=t.condition,r=t.thenSource,a=t.elseSource;return new s(e,n,r,a)},t}(a.Observable);t.IfObservable=l;var s=function(e){function t(t,n,r,a){e.call(this,t),this.condition=n,this.thenSource=r,this.elseSource=a,this.tryIf()}return r(t,e),t.prototype.tryIf=function(){var e=this,t=e.condition,n=e.thenSource,r=e.elseSource;try{var a=t()?n:r;a?this.add(o.subscribeToResult(this,a)):this._complete()}catch(e){this._error(e)}},t}(i.OuterSubscriber)},10308(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M5 5C5 4.44772 4.55228 4 4 4C3.44772 4 3 4.44772 3 5V18.5C3 19.3284 3.67157 20 4.5 20H20C20.5523 20 21 19.5522 21 19C21 18.4477 20.5523 18 20 18H5V5Z"}),o().createElement("path",{d:"M20.7071 7.70711C21.0976 7.31658 21.0976 6.68342 20.7071 6.29289C20.3166 5.90237 19.6834 5.90237 19.2929 6.29289L15 10.5858L13.0607 8.64645C12.4749 8.06066 11.5251 8.06066 10.9393 8.64645L7.29289 12.2929C6.90237 12.6834 6.90237 13.3166 7.29289 13.7071C7.68342 14.0976 8.31658 14.0976 8.70711 13.7071L12 10.4142L13.9393 12.3536C14.5251 12.9393 15.4749 12.9393 16.0607 12.3536L20.7071 7.70711Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M4 4H3.5C2.67157 4 2 4.67157 2 5.5V19.5C2 20.3284 2.67157 21 3.5 21H19.5C20.3284 21 21 20.3284 21 19.5V19H4V4Z"}),o().createElement("path",{d:"M21 17V7.41421L16.0607 12.3536C15.4749 12.9393 14.5251 12.9393 13.9393 12.3536L12 10.4142L6 16.4142V17H21Z"}),o().createElement("path",{d:"M20.8125 4.77327L15 10.5858L13.0607 8.64645C12.4749 8.06066 11.5251 8.06066 10.9393 8.64645L6 13.5858V4H19.5C20.0648 4 20.5566 4.31212 20.8125 4.77327Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 17C13.6569 17 15 15.6569 15 14C15 12.3431 13.6569 11 12 11C10.3431 11 9 12.3431 9 14C9 15.6569 10.3431 17 12 17ZM12 15C12.5523 15 13 14.5523 13 14C13 13.4477 12.5523 13 12 13C11.4477 13 11 13.4477 11 14C11 14.5523 11.4477 15 12 15Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 21H3.5C3.22386 21 3 20.7761 3 20.5V3.5C3 3.22386 3.22386 3 3.5 3H15.8157C15.9487 3 16.0763 3.05305 16.1702 3.14741L20.8545 7.85737C20.9477 7.95106 21 8.07782 21 8.20996V20.5C21 20.7761 20.7761 21 20.5 21ZM19 19V8.82888L15.9727 5.78499V8.96265H7.97266V5H5V19H19ZM9.97266 5V6.96265H13.9727V5H9.97266Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 20.5C21 20.7761 20.7761 21 20.5 21H3.5C3.22386 21 3 20.7761 3 20.5V3.5C3 3.22386 3.22386 3 3.5 3H15.8157C15.9487 3 16.0763 3.05305 16.1702 3.14741L20.8545 7.85737C20.9477 7.95106 21 8.07782 21 8.20996V20.5ZM7.96381 8.96619V5.01025H15.0091L15.9698 5.80141V8.96619H7.96381ZM15 14C15 15.6569 13.6569 17 12 17C10.3431 17 9 15.6569 9 14C9 12.3431 10.3431 11 12 11C13.6569 11 15 12.3431 15 14Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=r?a.complete():(a.next(t[n]),e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.arrayLike,r=this.scheduler,a=n.length;if(r)return r.schedule(t.dispatch,0,{arrayLike:n,index:0,length:a,subscriber:e});for(var o=0;o=0}},11366(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>FS,useTrackmeLoadData:()=>PS});var r=n(14041),a=n(18672),o=n(94335),i=n.n(o),l=n(33772),s=n.n(l),u=n(64852),c=n.n(u),d=n(33689),f=n.n(d),p=n(7343),m=n.n(p),h=n(26361),y=n.n(h),b=n(32933),g=n.n(b),v=n(49026),_=n.n(v),M=n(73644),w=n.n(M),S=n(34789),x=n.n(S),k=n(30114),C=n.n(k),E=n(32660),A=n.n(E),L=n(82626),O=n.n(L),T=n(36581),D=n.n(T),z=n(10308),j=n.n(z),P=n(34908),B=n.n(P),Y=n(27988),N=n.n(Y),F=n(81570),I=n.n(F),R=n(77330),W=n.n(R);function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function q(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return X(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(X(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,X(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,X(d,"constructor",u),X(u,"constructor",s),s.displayName="GeneratorFunction",X(u,a,"GeneratorFunction"),X(d),X(d,a,"Generator"),X(d,r,function(){return this}),X(d,"toString",function(){return"[object Generator]"}),(q=function(){return{w:o,m:f}})()}function X(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}X=function(e,t,n,r){function o(t,n){X(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},X(e,t,n,r)}function V(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function U(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){V(o,r,a,i,l,"next",e)}function l(e){V(o,r,a,i,l,"throw",e)}i(void 0)})}}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},a=new Headers(r.headers||{});a.has("X-Splunk-Form-Key")||a.set("X-Splunk-Form-Key",(n=document.cookie.match(/(?:^|;\s*)splunkweb_csrf_token(?:_[^=]+)?=([^;]+)/))?decodeURIComponent(n[1]):""),a.has("X-Requested-With")||a.set("X-Requested-With","XMLHttpRequest");var o=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(e):e;return fetch(o,G(G({},r),{},{headers:a,credentials:"same-origin"}))},Z=function(){var e=U(q().m(function e(t){var n,r,a,o,i,l,s,u,c,d,f,p,m,h,y,b;return q().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n="HTTP ".concat(t.status),e.p=1,!(t.headers.get("content-type")||"").includes("application/json")){e.n=3;break}return e.n=2,t.json();case 2:return i=e.v,l=(null==i?void 0:i.error)||(null==i?void 0:i.message)||(null==i?void 0:i.response)||(null==i||null===(r=i.payload)||void 0===r?void 0:r.error)||(null==i||null===(a=i.payload)||void 0===a?void 0:a.message)||Array.isArray(null==i?void 0:i.messages)&&(null===(o=i.messages[0])||void 0===o?void 0:o.text)||"",s=JSON.stringify(i,null,2),u=l?"".concat(n,": ").concat(l):"".concat(n,": ").concat(t.statusText||"Error"),e.a(2,s?"".concat(u,"\n").concat(s):u);case 3:return e.n=4,t.text();case 4:if(!(c=e.v)){e.n=7;break}return e.p=5,m=JSON.parse(c),h=(null==m?void 0:m.error)||(null==m?void 0:m.message)||(null==m?void 0:m.response)||(null==m||null===(d=m.payload)||void 0===d?void 0:d.error)||(null==m||null===(f=m.payload)||void 0===f?void 0:f.message)||Array.isArray(null==m?void 0:m.messages)&&(null===(p=m.messages[0])||void 0===p?void 0:p.text)||"",y=JSON.stringify(m,null,2),b=h?"".concat(n,": ").concat(h):"".concat(n,": ").concat(t.statusText||"Error"),e.a(2,y?"".concat(b,"\n").concat(y):b);case 6:return e.p=6,e.v,e.a(2,"".concat(n,": ").concat(c));case 7:return e.a(2,"".concat(n,": ").concat(t.statusText));case 8:return e.p=8,e.v,e.a(2,"".concat(n,": ").concat(t.statusText))}},e,null,[[5,6],[1,8]])}));return function(t){return e.apply(this,arguments)}}(),Q=function(){var e=U(q().m(function e(){var t,n,r;return q().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/vtenants/trackmeload",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({mode:"full"})});case 1:if((t=e.v).ok){e.n=3;break}return e.n=2,Z(t);case 2:throw n=e.v,new Error(n);case 3:return e.n=4,t.json();case 4:return r=e.v,e.a(2,r.payload||r)}},e)}));return function(){return e.apply(this,arguments)}}(),ee=function(){var e=U(q().m(function e(){var t,n,r;return q().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/licensing/license_status");case 1:if((t=e.v).ok){e.n=3;break}return e.n=2,Z(t);case 2:throw n=e.v,new Error(n);case 3:return e.n=4,t.json();case 4:return r=e.v,e.a(2,r)}},e)}));return function(){return e.apply(this,arguments)}}();function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return re(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(re(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,re(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,re(d,"constructor",u),re(u,"constructor",s),s.displayName="GeneratorFunction",re(u,a,"GeneratorFunction"),re(d),re(d,a,"Generator"),re(d,r,function(){return this}),re(d,"toString",function(){return"[object Generator]"}),(ne=function(){return{w:o,m:f}})()}function re(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}re=function(e,t,n,r){function o(t,n){re(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},re(e,t,n,r)}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oe(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:365,r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);var a="expires=".concat(r.toUTCString());document.cookie="".concat(e,"=").concat(t,";").concat(a,";path=/")},we=function(e){document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;")},Se=function(e){try{var t=_e(be);if(t){var n=JSON.parse(decodeURIComponent(t));return{colorScheme:"light"===n.colorScheme||"dark"===n.colorScheme?n.colorScheme:e||ve(),showWelcomeModal:void 0===n.showWelcomeModal||n.showWelcomeModal,autoRefresh:n.autoRefresh,columnVisibility:n.columnVisibility,columnWidths:n.columnWidths,columnOrder:n.columnOrder}}}catch(e){console.warn("[useUserPreferences] Error reading preferences from cookie:",e)}return{colorScheme:e||ve(),showWelcomeModal:!0,autoRefresh:void 0}},xe=r.createContext(null),ke=function(e){var t,n=e.children,a=e.defaultTheme,o=r.useMemo(function(){return Se(a)},[a]),i=he(r.useState(o.colorScheme),2),l=i[0],s=i[1],u=he(r.useState(null===(t=o.showWelcomeModal)||void 0===t||t),2),c=u[0],d=u[1],f=he(r.useState(o.autoRefresh),2),p=f[0],m=f[1];r.useLayoutEffect(function(){"light"===o.colorScheme?(document.body.style.backgroundColor="#ffffff",document.body.style.color="#1a1a1a"):(document.body.style.backgroundColor="#1a1a1a",document.body.style.color="#ffffff")},[]),r.useLayoutEffect(function(){"light"===l?(document.body.style.backgroundColor="#ffffff",document.body.style.color="#1a1a1a"):(document.body.style.backgroundColor="#1a1a1a",document.body.style.color="#ffffff")},[l]),r.useLayoutEffect(function(){a&&(_e(be)||s(function(e){return a!==e?a:e}))},[a]);var h=r.useCallback(function(e){s(e);var t=pe(pe({},Se()),{},{colorScheme:e});Me(be,encodeURIComponent(JSON.stringify(t)),3650)},[]),y=r.useCallback(function(e){d(e);var t=pe(pe({},Se()),{},{showWelcomeModal:e});Me(be,encodeURIComponent(JSON.stringify(t)),3650)},[]),b=r.useCallback(function(e){m(e);var t=pe(pe({},Se()),{},{autoRefresh:e});Me(be,encodeURIComponent(JSON.stringify(t)),3650)},[]),g=r.useCallback(function(e,t,n){var r;return null===(r=Se().columnVisibility)||void 0===r||null===(r=r[e])||void 0===r||null===(r=r[t])||void 0===r?void 0:r[n]},[]),v=r.useCallback(function(e,t){var n;return null===(n=Se().columnVisibility)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t]},[]),_=r.useCallback(function(e,t,n){var r,a=Se(),o=pe(pe({},a.columnVisibility||{}),{},me({},e,pe(pe({},(null===(r=a.columnVisibility)||void 0===r?void 0:r[e])||{}),{},me({},t,n)))),i=pe(pe({},a),{},{columnVisibility:o});Me(be,encodeURIComponent(JSON.stringify(i)),3650)},[]),M=r.useCallback(function(e,t){var n;return null===(n=Se().columnWidths)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t]},[]),w=r.useCallback(function(e,t,n,r){var a,o,i=Se(),l=pe(pe({},i.columnWidths||{}),{},me({},e,pe(pe({},(null===(a=i.columnWidths)||void 0===a?void 0:a[e])||{}),{},me({},t,pe(pe({},(null===(o=i.columnWidths)||void 0===o||null===(o=o[e])||void 0===o?void 0:o[t])||{}),{},me({},n,r)))))),s=pe(pe({},i),{},{columnWidths:l});Me(be,encodeURIComponent(JSON.stringify(s)),3650)},[]),S=r.useCallback(function(e,t){var n;return null===(n=Se().columnOrder)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t]},[]),x=r.useCallback(function(e,t,n){var r,a=Se(),o=pe(pe({},a.columnOrder||{}),{},me({},e,pe(pe({},(null===(r=a.columnOrder)||void 0===r?void 0:r[e])||{}),{},me({},t,n)))),i=pe(pe({},a),{},{columnOrder:o});Me(be,encodeURIComponent(JSON.stringify(i)),3650)},[]),k=r.useCallback(function(){we(be),s(a||ge),d(!0),m(void 0),window.location.reload()},[a]),C=r.useMemo(function(){return{colorScheme:l,showWelcomeModal:c,autoRefresh:p,updateColorScheme:h,setShowWelcomeModal:y,setAutoRefresh:b,getColumnVisibility:g,getColumnVisibilityForComponent:v,setColumnVisibility:_,getColumnWidthsForComponent:M,setColumnWidth:w,getColumnOrderForComponent:S,setColumnOrder:x,clearPreferences:k}},[l,c,p,h,y,b,g,v,_,M,w,S,x,k]);return r.createElement(xe.Provider,{value:C},n)},Ce=function(e){var t,n=r.useContext(xe),a=r.useMemo(function(){return Se(e)},[e]),o=he(r.useState(a.colorScheme),2),i=o[0],l=o[1],s=he(r.useState(null===(t=a.showWelcomeModal)||void 0===t||t),2),u=s[0],c=s[1],d=he(r.useState(a.autoRefresh),2),f=d[0],p=d[1],m=r.useCallback(function(e){l(e);var t=pe(pe({},Se()),{},{colorScheme:e});Me(be,encodeURIComponent(JSON.stringify(t)),3650)},[]),h=r.useCallback(function(e){c(e);var t=pe(pe({},Se()),{},{showWelcomeModal:e});Me(be,encodeURIComponent(JSON.stringify(t)),3650)},[]),y=r.useCallback(function(e){p(e);var t=pe(pe({},Se()),{},{autoRefresh:e});Me(be,encodeURIComponent(JSON.stringify(t)),3650)},[]),b=r.useCallback(function(e,t,n){var r;return null===(r=Se().columnVisibility)||void 0===r||null===(r=r[e])||void 0===r||null===(r=r[t])||void 0===r?void 0:r[n]},[]),g=r.useCallback(function(e,t){var n;return null===(n=Se().columnVisibility)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t]},[]),v=r.useCallback(function(e,t,n){var r,a=Se(),o=pe(pe({},a.columnVisibility||{}),{},me({},e,pe(pe({},(null===(r=a.columnVisibility)||void 0===r?void 0:r[e])||{}),{},me({},t,n)))),i=pe(pe({},a),{},{columnVisibility:o});Me(be,encodeURIComponent(JSON.stringify(i)),3650)},[]),_=r.useCallback(function(e,t){var n;return null===(n=Se().columnWidths)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t]},[]),M=r.useCallback(function(e,t,n,r){var a,o,i=Se(),l=pe(pe({},i.columnWidths||{}),{},me({},e,pe(pe({},(null===(a=i.columnWidths)||void 0===a?void 0:a[e])||{}),{},me({},t,pe(pe({},(null===(o=i.columnWidths)||void 0===o||null===(o=o[e])||void 0===o?void 0:o[t])||{}),{},me({},n,r)))))),s=pe(pe({},i),{},{columnWidths:l});Me(be,encodeURIComponent(JSON.stringify(s)),3650)},[]),w=r.useCallback(function(e,t){var n;return null===(n=Se().columnOrder)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t]},[]),S=r.useCallback(function(e,t,n){var r,a=Se(),o=pe(pe({},a.columnOrder||{}),{},me({},e,pe(pe({},(null===(r=a.columnOrder)||void 0===r?void 0:r[e])||{}),{},me({},t,n)))),i=pe(pe({},a),{},{columnOrder:o});Me(be,encodeURIComponent(JSON.stringify(i)),3650)},[]),x=r.useCallback(function(){we(be),l(e||ge),c(!0),p(void 0),window.location.reload()},[e]);return n||{colorScheme:i,showWelcomeModal:u,autoRefresh:f,updateColorScheme:m,setShowWelcomeModal:h,setAutoRefresh:y,getColumnVisibility:b,getColumnVisibilityForComponent:g,setColumnVisibility:v,getColumnWidthsForComponent:_,setColumnWidth:M,getColumnOrderForComponent:w,setColumnOrder:S,clearPreferences:x}},Ee=n(44920),Ae=n(76117),Le=n.n(Ae);function Oe(){var e=Ce().colorScheme;return(0,r.useMemo)(function(){return"light"===e?{backgroundSecondary:"#f5f5f5",textSecondary:"#666666",border:"#d0d0d0"}:{backgroundSecondary:"#121212",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[e])}function Te(e){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(e)}function De(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ze(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ze(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]&&arguments[0];if(t){if(i||!a.includes(n))return A({requestParams:{offset:0,count:0},data:{fields:[{name:"label"},{name:"value"}],columns:[[],[]]},meta:{totalCount:0}}),void _(!1);try{var r,o;null===(r=R.current)||void 0===r||null===(o=r.unsubscribe)||void 0===o||o.call(r)}catch(e){}var l="| trackmegetcoll tenant_id=".concat(t," component=").concat(n," mode=cachedstats");e||(_(!0),A(null));var s="".concat(l,' | table count_green_enabled, count_blue_enabled, count_critical_enabled, count_high_enabled, count_low_enabled, count_medium_enabled, count_orange_enabled, count_red_critical_priority_enabled, count_red_high_priority_enabled, count_red_other_priority_enabled, count_total, count_total_disabled, count_total_critical_priority_red, count_total_high_priority_red, count_total_in_alert | fields count_low_enabled, count_medium_enabled, count_high_enabled, count_critical_enabled | rename count_low_enabled as low, count_medium_enabled as medium, count_high_enabled as high, count_critical_enabled as critical | transpose | rename column as priority, "row 1" as count | eval order=case(priority="low", 0, priority="medium", 1, priority="high", 2, priority="critical", 3) | sort order | fields priority, count'),u=Ee.A.create({search:s},{app:"trackme"});R.current=u.getResults().subscribe({next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.map(function(e){return String(e.priority)}),r=t.map(function(e){return String(e.count)});A({requestParams:{offset:0,count:n.length},data:{fields:[{name:"label"},{name:"value"}],columns:[n,r]},meta:{totalCount:n.length}})},complete:function(){return _(!1)},error:function(){return _(!1)}})}},[t,n,a,i]),q=r.useCallback(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t){if(i||!a.includes(n))return T({requestParams:{offset:0,count:0},data:{fields:[{name:"label"},{name:"value"}],columns:[[],[]]},meta:{totalCount:0}}),void S(!1);try{var r,o;null===(r=W.current)||void 0===r||null===(o=r.unsubscribe)||void 0===o||o.call(r)}catch(e){}var l="| trackmegetcoll tenant_id=".concat(t," component=").concat(n," mode=cachedstats");e||(S(!0),T(null));var s="".concat(l,' | table count_green_enabled, count_blue_enabled, count_critical_enabled, count_high_enabled, count_low_enabled, count_medium_enabled, count_orange_enabled, count_red_critical_priority_enabled, count_red_high_priority_enabled, count_red_other_priority_enabled, count_total, count_total_disabled, count_total_critical_priority_red, count_total_high_priority_red, count_total_in_alert | fields count_green_enabled, count_blue_enabled, count_orange_enabled, count_red_other_priority_enabled, count_red_high_priority_enabled, count_red_critical_priority_enabled | rename count_green_enabled as green, count_blue_enabled as blue, count_orange_enabled as orange, count_red_other_priority_enabled as "red - other priority", count_red_high_priority_enabled as "red - high priority", count_red_critical_priority_enabled as "red - critical priority" | transpose | rename column as state, "row 1" as count | eval order=case(state="green", 0, state="blue", 1, state="orange", 2, state="red - other priority", 3, state="red - high priority", 4, state="red - critical priority", 5) | sort order | fields state, count'),u=Ee.A.create({search:s},{app:"trackme"});W.current=u.getResults().subscribe({next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.map(function(e){return String(e.state)}),r=t.map(function(e){return String(e.count)});T({requestParams:{offset:0,count:n.length},data:{fields:[{name:"label"},{name:"value"}],columns:[n,r]},meta:{totalCount:n.length}})},complete:function(){return S(!1)},error:function(){return S(!1)}})}},[t,n,a,i]),X=r.useCallback(function(){return H(),q(),function(){try{var e,t;null===(e=R.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=W.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[H,q]),V=r.useRef(null),U=r.useCallback(function(){H(!0),q(!0)},[H,q]);r.useEffect(function(){V.current=U},[U]);var $=r.useCallback(function(e){V.current&&V.current()},[]);r.useEffect(function(){l&&l($)},[l,$]),r.useEffect(function(){if(!(p&&t&&n&&a.includes(n)))return function(){};var e=X();return function(){try{e()}catch(e){}}},[p,t,n,X,a]),r.useEffect(function(){return function(){try{var e,t;null===(e=R.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=W.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]);var G=r.useCallback(function(){try{var e;if(!t)return;var r="| trackmegetcoll tenant_id=".concat(t," component=").concat(n," mode=cachedstats"),a="".concat(r,' | table count_green_enabled, count_blue_enabled, count_critical_enabled, count_high_enabled, count_low_enabled, count_medium_enabled, count_orange_enabled, count_red_critical_priority_enabled, count_red_high_priority_enabled, count_red_other_priority_enabled, count_total, count_total_disabled, count_total_critical_priority_red, count_total_high_priority_red, count_total_in_alert | fields count_low_enabled, count_medium_enabled, count_high_enabled, count_critical_enabled | rename count_low_enabled as low, count_medium_enabled as medium, count_high_enabled as high, count_critical_enabled as critical | transpose | rename column as priority, "row 1" as count | eval order=case(priority="low", 0, priority="medium", 1, priority="high", 2, priority="critical", 3) | sort order | fields priority, count'),o="/app/trackme/search?q=".concat(encodeURIComponent(a)),i=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(o):o;window.open(i,"_blank","noopener")}catch(e){}},[t,n]),K=r.useCallback(function(){try{var e;if(!t)return;var r="| trackmegetcoll tenant_id=".concat(t," component=").concat(n," mode=cachedstats"),a="".concat(r,' | table count_green_enabled, count_blue_enabled, count_critical_enabled, count_high_enabled, count_low_enabled, count_medium_enabled, count_orange_enabled, count_red_critical_priority_enabled, count_red_high_priority_enabled, count_red_other_priority_enabled, count_total, count_total_disabled, count_total_critical_priority_red, count_total_high_priority_red, count_total_in_alert | fields count_green_enabled, count_blue_enabled, count_orange_enabled, count_red_other_priority_enabled, count_red_high_priority_enabled, count_red_critical_priority_enabled | rename count_green_enabled as green, count_blue_enabled as blue, count_orange_enabled as orange, count_red_other_priority_enabled as "red - other priority", count_red_high_priority_enabled as "red - high priority", count_red_critical_priority_enabled as "red - critical priority" | transpose | rename column as state, "row 1" as count | eval order=case(state="green", 0, state="blue", 1, state="orange", 2, state="red - other priority", 3, state="red - high priority", 4, state="red - critical priority", 5) | sort order | fields state, count'),o="/app/trackme/search?q=".concat(encodeURIComponent(a)),i=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(o):o;window.open(i,"_blank","noopener")}catch(e){}},[t,n]),J=r.useCallback(function(e){if(u&&"point.click"===(null==e?void 0:e.type)&&null!=e&&e.payload)try{var t=e.payload,n="";if(void 0!==t["row.label.value"])n=String(t["row.label.value"]);else if(t.row&&t.row.label&&void 0!==t.row.label.value)n=String(t.row.label.value);else if(t.row&&"object"===Te(t.row)&&"label"in t.row){var r=t.row.label;r&&"object"===Te(r)&&"value"in r&&(n=String(r.value))}n=n.toLowerCase().trim();var a=null;"low"===n?a="lowPriority":"medium"===n?a="mediumPriority":"high"===n?a="highPriority":"critical"===n&&(a="criticalPriority"),a&&u(a)}catch(t){console.error("[OverviewChartsBase] Error handling chart A click:",t,e)}},[u]),Z=r.useCallback(function(e){if(u&&"point.click"===(null==e?void 0:e.type)&&null!=e&&e.payload)try{var t=e.payload,n="";if(void 0!==t["row.label.value"])n=String(t["row.label.value"]);else if(t.row&&t.row.label&&void 0!==t.row.label.value)n=String(t.row.label.value);else if(t.row&&"object"===Te(t.row)&&"label"in t.row){var r=t.row.label;r&&"object"===Te(r)&&"value"in r&&(n=String(r.value))}n=n.toLowerCase().trim();var a=null;"green"===n?a="green":"blue"===n?a="blue":"orange"===n?a="orange":"red - other priority"===n||n.includes("red")&&n.includes("other")?a="redOtherPriority":"red - high priority"===n||n.includes("red")&&n.includes("high")?a="highAlert":("red - critical priority"===n||n.includes("red")&&n.includes("critical"))&&(a="criticalAlert"),a&&u(a)}catch(t){console.error("[OverviewChartsBase] Error handling chart B click:",t,e)}},[u]);return r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12,marginBottom:16}},r.createElement("div",{style:y},r.createElement("div",{style:{color:h.textSecondary,fontWeight:600,marginBottom:8}},"Monitored entities count by priority"),r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:G},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{H()}catch(e){}}},"Refresh")))),r.createElement("div",{ref:D,style:b},i||!a.includes(n)?r.createElement("div",{style:{color:"#9e9e9e"}},"This tenant is currently disabled"):v||!E?r.createElement(s(),{size:"small"}):r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:P,height:180,options:{showDonutHole:!0,legendPosition:"none",backgroundColor:"transparent",height:180,collapseThreshold:0,collapseExcludeZero:!0,seriesColorsByField:{low:"#cce5ff",medium:"#7fbfff",high:"#3298ff",critical:"#0056b3"}},dataSources:{primary:E},hasEventHandlers:!0,onEventTrigger:J})))),r.createElement("div",{style:y},r.createElement("div",{style:{color:h.textSecondary,fontWeight:600,marginBottom:8}},"Monitored entities count by state and priority"),r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:K},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{q()}catch(e){}}},"Refresh")))),r.createElement("div",{ref:z,style:b},i||!a.includes(n)?r.createElement("div",{style:{color:"#9e9e9e"}},"This tenant is currently disabled"):w||!O?r.createElement(s(),{size:"small"}):r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:N,height:180,options:{showDonutHole:!0,legendPosition:"none",backgroundColor:"transparent",height:180,collapseThreshold:0,collapseExcludeZero:!0,seriesColorsByField:{green:"#45D4BA",blue:"#779ecb",orange:"#ffb347","red - other priority":"#FF6B6B","red - high priority":"#E53935","red - critical priority":"#D32F2F"}},dataSources:{primary:O},hasEventHandlers:!0,onEventTrigger:Z})))))};function Pe(){return Pe=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&$(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(X.current),function(){e.disconnect()}}},[]);var G=r.useMemo(function(){if(!O)return!1;var e=0;return"number"==typeof n?e=n:null!=n&&(e=parseFloat(String(n))),!Number.isNaN(e)&&e>0},[O,n]),K=r.useMemo(function(){return G?"#ffc107":B.border},[G,B.border]),J=nt(r.useState(!1),2),Z=J[0],Q=J[1],ee=r.useMemo(function(){return Z&&v&&!j?G?"#ffd54f":"#4fc3f7":K},[Z,v,j,G,K]),te=r.useMemo(function(){return!v||j?{}:Z?{transform:"translateY(-2px)",boxShadow:"light"===P?"0 4px 12px rgba(0, 0, 0, 0.15)":"0 4px 12px rgba(0, 0, 0, 0.5)"}:{transform:"translateY(0)",boxShadow:"none"}},[Z,v,j,P]),ne=r.useCallback(function(e){!v||j||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),v())},[v,j]);return r.createElement("div",{ref:X,style:et({backgroundColor:B.background,border:"2px solid ".concat(ee),borderRadius:8,padding:12,position:"relative",minHeight:100,display:"flex",flexDirection:"column",cursor:v&&!j?"pointer":"default",transition:"transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease"},te),onClick:!j&&v?v:void 0,onKeyDown:ne,onMouseEnter:function(){return v&&!j&&Q(!0)},onMouseLeave:function(){return Q(!1)},onFocus:function(){return v&&!j&&Q(!0)},onBlur:function(){return Q(!1)},role:v&&!j?"button":void 0,tabIndex:v&&!j?0:void 0},v&&j&&r.createElement("div",{style:{position:"absolute",top:8,right:b||g?36:8,zIndex:10}},r.createElement(y(),{content:"View details"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(Ge(),null),onClick:function(e){e.preventDefault(),e.stopPropagation(),v()},"aria-label":"View details",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}))),(b||g)&&r.createElement("div",{style:{position:"absolute",top:8,right:8,zIndex:10},onClick:function(e){e.stopPropagation()},onKeyDown:function(e){e.stopPropagation()},role:"presentation"},r.createElement(f(),{open:H,onRequestOpen:function(){return q(!0)},onRequestClose:function(){return q(!1)},toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Card actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,b&&r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:function(){q(!1),b()}},"Open in Search"),g&&r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){q(!1);try{g()}catch(e){}},disabled:d},"Refresh")))),d&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,minHeight:80}},r.createElement(s(),{size:"small"})),!d&&h&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,minHeight:80,color:"#ff4444",fontSize:12}},h),!d&&!h&&r.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between"}},F&&N?r.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"}},r.createElement(Je(),{width:Math.max(200,U-24),height:100,options:et(et(et({title:"",underLabel:t,underLabelFontSize:11,backgroundColor:"transparent"},void 0!==A?{numberPrecision:A}:{}),R),Y.displayUnit?{unit:Y.displayUnit,unitPosition:l}:{}),dataSources:{primary:N}})):r.createElement(r.Fragment,null,r.createElement("div",{style:{fontSize:28,fontWeight:600,color:S||B.text,lineHeight:1.2,marginBottom:8}},null==n?"N/A":String(n)),r.createElement("div",{style:{fontSize:11,color:B.textSecondary,lineHeight:1.4}},t)),M&&void 0!==w&&r.createElement("div",{style:{fontSize:12,color:w>=0?"#28a745":"#dc3545",marginTop:4}},w>=0?"↑":"↓"," ",Math.abs(w).toFixed(2))))};function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return it(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?it(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]&&arguments[0];if(!t||i||!a.includes(n))return p({count_total:0,count_total_disabled:0,count_total_in_alert:0,count_total_high_priority_red:0,count_total_critical_priority_red:0,count_low_enabled:0,count_medium_enabled:0,count_high_enabled:0,count_critical_enabled:0,count_pending_enabled:0}),void y(!1);try{var r,o;null===(r=b.current)||void 0===r||null===(o=r.unsubscribe)||void 0===o||o.call(r)}catch(e){}e||y(!0);var l="| trackmegetcoll tenant_id=".concat(t," component=").concat(n," mode=cachedstats"),s="".concat(l," | table count_total, count_total_disabled, count_total_in_alert, count_total_high_priority_red, count_total_critical_priority_red, count_low_enabled, count_medium_enabled, count_high_enabled, count_critical_enabled, count_pending_enabled | head 1"),u=Ee.A.create({search:s},{app:"trackme"});b.current=u.getResults({count:0}).subscribe({next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0];p({count_total:Number(n.count_total||0),count_total_disabled:Number(n.count_total_disabled||0),count_total_in_alert:Number(n.count_total_in_alert||0),count_total_high_priority_red:Number(n.count_total_high_priority_red||0),count_total_critical_priority_red:Number(n.count_total_critical_priority_red||0),count_low_enabled:Number(n.count_low_enabled||0),count_medium_enabled:Number(n.count_medium_enabled||0),count_high_enabled:Number(n.count_high_enabled||0),count_critical_enabled:Number(n.count_critical_enabled||0),count_pending_enabled:Number(n.count_pending_enabled||0)})}else p({count_total:0,count_total_disabled:0,count_total_in_alert:0,count_total_high_priority_red:0,count_total_critical_priority_red:0,count_low_enabled:0,count_medium_enabled:0,count_high_enabled:0,count_critical_enabled:0,count_pending_enabled:0})},complete:function(){return y(!1)},error:function(){p({count_total:0,count_total_disabled:0,count_total_in_alert:0,count_total_high_priority_red:0,count_total_critical_priority_red:0,count_low_enabled:0,count_medium_enabled:0,count_high_enabled:0,count_critical_enabled:0,count_pending_enabled:0}),y(!1)}})},[t,n,a,i]),v=r.useRef(null);r.useEffect(function(){v.current=g},[g]);var _=r.useCallback(function(e){v.current&&v.current(!0)},[]);r.useEffect(function(){l&&l(_)},[l,_]),r.useEffect(function(){return c?(g(),function(){try{var e,t;null===(e=b.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}):function(){}},[c,g]);var M=r.useCallback(function(e){var r;if(t){var a="| trackmegetcoll tenant_id=".concat(t," component=").concat(n," | fields - _raw | table *");switch(e){case"enabled":a+=' | where monitored_state="enabled"';break;case"anyAlert":a+=' | where monitored_state="enabled" AND (object_state="red" OR object_state="orange")';break;case"highAlert":a+=' | where monitored_state="enabled" AND object_state="red" AND priority="high"';break;case"criticalAlert":a+=' | where monitored_state="enabled" AND object_state="red" AND priority="critical"';break;case"disabled":a+=' | where monitored_state="disabled"'}var o="/app/trackme/search?q=".concat(encodeURIComponent(a)),i=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(o):o;window.open(i,"_blank","noopener")}},[t,n]);if(h)return r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:12,marginTop:16}},[1,2,3,4,5].map(function(e){return r.createElement(at,{key:e,label:"",value:null,loading:!0})}));if(!f)return null;var w=f.count_low_enabled+f.count_medium_enabled+f.count_high_enabled+f.count_critical_enabled+f.count_pending_enabled;return r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:12,marginTop:16}},r.createElement(at,{label:"ENABLED ".concat(lt[n]),value:w,onClick:function(){return null==s?void 0:s("enabled")},onOpenSearch:function(){return M("enabled")},onRefresh:function(){return g()}}),r.createElement(at,{label:"ANY PRIORITY ".concat(lt[n]," IN ALERT"),value:f.count_total_in_alert,showAlertBorder:!0,onClick:function(){return null==s?void 0:s("anyAlert")},onOpenSearch:function(){return M("anyAlert")},onRefresh:function(){return g()}}),r.createElement(at,{label:"HIGH PRIORITY ".concat(lt[n]," IN ALERT"),value:f.count_total_high_priority_red,showAlertBorder:!0,onClick:function(){return null==s?void 0:s("highAlert")},onOpenSearch:function(){return M("highAlert")},onRefresh:function(){return g()}}),r.createElement(at,{label:"CRITICAL PRIORITY ".concat(lt[n]," IN ALERT"),value:f.count_total_critical_priority_red,showAlertBorder:!0,onClick:function(){return null==s?void 0:s("criticalAlert")},onOpenSearch:function(){return M("criticalAlert")},onRefresh:function(){return g()}}),r.createElement(at,{label:"".concat(lt[n]," NOT MONITORED"),value:f.count_total_disabled,onClick:function(){return null==s?void 0:s("disabled")},onOpenSearch:function(){return M("disabled")},onRefresh:function(){return g()}}))};var ut=n(48808),ct=n(2426),dt=n.n(ct),ft=n(73460),pt=n.n(ft),mt=n(58316),ht=n.n(mt),yt=n(49912),bt=n.n(yt),gt=n(63423),vt=n.n(gt),_t=n(7494),Mt=n.n(_t),wt=n(38315),St=n.n(wt),xt=n(473),kt=n.n(xt),Ct=n(13649),Et=n.n(Ct),At=n(86037),Lt=n.n(At),Ot=n(37670),Tt=n.n(Ot),Dt=n(65504),zt=n.n(Dt),jt=n(42462),Pt=n.n(jt),Bt=n(33771),Yt=n.n(Bt),Nt=n(58925),Ft=n.n(Nt),It=n(77517),Rt=n.n(It),Wt=n(38975),Ht=n.n(Wt),qt=n(30080),Xt=n.n(qt),Vt=n(13882),Ut=n.n(Vt),$t=n(44111),Gt=n.n($t),Kt=n(32769),Jt=n.n(Kt),Zt=n(25146),Qt=n.n(Zt);function en(e){if(null==e||""===e)return null;if("number"==typeof e)return e;var t=String(e).trim();if(t.endsWith("m")){var n=parseFloat(t.slice(0,-1));if(!Number.isNaN(n))return Math.floor(60*n)}else if(t.endsWith("h")){var r=parseFloat(t.slice(0,-1));if(!Number.isNaN(r))return Math.floor(3600*r)}else if(t.endsWith("d")){var a=parseFloat(t.slice(0,-1));if(!Number.isNaN(a))return Math.floor(86400*a)}else if(t.endsWith("w")){var o=parseFloat(t.slice(0,-1));if(!Number.isNaN(o))return Math.floor(604800*o)}var i=parseFloat(t);if(!Number.isNaN(i)&&!t.includes(":"))return Math.floor(i);var l=t.match(/^(\d+)\+/),s=0,u=t;l&&(s=parseInt(l[1],10),u=t.substring(l[0].length));var c=u.split(":");if(2===c.length){var d=parseInt(c[0],10),f=parseInt(c[1],10);if(!Number.isNaN(d)&&!Number.isNaN(f))return 86400*s+60*d+f}else if(3===c.length){var p=parseInt(c[0],10),m=parseInt(c[1],10),h=parseInt(c[2],10);if(!Number.isNaN(p)&&!Number.isNaN(m)&&!Number.isNaN(h))return 86400*s+3600*p+60*m+h}return null}function tn(e){if(null==e||Number.isNaN(e))return"";var t=e<0,n=Math.abs(Math.floor(e)),r=Math.floor(n/86400);n%=86400;var a=Math.floor(n/3600);n%=3600;var o=Math.floor(n/60),i=n%60,l="";return l=r>0?"".concat(r,"+").concat(a.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0"),":").concat(i.toString().padStart(2,"0")):"".concat(a.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0"),":").concat(i.toString().padStart(2,"0")),t&&(l="-".concat(l)),l}function nn(e){return nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nn(e)}function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function an(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=",options:[{label:"Greater than or equal to",value:">="},{label:"Greater than",value:">"},{label:"Less than",value:"<"},{label:"Less than or equal to",value:"<="},{label:"Equal to",value:"=="},{label:"Not equal to",value:"!="}]},{name:"condition_true",label:"Condition Must Be Met",type:"select",required:!0,defaultValue:"1",options:[{label:"True",value:"1"},{label:"False",value:"0"}]}]}],pn,mn,hn,yn,bn)},fqm:{component:"fqm",categories:["impact_score","alert_acknowledgment","priority_management","thresholds","tags","logical_group_association","enablement_deletion","outliers_detection_actions","outliers_detection_rules"],actions:[].concat(gn,cn,un,[{id:"threshold_update",label:"Update Threshold",category:"thresholds",endpoint:"fqm_thresholds_update_bulk",method:"POST",fields:[{name:"kpi_metric_name",label:"KPI Metric Name",type:"text",required:!0,defaultValue:"fields_quality.percent_success",placeholder:"e.g., fields_quality.percent_success"},{name:"kpi_metric_value",label:"Threshold Value",type:"number",required:!0,defaultValue:85},{name:"operator",label:"Operator",type:"select",required:!0,defaultValue:">=",options:[{label:"Greater than or equal to",value:">="},{label:"Greater than",value:">"},{label:"Less than",value:"<"},{label:"Less than or equal to",value:"<="},{label:"Equal to",value:"=="},{label:"Not equal to",value:"!="}]},{name:"condition_true",label:"Condition Must Be Met",type:"select",required:!0,defaultValue:"1",options:[{label:"True",value:"1"},{label:"False",value:"0"}]}]}],pn,mn,hn,yn,bn)},wlk:{component:"wlk",categories:["impact_score","alert_acknowledgment","priority_management","tags","logical_group_association","enablement_deletion","outliers_detection_actions","outliers_detection_rules"],actions:[].concat(gn,cn,un,pn,mn,hn,yn,bn)}},Mn=function(e){return _n[e]};function wn(e){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wn(e)}function Sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xn(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(En(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,En(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,En(d,"constructor",u),En(u,"constructor",s),s.displayName="GeneratorFunction",En(u,a,"GeneratorFunction"),En(d),En(d,a,"Generator"),En(d,r,function(){return this}),En(d,"toString",function(){return"[object Generator]"}),(Cn=function(){return{w:o,m:f}})()}function En(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}En=function(e,t,n,r){function o(t,n){En(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},En(e,t,n,r)}function An(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Ln(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){An(o,r,a,i,l,"next",e)}function l(e){An(o,r,a,i,l,"throw",e)}i(void 0)})}}function On(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||Tn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tn(e,t){if(e){if("string"==typeof e)return Dn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dn(e,t):void 0}}function Dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0,n})})},[N,U,S]);var fe=r.useMemo(function(){return h?function(e,t){return Mn(e).actions.filter(function(e){return e.category===t})}(a,h):[]},[a,h]),pe=r.useCallback(function(e,t){var n=t.value;y(n),M(null),x({}),B({})},[]),me=r.useCallback(function(e,t){var n=t.value,r=fe.find(function(e){return e.id===n});M(r||null),x({}),B({})},[fe]),he=r.useCallback(function(e,t){x(function(n){return xn(xn({},n),{},kn({},e,t))}),P[e]&&B(function(t){var n=xn({},t);return delete n[e],n})},[P]),ye=r.useCallback(function(e,t){if(!t&&0!==t)return"";var n=ce.has(e),r=String(t);if(n){var a=en(r);return null!==a?String(a):r}if(r.includes(":")||r.includes("+"))return r;var o=en(r);return null!==o?tn(o):r},[ce]),be=r.useCallback(function(e){de(function(t){return new Set(t).add(e)});var t=S[e];if(null!=t&&""!==t){var n=en(String(t));null!==n&&he(e,String(n))}},[S,he]),ge=r.useCallback(function(e){de(function(t){var n=new Set(t);return n.delete(e),n});var t=S[e];if(null!=t&&""!==t){var n=en(String(t));null!==n&&he(e,tn(n))}},[S,he]),ve=r.useCallback(function(e,t){var n,r=(t||N[e]||"").trim().toLowerCase();if(r){var a=Array.isArray(S[e])?S[e]:[];a.includes(r)||(he(e,[].concat(function(e){if(Array.isArray(e))return Dn(e)}(n=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||Tn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[r])),F(function(t){return xn(xn({},t),{},kn({},e,""))}),X(function(t){return xn(xn({},t),{},kn({},e,!1))}))}},[N,S,he]),_e=r.useCallback(function(e,t){var n=Array.isArray(S[e])?S[e]:[];he(e,n.filter(function(e){return e!==t}))},[S,he]),Me=r.useCallback(function(){if(!g)return!1;var e={},t=!0;return g.fields.forEach(function(n){if(n.required){var r=S[n.name];"tags"===n.type?Array.isArray(r)&&0!==r.length||(e[n.name]=!0,t=!1):null!=r&&""!==r||(e[n.name]=!0,t=!1)}}),B(e),t},[g,S]),we=r.useMemo(function(){return!!g&&g.fields.every(function(e){if(e.required){var t=S[e.name];if("tags"===e.type){if(!Array.isArray(t)||0===t.length)return!1}else if(null==t||""===t)return!1}return!0})},[g,S]),Se=r.useCallback(function(){if(!g||!n)return null;var e={tenant_id:n};if(g.usesObjectList?(e.object_list=i.join(","),e.object_category="splk-".concat(a)):(e.keys_list=o.join(","),"ds_monitoring"!==g.endpoint&&"ds_update_priority"!==g.endpoint||(e.object_category="splk-".concat(a))),"ack_manage"===g.endpoint){if("ack_enable"===g.id){e.action="enable";var t=Number(S.ack_days)||1;e.ack_period=86400*t,e.ack_type=S.ack_type||"unsticky",e.ack_source="user_ack"}else e.action="disable";e.ack_comment=C||"Bulk edit update",e.update_comment=C||"Bulk edit update"}else if("ds_monitoring"===g.endpoint)e.action="enable"===g.id?"enable":"disable",e.update_comment=C||"Bulk edit update";else if("mh_reset"===g.endpoint)e.update_comment=C||"Bulk edit update";else if("ds_delete"===g.endpoint)e.deletion_type="delete_temporary"===g.id?"temporary":"permanent",e.update_comment=C||"Bulk edit update";else if("flx_thresholds_update_bulk"===g.endpoint||"fqm_thresholds_update_bulk"===g.endpoint)e.keys_list=o.join(","),e.update_comment=C||"Bulk edit update",g.fields.forEach(function(t){e[t.name]=S[t.name]});else if("outliers_bulk_action"===g.endpoint){e.component=a,e.keys_list=o.join(",");var r="enable";"outliers_disable"===g.id?r="disable":"outliers_reset"===g.id?r="reset_status":"outliers_mltrain"===g.id?r="mltrain":"outliers_mlmonitor"===g.id&&(r="mlmonitor"),e.action=r,e.update_comment=C||"Bulk edit update"}else if("outliers_bulk_rules_update"===g.endpoint)e.component=a,e.keys_list=o.join(","),e.update_comment=C||"Bulk edit update",g.fields.forEach(function(t){e[t.name]=S[t.name]});else if("ds_manage_data_sampling"===g.endpoint){e.component="dsm"===a?"dsm":a,e.keys_list=o.join(",");var l="enable";"sampling_disable"===g.id?l="disable":"sampling_run"===g.id?l="run":"sampling_reset"===g.id&&(l="reset"),e.action=l,e.update_comment=C||"Bulk edit update"}else if("logical_group_associate_new"===g.endpoint)e.action="associate",e.object_group_name=S.group_name,e.object_list=i.join(","),e.update_comment=C||"Bulk edit update";else if("logical_group_associate_existing"===g.endpoint)e.action="associate",e.object_group_name=S.group_name,e.object_list=i.join(","),e.update_comment=C||"Bulk edit update";else if("logical_groups_remove_object_from_groups"===g.endpoint)e.object_list=i.join(","),e.update_comment=C||"Bulk edit update";else if("ds_update_lag_policy"===g.endpoint||"dh_update_lag_policy"===g.endpoint){e.object_list=i.join(","),e.update_comment=C||"Bulk edit update";var s={},u=!1;g.fields.forEach(function(t){if("impact_score_delay_weight"===t.name){var n=S[t.name];if(null!=n&&""!==n){var r=Number(n);!Number.isNaN(r)&&r>=0&&r<=100&&(s.delay=r,u=!0)}}else if("impact_score_latency_weight"===t.name){var a=S[t.name];if(null!=a&&""!==a){var o=Number(a);!Number.isNaN(o)&&o>=0&&o<=100&&(s.latency=o,u=!0)}}else if("data_max_delay_allowed"===t.name||"data_max_lag_allowed"===t.name){var i=S[t.name];if(null!=i&&""!==i){var l=en(i);e[t.name]=String(null!==l?l:i)}}else e[t.name]=S[t.name]}),u&&(e.impact_score_weights=s)}else if("ds_update_manual_tags"===g.endpoint)if(e.object_category="splk-".concat(a),e.keys_list=o.join(","),e.update_comment=C||"Bulk edit update","tags_create"===g.id){var c=Array.isArray(S.tags_manual)?S.tags_manual:[];e.tags_manual=c}else e.tags_manual="";else"ds_update_priority"===g.endpoint?(e.object_category="splk-".concat(a),e.keys_list=o.join(","),e.priority={priority_critical:"critical",priority_high:"high",priority_medium:"medium",priority_low:"low",priority_pending:"pending"}[g.id]||"medium",e.update_comment=C||"Bulk edit update"):(e.update_comment=C||"Bulk edit update",e.keys_list=o.join(","),g.fields.forEach(function(t){e[t.name]=S[t.name]}));return e},[g,n,o,i,a,S,C]),xe=r.useCallback(function(){if(!g)return"";if("ack_manage"===g.endpoint)return"/splunkd/__raw/services/trackme/v2/ack/write/ack_manage";if("outliers_bulk_action"===g.endpoint||"outliers_bulk_rules_update"===g.endpoint)return"/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/".concat(g.endpoint);if("outliers_set_false_positive_bulk"===g.endpoint||"set_false_positive_bulk"===g.endpoint||"manual_score_influence_bulk"===g.endpoint)return"";if("logical_group_associate_new"===g.endpoint||"logical_group_associate_existing"===g.endpoint)return"/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_associate_group";if("logical_groups_remove_object_from_groups"===g.endpoint)return"/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_remove_object_from_groups";var e={dsm:"dsm",dhm:"dhm",mhm:"mhm",fqm:"fqm",flx:"flx",wlk:"wlk"}[a];if("ds_update_priority"===g.endpoint){var t={dsm:"ds_update_priority",dhm:"dh_update_priority",mhm:"mh_update_priority",fqm:"fqm_update_priority",flx:"flx_update_priority",wlk:"wlk_update_priority"}[a];return"/splunkd/__raw/services/trackme/v2/splk_".concat(e,"/write/").concat(t)}if("ds_delete"===g.endpoint){var n={dsm:"ds_delete",dhm:"dh_delete",mhm:"mh_delete",fqm:"fqm_delete",flx:"flx_delete",wlk:"wlk_delete"}[a];return"/splunkd/__raw/services/trackme/v2/splk_".concat(e,"/write/").concat(n)}if("ds_monitoring"===g.endpoint){var r={dsm:"ds_monitoring",dhm:"dh_monitoring",mhm:"mh_monitoring",fqm:"fqm_monitoring",flx:"flx_monitoring",wlk:"wlk_monitoring"}[a];return"/splunkd/__raw/services/trackme/v2/splk_".concat(e,"/write/").concat(r)}return"/splunkd/__raw/services/trackme/v2/splk_".concat(e,"/write/").concat(g.endpoint)},[g,a]),ke=r.useCallback(Ln(Cn().m(function e(){var t,r,s,c,d,p,m,h,y,b,v,_,M,w,x,k,E,A,L,T,D,j,P,B,Y,N,F,I,R,W,H,q,X,V,U,$,G,K,Q,ee,te,ne,re,ae,oe,ie,le,se,ue,ce,de,fe,pe;return Cn().w(function(e){for(;;)switch(e.p=e.n){case 0:if(g){e.n=1;break}return e.a(2);case 1:if(Me()){e.n=2;break}return z("Please fill in all required fields"),e.a(2);case 2:if("ds_update_lag_policy"!==g.endpoint&&"dh_update_lag_policy"!==g.endpoint){e.n=4;break}if(!(t=["data_max_delay_allowed","data_max_lag_allowed"].find(function(e){return!(!g.fields.find(function(t){return t.name===e})||void 0===S[e]||null===S[e]||""===S[e])&&null===en(S[e])}))){e.n=3;break}return r=g.fields.find(function(e){return e.name===t}),z("Invalid time format for ".concat((null==r?void 0:r.label)||t,". Please use seconds (e.g., 3600) or unit suffix (e.g., 15m, 1h, 2d, 1w).")),e.a(2);case 3:if(!(s=["impact_score_delay_weight","impact_score_latency_weight"].find(function(e){if(g.fields.find(function(t){return t.name===e})&&void 0!==S[e]&&null!==S[e]&&""!==S[e]){var t=Number(S[e]);return Number.isNaN(t)||t<0||t>100}return!1}))){e.n=4;break}return c=g.fields.find(function(e){return e.name===s}),z("Invalid value for ".concat((null==c?void 0:c.label)||s,". Please enter a number between 0 and 100.")),e.a(2);case 4:if(null!==(d=Se())){e.n=5;break}return z("This action requires additional steps. Please use the entity detail modal for logical group operations."),e.a(2);case 5:if(O(!0),z(null),e.p=6,"outliers_set_false_positive_bulk"!==g.endpoint){e.n=21;break}if(n){e.n=7;break}throw new Error("Tenant ID is required");case 7:p="/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_set_false_positive",m=0,h=0,y=[],b=0;case 8:if(!(b0?{type:"success",title:"Bulk false positive action completed",message:"Successfully set ".concat(m," of ").concat(L," entities as false positive").concat(h>0?" (".concat(h," skipped - no positive score)"):"")}:{type:"info",title:"Bulk false positive action completed",message:"No entities were updated. All selected entities either have no positive outliers score or encountered errors."}),y.length>0&&0===m?z("Failed to process some entities: ".concat(y.slice(0,3).join("; ")).concat(y.length>3?"...":"")):(u(),l()),e.a(2);case 21:if("set_false_positive_bulk"!==g.endpoint){e.n=36;break}if(n){e.n=22;break}throw new Error("Tenant ID is required");case 22:T="/splunkd/__raw/services/trackme/v2/component/write/set_false_positive",D=0,j=0,P=[],B=0;case 23:if(!(B0?{type:"success",title:"Bulk false positive action completed",message:"Successfully set ".concat(D," of ").concat(X," entities as false positive").concat(j>0?" (".concat(j," skipped - no positive score)"):"")}:{type:"info",title:"Bulk false positive action completed",message:"No entities were updated. All selected entities either have no positive impact score or encountered errors."}),P.length>0&&0===D?z("Failed to process some entities: ".concat(P.slice(0,3).join("; ")).concat(P.length>3?"...":"")):(u(),l()),e.a(2);case 36:if("manual_score_influence_bulk"!==g.endpoint){e.n=48;break}if(n){e.n=37;break}throw new Error("Tenant ID is required");case 37:if(V="/splunkd/__raw/services/trackme/v2/component/write/manual_score_influence",U=0,$=0,G=[],K=S.score_type||"add",Q=parseInt(S.score_value,10),!(Number.isNaN(Q)||Q<=0)){e.n=38;break}throw new Error("Invalid score value. Please enter a positive integer.");case 38:ee=0;case 39:if(!(ee0?", ".concat(G.length," errors"):""),f({type:U>0?"success":"error",title:U>0?"Success":"Error",message:ie}),U>0&&(u(),l()),e.a(2);case 48:return le=xe(),e.n=49,J(le,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)});case 49:if((se=e.v).ok){e.n=51;break}return e.n=50,Z(se);case 50:throw ue=e.v,new Error(ue);case 51:f({type:"success",title:"Bulk edit successful",message:"Successfully updated ".concat(o.length," entities")}),u(),l(),e.n=53;break;case 52:e.p=52,pe=e.v,z(pe.message||"An error occurred while performing the bulk edit");case 53:return e.p=53,O(!1),e.f(53);case 54:return e.a(2)}},e,null,[[40,45],[27,31],[24,33],[12,16],[9,18],[6,52,53,54]])})),[g,Me,Se,xe,o,i,a,n,S,C,f,u,l]),Ee=r.useMemo(function(){return"light"===d?{text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0",error:"#d32f2f",background:"#ffffff",backgroundSecondary:"#f5f5f5"}:{text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f",error:"#f44336",background:"#1a1a1a",backgroundSecondary:"#121212"}},[d]);return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:700}},r.createElement(vt().Header,{title:"Bulk edit entities (".concat(o.length," selected)")}),r.createElement(vt().Body,null,L&&r.createElement("div",{style:{display:"flex",justifyContent:"center",marginBottom:16}},r.createElement(s(),{size:"medium"})),D&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},D),ae.length>0&&r.createElement(Jt(),{type:"warning",style:{marginBottom:16}},r.createElement("div",null,r.createElement("strong",null,"Warning:")," The following entities are already members of logical groups:",r.createElement("ul",{style:{marginTop:8,marginBottom:0,paddingLeft:20}},ae.map(function(e){return r.createElement("li",{key:"".concat(e.entity,"-").concat(e.groupName)},r.createElement("strong",null,e.entity)," is already in group ",r.createElement("strong",null,e.groupName))})),r.createElement("div",{style:{marginTop:8,fontSize:13}},"These entities will be moved to the selected group."))),le.length>0&&r.createElement(Jt(),{type:"info",style:{marginBottom:16}},r.createElement("div",null,r.createElement("strong",null,"Information:")," The following entities have priority currently managed by policy or externally:",r.createElement("ul",{style:{marginTop:8,marginBottom:0,paddingLeft:20}},le.map(function(e){return r.createElement("li",{key:"".concat(e.entity,"-").concat(e.type)},r.createElement("strong",null,e.entity)," priority is currently managed by"," ","policy"===e.type?r.createElement(r.Fragment,null,r.createElement("strong",null,"policy"),e.policyId&&" (policy id: ".concat(e.policyId,")"),e.requestedPriority&&", requested priority: ".concat(e.requestedPriority)):r.createElement(r.Fragment,null,r.createElement("strong",null,"external source"),e.requestedPriority&&", requested priority: ".concat(e.requestedPriority)))})),r.createElement("div",{style:{marginTop:8,fontSize:13}},"The priority change will override the current policy or external management."))),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,color:Ee.text,fontWeight:500}},"Category"),r.createElement(ht(),{value:h,onChange:pe,style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"Select a category...",value:""}),p.categories.map(function(e){return r.createElement(ht().Option,{key:e,label:(t=e,vn[t]||t),value:e});var t}))),h&&fe.length>0&&r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,color:Ee.text,fontWeight:500}},"Action"),r.createElement(ht(),{value:(null==g?void 0:g.id)||"",onChange:me,style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"Select an action...",value:""}),fe.map(function(e){return r.createElement(ht().Option,{key:e.id,label:e.label,value:e.id})}))),g&&g.fields.length>0&&r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,color:Ee.text,fontWeight:500}},"Configuration"),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12}},g.fields.map(function(e){return r.createElement("div",{key:e.name},r.createElement("div",{style:{display:"block",marginBottom:4,color:Ee.textSecondary,fontSize:13}},e.label,e.required&&r.createElement("span",{style:{color:Ee.error}}," *")),e.help&&r.createElement("div",{style:{fontSize:11,color:Ee.textSecondary,marginBottom:4,fontStyle:"italic"}},e.help),function(e){var t,n=null!==(t=S[e.name])&&void 0!==t?t:"",a=""===n||null==n||Array.isArray(n)&&0===n.length,o=e.required&&a,i=xn({width:"100%",maxWidth:400,padding:"6px 10px",fontSize:14,border:"1px solid ".concat(o?Ee.error:Ee.border),borderRadius:4,backgroundColor:Ee.background,color:Ee.text,outline:"none"},o&&{borderColor:Ee.error,boxShadow:"0 0 0 2px ".concat(Ee.error,"40")});switch(e.type){case"tags":var l=Array.isArray(n)?n:[],s=N[e.name]||"",u=R[e.name]||[],c=q[e.name]||!1;return r.createElement("div",{key:e.name},l.length>0&&r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:8,padding:8,border:"1px solid ".concat(o?Ee.error:Ee.border),borderRadius:4,backgroundColor:Ee.backgroundSecondary,minHeight:40,maxWidth:400}},l.map(function(t){return r.createElement("div",{key:t,style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 8px",backgroundColor:"light"===d?"#e3f2fd":"#1e3a5f",color:Ee.text,borderRadius:4,fontSize:13,border:"1px solid ".concat("light"===d?"#90caf9":"#3d5a80")}},r.createElement("span",null,t),r.createElement("button",{type:"button",onClick:function(){return _e(e.name,t)},style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",color:Ee.text,marginLeft:4},"aria-label":"Remove ".concat(t)},r.createElement(Qt(),{style:{width:12,height:12}})))})),r.createElement("div",{style:{position:"relative",maxWidth:400}},r.createElement(Gt(),{value:s,onChange:function(t,n){var r=n.value;F(function(t){return xn(xn({},t),{},kn({},e.name,r))})},onFocus:function(){u.length>0&&X(function(t){return xn(xn({},t),{},kn({},e.name,!0))})},onBlur:function(){setTimeout(function(){X(function(t){return xn(xn({},t),{},kn({},e.name,!1))})},200)},placeholder:"Type a tag and press Enter",onKeyDown:function(t){"Enter"===t.key?(t.preventDefault(),u.length>0&&c?ve(e.name,u[0]):ve(e.name)):"Escape"===t.key&&X(function(t){return xn(xn({},t),{},kn({},e.name,!1))})},style:{width:"100%"}}),c&&u.length>0&&r.createElement("div",{style:{position:"absolute",top:"100%",left:0,right:0,zIndex:1e3,marginTop:4,backgroundColor:Ee.background,border:"1px solid ".concat(Ee.border),borderRadius:4,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",maxHeight:200,overflowY:"auto"}},u.map(function(t){return r.createElement("button",{key:t,type:"button",onClick:function(){return ve(e.name,t)},style:{width:"100%",padding:"8px 12px",textAlign:"left",background:"none",border:"none",cursor:"pointer",color:Ee.text,fontSize:13,borderBottom:"1px solid ".concat(Ee.border)},onMouseEnter:function(e){e.currentTarget.style.backgroundColor=Ee.backgroundSecondary},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="transparent"}},t)}))),U.length>0&&r.createElement("div",{style:{fontSize:11,color:Ee.textSecondary,marginTop:4}},U.length," existing tag",1!==U.length?"s":""," available from other policies"));case"select":var f="group_name"===e.name&&"logical_group_associate_existing"===(null==g?void 0:g.endpoint),p=f?K.map(function(e){return{label:e.object_group_name,value:e.object_group_name}}):e.options||[];return r.createElement("div",{key:e.name,style:{maxWidth:400}},r.createElement(ht(),{value:String(n||""),onChange:function(t,n){var r=n.value;return he(e.name,r)},style:i,error:o,disabled:f&&te,filter:f},!f&&r.createElement(ht().Option,{label:"Select an option...",value:""}),f&&r.createElement(ht().Option,{label:te?"Loading groups...":"Select a group...",value:""}),p.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),f&&0===K.length&&!te&&r.createElement("div",{style:{fontSize:11,color:Ee.textSecondary,marginTop:4}},"No logical groups available"));case"number":return r.createElement("div",{key:e.name,style:{maxWidth:400}},r.createElement("input",{type:"number",value:String(n),onChange:function(t){return he(e.name,t.target.value?Number(t.target.value):"")},placeholder:e.placeholder,style:i,min:e.min,max:e.max,step:e.step}));case"textarea":return r.createElement(Ut(),{key:e.name,value:String(n),onChange:function(t,n){var r=n.value;return he(e.name,r)},style:i,error:o,rowsMin:3});default:var m="data_max_delay_allowed"===e.name||"data_max_lag_allowed"===e.name,h=m?ye(e.name,n):String(n);return r.createElement(Gt(),{key:e.name,value:h,onChange:function(t,n){var r=n.value;return he(e.name,r)},onFocus:m?function(){return be(e.name)}:void 0,onBlur:m?function(){return ge(e.name)}:void 0,placeholder:e.placeholder,style:i,error:o})}}(e))}))),r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,color:Ee.text,fontWeight:500}},"Update Comment (Optional)"),r.createElement(Ut(),{value:C,onChange:function(e,t){var n=t.value;return E(n)},rowsMin:3,style:{width:"100%",maxWidth:400}}),r.createElement("div",{style:{fontSize:12,color:Ee.textSecondary,marginTop:4}},"Enter a note for this update...")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,disabled:L},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:ke,disabled:L||!g||!we,style:{minWidth:100}},L?"Applying...":"Apply")))};function jn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var o=[r.map(function(e){return e._time}),r.map(function(e){var t;return null!==(t=e.kpi_metric_value)&&void 0!==t?t:null}),r.map(function(e){var t;return null!==(t=e.LowerBound)&&void 0!==t?t:null}),r.map(function(e){var t;return null!==(t=e.UpperBound)&&void 0!==t?t:null}),r.map(function(e){var t,n,r=e;return null==r?null:null!==(t=null!==(n=r.isOutlier)&&void 0!==n?n:r.IsOutlier)&&void 0!==t?t:null})],i={requestParams:{offset:0,count:r.length},data:{fields:[{name:"_time"},{name:"kpi_metric_value"},{name:"lowerBound"},{name:"upperBound"},{name:"isOutlier"}],columns:o},meta:{totalCount:r.length}};D(function(t){var n=ir(t);return n[e]={ds:i,loading:!1,type:"line"},n});try{var l,s;null===(l=z.current[e])||void 0===l||null===(s=l.unsubscribe)||void 0===s||s.call(l)}catch(e){}j.current.delete(e)}else{var u=[];(r||[]).forEach(function(e){Object.keys(e||{}).forEach(function(e){u.includes(e)||u.push(e)})});var c=u;!c.includes("_time")&&c.includes("time");var d=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},f=(c=c.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t);var t})).findIndex(function(e){return d(e)});if(f>0){var p=c[f];c=[p].concat(ir(c.slice(0,f)),ir(c.slice(f+1)))}var m=c.map(function(e){return r.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})}).map(function(e,t){var n=c[t];if(d(n))return e;var r=e.map(function(e){return function(e){if(null==e||"string"==typeof e&&""===e.trim())return!1;if("number"==typeof e)return Number.isFinite(e);var t=Number(e);return Number.isFinite(t)}(e)?Number(e):null});return r.some(function(e){return null!==e})?r:e}),h=0;try{m.forEach(function(e,t){var n=c[t];d(n)||e.forEach(function(e){var t=Number(e);Number.isFinite(t)&&(h=Math.max(h,t))})})}catch(e){}var y=h>0?1.15*h:void 0,b={requestParams:{offset:0,count:r.length},data:{fields:c.map(function(e){return{name:e}}),columns:m},meta:{totalCount:r.length}},g=r.length<=2;D(function(n){var r=ir(n);return r[e]={ds:b,loading:!1,yMax:y,type:g?"bar":t.type},r});try{var v,_;null===(v=z.current[e])||void 0===v||null===(_=v.unsubscribe)||void 0===_||_.call(v)}catch(e){}j.current.delete(e)}}},complete:function(){D(function(t){var n=ir(t);return n[e]=ar(ar({},n[e]||{}),{},{loading:!1}),n}),j.current.delete(e)},error:function(){D(function(t){var n=ir(t);return n[e]=ar(ar({},n[e]||{}),{},{loading:!1,error:"failed"}),n}),j.current.delete(e)}});z.current[e]=i}catch(t){console.warn("[OverviewCharts] (ChartsPane) runOneChart error",t),D(function(t){var n=ir(t);return n[e]=ar(ar({},n[e]||{}),{},{loading:!1,error:"failed"}),n}),j.current.delete(e)}}}},[L,d,y]);return r.useEffect(function(){return Array.isArray(L)&&0!==L.length?(L.forEach(function(e,t){j.current.has(t)||P(t)}),function(){var e=z.current;Object.keys(e).forEach(function(t){try{var n,r;null===(n=e[Number(t)])||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}),z.current={},j.current=new Set}):function(){}},[L,P,d,y]),r.useEffect(function(){if(!Array.isArray(L)||0===L.length)return function(){};var e=L.map(function(e,t){return t}).filter(function(e){return!S.current.has(e)});if(0===e.length)return function(){};var t=function(){w(function(t){var n={},r=!1;return e.forEach(function(e){var a=v.current[e];if(a){var o=a.getBoundingClientRect(),i=Math.max(200,o.width),l=t[e];i>0&&(!l||Math.abs(l-i)>5)&&(n[e]=i,r=!0,S.current.add(e))}}),r?ar(ar({},t),n):t})},n=null,r=requestAnimationFrame(function(){t(),n=setTimeout(t,100)});return function(){cancelAnimationFrame(r),null!==n&&clearTimeout(n)}},[L.length]),r.useEffect(function(){var e=function(){w(function(e){var t={},n=!1;return Object.keys(v.current).forEach(function(r){var a=Number(r),o=v.current[a];if(o){var i=o.getBoundingClientRect(),l=Math.max(200,i.width),s=e[a];l>0&&(!s||Math.abs(s-l)>5)&&(t[a]=l,n=!0)}}),n?ar(ar({},e),t):e})};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),r.useEffect(function(){S.current.clear(),w({})},[g]),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr",gap:10,alignItems:"start"}},r.createElement("div",{style:{gridColumn:"1 / -1",justifySelf:"end",marginBottom:4}},r.createElement("div",{style:{width:240,textAlign:"right",marginRight:5}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:d,latest:y,onChange:function(e,t){var n=t.earliest,r=t.latest;p(n),b(r)},labelMaxChars:1/0,"aria-label":"Mini charts time range"})))),(E||!A)&&r.createElement("div",{style:{background:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:8,padding:12,gridColumn:"1 / span 2",display:"flex",alignItems:"center",justifyContent:"center",gap:8,minHeight:140}},r.createElement(s(),{size:"small"}),r.createElement("div",{style:{color:k.textSecondary,fontSize:12}},"Retrieving entity information and charts definition…")),A&&!E&&0===L.length&&r.createElement("div",{style:{background:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:8,padding:12,gridColumn:"1 / span 2",display:"flex",alignItems:"center",justifyContent:"center",gap:8,minHeight:140}},r.createElement("div",{style:{color:k.textSecondary,fontSize:12}},"No charts available for this entity")),L.map(function(e,t){var n,a=ar(ar({},e),T[t]||{}),o=M[t]||300;return r.createElement("div",{key:"chart-".concat(g,"-").concat(e.label||t),style:{background:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:600,color:k.textSecondary,marginBottom:4,paddingRight:28}},e.label||"Chart"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){try{var t=String(e.search||""),n=(r="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(d),"&latest=").concat(encodeURIComponent(y)),"function"==typeof(o=null===(a=window.Splunk)||void 0===a||null===(a=a.util)||void 0===a?void 0:a.make_url)?o(r):r);window.open(n,"_blank","noopener")}catch(e){}var r,a,o}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){return P(t)},disabled:Boolean(null===(n=T[t])||void 0===n?void 0:n.loading)},"Refresh")))),r.createElement("div",{ref:function(e){v.current[t]=e},style:{height:140,display:"flex",alignItems:"center",justifyContent:"center"}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;if(e.loading)return r.createElement(s(),{size:"small"});if(e.error)return r.createElement("div",{style:{color:"var(--splunk-color-text-error, #dc4e41)",fontSize:12,padding:8}},"Error loading chart");if(e.ds)try{var n=e.ds;if(!(n&&n.data&&n.data.fields&&n.data.columns))return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"Invalid chart data");if(n.data.fields.length!==n.data.columns.length)return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"Data structure mismatch");if(!n.data.columns.every(function(e){return Array.isArray(e)}))return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"Invalid column data");var a=String(e.type||"").toLowerCase(),o={height:140,legendPosition:"none",backgroundColor:"transparent",nullValueDisplay:"gaps",xAxisTitleVisibility:"hide",yAxisMax:"number"==typeof(null==e?void 0:e.yMax)&&Number.isFinite(e.yMax)?e.yMax:void 0};return"line"===a?r.createElement(Rt(),{width:t,height:140,options:o,dataSources:{primary:n}}):r.createElement(Ft(),{width:t,height:140,options:o,dataSources:{primary:n}})}catch(e){return console.warn("[ChartsPane] Error rendering chart:",e),r.createElement("div",{style:{color:"var(--splunk-color-text-error, #dc4e41)",fontSize:12,padding:8}},"Chart rendering error")}return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"No data")}(a,o)))}))};function dr(e){return dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dr(e)}function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pr(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&e<100?i="#ffb347":e>=100&&(i="#dc4e41");var l=e===Math.floor(e)?e.toString():e.toFixed(1);return r.createElement("span",{style:{color:i,fontWeight:600}},l)}()),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Status message:"),r.createElement("div",{style:{width:"100%"}},r.createElement("div",{style:{background:m.background,border:"1px solid ".concat(m.border),borderRadius:4,padding:"8px",fontSize:"12px",lineHeight:"1.4"}},function(){try{var e=Y.status_message_json,t="string"==typeof e?JSON.parse(e):e;try{if("flx"===String(g).toLowerCase()&&"converging"===String((null==Y?void 0:Y.flx_type)||"").toLowerCase()&&t&&"object"===dr(t)&&Object.prototype.hasOwnProperty.call(t,"extra_attributes")){var n=t.extra_attributes,a="string"==typeof n?JSON.parse(n):n;if(a&&"object"===dr(a)){var o={};Array.isArray(a.down_entities)&&a.down_entities.length>0&&(o.down_entities=a.down_entities),t.extra_attributes=o}}}catch(e){}return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},JSON.stringify(null!=t?t:{},null,2))}catch(e){return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},String(Y.status_message_json||""))}}())))),v(["dsm","dhm"])&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Splunk indexes & sourcetypes"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Indexes:"),r.createElement("div",null,String(Y.data_index||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Sourcetypes:"),r.createElement("div",null,String(Y.data_sourcetype||"")))),v(["mhm"])&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Splunk indexes & metric categories"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Indexes:"),r.createElement("div",null,String(Y.metric_index||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Metric categories:"),r.createElement("div",null,String(Y.metric_category||"")))),v(["dsm","dhm"])&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Delay & latency"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Lagging summary:"),r.createElement("div",null,String(Y.lag_summary||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Last ingest:"),r.createElement("div",null,String(Y.last_ingest||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Last event:"),r.createElement("div",null,String(Y.last_time||"")))),v(["mhm"])&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Delay & latency"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Lagging summary:"),r.createElement("div",null,String(Y.lag_summary||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Last metric received:"),r.createElement("div",null,String(Y.last_time||"")))),v(["wlk"])&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Search information"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Saved search name:"),r.createElement("div",null,String(Y.savedsearch_name||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Application:"),r.createElement("div",null,String(Y.app||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Owner:"),r.createElement("div",null,String(Y.user||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Cron exec sequence seconds:"),r.createElement("div",null,String(Y.cron_exec_sequence_sec||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Seconds since last execution:"),r.createElement("div",null,String(Y.sec_since_lastexec||"")))),v(["dsm","dhm","flx","fqm"])&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Thresholds & configuration"),r.createElement("div",{style:b},M?r.createElement(r.Fragment,null,r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Max seconds inactive:"),r.createElement("div",null,String(null!==(n=Y.max_sec_inactive)&&void 0!==n?n:""),Y.max_sec_inactive?" seconds":""),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Dynamic thresholds:"),r.createElement("div",{style:{width:"100%"}},r.createElement("div",{style:{background:m.background,border:"1px solid ".concat(m.border),borderRadius:4,padding:"8px",fontSize:"12px",lineHeight:"1.4"}},u?u(Y.dynamic_thresholds):String(Y.dynamic_thresholds||"")))):r.createElement(r.Fragment,null,r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Max latency allowed:"),r.createElement("div",null,String(Y.data_max_lag_allowed||"")," ",Y.data_max_lag_allowed?"seconds":""),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Max delay allowed:"),r.createElement("div",null,String(Y.data_max_delay_allowed||"")," ",Y.data_max_delay_allowed?"seconds":"")))),_&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Machine learning outliers anomaly detection"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"isOutlier:"),r.createElement("div",null,"1"===(j=String(Y.isOutlier))?"True":"0"===j?"False":"N/A"),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Outlier Readiness:"),r.createElement("div",null,String(Y.outliers_readiness||"N/A")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"isOutlierReason:"),r.createElement("div",null,String(Y.isOutlierReason||"N/A")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Models in Anomaly:"),r.createElement("div",null,String(Y.models_in_anomaly||"N/A")))),"dsm"===g&&r.createElement("div",{style:h},r.createElement("div",{style:y},"Sampling"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Status:"),r.createElement("div",null,function(){var e=String(Y.SamplingIsOk);return"1"===e?"True":"0"===e?"False":"N/A"}()),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Anomaly Reason:"),r.createElement("div",null,String(Y.data_sample_anomaly_reason||"N/A")))),r.createElement("div",{style:h},r.createElement("div",{style:y},"SLA"),r.createElement("div",{style:b},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"SLA message:"),r.createElement("div",{style:{width:"100%"}},r.createElement("div",{style:{background:m.background,border:"1px solid ".concat(m.border),borderRadius:4,padding:"8px",fontSize:"12px",lineHeight:"1.4"}},function(){try{var e=Y.sla_message_json,t="string"==typeof e?JSON.parse(e):e;return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},JSON.stringify(null!=t?t:{},null,2))}catch(e){return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},String(Y.sla_message_json||""))}}()))))),r.createElement("div",{style:{width:"100%"}},r.createElement(cr,{rowData:Y,ensureLoadCharts:z,chartsByKey:S,chartsLoadingByKey:C,resetChartsForKey:D})))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"primary",onClick:f,style:{marginRight:8}},"Open entity overview"),r.createElement(c(),{appearance:"secondary",onClick:d},"Close")))};var gr=n(63638),vr=n.n(gr),_r=n(16090),Mr=n.n(_r),wr=n(77996),Sr=n.n(wr);function xr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return kr(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(kr(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,kr(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,kr(d,"constructor",u),kr(u,"constructor",s),s.displayName="GeneratorFunction",kr(u,a,"GeneratorFunction"),kr(d),kr(d,a,"Generator"),kr(d,r,function(){return this}),kr(d,"toString",function(){return"[object Generator]"}),(xr=function(){return{w:o,m:f}})()}function kr(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}kr=function(e,t,n,r){function o(t,n){kr(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},kr(e,t,n,r)}function Cr(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Er(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Cr(o,r,a,i,l,"next",e)}function l(e){Cr(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ar(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&a.push("".concat(t," ").concat(1===t?"hour":"hours")),n>0&&a.push("".concat(n," ").concat(1===n?"minute":"minutes")),r>0&&0===t&&0===n&&a.push("".concat(r," ").concat(1===r?"second":"seconds")),a.join(" ")||"0 seconds"}(m))),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"100%"}},r.createElement(vr(),{id:"disruption-min-seconds-slider",value:m,onChange:function(e,t){var n=t.value;h(n)},min:0,max:172800,step:300,disabled:w,"aria-label":"Minimal disruption period in seconds"})),r.createElement("div",{style:{fontSize:12,color:O.textSecondary,marginTop:4}},"Range: 0 seconds (disabled) to 48 hours (172,800 seconds). Step: 5 minutes (300 seconds).")),r.createElement("div",null,r.createElement("label",{htmlFor:"disruption-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:O.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"disruption-comment-textarea",value:b,onChange:function(e,t){var n=t.value;return g(n)},disabled:w,style:{width:"100%",minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:O.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability).")),k&&r.createElement(Jt(),{type:"error"},k),!k&&r.createElement(Jt(),{type:"info"},"Changes are applied immediately to the disruption queue for this entity. A silent refresh of the"," ",r.createElement("strong",null,"Actions for entity")," ","panel will be triggered after a successful update."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:u,disabled:w,style:{maxWidth:160}},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:T,disabled:w||!n||!o,icon:w?r.createElement(s(),{size:"small"}):r.createElement(C(),null),style:{maxWidth:220}},w?"Applying...":"Apply disruption settings")))};var Tr=n(52056),Dr=n.n(Tr);function zr(e){return zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zr(e)}function jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pr(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);nlatency_threshold, "True", "False"), delay_breached=if(delay_sec>delay_threshold, "True", "False")');return"".concat(a,"events"===e?' | where (latency_breached=="True" OR delay_breached=="True") | eval latency_sec=round(latency_sec, 3), delay_sec=round(delay_sec, 0) | fields _time, object, delay_breached, delay_sec, delay_threshold, latency_breached, latency_sec, latency_threshold | sort - 0 _time':' | timechart bins=1000 minspan=10m count(eval(latency_breached=="True")) as latency_breached, count(eval(delay_breached=="True")) as delay_breached')},[n,o,g,_,S]),we=r.useCallback(function(){if(n&&o){ue.current=!0,H(!0),ae(null),V(null),G(null),Z(null),te([]),qr(oe.current),qr(ie.current),qr(le.current),qr(se.current);var e=Me("main"),t=Me("events");if(!e||!t)return ae("Failed to build search queries."),void H(!1);oe.current=Hr(e,{earliest_time:A,latest_time:T},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t.map(function(e){return e._time||null}),r=t.map(function(e){return void 0!==e.latency_breached&&null!==e.latency_breached&&parseFloat(String(e.latency_breached))||0}),a=t.map(function(e){return void 0!==e.delay_breached&&null!==e.delay_breached&&parseFloat(String(e.delay_breached))||0}),o={requestParams:{offset:0,count:t.length},data:{columns:[n,r,a],fields:[{name:"_time"},{name:"latency_breached"},{name:"delay_breached"}]},meta:{totalCount:t.length}};Z(o)}else Z(null)},error:function(e){ae((null==e?void 0:e.message)||"Failed to run simulation search."),H(!1)}}),ie.current=Hr(t,{earliest_time:A,latest_time:T,count:100},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];te(t)},error:function(e){console.error("[EntityLagSimulationModal] Events search error:",e)}}),le.current=Hr("".concat(e," | stats sum(latency_breached) as latency_breached"),{earliest_time:A,latest_time:T},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];t.length>0&&void 0!==t[0].latency_breached?V(parseInt(String(t[0].latency_breached),10)||0):V(0),H(!1)},error:function(e){ae((null==e?void 0:e.message)||"Failed to calculate latency breaches."),H(!1)}}),se.current=Hr("".concat(e," | stats sum(delay_breached) as delay_breached"),{earliest_time:A,latest_time:T},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];t.length>0&&void 0!==t[0].delay_breached?G(parseInt(String(t[0].delay_breached),10)||0):G(0)},error:function(e){console.error("[EntityLagSimulationModal] Delay search error:",e)}})}else ae("Missing tenant or object identifier.")},[n,o,A,T,Me]);r.useEffect(function(){ue.current&&!W&&n&&o&&we()},[A,T]);var Se=r.useCallback(function(e){if(n&&o){var t="";"main"===e||"latency"===e||"delay"===e?(t=Me("main")||"","latency"===e?t="".concat(t," | stats sum(latency_breached) as latency_breached"):"delay"===e&&(t="".concat(t," | stats sum(delay_breached) as delay_breached"))):t=Me("events")||"";try{var r,a=((null===(r=window.Splunk)||void 0===r||null===(r=r.util)||void 0===r?void 0:r.make_url)||function(e){return e})("/app/trackme/search"),i="".concat(a,"?q=").concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(A),"&latest=").concat(encodeURIComponent(T));window.open(i,"_blank","noopener")}catch(e){}}},[n,o,A,T,Me]),xe=r.useCallback(function(){var e=en(_),t=en(S);null!==e&&null!==t?p(tn(e),tn(t)):ae("Invalid threshold values.")},[_,S,p]);return r.createElement(vt(),{open:t,onRequestClose:d,returnFocus:function(){},style:{width:1400,maxWidth:"95vw"}},r.createElement(vt().Header,{title:"".concat(b," - Simulate latency & delay thresholds: ").concat(y)}),r.createElement(vt().Body,{style:{background:be.background}},r.createElement(Mr(),{title:"About threshold simulation",defaultOpen:!1},r.createElement("div",{style:{padding:"8px 4px",fontSize:13,color:be.textSecondary}},r.createElement("p",null,"Use this screen to simulate latency and delay thresholds against the entity historical data. Enter threshold values and select a time period to see how many events would have breached these thresholds in the past."),r.createElement("p",{style:{marginTop:8}},"The simulation analyzes historical metrics collected by TrackMe and calculates breach counts for both latency (difference between _indextime and _time) and delay (difference between now() and _time when trackers run)."))),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(be.border),backgroundColor:be.backgroundSecondary,display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16,alignItems:"end"}},r.createElement(Dr(),{label:"Maximal allowed latency value",help:"Seconds or with unit suffix (m/h/d/w), for example: 3600, 15m, 1h, 2d."},r.createElement(Gt(),{value:ge("latencyThreshold",_),onChange:function(e,t){var n=t.value;return M(n)},onFocus:function(){return ve("latencyThreshold")},onBlur:function(){return _e("latencyThreshold")},disabled:W})),r.createElement(Dr(),{label:"Maximal allowed delay value",help:"Seconds or with unit suffix (m/h/d/w), for example: 3600, 15m, 1h, 2d."},r.createElement(Gt(),{value:ge("delayThreshold",S),onChange:function(e,t){var n=t.value;return k(n)},onFocus:function(){return ve("delayThreshold")},onBlur:function(){return _e("delayThreshold")},disabled:W})),r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:A,latest:T,onChange:function(e,t){var n=t.earliest,r=t.latest;L(n),D(r)},labelMaxChars:1/0,"aria-label":"Simulation time range"}))),r.createElement(c(),{appearance:"primary",icon:W?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:we,disabled:W||!n||!o},W?"Simulating...":"Simulate Thresholds")),re&&r.createElement("div",{style:{marginTop:16,padding:12,backgroundColor:"#ff4444",color:"#ffffff",borderRadius:4}},re),(null!==X||null!==$)&&r.createElement("div",{style:{marginTop:16,display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16}},r.createElement(at,{label:"LATENCY BREACHED",value:X,loading:W,onOpenSearch:function(){return Se("latency")},onRefresh:we}),r.createElement(at,{label:"DELAY BREACHED",value:$,loading:W,onOpenSearch:function(){return Se("delay")},onRefresh:we})),J&&r.createElement("div",{style:{marginTop:16,display:"flex",justifyContent:"flex-end",gap:8}},r.createElement(ht(),{value:j,onChange:function(e,t){var n=t.value;return P(n)}},r.createElement(ht().Option,{label:"Chart",value:"chart"}),r.createElement(ht().Option,{label:"Events",value:"events"}))),J&&"chart"===j&&r.createElement("div",{ref:ce,style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(be.border),backgroundColor:be.backgroundSecondary,position:"relative"}},r.createElement("div",{style:{position:"absolute",top:8,right:8,zIndex:10}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:function(){return Se("main")}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:we,disabled:W},"Refresh")))),r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12}},"Simulation thresholds breached events"),J&&r.createElement(Ft(),{width:fe,height:350,options:{"charting.chart.stackMode":"stacked","charting.chart":"column","charting.axisLabelsY.majorUnit":"1","charting.fieldColors":JSON.stringify({latency_breached:"0x7b56db",delay_breached:"0xcb2196"})},dataSources:{primary:J}})),"events"===j&&r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(be.border),backgroundColor:be.backgroundSecondary,position:"relative"}},r.createElement("div",{style:{position:"absolute",top:20,right:20,zIndex:10}},r.createElement(f(),{open:he,onRequestOpen:function(){return ye(!0)},onRequestClose:function(){return ye(!1)},toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:function(){ye(!1),Se("events")}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){ye(!1),we()},disabled:W},"Refresh")))),r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Simulation thresholds breached events"),ee.length>0?r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"Time"),r.createElement(dt().HeadCell,null,"Object"),r.createElement(dt().HeadCell,null,"Delay Breached"),r.createElement(dt().HeadCell,null,"Delay (sec)"),r.createElement(dt().HeadCell,null,"Delay Threshold"),r.createElement(dt().HeadCell,null,"Latency Breached"),r.createElement(dt().HeadCell,null,"Latency (sec)"),r.createElement(dt().HeadCell,null,"Latency Threshold")),r.createElement(dt().Body,null,ee.map(function(e,t){var n="".concat(e.object||"unknown","-").concat(e._time||t,"-").concat(t);return r.createElement(dt().Row,{key:n},r.createElement(dt().Cell,null,e._time?new Date(1e3*e._time).toLocaleString():"N/A"," "),r.createElement(dt().Cell,null,e.object||"N/A"),r.createElement(dt().Cell,null,e.delay_breached||"False"),r.createElement(dt().Cell,null,void 0!==e.delay_sec?e.delay_sec:"N/A"),r.createElement(dt().Cell,null,void 0!==e.delay_threshold?e.delay_threshold:"N/A"),r.createElement(dt().Cell,null,e.latency_breached||"False"),r.createElement(dt().Cell,null,void 0!==e.latency_sec?e.latency_sec:"N/A"),r.createElement(dt().Cell,null,void 0!==e.latency_threshold?e.latency_threshold:"N/A"))}))):r.createElement("div",{style:{padding:24,textAlign:"center",color:be.textSecondary}},W?"Loading events...":"No breached events found for the selected thresholds and time range."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",icon:r.createElement(Ir(),null),onClick:d,disabled:W},"Back"),r.createElement(c(),{appearance:"primary",icon:r.createElement(Wr(),null),onClick:xe,disabled:W||!_||!S},"Apply this & back to settings")))};function $r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;y({value:F(n),loading:!1,error:null})},error:function(e){y({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("latency",0,"avg"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;v({value:F(n),loading:!1,error:null})},error:function(e){v({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("latency",0,"perc95"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;w({value:F(n),loading:!1,error:null})},error:function(e){w({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("latency",0,"avg"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;k({value:F(n),loading:!1,error:null})},error:function(e){k({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"perc95"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;A({value:F(n),loading:!1,error:null})},error:function(e){A({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"avg"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;T({value:F(n),loading:!1,error:null})},error:function(e){T({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"perc95"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;j({value:F(n),loading:!1,error:null})},error:function(e){j({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"avg"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;Y({value:F(n),loading:!1,error:null})},error:function(e){Y({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}}))}},[t,n,o,p,F]);var R=r.useCallback(function(e,t,r){if(!n||!o)return"";var a="latency"===e?"trackme.splk.feeds.avg_latency_5m":"trackme.splk.feeds.lag_event_sec",i="perc95"===r?"perc95":"avg";return"| mstats ".concat(i,"(").concat(a,") as value where `trackme_metrics_idx(").concat(n,')` tenant_id="').concat(n,'" object_category="').concat(p,'" object="').concat(o,'" by object span=5m | stats ').concat(i,"(value) as value")},[n,o,p]),W=r.useCallback(function(e,t,n){var r=R(e,t,n);if(r)try{var a,o="7d"===t?"-7d@d":"-30d@d",i=((null===(a=window.Splunk)||void 0===a||null===(a=a.util)||void 0===a?void 0:a.make_url)||function(e){return e})("/app/trackme/search"),l="".concat(i,"?q=").concat(encodeURIComponent(r),"&earliest=").concat(encodeURIComponent(o),"&latest=now");window.open(l,"_blank","noopener")}catch(e){}},[R]),H=r.useCallback(function(){if(t&&n&&o){y({value:null,loading:!0,error:null}),v({value:null,loading:!0,error:null}),w({value:null,loading:!0,error:null}),k({value:null,loading:!0,error:null}),A({value:null,loading:!0,error:null}),T({value:null,loading:!0,error:null}),j({value:null,loading:!0,error:null}),Y({value:null,loading:!0,error:null}),N.current.forEach(function(e){return qr(e)}),N.current=[];var e=function(e,t,r){var a="latency"===e?"trackme.splk.feeds.avg_latency_5m":"trackme.splk.feeds.lag_event_sec",i="perc95"===r?"perc95":"avg";return"| mstats ".concat(i,"(").concat(a,") as value where `trackme_metrics_idx(").concat(n,')` tenant_id="').concat(n,'" object_category="').concat(p,'" object="').concat(o,'" by object span=5m | stats ').concat(i,"(value) as value")},r=function(e){return{earliest_time:"7d"===e?"-7d@d":"-30d@d",latest_time:"now"}};N.current.push(Hr(e("latency",0,"perc95"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;y({value:F(n),loading:!1,error:null})},error:function(e){return y({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("latency",0,"avg"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;v({value:F(n),loading:!1,error:null})},error:function(e){return v({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("latency",0,"perc95"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;w({value:F(n),loading:!1,error:null})},error:function(e){return w({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("latency",0,"avg"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;k({value:F(n),loading:!1,error:null})},error:function(e){return k({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"perc95"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;A({value:F(n),loading:!1,error:null})},error:function(e){return A({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"avg"),r("7d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;T({value:F(n),loading:!1,error:null})},error:function(e){return T({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"perc95"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;j({value:F(n),loading:!1,error:null})},error:function(e){return j({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})),N.current.push(Hr(e("delay",0,"avg"),r("30d"),{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length>0&&void 0!==t[0].value?parseFloat(String(t[0].value)):null;Y({value:F(n),loading:!1,error:null})},error:function(e){return Y({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}}))}},[t,n,o,p,F]),q=r.useCallback(function(e,t){var n,r;"7d"===e?(n="perc95"===t?h.value:g.value,r="perc95"===t?E.value:O.value):(n="perc95"===t?M.value:x.value,r="perc95"===t?z.value:B.value),null!==n&&null!==r&&s(tn(n),tn(r))},[h.value,g.value,M.value,x.value,E.value,O.value,z.value,B.value,s]);return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:1400,maxWidth:"95vw"}},r.createElement(vt().Header,{title:"".concat(f," - Define delay and latency threshold values from historical metrics: ").concat(d)}),r.createElement(vt().Body,{style:{background:I.background}},r.createElement(Mr(),{title:"About auto-definition",defaultOpen:!1},r.createElement("div",{style:{padding:"8px 4px",fontSize:13,color:I.textSecondary}},r.createElement("p",null,"These calculations represent different options that can be used to define values for delay and latency thresholds based on historical metrics."),r.createElement("p",{style:{marginTop:8}},"Click on any of the buttons to apply these threshold values."),r.createElement("p",{style:{marginTop:8,color:"#4fc3f7"}},"Generated values are automatically corrected. We will apply 10 minutes (600 seconds) if the generated value is negative or below 600 seconds."),r.createElement("p",{style:{marginTop:8,color:"#4fc3f7"}},"Values are shown in seconds, and translated into a duration using the Splunk tostring duration function. [D+]HH:MM:SS"))),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{fontSize:14,fontWeight:"bold",marginBottom:12,paddingBottom:8,borderBottom:"1px solid ".concat(I.border)}},"Ingest latency (difference between _indextime and _time)"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16}},r.createElement(at,{label:"LAST 7 DAYS PERCENTILE 95 LATENCY",value:h.value,loading:h.loading,error:h.error,useCustomDisplay:!0,onOpenSearch:function(){return W("latency","7d","perc95")},onRefresh:H}),r.createElement(at,{label:"LAST 7 DAYS AVERAGE LATENCY",value:g.value,loading:g.loading,error:g.error,useCustomDisplay:!0,onOpenSearch:function(){return W("latency","7d","avg")},onRefresh:H}),r.createElement(at,{label:"LAST 30 DAYS PERCENTILE 95 LATENCY",value:M.value,loading:M.loading,error:M.error,useCustomDisplay:!0,onOpenSearch:function(){return W("latency","30d","perc95")},onRefresh:H}),r.createElement(at,{label:"LAST 30 DAYS AVERAGE LATENCY",value:x.value,loading:x.loading,error:x.error,useCustomDisplay:!0,onOpenSearch:function(){return W("latency","30d","avg")},onRefresh:H}))),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{fontSize:14,fontWeight:"bold",marginBottom:12,paddingBottom:8,borderBottom:"1px solid ".concat(I.border)}},"Delay events (difference between now() and _time when trackers run)"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16}},r.createElement(at,{label:"LAST 7 DAYS PERCENTILE 95 DELAY",value:E.value,loading:E.loading,error:E.error,useCustomDisplay:!0,onOpenSearch:function(){return W("delay","7d","perc95")},onRefresh:H}),r.createElement(at,{label:"LAST 7 DAYS AVERAGE DELAY",value:O.value,loading:O.loading,error:O.error,useCustomDisplay:!0,onOpenSearch:function(){return W("delay","7d","avg")},onRefresh:H}),r.createElement(at,{label:"LAST 30 DAYS PERCENTILE 95 DELAY",value:z.value,loading:z.loading,error:z.error,useCustomDisplay:!0,onOpenSearch:function(){return W("delay","30d","perc95")},onRefresh:H}),r.createElement(at,{label:"LAST 30 DAYS AVERAGE DELAY",value:B.value,loading:B.loading,error:B.error,useCustomDisplay:!0,onOpenSearch:function(){return W("delay","30d","avg")},onRefresh:H}))),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{fontSize:14,fontWeight:"bold",marginBottom:12,paddingBottom:8,borderBottom:"1px solid ".concat(I.border)}},"Choose one option to be applied"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(Wr(),null),onClick:function(){return q("7d","perc95")},disabled:null===h.value||null===E.value},"Apply auto percentile lag (7d)"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(Wr(),null),onClick:function(){return q("7d","avg")},disabled:null===g.value||null===O.value},"Apply auto average lag (7d)"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(Wr(),null),onClick:function(){return q("30d","perc95")},disabled:null===M.value||null===z.value},"Apply auto percentile lag (30d)"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(Wr(),null),onClick:function(){return q("30d","avg")},disabled:null===x.value||null===B.value},"Apply auto average lag (30d)")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",icon:r.createElement(Ir(),null),onClick:l},"Back"),r.createElement(c(),{appearance:"secondary",onClick:l},"Close")))};function Jr(e){return Jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jr(e)}function Zr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Qr(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Qr(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Qr(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Qr(d,"constructor",u),Qr(u,"constructor",s),s.displayName="GeneratorFunction",Qr(u,a,"GeneratorFunction"),Qr(d),Qr(d,a,"Generator"),Qr(d,r,function(){return this}),Qr(d,"toString",function(){return"[object Generator]"}),(Zr=function(){return{w:o,m:f}})()}function Qr(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Qr=function(e,t,n,r){function o(t,n){Qr(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Qr(e,t,n,r)}function ea(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function ta(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ea(o,r,a,i,l,"next",e)}function l(e){ea(o,r,a,i,l,"throw",e)}i(void 0)})}}function na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ra(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(i.impact_score_weights=c),y.trim()&&(i.update_comment=y.trim()),e.n=5,J("/splunkd/__raw/services/trackme/v2/splk_dsm/write/ds_update_lag_policy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});case 5:if((d=e.v).ok){e.n=7;break}return e.n=6,Z(d);case 6:throw f=e.v,new Error(f);case 7:u?u():l(),e.n=9;break;case 8:e.p=8,m=e.v,S((null==m?void 0:m.message)||"Failed to update lagging policies.");case 9:return e.p=9,_(!1),e.f(9);case 10:return e.a(2)}},e,null,[[3,8,9,10]])})),[n,a,p,y,Y,l,u]),F=o||a||"entity",I=r.useCallback(function(e,t){m(function(n){return ra(ra({},n),{},{maxLag:e,maxDelay:t})}),E(!1)},[]),R=r.useCallback(function(e,t){m(function(n){return ra(ra({},n),{},{maxLag:e,maxDelay:t})}),O(!1)},[]);return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:800}},r.createElement(vt().Header,{title:"Lag monitoring policy (DSM): ".concat(F)}),r.createElement(vt().Body,{style:{background:P.background}},r.createElement(Mr(),{title:"About lag monitoring policies",defaultOpen:!1},r.createElement("div",{style:{padding:"8px 4px",fontSize:13,color:P.textSecondary}},r.createElement("ul",{style:{paddingLeft:20,marginTop:4,marginBottom:4}},r.createElement("li",null,"Per-entity thresholds allow you to override lagging classes for this specific entity."),r.createElement("li",null,"Future tolerance controls how far in the future events are still considered valid."),r.createElement("li",null,"Adaptive delay can dynamically adjust thresholds based on observed behaviour.")))),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary}},r.createElement(Nr,{values:p,onChange:m,error:w,component:"dsm",tenantImpactScores:D})),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px dashed ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:8}},r.createElement("div",{style:{fontSize:13,color:P.textSecondary,marginBottom:4}},"Advanced tools"),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:8}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(j(),null),onClick:function(){return E(!0)},style:{maxWidth:220}},"Open thresholds simulation"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:function(){return O(!0)},style:{maxWidth:240}},"Open auto-definition helpers")),r.createElement("div",{style:{fontSize:11,color:P.textSecondary}},"These tools help you simulate or auto-define thresholds using historical data.")),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"lag-dsm-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:P.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"lag-dsm-comment-textarea",value:y,onChange:function(e,t){var n=t.value;return b(n)},disabled:v,style:{width:"100%",minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:P.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability).")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,disabled:v,style:{maxWidth:160}},"Cancel"),r.createElement(c(),{appearance:"primary",icon:v?r.createElement(s(),{size:"small"}):r.createElement(C(),null),onClick:N,disabled:v||!n||!a,style:{maxWidth:220}},v?"Applying...":"Apply lagging policy")),r.createElement(Ur,{open:k,tenantId:n,objectId:a,object:o,component:"dsm",initialLatency:p.maxLag,initialDelay:p.maxDelay,onClose:function(){return E(!1)},onApply:I}),r.createElement(Kr,{open:L,tenantId:n,objectId:a,object:o,component:"dsm",onClose:function(){return O(!1)},onApply:R}))};function sa(e){return sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sa(e)}function ua(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return ca(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ca(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ca(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,ca(d,"constructor",u),ca(u,"constructor",s),s.displayName="GeneratorFunction",ca(u,a,"GeneratorFunction"),ca(d),ca(d,a,"Generator"),ca(d,r,function(){return this}),ca(d,"toString",function(){return"[object Generator]"}),(ua=function(){return{w:o,m:f}})()}function ca(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}ca=function(e,t,n,r){function o(t,n){ca(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ca(e,t,n,r)}function da(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function fa(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){da(o,r,a,i,l,"next",e)}function l(e){da(o,r,a,i,l,"throw",e)}i(void 0)})}}function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ma(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(i.impact_score_weights=c),y.trim()&&(i.update_comment=y.trim()),e.n=5,J("/splunkd/__raw/services/trackme/v2/splk_dhm/write/dh_update_lag_policy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});case 5:if((d=e.v).ok){e.n=7;break}return e.n=6,Z(d);case 6:throw f=e.v,new Error(f);case 7:u?u():l(),e.n=9;break;case 8:e.p=8,m=e.v,S((null==m?void 0:m.message)||"Failed to update lagging policies.");case 9:return e.p=9,_(!1),e.f(9);case 10:return e.a(2)}},e,null,[[3,8,9,10]])})),[n,a,p,y,Y,l,u]),F=o||a||"entity",I=r.useCallback(function(e,t){m(function(n){return ma(ma({},n),{},{maxLag:e,maxDelay:t})}),E(!1)},[]),R=r.useCallback(function(e,t){m(function(n){return ma(ma({},n),{},{maxLag:e,maxDelay:t})}),O(!1)},[]);return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:800}},r.createElement(vt().Header,{title:"Lag monitoring policy (DHM): ".concat(F)}),r.createElement(vt().Body,{style:{background:P.background}},r.createElement(Mr(),{title:"About lag monitoring policies for hosts",defaultOpen:!1},r.createElement("div",{style:{padding:"8px 4px",fontSize:13,color:P.textSecondary}},r.createElement("ul",{style:{paddingLeft:20,marginTop:4,marginBottom:4}},r.createElement("li",null,"Per-host thresholds allow you to override lagging classes for this data host."),r.createElement("li",null,"Alerting policy per host can be combined with sourcetype-level policies defined elsewhere.")))),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary}},r.createElement(Nr,{values:p,onChange:m,error:w,component:"dhm",tenantImpactScores:D})),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px dashed ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:8}},r.createElement("div",{style:{fontSize:13,color:P.textSecondary,marginBottom:4}},"Advanced tools"),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:8}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(j(),null),onClick:function(){return E(!0)},style:{maxWidth:220}},"Open thresholds simulation"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:function(){return O(!0)},style:{maxWidth:240}},"Open auto-definition helpers")),r.createElement("div",{style:{fontSize:11,color:P.textSecondary}},"These tools help you simulate or auto-define thresholds using historical data.")),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"lag-dhm-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:P.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"lag-dhm-comment-textarea",value:y,onChange:function(e,t){var n=t.value;return b(n)},disabled:v,style:{width:"100%",minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:P.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability).")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,disabled:v,style:{maxWidth:160}},"Cancel"),r.createElement(c(),{appearance:"primary",icon:v?r.createElement(s(),{size:"small"}):r.createElement(C(),null),onClick:N,disabled:v||!n||!a,style:{maxWidth:220}},v?"Applying...":"Apply lagging policy")),r.createElement(Ur,{open:k,tenantId:n,objectId:a,object:o,component:"dhm",initialLatency:p.maxLag,initialDelay:p.maxDelay,onClose:function(){return E(!1)},onApply:I}),r.createElement(Kr,{open:L,tenantId:n,objectId:a,object:o,component:"dhm",onClose:function(){return O(!1)},onApply:R}))};function va(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return _a(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(_a(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,_a(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,_a(d,"constructor",u),_a(u,"constructor",s),s.displayName="GeneratorFunction",_a(u,a,"GeneratorFunction"),_a(d),_a(d,a,"Generator"),_a(d,r,function(){return this}),_a(d,"toString",function(){return"[object Generator]"}),(va=function(){return{w:o,m:f}})()}function _a(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}_a=function(e,t,n,r){function o(t,n){_a(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},_a(e,t,n,r)}function Ma(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function wa(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Ma(o,r,a,i,l,"next",e)}function l(e){Ma(o,r,a,i,l,"throw",e)}i(void 0)})}}function Sa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xa(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Oa(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Oa(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Oa(d,"constructor",u),Oa(u,"constructor",s),s.displayName="GeneratorFunction",Oa(u,a,"GeneratorFunction"),Oa(d),Oa(d,a,"Generator"),Oa(d,r,function(){return this}),Oa(d,"toString",function(){return"[object Generator]"}),(La=function(){return{w:o,m:f}})()}function Oa(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Oa=function(e,t,n,r){function o(t,n){Oa(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Oa(e,t,n,r)}function Ta(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Da(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Ta(o,r,a,i,l,"next",e)}function l(e){Ta(o,r,a,i,l,"throw",e)}i(void 0)})}}function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ja(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){y("custom");var e=new Set,n={};Object.keys(u).forEach(function(t){var r=parseInt(t,10);!Number.isNaN(r)&&r>=0&&r<=6&&(e.add(r),n[r]=new Set(u[r]))}),w(e),k(n)}else l?(y("builtin"),v(l)):(y("builtin"),v("all_time"),w(new Set),k({}))},[t,l,u]);var B=r.useMemo(function(){return"light"===p?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[p]),Y=r.useCallback(function(e){w(function(t){var n=new Set(t);return n.has(e)?(n.delete(e),k(function(t){var n=ja({},t);return delete n[e],n})):(n.add(e),k(function(t){return ja(ja({},t),{},Pa({},e,new Set(Ia)))})),n})},[]),N=r.useCallback(function(e,t){k(function(n){var r=n[e]||new Set,a=new Set(r);return a.has(t)?a.delete(t):a.add(t),ja(ja({},n),{},Pa({},e,a))})},[]),F=r.useCallback(function(e){var t={dsm:"/splunkd/__raw/services/trackme/v2/splk_dsm/write/ds_update_monitoring_time",dhm:"/splunkd/__raw/services/trackme/v2/splk_dhm/write/dh_update_monitoring_time",mhm:"/splunkd/__raw/services/trackme/v2/splk_mhm/write/mh_update_monitoring_time",wlk:"/splunkd/__raw/services/trackme/v2/splk_wlk/write/wlk_update_monitoring_time",flx:"/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_update_monitoring_time",fqm:"/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_update_monitoring_time"};return t[e]||t.dsm},[]),I=r.useCallback(Da(La().m(function e(){var t,r,i,l,s,u;return La().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&o){e.n=1;break}return P("Missing tenant or entity identifier."),e.a(2);case 1:if(D(!0),P(null),e.p=2,t={tenant_id:n,object_list:o},"builtin"!==h){e.n=3;break}t.monitoring_time_policy=g,e.n=6;break;case 3:if(0!==M.size){e.n=4;break}return P("Please select at least one day when using custom selection."),D(!1),e.a(2);case 4:if(r={},M.forEach(function(e){var t=x[e];t&&t.size>0&&(r[e.toString()]=Array.from(t).sort(function(e,t){return e-t}))}),0!==Object.keys(r).length){e.n=5;break}return P("Please select at least one hour for the selected days."),D(!1),e.a(2);case 5:t.monitoring_time_rules=r;case 6:return A.trim()&&(t.update_comment=A.trim()),i=F(a),e.n=7,J(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 7:if((l=e.v).ok){e.n=9;break}return e.n=8,Z(l);case 8:throw s=e.v,new Error(s);case 9:f?f():d(),e.n=11;break;case 10:e.p=10,u=e.v,P((null==u?void 0:u.message)||"Failed to update monitoring time policy.");case 11:return e.p=11,D(!1),e.f(11);case 12:return e.a(2)}},e,null,[[2,10,11,12]])})),[n,o,a,h,g,M,x,A,F,d,f]),R=o||i||"entity";return r.createElement(vt(),{open:t,onRequestClose:d,returnFocus:function(){},style:{width:900,maxWidth:"90vw"}},r.createElement(vt().Header,{title:"Monitoring time policy: ".concat(R)}),r.createElement(vt().Body,{style:{background:B.background}},r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(B.border),backgroundColor:B.backgroundSecondary,display:"flex",flexDirection:"column",gap:16}},r.createElement("div",{style:{fontSize:13,color:B.textSecondary}},"Monitor this entity using a builtin policy rule, or configure custom day and hour combinations."),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap"}},r.createElement(c(),{appearance:"builtin"===h?"primary":"secondary",onClick:function(){return y("builtin")},style:{maxWidth:180}},"Use builtin rule"),r.createElement(c(),{appearance:"custom"===h?"primary":"secondary",onClick:function(){return y("custom")},style:{maxWidth:220}},"Select days of the week")),"builtin"===h&&r.createElement("div",{style:{maxWidth:360}},r.createElement(ht(),{value:g,onChange:function(e,t){var n=t.value;return v(String(n))},"aria-label":"Builtin monitoring time policy"},Na.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})}))),"custom"===h&&r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("div",{style:{fontSize:13,fontWeight:500,marginBottom:8,color:B.text}},"Select days:"),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:8}},Fa.map(function(e){var t=M.has(e.value);return r.createElement("button",{key:e.value,type:"button",onClick:function(){return Y(e.value)},style:{minWidth:90,padding:"6px 10px",borderRadius:16,border:"1px solid ".concat(t?"#4fc3f7":B.border),backgroundColor:t?"rgba(79, 195, 247, 0.15)":B.background,color:t?"#4fc3f7":B.text,cursor:"pointer",fontSize:12}},e.label)}))),M.size>0&&r.createElement("div",null,r.createElement("div",{style:{fontSize:13,fontWeight:500,marginBottom:8,color:B.text}},"Select hours for each day (0-23):"),Array.from(M).sort().map(function(e){var t=Fa.find(function(t){return t.value===e}),n=x[e]||new Set;return r.createElement("div",{key:e,style:{marginBottom:16,padding:12,borderRadius:8,border:"1px solid ".concat(B.border),backgroundColor:B.background}},r.createElement("div",{style:{fontSize:12,fontWeight:500,marginBottom:8,color:B.text}},null==t?void 0:t.label,":"),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:4}},Ia.map(function(t){var a=n.has(t);return r.createElement("button",{key:t,type:"button",onClick:function(){return N(e,t)},style:{minWidth:40,padding:"4px 8px",borderRadius:4,border:"1px solid ".concat(a?"#4fc3f7":B.border),backgroundColor:a?"rgba(79, 195, 247, 0.15)":B.backgroundSecondary,color:a?"#4fc3f7":B.text,cursor:"pointer",fontSize:11}},t)})))}))),r.createElement("div",null,r.createElement("label",{htmlFor:"monitoring-time-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:B.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"monitoring-time-comment-textarea",value:A,onChange:function(e,t){var n=t.value;return L(n)},disabled:T,style:{width:"100%",minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:B.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability).")),j&&r.createElement(Jt(),{type:"error"},j))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:d,disabled:T,style:{maxWidth:160}},"Cancel"),r.createElement(c(),{appearance:"primary",icon:T?r.createElement(s(),{size:"small"}):r.createElement(C(),null),onClick:I,disabled:T||!n||!o,style:{maxWidth:260}},T?"Applying...":"Apply monitoring time policy")))};function Wa(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Ha(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Ha(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Ha(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Ha(d,"constructor",u),Ha(u,"constructor",s),s.displayName="GeneratorFunction",Ha(u,a,"GeneratorFunction"),Ha(d),Ha(d,a,"Generator"),Ha(d,r,function(){return this}),Ha(d,"toString",function(){return"[object Generator]"}),(Wa=function(){return{w:o,m:f}})()}function Ha(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Ha=function(e,t,n,r){function o(t,n){Ha(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ha(e,t,n,r)}function qa(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Xa(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){qa(o,r,a,i,l,"next",e)}function l(e){qa(o,r,a,i,l,"throw",e)}i(void 0)})}}function Va(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ua(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ua(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ua(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0,L=y.size>0;r.useEffect(function(){d&&d(A)},[A,d]);var O=r.useCallback(function(){l&&A&&l(Array.from(v.values()))},[l,A,v]),T=r.useCallback(function(){u&&L&&u(Array.from(y))},[u,L,y]),D=no(r.useState(!1),2),z=D[0],j=D[1];return r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(M.border),backgroundColor:M.backgroundSecondary}},r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:12}},r.createElement("div",{style:{fontSize:13,color:M.textSecondary}},"Manage per-entity thresholds. Use the checkbox column to select rows for deletion and edit cells directly in the table before saving."),r.createElement("div",null,r.createElement(f(),{open:z,onRequestOpen:function(){return j(!0)},onRequestClose:function(){return j(!1)},toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"Thresholds actions",style:{padding:0,width:32,minWidth:32,height:28}})},r.createElement(m(),{style:{width:220}},o&&r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){j(!1),o()}},"Refresh thresholds"),i&&r.createElement(m().Item,{startAdornment:r.createElement(N(),null),onClick:function(){j(!1),i()}},"Add new threshold"),l&&r.createElement(m().Item,{startAdornment:r.createElement(Ja(),null),disabled:!A,onClick:function(){j(!1),O()}},"Save changes"),u&&r.createElement(m().Item,{startAdornment:r.createElement(qn(),null),disabled:!L,onClick:function(){j(!1),T()}},"Delete selected"))))),a&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},a),n&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},r.createElement(s(),{size:"medium"})),!n&&r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:y.size>0&&y.size===t.length,onChange:function(e){return S(e.target.checked)},style:{cursor:"pointer",width:16,height:16,margin:0}})),r.createElement(dt().HeadCell,null,"Metric"),r.createElement(dt().HeadCell,null,"Value"),r.createElement(dt().HeadCell,null,"Operator"),r.createElement(dt().HeadCell,null,"Condition must be met"),r.createElement(dt().HeadCell,null,"Impact score"),r.createElement(dt().HeadCell,null,"Comment"),r.createElement(dt().HeadCell,null,"Created/Updated")),r.createElement(dt().Body,null,0===E.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:8,style:{textAlign:"center",padding:40}},r.createElement(Jt(),{type:"info"},"No thresholds defined for this entity."))):E.map(function(e){var t=e._key;return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:y.has(t),onChange:function(e){return w(t,e.target.checked)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,e.metric_name),r.createElement(dt().Cell,null,r.createElement("input",{type:"text",value:null!==e.value&&void 0!==e.value?String(e.value):"",onChange:function(t){return k(e,"value",t.target.value)},style:{width:"100%"}})),r.createElement(dt().Cell,null,r.createElement("select",{value:e.operator,onChange:function(t){return k(e,"operator",t.target.value)}},["<",">","<=",">=","==","!="].map(function(e){return r.createElement("option",{key:e,value:e},e)}))),r.createElement(dt().Cell,null,r.createElement("select",{value:e.condition_true?"true":"false",onChange:function(t){return k(e,"condition_true","true"===t.target.value)}},r.createElement("option",{value:"true"},"True"),r.createElement("option",{value:"false"},"False"))),r.createElement(dt().Cell,null,r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,width:"100%"}},r.createElement(vr(),{value:null!==e.score&&void 0!==e.score?Number(e.score):100,onChange:function(t,n){var r=n.value;k(e,"score",r)},min:0,max:100,step:1,"aria-label":"Impact score",style:{flex:1}}),r.createElement("span",{style:{minWidth:40,textAlign:"right",fontSize:13}},null!==e.score&&void 0!==e.score?String(e.score):"100"))),r.createElement(dt().Cell,null,r.createElement("input",{type:"text",value:e.comment||"",onChange:function(t){return k(e,"comment",t.target.value)},style:{width:"100%"}})),r.createElement(dt().Cell,null,null!==e.mtime&&void 0!==e.mtime?String(e.mtime):"—"))}))))};function oo(e){return oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oo(e)}function io(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return lo(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(lo(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,lo(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,lo(d,"constructor",u),lo(u,"constructor",s),s.displayName="GeneratorFunction",lo(u,a,"GeneratorFunction"),lo(d),lo(d,a,"Generator"),lo(d,r,function(){return this}),lo(d,"toString",function(){return"[object Generator]"}),(io=function(){return{w:o,m:f}})()}function lo(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}lo=function(e,t,n,r){function o(t,n){lo(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},lo(e,t,n,r)}function so(e,t,n){return(t=function(e){var t=function(e){if("object"!=oo(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oo(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uo(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function co(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){uo(o,r,a,i,l,"next",e)}function l(e){uo(o,r,a,i,l,"throw",e)}i(void 0)})}}function fo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return po(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?po(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function po(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n"),2),O=L[0],T=L[1],D=fo(r.useState("1"),2),z=D[0],j=D[1],P=fo(r.useState(100),2),B=P[0],Y=P[1],N=fo(r.useState(""),2),F=N[0],I=N[1],R=fo(r.useState(!1),2),W=R[0],H=R[1],q=fo(r.useState(!1),2),X=q[0],V=q[1],U=fo(r.useState([]),2),$=U[0],G=U[1],K=fo(r.useState(!1),2),Q=K[0],ee=K[1],te=r.useRef(null),ne=fo(r.useState(null),2),re=ne[0],ae=ne[1],oe=r.useMemo(function(){try{return(0,v.makeCreateToast)(_())}catch(e){return console.warn("[EntityModifyThresholdsFlxModal] Toast system not available:",e),function(){}}},[]),ie=r.useCallback(function(e){try{oe({type:e.type,title:e.title,message:e.message||" "})}catch(e){console.error("[EntityModifyThresholdsFlxModal] Error showing toast:",e)}},[oe]),le=r.useMemo(function(){return"light"===u?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[u]),se=r.useCallback(co(io().m(function e(){var t,r,o,i,l,s,u;return io().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&a){e.n=1;break}return e.a(2);case 1:return y(!0),M(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_flx/flx_get_thresholds",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,keys_list:[a]})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:o=e.v,i=Array.isArray(o)?o:(null==o?void 0:o.payload)||(null==o?void 0:o.records)||[],l="_key",s=i.map(function(e){return so(so(so(so(so(so(so(so(so({},l,String(e[l])),"object_id",String(e.object_id)),"metric_name",String(e.metric_name)),"value",e.value),"operator",String(e.operator)),"condition_true",Boolean(e.condition_true)),"comment",e.comment),"mtime",e.mtime),"score",null!==e.score&&void 0!==e.score?Number(e.score):100)}),p(s),e.n=8;break;case 7:e.p=7,u=e.v,M((null==u?void 0:u.message)||"Failed to load thresholds.");case 8:return e.p=8,y(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a]);r.useEffect(function(){t&&n&&a?null!=i&&i.splk_flx_metrics_populate_search?ae(i):co(io().m(function e(){var t,r,o,i;return io().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/flx_entity_info",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,object_id:a})});case 1:if((t=e.v).ok){e.n=3;break}return e.n=2,Z(t);case 2:return ae(null),e.a(2);case 3:return e.n=4,t.json();case 4:r=e.v,o=r.entity_info||r,ae(o),e.n=6;break;case 5:e.p=5,i=e.v,console.error("[EntityModifyThresholdsFlxModal] Error fetching entityInfo:",i),ae(null);case 6:return e.a(2)}},e,null,[[0,5]])}))():ae(null)},[t,n,a,i]),r.useEffect(function(){try{var e,n;null===(e=te.current)||void 0===e||null===(n=e.unsubscribe)||void 0===n||n.call(e)}catch(e){}var r=re||i;if(!t||!r)return G([]),ee(!1),function(){try{var e,t;null===(e=te.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};var a=r.splk_flx_metrics_populate_search;if(!a)return G([]),ee(!1),function(){try{var e,t;null===(e=te.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};var o="".concat(a," | where isnotnull(label) | fields label | dedup label | sort label");ee(!0);try{var l=Ee.A.create({search:o,earliest_time:"-7d",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=(Array.isArray(null==e?void 0:e.results)?e.results:[]).map(function(e){return e.label}).filter(function(e){return e&&e.trim().length>0&&"status"!==e}).map(function(e){return{label:e,value:"splk.flx.".concat(e)}}).sort(function(e,t){return e.label.localeCompare(t.label)});G(t),ee(!1)}},error:function(e){console.error("[EntityModifyThresholdsFlxModal] Error fetching metrics:",e),G([]),ee(!1)},complete:function(){ee(!1)}});te.current=l}catch(e){console.error("[EntityModifyThresholdsFlxModal] Error creating search job:",e),G([]),ee(!1)}return function(){try{var e,t;null===(e=te.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[t,re,i]),r.useEffect(function(){t&&(I(""),V(!1),se())},[t,se]);var ue=r.useCallback(function(){var e=co(io().m(function e(t){var r,a,o,i,l;return io().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&t.length){e.n=1;break}return e.a(2);case 1:return H(!0),M(null),e.p=2,r=t.map(function(e){return{_key:e._key,object_id:e.object_id,metric_name:e.metric_name,value:e.value,operator:e.operator,condition_true:e.condition_true?1:0,score:null!==e.score&&void 0!==e.score?Number(e.score):100,comment:e.comment||""}}),a={tenant_id:n,records_list:r},F.trim()&&(a.update_comment=F.trim()),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_thresholds_update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});case 3:if((o=e.v).ok){e.n=5;break}return e.n=4,Z(o);case 4:throw i=e.v,new Error(i);case 5:return e.n=6,se();case 6:V(!1),ie({type:"success",title:"Thresholds updated successfully",message:"Updated ".concat(t.length," threshold").concat(1===t.length?"":"s",".")}),e.n=8;break;case 7:e.p=7,l=e.v,M((null==l?void 0:l.message)||"Failed to update thresholds."),ie({type:"error",title:"Failed to update thresholds",message:(null==l?void 0:l.message)||"An error occurred while updating thresholds."});case 8:return e.p=8,H(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[n,F,se,ie]),ce=r.useCallback(function(){var e=co(io().m(function e(t){var r,a,o,i;return io().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&t.length){e.n=1;break}return e.a(2);case 1:return H(!0),M(null),e.p=2,r={tenant_id:n,keys_list:t},F.trim()&&(r.update_comment=F.trim()),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_thresholds_del",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 3:if((a=e.v).ok){e.n=5;break}return e.n=4,Z(a);case 4:throw o=e.v,new Error(o);case 5:return e.n=6,se();case 6:V(!1),ie({type:"success",title:"Thresholds deleted successfully",message:"Deleted ".concat(t.length," threshold").concat(1===t.length?"":"s",".")}),e.n=8;break;case 7:e.p=7,i=e.v,M((null==i?void 0:i.message)||"Failed to delete thresholds."),ie({type:"error",title:"Failed to delete thresholds",message:(null==i?void 0:i.message)||"An error occurred while deleting thresholds."});case 8:return e.p=8,H(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[n,F,se,ie]),de=r.useCallback(co(io().m(function e(){var t,r,o,i;return io().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&a){e.n=1;break}return M("Missing tenant or entity identifier."),e.a(2);case 1:if(S.trim()&&E.trim()){e.n=2;break}return M("Metric name and value are required to add a threshold."),e.a(2);case 2:return H(!0),M(null),e.p=3,t={tenant_id:n,keys_list:[a],metric_name:S.trim(),value:E.trim(),operator:O,condition_true:"1"===z?1:0,score:B,comment:""},F.trim()&&(t.update_comment=F.trim()),e.n=4,J("/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_thresholds_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 4:if((r=e.v).ok){e.n=6;break}return e.n=5,Z(r);case 5:throw o=e.v,new Error(o);case 6:return x(""),A(""),Y(100),e.n=7,se();case 7:V(!1),ie({type:"success",title:"Threshold added successfully",message:'Added threshold for metric "'.concat(S,'".')}),e.n=9;break;case 8:e.p=8,i=e.v,M((null==i?void 0:i.message)||"Failed to add threshold."),ie({type:"error",title:"Failed to add threshold",message:(null==i?void 0:i.message)||"An error occurred while adding the threshold."});case 9:return e.p=9,H(!1),e.f(9);case 10:return e.a(2)}},e,null,[[3,8,9,10]])})),[n,a,S,E,O,z,B,F,se,ie]),fe=o||a||"entity";return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Thresholds (FLX): ".concat(fe)}),r.createElement(vt().Body,{style:{background:le.background}},r.createElement(Mr(),{title:"Threshold Configuration Guide",style:{marginBottom:20}},r.createElement("div",{style:{padding:16,fontSize:13,color:le.textSecondary,lineHeight:1.6}},r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Metric:")," Select the metric to monitor (e.g., CPU usage, memory, error count)."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Value:")," The threshold value to compare against the metric."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Operator:")," Comparison operator (<, >, <=, >=, ==, !=)."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Condition must be met:")," Whether the condition should be true (met) or false (not met) to trigger an alert."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Impact score:")," The impact score (0-100) assigned when this threshold is breached. Impact scores are aggregated over 24 hours, and an entity transitions to red status when the total score reaches 100. Default is 100."),r.createElement("div",null,r.createElement("strong",null,"Comment:")," Optional description for auditability and documentation purposes."))),X&&r.createElement(Jt(),{type:"warning",style:{marginBottom:20}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"Unsaved changes detected"),r.createElement("div",{style:{fontSize:13}},'You have modified threshold settings. Click "Save changes" in the actions menu to permanently save your changes.')),r.createElement("div",{style:{marginBottom:16,padding:16,borderRadius:8,border:"1px solid ".concat(le.border),backgroundColor:le.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",{style:{fontSize:14,fontWeight:600,color:le.text}},"Add a new threshold for this entity"),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:8,alignItems:"flex-start"}},r.createElement("div",{style:{minWidth:300,maxWidth:400}},r.createElement(ht(),{value:S,onChange:function(e,t){var n=t.value;return x(n)},placeholder:"Select metric name",style:{width:"100%"},disabled:Q},Q?r.createElement(ht().Option,{label:"Loading metrics...",value:"",disabled:!0}):0===$.length?r.createElement(ht().Option,{label:"No metrics available",value:"",disabled:!0}):$.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement(Gt(),{value:E,onChange:function(e,t){var n=t.value;return A(n)},placeholder:"Value",style:{width:120}}),r.createElement("select",{value:O,onChange:function(e){return T(e.target.value)},style:{width:90,height:32}},["<",">","<=",">=","==","!="].map(function(e){return r.createElement("option",{key:e,value:e},e)})),r.createElement("select",{value:z,onChange:function(e){return j(e.target.value)},style:{width:120,height:32}},r.createElement("option",{value:"1"},"Condition must be met"),r.createElement("option",{value:"0"},"Condition must NOT be met")),r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,minWidth:200}},r.createElement("span",{style:{fontSize:12,color:le.textSecondary,whiteSpace:"nowrap"}},"Impact score:"),r.createElement(vr(),{value:B,onChange:function(e,t){var n=t.value;Y(n)},min:0,max:100,step:1,"aria-label":"Impact score",style:{flex:1}}),r.createElement("span",{style:{minWidth:35,textAlign:"right",fontSize:13,fontWeight:500}},B)),r.createElement(c(),{appearance:"primary",icon:W?r.createElement(s(),{size:"small"}):r.createElement(C(),null),disabled:W,onClick:de,style:{maxWidth:200}},W?"Applying...":"Add threshold"))),r.createElement(ao,{rows:f,loading:h,error:g||void 0,onReload:se,onAdd:de,onSave:ue,onDelete:ce,onEditChange:V}),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(le.border),backgroundColor:le.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",null,r.createElement("label",{htmlFor:"thresholds-flx-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:le.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"thresholds-flx-comment-textarea",value:F,onChange:function(e,t){var n=t.value;return I(n)},disabled:W,style:{width:"100%",maxWidth:600,minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:le.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability). This comment will be included with save, add, or delete operations.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,style:{maxWidth:160}},"Close")))};function ho(e){return ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ho(e)}function yo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return bo(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(bo(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,bo(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,bo(d,"constructor",u),bo(u,"constructor",s),s.displayName="GeneratorFunction",bo(u,a,"GeneratorFunction"),bo(d),bo(d,a,"Generator"),bo(d,r,function(){return this}),bo(d,"toString",function(){return"[object Generator]"}),(yo=function(){return{w:o,m:f}})()}function bo(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}bo=function(e,t,n,r){function o(t,n){bo(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},bo(e,t,n,r)}function go(e,t,n){return(t=function(e){var t=function(e){if("object"!=ho(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ho(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ho(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vo(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function _o(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){vo(o,r,a,i,l,"next",e)}function l(e){vo(o,r,a,i,l,"throw",e)}i(void 0)})}}function Mo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n"),2),O=L[0],T=L[1],D=Mo(r.useState("1"),2),z=D[0],j=D[1],P=Mo(r.useState(100),2),B=P[0],Y=P[1],N=Mo(r.useState(""),2),F=N[0],I=N[1],R=Mo(r.useState(!1),2),W=R[0],H=R[1],q=Mo(r.useState(!1),2),X=q[0],V=q[1],U=Mo(r.useState([]),2),$=U[0],G=U[1],K=Mo(r.useState(!1),2),Q=K[0],ee=K[1],te=r.useRef(null),ne=Mo(r.useState(null),2),re=ne[0],ae=ne[1],oe=r.useMemo(function(){try{return(0,v.makeCreateToast)(_())}catch(e){return console.warn("[EntityModifyThresholdsFqmModal] Toast system not available:",e),function(){}}},[]),ie=r.useCallback(function(e){try{oe({type:e.type,title:e.title,message:e.message||" "})}catch(e){console.error("[EntityModifyThresholdsFqmModal] Error showing toast:",e)}},[oe]),le=r.useMemo(function(){return"light"===u?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[u]),se=r.useCallback(_o(yo().m(function e(){var t,r,o,i,l,s,u;return yo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&a){e.n=1;break}return e.a(2);case 1:return y(!0),M(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_get_thresholds",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,keys_list:[a]})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:o=e.v,i=Array.isArray(o)?o:(null==o?void 0:o.payload)||(null==o?void 0:o.records)||[],l="_key",s=i.map(function(e){return go(go(go(go(go(go(go(go(go({},l,String(e[l])),"object_id",String(e.object_id)),"metric_name",String(e.metric_name)),"value",e.value),"operator",String(e.operator)),"condition_true",Boolean(e.condition_true)),"comment",e.comment),"mtime",e.mtime),"score",null!==e.score&&void 0!==e.score?Number(e.score):100)}),p(s),e.n=8;break;case 7:e.p=7,u=e.v,M((null==u?void 0:u.message)||"Failed to load thresholds.");case 8:return e.p=8,y(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a]);r.useEffect(function(){t&&n&&a?null!=i&&i.splk_fqm_metrics_populate_search?ae(i):_o(yo().m(function e(){var t,r,o,i;return yo().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_entity_info",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,object_id:a})});case 1:if((t=e.v).ok){e.n=3;break}return e.n=2,Z(t);case 2:return ae(null),e.a(2);case 3:return e.n=4,t.json();case 4:r=e.v,o=r.entity_info||r,ae(o),e.n=6;break;case 5:e.p=5,i=e.v,console.error("[EntityModifyThresholdsFqmModal] Error fetching entityInfo:",i),ae(null);case 6:return e.a(2)}},e,null,[[0,5]])}))():ae(null)},[t,n,a,i]),r.useEffect(function(){try{var e,n;null===(e=te.current)||void 0===e||null===(n=e.unsubscribe)||void 0===n||n.call(e)}catch(e){}var r=re||i;if(!t||!r)return G([]),ee(!1),function(){try{var e,t;null===(e=te.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};var a=r.splk_fqm_metrics_populate_search;if(!a)return G([]),ee(!1),function(){try{var e,t;null===(e=te.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};var o="".concat(a," | where isnotnull(label) | fields label | dedup label | sort label");ee(!0);try{var l=Ee.A.create({search:o,earliest_time:"-7d",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=(Array.isArray(null==e?void 0:e.results)?e.results:[]).map(function(e){return e.label}).filter(function(e){return e&&e.trim().length>0&&"status"!==e}).map(function(e){return{label:e,value:"splk.fqm.".concat(e)}}).sort(function(e,t){return e.label.localeCompare(t.label)});G(t),ee(!1)}},error:function(e){console.error("[EntityModifyThresholdsFqmModal] Error fetching metrics:",e),G([]),ee(!1)},complete:function(){ee(!1)}});te.current=l}catch(e){console.error("[EntityModifyThresholdsFqmModal] Error creating search job:",e),G([]),ee(!1)}return function(){try{var e,t;null===(e=te.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[t,re,i]),r.useEffect(function(){t&&(I(""),V(!1),se())},[t,se]);var ue=r.useCallback(function(){var e=_o(yo().m(function e(t){var r,a,o,i,l;return yo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&t.length){e.n=1;break}return e.a(2);case 1:return H(!0),M(null),e.p=2,r=t.map(function(e){return{_key:e._key,object_id:e.object_id,metric_name:e.metric_name,value:e.value,operator:e.operator,condition_true:e.condition_true?1:0,score:null!==e.score&&void 0!==e.score?Number(e.score):100,comment:e.comment||""}}),a={tenant_id:n,records_list:r},F.trim()&&(a.update_comment=F.trim()),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_thresholds_update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});case 3:if((o=e.v).ok){e.n=5;break}return e.n=4,Z(o);case 4:throw i=e.v,new Error(i);case 5:return e.n=6,se();case 6:V(!1),ie({type:"success",title:"Thresholds updated successfully",message:"Updated ".concat(t.length," threshold").concat(1===t.length?"":"s",".")}),e.n=8;break;case 7:e.p=7,l=e.v,M((null==l?void 0:l.message)||"Failed to update thresholds."),ie({type:"error",title:"Failed to update thresholds",message:(null==l?void 0:l.message)||"An error occurred while updating thresholds."});case 8:return e.p=8,H(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[n,F,se,ie]),ce=r.useCallback(function(){var e=_o(yo().m(function e(t){var r,a,o,i;return yo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&t.length){e.n=1;break}return e.a(2);case 1:return H(!0),M(null),e.p=2,r={tenant_id:n,keys_list:t},F.trim()&&(r.update_comment=F.trim()),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_thresholds_del",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 3:if((a=e.v).ok){e.n=5;break}return e.n=4,Z(a);case 4:throw o=e.v,new Error(o);case 5:return e.n=6,se();case 6:V(!1),ie({type:"success",title:"Thresholds deleted successfully",message:"Deleted ".concat(t.length," threshold").concat(1===t.length?"":"s",".")}),e.n=8;break;case 7:e.p=7,i=e.v,M((null==i?void 0:i.message)||"Failed to delete thresholds."),ie({type:"error",title:"Failed to delete thresholds",message:(null==i?void 0:i.message)||"An error occurred while deleting thresholds."});case 8:return e.p=8,H(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[n,F,se,ie]),de=r.useCallback(_o(yo().m(function e(){var t,r,o,i;return yo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&a){e.n=1;break}return M("Missing tenant or entity identifier."),e.a(2);case 1:if(S.trim()&&E.trim()){e.n=2;break}return M("Metric name and value are required to add a threshold."),e.a(2);case 2:return H(!0),M(null),e.p=3,t={tenant_id:n,keys_list:[a],metric_name:S.trim(),value:E.trim(),operator:O,condition_true:"1"===z?1:0,score:B,comment:""},F.trim()&&(t.update_comment=F.trim()),e.n=4,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_thresholds_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 4:if((r=e.v).ok){e.n=6;break}return e.n=5,Z(r);case 5:throw o=e.v,new Error(o);case 6:return x(""),A(""),Y(100),e.n=7,se();case 7:V(!1),ie({type:"success",title:"Threshold added successfully",message:'Added threshold for metric "'.concat(S,'".')}),e.n=9;break;case 8:e.p=8,i=e.v,M((null==i?void 0:i.message)||"Failed to add threshold."),ie({type:"error",title:"Failed to add threshold",message:(null==i?void 0:i.message)||"An error occurred while adding the threshold."});case 9:return e.p=9,H(!1),e.f(9);case 10:return e.a(2)}},e,null,[[3,8,9,10]])})),[n,a,S,E,O,z,B,F,se,ie]),fe=o||a||"entity";return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Thresholds (FQM): ".concat(fe)}),r.createElement(vt().Body,{style:{background:le.background}},r.createElement(Mr(),{title:"Threshold Configuration Guide",style:{marginBottom:20}},r.createElement("div",{style:{padding:16,fontSize:13,color:le.textSecondary,lineHeight:1.6}},r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Metric:")," Select the metric to monitor (e.g., field quality percentage, error count)."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Value:")," The threshold value to compare against the metric."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Operator:")," Comparison operator (<, >, <=, >=, ==, !=)."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Condition must be met:")," Whether the condition should be true (met) or false (not met) to trigger an alert."),r.createElement("div",{style:{marginBottom:6}},r.createElement("strong",null,"Impact score:")," The impact score (0-100) assigned when this threshold is breached. Impact scores are aggregated over 24 hours, and an entity transitions to red status when the total score reaches 100. Default is 100."),r.createElement("div",null,r.createElement("strong",null,"Comment:")," Optional description for auditability and documentation purposes."))),X&&r.createElement(Jt(),{type:"warning",style:{marginBottom:20}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"Unsaved changes detected"),r.createElement("div",{style:{fontSize:13}},'You have modified threshold settings. Click "Save changes" in the actions menu to permanently save your changes.')),r.createElement("div",{style:{marginBottom:16,padding:16,borderRadius:8,border:"1px solid ".concat(le.border),backgroundColor:le.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",{style:{fontSize:14,fontWeight:600,color:le.text}},"Add a new threshold for this entity"),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:8,alignItems:"flex-start"}},r.createElement("div",{style:{minWidth:300,maxWidth:400}},r.createElement(ht(),{value:S,onChange:function(e,t){var n=t.value;return x(n)},placeholder:"Select metric name",style:{width:"100%"},disabled:Q},Q?r.createElement(ht().Option,{label:"Loading metrics...",value:"",disabled:!0}):0===$.length?r.createElement(ht().Option,{label:"No metrics available",value:"",disabled:!0}):$.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement(Gt(),{value:E,onChange:function(e,t){var n=t.value;return A(n)},placeholder:"Value",style:{width:120}}),r.createElement("select",{value:O,onChange:function(e){return T(e.target.value)},style:{width:90,height:32}},["<",">","<=",">=","==","!="].map(function(e){return r.createElement("option",{key:e,value:e},e)})),r.createElement("select",{value:z,onChange:function(e){return j(e.target.value)},style:{width:120,height:32}},r.createElement("option",{value:"1"},"Condition must be met"),r.createElement("option",{value:"0"},"Condition must NOT be met")),r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,minWidth:200}},r.createElement("span",{style:{fontSize:12,color:le.textSecondary,whiteSpace:"nowrap"}},"Impact score:"),r.createElement(vr(),{value:B,onChange:function(e,t){var n=t.value;Y(n)},min:0,max:100,step:1,"aria-label":"Impact score",style:{flex:1}}),r.createElement("span",{style:{minWidth:35,textAlign:"right",fontSize:13,fontWeight:500}},B)),r.createElement(c(),{appearance:"primary",icon:W?r.createElement(s(),{size:"small"}):r.createElement(C(),null),disabled:W,onClick:de,style:{maxWidth:200}},W?"Applying...":"Add threshold"))),r.createElement(ao,{rows:f,loading:h,error:g||void 0,onReload:se,onAdd:de,onSave:ue,onDelete:ce,onEditChange:V}),r.createElement("div",{style:{marginTop:16,padding:16,borderRadius:8,border:"1px solid ".concat(le.border),backgroundColor:le.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",null,r.createElement("label",{htmlFor:"thresholds-fqm-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:le.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"thresholds-fqm-comment-textarea",value:F,onChange:function(e,t){var n=t.value;return I(n)},disabled:W,style:{width:"100%",maxWidth:600,minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:le.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability). This comment will be included with save, add, or delete operations.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,style:{maxWidth:160}},"Close")))};function xo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return ko(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ko(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ko(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,ko(d,"constructor",u),ko(u,"constructor",s),s.displayName="GeneratorFunction",ko(u,a,"GeneratorFunction"),ko(d),ko(d,a,"Generator"),ko(d,r,function(){return this}),ko(d,"toString",function(){return"[object Generator]"}),(xo=function(){return{w:o,m:f}})()}function ko(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}ko=function(e,t,n,r){function o(t,n){ko(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ko(e,t,n,r)}function Co(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Eo(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Co(o,r,a,i,l,"next",e)}function l(e){Co(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ao(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n100)){e.n=3;break}return y("Minimal green percent must be a number between 1 and 100."),e.a(2);case 3:a=o;case 4:return j("existing"===t?"associate":"create"),y(null),e.p=5,i={tenant_id:n,action:"associate",object_group_name:r,object_list:B},void 0!==a&&(i.object_group_min_green_percent=String(a)),O.trim()&&(i.update_comment=O.trim()),e.n=6,J("/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_associate_group",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});case 6:if((s=e.v).ok){e.n=8;break}return e.n=7,Z(s);case 7:throw u=e.v,new Error(u);case 8:return e.n=9,Y();case 9:l&&l(),e.n=11;break;case 10:e.p=10,c=e.v,y((null==c?void 0:c.message)||"Failed to associate logical group.");case 11:return e.p=11,j(null),e.f(11);case 12:return e.a(2)}},e,null,[[5,10,11,12]])}));return function(t){return e.apply(this,arguments)}}(),[n,B,M,x,E,O,Y,l]),R=r.useCallback(Eo(xo().m(function e(){var t,r,a,o;return xo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&B&&F){e.n=1;break}return y("No logical group association found for this entity."),e.a(2);case 1:return j("remove"),y(null),e.p=2,t={tenant_id:n,action:"unassociate",object_group_name:F.object_group_name,object_list:B},O.trim()&&(t.update_comment=O.trim()),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_associate_group",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw a=e.v,new Error(a);case 5:return e.n=6,Y();case 6:l&&l(),e.n=8;break;case 7:e.p=7,o=e.v,y((null==o?void 0:o.message)||"Failed to remove logical group association.");case 8:return e.p=8,j(null),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,B,F,O,Y,l]),W=B||"entity";return r.createElement(vt(),{open:t,onRequestClose:i,returnFocus:function(){},style:{width:900}},r.createElement(vt().Header,{title:"Logical groups for: ".concat(W)}),r.createElement(vt().Body,{style:{background:P.background}},f&&r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:260,color:P.textSecondary}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:12}},"Loading logical groups...")),!f&&r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},h&&r.createElement(Jt(),{type:"error"},h),r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",justifyContent:"space-between",alignItems:"center",gap:16}},r.createElement("div",null,r.createElement("div",{style:{fontSize:13,color:P.textSecondary,marginBottom:4}},"Current logical group association"),F?r.createElement("div",{style:{fontSize:14,color:P.text}},r.createElement("strong",null,F.object_group_name),void 0!==F.object_group_min_green_percent&&r.createElement("span",{style:{marginLeft:8,fontSize:12,color:P.textSecondary}},"(min green ",F.object_group_min_green_percent,"%)")):r.createElement("div",{style:{fontSize:13,color:P.textSecondary}},"This entity is not part of any logical group yet.")),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(qn(),null),disabled:!F||"remove"===z,onClick:R,style:{maxWidth:220}},"remove"===z?"Removing...":"Remove from logical group"))),r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",{style:{fontSize:13,color:P.textSecondary}},"Associate this entity to an existing logical group."),r.createElement("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"}},r.createElement(Gt(),{value:M,onChange:function(e,t){var n=t.value;return w(n)},placeholder:"Start typing an existing group name...",style:{minWidth:260,maxWidth:360}}),r.createElement(c(),{appearance:"primary",icon:"associate"===z?r.createElement(s(),{size:"small"}):r.createElement(Wn(),null),disabled:"associate"===z,onClick:function(){return I("existing")},style:{maxWidth:220}},"associate"===z?"Associating...":"Associate to group"))),r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",{style:{fontSize:13,color:P.textSecondary}},"Or create a new logical group and associate this entity as a member."),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:8}},r.createElement(Gt(),{value:x,onChange:function(e,t){var n=t.value;return k(n)},placeholder:"New logical group name",style:{minWidth:220,maxWidth:260}}),r.createElement(Gt(),{value:E,onChange:function(e,t){var n=t.value;return A(n)},placeholder:"Min green %",style:{width:120}}),r.createElement(c(),{appearance:"primary",icon:"create"===z?r.createElement(s(),{size:"small"}):r.createElement(N(),null),disabled:"create"===z,onClick:function(){return I("new")},style:{maxWidth:240}},"create"===z?"Creating...":"Create group & associate"))),r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary,display:"flex",flexDirection:"column",gap:12}},r.createElement("div",null,r.createElement("label",{htmlFor:"logical-group-comment-textarea",style:{display:"block",marginBottom:4,fontSize:13,color:P.textSecondary}},"Optional update comment"),r.createElement(Ut(),{id:"logical-group-comment-textarea",value:O,onChange:function(e,t){var n=t.value;return T(n)},disabled:null!==z,style:{width:"100%",minHeight:80}}),r.createElement("div",{style:{fontSize:12,color:P.textSecondary,marginTop:4}},"Enter a short note describing this change (optional, but recommended for auditability). This comment will be included with associate, create, or remove actions."))),r.createElement("div",{style:{padding:16,borderRadius:8,border:"1px solid ".concat(P.border),backgroundColor:P.backgroundSecondary}},r.createElement("div",{style:{fontSize:13,color:P.textSecondary,marginBottom:8}},"Existing logical groups (read-only overview)"),0===g.length?r.createElement(Jt(),{type:"info"},"No logical groups defined yet."):r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"Group name"),r.createElement(dt().HeadCell,null,"Members"),r.createElement(dt().HeadCell,null,"Min green %"),r.createElement(dt().HeadCell,null,"Last updated")),r.createElement(dt().Body,null,g.map(function(e){var t=[];Array.isArray(e.object_group_members)?t=e.object_group_members:"string"==typeof e.object_group_members&&(t=e.object_group_members.split(","));var n=e.object_group_mtime_human||(e.object_group_mtime?String(e.object_group_mtime):"");return r.createElement(dt().Row,{key:e._key},r.createElement(dt().Cell,null,e.object_group_name),r.createElement(dt().Cell,null,t.length>0?t.join(", "):"—"),r.createElement(dt().Cell,null,void 0!==e.object_group_min_green_percent?"".concat(e.object_group_min_green_percent,"%"):"—"),r.createElement(dt().Cell,null,n||"—"))})))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:i,style:{maxWidth:160}},"Close")))};function To(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Do(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Do(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Do(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Do(d,"constructor",u),Do(u,"constructor",s),s.displayName="GeneratorFunction",Do(u,a,"GeneratorFunction"),Do(d),Do(d,a,"Generator"),Do(d,r,function(){return this}),Do(d,"toString",function(){return"[object Generator]"}),(To=function(){return{w:o,m:f}})()}function Do(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Do=function(e,t,n,r){function o(t,n){Do(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Do(e,t,n,r)}function zo(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function jo(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){zo(o,r,a,i,l,"next",e)}function l(e){zo(o,r,a,i,l,"throw",e)}i(void 0)})}}function Po(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Io(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Io(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Io(d,"constructor",u),Io(u,"constructor",s),s.displayName="GeneratorFunction",Io(u,a,"GeneratorFunction"),Io(d),Io(d,a,"Generator"),Io(d,r,function(){return this}),Io(d,"toString",function(){return"[object Generator]"}),(Fo=function(){return{w:o,m:f}})()}function Io(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Io=function(e,t,n,r){function o(t,n){Io(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Io(e,t,n,r)}function Ro(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Wo(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Ro(o,r,a,i,l,"next",e)}function l(e){Ro(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ho(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Qo(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Qo(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Qo(d,"constructor",u),Qo(u,"constructor",s),s.displayName="GeneratorFunction",Qo(u,a,"GeneratorFunction"),Qo(d),Qo(d,a,"Generator"),Qo(d,r,function(){return this}),Qo(d,"toString",function(){return"[object Generator]"}),(Zo=function(){return{w:o,m:f}})()}function Qo(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Qo=function(e,t,n,r){function o(t,n){Qo(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Qo(e,t,n,r)}function ei(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function ti(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ni(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ni(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(oi(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,oi(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,oi(d,"constructor",u),oi(u,"constructor",s),s.displayName="GeneratorFunction",oi(u,a,"GeneratorFunction"),oi(d),oi(d,a,"Generator"),oi(d,r,function(){return this}),oi(d,"toString",function(){return"[object Generator]"}),(ai=function(){return{w:o,m:f}})()}function oi(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}oi=function(e,t,n,r){function o(t,n){oi(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},oi(e,t,n,r)}function ii(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function li(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return si(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?si(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function si(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n Index > Sourcetype",fields:["metadata_datamodel","metadata_index","metadata_sourcetype"]}],n):"flx"===e?[].concat(t,[{value:"group",label:"Group by: Group",fields:["group"]}],n):"wlk"===e?[].concat(t,[{value:"overgroup",label:"Group by: Overgroup",fields:["overgroup"]}],n):"dhm"===e||"mhm"===e?[].concat(t,[{value:"tenant_id",label:"Group by: Tenant",fields:["tenant_id"]}],n):[].concat(t,n)}var vi=["mtime","_user","_key"];function _i(e){return _i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_i(e)}function Mi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wi(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var o=[r.map(function(e){return e._time}),r.map(function(e){var t;return null!==(t=e.kpi_metric_value)&&void 0!==t?t:null}),r.map(function(e){var t;return null!==(t=e.LowerBound)&&void 0!==t?t:null}),r.map(function(e){var t;return null!==(t=e.UpperBound)&&void 0!==t?t:null}),r.map(function(e){var t,n,r=e;return null==r?null:null!==(t=null!==(n=r.isOutlier)&&void 0!==n?n:r.IsOutlier)&&void 0!==t?t:null})],i={requestParams:{offset:0,count:r.length},data:{fields:[{name:"_time"},{name:"kpi_metric_value"},{name:"lowerBound"},{name:"upperBound"},{name:"isOutlier"}],columns:o},meta:{totalCount:r.length}};T(function(t){var n=xi(t);return n[e]={ds:i,loading:!1,type:"line"},n});try{var l,s;null===(l=D.current[e])||void 0===l||null===(s=l.unsubscribe)||void 0===s||s.call(l)}catch(e){}z.current.delete(e)}else{var u=[];(r||[]).forEach(function(e){Object.keys(e||{}).forEach(function(e){u.includes(e)||u.push(e)})});var c=u;!c.includes("_time")&&c.includes("time");var d=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},f=(c=c.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t);var t})).findIndex(function(e){return d(e)});if(f>0){var p=c[f];c=[p].concat(xi(c.slice(0,f)),xi(c.slice(f+1)))}var m=c.map(function(e){return r.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})}).map(function(e,t){var n=c[t];if(d(n))return e;var r=e.map(function(e){return function(e){if(null==e||"string"==typeof e&&""===e.trim())return!1;if("number"==typeof e)return Number.isFinite(e);var t=Number(e);return Number.isFinite(t)}(e)?Number(e):null});return r.some(function(e){return null!==e})?r:e}),h=0;try{m.forEach(function(e,t){var n=c[t];d(n)||e.forEach(function(e){var t=Number(e);Number.isFinite(t)&&(h=Math.max(h,t))})})}catch(e){}var y=h>0?1.15*h:void 0,b={requestParams:{offset:0,count:r.length},data:{fields:c.map(function(e){return{name:e}}),columns:m},meta:{totalCount:r.length}},g=r.length<=2;T(function(n){var r=xi(n);return r[e]={ds:b,loading:!1,yMax:y,type:g?"bar":t.type},r});try{var v,_;null===(v=D.current[e])||void 0===v||null===(_=v.unsubscribe)||void 0===_||_.call(v)}catch(e){}z.current.delete(e)}}},complete:function(){T(function(t){var n=xi(t);return n[e]=wi(wi({},n[e]||{}),{},{loading:!1}),n}),z.current.delete(e)},error:function(){T(function(t){var n=xi(t);return n[e]=wi(wi({},n[e]||{}),{},{loading:!1,error:"failed"}),n}),z.current.delete(e)}});D.current[e]=i}catch(t){console.warn("[OverviewCharts] (ChartsPane) runOneChart error",t),T(function(t){var n=xi(t);return n[e]=wi(wi({},n[e]||{}),{},{loading:!1,error:"failed"}),n}),z.current.delete(e)}}}},[A,d,y]);return r.useEffect(function(){return Array.isArray(A)&&0!==A.length?(A.forEach(function(e,t){z.current.has(t)||j(t)}),function(){var e=D.current;Object.keys(e).forEach(function(t){try{var n,r;null===(n=e[Number(t)])||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}),D.current={},z.current=new Set}):function(){}},[A,j,d,y]),r.useEffect(function(){if(!Array.isArray(A)||0===A.length)return function(){};var e=A.map(function(e,t){return t}).filter(function(e){return!S.current.has(e)});if(0===e.length)return function(){};var t=function(){w(function(t){var n={},r=!1;return e.forEach(function(e){var a=v.current[e];if(a){var o=a.getBoundingClientRect(),i=Math.max(200,o.width),l=t[e];i>0&&(!l||Math.abs(l-i)>5)&&(n[e]=i,r=!0,S.current.add(e))}}),r?wi(wi({},t),n):t})};return requestAnimationFrame(function(){t(),setTimeout(t,100)}),function(){}},[A.length]),r.useEffect(function(){var e=function(){w(function(e){var t={},n=!1;return Object.keys(v.current).forEach(function(r){var a=Number(r),o=v.current[a];if(o){var i=o.getBoundingClientRect(),l=Math.max(200,i.width),s=e[a];l>0&&(!s||Math.abs(s-l)>5)&&(t[a]=l,n=!0)}}),n?wi(wi({},e),t):e})};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),r.useEffect(function(){S.current.clear(),w({})},[g]),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr",gap:10,alignItems:"start"}},r.createElement("div",{style:{gridColumn:"1 / -1",justifySelf:"end",marginBottom:4}},r.createElement("div",{style:{width:240,textAlign:"right",marginRight:5}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:d,latest:y,onChange:function(e,t){var n=t.earliest,r=t.latest;p(n),b(r)},labelMaxChars:1/0,"aria-label":"Mini charts time range"})))),(0===A.length||E)&&r.createElement("div",{style:{background:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:8,padding:12,gridColumn:"1 / span 2",display:"flex",alignItems:"center",justifyContent:"center",gap:8,minHeight:140}},r.createElement(s(),{size:"small"}),r.createElement("div",{style:{color:k.textSecondary,fontSize:12}},"Retrieving entity information and charts definition…")),A.map(function(e,t){var n,a=wi(wi({},e),O[t]||{}),o=M[t]||300;return r.createElement("div",{key:"chart-".concat(g,"-").concat(e.label||t),style:{background:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:600,color:k.textSecondary,marginBottom:4,paddingRight:28}},e.label||"Chart"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){try{var t=String(e.search||""),n="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(d),"&latest=").concat(encodeURIComponent(y)),r=Ai(n);window.open(r,"_blank","noopener")}catch(e){}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){return j(t)},disabled:Boolean(null===(n=O[t])||void 0===n?void 0:n.loading)},"Refresh")))),r.createElement("div",{ref:function(e){v.current[t]=e},style:{height:140,display:"flex",alignItems:"center",justifyContent:"center"}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;if(e.loading)return r.createElement(s(),{size:"small"});if(e.error)return r.createElement("div",{style:{color:"var(--splunk-color-text-error, #dc4e41)",fontSize:12,padding:8}},"Error loading chart");if(e.ds)try{var n=e.ds;if(!(n&&n.data&&n.data.fields&&n.data.columns))return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"Invalid chart data");if(n.data.fields.length!==n.data.columns.length)return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"Data structure mismatch");if(!n.data.columns.every(function(e){return Array.isArray(e)}))return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"Invalid column data");var a=String(e.type||"").toLowerCase(),o={height:140,legendPosition:"none",backgroundColor:"transparent",nullValueDisplay:"gaps",xAxisTitleVisibility:"hide",yAxisMax:"number"==typeof(null==e?void 0:e.yMax)&&Number.isFinite(e.yMax)?e.yMax:void 0};return"line"===a?r.createElement(Rt(),{width:t,height:140,options:o,dataSources:{primary:n}}):r.createElement(Ft(),{width:t,height:140,options:o,dataSources:{primary:n}})}catch(e){return console.warn("[ChartsPane] Error rendering chart:",e),r.createElement("div",{style:{color:"var(--splunk-color-text-error, #dc4e41)",fontSize:12,padding:8}},"Chart rendering error")}return r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #9e9e9e)",fontSize:12}},"No data")}(a,o)))}))},Oi={display:"flex",alignItems:"center",gap:8,marginBottom:8},Ti={marginLeft:"auto",display:"flex",alignItems:"center",gap:8},Di=function(e){return{display:"inline-block",width:10,height:10,borderRadius:"50%",background:e,verticalAlign:"middle"}};const zi=function(e){var t,n=e.rows,a=e.component,o=e.tenantId,i=e.features,l=e.cmdbLookup,s=e.defaultGroupByOverride,u=e.onOpenEntity,d=e.onOpenAck,p=e.appliedFilter,h=e.onRefresh,b=Ce(),g=b.colorScheme,v=b.getColumnVisibilityForComponent,_=b.setColumnVisibility,M=b.getColumnWidthsForComponent,w=b.setColumnWidth,S=b.getColumnOrderForComponent,x=b.setColumnOrder,k=r.useMemo(function(){return function(e,t){var n=(e||"dsm").toLowerCase();return"dhm"===n?{defaultGroupBy:t&&t.length?t:["tenant_id"],columns:pi,groupByOptions:gi("dhm")}:"mhm"===n?{defaultGroupBy:t&&t.length?t:["tenant_id"],columns:mi,groupByOptions:gi("mhm")}:"flx"===n?{defaultGroupBy:t&&t.length?t:["group"],columns:hi,groupByOptions:gi("flx")}:"fqm"===n?{defaultGroupBy:t&&t.length?t:["metadata_datamodel","metadata_index","metadata_sourcetype"],columns:yi,groupByOptions:gi("fqm")}:"wlk"===n?{defaultGroupBy:t&&t.length?t:["overgroup"],columns:bi,groupByOptions:gi("wlk")}:{defaultGroupBy:t&&t.length?t:["data_index"],columns:fi,groupByOptions:gi("dsm")}}(a,s)},[a,s]),E=r.useMemo(function(){return"light"===g?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[g]),A={background:E.background,color:E.textSecondary,fontWeight:600,padding:"6px 10px",border:"1px solid ".concat(E.border),display:"flex",alignItems:"center",gap:8,width:"100%"},L={background:E.backgroundSecondary,border:"1px solid ".concat(E.border),borderRadius:8,overflow:"hidden",margin:"8px 0",width:"100%"},O={padding:"8px 10px",borderBottom:"1px solid ".concat(E.border),fontWeight:600,color:E.textSecondary},T={display:"grid",gridTemplateColumns:"140px 1fr",rowGap:4,columnGap:10,padding:"10px 12px"},z=ki(r.useState(""),2),j=z[0],P=z[1],B=ki(r.useState("default"),2),Y=B[0],F=B[1],R=ki(r.useState("all"),2),W=R[0],H=R[1],q=ki(r.useState(20),2),X=q[0],V=q[1],U=ki(r.useState(1),2),$=U[0],G=U[1],K=ki(r.useState("infinite"),2),J=K[0],Z=K[1],Q=ki(r.useState(k.columns),2),ee=Q[0],te=Q[1],ne=ki(r.useState(null),2),re=ne[0],ae=ne[1],oe=ki(r.useState("asc"),2),ie=oe[0],le=oe[1],se=ki(r.useState(new Set),2),ue=se[0],ce=se[1],de=ki(r.useState(!1),2),fe=de[0],pe=de[1],me=ki(r.useState(!1),2),he=me[0],ye=me[1],be=ki(r.useState(null),2),ge=be[0],ve=be[1],_e=ki(r.useState(null),2),Me=_e[0],we=_e[1],Se=ki(r.useState(!1),2),xe=Se[0],ke=Se[1],Ee=ki(r.useState(!1),2),Ae=Ee[0],Le=Ee[1],Oe=ki(r.useState(!1),2),Te=Oe[0],De=Oe[1],ze=ki(r.useState(!1),2),je=ze[0],Pe=ze[1],Be=ki(r.useState(!1),2),Ye=Be[0],Ne=Be[1],Fe=ki(r.useState(!1),2),Ie=Fe[0],Re=Fe[1],We=ki(r.useState(!1),2),He=We[0],qe=We[1],Xe=ki(r.useState(!1),2),Ve=Xe[0],Ue=Xe[1],$e=ki(r.useState(!1),2),Ke=$e[0],Je=$e[1],Ze=ki(r.useState(!1),2),Qe=Ze[0],et=Ze[1],tt=ki(r.useState(!1),2),nt=tt[0],rt=tt[1],at=ki(r.useState(!1),2),ot=at[0],it=at[1],lt=ki(r.useState(!1),2),st=lt[0],ct=lt[1],ft=ki(r.useState(!1),2),mt=ft[0],yt=ft[1],gt=ki(r.useState(!1),2),_t=gt[0],wt=gt[1],xt=ki(r.useState(!1),2),Ct=xt[0],At=xt[1],Ot=ki(r.useState(null),2),Dt=Ot[0],jt=Ot[1],Bt=ki(r.useState(!1),2),Nt=Bt[0],Ft=Bt[1],It=ki(r.useState(!1),2),Rt=It[0],Wt=It[1],Ht=ki(r.useState(null),2),qt=Ht[0],Xt=Ht[1],Vt=r.useRef(null),Ut=r.useRef(null);r.useEffect(function(){var e,t,n,r=k.columns,l=function(e){return{alias:200,status:80,score:80,priority:100,monitored_state:80,lag_summary:150,last_time:140,last_ingest:140,data_max_delay_allowed:120,data_max_delay_allowed_duration:120,data_max_lag_allowed:130,data_max_lag_allowed_duration:120,OutliersIsOk:100,SamplingIsOk:100}[e]||150},s=r.map(function(e){return wi(wi({},e),{},{minWidth:e.minWidth||80,width:e.width||l(e.name)})}),u=String(a).toLowerCase();if(o){if(e=v(o,u),t=M(o,u),n=S(o,u),e){s.forEach(function(t,n){var r=e[t.name];void 0!==r&&t.visible!==r&&(s[n]=wi(wi({},t),{},{visible:r,minWidth:t.minWidth||80}))});var c=new Set(s.map(function(e){return e.name}));Object.keys(e).forEach(function(t){if(!c.has(t)){var n=t.replace(/_/g," ").replace(/\b\w/g,function(e){return e.toUpperCase()}),r={name:t,label:n,visible:!1!==e[t],sortable:!0,minWidth:80,width:l(t)};s.push(wi(wi({},r),{},{minWidth:80,width:l(t)}))}})}if(t&&s.forEach(function(e,n){var r=t[e.name];void 0!==r&&r>0&&(s[n]=wi(wi({},e),{},{width:r,minWidth:e.minWidth||80}))}),n&&Array.isArray(n)&&n.length>0){var d=new Map(s.map(function(e){return[e.name,e]})),f=[],p=new Set;n.forEach(function(e){if(!p.has(e)){var t=d.get(e);t&&(f.push(wi(wi({},t),{},{minWidth:t.minWidth||80,width:t.width||l(t.name)})),p.add(e))}}),s.forEach(function(e){p.has(e.name)||f.push(wi(wi({},e),{},{minWidth:e.minWidth||80,width:e.width||l(e.name)}))}),s.length=0,f.forEach(function(e){s.push(wi(wi({},e),{},{minWidth:e.minWidth||80,width:e.width||l(e.name)}))})}}else console.warn("[TenantOverviewTable] tenantId is undefined, cannot load column preferences");var m=s.findIndex(function(e){return"OutliersIsOk"===e.name});if(m>=0){var h,y=Boolean(null==i||null===(h=i.mloutliers)||void 0===h?void 0:h[u]),b=o&&e&&void 0!==e.OutliersIsOk;y?b||(s[m]=wi(wi({},s[m]),{},{visible:!0,width:s[m].width||l("OutliersIsOk")})):s[m]=wi(wi({},s[m]),{},{visible:!1,width:s[m].width||l("OutliersIsOk")})}if("dsm"===u){var g=s.findIndex(function(e){return"SamplingIsOk"===e.name});if(g>=0){var _=Boolean(null==i?void 0:i.sampling),w=o&&e&&void 0!==e.SamplingIsOk;_?w||(s[g]=wi(wi({},s[g]),{},{visible:!0,width:s[g].width||l("SamplingIsOk")})):s[g]=wi(wi({},s[g]),{},{visible:!1,width:s[g].width||l("SamplingIsOk")})}}te(s);var x=null!==Vt.current&&Vt.current!==u,C=null!==Ut.current&&Ut.current!==o;(x||C)&&F("default"),Vt.current=u,Ut.current=o},[k,a,i,o,v,M,S]),r.useEffect(function(){F(function(e){return"default"===e||"none"===e||k.groupByOptions.some(function(t){return t.value===e})?e:"default"})},[k]);var $t=r.useMemo(function(){return ee.filter(function(e){return e.visible})},[ee]),Gt=r.useMemo(function(){return new Set(["status","monitored_state","priority","data_max_delay_allowed","data_max_lag_allowed","allow_adaptive_delay","data_override_lagging_class"])},[]),Kt=r.useCallback(function(e,t){if(o){var n=t.columnId||t.id;if(n){var r=String(a).toLowerCase(),i=Math.max(t.width,80);te(function(e){var t=(0,ut.cloneDeep)(e),r=t.findIndex(function(e){return e.name===n});return r>=0&&(t[r]=wi(wi({},t[r]),{},{width:i,minWidth:t[r].minWidth||80})),t}),w(o,r,n,i)}}},[o,a,w]),Jt=ki(r.useState({monitored_state:new Set(["enabled"])}),2),Zt=Jt[0],Qt=Jt[1],en=r.useCallback(function(){return String(a).toLowerCase()},[a]),tn=r.useCallback(function(e){try{var t="string"==typeof e?JSON.parse(e):e;if(!t||"object"!==_i(t))return"N/A";var n={};return Object.entries(t).forEach(function(e){var t=ki(e,2),r=t[0],a=t[1],o="string"==typeof a?function(){try{return JSON.parse(a)}catch(e){return a}}():a;if(o&&"object"===_i(o)){var i=o,l=(i.mtime,i._user,i._key,function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r0}),l=xi(0===i.length?o:o.filter(function(e){return i.every(function(t){var n,r=Zt[t];return n="status"===t?String(e.object_state||""):"monitored_state"===t?String(e[t]||"").toLowerCase():String(e[t]||""),r.has(n)})}));if(re)l=l.sort(function(e,t){if("score"===re){var n=an(e)-an(t);return"asc"===ie?n:-n}var r=String(e[re]||"").toLowerCase(),a=String(t[re]||"").toLowerCase(),o=r.localeCompare(a);return"asc"===ie?o:-o});else{var s=function(e){return e&&e.alias?String(e.alias):String(e.object||"")};l=l.sort(function(e,t){return s(e).localeCompare(s(t))})}return l},[j,n,Zt,W,p,a,re,ie,an]),dn=r.useMemo(function(){if("none"===Y)return[];if("default"===Y)return k.defaultGroupBy||[];var e=k.groupByOptions.find(function(e){return e.value===Y});return(null==e?void 0:e.fields)||(Y?[Y]:[])},[Y,k]),fn=r.useCallback(function(e){if(!e||"N/A"===e||"—"===e)return[];if(Array.isArray(e))return Array.from(new Set(e.map(function(e){return String(e).trim().toLowerCase()}).filter(function(e){return"n/a"!==e&&Boolean(e)})));var t=String(e).trim();return t?Array.from(new Set(t.split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return"n/a"!==e&&Boolean(e)}))):[]},[]),pn=r.useMemo(function(){if(!dn.length)return["__all__"];var e=dn[0];if("tags"===e){var t=new Set;return(cn||[]).forEach(function(n){var r=fn(n[e]);r.length>0?r.forEach(function(e){return t.add(e)}):t.add("—")}),Array.from(t).sort(function(e,t){return"—"===e?1:"—"===t?-1:e.localeCompare(t)})}return Array.from(new Set((cn||[]).map(function(t){var n;return String(null!==(n=t[e])&&void 0!==n?n:"—")}))).sort(function(e,t){return e.localeCompare(t)})},[cn,dn,fn]),mn=r.useMemo(function(){if(!dn.length){var e=new Map;return e.set("__all__",cn),e}var t=new Map,n=dn[0];return"tags"===n?(cn||[]).forEach(function(e){var r=fn(e[n]);if(r.length>0)r.forEach(function(n){var r=t.get(n)||[];r.push(e),t.set(n,r)});else{var a=t.get("—")||[];a.push(e),t.set("—",a)}}):(cn||[]).forEach(function(e){var r,a=String(null!==(r=e[n])&&void 0!==r?r:"—"),o=t.get(a)||[];o.push(e),t.set(a,o)}),t},[cn,dn,fn]),hn=r.useMemo(function(){if(!dn.length)return cn.length;var e=0;return mn.forEach(function(t){e+=t.length}),e},[mn,dn.length,cn.length]),yn=Math.max(1,Math.ceil(hn/X)),bn=Math.min($,yn),gn=r.useCallback(function(e){if("infinite"===J){var t=bn*X;return e.slice(0,t)}var n=(bn-1)*X;return e.slice(n,n+X)},[bn,X,J]),vn=r.useMemo(function(){var e=0,t=0,n=0,r=function(e,t){return"".concat(e," (").concat(t," items)").length};pn.forEach(function(t){e=Math.max(e,r(t,(mn.get(t)||[]).length))});var a=dn[1],o=dn[2];a&&pn.forEach(function(e){var i=mn.get(e)||[],l=new Map;i.forEach(function(e){var t,n=String(null!==(t=e[a])&&void 0!==t?t:"—"),r=l.get(n)||[];r.push(e),l.set(n,r)}),Array.from(l.keys()).forEach(function(e){t=Math.max(t,r(e,(l.get(e)||[]).length))}),o&&Array.from(l.keys()).forEach(function(e){var t=l.get(e)||[],a=new Map;t.forEach(function(e){var t,n=String(null!==(t=e[o])&&void 0!==t?t:"—"),r=a.get(n)||[];r.push(e),a.set(n,r)}),Array.from(a.keys()).forEach(function(e){n=Math.max(n,r(e,(a.get(e)||[]).length))})})});var i,l=(i=Math.max(e,t,n),"".concat(Math.max(16,Math.min(i+2,64)),"ch"));return{g0:l,g1:l,g2:l}},[dn,pn,mn]),_n=r.useCallback(function(e){u&&u(e)},[u]),Mn=r.useMemo(function(){return Un()},[]),wn=r.useCallback(function(e){var t;if(["dsm","dhm","mhm","flx","fqm","wlk"].includes(a))if(["mhm","flx","fqm","wlk"].includes(a))u&&u(e);else{var n=e?String(e["dsm"===a?"splk_dsm_raw_search":"splk_dhm_raw_search"]||"").trim():"";if(n){var r="";try{var o=window.vt_selected_vtenant_account;if(o){var i="string"==typeof o?JSON.parse(o):o;r=String((null==i?void 0:i.indexed_constraint)||"").trim()}}catch(e){}var l=n.trim();if(r)if(l.startsWith("search?q=")){var s=l.substring(9),c=decodeURIComponent(s),d="".concat(c," ").concat(r);l="search?q=".concat(encodeURIComponent(d))}else l="".concat(l," ").concat(r);var f="/app/trackme/".concat(l),p=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(f):f;window.open(p,"_blank","noopener")}else u&&u(e)}},[a,u]),Sn=r.useCallback(function(e,t){switch(we(e),t){case"modifyDisruption":ke(!0);break;case"modifyLagPolicies":"dsm"===a?Le(!0):"dhm"===a&&De(!0);break;case"modifyPriority":Pe(!0);break;case"modifyMonitoringTime":Ne(!0);break;case"modifyMinHostsDcount":"dsm"===a&&Re(!0);break;case"associateLogicalGroup":qe(!0);break;case"modifyThresholds":"flx"===a?Ue(!0):"fqm"===a&&Je(!0);break;case"enableDisableMonitoring":et(!0);break;case"deleteTemporary":rt(!0);break;case"deletePermanent":it(!0);break;case"smartStatus":["dsm","dhm","mhm","wlk"].includes(a)&&ct(!0);break;case"openInSearch":["mhm","flx","fqm","wlk"].includes(a)&&u&&u(e);break;case"setFalsePositive":yt(!0);break;case"manualScoreInfluence":wt(!0)}},[a,u]),xn=r.useCallback(function(){we(null),h&&h()},[h]),kn=r.useCallback(function(){we(null)},[]),Cn=r.useCallback(function(e){if(o){var t=String(a).toLowerCase();te(function(n){var r=n.map(function(t){return t.name===e?wi(wi({},t),{},{visible:!t.visible}):t}),a={};r.forEach(function(e){a[e.name]=e.visible}),_(o,t,a);var i=r.map(function(e){return e.name});return x(o,t,i),r})}else console.warn("[TenantOverviewTable] Cannot save column visibility: tenantId is undefined")},[o,a,_,x]),En=r.useCallback(function(e,t){if(o){var n=String(a).toLowerCase();te(function(r){if(Number.isNaN(e)||Number.isNaN(t)||e<0||e>=r.length||t<0||t>=r.length||e===t)return r;var a=(0,ut.cloneDeep)(r),i=ki(a.splice(e,1),1)[0],l=e0&&t<100?l="#ffb347":t>=100&&(l="#dc4e41");var s=t===Math.floor(t)?t.toString():t.toFixed(1);return r.createElement("span",{style:{color:l,fontWeight:600}},s)}()),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Status message:"),r.createElement("div",{style:{width:"100%"}},r.createElement("div",{style:{background:E.background,border:"1px solid ".concat(E.border),borderRadius:4,padding:"8px",fontSize:"12px",lineHeight:"1.4"}},function(){try{var t=e.status_message_json,n="string"==typeof t?JSON.parse(t):t;try{if("flx"===String(s).toLowerCase()&&"converging"===String((null==e?void 0:e.flx_type)||"").toLowerCase()&&n&&"object"===_i(n)&&Object.prototype.hasOwnProperty.call(n,"extra_attributes")){var a=n.extra_attributes,o="string"==typeof a?JSON.parse(a):a;if(o&&"object"===_i(o)){var i={};Array.isArray(o.down_entities)&&o.down_entities.length>0&&(i.down_entities=o.down_entities),n.extra_attributes=i}}}catch(e){}return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},JSON.stringify(null!=n?n:{},null,2))}catch(t){return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},String(e.status_message_json||""))}}())))),u(["dsm","dhm"])&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Splunk indexes & sourcetypes"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Indexes:"),r.createElement("div",null,String(e.data_index||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Sourcetypes:"),r.createElement("div",null,String(e.data_sourcetype||"")))),u(["mhm"])&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Splunk indexes & metric categories"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Indexes:"),r.createElement("div",null,String(e.metric_index||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Metric categories:"),r.createElement("div",null,String(e.metric_category||"")))),u(["dsm","dhm"])&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Delay & latency"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Lagging summary:"),r.createElement("div",null,String(e.lag_summary||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Last ingest:"),r.createElement("div",null,String(e.last_ingest||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Last event:"),r.createElement("div",null,String(e.last_time||"")))),u(["mhm"])&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Delay & latency"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Lagging summary:"),r.createElement("div",null,String(e.lag_summary||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Last metric received:"),r.createElement("div",null,String(e.last_time||"")))),u(["wlk"])&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Search information"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Saved search name:"),r.createElement("div",null,String(e.savedsearch_name||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Application:"),r.createElement("div",null,String(e.app||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Owner:"),r.createElement("div",null,String(e.user||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Cron exec sequence seconds:"),r.createElement("div",null,String(e.cron_exec_sequence_sec||"")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Seconds since last execution:"),r.createElement("div",null,String(e.sec_since_lastexec||"")))),u(["dsm","dhm","flx","fqm"])&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Thresholds & configuration"),r.createElement("div",{style:T},d?r.createElement(r.Fragment,null,r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Max seconds inactive:"),r.createElement("div",null,String(null!==(n=e.max_sec_inactive)&&void 0!==n?n:""),e.max_sec_inactive?" seconds":""),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Dynamic thresholds:"),r.createElement("div",{style:{width:"100%"}},r.createElement("div",{style:{background:E.background,border:"1px solid ".concat(E.border),borderRadius:4,padding:"8px",fontSize:"12px",lineHeight:"1.4"}},tn(e.dynamic_thresholds)))):r.createElement(r.Fragment,null,r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Max latency allowed:"),r.createElement("div",null,String(e.data_max_lag_allowed||"")," ",e.data_max_lag_allowed?"seconds":""),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Max delay allowed:"),r.createElement("div",null,String(e.data_max_delay_allowed||"")," ",e.data_max_delay_allowed?"seconds":"")))),c&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Machine learning outliers anomaly detection"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"isOutlier:"),r.createElement("div",null,"1"===String(e.isOutlier)?"True":"False"),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Outlier Readiness:"),r.createElement("div",null,String(e.outliers_readiness||"N/A")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"isOutlierReason:"),r.createElement("div",null,String(e.isOutlierReason||"N/A")),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Models in Anomaly:"),r.createElement("div",null,String(e.models_in_anomaly||"N/A")))),"dsm"===s&&r.createElement("div",{style:L},r.createElement("div",{style:O},"Sampling"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Status:"),r.createElement("div",null,"1"===(a=String(e.SamplingIsOk))?"True":"0"===a?"False":"N/A"),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"Anomaly Reason:"),r.createElement("div",null,String(e.data_sample_anomaly_reason||"N/A")))),r.createElement("div",{style:L},r.createElement("div",{style:O},"SLA"),r.createElement("div",{style:T},r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)"}},"SLA message:"),r.createElement("div",{style:{width:"100%"}},r.createElement("div",{style:{background:E.background,border:"1px solid ".concat(E.border),borderRadius:4,padding:"8px",fontSize:"12px",lineHeight:"1.4"}},function(){try{var t=e.sla_message_json,n="string"==typeof t?JSON.parse(t):t;return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},JSON.stringify(null!=n?n:{},null,2))}catch(t){return r.createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap",overflowWrap:"anywhere",wordBreak:"break-word"}},String(e.sla_message_json||""))}}())))),r.createElement("div",{style:{height:24}})),r.createElement("div",{style:{width:"100%"}},r.createElement(Li,{rowData:e,ensureLoadCharts:In,chartsByKey:Ln,chartsLoadingByKey:Dn,resetChartsForKey:Fn})))))))},[$t.length,Ln,a,i,en,tn]),Wn=function(e){var t=String(e).toLowerCase(),n="1"===t||"true"===t?"#4caf50":"#d32f2f";return r.createElement("div",{style:{display:"flex",alignItems:"center",height:"100%"}},r.createElement("span",{style:wi(wi({},Di(n)),{},{marginTop:"4px"})}))},Hn=r.useCallback(function(){un(new Set)},[]),qn=r.useCallback(function(){un(new Set(pn))},[pn]),Xn=r.useCallback(function(){if(!n||0===n.length)return[];var e=new Set;n.forEach(function(t){t&&"object"===_i(t)&&Object.keys(t).forEach(function(t){t.startsWith("_")||"keyid"===t||"object"===t||"alias"===t||e.add(t)})});var t=new Set(ee.map(function(e){return e.name}));return Array.from(e).filter(function(e){return!t.has(e)}).sort().map(function(e){return{value:e,label:e.replace(/_/g," ").replace(/\b\w/g,function(e){return e.toUpperCase()})}})},[n,ee]),Vn=r.useCallback(function(e){if(o){if(!ee.some(function(t){return t.name===e})){var t,n=e.replace(/_/g," ").replace(/\b\w/g,function(e){return e.toUpperCase()}),r={name:e,label:n,visible:!0,sortable:!0,minWidth:80,width:(t=e,{alias:200,status:80,score:80,priority:100,monitored_state:80,lag_summary:150,last_time:140,last_ingest:140,data_max_delay_allowed:120,data_max_delay_allowed_duration:120,data_max_lag_allowed:130,data_max_lag_allowed_duration:120,OutliersIsOk:100,SamplingIsOk:100}[t]||150)},i=String(a).toLowerCase();te(function(e){var t=[].concat(xi(e),[r]),n={};return t.forEach(function(e){n[e.name]=e.visible}),_(o,i,n),t}),Ft(!1)}}else console.warn("[TenantOverviewTable] Cannot add field: tenantId is undefined")},[o,a,ee,_]),$n=r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(Et(),null)})},r.createElement(m(),{style:{maxHeight:"80vh",overflowY:"auto",minWidth:"280px",width:"max-content"}},r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:function(){if(o){var e="| trackmegetcoll tenant_id=".concat(o," component=").concat(a),t="/app/trackme/search?q=".concat(encodeURIComponent(e)),n=Ai(t);window.open(n,"_blank","noopener")}}},"Open in Search"),h&&r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){h&&h()}},"Refresh"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,"Group by"),r.createElement(m().Item,{onClick:function(){return F("default")}},"Default"),r.createElement(m().Item,{onClick:function(){return F("none")}},"No grouping"),k.groupByOptions.filter(function(e){return"default"!==e.value&&"none"!==e.value}).map(function(e){return r.createElement(m().Item,{key:e.value,onClick:function(){return F(e.value)}},e.label)}),r.createElement(m().Divider,null),r.createElement(m().Item,{onClick:Hn},"Expand all"),r.createElement(m().Item,{onClick:qn},"Collapse all"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,r.createElement("div",null,"Show/Hide Columns"),r.createElement("div",{style:{fontSize:"0.85em",opacity:.8,marginTop:2}},"(drag & drop to reorder fields)")),ee.map(function(e,t){var n={cursor:"grab",userSelect:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,marginRight:8,color:E.textSecondary,fontSize:12};return r.createElement(m().Item,{key:e.name,selectable:!0,selected:e.visible,onClick:function(){return Cn(e.name)},onDragStart:function(e){e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",String(t)),e.target.style.opacity="0.5"},onDragEnd:function(e){e.target.style.opacity="1"},onDragOver:function(e){e.preventDefault(),e.dataTransfer.dropEffect="move"},onDrop:function(e){e.preventDefault();var n=parseInt(e.dataTransfer.getData("text/plain"),10),r=t;Number.isNaN(n)||Number.isNaN(r)||n===r||En(n,r)},draggable:!0,style:{cursor:"grab",display:"flex",alignItems:"center"}},r.createElement("span",{role:"button",tabIndex:0,"aria-label":"Drag to reorder",style:n,onMouseDown:function(e){return e.stopPropagation()},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.stopPropagation())},onDragStart:function(e){e.stopPropagation();var t=e.target.closest('[role="menuitem"]');t&&t.dispatchEvent(new DragEvent("dragstart",{bubbles:!0}))}},"⋮⋮"),e.label)}),r.createElement(m().Divider,null),r.createElement(m().Item,{startAdornment:r.createElement(N(),null),onClick:function(){Ft(!0)}},"Add field"))),Gn=r.createElement(vt(),{open:Nt,onRequestClose:function(){return Ft(!1)},returnFocus:function(){},style:{width:"500px"}},r.createElement(vt().Header,{title:"Add Field to Table"}),r.createElement(vt().Body,null,r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{marginBottom:8,color:E.textSecondary}},"Select a field to add to the table:"),r.createElement(ht(),{filter:!0,onChange:function(e,t){var n=t.value;n&&Vn(String(n))},style:{width:"100%"}},Xn().length>0?Xn().map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})}):r.createElement(ht().Option,{value:"",label:"No available fields",disabled:!0})))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){return Ft(!1)}},"Cancel"))),Kn=r.useMemo(function(){var e=function(e){return String(e&&e.keyid||e&&e.object||e&&e.alias||"row")};if(!dn.length)return gn(cn).map(function(e){return{type:"row",data:e}});var t=[],n=dn[1],r=dn[2];pn.forEach(function(a){if(!sn.has(a)){var o=mn.get(a)||[];if(n){var i=new Map;o.forEach(function(e){var t,r=String(null!==(t=e[n])&&void 0!==t?t:"—"),a=i.get(r)||[];a.push(e),i.set(r,a)}),Array.from(i.keys()).sort(function(e,t){return String(e).localeCompare(String(t))}).forEach(function(n){var o="".concat(a,"::").concat(n);if(!sn.has(o)){var l=i.get(n)||[];if(r){var s=new Map;l.forEach(function(e){var t,n=String(null!==(t=e[r])&&void 0!==t?t:"—"),a=s.get(n)||[];a.push(e),s.set(n,a)}),Array.from(s.keys()).sort(function(e,t){return String(e).localeCompare(String(t))}).forEach(function(r){var o="".concat(a,"::").concat(n,"::").concat(r);sn.has(o)||(s.get(r)||[]).forEach(function(i){return t.push({__path:[a,n,r],__key:"".concat(o,"|").concat(e(i)),row:i})})})}else l.forEach(function(r){return t.push({__path:[a,n],__key:"".concat(a,"::").concat(n,"|").concat(e(r)),row:r})})}})}else o.forEach(function(n){return t.push({__path:[a],__key:"".concat(a,"|").concat(e(n)),row:n})})}});var a=gn(t),o=new Set(a.map(function(e){var t=e,n=Array.isArray(t&&t.__path)?t.__path:[],r=n.length?n.join("::"):"p",a=e&&e.row,o=a?String(a&&a.keyid||a&&a.object||a&&a.alias||"row"):"row";return String(e&&e.key?e.key:"".concat(r,"|").concat(o))})),i=[],l=Boolean(dn[1]),s=Boolean(dn[2]);return pn.forEach(function(t){var n,r=mn.get(t)||[],a=sn.has(t),u=l?(n="".concat(t,"::"),Array.from(o.values()).some(function(e){return String(e).startsWith(n)})):r.some(function(n){return o.has("".concat(t,"|").concat(e(n)))}),c=Array.from(sn.values()).some(function(e){return String(e).startsWith("".concat(t,"::"))});if((u||a||c)&&(i.push({type:"group",key:t,count:r.length,collapsed:a}),!a))if(l){var d=new Map,f=dn[1];r.forEach(function(e){var t,n=String(null!==(t=e[f])&&void 0!==t?t:"—"),r=d.get(n)||[];r.push(e),d.set(n,r)}),Array.from(d.keys()).sort(function(e,t){return String(e).localeCompare(String(t))}).forEach(function(n){var r="".concat(t,"::").concat(n),a=d.get(n)||[],l=sn.has(r),u=s?function(){var e="".concat(t,"::").concat(n,"::");return Array.from(o.values()).some(function(t){return String(t).startsWith(e)})}():a.some(function(r){return o.has("".concat(t,"::").concat(n,"|").concat(e(r)))}),c=Array.from(sn.values()).some(function(e){return String(e).startsWith("".concat(r,"::"))});if((u||l||c)&&(i.push({type:"subgroup",key:r,label:n,parent:t,count:a.length,collapsed:l}),!l))if(s){var f=new Map,p=dn[2];a.forEach(function(e){var t,n=String(null!==(t=e[p])&&void 0!==t?t:"—"),r=f.get(n)||[];r.push(e),f.set(n,r)}),Array.from(f.keys()).sort(function(e,t){return String(e).localeCompare(String(t))}).forEach(function(a){var l="".concat(t,"::").concat(n,"::").concat(a),s=sn.has(l);((f.get(a)||[]).some(function(t){return o.has("".concat(l,"|").concat(e(t)))})||s)&&(i.push({type:"subgroup2",key:l,label:a,parent:r,count:(f.get(a)||[]).length,collapsed:s}),s||(f.get(a)||[]).forEach(function(t){o.has("".concat(l,"|").concat(e(t)))&&i.push({type:"row",data:t,groupPath:l})}))})}else a.forEach(function(a){o.has("".concat(t,"::").concat(n,"|").concat(e(a)))&&i.push({type:"row",data:a,groupPath:r})})})}else r.forEach(function(n){o.has("".concat(t,"|").concat(e(n)))&&i.push({type:"row",data:n,groupPath:t})})}),i},[cn,pn,mn,dn,gn,sn]),Jn=r.useRef(null),Zn=ki(r.useState(null),2),Qn=Zn[0],er=Zn[1],nr=ki(r.useState(0),2),rr=nr[0],ar=nr[1],or=ki(r.useState(560),2),ir=or[0],lr=or[1],sr=r.useRef({}),ur=r.useRef({}),cr=r.useRef(new Set),dr=ki(r.useState(0),2),fr=dr[0],pr=dr[1],mr=r.useRef(null),hr=r.useCallback(function(){if(null==mr.current)try{mr.current=window.requestAnimationFrame(function(){mr.current=null,pr(function(e){return e+1})})}catch(e){pr(function(e){return e+1})}},[]),yr=r.useCallback(function(e){var t=function(e){if("group"===e.type)return"grp-".concat(e.key);if("subgroup"===e.type)return"subgrp-".concat(e.key);if("subgroup2"===e.type)return"subgrp2-".concat(e.key);var t=e.data;return"row-".concat(String(t.keyid||t.object||t.alias))}(e),n=sr.current[t],r="number"==typeof n&&Number.isFinite(n)?n:function(e){return"group"===e.type||"subgroup"===e.type||"subgroup2"===e.type?36:44}(e);if(String(t).startsWith("row-")){var a=String(t).slice(4),o=a.includes("|")&&a.split("|").pop()||a;if(cr.current.has(o)){var i=ur.current["exp-".concat(o)];return r+("number"==typeof i&&Number.isFinite(i)?i:520)}}return r},[fr]),gr=r.useMemo(function(){return Kn.reduce(function(e,t){return e+yr(t)},0)},[Kn,yr]),vr=r.useCallback(function(){for(var e=Math.max(0,rr-800),t=0,n=0;n=e)return n;t+=r}return 0},[Kn,rr,yr]),_r=r.useCallback(function(e){for(var t=rr+ir+800,n=0,r=e;r=t-(rr-800))return r;return Kn.length-1},[Kn,rr,ir,yr]),Mr=vr(),wr=_r(Mr),Sr=Kn.slice(0,Mr),xr=Kn.slice(Mr,wr+1),kr=r.useMemo(function(){return Sr.reduce(function(e,t){return e+yr(t)},0)},[Sr,yr]),Cr=r.useMemo(function(){return xr.reduce(function(e,t){return e+yr(t)},0)},[xr,yr]),Er=Math.max(0,gr-kr-Cr),Ar=r.useMemo(function(){var e=new Set;return cn.forEach(function(t){var n=String(t.keyid||t.object||t.alias);n&&e.add(n)}),e},[cn]),Lr=r.useCallback(function(e,t){ce(function(n){var r=new Set(n);return t?r.add(e):r.delete(e),r})},[]),Tr=r.useCallback(function(e){ce(e?new Set(Ar):new Set)},[Ar]),Dr=r.useMemo(function(){return 0!==Ar.size&&Array.from(Ar).every(function(e){return ue.has(e)})},[Ar,ue]),zr=r.useMemo(function(){var e=Array.from(Ar).filter(function(e){return ue.has(e)}).length;return e>0&&e1&&(sr.current[e]=n,hr())};n();try{var r,a=null===(r=window)||void 0===r?void 0:r.ResizeObserver;a?new a(function(){return n()}).observe(t):setTimeout(n,0)}catch(e){setTimeout(n,0)}}}},[hr]),Ir=r.useCallback(function(e){return function(t){if(!t)return cr.current.delete(e),delete ur.current["exp-".concat(e)],void hr();cr.current.add(e);var n=function(){if(t){var n=t.getBoundingClientRect().height;n&&Math.abs((ur.current["exp-".concat(e)]||0)-n)>1&&(ur.current["exp-".concat(e)]=n,hr())}};n();try{var r,a=null===(r=window)||void 0===r?void 0:r.ResizeObserver;a?new a(function(){return n()}).observe(t):setTimeout(n,0)}catch(e){setTimeout(n,0)}}},[hr]),Rr=hn?"infinite"===J?1:(bn-1)*X+1:0,Wr=Math.min(hn,bn*X),Hr="infinite"===J?Wr0&&pn.length>0&&(Nr=!(Yr=0===sn.size),r.createElement(y(),{content:Yr?"collapse all":"expand all"},r.createElement(c(),{appearance:"secondary",icon:Nr?r.createElement(St(),null):r.createElement(kt(),null),onClick:Yr?qn:Hn,style:{minWidth:32,width:32,padding:0}}))),ue.size>0&&r.createElement(c(),{appearance:"primary",icon:r.createElement(D(),null),onClick:function(){return pe(!0)},style:{minWidth:140,maxWidth:180,width:140}},"Bulk edit (",ue.size,")"),r.createElement("div",{style:Ti},r.createElement(ht(),{value:String(X),onChange:function(e,t){var n=t.value;V(Number(n)),G(1)}},r.createElement(ht().Option,{label:"10 / page",value:"10"}),r.createElement(ht().Option,{label:"20 / page",value:"20"}),r.createElement(ht().Option,{label:"50 / page",value:"50"})),r.createElement(ht(),{value:J,onChange:function(e,t){var n=t.value;Z(n),G(1)}},r.createElement(ht().Option,{label:"Infinite scroll",value:"infinite"}),r.createElement(ht().Option,{label:"Pages",value:"paged"})),r.createElement("div",{style:{color:"var(--splunk-color-text-secondary, #bdbdbd)",marginLeft:6,marginRight:6}},"Showing ".concat(hn?Rr:0,"-").concat(Wr," of ").concat(hn)),"infinite"===J?r.createElement(c(),{appearance:"secondary",disabled:!Hr,onClick:function(){return G(function(e){return Math.min(yn,e+1)})}},"Load more"):r.createElement(r.Fragment,null,r.createElement(c(),{disabled:bn<=1,appearance:"secondary",onClick:function(){return G(function(e){return Math.max(1,e-1)})}},"Prev"),r.createElement(c(),{disabled:bn>=yn,appearance:"secondary",onClick:function(){return G(function(e){return Math.min(yn,e+1)})}},"Next")),$n)),r.createElement(dt(),{rowExpansion:"single",headType:"fixed",innerStyle:{maxHeight:"58vh",overflowY:"auto",overflowX:"auto"},style:{tableLayout:"auto",width:"100%",minWidth:"max-content"},onRequestResizeColumn:Kt,elementRef:function(e){if(!e)return Jn.current=null,void er(null);var t=e.querySelector('[data-test="scroll-container"]');Jn.current=t,er(t)},onScroll:function(e){try{var t=e.currentTarget,n=t.scrollTop,r=t.scrollHeight,a=t.clientHeight;ar(n),"infinite"===J&&Hr&&r-(n+a)<400&&G(function(e){return e>=yn?e:e+1})}catch(e){}}},r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:Dr,ref:function(e){e&&(e.indeterminate=zr)},onChange:function(e){return Tr(e.target.checked)},style:{cursor:"pointer",width:16,height:16,margin:0},"aria-label":"Select all filtered entities"})),r.createElement(dt().HeadCell,{style:{width:80}},"Actions"),$t.map(function(e){return Gt.has(e.name)?r.createElement(dt().HeadDropdownCell,{key:e.name,columnId:e.name,width:e.width,style:{width:e.width,minWidth:e.minWidth||80},label:(o=(null===(a=Zt[e.name])||void 0===a?void 0:a.size)||0,o>0?"".concat(e.label," ").concat(o):e.label)},r.createElement(m(),null,(t=e.name,Array.from(new Set((n||[]).map(function(e){return"status"===t?String(e.object_state||""):"monitored_state"===t?String(e[t]||"").toLowerCase():String(e[t]||"")}))).sort().slice(0,100).map(function(e){return r.createElement(m().Item,{key:"".concat(t,"-").concat(e),selectable:!0,selected:Boolean(Zt[t]&&Zt[t].has(e)),onClick:function(){return on(t,e)}},e)})))):r.createElement(dt().HeadCell,{key:e.name,columnId:e.name,width:e.width,onClick:!1!==e.sortable?function(){return rn(e.name)}:void 0,style:wi({width:e.width,minWidth:e.minWidth||80},!1!==e.sortable?{cursor:"pointer",userSelect:"none"}:{})},r.createElement("span",{style:{display:"inline-flex",alignItems:"center",gap:6}},e.label,!1!==e.sortable&&r.createElement(Tt(),{style:{fontSize:14}})));var t,a,o})),r.createElement(dt().Body,null,kr>0&&r.createElement(dt().Row,{key:"__spacer-top"},r.createElement(dt().Cell,{colSpan:$t.length+3,style:{padding:0,borderTop:"none"}},r.createElement("div",{style:{height:kr}}))),xr.map(function(e){if("group"===e.type)return r.createElement(dt().Row,{key:"grp-".concat(e.key),elementRef:Fr("grp-".concat(e.key))},r.createElement(dt().Cell,{colSpan:$t.length+3,style:{padding:0,borderTop:"none"}},r.createElement("div",{style:wi(wi({},A),{},{paddingLeft:"6px"})},r.createElement("div",{style:{display:"flex",alignItems:"center"}},r.createElement(c(),{appearance:"subtle",onClick:function(t){try{var n,r;null==t||null===(n=t.preventDefault)||void 0===n||n.call(t),null==t||null===(r=t.stopPropagation)||void 0===r||r.call(t)}catch(e){}un(function(t){var n=new Set(t);return n.has(e.key)?n.delete(e.key):n.add(e.key),n})},icon:e.collapsed?r.createElement(St(),null):r.createElement(kt(),null),"aria-label":"Toggle group",style:{padding:0}}),r.createElement("div",{style:{minWidth:vn.g0,width:vn.g0,flex:"0 0 ".concat(vn.g0)}},r.createElement("span",null,e.key),r.createElement("span",{style:{marginLeft:8,color:"rgb(57, 147, 255)"}},"(".concat(e.count," items)")))))));if("subgroup"===e.type)return r.createElement(dt().Row,{key:"subgrp-".concat(e.key),elementRef:Fr("subgrp-".concat(e.key))},r.createElement(dt().Cell,{colSpan:$t.length+3,style:{padding:0,borderTop:"none"}},r.createElement("div",{style:wi(wi({},A),{},{paddingLeft:"22px"})},r.createElement("div",{style:{display:"flex",alignItems:"center"}},r.createElement(c(),{appearance:"subtle",onClick:function(t){try{var n,r;null==t||null===(n=t.preventDefault)||void 0===n||n.call(t),null==t||null===(r=t.stopPropagation)||void 0===r||r.call(t)}catch(e){}un(function(t){var n=new Set(t);return n.has(e.key)?n.delete(e.key):n.add(e.key),n})},icon:e.collapsed?r.createElement(St(),null):r.createElement(kt(),null),"aria-label":"Toggle subgroup",style:{padding:0}}),r.createElement("div",{style:{minWidth:vn.g1,width:vn.g1,flex:"0 0 ".concat(vn.g1)}},r.createElement("span",null,e.label),r.createElement("span",{style:{marginLeft:8,color:"rgb(57, 147, 255)"}},"(".concat(e.count," items)")))))));if("subgroup2"===e.type)return r.createElement(dt().Row,{key:"subgrp2-".concat(e.key),elementRef:Fr("subgrp2-".concat(e.key))},r.createElement(dt().Cell,{colSpan:$t.length+3,style:{padding:0,borderTop:"none"}},r.createElement("div",{style:wi(wi({},A),{},{paddingLeft:"38px"})},r.createElement("div",{style:{display:"flex",alignItems:"center"}},r.createElement(c(),{appearance:"subtle",onClick:function(t){try{var n,r;null==t||null===(n=t.preventDefault)||void 0===n||n.call(t),null==t||null===(r=t.stopPropagation)||void 0===r||r.call(t)}catch(e){}un(function(t){var n=new Set(t);return n.has(e.key)?n.delete(e.key):n.add(e.key),n})},icon:e.collapsed?r.createElement(St(),null):r.createElement(kt(),null),"aria-label":"Toggle subgroup level 2",style:{padding:0}}),r.createElement("div",{style:{minWidth:vn.g2,width:vn.g2,flex:"0 0 ".concat(vn.g2)}},r.createElement("span",null,e.label),r.createElement("span",{style:{marginLeft:8,color:"rgb(57, 147, 255)"}},"(".concat(e.count," items)")))))));var t=e.data,n=String(t.keyid||t.object||t.alias),o=String(t.ack_state||"").toLowerCase(),i=e.groupPath||"",s=i?"".concat(i,"::").concat(n,"::ack:").concat(o):"".concat(n,"::ack:").concat(o),u="row-".concat(n),f=ue.has(n);return r.createElement(dt().Row,{key:s,elementRef:Fr(u),expansionRow:Rn(t)},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:f,onChange:function(e){return Lr(n,e.target.checked)},onClick:function(e){return e.stopPropagation()},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"},"aria-label":"Select ".concat(n)})),r.createElement(dt().Cell,null,r.createElement("div",{style:{display:"inline-flex",alignItems:"center",gap:8}},r.createElement(y(),{content:"Open entity"},r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),_n(t)},"aria-label":"Open entity",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement(y(),{content:"Actions"},r.createElement(tr,{component:a,variant:"inline",disabled:!1,monitoredState:String(t.monitored_state||"").toLowerCase()||null,objectState:String(t.object_state||"").toLowerCase()||null,score:function(){var e=null;try{var n=t.status_message_json;if(n){var r="string"==typeof n?JSON.parse(n):n;if(r&&(void 0!==r.total_score||void 0!==r.score)){var a,o=null!==(a=r.total_score)&&void 0!==a?a:r.score;null!=o&&""!==o&&(e=parseInt(String(o),10))}}}catch(e){}return null===e&&void 0!==t.score&&null!==t.score&&""!==t.score&&(e=parseInt(String(t.score),10)),null!==e&&!Number.isNaN(e)&&Number.isFinite(e)||(e=0),e}(),hideRefresh:!0,openInSearchLabel:"Open",onOpenInSearch:["dsm","dhm","mhm","flx","fqm","wlk"].includes(a)?function(){["mhm","flx","fqm","wlk"].includes(a)?Sn(t,"openInSearch"):wn(t)}:void 0,onSmartStatus:["dsm","dhm","mhm","wlk"].includes(a)?function(){return Sn(t,"smartStatus")}:void 0,onSetFalsePositive:function(){return Sn(t,"setFalsePositive")},onManualScoreInfluence:function(){return Sn(t,"manualScoreInfluence")},userLevel:Mn,onModifyDisruption:function(){return Sn(t,"modifyDisruption")},onModifyLagPolicies:function(){if("dsm"===a||"dhm"===a)return function(){return Sn(t,"modifyLagPolicies")}}(),onModifyPriority:function(){return Sn(t,"modifyPriority")},onModifyMonitoringTime:function(){return Sn(t,"modifyMonitoringTime")},onModifyMinHostsDcount:"dsm"===a?function(){return Sn(t,"modifyMinHostsDcount")}:void 0,onAssociateLogicalGroup:function(){return Sn(t,"associateLogicalGroup")},onModifyThresholds:function(){"flx"!==a&&"fqm"!==a||Sn(t,"modifyThresholds")},onEnableDisableMonitoring:function(){return Sn(t,"enableDisableMonitoring")},onDeleteTemporary:function(){return Sn(t,"deleteTemporary")},onDeletePermanent:function(){return Sn(t,"deletePermanent")}})),null!=l&&(1===l||"1"===l||"1"===String(l))&&r.createElement(y(),{content:"CMDB lookup"},r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),ve(t),ye(!0)},"aria-label":"CMDB lookup",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(zt(),{style:{fontSize:14}}))),function(){if(!d)return null;var e=String(t.object_state||"").toLowerCase();return"active"===o?r.createElement(y(),{content:"Manage acknowledgement"},r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),d(t)},"aria-label":"Manage acknowledgement",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(Pt(),{style:{fontSize:14}}))):"red"===e&&"active"!==o?r.createElement(y(),{content:"Manage acknowledgement"},r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),d(t)},"aria-label":"Manage acknowledgement",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(Yt(),{style:{fontSize:14}}))):null}())),$t.map(function(e){return r.createElement(dt().Cell,{key:e.name},function(e,t){var n,o,i,l,s,u;if("status"===e)return r.createElement("div",{style:{display:"flex",alignItems:"center",height:"100%"}},r.createElement("span",{style:wi(wi({},Di((o=t.state_icon_code,i=String(o||"").toLowerCase(),["001","003","002"].includes(i)?"#4caf50":["004","006","005"].includes(i)?"#d32f2f":["007","009","008"].includes(i)?"#fb8c00":["010","012","011"].includes(i)?"#1e88e5":"#212121"))),{},{marginTop:"4px"})}));if("score"===e){var d=null,f=null;try{var p=t.status_message_json;if(p){var m,h="string"==typeof p?JSON.parse(p):p;!h||void 0===h.total_score&&void 0===h.score||(d=parseFloat(String(null!==(m=h.total_score)&&void 0!==m?m:h.score))),h&&h.score_definition&&(f=h.score_definition)}}catch(e){}null===d&&void 0!==t.score&&null!==t.score&&""!==t.score&&(d=parseInt(String(t.score),10)),!f&&t.score_definition&&(f=t.score_definition),null!==d&&!Number.isNaN(d)&&Number.isFinite(d)||(d=0);var y="#bdbdbd";d<=0?y="#45d4ba":d>0&&d<100?y="#ffb347":d>=100&&(y="#dc4e41");var b=d.toString();return f?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),jt(t),At(!0)},"aria-label":"View impact score definition",style:{textDecoration:"none",color:y,fontWeight:600,cursor:"pointer"}},b):r.createElement("span",{style:{color:y,fontWeight:600}},b)}if("priority"===e)return l=t[e],u="title_pending_priority","low"===(s=String(l||"").toLowerCase())?u="title_low_priority":"medium"===s?u="title_medium_priority":"high"===s?u="title_high_priority":"critical"===s&&(u="title_critical_priority"),r.createElement("span",{className:u},s||"pending");if("monitored_state"===e){var v="enabled"===String(t[e]||"").toLowerCase()?"#4caf50":"#9e9e9e";return r.createElement("div",{style:{display:"flex",alignItems:"center",height:"100%"}},r.createElement("span",{style:wi(wi({},Di(v)),{},{marginTop:"4px"})}))}if("alias"===e){var _,M=String(null!==(_=t[e])&&void 0!==_?_:""),w=function(e){e.preventDefault(),e.stopPropagation(),Xt(t),Wt(!0)};return r.createElement("span",{onClick:w,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||w(e)},role:"button",tabIndex:0,"aria-label":"View status message cards",style:{cursor:"pointer"}},M)}if("OutliersIsOk"===e)return Wn(t[e]);if("SamplingIsOk"===e)return Wn(t[e]);if("dhm"===a&&"sourcetype_summary"===e){var S,x=String(null!==(S=t[e])&&void 0!==S?S:""),k=t.splk_dhm_st_summary_full,C=null;if(k)try{var E="string"==typeof k?k.trim().startsWith("{")||k.trim().startsWith("["):"object"===_i(k);"string"==typeof k&&E?C=JSON.parse(k):E&&(C=k)}catch(e){C=null}var A=x;try{var L="string"==typeof x?JSON.parse(x):x;if(L&&"object"===_i(L)&&("green"in L||"red"in L)){var O,T,D=null!==(O=L.green)&&void 0!==O?O:0,z=null!==(T=L.red)&&void 0!==T?T:0;A=r.createElement("span",null,"green: ",D,", red: ",r.createElement("span",{style:{color:z>0?"#d32f2f":"inherit"}},z))}}catch(e){}return k?r.createElement("div",{style:{display:"flex",alignItems:"center",gap:6}},r.createElement("span",null,A),r.createElement(c(),{appearance:"subtle",icon:r.createElement(Lt(),null),"aria-label":"View full summary JSON",onClick:function(){return Vr({open:!0,title:"Indexes/sourcetypes summary (raw JSON)",json:C,raw:k,defaultExpanded:!0,summaryText:x})},style:{padding:0,width:22,height:22,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"}})):r.createElement("span",null,A)}var j=function(e){return"string"==typeof e?e.trim().startsWith("{")||e.trim().startsWith("["):"object"===_i(e)};if("fqm"===a&&"metrics"===e||"flx"===a&&"metrics"===e||"mhm"===a&&"metric_details_full"===e||"wlk"===a&&"metrics"===e){var P=t[e];if(!P)return"";var B=null;try{var Y=j(P);B="string"==typeof P&&Y?JSON.parse(P):Y?P:null}catch(e){B=null}var N=[];if(B&&"object"===_i(B)){var F,I,R,W,H,q,X,V,U,$,G=null!==(F=null!==(I=null===(R=B.fields_quality)||void 0===R?void 0:R.percent_success)&&void 0!==I?I:B.fields_quality_percent_success)&&void 0!==F?F:B.percent_success;if("number"==typeof G){var K="bad";G>=95?K="good":G>=80&&(K="warn"),N.push({label:"% success",value:String(G),tone:K})}var J=null!==(W=null!==(H=null!==(q=null===(X=B.fields_quality)||void 0===X?void 0:X.total_failed)&&void 0!==q?q:B.failed_fields)&&void 0!==H?H:B.red)&&void 0!==W?W:B.errors;if("number"==typeof J){var Z="bad";0===J?Z="good":J<5&&(Z="warn"),N.push({label:"failed",value:String(J),tone:Z})}var Q=null!==(V=null!==(U=null===($=B.fields_quality)||void 0===$?void 0:$.total_checked)&&void 0!==U?U:B.total)&&void 0!==V?V:B.green;"number"==typeof Q&&N.push({label:"checked",value:String(Q),tone:"good"})}return r.createElement("div",{style:{display:"flex",alignItems:"center",gap:6}},N.slice(0,3).map(function(e){var t="badge-red";return"good"===e.tone?t="badge-green":"warn"===e.tone&&(t="badge-yellow"),r.createElement("span",{key:e.label,className:"badge ".concat(t)},e.label,": ",e.value)}),0===N.length?r.createElement("span",{className:"light"===g?"badge badge-purple-light":"badge badge-purple"},"inspect"):null,r.createElement(c(),{appearance:"subtle",icon:r.createElement(Lt(),null),"aria-label":"Inspect JSON",onClick:function(){if("mhm"===a){var e=t.metric_details,n=null;if(e)try{var r=j(e);"string"==typeof e&&r?n=JSON.parse(e):r&&(n=e)}catch(e){n=null}Vr({open:!0,title:"Metrics (raw JSON)",json:B,raw:P,summaryJson:n,summaryRaw:e})}else Vr({open:!0,title:"Metrics (raw JSON)",json:B,raw:P})},style:{padding:0,width:22,height:22,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"}}))}return String(null!==(n=t[e])&&void 0!==n?n:"")}(e.name,t))}))}),Er>0&&r.createElement(dt().Row,{key:"__spacer-bottom"},r.createElement(dt().Cell,{colSpan:$t.length+3,style:{padding:0,borderTop:"none"}},r.createElement("div",{style:{height:Er}}))))),(null==Xr?void 0:Xr.open)&&r.createElement(vt(),{open:!0,onRequestClose:function(){return Vr(null)},returnFocus:function(){},style:{width:820}},r.createElement(vt().Header,{title:Xr.title}),r.createElement(vt().Body,null,"mhm"===a&&Xr.summaryJson?r.createElement("div",null,r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{marginBottom:8,fontWeight:600,fontSize:14}},"Summary View"),r.createElement("div",{style:{border:"1px solid ".concat("light"===g?"#ccc":"#555"),borderRadius:4,padding:8}},r.createElement(Mt(),{json:Xr.summaryJson}))),r.createElement("div",null,r.createElement("div",{style:{marginBottom:8,fontWeight:600,fontSize:14}},"Full View"),r.createElement("div",{style:{maxHeight:400,overflowY:"auto",border:"1px solid ".concat("light"===g?"#ccc":"#555"),borderRadius:4,padding:8}},Xr.json?r.createElement(Mt(),{json:Xr.json,defaultExpanded:!0}):r.createElement("pre",{style:{whiteSpace:"pre-wrap",wordBreak:"break-word"}},String(Xr.raw))))):"dhm"===a&&Xr.summaryText?r.createElement("div",null,r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{marginBottom:8,fontWeight:600,fontSize:14}},"Summary View"),r.createElement("div",{style:{border:"1px solid ".concat("light"===g?"#ccc":"#555"),borderRadius:4,padding:8}},r.createElement("div",null,Xr.summaryText))),r.createElement("div",null,r.createElement("div",{style:{marginBottom:8,fontWeight:600,fontSize:14}},"Full View"),r.createElement("div",{style:{maxHeight:400,overflowY:"auto",border:"1px solid ".concat("light"===g?"#ccc":"#555"),borderRadius:4,padding:8}},Xr.json?r.createElement(Mt(),{json:Xr.json,defaultExpanded:!0}):r.createElement("pre",{style:{whiteSpace:"pre-wrap",wordBreak:"break-word"}},String(Xr.raw))))):Xr.json?r.createElement(Mt(),{json:Xr.json,defaultExpanded:null!==(Br=Xr.defaultExpanded)&&void 0!==Br&&Br}):r.createElement("pre",{style:{whiteSpace:"pre-wrap",wordBreak:"break-word"}},String(Xr.raw))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){return Vr(null)}},"Close"),r.createElement(c(),{appearance:"default",onClick:function(){var e;return navigator.clipboard.writeText("string"==typeof Xr.raw?Xr.raw:JSON.stringify(null!==(e=Xr.json)&&void 0!==e?e:{},null,2))}},"Copy"))),fe&&r.createElement(zn,{open:fe,tenantId:o,component:a,selectedKeys:Array.from(ue),selectedObjects:jr,onClose:function(){return pe(!1)},onSuccess:Pr}),he&&r.createElement(Bn,{open:he,tenantId:o,component:a,objectId:(null==ge?void 0:ge.keyid)||null,onClose:function(){ye(!1),ve(null)}}),xe&&Me&&r.createElement(Or,{open:xe,tenantId:o,component:a,objectId:String(Me.keyid||Me.object_id||"")||null,object:String(Me.object||"")||null,disruptionMinTimeSec:null!==(t=Me.disruption_min_time_sec)&&void 0!==t?t:null,onClose:function(){ke(!1),kn()},onSuccess:function(){ke(!1),xn()}}),Ae&&Me&&"dsm"===a&&function(){var e,t;if(Me.impact_score_weights)try{var n="string"==typeof Me.impact_score_weights?JSON.parse(Me.impact_score_weights):Me.impact_score_weights;n&&"object"===_i(n)&&(void 0!==n.delay&&(e="number"==typeof n.delay?n.delay:parseInt(String(n.delay),10)),void 0!==n.latency&&(t="number"==typeof n.latency?n.latency:parseInt(String(n.latency),10)))}catch(e){}return r.createElement(la,{open:Ae,tenantId:o,objectId:String(Me.keyid||Me.object_id||"")||null,object:String(Me.object||"")||null,initialValues:{maxLag:Me.data_max_lag_allowed_duration||void 0,maxDelay:Me.data_max_delay_allowed_duration||void 0,overrideLaggingClass:Me.data_override_lagging_class||void 0,allowAdaptiveDelay:Me.allow_adaptive_delay||void 0,futureTolerance:Me.future_tolerance||void 0,impactScoreDelayWeight:e,impactScoreLatencyWeight:t},onClose:function(){Le(!1),kn()},onSuccess:function(){Le(!1),xn()}})}(),Te&&Me&&"dhm"===a&&function(){var e,t;if(Me.impact_score_weights)try{var n="string"==typeof Me.impact_score_weights?JSON.parse(Me.impact_score_weights):Me.impact_score_weights;n&&"object"===_i(n)&&(void 0!==n.delay&&(e="number"==typeof n.delay?n.delay:parseInt(String(n.delay),10)),void 0!==n.latency&&(t="number"==typeof n.latency?n.latency:parseInt(String(n.latency),10)))}catch(e){}return r.createElement(ga,{open:Te,tenantId:o,objectId:String(Me.keyid||Me.object_id||"")||null,object:String(Me.object||"")||null,initialValues:{maxLag:Me.data_max_lag_allowed_duration||void 0,maxDelay:Me.data_max_delay_allowed_duration||void 0,overrideLaggingClass:Me.data_override_lagging_class||void 0,allowAdaptiveDelay:Me.allow_adaptive_delay||void 0,futureTolerance:Me.future_tolerance||void 0,impactScoreDelayWeight:e,impactScoreLatencyWeight:t},onClose:function(){De(!1),kn()},onSuccess:function(){De(!1),xn()}})}(),je&&Me&&r.createElement(Ea,{open:je,tenantId:o,component:a,objectId:String(Me.keyid||Me.object_id||"")||null,object:String(Me.object||"")||null,currentPriority:Me.priority||null,entityInfo:Me,onClose:function(){Pe(!1),kn()},onSuccess:function(){Pe(!1),xn()}}),Ye&&Me&&r.createElement(Ra,{open:Ye,tenantId:o,component:a,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,initialPolicy:function(){var e=Me.monitoring_time_policy;if("string"==typeof e)try{var t=JSON.parse(e);return"string"==typeof t?t:null}catch(t){return e}return e||null}(),initialRules:function(){var e=Me.monitoring_time_rules;if(e)if("string"==typeof e)try{var t=JSON.parse(e);if(t&&"object"===_i(t)){var n={};return Object.keys(t).forEach(function(e){var r=parseInt(e,10);!Number.isNaN(r)&&Array.isArray(t[e])&&(n[e]=t[e])}),Object.keys(n).length>0?n:null}}catch(e){return null}else if("object"===_i(e)){var r={};return Object.keys(e).forEach(function(t){var n=parseInt(t,10);!Number.isNaN(n)&&Array.isArray(e[t])&&(r[t]=e[t])}),Object.keys(r).length>0?r:null}return null}(),onClose:function(){Ne(!1),kn()},onSuccess:function(){Ne(!1),xn()}}),Ie&&Me&&"dsm"===a&&r.createElement(Ga,{open:Ie,tenantId:o,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,initialMinHost:void 0!==Me.min_dcount_host?String(Me.min_dcount_host):null,initialField:Me.min_dcount_field||null,onClose:function(){Re(!1),kn()},onSuccess:function(){Re(!1),xn()}}),He&&Me&&r.createElement(Oo,{open:He,tenantId:o,component:a,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,onClose:function(){qe(!1),kn()},onSuccess:function(){qe(!1),xn()}}),Ve&&Me&&"flx"===a&&r.createElement(mo,{open:Ve,tenantId:o,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,entityInfo:Me,onClose:function(){Ue(!1),kn()},onSuccess:function(){Ue(!1),xn()}}),Ke&&Me&&"fqm"===a&&r.createElement(So,{open:Ke,tenantId:o,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,entityInfo:Me,onClose:function(){Je(!1),kn()},onSuccess:function(){Je(!1),xn()}}),Qe&&Me&&r.createElement(No,{open:Qe,tenantId:o,component:a,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,currentMonitoredState:Me.monitored_state||null,onClose:function(){et(!1),kn()},onSuccess:function(){et(!1),xn()}}),nt&&Me&&r.createElement(Vo,{open:nt,tenantId:o,component:a,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,deletionType:"temporary",onClose:function(){rt(!1),kn()},onSuccess:function(){rt(!1),xn()}}),ot&&Me&&r.createElement(Vo,{open:ot,tenantId:o,component:a,object:String(Me.object||"")||null,objectId:String(Me.keyid||Me.object_id||"")||null,deletionType:"permanent",onClose:function(){it(!1),kn()},onSuccess:function(){it(!1),xn()}}),st&&Me&&["dsm","dhm","mhm","wlk"].includes(a)&&r.createElement(Go,{open:st,tenantId:o,component:a,object:String(Me.object||"")||null,onClose:function(){ct(!1),kn()}}),mt&&Me&&r.createElement(ri,{open:mt,tenantId:o,component:a,objectId:String(Me.keyid||Me.object_id||"")||null,object:String(Me.object||"")||void 0,onClose:function(){yt(!1),kn()},onSuccess:function(){yt(!1),xn()}}),_t&&Me&&r.createElement(ui,{open:_t,tenantId:o,component:a,objectId:String(Me.keyid||Me.object_id||"")||null,object:String(Me.object||"")||void 0,onClose:function(){wt(!1),kn()},onSuccess:function(){wt(!1),xn()}}),Rt&&qt&&r.createElement(br,{open:Rt,entityInfo:qt,component:a,tenantId:o,features:i,renderDynamicThresholds:tn,onClose:function(){Wt(!1),Xt(null)},onOpenEntityOverview:function(){Wt(!1),Xt(null),u&&u(qt)}}),Ct&&Dt&&function(){var e=null;try{var t=Dt.status_message_json;if(t){var n="string"==typeof t?JSON.parse(t):t;n&&n.score_definition&&(e=n.score_definition)}}catch(e){}return!e&&Dt.score_definition&&(e=Dt.score_definition),r.createElement(ci,{open:Ct,scoreDefinition:e,tenantId:o,component:a,objectId:String(Dt.keyid||Dt.object_id||"")||null,onClose:function(){At(!1),jt(null)}})}(),Gn)};function ji(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Pi(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Pi(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Pi(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Pi(d,"constructor",u),Pi(u,"constructor",s),s.displayName="GeneratorFunction",Pi(u,a,"GeneratorFunction"),Pi(d),Pi(d,a,"Generator"),Pi(d,r,function(){return this}),Pi(d,"toString",function(){return"[object Generator]"}),(ji=function(){return{w:o,m:f}})()}function Pi(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Pi=function(e,t,n,r){function o(t,n){Pi(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Pi(e,t,n,r)}function Bi(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Yi(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Bi(o,r,a,i,l,"next",e)}function l(e){Bi(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ni(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise(function(a,o){var i;if(t&&n){var l="".concat(t,"::").concat(n);if(e||!S.current.has(l)){e&&S.current.delete(l),S.current.add(l),r||w(!0);var s="/splunkd/__raw/services/trackme/v2/component/load_component_data?tenant_id=".concat(encodeURIComponent(t),"&component=").concat(encodeURIComponent(n),"&pagination_mode=local");fetch(null!==(i=window.Splunk)&&void 0!==i&&null!==(i=i.util)&&void 0!==i&&i.make_url?window.Splunk.util.make_url(s):s,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw new Error("HTTP error! status: ".concat(e.status));return e.json()}).then(function(e){var t=Array.isArray(e)?e:[];b(t),w(!1),C.current&&C.current(t),a()}).catch(function(e){b([]),w(!1),C.current&&C.current([]),o(e)})}else a()}else o(new Error("Missing required parameters"))})},[t,n]),A=r.useRef(null),L=r.useCallback(Yi(ji().m(function e(){var t,r,a=arguments;return ji().w(function(e){for(;;)switch(e.p=e.n){case 0:return t=!(a.length>0&&void 0!==a[0])||a[0],r={dsm:"Data source monitoring (DSM)",dhm:"Data hosts monitoring (DHM)",mhm:"Metric hosts monitoring (MHM)",fqm:"Fields Quality Monitoring (FQM)",flx:"Flex Objects (FLX)",wlk:"Workload (WLK)"}[n]||n.toUpperCase(),t&&k({type:"info",title:"Refreshing table",message:"Refreshing ".concat(r," table...")}),e.p=1,e.n=2,E(!0,!0);case 2:t&&k({type:"success",title:"Table refreshed",message:"Successfully refreshed ".concat(r," table")}),e.n=4;break;case 3:e.p=3,e.v,t&&k({type:"error",title:"Refresh failed",message:"Failed to refresh ".concat(r," table. Please try again.")});case 4:return e.a(2)}},e,null,[[1,3]])})),[E,n,k]);r.useEffect(function(){A.current=L},[L]);var O=r.useCallback(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];A.current&&A.current(e)},[]);r.useEffect(function(){l&&l(O)},[l,O]),r.useEffect(function(){if(m&&t&&n){var e="".concat(t,"::").concat(n);S.current.has(e)||(S.current.clear(),b([]),E())}},[m,t,n]);var T=r.useMemo(function(){if(void 0!==i)return i;try{var e,t,r,a,o,l,s=window.vt_selected_vtenant_account,u=s;"string"==typeof s&&(u=JSON.parse(s));var c={dsm:String((null===(e=u)||void 0===e?void 0:e.splk_dsm_tabulator_groupby)||""),dhm:String((null===(t=u)||void 0===t?void 0:t.splk_dhm_tabulator_groupby)||""),mhm:String((null===(r=u)||void 0===r?void 0:r.splk_mhm_tabulator_groupby)||""),fqm:String((null===(a=u)||void 0===a?void 0:a.splk_fqm_tabulator_groupby)||""),flx:String((null===(o=u)||void 0===o?void 0:o.splk_flx_tabulator_groupby)||""),wlk:String((null===(l=u)||void 0===l?void 0:l.splk_wlk_tabulator_groupby)||"")},d=String(n).toLowerCase();return String(c[d]||"").split(",").map(function(e){return e.trim()}).filter(Boolean)}catch(e){return}},[n,i]);return M?r.createElement("div",{style:{height:260,display:"flex",alignItems:"center",justifyContent:"center"}},r.createElement(s(),{size:"small"})):r.createElement(zi,{rows:y,component:n,tenantId:t,features:a,cmdbLookup:o,defaultGroupByOverride:T,onOpenEntity:u,onOpenAck:c,appliedFilter:f,onRefresh:L})};function Ri(e){return Ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ri(e)}function Wi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0])||arguments[0];Array.from(L.current).forEach(function(t){try{t(e)}catch(e){console.error("[EntitiesOverview] Error calling refresh function:",e)}})},[]);r.useEffect(function(){O.current&&O.current(D)},[D]);var z=r.useCallback(function(e){e&&"function"==typeof e?(L.current.add(e),O.current&&O.current(D)):console.warn("[EntitiesOverview] Invalid refresh function provided:",Ri(e))},[D]);try{return r.createElement(r.Fragment,null,r.createElement(Ue,{tenantId:a,component:o,enabledComponents:i,tenantDisabled:s,onRefreshReady:z,onPieChartClick:E,isActive:b}),r.createElement(st,{tenantId:a,component:o,enabledComponents:i,tenantDisabled:s,onRefreshReady:z,onCardClick:E,isActive:b}),r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8,marginTop:16}},r.createElement("div",{style:{color:A.textSecondary}},"Entities Overview")),r.createElement("div",{style:{border:"1px solid ".concat(A.border),borderRadius:6}},r.createElement(Ii,{tenantId:a,component:o,tenantFeatures:u,cmdbLookup:c,defaultGroupByOverride:d,onRefreshReady:z,onOpenEntity:p,onOpenAck:m,onTableDataReady:h,appliedFilter:S,isActive:b})))}catch(e){return console.error("[EntitiesOverview] Error rendering:",e),r.createElement("div",{style:{padding:40,textAlign:"center",color:A.textSecondary}},"Error loading entities overview: ",String(e))}};var Xi=n(72288),Vi=n.n(Xi),Ui=n(30944),$i=n.n(Ui);function Gi(e){return Gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gi(e)}function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ji(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,n=o.text,a=o.textSecondary,i="#9e9e9e";if(null===e)return r.createElement("span",{style:{color:i}},"null");if(void 0===e)return r.createElement("span",{style:{color:i}},"undefined");if("string"==typeof e)return r.createElement("span",{style:{color:"#2196f3"}},'"',e,'"');if("number"==typeof e)return r.createElement("span",{style:{color:"#4caf50"}},e);if("boolean"==typeof e)return r.createElement("span",{style:{color:"#ff9800"}},String(e));if(Array.isArray(e))return 0===e.length?r.createElement("span",{style:{color:n}},"[]"):r.createElement("div",null,r.createElement("span",{style:{color:n}},"["),e.map(function(a,o){var i="object"===el(a)&&null!==a&&"key"in a?"item-".concat(o,"-").concat(JSON.stringify(a).substring(0,20)):"item-".concat(o,"-").concat(String(a).substring(0,20));return r.createElement("div",{key:i,style:{marginLeft:"".concat(8*(t+1),"px")}},d(a,t+1),oe.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(dl(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,dl(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,dl(d,"constructor",u),dl(u,"constructor",s),s.displayName="GeneratorFunction",dl(u,a,"GeneratorFunction"),dl(d),dl(d,a,"Generator"),dl(d,r,function(){return this}),dl(d,"toString",function(){return"[object Generator]"}),(cl=function(){return{w:o,m:f}})()}function dl(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}dl=function(e,t,n,r){function o(t,n){dl(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},dl(e,t,n,r)}function fl(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function pl(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){fl(o,r,a,i,l,"next",e)}function l(e){fl(o,r,a,i,l,"throw",e)}i(void 0)})}}function ml(e){return function(e){if(Array.isArray(e))return bl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||yl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||yl(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yl(e,t){if(e){if("string"==typeof e)return bl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bl(e,t):void 0}}function bl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0)},[w,T,b]);var re=r.useCallback(function(e){var t=(e||w).trim().toLowerCase();t&&!b.includes(t)&&(g(function(e){return[].concat(ml(e),[t])}),S(""),L(!1))},[w,b]),ae=r.useCallback(function(e){g(function(t){return t.filter(function(t){return t!==e})})},[]),oe=r.useCallback(function(){return{dsm:"/splunkd/__raw/services/trackme/v2/splk_dsm/write/ds_update_manual_tags",dhm:"/splunkd/__raw/services/trackme/v2/splk_dhm/write/dh_update_manual_tags",mhm:"/splunkd/__raw/services/trackme/v2/splk_mhm/write/mh_update_manual_tags",flx:"/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_update_manual_tags",fqm:"/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_update_manual_tags",wlk:"/splunkd/__raw/services/trackme/v2/splk_wlk/write/wlk_update_manual_tags"}[a]||""},[a]),ie=r.useCallback(function(){var e=pl(cl().m(function e(t){var r,i,l,s;return cl().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&o){e.n=1;break}return e.a(2);case 1:if(R(!0),U(null),e.p=2,r=oe()){e.n=3;break}throw new Error("Unsupported component: ".concat(a));case 3:return e.n=4,J(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,keys_list:o,tags_manual:b,update_comment:t||"Updated from UI"})});case 4:if((i=e.v).ok){e.n=6;break}return e.n=5,Z(i);case 5:throw l=e.v,new Error(l);case 6:Q({type:"success",title:"Tags updated",message:"Manual tags successfully updated."}),P(!1),d&&d(),e.n=8;break;case 7:e.p=7,s=e.v,U(s.message||"An error occurred");case 8:return e.p=8,R(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[n,o,a,b,oe,d,Q]),le=r.useCallback(function(){var e=pl(cl().m(function e(t){var r,i,l,s;return cl().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&o){e.n=1;break}return e.a(2);case 1:if(q(!0),K(null),e.p=2,r=oe()){e.n=3;break}throw new Error("Unsupported component: ".concat(a));case 3:return e.n=4,J(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,keys_list:o,tags_manual:"",update_comment:t||"Cleared from UI"})});case 4:if((i=e.v).ok){e.n=6;break}return e.n=5,Z(i);case 5:throw l=e.v,new Error(l);case 6:Q({type:"success",title:"Tags cleared",message:"Manual tags successfully cleared."}),N(!1),g([]),d&&d(),e.n=8;break;case 7:e.p=7,s=e.v,K(s.message||"An error occurred");case 8:return e.p=8,q(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[n,o,a,oe,d,Q]),se=i||"N/A",ue=ne.length>0;return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:s,returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"Tags for entity: ".concat(se)}),r.createElement(vt().Body,null,r.createElement(Mr(),{title:"Tags can be defined per entity or by policies"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:ee.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Tags can be automatically defined by creating tags policies at the level of the tenant."),r.createElement("li",{style:{marginBottom:8}},"Tags can also be manually defined per entity using this interface."),r.createElement("li",{style:{marginBottom:0}},"When both policies and manual tags are applied, the tags are automatically merged.")))),r.createElement("div",{style:{marginTop:16,marginBottom:16}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:8,color:ee.text}},"Current tags for this entity:"),ue?r.createElement("div",{style:{padding:16,backgroundColor:ee.backgroundSecondary,border:"1px solid ".concat(ee.border),borderRadius:8,maxHeight:200,overflow:"auto"}},r.createElement("div",{style:{fontSize:12,fontFamily:"monospace",color:ee.text}},r.createElement(Mt(),{json:{tags:ne},style:{backgroundColor:"transparent",color:ee.text}}))):r.createElement("div",{style:{padding:16,backgroundColor:ee.backgroundSecondary,border:"1px solid ".concat(ee.border),borderRadius:8,color:ee.textSecondary,fontSize:14}},'No tags defined. Click on "Update tags" to define one or more tags to be associated with this entity.')),r.createElement("div",{style:{marginTop:24,marginBottom:16}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,color:ee.text}},"Manual tags:"),r.createElement("div",{style:{padding:16,backgroundColor:ee.backgroundSecondary,border:"1px solid ".concat(ee.border),borderRadius:8}},r.createElement("div",{style:{marginBottom:12}},r.createElement("div",{style:{fontSize:12,color:ee.textSecondary,marginBottom:8}},"Define a tag and press enter, repeat as needed:"),b.length>0&&r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:12,padding:8,border:"1px solid ".concat(ee.border),borderRadius:4,backgroundColor:ee.background,minHeight:40}},b.map(function(e){return r.createElement("div",{key:e,style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 8px",backgroundColor:"light"===f?"#e3f2fd":"#1e3a5f",color:ee.text,borderRadius:4,fontSize:13,border:"1px solid ".concat("light"===f?"#90caf9":"#3d5a80")}},r.createElement("span",null,e),r.createElement("button",{type:"button",onClick:function(){return ae(e)},style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",color:ee.text,marginLeft:4},"aria-label":"Remove ".concat(e)},r.createElement(Qt(),{style:{width:12,height:12}})))})),r.createElement("div",{style:{position:"relative"}},r.createElement(Gt(),{value:w,onChange:function(e,t){var n=t.value;return S(n)},onFocus:function(){k.length>0&&L(!0)},onBlur:function(){setTimeout(function(){return L(!1)},200)},placeholder:"Type a tag and press Enter",onKeyDown:function(e){"Enter"===e.key?(e.preventDefault(),k.length>0&&A?re(k[0]):re()):"Escape"===e.key&&L(!1)},style:{width:"100%"}}),A&&k.length>0&&r.createElement("div",{style:{position:"absolute",top:"100%",left:0,right:0,zIndex:1e3,marginTop:4,backgroundColor:ee.background,border:"1px solid ".concat(ee.border),borderRadius:4,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",maxHeight:200,overflowY:"auto"}},k.map(function(e){return r.createElement("button",{key:e,type:"button",onClick:function(){return re(e)},style:{width:"100%",padding:"8px 12px",textAlign:"left",background:"none",border:"none",cursor:"pointer",color:ee.text,fontSize:13,borderBottom:"1px solid ".concat(ee.border)},onMouseEnter:function(e){e.currentTarget.style.backgroundColor=ee.backgroundSecondary},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="transparent"}},e)}))),T.length>0&&r.createElement("div",{style:{fontSize:11,color:ee.textSecondary,marginTop:8}},T.length," existing tag",1!==T.length?"s":""," available from policies")),r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{fontSize:12,color:ee.textSecondary,marginBottom:8}},"Click on the save button to apply these manual tags now, click on the clear button to clear all current manual tags:"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"primary",onClick:function(){return P(!0)},disabled:I||H,style:{flex:"0 0 auto"}},"Save tags"),r.createElement(c(),{appearance:"destructive",onClick:function(){return N(!0)},disabled:I||H||0===b.length,style:{flex:"0 0 auto"}},"Clear all tags"))))),m&&r.createElement(Jt(),{type:"error",style:{marginTop:16}},m)),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:u,style:{flex:"0 0 auto"}},"Manage: tags policies"),r.createElement(c(),{appearance:"secondary",onClick:s,style:{flex:"0 0 auto"}},"Close"))),r.createElement(ul,{open:j,title:"Update tags",message:"Confirm tag update action?",confirmLabel:"Save",confirmAppearance:"primary",loading:I,error:V,onClose:function(){P(!1),U(null)},onConfirm:ie}),r.createElement(ul,{open:Y,title:"Clear tags",message:"Are you sure you want to clear all manual tags? This action cannot be undone.",confirmLabel:"Clear",confirmAppearance:"destructive",loading:H,error:G,onClose:function(){N(!1),K(null)},onConfirm:le}))};var vl=n(99242),_l=n.n(vl);function Ml(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return wl(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(wl(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,wl(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,wl(d,"constructor",u),wl(u,"constructor",s),s.displayName="GeneratorFunction",wl(u,a,"GeneratorFunction"),wl(d),wl(d,a,"Generator"),wl(d,r,function(){return this}),wl(d,"toString",function(){return"[object Generator]"}),(Ml=function(){return{w:o,m:f}})()}function wl(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}wl=function(e,t,n,r){function o(t,n){wl(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},wl(e,t,n,r)}function Sl(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function xl(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Sl(o,r,a,i,l,"next",e)}function l(e){Sl(o,r,a,i,l,"throw",e)}i(void 0)})}}function kl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Ol(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Ol(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Ol(d,"constructor",u),Ol(u,"constructor",s),s.displayName="GeneratorFunction",Ol(u,a,"GeneratorFunction"),Ol(d),Ol(d,a,"Generator"),Ol(d,r,function(){return this}),Ol(d,"toString",function(){return"[object Generator]"}),(Ll=function(){return{w:o,m:f}})()}function Ol(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Ol=function(e,t,n,r){function o(t,n){Ol(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ol(e,t,n,r)}function Tl(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Dl(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Tl(o,r,a,i,l,"next",e)}function l(e){Tl(o,r,a,i,l,"throw",e)}i(void 0)})}}function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jl(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0)},[ne,$e,Q]);var Ge=r.useCallback(function(e){var t=(e||ne).trim().toLowerCase();t&&!Q.includes(t)&&(ee(function(e){return[].concat(Bl(e),[t])}),re(""),ue(!1))},[ne,Q]),Ke=r.useCallback(function(e){ee(function(t){return t.filter(function(t){return t!==e})})},[]),Je=r.useCallback(function(e){var t=k.get(e.tags_policy_id),n=t?jl(jl({},e),t):e;return Ue(n.tags_policy_value)},[k,Ue]),Ze=r.useCallback(function(e,t){var n=Je(b.find(function(t){return t.tags_policy_id===e})||{}),r=t.trim().toLowerCase();r&&!n.includes(r)&&(C(function(t){var a=new Map(t),o=a.get(e)||{};return a.set(e,jl(jl({},o),{},{tags_policy_value:[].concat(Bl(n),[r])})),a}),L(function(t){var n=new Map(t);return n.set(e,""),n}),P(function(t){var n=new Map(t);return n.set(e,!1),n}))},[b,Je]),Qe=r.useCallback(function(e,t){var n=Je(b.find(function(t){return t.tags_policy_id===e})||{});C(function(r){var a=new Map(r),o=a.get(e)||{};return a.set(e,jl(jl({},o),{},{tags_policy_value:n.filter(function(e){return e!==t})})),a})},[b,Je]);r.useEffect(function(){A.forEach(function(e,t){if(!e.trim())return D(function(e){var n=new Map(e);return n.set(t,[]),n}),void P(function(e){var n=new Map(e);return n.set(t,!1),n});var n=Je(b.find(function(e){return e.tags_policy_id===t})||{}),r=e.trim().toLowerCase(),a=$e.filter(function(e){return e.includes(r)&&!n.includes(e)}).slice(0,10);D(function(e){var n=new Map(e);return n.set(t,a),n}),P(function(e){var n=new Map(e);return n.set(t,a.length>0),n})})},[A,$e,b,Je]);var et=r.useCallback(Dl(Ll().m(function e(){var t,r,o,i,l;return Ll().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return f(!0),h(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_tag_policies/tag_policies_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:o=e.v,i=Array.isArray(o)?o:(null==o?void 0:o.policies)||(null==o?void 0:o.data)||(null==o?void 0:o.records)||[],g(i),S(new Set),C(new Map),L(new Map),D(new Map),P(new Map),e.n=8;break;case 7:e.p=7,l=e.v,h(l.message||"Failed to fetch tags policies");case 8:return e.p=8,f(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a]);r.useEffect(function(){t&&et()},[t,et]),r.useEffect(function(){F&&(V(Ve()),G(""),ee([]),re(""),ie([]),ue(!1),fe(null),Me(null))},[F,Ve]);var tt=r.useCallback(function(e){S(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),nt=r.useCallback(function(){w.size===b.length?S(new Set):S(new Set(b.map(function(e){return e.tags_policy_id})))},[b,w.size]),rt=r.useCallback(function(){0!==w.size?(Ae(!0),je(null)):qe({type:"warning",title:"No policies selected",message:"Please select at least one policy to delete."})},[w.size,qe]),at=r.useCallback(function(){var e=Dl(Ll().m(function e(t){var r,o,l;return Ll().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return Te(!0),je(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_tag_policies/write/tag_policies_del",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,tags_policy_id_list:Array.from(w),update_comment:t||"Deleted from UI"})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw o=e.v,new Error(o);case 5:qe({type:"success",title:"Tags policie(s) deleted",message:"".concat(w.size," tags policie(s) successfully deleted.")}),Ae(!1),et(),i&&i(),e.n=7;break;case 6:e.p=6,l=e.v,je(l.message||"An error occurred");case 7:return e.p=7,Te(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[w,n,a,et,i,qe]),ot=r.useCallback(function(){0!==k.size?(Ye(!0),He(null)):qe({type:"info",title:"No changes to save",message:""})},[k.size,qe]),it=r.useCallback(function(){var e=Dl(Ll().m(function e(t){var r,o,l,s,u;return Ll().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return Ie(!0),He(null),e.p=2,r=Array.from(k.entries()).map(function(e){var t=Yl(e,2),n=t[0],r=t[1],a=jl(jl({},b.find(function(e){return e.tags_policy_id===n})),r);return a.tags_policy_value&&Array.isArray(a.tags_policy_value)&&(a.tags_policy_value=a.tags_policy_value.join(",")),a}),o=JSON.stringify(r),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_tag_policies/write/tag_policies_update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,records_list:o,update_comment:t||"Updated from UI"})});case 3:if((l=e.v).ok){e.n=5;break}return e.n=4,Z(l);case 4:throw s=e.v,new Error(s);case 5:qe({type:"success",title:"Tags policie(s) updated",message:"".concat(k.size," tags policie(s) successfully updated.")}),Ye(!1),et(),i&&i(),e.n=7;break;case 6:e.p=6,u=e.v,He(u.message||"An error occurred");case 7:return e.p=7,Ie(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[k,b,n,a,et,i,qe]),lt=r.useCallback(Dl(Ll().m(function e(){var t,r,o,i;return Ll().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&$.trim()){e.n=1;break}return qe({type:"warning",title:"Invalid input",message:"Please provide a regex pattern."}),e.a(2);case 1:return he(!0),fe(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_tag_policies/write/tag_policies_simulate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,tags_list:Q,regex_value:$.trim()})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:o=e.v,fe(o),e.n=8;break;case 7:e.p=7,i=e.v,qe({type:"error",title:"Simulation failed",message:i.message||"An error occurred during simulation"});case 8:return e.p=8,he(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a,$,Q,qe]),st=r.useCallback(function(){var e=Dl(Ll().m(function e(t){var r,o,l;return Ll().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&X&&$.trim()){e.n=1;break}return qe({type:"warning",title:"Invalid input",message:"Please provide policy ID and regex pattern."}),e.a(2);case 1:return ge(!0),Me(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_tag_policies/write/tag_policies_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,tags_policy_id:X,tags_policy_value:Q.join(","),tags_policy_regex:$.trim(),update_comment:t||"Created from UI"})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw o=e.v,new Error(o);case 5:qe({type:"success",title:"Tags policy added",message:"Tags policy successfully added."}),I(!1),H(!1),V(""),G(""),ee([]),re(""),ie([]),ue(!1),fe(null),et(),i&&i(),e.n=7;break;case 6:e.p=6,l=e.v,Me(l.message||"An error occurred");case 7:return e.p=7,ge(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[n,a,X,$,Q,et,i,qe]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:o,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Tags policies"}),r.createElement(vt().Body,null,r.createElement(Mr(),{title:"What are tags policies used for"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:Xe.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Tags can be automatically defined by creating tags policies at the level of the tenant."),r.createElement("li",{style:{marginBottom:8}},"Tags policies use regular expression rules to match the data source naming convention. (field object)"),r.createElement("li",{style:{marginBottom:8}},"If there are any tags that were manually applied on a data source, tags will be merged automatically."),r.createElement("li",{style:{marginBottom:8}},"If there are multiple tags policies match for a given entity, tags will be merged automatically."),r.createElement("li",{style:{marginBottom:0}},"Tags are systematically transformed to lower case strings.")))),r.createElement("div",{style:{marginTop:16,marginBottom:8,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},b.length," tags polic",1===b.length?"y":"ies"," currently"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:nt,style:{flex:"0 0 auto"}},w.size===b.length?"Deselect all":"Select all"),r.createElement(c(),{appearance:"destructive",onClick:rt,disabled:0===w.size,style:{flex:"0 0 auto"}},"Remove selected"),r.createElement(c(),{appearance:"secondary",onClick:ot,disabled:0===k.size,style:{flex:"0 0 auto"}},"Save changes"))),d&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),m&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},m),!d&&!m&&r.createElement(r.Fragment,null,r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(Xe.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}}),r.createElement(dt().HeadCell,{style:{minWidth:200}},"Policy ID"),r.createElement(dt().HeadCell,{style:{minWidth:300}},"Regex"),r.createElement(dt().HeadCell,{style:{minWidth:400}},"Tags")),r.createElement(dt().Body,null,b.map(function(e){var t=e.tags_policy_id||"",n=w.has(t),a=k.get(t),o=a?jl(jl({},e),a):e,i=Je(e),s=A.get(t)||"",u=T.get(t)||[],c=j.get(t)||!1;return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:n,onChange:function(){return tt(t)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,{style:{fontSize:12,fontFamily:"monospace"}},o.tags_policy_id),r.createElement(dt().Cell,null,r.createElement("textarea",{value:o.tags_policy_regex||"",onChange:function(e){C(function(n){var r=new Map(n);return r.set(t,jl(jl({},r.get(t)),{},{tags_policy_regex:e.target.value})),r})},style:{width:"100%",minHeight:60,padding:4,fontSize:11,fontFamily:"monospace",backgroundColor:Xe.background,color:Xe.text,border:"1px solid ".concat(Xe.border),borderRadius:4,resize:"vertical"}})),r.createElement(dt().Cell,null,r.createElement("div",{style:{position:"relative"}},i.length>0&&r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:4,marginBottom:6}},i.map(function(e){return r.createElement("div",{key:e,style:{display:"inline-flex",alignItems:"center",gap:4,padding:"2px 6px",backgroundColor:"light"===l?"#e3f2fd":"#1e3a5f",color:Xe.text,borderRadius:4,fontSize:11,border:"1px solid ".concat("light"===l?"#90caf9":"#3d5a80")}},r.createElement("span",null,e),r.createElement("button",{type:"button",onClick:function(){return Qe(t,e)},style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",color:Xe.text,marginLeft:2},"aria-label":"Remove ".concat(e)},r.createElement(Qt(),{style:{width:10,height:10}})))})),r.createElement(Gt(),{value:s,onChange:function(e,n){var r=n.value;L(function(e){var n=new Map(e);return n.set(t,r),n})},onFocus:function(){u.length>0&&P(function(e){var n=new Map(e);return n.set(t,!0),n})},onBlur:function(){setTimeout(function(){P(function(e){var n=new Map(e);return n.set(t,!1),n})},200)},placeholder:"Type to add tags...",onKeyDown:function(e){"Enter"===e.key?(e.preventDefault(),u.length>0&&c?Ze(t,u[0]):s.trim()&&Ze(t,s)):"Escape"===e.key&&P(function(e){var n=new Map(e);return n.set(t,!1),n})},style:{width:"100%",fontSize:12}}),c&&u.length>0&&r.createElement("div",{style:{position:"absolute",top:"100%",left:0,right:0,zIndex:1e3,marginTop:4,backgroundColor:Xe.background,border:"1px solid ".concat(Xe.border),borderRadius:4,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",maxHeight:150,overflowY:"auto"}},u.map(function(e){return r.createElement("button",{key:e,type:"button",onClick:function(){return Ze(t,e)},style:{width:"100%",padding:"6px 10px",textAlign:"left",background:"none",border:"none",cursor:"pointer",color:Xe.text,fontSize:12,borderBottom:"1px solid ".concat(Xe.border)},onMouseEnter:function(e){e.currentTarget.style.backgroundColor=Xe.backgroundSecondary},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="transparent"}},e)})))))})))),0===b.length&&r.createElement(Jt(),{type:"info",style:{marginTop:16}},'No tags policies found. Click "Create new policy" to add one.'))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o,style:{flex:"0 0 auto"}},"Close"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:function(){return xe(!0)},style:{flex:"0 0 auto"}},"Execute tracker"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:function(){return I(!0)},style:{flex:"0 0 auto"}},"Create new policy"))),r.createElement(vt(),{open:F,onRequestClose:function(){be||(I(!1),Me(null),fe(null),re(""),ie([]),ue(!1))},returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"Tags policies: create new policy"}),r.createElement(vt().Body,null,_e&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},_e),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"new-policy-id",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:Xe.text}},"Policy name:"),r.createElement(Gt(),{id:"new-policy-id",value:X,onChange:function(e,t){var n=t.value;return V(n)},style:jl({width:"100%",maxWidth:500},!X.trim()&&{borderColor:Xe.error,boxShadow:"0 0 0 2px ".concat(Xe.error,"40")})})),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"new-policy-regex",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:Xe.text}},"Regular expression rule:"),r.createElement("div",{style:{fontSize:12,color:Xe.textSecondary,marginBottom:8}},"Example: ",r.createElement("code",{style:{color:Xe.text,fontFamily:"monospace"}},"^siem:edr:.*")," would match EDR related products"),r.createElement(Ut(),{id:"new-policy-regex",value:$,onChange:function(e,t){var n=t.value;return G(n)},rowsMin:3,style:jl({width:"100%",fontFamily:"monospace",fontSize:12},!$.trim()&&{borderColor:Xe.error,boxShadow:"0 0 0 2px ".concat(Xe.error,"40")})})),r.createElement("div",null,r.createElement("label",{htmlFor:"new-policy-tags-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:Xe.text}},"List of tags:"),r.createElement("div",{style:{fontSize:12,color:Xe.textSecondary,marginBottom:8}},"Type to add tags. Existing tags from policies will appear as suggestions."),Q.length>0&&r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:8,padding:8,border:"1px solid ".concat(Xe.border),borderRadius:4,backgroundColor:Xe.backgroundSecondary,minHeight:40}},Q.map(function(e){return r.createElement("div",{key:e,style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 8px",backgroundColor:"light"===l?"#e3f2fd":"#1e3a5f",color:Xe.text,borderRadius:4,fontSize:13,border:"1px solid ".concat("light"===l?"#90caf9":"#3d5a80")}},r.createElement("span",null,e),r.createElement("button",{type:"button",onClick:function(){return Ke(e)},style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",color:Xe.text,marginLeft:4},"aria-label":"Remove ".concat(e)},r.createElement(Qt(),{style:{width:12,height:12}})))})),r.createElement("div",{style:{position:"relative"}},r.createElement(Gt(),{id:"new-policy-tags-input",value:ne,onChange:function(e,t){var n=t.value;return re(n)},onFocus:function(){oe.length>0&&ue(!0)},onBlur:function(){setTimeout(function(){return ue(!1)},200)},placeholder:"Type a tag and press Enter",onKeyDown:function(e){"Enter"===e.key?(e.preventDefault(),oe.length>0&&se?Ge(oe[0]):Ge()):"Escape"===e.key&&ue(!1)},style:{width:"100%"}}),se&&oe.length>0&&r.createElement("div",{style:{position:"absolute",top:"100%",left:0,right:0,zIndex:1e3,marginTop:4,backgroundColor:Xe.background,border:"1px solid ".concat(Xe.border),borderRadius:4,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",maxHeight:200,overflowY:"auto"}},oe.map(function(e){return r.createElement("button",{key:e,type:"button",onClick:function(){return Ge(e)},style:{width:"100%",padding:"8px 12px",textAlign:"left",background:"none",border:"none",cursor:"pointer",color:Xe.text,fontSize:13,borderBottom:"1px solid ".concat(Xe.border)},onMouseEnter:function(e){e.currentTarget.style.backgroundColor=Xe.backgroundSecondary},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="transparent"}},e)}))),$e.length>0&&r.createElement("div",{style:{fontSize:11,color:Xe.textSecondary,marginTop:4}},$e.length," existing tag",1!==$e.length?"s":""," available from other policies"))),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:lt,disabled:me||!$.trim(),style:{flex:"0 0 auto"}},"Run policy simulation")),de&&r.createElement("div",{style:{marginTop:16,padding:16,backgroundColor:Xe.backgroundSecondary,border:"1px solid ".concat(Xe.border),borderRadius:8,maxHeight:300,overflow:"auto"}},r.createElement("h3",{style:{marginTop:0,marginBottom:8}},"Simulation results:"),r.createElement(Mt(),{json:de,style:{backgroundColor:"transparent",color:Xe.text}}))),be&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){be||(I(!1),Me(null),fe(null),re(""),ie([]),ue(!1))},disabled:be,style:{flex:"0 0 auto"}},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:function(){I(!1),H(!0)},disabled:be||!X.trim()||!$.trim()||de&&"false"===de.regex_is_valid,style:{flex:"0 0 auto"}},"Add this new policy"))),r.createElement(ul,{open:W,title:"Tags policies",message:"Confirm tag policy addition action?",confirmLabel:"Ok",confirmAppearance:"primary",loading:be,error:_e,onClose:function(){H(!1),Me(null)},onConfirm:function(e){st(e),H(!1)}}),r.createElement(ul,{open:Ee,title:"Tags policies handler deletion",message:"Are you sure you want to delete ".concat(w.size," tags polic").concat(1===w.size?"y":"ies","? This action cannot be undone."),confirmLabel:"Delete",confirmAppearance:"destructive",loading:Oe,error:ze,onClose:function(){Ae(!1),je(null)},onConfirm:at}),r.createElement(ul,{open:Be,title:"Tags policies handler save changes",message:"Are you sure you want to update ".concat(k.size," tags polic").concat(1===k.size?"y":"ies","?"),confirmLabel:"Update",confirmAppearance:"primary",loading:Fe,error:We,onClose:function(){Ye(!1),He(null)},onConfirm:it}),r.createElement(El,{open:Se,tenantId:n,component:a,policyType:"tags",onClose:function(){return xe(!1)},onSuccess:function(){i&&i()}}))};var Rl=n(43389),Wl=n.n(Rl);function Hl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return ql(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ql(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ql(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,ql(d,"constructor",u),ql(u,"constructor",s),s.displayName="GeneratorFunction",ql(u,a,"GeneratorFunction"),ql(d),ql(d,a,"Generator"),ql(d,r,function(){return this}),ql(d,"toString",function(){return"[object Generator]"}),(Hl=function(){return{w:o,m:f}})()}function ql(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}ql=function(e,t,n,r){function o(t,n){ql(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ql(e,t,n,r)}function Xl(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Vl(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Xl(o,r,a,i,l,"next",e)}function l(e){Xl(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ul(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:"-24h",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"now",n=Kl((0,r.useState)(e),2),a=n[0],o=n[1],i=Kl((0,r.useState)(t),2),l=i[0],s=i[1],u=(0,r.useCallback)(function(e,t){o(e),s(t)},[]);return{earliest:a,latest:l,setEarliest:o,setLatest:s,updateTimeRange:u}}function Ql(e,t,n,r){var a=e.replace(/earliest="[^"]*"/g,'earliest="'.concat(t,'"')).replace(/latest="[^"]*"/g,'latest="'.concat(n,'"')).replace(/earliest=-?\d+\w/g,"earliest=".concat(t)).replace(/latest=now/g,"latest=".concat(n));return r&&(a=a.replace(new RegExp("\\$".concat(r,"\\.earliest\\$"),"g"),t).replace(new RegExp("\\$".concat(r,"\\.latest\\$"),"g"),n)),a}function es(e){if(null==e)return"N/A";if(e<60)return"".concat(e.toFixed(1)," sec");var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60);return t>0?"".concat(t,":").concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")):"".concat(n,":").concat(r.toString().padStart(2,"0"))}function ts(e){return ts="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ts(e)}function ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rs(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&A(function(t){return t||e[0].value})}},[t,v]),oe=r.useCallback(function(){var e=re("single_stats");if(e&&t){var n=Ql(e,p,h,"modalTimeSplkDsm");j(function(e){return rs(rs({},e),{},{loading:!0,error:null})}),Y(function(e){return rs(rs({},e),{},{loading:!0,error:null})}),I(function(e){return rs(rs({},e),{},{loading:!0,error:null})}),Z.current.forEach(function(e){return qr(e)}),Z.current=[];var r=function(e,t){return Hr("".concat(n," ").concat(e),{earliest_time:p,latest_time:h,count:0},{next:function(e){var n=Array.isArray(null==e?void 0:e.results)?e.results:[];if(n.length>0){var r=n[0],a=Object.values(r).find(function(e){return null!=e&&""!==String(e).trim()});if(void 0!==a){var o=String(a).trim(),i=null;if(o.includes(":")){var l=o.split(":");3===l.length&&(i=3600*(parseInt(l[0],10)||0)+60*(parseInt(l[1],10)||0)+(parseFloat(l[2])||0))}else if(o.endsWith(" sec")){var s=o.replace(" sec","").trim();i=parseFloat(s)||null}else i=parseFloat(o)||null;t(i)}else t(null)}else t(null)},error:function(e){t(null),console.error("[OverviewTabDsm] Search error:",(null==e?void 0:e.message)||"Failed to load metric")}})};return Z.current.push(r("| fields perc95_latency | `trackme_parse_duration(perc95_latency, 60)`",function(e){return j({value:e,loading:!1,error:null})})),Z.current.push(r("| fields avg_latency | `trackme_parse_duration(avg_latency, 60)`",function(e){return Y({value:e,loading:!1,error:null})})),Z.current.push(r("| fields event_delay | `trackme_parse_duration(event_delay, 60)`",function(e){return I({value:e,loading:!1,error:null})})),function(){Z.current.forEach(function(e){return qr(e)}),Z.current=[]}}},[re,p,h,t]),ie=r.useCallback(function(){var e=re("sla");if(e&&t){qr(Q.current),H({value:null,loading:!0,error:null});try{return Q.current=Hr(e,{earliest_time:"-90d@d",latest_time:"now"},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=n.percent_sla||n.sla_pct||n.sla_percentage||n.pct;H({value:null!=r?parseFloat(String(r)):null,loading:!1,error:null})}else H({value:null,loading:!1,error:null})},error:function(e){H({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load SLA"})}}),function(){qr(Q.current)}}catch(e){H({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run SLA search"})}}},[re,t]),le=r.useCallback(function(){var e=ne();if(e&&t)if(E){qr(J.current),T(function(e){return rs(rs({},e),{},{loading:!0,error:null})});var n=Ql(e,p,h,"modalTimeSplkDsm"),r="".concat(n," | fields _time, ").concat(E);try{return J.current=Hr(r,{earliest_time:p,latest_time:h,count:0},{next:function(e){var t,n=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0!==n.length){var a=[];n.forEach(function(e){Object.keys(e||{}).forEach(function(e){a.includes(e)||a.push(e)})});var o=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},i=a.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||o(e));var t}),l=a.find(function(e){return o(e)});l&&(i=[l].concat(function(e){if(Array.isArray(e))return ls(e)}(t=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||is(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var s=E.split(",").map(function(e){return e.trim()}).filter(function(e){return e}).slice(1).filter(function(e){return i.includes(e)}),u=i.map(function(e){return n.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),c=i.map(function(e){return{name:e}}),d={requestParams:{offset:0,count:n.length},data:{fields:c,columns:u},meta:{totalCount:n.length}};T({dataSource:d,loading:!1,error:null,searchQuery:r,overlayFields:s.join(",")||void 0})}else T({dataSource:null,loading:!1,error:null,searchQuery:r,overlayFields:void 0})},error:function(e){T({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:r,overlayFields:void 0})}}),function(){qr(J.current)}}catch(e){T({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null,overlayFields:void 0})}}else T({dataSource:null,loading:!1,error:null,searchQuery:null,overlayFields:void 0});else T({dataSource:null,loading:!1,error:null,searchQuery:null,overlayFields:void 0})},[ne,E,t,p,h]),se=r.useCallback(function(){if(O.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(O.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[O.searchQuery,p,h]),ue=r.useCallback(function(e){var n;if(t&&i){var r=re("single_stats");if(r){var a=Ql(r,p,h),o=a;e&&(o="".concat(a," ").concat(e));var l="/app/trackme/search?q=".concat(encodeURIComponent(o),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),s=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(l):l;window.open(s,"_blank","noopener")}}},[t,i,re,p,h]),ce=r.useCallback(function(){var e;if(t&&i){var n="/app/trackme/trackMe_sla?form.tk_tenant_id=".concat(encodeURIComponent(t),"&form.tk_object_category=").concat(te,"&form.tk_object=").concat(encodeURIComponent(i)),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}},[t,i,te]),de=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===ts(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&void 0!==t.score&&null!==t.score)return parseFloat(String(t.score))}return void 0!==a.score&&null!==a.score?parseFloat(String(a.score)):null},[a]),fe=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===ts(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return a.score_definition?a.score_definition:null},[a]),pe=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),me=r.useCallback(function(){fe&&V(!0)},[fe]);r.useEffect(function(){A(""),T({dataSource:null,loading:!1,error:null,searchQuery:null,overlayFields:void 0}),S([]),ae()},[ae,t,v]),r.useEffect(function(){if(t&&a){var e=oe(),n=ie();return function(){e&&e(),n&&n()}}},[oe,ie,t,a,p,h,v]),r.useEffect(function(){if(t&&a&&E){var e=le();return function(){e&&e()}}},[le,t,a,E,p,h,v]);var he=r.useCallback(function(){oe(),ie(),E&&le()},[oe,ie,le,E]);return r.useEffect(function(){l&&l(he)},[l,he]),r.useEffect(function(){return function(){qr(J.current),Z.current.forEach(function(e){return qr(e)}),qr(Q.current)}},[]),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{width:240}},r.createElement(ht(),{value:v,onChange:function(e,t){var n=t.value;_(n)},"aria-label":"Data provider"},r.createElement(ht().Option,{label:"TrackMe metrics",value:"trackme"}),r.createElement(ht().Option,{label:"Splunk query",value:"splunk"}))),r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:p,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;y(n),b(r)},labelMaxChars:1/0,"aria-label":"Overview time range"})))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(5, 1fr)",gap:16}},r.createElement(at,{label:"PERC95 INGESTION LATENCY (sec or [D+]HH:MM:SS)",value:null!==z.value?es(z.value):null,loading:z.loading,error:z.error,onOpenSearch:function(){return ue("| fields perc95_latency | `trackme_parse_duration(perc95_latency, 60)`")},onRefresh:function(){return oe()},numberPrecision:1}),r.createElement(at,{label:"AVG INGESTION LATENCY (sec or [D+]HH:MM:SS)",value:null!==B.value?es(B.value):null,loading:B.loading,error:B.error,onOpenSearch:function(){return ue("| fields avg_latency | `trackme_parse_duration(avg_latency, 60)`")},onRefresh:function(){return oe()},numberPrecision:1}),r.createElement(at,{label:"CURRENT EVENT DELAY (sec or [D+]HH:MM:SS)",value:null!==F.value?es(F.value):null,loading:F.loading,error:F.error,onOpenSearch:function(){return ue("| fields event_delay | `trackme_parse_duration(event_delay, 60)`")},onRefresh:function(){return oe()},numberPrecision:1}),r.createElement(at,{label:"Impact score",value:de,loading:!1,error:null,onClick:fe?me:void 0,color:pe(de),showAlertBorder:null!==de&&de>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:W.value,unit:"%",unitPosition:"after",loading:W.loading,error:W.error,onOpenSearch:function(){var e=re("sla");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return ie()},onClick:ce,color:function(){if(null!==W.value&&void 0!==W.value)return W.value<50?"#dc4e41":W.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{width:300}},r.createElement(ht(),{value:E,onChange:function(e,t){var n=t.value;A(n)},"aria-label":"Chart series",disabled:0===w.length},0===w.length&&r.createElement(ht().Option,{label:"No series available",value:"",disabled:!0}),w.length>0&&w.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})))),r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},O.dataSource&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:se},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{le()}catch(e){}},disabled:O.loading},"Refresh")))),O.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!O.loading&&O.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},O.error),!O.loading&&!O.error&&O.dataSource&&G>0&&r.createElement("div",{ref:U,style:{width:"100%",maxWidth:"100%",height:400,boxSizing:"border-box"}},r.createElement(Ft(),{key:"chart-dsm-".concat(E||"default","-").concat(G),width:G,height:400,options:{showOverlayY2Axis:!!O.overlayFields,overlayFields:O.overlayFields||"",yAxisTitle:"Events count",y2AxisTitle:"Latency / Hosts",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"},dataSources:{primary:O.dataSource}})),!O.loading&&!O.error&&!O.dataSource&&r.createElement("div",{style:{color:u.textSecondary,display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},E?"No chart data available":"Select a chart series to display"))),X&&r.createElement(ci,{open:X,scoreDefinition:fe,tenantId:t||void 0,component:n,objectId:o||void 0,onClose:function(){return V(!1)}}))};function cs(e){return cs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cs(e)}function ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fs(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var a=Object.keys(t[0]||{}),o=a.map(function(e){return{name:e}}),i=a.map(function(e){return t.map(function(t){return t[e]||null})}),l={requestParams:{offset:0,count:t.length},data:{fields:o,columns:i},meta:{totalCount:t.length}};n({dataSource:l,loading:!1,error:null,searchQuery:r})}else n({dataSource:null,loading:!1,error:null,searchQuery:r})},error:function(e){n({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load pie chart data",searchQuery:r})}})};return qr(Z.current),qr(Q.current),Z.current=n("| stats sum(count) as count by index | sort - count",A),Q.current=n("| stats sum(count) as count by sourcetype | sort - count",T),function(){qr(Z.current),qr(Q.current)}}}},[oe,p,h,a]),se=r.useCallback(function(){var e=ie("single_stats");if(e&&t){var n=Ql(e,p,h,"modalTimeSplkDhm");j(function(e){return fs(fs({},e),{},{loading:!0,error:null})}),Y(function(e){return fs(fs({},e),{},{loading:!0,error:null})}),I(function(e){return fs(fs({},e),{},{loading:!0,error:null})}),ee.current.forEach(function(e){return qr(e)}),ee.current=[];var r=function(e,t){return Hr("".concat(n," ").concat(e),{earliest_time:p,latest_time:h,count:0},{next:function(e){var n=Array.isArray(null==e?void 0:e.results)?e.results:[];if(n.length>0){var r=n[0],a=Object.values(r).find(function(e){return null!=e&&""!==String(e).trim()});if(void 0!==a){var o=String(a).trim(),i=null;if(o.includes(":")){var l=o.split(":");3===l.length&&(i=3600*(parseInt(l[0],10)||0)+60*(parseInt(l[1],10)||0)+(parseFloat(l[2])||0))}else if(o.endsWith(" sec")){var s=o.replace(" sec","").trim();i=parseFloat(s)||null}else i=parseFloat(o)||null;t(i)}else t(null)}else t(null)},error:function(e){t(null),console.error("[OverviewTabDhm] Search error:",(null==e?void 0:e.message)||"Failed to load metric")}})};return ee.current.push(r("| fields perc95_latency | `trackme_parse_duration(perc95_latency, 60)`",function(e){return j({value:e,loading:!1,error:null})})),ee.current.push(r("| fields avg_latency | `trackme_parse_duration(avg_latency, 60)`",function(e){return Y({value:e,loading:!1,error:null})})),ee.current.push(r("| fields event_delay | `trackme_parse_duration(event_delay, 60)`",function(e){return I({value:e,loading:!1,error:null})})),function(){ee.current.forEach(function(e){return qr(e)}),ee.current=[]}}},[ie,p,h,t]),ue=r.useCallback(function(){var e=ie("sla");if(e&&t){qr(te.current),H({value:null,loading:!0,error:null});try{return te.current=Hr(e,{earliest_time:"-90d@d",latest_time:"now"},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=n.percent_sla||n.sla_pct||n.sla_percentage||n.pct;H({value:null!=r?parseFloat(String(r)):null,loading:!1,error:null})}else H({value:null,loading:!1,error:null})},error:function(e){H({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load SLA"})}}),function(){qr(te.current)}}catch(e){H({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run SLA search"})}}},[ie,t]),ce=r.useCallback(function(){var e=ae();if(e&&t){qr(J.current),S(function(e){return fs(fs({},e),{},{loading:!0,error:null})});var n=Ql(e,p,h,"modalTimeSplkDhm");try{return J.current=Hr(n,{earliest_time:p,latest_time:h,count:0},{next:function(e){var t,r=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0!==r.length){var a=[];r.forEach(function(e){Object.keys(e||{}).forEach(function(e){a.includes(e)||a.push(e)})});var o=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},i=a.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||o(e));var t}),l=a.find(function(e){return o(e)});l&&(i=[l].concat(function(e){if(Array.isArray(e))return ys(e)}(t=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||hs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var s=["avg_latency_5m","lag_event_sec"].filter(function(e){return i.includes(e)}),u=i.map(function(e){return r.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),c=i.map(function(e){return{name:e}}),d={requestParams:{offset:0,count:r.length},data:{fields:c,columns:u},meta:{totalCount:r.length}};S({dataSource:d,loading:!1,error:null,searchQuery:n,overlayFields:s.join(",")||void 0})}else S({dataSource:null,loading:!1,error:null,searchQuery:n,overlayFields:void 0})},error:function(e){S({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:n,overlayFields:void 0})}}),function(){qr(J.current)}}catch(e){S({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null,overlayFields:void 0})}}else S({dataSource:null,loading:!1,error:null,searchQuery:null,overlayFields:void 0})},[ae,t,p,h]),de=r.useCallback(function(){if(w.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(w.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[w.searchQuery,p,h]),fe=r.useCallback(function(e){var n;if(t&&i){var r=ie("single_stats");if(r){var a=Ql(r,p,h),o=a;e&&(o="".concat(a," ").concat(e));var l="/app/trackme/search?q=".concat(encodeURIComponent(o),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),s=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(l):l;window.open(s,"_blank","noopener")}}},[t,i,ie,p,h]),pe=r.useCallback(function(){var e;if(t&&i){var n="/app/trackme/trackMe_sla?form.tk_tenant_id=".concat(encodeURIComponent(t),"&form.tk_object_category=").concat(re,"&form.tk_object=").concat(encodeURIComponent(i)),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}},[t,i,re]),me=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===cs(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&void 0!==t.score&&null!==t.score)return parseFloat(String(t.score))}return void 0!==a.score&&null!==a.score?parseFloat(String(a.score)):null},[a]),he=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===cs(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return a.score_definition?a.score_definition:null},[a]),ye=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),be=r.useCallback(function(){he&&V(!0)},[he]);r.useEffect(function(){if(a){var e=le();return function(){e&&e()}}},[le,a,p,h,v]),r.useEffect(function(){if(t&&a){var e=se(),n=ue();return function(){e&&e(),n&&n()}}},[se,ue,t,a,p,h,v]),r.useEffect(function(){if(t&&a){var e=ce();return function(){e&&e()}}},[ce,t,a,p,h,v]);var ge=r.useCallback(function(){le(),se(),ue(),ce()},[le,se,ue,ce]);return r.useEffect(function(){l&&l(ge)},[l,ge]),r.useEffect(function(){return function(){qr(J.current),qr(Z.current),qr(Q.current),ee.current.forEach(function(e){return qr(e)}),qr(te.current)}},[]),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{width:240}},r.createElement(ht(),{value:v,onChange:function(e,t){var n=t.value;_(n)},"aria-label":"Data provider"},r.createElement(ht().Option,{label:"TrackMe metrics",value:"trackme"}),r.createElement(ht().Option,{label:"Splunk query",value:"splunk"}))),r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:p,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;y(n),b(r)},labelMaxChars:1/0,"aria-label":"Overview time range"})))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(5, 1fr)",gap:16}},r.createElement(at,{label:"PERC95 INGESTION LATENCY (sec or [D+]HH:MM:SS)",value:null!==z.value?es(z.value):null,loading:z.loading,error:z.error,onOpenSearch:function(){return fe("| fields perc95_latency | `trackme_parse_duration(perc95_latency, 60)`")},onRefresh:function(){return se()},numberPrecision:1}),r.createElement(at,{label:"AVG INGESTION LATENCY (sec or [D+]HH:MM:SS)",value:null!==B.value?es(B.value):null,loading:B.loading,error:B.error,onOpenSearch:function(){return fe("| fields avg_latency | `trackme_parse_duration(avg_latency, 60)`")},onRefresh:function(){return se()},numberPrecision:1}),r.createElement(at,{label:"CURRENT EVENT DELAY (sec or [D+]HH:MM:SS)",value:null!==F.value?es(F.value):null,loading:F.loading,error:F.error,onOpenSearch:function(){return fe("| fields event_delay | `trackme_parse_duration(event_delay, 60)`")},onRefresh:function(){return se()},numberPrecision:1}),r.createElement(at,{label:"Impact score",value:me,loading:!1,error:null,onClick:he?be:void 0,color:ye(me),showAlertBorder:null!==me&&me>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:W.value,unit:"%",unitPosition:"after",loading:W.loading,error:W.error,onOpenSearch:function(){var e=ie("sla");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return ue()},onClick:pe,color:function(){if(null!==W.value&&void 0!==W.value)return W.value<50?"#dc4e41":W.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16}},r.createElement("div",{style:{padding:16,borderRadius:12,backgroundColor:u.backgroundSecondary,border:"1px solid ".concat(u.border),position:"relative"}},r.createElement("div",{style:{color:u.textSecondary,fontWeight:600,marginBottom:8}},"Stats per index"),E.dataSource&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(E.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(E.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{le()}catch(e){}},disabled:E.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},E.loading?r.createElement(s(),{size:"small"}):E.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:E.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},E.error||"No data available"))),r.createElement("div",{style:{padding:16,borderRadius:12,backgroundColor:u.backgroundSecondary,border:"1px solid ".concat(u.border),position:"relative"}},r.createElement("div",{style:{color:u.textSecondary,fontWeight:600,marginBottom:8}},"Stats per sourcetype"),O.dataSource&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(O.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(O.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{le()}catch(e){}},disabled:O.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},O.loading?r.createElement(s(),{size:"small"}):O.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:O.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},O.error||"No data available"))))),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},w.dataSource&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:de},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{ce()}catch(e){}},disabled:w.loading},"Refresh")))),w.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!w.loading&&w.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},w.error),!w.loading&&!w.error&&w.dataSource&&G>0&&r.createElement("div",{ref:U,style:{width:"100%",maxWidth:"100%",height:400,boxSizing:"border-box"}},r.createElement(Ft(),{key:"chart-dhm-".concat(G),width:G,height:400,options:{showOverlayY2Axis:!!w.overlayFields,overlayFields:w.overlayFields||"",yAxisTitle:"Events count",y2AxisTitle:"lag in seconds",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"},dataSources:{primary:w.dataSource}})),!w.loading&&!w.error&&!w.dataSource&&r.createElement("div",{style:{color:u.textSecondary,display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},"No chart data available"))),X&&r.createElement(ci,{open:X,scoreDefinition:he,tenantId:t||void 0,component:n,objectId:o||void 0,onClose:function(){return V(!1)}}))};function gs(e){return gs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gs(e)}function vs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _s(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var r=Object.keys(n[0]||{}),a=r.map(function(e){return{name:e}}),o=r.map(function(e){return n.map(function(t){return t[e]||null})}),i={requestParams:{offset:0,count:n.length},data:{fields:a,columns:o},meta:{totalCount:n.length}};h({dataSource:i,loading:!1,error:null,searchQuery:e})}else h({dataSource:null,loading:!1,error:null,searchQuery:e})},error:function(t){h({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load pie chart data",searchQuery:e})}}),function(){qr(D.current)}}catch(e){h({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run pie chart search",searchQuery:null})}}}},[t,o,P]),Y=r.useCallback(function(){if(t&&o){var e=j();if(e){qr(z.current),g(function(e){return _s(_s({},e),{},{loading:!0,error:null})});try{return z.current=Hr(e,{earliest_time:"-5m",latest_time:"now",count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];g({data:n,loading:!1,error:null,searchQuery:e})},error:function(t){g({data:[],loading:!1,error:(null==t?void 0:t.message)||"Failed to load table data",searchQuery:e})}}),function(){qr(z.current)}}catch(e){g({data:[],loading:!1,error:(null==e?void 0:e.message)||"Failed to run table search",searchQuery:null})}}}},[t,o,j]),N=r.useCallback(function(e){return{display:"inline-block",width:10,height:10,borderRadius:"50%",background:e}},[]),F=r.useCallback(function(e){if(!e)return"#9e9e9e";switch(String(e).toLowerCase()){case"green":return"#4caf50";case"red":return"#d32f2f";default:return"#fb8c00"}},[]),I=r.useCallback(function(){if(t&&o){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",").concat("splk-mhm",",").concat(o,")`");qr(O.current),k({value:null,loading:!0,error:null});try{return O.current=Hr(e,{earliest_time:"-90d@d",latest_time:"now"},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=n.percent_sla||n.sla_pct||n.sla_percentage||n.pct;k({value:null!=r?parseFloat(String(r)):null,loading:!1,error:null})}else k({value:null,loading:!1,error:null})},error:function(e){k({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load SLA"})}}),function(){qr(O.current)}}catch(e){k({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run SLA search"})}}},[t,o]),R=r.useCallback(function(){var e;if(t&&i){var n="/app/trackme/trackMe_sla?form.tk_tenant_id=".concat(encodeURIComponent(t),"&form.tk_object_category=splk-mhm&form.tk_object=").concat(encodeURIComponent(i)),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}},[t,i]),W=r.useMemo(function(){if(!a)return console.log("[OverviewTabMhm] score: entityInfo is null"),null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===gs(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&void 0!==t.score&&null!==t.score){var n=parseFloat(String(t.score));return console.log("[OverviewTabMhm] score extracted from status_message_json:",n),n}}if(void 0!==a.score&&null!==a.score){var r=parseFloat(String(a.score));return console.log("[OverviewTabMhm] score extracted from entityInfo.score:",r),r}return console.log("[OverviewTabMhm] score: no score found, returning null"),null},[a]),H=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===gs(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return a.score_definition?a.score_definition:null},[a]),q=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),X=r.useCallback(function(){H&&L(!0)},[H]),V=r.useMemo(function(){if(!a)return console.log("[OverviewTabMhm] lagSummary: entityInfo is null"),null;var e=a.lag_summary||null;return console.log("[OverviewTabMhm] lagSummary extracted:",e,"from entityInfo:",a),e},[a]);r.useEffect(function(){if(t&&o){var e=B(),n=Y(),r=I();return function(){e&&e(),n&&n(),r&&r()}}},[B,Y,I,t,o]);var U=r.useCallback(function(){B(),Y(),I()},[B,Y,I]);return r.useEffect(function(){l&&l(U)},[l,U]),r.useEffect(function(){return function(){qr(D.current),qr(z.current),qr(O.current)}},[]),console.log("[OverviewTabMhm] Rendering with values:",{lagSummary:V,score:W,slaPct:S.value,slaPctLoading:S.loading,slaPctError:S.error,hasEntityInfo:!!a,entityInfoKeys:a?Object.keys(a):[]}),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16,marginBottom:24}},r.createElement(at,{label:"Lag Summary",value:V,loading:!1,error:null}),r.createElement(at,{label:"Impact score",value:W,loading:!1,error:null,onClick:H?X:void 0,color:q(W),showAlertBorder:null!==W&&W>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:S.value,unit:"%",unitPosition:"after",loading:S.loading,error:S.error,onOpenSearch:function(){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-mhm,").concat(o,")`");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return I()},onClick:R,color:function(){if(null!==S.value&&void 0!==S.value)return S.value<50?"#dc4e41":S.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{padding:16,borderRadius:12,backgroundColor:u.backgroundSecondary,border:"1px solid ".concat(u.border),position:"relative",marginBottom:24}},r.createElement("div",{style:{color:u.textSecondary,fontWeight:600,marginBottom:8}},"State distribution"),p.dataSource&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(p.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(p.searchQuery),"&earliest=-5m&latest=now"),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{B()}catch(e){}},disabled:p.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},p.loading?r.createElement(s(),{size:"small"}):p.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160,fieldColors:{red:16738657,orange:16757575,blue:9031664,green:4576442}},dataSources:{primary:p.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},p.error||"No data available"))),r.createElement("div",{style:{padding:16,borderRadius:12,backgroundColor:u.backgroundSecondary,border:"1px solid ".concat(u.border),position:"relative"}},r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:12}},r.createElement("div",{style:{color:u.textSecondary,fontWeight:600}},"Metrics availability table"),r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,flexShrink:0}},r.createElement(pt(),{value:_,onChange:function(e,t){var n=t.value;M(n||"")},placeholder:"Search metric index or category",style:{width:400,flexShrink:0}}),b.searchQuery&&r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(b.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(b.searchQuery),"&earliest=-5m&latest=now"),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{Y()}catch(e){}},disabled:b.loading},"Refresh"))))),b.loading&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"small"})),!b.loading&&b.error&&r.createElement("div",{style:{color:"#dc4e41",padding:20,textAlign:"center"}},b.error),!b.loading&&!b.error&&b.data.length>0&&(0===T.length?r.createElement("div",{style:{color:u.textSecondary,padding:20,textAlign:"center"}},"No results match your search"):r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"metric_index"),r.createElement(dt().HeadCell,null,"metric_category"),r.createElement(dt().HeadCell,null,"metric_last_time_seen"),r.createElement(dt().HeadCell,null,"lag_summary"),r.createElement(dt().HeadCell,null,"metric_max_lag_allowed"),r.createElement(dt().HeadCell,null,"time_measure"),r.createElement(dt().HeadCell,null,"state")),r.createElement(dt().Body,null,T.slice(0,5).map(function(e){var t="".concat(e.metric_index||"","_").concat(e.metric_category||"","_").concat(e.metric_last_time_seen||"");return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,null,e.metric_index||""),r.createElement(dt().Cell,null,e.metric_category||""),r.createElement(dt().Cell,null,e.metric_last_time_seen||""),r.createElement(dt().Cell,null,e.lag_summary||""),r.createElement(dt().Cell,null,e.metric_max_lag_allowed||""),r.createElement(dt().Cell,null,e.time_measure||""),r.createElement(dt().Cell,null,r.createElement("span",{style:N(F(e.state))})))})))),!b.loading&&!b.error&&0===b.data.length&&r.createElement("div",{style:{color:u.textSecondary,padding:20,textAlign:"center"}},"No data available"))),r.createElement(ci,{open:A,scoreDefinition:H,tenantId:t||void 0,component:n,objectId:o||void 0,onClose:function(){return L(!1)}}))};var ks=n(23362),Cs=n.n(ks),Es=n(56679),As=n.n(Es);function Ls(e){return Ls="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ls(e)}function Os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ts(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!K.current&&_(function(e){if(0===e.length){var t=null==a?void 0:a.default_metric;if(t)if(Array.isArray(t)){var r=t.filter(function(e){return"string"==typeof e}).map(function(e){var t=n.find(function(t){return t.value===e});if(t)return t.value;var r=n.find(function(t){return t.value.toLowerCase()===String(e).toLowerCase()});return r?r.value:null}).filter(function(e){return null!==e});if(r.length>0)return K.current=!0,r}else if("string"==typeof t){var o=n.find(function(e){return e.value===t});if(o)return K.current=!0,[o.value];var i=n.find(function(e){return e.value.toLowerCase()===t.toLowerCase()});if(i)return K.current=!0,[i.value]}return K.current=!0,[n[0].value]}return e}),H(!1)},error:function(e){console.error("[OverviewTabFlx] Failed to load FLX metrics options:",e),I([]),H(!1)},complete:function(){H(!1)}}),function(){qr(pe.current)}}catch(e){console.error("[OverviewTabFlx] Error loading FLX metrics options:",(null==e?void 0:e.message)||"Unknown error"),I([]),H(!1)}}}},[a,t,p,h]),ve=r.useCallback(function(){if(t&&o){var e=v.length>0?v.map(function(e){return"metric_name=trackme.splk.flx.".concat(e)}).join(" OR "):"",n="*"===z?"":'object="*'.concat(z,'*"'),r="| mcatalog values(metric_name) as metrics where `trackme_metrics_idx(".concat(t,')` tenant_id="').concat(t,'" ').concat(e,' object_id!="').concat(o,'" ').concat(n," by object, object_id | fields object, object_id | sort 0 object");qr(me.current),G(!0);try{return me.current=Hr(r,{earliest_time:p,latest_time:h},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=[];t.forEach(function(e){e.object&&e.object_id&&n.push({label:String(e.object),value:String(e.object_id),object:String(e.object)})}),V(n),G(!1)},error:function(e){console.error("[OverviewTabFlx] Failed to load FLX entities options:",e),V([]),G(!1)},complete:function(){G(!1)}}),function(){qr(me.current)}}catch(e){console.error("[OverviewTabFlx] Error loading FLX entities options:",(null==e?void 0:e.message)||"Unknown error"),V([]),G(!1)}}},[t,o,v,z,p,h]),_e=r.useCallback(function(){if(!t||!o||0===v.length)return{chartQuery:null,singleStatsQuery:null};var e=v.map(function(e){return"metric_name=trackme.splk.flx.".concat(e)}).join(" OR "),n=0===B.length?"object_id=".concat(o):"(object_id=".concat(o," OR ").concat(B.map(function(e){return"object_id=".concat(e)}).join(" OR "),")"),r="*"===z?"":'object="*'.concat(z,'*"');return{chartQuery:"| mstats ".concat(w,"(_value) as value where `trackme_metrics_idx(").concat(t,')` tenant_id="').concat(t,'" object_category="splk-flx" ').concat(n," ").concat(r," ").concat(e,' by object, metric_name span=5m | rex field=metric_name "^trackme.splk.flx.(?.*)" | eval key = object . ":" . metric_name | timechart `auto_span` useother=f limit=100 ').concat(w,"(value) as ").concat(w," by key"),singleStatsQuery:"| mstats ".concat(w,"(_value) as value where `trackme_metrics_idx(").concat(t,')` tenant_id="').concat(t,'" object_category="splk-flx" ').concat(n," ").concat(r," ").concat(e," by object, metric_name span=5m | rex field=metric_name \"^trackme.splk.flx.(?.*)\" | stats max(value) as max, perc95(value) as perc95, avg(value) as avg, min(value) as min | foreach max, perc95, avg, min [ eval <> = if('<>'=0 OR '<>'=1, round('<>', 0), round('<>', 2)) ]")}},[t,o,v,w,B,z]),Me=r.useCallback(function(){if(t){var e=_e().chartQuery;if(e){qr(he.current),se(function(e){return Ts(Ts({},e),{},{loading:!0,error:null})});try{return he.current=Hr(e,{earliest_time:p,latest_time:h,count:0},{next:function(t){var n,r=Array.isArray(null==t?void 0:t.results)?t.results:[];if(0!==r.length){var a=[];r.forEach(function(e){Object.keys(e||{}).forEach(function(e){a.includes(e)||a.push(e)})});var o=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},i=a.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||o(e));var t}),l=a.find(function(e){return o(e)});l&&(i=[l].concat(function(e){if(Array.isArray(e))return Ps(e)}(n=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||js(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var s=i.map(function(e){return r.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),u=i.map(function(e){return{name:e}}),c={requestParams:{offset:0,count:r.length},data:{fields:u,columns:s},meta:{totalCount:r.length}};se({dataSource:c,loading:!1,error:null,searchQuery:e})}else se({dataSource:null,loading:!1,error:null,searchQuery:e})},error:function(t){console.error("[OverviewTabFlx] FLX chart search error:",t),se({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load chart data",searchQuery:e})}}),function(){qr(he.current)}}catch(e){se({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else se({dataSource:null,loading:!1,error:null,searchQuery:null})}},[t,p,h,_e]),we=r.useCallback(function(){if(t){var e=_e().singleStatsQuery;if(e){qr(ye.current),Q({perc95:{value:null,loading:!0,error:null},max:{value:null,loading:!0,error:null},avg:{value:null,loading:!0,error:null},min:{value:null,loading:!0,error:null}});try{return ye.current=Hr(e,{earliest_time:p,latest_time:h,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0];Q({perc95:{value:void 0!==n.perc95?parseFloat(String(n.perc95)):null,loading:!1,error:null},max:{value:void 0!==n.max?parseFloat(String(n.max)):null,loading:!1,error:null},avg:{value:void 0!==n.avg?parseFloat(String(n.avg)):null,loading:!1,error:null},min:{value:void 0!==n.min?parseFloat(String(n.min)):null,loading:!1,error:null}})}else Q({perc95:{value:null,loading:!1,error:null},max:{value:null,loading:!1,error:null},avg:{value:null,loading:!1,error:null},min:{value:null,loading:!1,error:null}})},error:function(e){console.error("[OverviewTabFlx] FLX single stats search error:",e);var t=(null==e?void 0:e.message)||"Failed to load stats";Q({perc95:{value:null,loading:!1,error:t},max:{value:null,loading:!1,error:t},avg:{value:null,loading:!1,error:t},min:{value:null,loading:!1,error:t}})}}),function(){qr(ye.current)}}catch(e){var n=(null==e?void 0:e.message)||"Failed to run single stats search";Q({perc95:{value:null,loading:!1,error:n},max:{value:null,loading:!1,error:n},avg:{value:null,loading:!1,error:n},min:{value:null,loading:!1,error:n}})}}else Q({perc95:{value:null,loading:!1,error:null},max:{value:null,loading:!1,error:null},avg:{value:null,loading:!1,error:null},min:{value:null,loading:!1,error:null}})}},[t,p,h,_e]),Se=r.useCallback(function(){if(t&&o){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-flx,").concat(o,")`");qr(be.current),ne({value:null,loading:!0,error:null});try{return be.current=Hr(e,{earliest_time:"-90d@d",latest_time:"now"},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=n.percent_sla||n.sla_pct||n.sla_percentage||n.pct;ne({value:null!=r?parseFloat(String(r)):null,loading:!1,error:null})}else ne({value:null,loading:!1,error:null})},error:function(e){ne({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load SLA"})}}),function(){qr(be.current)}}catch(e){ne({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run SLA search"})}}},[t,o]),xe=r.useCallback(function(){var e;if(t&&i){var n="/app/trackme/trackMe_sla?form.tk_tenant_id=".concat(encodeURIComponent(t),"&form.tk_object_category=splk-flx&form.tk_object=").concat(encodeURIComponent(i)),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}},[t,i]),ke=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===Ls(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&void 0!==t.score&&null!==t.score)return parseFloat(String(t.score))}return void 0!==a.score&&null!==a.score?parseFloat(String(a.score)):null},[a]),Ce=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===Ls(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return a.score_definition?a.score_definition:null},[a]),Ee=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),Ae=r.useCallback(function(){Ce&&oe(!0)},[Ce]);r.useEffect(function(){if(a&&t){var e=ge();return function(){e&&e()}}},[ge,a,t,p,h]),r.useEffect(function(){if(t&&o&&0!==v.length){var e=ve();return function(){e&&e()}}},[ve,t,o,v,z,p,h]),r.useEffect(function(){if(t&&0!==v.length){var e=Me(),n=we();return function(){e&&e(),n&&n()}}},[Me,we,t,v,w,B,z,p,h]),r.useEffect(function(){if(t&&o){var e=Se();return function(){e&&e()}}},[Se,t,o]),r.useEffect(function(){return function(){qr(he.current),qr(ye.current),qr(be.current),qr(pe.current),qr(me.current)}},[]);var Le=r.useCallback(function(){v.length>0&&(ve(),Me(),we())},[ve,Me,we,v.length]);return r.useEffect(function(){l&&l(Le)},[l,Le]),r.useEffect(function(){return function(){qr(pe.current),qr(me.current),qr(he.current),qr(ye.current)}},[]),r.createElement("div",{style:{marginBottom:-20}},(!a||!a.splk_flx_metrics_populate_search||W)&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40,gap:12}},r.createElement(s(),{size:"medium"}),r.createElement("span",{style:{color:u.textSecondary,fontSize:14}},"Loading metrics...")),a&&(!W||(null==a?void 0:a.splk_flx_metrics_populate_search))&&r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:p,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;y(n),b(r)},labelMaxChars:1/0,"aria-label":"FLX time range"})))),a&&a.splk_flx_metrics_populate_search&&!W&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:16,marginBottom:24}},r.createElement(at,{label:"Perc95",value:Z.perc95.value,loading:Z.perc95.loading,error:Z.perc95.error,onOpenSearch:function(){var e=_e().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return we()},numberPrecision:2}),r.createElement(at,{label:"Max",value:Z.max.value,loading:Z.max.loading,error:Z.max.error,onOpenSearch:function(){var e=_e().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return we()},numberPrecision:2}),r.createElement(at,{label:"Avg",value:Z.avg.value,loading:Z.avg.loading,error:Z.avg.error,onOpenSearch:function(){var e=_e().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return we()},numberPrecision:2}),r.createElement(at,{label:"Min",value:Z.min.value,loading:Z.min.loading,error:Z.min.error,onOpenSearch:function(){var e=_e().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return we()},numberPrecision:2}),r.createElement(at,{label:"Impact score",value:ke,loading:!1,error:null,onClick:Ce?Ae:void 0,color:Ee(ke),showAlertBorder:null!==ke&&ke>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:te.value,unit:"%",unitPosition:"after",loading:te.loading,error:te.error,onOpenSearch:function(){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-flx,").concat(o,")`");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Se()},onClick:xe,color:function(){if(null!==te.value&&void 0!==te.value)return te.value<50?"#dc4e41":te.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),a&&a.splk_flx_metrics_populate_search&&!W&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16,marginBottom:24,maxWidth:"1400px"}},r.createElement("div",{style:{minWidth:250,maxWidth:400}},r.createElement("label",{htmlFor:"flx-metrics-multiselect",id:"flx-metrics-multiselect-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Select metric(s):"),r.createElement(As(),{id:"flx-metrics-multiselect","aria-labelledby":"flx-metrics-multiselect-label",values:v,onChange:function(e,t){var n=t.values;_((n||[]).map(function(e){return String(e)}))},disabled:W||0===F.length,placeholder:W?"Loading...":0===F.length?"No metrics available":"Select metrics...",style:{width:"100%"}},F.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"flx-stats-mode-select",id:"flx-stats-mode-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Stats mode:"),r.createElement(ht(),{id:"flx-stats-mode-select","aria-labelledby":"flx-stats-mode-select-label",value:w,onChange:function(e,t){var n=t.value;S(n)},style:{width:"100%"}},r.createElement(ht().Option,{label:"latest",value:"latest"}),r.createElement(ht().Option,{label:"avg",value:"avg"}),r.createElement(ht().Option,{label:"max",value:"max"}),r.createElement(ht().Option,{label:"sum",value:"sum"}),r.createElement(ht().Option,{label:"min",value:"min"}),r.createElement(ht().Option,{label:"perc95",value:"perc95"}),r.createElement(ht().Option,{label:"stdev",value:"stdev"}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"flx-chart-mode-select",id:"flx-chart-mode-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Chart mode:"),r.createElement(ht(),{id:"flx-chart-mode-select","aria-labelledby":"flx-chart-mode-select-label",value:"line"===E?"line":"column"===E?"default"===O?"column_unstacked":"stacked"===O?"column_stacked":"column_stacked100":"area"===E?"default"===O?"area_unstacked":"stacked"===O?"area_stacked":"area_stacked100":"line",onChange:function(e,t){var n=t.value;"column_unstacked"===n?(A("column"),T("default")):"column_stacked"===n?(A("column"),T("stacked")):"column_stacked100"===n?(A("column"),T("stacked100")):"area_unstacked"===n?(A("area"),T("default")):"area_stacked"===n?(A("area"),T("stacked")):"area_stacked100"===n?(A("area"),T("stacked100")):"line"===n&&(A("line"),T("default"))},style:{width:"100%"}},r.createElement(ht().Option,{label:"column (unstacked)",value:"column_unstacked"}),r.createElement(ht().Option,{label:"column (stacked)",value:"column_stacked"}),r.createElement(ht().Option,{label:"column (100% stacked)",value:"column_stacked100"}),r.createElement(ht().Option,{label:"area (unstacked)",value:"area_unstacked"}),r.createElement(ht().Option,{label:"area (stacked)",value:"area_stacked"}),r.createElement(ht().Option,{label:"area (100% stacked)",value:"area_stacked100"}),r.createElement(ht().Option,{label:"line",value:"line"}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"flx-prefilter-input",id:"flx-prefilter-input-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Pre-filter entities:"),r.createElement("input",{id:"flx-prefilter-input","aria-labelledby":"flx-prefilter-input-label",type:"text",value:z,onChange:function(e){j(e.target.value||"*")},placeholder:"*",style:{width:"100%",maxWidth:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(u.border),backgroundColor:u.backgroundSecondary,color:u.textSecondary,fontSize:14,boxSizing:"border-box"}})),r.createElement("div",{style:{minWidth:250,maxWidth:400}},r.createElement("label",{htmlFor:"flx-entities-multiselect",id:"flx-entities-multiselect-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Add entities for same metrics:"),r.createElement(As(),{id:"flx-entities-multiselect","aria-labelledby":"flx-entities-multiselect-label",values:B,onChange:function(e,t){var n=t.values;Y((n||[]).map(function(e){return String(e)}))},disabled:$||0===X.length,placeholder:$?"Loading...":0===X.length?"No entities available":"Select entities...",style:{width:"100%"}},X.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.object,value:e.value})})))),a&&a.splk_flx_metrics_populate_search&&!W&&r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box",marginTop:24}},le.dataSource&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(le.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(le.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{Me()}catch(e){}},disabled:le.loading},"Refresh")))),le.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!le.loading&&le.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},le.error),!le.loading&&!le.error&&le.dataSource&&de>0&&r.createElement("div",{ref:ue,style:{width:"100%",maxWidth:"100%",height:400,boxSizing:"border-box"}},function(){var e;e="default"===O?"none":"stacked"===O?"stacked":"stacked100";var t={nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"};return"line"===E?r.createElement(Rt(),{key:"flx-chart-".concat(E,"-").concat(O,"-").concat(de),width:de,height:400,options:t,dataSources:{primary:le.dataSource}}):"area"===E?r.createElement(Cs(),{key:"flx-chart-".concat(E,"-").concat(O,"-").concat(de),width:de,height:400,options:Ts(Ts({},t),{},{stackMode:e}),dataSources:{primary:le.dataSource}}):r.createElement(Ft(),{key:"flx-chart-".concat(E,"-").concat(O,"-").concat(de),width:de,height:400,options:Ts(Ts({},t),{},{stackMode:e}),dataSources:{primary:le.dataSource}})}()),!le.loading&&!le.error&&!le.dataSource&&r.createElement("div",{style:{color:u.textSecondary,display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},0===v.length?"Select metric(s) to display chart":"No chart data available")),ae&&r.createElement(ci,{open:ae,scoreDefinition:Ce,tenantId:t||void 0,component:n,objectId:o||void 0,onClose:function(){return oe(!1)}}))};function Ys(e){return Ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ys(e)}function Ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fs(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var a=Object.keys(r[0]||{}),o=a.map(function(e){return{name:e}}),i=a.map(function(e){return r.map(function(t){return t[e]||null})}),l={requestParams:{offset:0,count:r.length},data:{fields:o,columns:i},meta:{totalCount:r.length}};t({dataSource:l,loading:!1,error:null,searchQuery:e})}else t({dataSource:null,loading:!1,error:null,searchQuery:e})},error:function(n){t({dataSource:null,loading:!1,error:(null==n?void 0:n.message)||"Failed to load pie chart data",searchQuery:e})}})};return qr(Me.current),qr(we.current),qr(Se.current),Me.current=s(o,M),we.current=s(i,k),Se.current=s(l,L),function(){qr(Me.current),qr(we.current),qr(Se.current)}}}},[a,g,p,h,Te]),ze=r.useCallback(function(){if(a&&"global"===g){var e=Te("splk_fqm_table_summary_formated_search");if(e){var t=Ql(e,p,h,"modalTimeSplkFqm");D(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),P(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})});var n="".concat(t,' | table total_fields_passed, total_fields_failed | transpose | rename column as category, "row 1" as value'),r="".concat(t,' | table count_success, count_failure | transpose | rename column as category, "row 1" as value'),o=function(e,t){return Hr(e,{earliest_time:p,latest_time:h,count:0},{next:function(n){var r=Array.isArray(null==n?void 0:n.results)?n.results:[];if(r.length>0){var a=Object.keys(r[0]||{}),o=a.map(function(e){return{name:e}}),i=a.map(function(e){return r.map(function(t){return t[e]||null})}),l={requestParams:{offset:0,count:r.length},data:{fields:o,columns:i},meta:{totalCount:r.length}};t({dataSource:l,loading:!1,error:null,searchQuery:e})}else t({dataSource:null,loading:!1,error:null,searchQuery:e})},error:function(n){t({dataSource:null,loading:!1,error:(null==n?void 0:n.message)||"Failed to load pie chart data",searchQuery:e})}})};return qr(xe.current),qr(ke.current),xe.current=o(n,D),ke.current=o(r,P),function(){qr(xe.current),qr(ke.current)}}}},[a,g,p,h,Te]),je=r.useCallback(function(){if(a){var e=Te("splk_fqm_table_summary_formated_search");if(e){var t=Ql(e,p,h,"modalTimeSplkFqm");return qr(Ce.current),_e(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),Ce.current=Hr(t,{earliest_time:p,latest_time:h,count:0},{next:function(e){var n=Array.isArray(null==e?void 0:e.results)?e.results:[];_e({data:n,loading:!1,error:null,searchQuery:t})},error:function(e){_e({data:[],loading:!1,error:(null==e?void 0:e.message)||"Failed to load table data",searchQuery:t})}}),function(){qr(Ce.current)}}}},[a,p,h,Te]),Pe=r.useCallback(function(){if(a&&"field"===g){var e=Te("splk_fqm_table_summary_search");if(e){var t=Ql(e,p,h,"modalTimeSplkFqm");N(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),R(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),q(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),U(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),K(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),Ee.current.forEach(function(e){return qr(e)}),Ee.current=[];var n=function(e,n){return Hr("".concat(t," ").concat(e),{earliest_time:p,latest_time:h,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var r=t[0],a=Object.values(r).find(function(e){return null!=e&&""!==String(e).trim()});if(void 0!==a){var o=String(a).trim();if(o.endsWith("%")){var i=o.replace("%","").trim(),l=parseFloat(i);n({value:Number.isNaN(l)?null:l,loading:!1,error:null})}else{var s=parseFloat(o);n({value:Number.isNaN(s)?null:s,loading:!1,error:null})}}else n({value:null,loading:!1,error:null})}else n({value:null,loading:!1,error:null})},error:function(e){n({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})};Ee.current.push(n("| fields count_total",function(e){return N(e)})),Ee.current.push(n('| fields percent_success | fieldformat percent_success=tostring(percent_success)."%"',function(e){R(e)})),Ee.current.push(n('| fields percent_coverage | fieldformat percent_coverage=tostring(percent_coverage)."%"',function(e){q(e)})),Ee.current.push(n("| fields distinct_value_count",function(e){return U(e)}));var r="".concat(t," | fields fieldstatus");return Ee.current.push(Hr(r,{earliest_time:p,latest_time:h,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=Object.values(n).find(function(e){return null!=e&&""!==String(e).trim()}),a=void 0!==r?String(r).trim():null;K({value:a,loading:!1,error:null})}else K({value:null,loading:!1,error:null})},error:function(e){K({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load status"})}})),function(){Ee.current.forEach(function(e){return qr(e)}),Ee.current=[]}}}},[a,g,p,h,Te]),Be=r.useCallback(function(){if(a&&"global"===g){var e=Te("splk_fqm_table_summary_search");if(e){var t=Ql(e,p,h,"modalTimeSplkFqm");oe(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),se(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),de(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),me(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),be(function(e){return Fs(Fs({},e),{},{loading:!0,error:null})}),Ee.current.forEach(function(e){return qr(e)}),Ee.current=[];var n=function(e,n){return Hr("".concat(t," ").concat(e),{earliest_time:p,latest_time:h,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var r=t[0],a=Object.values(r).find(function(e){return null!=e&&""!==String(e).trim()});if(void 0!==a){var o=String(a).trim();if(o.endsWith("%")){var i=o.replace("%","").trim(),l=parseFloat(i);n({value:Number.isNaN(l)?null:l,loading:!1,error:null})}else{var s=parseFloat(o);n({value:Number.isNaN(s)?null:s,loading:!1,error:null})}}else n({value:null,loading:!1,error:null})}else n({value:null,loading:!1,error:null})},error:function(e){n({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"})}})};Ee.current.push(n("| fields total_fields_checked",function(e){return oe(e)})),Ee.current.push(n("| fields total_fields_passed",function(e){return se(e)})),Ee.current.push(n("| fields total_fields_failed",function(e){return de(e)})),Ee.current.push(n('| fields percent_success | fieldformat percent_success=tostring(percent_success)."%"',function(e){me(e)}));var r="".concat(t," | fields fieldstatus");return Ee.current.push(Hr(r,{earliest_time:p,latest_time:h,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=Object.values(n).find(function(e){return null!=e&&""!==String(e).trim()}),a=void 0!==r?String(r).trim():null;be({value:a,loading:!1,error:null})}else be({value:null,loading:!1,error:null})},error:function(e){be({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load status"})}})),function(){Ee.current.forEach(function(e){return qr(e)}),Ee.current=[]}}}},[a,g,p,h,Te]),Ye=r.useCallback(function(e,n,r){var a,o=Te("splk_fqm_search_sample_events_raw");if(o&&t){var i=Ql(o,p,h,"modalTimeSplkFqm"),l=i;"value"===n?l="null"===r||null===r?"".concat(i,'\n| where isnull(value) OR value=""'):"".concat(i,'\n| where value="').concat(r,'"'):"description"===n?l="".concat(i,'\n| where description="').concat(r,'"'):"status"===n?l="".concat(i,'\n| where status="').concat(r,'"'):"fields_status"===n?"total_fields_failed"===r?l="".concat(i,'\n| where status="failure"'):"total_fields_passed"===r&&(l="".concat(i,'\n| where status="success"')):"count"===n&&("count_failure"===r?l="".concat(i,'\n| where status="failure"'):"count_success"===r&&(l="".concat(i,'\n| where status="success"')));var s="/app/trackme/search?q=".concat(encodeURIComponent(l),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),u=null!==(a=window.Splunk)&&void 0!==a&&null!==(a=a.util)&&void 0!==a&&a.make_url?window.Splunk.util.make_url(s):s;window.open(u,"_blank","noopener")}},[Te,t,p,h]),Ne=r.useMemo(function(){return o||(null==a?void 0:a.keyid)||(null==a?void 0:a.object_id)||(i?String(i).split(":").pop():null)},[o,a,i]),Fe=r.useCallback(function(){if(t&&Ne){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-fqm,").concat(Ne,")`");qr(Ae.current),Q({value:null,loading:!0,error:null});try{return Ae.current=Hr(e,{earliest_time:"-90d@d",latest_time:"now"},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=n.percent_sla||n.sla_pct||n.sla_percentage||n.pct;Q({value:null!=r?parseFloat(String(r)):null,loading:!1,error:null})}else Q({value:null,loading:!1,error:null})},error:function(e){Q({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load SLA"})}}),function(){qr(Ae.current)}}catch(e){Q({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run SLA search"})}}},[t,Ne]),Ie=r.useCallback(function(){var e;if(t&&i){var n="/app/trackme/trackMe_sla?form.tk_tenant_id=".concat(encodeURIComponent(t),"&form.tk_object_category=splk-fqm&form.tk_object=").concat(encodeURIComponent(i)),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}},[t,i]),Re=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===Ys(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&void 0!==t.score&&null!==t.score)return parseFloat(String(t.score))}return void 0!==a.score&&null!==a.score?parseFloat(String(a.score)):null},[a]),We=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===Ys(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return a.score_definition?a.score_definition:null},[a]),He=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),qe=r.useCallback(function(){We&&ne(!0)},[We]);r.useEffect(function(){if(a){var e=je();return function(){e&&e()}}},[je,a,p,h]),r.useEffect(function(){if("field"===g){var e=De(),t=Pe();return function(){e&&e(),t&&t()}}var n=Be();return function(){n&&n()}},[g,De,Pe,Be]);var Xe=r.useCallback(function(){je(),"field"===g?(De(),Pe()):(ze(),Be())},[je,g,De,Pe,ze,Be]);r.useEffect(function(){l&&l(Xe)},[l,Xe]),r.useEffect(function(){if("global"===g){var e=ze();return function(){e&&e()}}},[g,ze]),r.useEffect(function(){if(t&&Ne){var e=Fe();return function(){e&&e()}}},[Fe,t,Ne]),r.useEffect(function(){return function(){qr(Me.current),qr(we.current),qr(Se.current),qr(xe.current),qr(ke.current),qr(Ce.current),Ee.current.forEach(function(e){return qr(e)}),qr(Ae.current)}},[]);var Ve=r.useMemo(function(){return"global"===g?["fieldname","fieldstatus","percent_success","success_fields","failed_fields","total_fields_checked","total_fields_failed","total_fields_passed","metadata.datamodel","metadata.index","metadata.sourcetype","count_total","count_success","count_failure"]:["fieldname","recommended","fieldstatus","percent_coverage","percent_success","metadata.index","metadata.sourcetype","count_total","count_success","count_failure","distinct_value_count","quality_results_description","field_values","regex_expression"]},[g]);return r.createElement("div",{style:{marginBottom:-20}},r.createElement("style",null,"\n /* Ensure horizontal scrollbar is visible and styled */\n .fqm-summary-table-scroll::-webkit-scrollbar {\n height: 8px;\n }\n .fqm-summary-table-scroll::-webkit-scrollbar-track {\n background: ".concat(u.backgroundSecondary,";\n border-radius: 4px;\n }\n .fqm-summary-table-scroll::-webkit-scrollbar-thumb {\n background: ").concat(u.border,";\n border-radius: 4px;\n }\n .fqm-summary-table-scroll::-webkit-scrollbar-thumb:hover {\n background: ").concat(u.textSecondary,";\n }\n /* Prevent text selection issues during scroll */\n .fqm-summary-table-scroll {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n .fqm-summary-table-scroll * {\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n }\n ")),a&&r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:p,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;y(n),b(r)},labelMaxChars:1/0,"aria-label":"FQM time range"})))),"field"===g&&a&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16,marginBottom:24}},r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:16,position:"relative"}},r.createElement("h3",{style:{marginTop:0,marginBottom:12,fontSize:14,fontWeight:600,color:u.textSecondary}},"Top values sampled (click for drilldown)"),_.dataSource&&_.searchQuery&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(_.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(_.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{De()}catch(e){}},disabled:_.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},_.loading?r.createElement(s(),{size:"small"}):_.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",cursor:"pointer"},onClick:function(){var e;if(null!==(e=_.dataSource)&&void 0!==e&&null!==(e=e.data)&&void 0!==e&&null!==(e=e.columns)&&void 0!==e&&null!==(e=e[0])&&void 0!==e&&e[0]){var t=_.dataSource.data.columns[0][0];Ye(_,"value",t)}},onKeyDown:function(e){var t;if(("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==(t=_.dataSource)&&void 0!==t&&null!==(t=t.data)&&void 0!==t&&null!==(t=t.columns)&&void 0!==t&&null!==(t=t[0])&&void 0!==t&&t[0])){var n=_.dataSource.data.columns[0][0];Ye(_,"value",n)}},role:"button",tabIndex:0},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:_.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},_.error||"No data available"))),r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:16,position:"relative"}},r.createElement("h3",{style:{marginTop:0,marginBottom:12,fontSize:14,fontWeight:600,color:u.textSecondary}},"Top fields processing description (click for drilldown)"),S.dataSource&&S.searchQuery&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(S.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(S.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{De()}catch(e){}},disabled:S.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},S.loading?r.createElement(s(),{size:"small"}):S.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",cursor:"pointer"},onClick:function(){var e;if(null!==(e=S.dataSource)&&void 0!==e&&null!==(e=e.data)&&void 0!==e&&null!==(e=e.columns)&&void 0!==e&&null!==(e=e[0])&&void 0!==e&&e[0]){var t=S.dataSource.data.columns[0][0];Ye(S,"description",t)}},onKeyDown:function(e){var t;if(("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==(t=S.dataSource)&&void 0!==t&&null!==(t=t.data)&&void 0!==t&&null!==(t=t.columns)&&void 0!==t&&null!==(t=t[0])&&void 0!==t&&t[0])){var n=S.dataSource.data.columns[0][0];Ye(S,"description",n)}},role:"button",tabIndex:0},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:S.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},S.error||"No data available"))),r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:16,position:"relative"}},r.createElement("h3",{style:{marginTop:0,marginBottom:12,fontSize:14,fontWeight:600,color:u.textSecondary}},"Top fields processing status (click for drilldown)"),A.dataSource&&A.searchQuery&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(A.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(A.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{De()}catch(e){}},disabled:A.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},A.loading?r.createElement(s(),{size:"small"}):A.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",cursor:"pointer"},onClick:function(){var e;if(null!==(e=A.dataSource)&&void 0!==e&&null!==(e=e.data)&&void 0!==e&&null!==(e=e.columns)&&void 0!==e&&null!==(e=e[0])&&void 0!==e&&e[0]){var t=A.dataSource.data.columns[0][0];Ye(A,"status",t)}},onKeyDown:function(e){var t;if(("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==(t=A.dataSource)&&void 0!==t&&null!==(t=t.data)&&void 0!==t&&null!==(t=t.columns)&&void 0!==t&&null!==(t=t[0])&&void 0!==t&&t[0])){var n=A.dataSource.data.columns[0][0];Ye(A,"status",n)}},role:"button",tabIndex:0},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160,fieldColors:{success:11988406,failure:16759482}},dataSources:{primary:A.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},A.error||"No data available")))),"global"===g&&a&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16,marginBottom:24}},r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:16,position:"relative"}},r.createElement("h3",{style:{marginTop:0,marginBottom:12,fontSize:14,fontWeight:600,color:u.textSecondary}},"Global fields statuses (click for drilldown)"),T.dataSource&&T.searchQuery&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(T.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(T.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{ze()}catch(e){}},disabled:T.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},T.loading?r.createElement(s(),{size:"small"}):T.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",cursor:"pointer"},onClick:function(){var e;if(null!==(e=T.dataSource)&&void 0!==e&&null!==(e=e.data)&&void 0!==e&&null!==(e=e.columns)&&void 0!==e&&null!==(e=e[0])&&void 0!==e&&e[0]){var t=T.dataSource.data.columns[0][0];Ye(T,"fields_status",t)}},onKeyDown:function(e){var t;if(("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==(t=T.dataSource)&&void 0!==t&&null!==(t=t.data)&&void 0!==t&&null!==(t=t.columns)&&void 0!==t&&null!==(t=t[0])&&void 0!==t&&t[0])){var n=T.dataSource.data.columns[0][0];Ye(T,"fields_status",n)}},role:"button",tabIndex:0},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:T.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},T.error||"No data available"))),r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:16,position:"relative"}},r.createElement("h3",{style:{marginTop:0,marginBottom:12,fontSize:14,fontWeight:600,color:u.textSecondary}},"Global count of success and failures (click for drilldown)"),j.dataSource&&j.searchQuery&&r.createElement("div",{style:{position:"absolute",top:8,right:8}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(j.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(j.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{ze()}catch(e){}},disabled:j.loading},"Refresh")))),r.createElement("div",{style:{width:"100%",height:180,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},j.loading?r.createElement(s(),{size:"small"}):j.dataSource?r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",cursor:"pointer"},onClick:function(){var e;if(null!==(e=j.dataSource)&&void 0!==e&&null!==(e=e.data)&&void 0!==e&&null!==(e=e.columns)&&void 0!==e&&null!==(e=e[0])&&void 0!==e&&e[0]){var t=j.dataSource.data.columns[0][0];Ye(j,"count",t)}},onKeyDown:function(e){var t;if(("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==(t=j.dataSource)&&void 0!==t&&null!==(t=t.data)&&void 0!==t&&null!==(t=t.columns)&&void 0!==t&&null!==(t=t[0])&&void 0!==t&&t[0])){var n=j.dataSource.data.columns[0][0];Ye(j,"count",n)}},role:"button",tabIndex:0},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:j.dataSource}}))):r.createElement("div",{style:{color:u.textSecondary}},j.error||"No data available")))),"field"===g&&a&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:16,marginBottom:24}},r.createElement(at,{label:"Count total events",value:Y.value,loading:Y.loading,error:Y.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields count_total")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Pe()},numberPrecision:0}),r.createElement(at,{label:"Percentage success",value:I.value,unit:"%",unitPosition:"after",loading:I.loading,error:I.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields percent_success")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Pe()},numberPrecision:2}),r.createElement(at,{label:"Percentage coverage",value:H.value,unit:"%",unitPosition:"after",loading:H.loading,error:H.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields percent_coverage")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Pe()},numberPrecision:2}),r.createElement(at,{label:"Distinct count values",value:V.value,loading:V.loading,error:V.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields distinct_value_count")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Pe()},numberPrecision:0}),r.createElement(at,{label:"Status",value:G.value,useCustomDisplay:!0,loading:G.loading,error:G.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields fieldstatus")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Pe()}}),r.createElement(at,{label:"Impact score",value:Re,loading:!1,error:null,onClick:We?qe:void 0,color:He(Re),showAlertBorder:null!==Re&&Re>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:Z.value,unit:"%",unitPosition:"after",loading:Z.loading,error:Z.error,onOpenSearch:function(){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-fqm,").concat(Ne,")`");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Fe()},onClick:Ie,color:function(){if(null!==Z.value&&void 0!==Z.value)return Z.value<50?"#dc4e41":Z.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),"global"===g&&a&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:16,marginBottom:24}},r.createElement(at,{label:"Total fields",value:ae.value,loading:ae.loading,error:ae.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields total_fields_checked")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Be()},numberPrecision:0}),r.createElement(at,{label:"Fields Passed",value:le.value,loading:le.loading,error:le.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields total_fields_passed")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Be()},numberPrecision:0}),r.createElement(at,{label:"Fields Failed",value:ce.value,loading:ce.loading,error:ce.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields total_fields_failed")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Be()},numberPrecision:0}),r.createElement(at,{label:"Percentage success",value:pe.value,unit:"%",unitPosition:"after",loading:pe.loading,error:pe.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields percent_success")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Be()},numberPrecision:2}),r.createElement(at,{label:"Status",value:ye.value,useCustomDisplay:!0,loading:ye.loading,error:ye.error,onOpenSearch:function(){var e=Te("splk_fqm_table_summary_search");if(e&&t){var n,r=Ql(e,p,h,"modalTimeSplkFqm"),a="/app/trackme/search?q=".concat(encodeURIComponent("".concat(r," | fields fieldstatus")),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),o=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}},onRefresh:function(){return Be()}}),r.createElement(at,{label:"Impact score",value:Re,loading:!1,error:null,onClick:We?qe:void 0,color:He(Re),showAlertBorder:null!==Re&&Re>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:Z.value,unit:"%",unitPosition:"after",loading:Z.loading,error:Z.error,onOpenSearch:function(){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-fqm,").concat(Ne,")`");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Fe()},onClick:Ie,color:function(){if(null!==Z.value&&void 0!==Z.value)return Z.value<50?"#dc4e41":Z.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),a&&r.createElement("div",{style:{padding:16,borderRadius:12,backgroundColor:u.backgroundSecondary,border:"1px solid ".concat(u.border),position:"relative"}},r.createElement("div",{style:{marginBottom:12}},r.createElement("div",{style:{color:u.textSecondary,fontWeight:600}},"Summary table")),ve.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(ve.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(ve.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{je()}catch(e){}},disabled:ve.loading},"Refresh")))),ve.loading&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"small"})),!ve.loading&&ve.error&&r.createElement("div",{style:{color:"#dc4e41",padding:20,textAlign:"center"}},ve.error),!ve.loading&&!ve.error&&ve.data.length>0&&r.createElement("div",{className:"fqm-summary-table-scroll",style:{overflowX:"auto",overflowY:"visible",width:"100%",WebkitOverflowScrolling:"touch",scrollbarWidth:"thin",msOverflowStyle:"scrollbar"}},r.createElement(dt(),{style:{minWidth:"max-content",tableLayout:"auto",width:"100%"}},r.createElement(dt().Head,null,Ve.map(function(e){var t={fieldname:120,recommended:100,fieldstatus:100,percent_coverage:120,percent_success:120,"metadata.index":150,"metadata.sourcetype":150,"metadata.datamodel":150,count_total:100,count_success:100,count_failure:100,distinct_value_count:120,quality_results_description:300,field_values:250,regex_expression:200,success_fields:150,failed_fields:150,total_fields_checked:120,total_fields_failed:120,total_fields_passed:120}[e]||100;return r.createElement(dt().HeadCell,{key:e,style:{whiteSpace:"nowrap",minWidth:"".concat(t,"px"),padding:"8px 12px"}},e)})),r.createElement(dt().Body,null,ve.data.map(function(e,t){var n=e.fieldname||"row-".concat(t);return r.createElement(dt().Row,{key:n},Ve.map(function(t){var n,a="quality_results_description"===t||"field_values"===t||"regex_expression"===t;return r.createElement(dt().Cell,{key:t,style:{whiteSpace:a?"pre-wrap":"nowrap",wordBreak:a?"break-word":"normal",maxWidth:a?"none":void 0,padding:"8px 12px"}},null==(n=e[t])?"-":Array.isArray(n)?n.join(", "):String(n))}))})))),!ve.loading&&!ve.error&&0===ve.data.length&&r.createElement("div",{style:{color:u.textSecondary,padding:20,textAlign:"center"}},"No data available")),te&&r.createElement(ci,{open:te,scoreDefinition:We,tenantId:t||void 0,component:n,objectId:o||void 0,onClose:function(){return ne(!1)}}))};function qs(e){return qs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qs(e)}function Xs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vs(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!R.current&&_(function(e){if(0===e.length){var t=n.find(function(e){return e.value.toLowerCase().includes("elapsed")||"elapsed"===e.value});return t?(R.current=!0,[t.value]):(R.current=!0,[n[0].value])}return e}),I(!1)},error:function(e){console.error("[OverviewTabWlk] Failed to load WLK metrics options:",e),Y([]),I(!1)},complete:function(){I(!1)}}),function(){qr(pe.current)}}catch(e){return console.error("[OverviewTabWlk] Error loading WLK metrics options:",(null==e?void 0:e.message)||"Unknown error"),Y([]),void I(!1)}}}},[a,t,p,h]),ve=r.useCallback(function(){return 0===v.length?"":v.map(function(e){var t=e.split(".");return t.length>=2?"".concat(t[t.length-2],".").concat(t[t.length-1]):e}).map(function(e){return"metric_name=trackme.splk.wlk."+e}).join(" OR ")},[v]),_e=r.useCallback(function(){return z?{breakby:"version_id, metric_name",evalExpr:'eval breakbyobj = metric_name . ":" . version_id'}:{breakby:"metric_name",evalExpr:"eval breakbyobj = metric_name"}},[z]),Me=r.useCallback(function(){if(!t||!o||0===v.length)return null;var e=ve(),n=_e(),r=n.breakby,a=n.evalExpr;return"| mstats ".concat(w,"(_value) as value where `trackme_metrics_idx(").concat(t,')` tenant_id="').concat(t,'" object_category="splk-wlk" object_id="').concat(o,'" ').concat(e," by ").concat(r,' span=5m | rex field=metric_name "^trackme.splk.wlk.(?.*)" | ').concat(a," | timechart `auto_span` ").concat(w,"(value) as ").concat(w," by breakbyobj")},[t,o,v,w,ve,_e]),we=r.useCallback(function(){if(t){var e=Me();if(e){qr(me.current),se(function(e){return Vs(Vs({},e),{},{loading:!0,error:null})});try{return me.current=Hr(e,{earliest_time:p,latest_time:h,count:0},{next:function(t){var n,r=Array.isArray(null==t?void 0:t.results)?t.results:[];if(0!==r.length){var a=[];r.forEach(function(e){Object.keys(e||{}).forEach(function(e){a.includes(e)||a.push(e)})});var o=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},i=a.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||o(e));var t}),l=a.find(function(e){return o(e)});l&&(i=[l].concat(function(e){if(Array.isArray(e))return Ks(e)}(n=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||Gs(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var s=i.map(function(e){return r.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),u=i.map(function(e){return{name:e}}),c={requestParams:{offset:0,count:r.length},data:{fields:u,columns:s},meta:{totalCount:r.length}};se({dataSource:c,loading:!1,error:null,searchQuery:e})}else se({dataSource:null,loading:!1,error:null,searchQuery:e})},error:function(t){console.error("[OverviewTabWlk] WLK chart search error:",t),se({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load chart data",searchQuery:e})}}),function(){qr(me.current)}}catch(e){return void se({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else se({dataSource:null,loading:!1,error:null,searchQuery:null})}},[t,p,h,Me]),Se=r.useCallback(function(){if(t&&o){var e=Ql("| `trackme_wlk_single_summary(".concat(t,",").concat(o,")`"),p,h,"modalTimeSplkWlk");qr(he.current),ye.current.forEach(function(e){return qr(e)}),ye.current=[],q({value:null,loading:!0,error:null}),U({value:null,loading:!0,error:null}),K({value:null,loading:!0,error:null}),Q({value:null,loading:!0,error:null});var n=function(t,n){return Hr("".concat(e," ").concat(t),{earliest_time:p,latest_time:h,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var r=t[0],a=Object.values(r).find(function(e){return null!=e&&""!==String(e).trim()});if(void 0!==a){var o=parseFloat(String(a));!Number.isNaN(o)&&Number.isFinite(o)?n({value:o,loading:!1,error:null}):n({value:null,loading:!1,error:null})}else n({value:null,loading:!1,error:null})}else n({value:null,loading:!1,error:null})},error:function(e){n({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load metric"}),console.error("[OverviewTabWlk] Single stats search error:",e)}})};return ye.current.push(n("| fields count_execution",function(e){return q(e)})),ye.current.push(n("| fields count_errors",function(e){return U(e)})),ye.current.push(n("| fields pct_skipped",function(e){return K(e)})),ye.current.push(n("| fields elapsed",function(e){Q(e)})),function(){ye.current.forEach(function(e){return qr(e)}),ye.current=[]}}},[t,o,p,h]),xe=r.useCallback(function(){if(t&&o){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-wlk,").concat(o,")`");qr(be.current),ne({value:null,loading:!0,error:null});try{return be.current=Hr(e,{earliest_time:"-90d@d",latest_time:"now"},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=n.percent_sla||n.sla_pct||n.sla_percentage||n.pct;ne({value:null!=r?parseFloat(String(r)):null,loading:!1,error:null})}else ne({value:null,loading:!1,error:null})},error:function(e){ne({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load SLA"})}}),function(){qr(be.current)}}catch(e){ne({value:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run SLA search"})}}},[t,o]),ke=r.useCallback(function(){var e;if(t&&i){var n="/app/trackme/trackMe_sla?form.tk_tenant_id=".concat(encodeURIComponent(t),"&form.tk_object_category=splk-wlk&form.tk_object=").concat(encodeURIComponent(i)),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}},[t,i]),Ce=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===qs(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&void 0!==t.score&&null!==t.score)return parseFloat(String(t.score))}return void 0!==a.score&&null!==a.score?parseFloat(String(a.score)):null},[a]),Ee=r.useMemo(function(){if(!a)return null;var e=a.status_message_json||a.status_message||null;if(e){var t=null;if("object"===qs(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return a.score_definition?a.score_definition:null},[a]),Ae=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),Le=r.useCallback(function(){Ee&&oe(!0)},[Ee]);r.useEffect(function(){if(a&&t){var e=ge();return function(){e&&e()}}},[ge,a,t,p,h]),r.useEffect(function(){if(t&&o){var e=Se(),n=xe();return function(){e&&e(),n&&n()}}},[Se,xe,t,o,p,h]),r.useEffect(function(){if(t&&0!==v.length){var e=we();return function(){e&&e()}}},[we,t,v,w,z,p,h]);var Te=r.useCallback(function(){v.length>0&&(ge(),Se(),xe(),we())},[ge,Se,xe,we,v.length]);return r.useEffect(function(){l&&l(Te)},[l,Te]),r.useEffect(function(){var e=he.current,t=ye.current;return function(){qr(pe.current),qr(me.current),qr(e),t.forEach(function(e){return qr(e)}),qr(be.current)}},[]),r.createElement("div",{style:{marginBottom:-20}},(!a||!a.splk_wlk_metrics_populate_search||F)&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40,gap:12}},r.createElement(s(),{size:"medium"}),r.createElement("span",{style:{color:u.textSecondary,fontSize:14}},"Loading metrics...")),a&&(!F||(null==a?void 0:a.splk_wlk_metrics_populate_search))&&r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:p,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;y(n),b(r)},labelMaxChars:1/0,"aria-label":"WLK time range"})))),a&&a.splk_wlk_metrics_populate_search&&!F&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:16,marginBottom:24}},r.createElement(at,{label:"# Execution",value:H.value,loading:H.loading,error:H.error,onOpenSearch:function(){if(t&&o){var e,n=Ql("| `trackme_wlk_single_summary(".concat(t,",").concat(o,")` | fields count_execution"),p,h,"modalTimeSplkWlk"),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Se()},numberPrecision:0}),r.createElement(at,{label:"# Errors",value:V.value,loading:V.loading,error:V.error,onOpenSearch:function(){if(t&&o){var e,n=Ql("| `trackme_wlk_single_summary(".concat(t,",").concat(o,")` | fields count_errors"),p,h,"modalTimeSplkWlk"),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Se()},numberPrecision:0}),r.createElement(at,{label:"Skipping search",value:G.value,unit:"%",unitPosition:"after",loading:G.loading,error:G.error,onOpenSearch:function(){if(t&&o){var e,n=Ql("| `trackme_wlk_single_summary(".concat(t,",").concat(o,")` | fields pct_skipped"),p,h,"modalTimeSplkWlk"),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Se()},numberPrecision:2}),r.createElement(at,{label:"Average elapsed duration",value:Z.value,unit:"sec",unitPosition:"after",loading:Z.loading,error:Z.error,onOpenSearch:function(){if(t&&o){var e,n=Ql("| `trackme_wlk_single_summary(".concat(t,",").concat(o,")` | fields elapsed"),p,h,"modalTimeSplkWlk"),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return Se()},numberPrecision:1}),r.createElement(at,{label:"Impact score",value:Ce,loading:!1,error:null,onClick:Ee?Le:void 0,color:Ae(Ce),showAlertBorder:null!==Ce&&Ce>=100,numberPrecision:0,showLinkIcon:!0}),r.createElement(at,{label:"SLA PCT (% time spent in green/blue over 90d)",value:te.value,unit:"%",unitPosition:"after",loading:te.loading,error:te.error,onOpenSearch:function(){var e="| `trackme_get_sla_pct_metrics_per_entity_key(".concat(t,",splk-wlk,").concat(o,")`");if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=-90d@d&latest=now"),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return xe()},onClick:ke,color:function(){if(null!==te.value&&void 0!==te.value)return te.value<50?"#dc4e41":te.value<90?"#f1813f":"#45D4BA"}(),numberPrecision:2})),a&&a.splk_wlk_metrics_populate_search&&!F&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16,marginBottom:24,maxWidth:"1400px"}},r.createElement("div",{style:{minWidth:250,maxWidth:400}},r.createElement("label",{htmlFor:"wlk-metrics-multiselect",id:"wlk-metrics-multiselect-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Select a metric:"),r.createElement(As(),{id:"wlk-metrics-multiselect","aria-labelledby":"wlk-metrics-multiselect-label",values:v,onChange:function(e,t){var n=t.values;_((n||[]).map(function(e){return String(e)}))},disabled:F||0===B.length,placeholder:F?"Loading...":0===B.length?"No metrics available":"Select metrics...",style:{width:"100%"}},B.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"wlk-stats-mode-select",id:"wlk-stats-mode-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Stats mode:"),r.createElement(ht(),{id:"wlk-stats-mode-select","aria-labelledby":"wlk-stats-mode-select-label",value:w,onChange:function(e,t){var n=t.value;S(n)},style:{width:"100%"}},r.createElement(ht().Option,{label:"latest",value:"latest"}),r.createElement(ht().Option,{label:"avg",value:"avg"}),r.createElement(ht().Option,{label:"max",value:"max"}),r.createElement(ht().Option,{label:"sum",value:"sum"}),r.createElement(ht().Option,{label:"min",value:"min"}),r.createElement(ht().Option,{label:"perc95",value:"perc95"}),r.createElement(ht().Option,{label:"stdev",value:"stdev"}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"wlk-chart-mode-select",id:"wlk-chart-mode-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Chart mode:"),r.createElement(ht(),{id:"wlk-chart-mode-select","aria-labelledby":"wlk-chart-mode-select-label",value:"line"===E?"line":"column"===E?"default"===O?"column_unstacked":"stacked"===O?"column_stacked":"column_stacked100":"area"===E?"default"===O?"area_unstacked":"stacked"===O?"area_stacked":"area_stacked100":"line",onChange:function(e,t){var n=t.value;"column_unstacked"===n?(A("column"),T("default")):"column_stacked"===n?(A("column"),T("stacked")):"column_stacked100"===n?(A("column"),T("stacked100")):"area_unstacked"===n?(A("area"),T("default")):"area_stacked"===n?(A("area"),T("stacked")):"area_stacked100"===n?(A("area"),T("stacked100")):"line"===n&&(A("line"),T("default"))},style:{width:"100%"}},r.createElement(ht().Option,{label:"column (unstacked)",value:"column_unstacked"}),r.createElement(ht().Option,{label:"column (stacked)",value:"column_stacked"}),r.createElement(ht().Option,{label:"column (100% stacked)",value:"column_stacked100"}),r.createElement(ht().Option,{label:"area (unstacked)",value:"area_unstacked"}),r.createElement(ht().Option,{label:"area (stacked)",value:"area_stacked"}),r.createElement(ht().Option,{label:"area (100% stacked)",value:"area_stacked100"}),r.createElement(ht().Option,{label:"line",value:"line"}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"wlk-breakby-select",id:"wlk-breakby-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:u.textSecondary}},"Break by version_id:"),r.createElement(ht(),{id:"wlk-breakby-select","aria-labelledby":"wlk-breakby-select-label",value:z?"True":"False",onChange:function(e,t){var n=t.value;j("True"===n)},style:{width:"100%"}},r.createElement(ht().Option,{label:"True",value:"True"}),r.createElement(ht().Option,{label:"False",value:"False"})))),a&&a.splk_wlk_metrics_populate_search&&!F&&r.createElement("div",{style:{background:u.backgroundSecondary,border:"1px solid ".concat(u.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box",marginTop:24}},le.dataSource&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(le.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(le.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{we()}catch(e){}},disabled:le.loading},"Refresh")))),le.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!le.loading&&le.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},le.error),!le.loading&&!le.error&&le.dataSource&&de>0&&r.createElement("div",{ref:ue,style:{width:"100%",maxWidth:"100%",height:400,boxSizing:"border-box"}},function(){var e;e="default"===O?"none":"stacked"===O?"stacked":"stacked100";var t={nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"};return"line"===E?r.createElement(Rt(),{key:"wlk-chart-".concat(E,"-").concat(O,"-").concat(de),width:de,height:400,options:t,dataSources:{primary:le.dataSource}}):"area"===E?r.createElement(Cs(),{key:"wlk-chart-".concat(E,"-").concat(O,"-").concat(de),width:de,height:400,options:Vs(Vs({},t),{},{stackMode:e}),dataSources:{primary:le.dataSource}}):r.createElement(Ft(),{key:"wlk-chart-".concat(E,"-").concat(O,"-").concat(de),width:de,height:400,options:Vs(Vs({},t),{},{stackMode:e}),dataSources:{primary:le.dataSource}})}()),!le.loading&&!le.error&&!le.dataSource&&r.createElement("div",{style:{color:u.textSecondary,display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},0===v.length?"Select metric(s) to display chart":"No chart data available")),ae&&r.createElement(ci,{open:ae,scoreDefinition:Ee,tenantId:t||void 0,component:n,objectId:o||void 0,onClose:function(){return oe(!1)}}))},Zs=function(e){var t=e.tenantId,n=e.component,a=e.entityInfo,o=e.objectId,i=e.object,l=e.onRefreshReady;switch(n){case"dsm":return r.createElement(us,{tenantId:t,component:n,entityInfo:a,objectId:o,object:i,onRefreshReady:l});case"dhm":return r.createElement(bs,{tenantId:t,component:n,entityInfo:a,objectId:o,object:i,onRefreshReady:l});case"mhm":return r.createElement(xs,{tenantId:t,component:n,entityInfo:a,objectId:o,object:i,onRefreshReady:l});case"flx":return r.createElement(Bs,{tenantId:t,component:n,entityInfo:a,objectId:o,object:i,onRefreshReady:l});case"fqm":return r.createElement(Hs,{tenantId:t,component:n,entityInfo:a,objectId:o,object:i,onRefreshReady:l});case"wlk":return r.createElement(Js,{tenantId:t,component:n,entityInfo:a,objectId:o,object:i,onRefreshReady:l});default:return r.createElement(us,{tenantId:t,component:"dsm",entityInfo:a,objectId:o,object:i,onRefreshReady:l})}};function Qs(e){return Qs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qs(e)}function eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?"(".concat(e.join(" OR "),")"):e[0],i="splk-".concat(n);return"(`trackme_idx(".concat(t,')` sourcetype=trackme:stateful_alerts tenant_id="').concat(t,'" object_category=').concat(i," ").concat(r,") OR (`trackme_notable_idx(").concat(t,')` tenant_id="').concat(t,'" object_category=').concat(i," ").concat(r,")")},[t,n,o,a]),N=r.useCallback(function(){var e=Y();if(e&&t){try{var n,r;null===(n=j.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}_(function(e){return tu(tu({},e),{},{loading:!0,error:null})});var a="".concat(e," | timechart limit=40 useother=t minspan=5m bins=1000 count by sourcetype");try{var o=Ee.A.create({search:a,earliest_time:d,latest_time:y},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=Object.keys(t[0]).filter(function(e){return"_time"!==e}),r=n.map(function(e){return t.map(function(t){var n=t[e];return null!=n?n:null})}),o=t.map(function(e){return e._time});r.unshift(o);var i=[{name:"_time"}].concat(function(e){if(Array.isArray(e))return ou(e)}(s=n.map(function(e){return{name:e}}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||au(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l={requestParams:{offset:0,count:t.length},data:{fields:i,columns:r},meta:{totalCount:t.length}};_({dataSource:l,loading:!1,error:null,searchQuery:a})}else _({dataSource:null,loading:!1,error:null,searchQuery:a})}var s},error:function(e){_({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:a})},complete:function(){}});return j.current=o,function(){try{o.unsubscribe()}catch(e){}}}catch(e){_({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else _({dataSource:null,loading:!1,error:null,searchQuery:null})},[Y,t,d,y]),F=r.useCallback(function(){var e=Y();if(e&&t){try{var n,r;null===(n=P.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}S(function(e){return tu(tu({},e),{},{loading:!0,error:null})});var a=e;try{var o=Ee.A.create({search:a,earliest_time:d,latest_time:y},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0!==t.length){var n=t[0],r=Object.keys(n||{}),o=r.map(function(e){return{name:e}}),i=r.map(function(e){return t.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});S({dataSource:{requestParams:{offset:0,count:t.length},data:{fields:o,columns:i},meta:{totalCount:t.length}},loading:!1,error:null,searchQuery:a})}else S({dataSource:{requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}},loading:!1,error:null,searchQuery:a})}},error:function(e){S({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load events",searchQuery:a})},complete:function(){}});return P.current=o,function(){try{o.unsubscribe()}catch(e){}}}catch(e){S({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run events search",searchQuery:null})}}else S({dataSource:null,loading:!1,error:null,searchQuery:null})},[Y,t,d,y]),I=r.useCallback(function(){if(v.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(v.searchQuery),"&earliest=").concat(encodeURIComponent(d),"&latest=").concat(encodeURIComponent(y)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[v.searchQuery,d,y]),R=r.useCallback(function(){if(w.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(w.searchQuery),"&earliest=").concat(encodeURIComponent(d),"&latest=").concat(encodeURIComponent(y)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[w.searchQuery,d,y]);r.useEffect(function(){if(k.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&O(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(k.current),function(){e.disconnect()}}},[v.dataSource]),r.useEffect(function(){if(E.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&z(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(E.current),function(){e.disconnect()}}},[w.dataSource]);var W=r.useCallback(function(){N(),F()},[N,F]);return r.useEffect(function(){i&&i(W)},[i,W]),r.useEffect(function(){var e=N(),t=F();return function(){e&&e(),t&&t()}},[N,F]),r.useEffect(function(){return function(){try{var e,t;null===(e=j.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=P.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:d,latest:y,onChange:function(e,t){var n=t.earliest,r=t.latest;p(n),b(r)},labelMaxChars:1/0,"aria-label":"Incidents time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:B.backgroundSecondary,border:"1px solid ".concat(B.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Stateful alerts events & Incidents"),v.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:I},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{N()}catch(e){}},disabled:v.loading},"Refresh")))),v.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!v.loading&&v.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},v.error),!v.loading&&!v.error&&v.dataSource&&r.createElement("div",{ref:k,style:{width:"100%",height:200}},r.createElement(Ft(),{width:L||800,height:200,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent","charting.chart.stackMode":"stacked",xAxisTitleVisibility:"hide"},dataSources:{primary:v.dataSource}})),!v.loading&&!v.error&&!v.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No incidents found"),r.createElement("div",{style:{fontSize:13}},"No stateful alerts or incidents were found for this entity during the selected time range."))))),r.createElement("div",null,r.createElement("div",{ref:E,style:{background:B.backgroundSecondary,border:"1px solid ".concat(B.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Incidents events"),w.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:R},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{F()}catch(e){}},disabled:w.loading},"Refresh")))),w.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),w.error&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},w.error),w.dataSource&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:D||800,height:400,dataSources:{primary:w.dataSource},options:{height:400,footerFields:["index","source","sourcetype"]}})),!w.loading&&!w.error&&!w.dataSource&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No events found for the selected time range."))))};function lu(e){return lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lu(e)}function su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(s+=" | eval ".concat(u.join(", ")));var f="| timechart minspan=5m bins=1000 ".concat(e.timechartSearch);return"".concat(s," ").concat(f)},[t,n,a,o,S,i,l]),W=r.useCallback(function(){var e=R();if(e&&t){try{var n,r;null===(n=N.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}z(function(e){return uu(uu({},e),{},{loading:!0,error:null})});try{var a=Ee.A.create({search:e,earliest_time:h,latest_time:v},{app:"trackme"}).getResults({count:0}).subscribe({next:function(t){if(!t||!0!==t.preview&&!0!==t.isPreview){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];if(n.length>0){var r=[];n.forEach(function(e){Object.keys(e||{}).forEach(function(e){r.includes(e)||r.push(e)})});var a=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},o=r.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||a(e));var t}),i=r.find(function(e){return a(e)});i&&(o=[i].concat(function(e){if(Array.isArray(e))return pu(e)}(c=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||fu(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var l=o.map(function(e){return n.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),s=o.map(function(e){return{name:e}}),u={requestParams:{offset:0,count:n.length},data:{fields:s,columns:l},meta:{totalCount:n.length}};z({dataSource:u,loading:!1,error:null,searchQuery:e})}else z({dataSource:null,loading:!1,error:null,searchQuery:e})}var c},error:function(t){z({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load chart data",searchQuery:e})},complete:function(){}});return N.current=a,function(){try{a.unsubscribe()}catch(e){}}}catch(e){z({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else z({dataSource:null,loading:!1,error:null,searchQuery:null})},[R,t,h,v]),H=r.useCallback(function(){if(D.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(D.searchQuery),"&earliest=").concat(encodeURIComponent(h),"&latest=").concat(encodeURIComponent(v)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[D.searchQuery,h,v]);r.useEffect(function(){if(j.current){var e=null,t=0,n=function(e){e>0&&Math.abs(e-t)>5&&(t=e,Y(e))},r=j.current.getBoundingClientRect().width;r>0&&(t=r,Y(r)),requestAnimationFrame(function(){if(j.current){var e=j.current.getBoundingClientRect().width;n(e)}});var a=new ResizeObserver(function(t){null!==e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){t.forEach(function(e){var t=e.contentRect.width;t>0&&n(t)}),e=null})});return a.observe(j.current),function(){null!==e&&cancelAnimationFrame(e),a.disconnect()}}},[]),r.useEffect(function(){D.dataSource&&j.current&&requestAnimationFrame(function(){if(j.current){var e=j.current.getBoundingClientRect().width;e>0&&Y(function(t){return Math.abs(e-t)>5?e:t})}})},[D.dataSource]),r.useEffect(function(){var e=W();return function(){e&&e()}},[W]);var q=r.useCallback(function(){W()},[W]);r.useEffect(function(){u&&u(q)},[u,q]),r.useEffect(function(){return function(){try{var e,t;null===(e=N.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[]);var X=r.useMemo(function(){var e=I,t={yAxisTitle:e.yAxisTitle,nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent","charting.axisLabelsY.majorUnit":e.yAxisUnit,xAxisTitleVisibility:"hide"},n=[],r=e.timechartSearch.includes("threshold_latency")||e.timechartSearch.includes("threshold_delay");return L&&r&&(e.timechartSearch.includes("threshold_latency")&&n.push("threshold_latency"),e.timechartSearch.includes("threshold_delay")&&n.push("threshold_delay")),"eventcount_4h, lag_event_sec, lag_ingestion_sec"===S&&n.push("lag_event_sec","lag_ingestion_sec"),"eventcount_4h, hostcount_4h"===S&&n.push("hostcount_4h"),n.length>0?(t.overlayFields=n.join(","),e.y2AxisEnabled&&e.y2AxisTitle&&(t.y2AxisTitle=e.y2AxisTitle,t.showOverlayY2Axis=!0,t["charting.axisLabelsY2.majorUnit"]=e.yAxisUnit,"log"===e.y2AxisScale&&(t["charting.axisY2.scale"]="log"))):e.y2AxisEnabled&&r&&!L||e.y2AxisEnabled&&e.y2AxisTitle&&!r&&(t.y2AxisTitle=e.y2AxisTitle,t.showOverlayY2Axis=!0,t["charting.axisLabelsY2.majorUnit"]=e.yAxisUnit,"log"===e.y2AxisScale&&(t["charting.axisY2.scale"]="log")),t},[I,S,L]);return r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12}},r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8}},r.createElement("div",{style:{width:300}},r.createElement(ht(),{value:S,onChange:function(e,t){var n=t.value;k(n)},"aria-label":"Performance metrics series"},M.includes("latency_metrics_avg")&&r.createElement(ht().Option,{label:"Latency metrics (timechart average)",value:"latency_metrics_avg"}),M.includes("latency_metrics_max")&&r.createElement(ht().Option,{label:"Latency metrics (timechart max)",value:"latency_metrics_max"}),M.includes("latency_metrics_avg_threshold")&&r.createElement(ht().Option,{label:"Latency metrics (timechart average with threshold)",value:"latency_metrics_avg_threshold"}),M.includes("latency_metrics_max_threshold")&&r.createElement(ht().Option,{label:"Latency metrics (timechart max with threshold)",value:"latency_metrics_max_threshold"}),M.includes("volume_metrics")&&r.createElement(ht().Option,{label:"Volume metrics",value:"volume_metrics"}),M.includes("host_dcount_metrics")&&r.createElement(ht().Option,{label:"Host Distinct count metrics",value:"host_dcount_metrics"}),M.includes("delay_metrics")&&r.createElement(ht().Option,{label:"Delay metrics",value:"delay_metrics"}),M.includes("delay_metrics_threshold")&&r.createElement(ht().Option,{label:"Delay metrics (threshold)",value:"delay_metrics_threshold"}),M.includes("eventcount_4h, lag_event_sec, lag_ingestion_sec")&&r.createElement(ht().Option,{label:"Eventcount / lag (4h)",value:"eventcount_4h, lag_event_sec, lag_ingestion_sec"}),M.includes("eventcount_4h, hostcount_4h")&&r.createElement(ht().Option,{label:"Eventcount / Host dcount (4h)",value:"eventcount_4h, hostcount_4h"}))),r.createElement(y(),{content:I.description},r.createElement(c(),{appearance:"subtle","aria-label":"Metrics information",style:{padding:0,width:22,height:22}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),r.createElement("circle",{cx:"8",cy:"5.5",r:"1",fill:"currentColor"}),r.createElement("path",{d:"M8 8.5v3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})))),E&&r.createElement("div",{style:{width:220}},r.createElement(ht(),{value:L?"true":"false",onChange:function(e,t){var n=t.value;O("true"===n)},"aria-label":"Show threshold as overlay"},r.createElement(ht().Option,{label:"Show as overlay: True",value:"true"}),r.createElement(ht().Option,{label:"Show as overlay: False",value:"false"})))),r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:h,latest:v,onChange:function(e,t){var n=t.earliest,r=t.latest;b(n),_(r)},labelMaxChars:1/0,"aria-label":"Performance metrics time range"})))),r.createElement("div",null,r.createElement("div",{style:{background:F.backgroundSecondary,border:"1px solid ".concat(F.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Performance Metrics"),D.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:H},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{W()}catch(e){}},disabled:D.loading},"Refresh")))),D.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!D.loading&&D.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},D.error),!D.loading&&!D.error&&D.dataSource&&B>0&&r.createElement("div",{ref:j,style:{width:"100%",maxWidth:"100%",height:400,boxSizing:"border-box"}},"line"===I.chartType?r.createElement(Rt(),{key:"chart-line-".concat(S,"-").concat(B),width:B,height:400,options:X,dataSources:{primary:D.dataSource}}):r.createElement(Ft(),{key:"chart-column-".concat(S,"-").concat(B),width:B,height:400,options:X,dataSources:{primary:D.dataSource}})),!D.loading&&!D.error&&!D.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No chart data available"),r.createElement("div",{style:{fontSize:13}},"No performance metrics data was found for this entity during the selected time range."))))))};function yu(e){return yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yu(e)}function bu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!$.current&&0===b.length&&($.current=!0,g([n[0].value])),R(!1)},error:function(e){console.error("[MetricsTabFqm] Failed to load FQM metrics options:",e),N([]),R(!1)},complete:function(){R(!1)}}),function(){qr(oe.current)}}catch(e){return console.error("[MetricsTabFqm] Error loading FQM metrics options:",(null==e?void 0:e.message)||"Unknown error"),N([]),void R(!1)}}}},[n,t,u,d,b.length]),ce=r.useCallback(function(){if(t&&a){var e=b.length>0?b.map(function(e){return"metric_name=trackme.splk.fqm.".concat(e)}).join(" OR "):"",n="*"===T?"":'object="*'.concat(T,'*"'),r="| mcatalog values(metric_name) as metrics where `trackme_metrics_idx(".concat(t,')` tenant_id="').concat(t,'" ').concat(e,' object_id!="').concat(a,'" ').concat(n," by object, object_id | fields object, object_id | sort 0 object");qr(ie.current),U(!0);try{return ie.current=Hr(r,{earliest_time:u,latest_time:d},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=[];t.forEach(function(e){e.object&&e.object_id&&n.push({label:String(e.object),value:String(e.object_id),object:String(e.object)})}),q(n),U(!1)},error:function(e){console.error("[MetricsTabFqm] Failed to load FQM entities options:",e),q([]),U(!1)},complete:function(){U(!1)}}),function(){qr(ie.current)}}catch(e){return console.error("[MetricsTabFqm] Error loading FQM entities options:",(null==e?void 0:e.message)||"Unknown error"),q([]),void U(!1)}}},[t,a,b,T,u,d]),de=r.useCallback(function(){if(!t||!a||0===b.length)return{chartQuery:null,singleStatsQuery:null};var e=b.map(function(e){return"metric_name=trackme.splk.fqm.".concat(e)}).join(" OR "),n=0===j.length?"object_id=".concat(a):"(object_id=".concat(a," OR ").concat(j.map(function(e){return"object_id=".concat(e)}).join(" OR "),")"),r="*"===T?"":'object="*'.concat(T,'*"');return{chartQuery:"| mstats ".concat(_,"(_value) as value where `trackme_metrics_idx(").concat(t,')` tenant_id="').concat(t,'" object_category="splk-fqm" ').concat(n," ").concat(r," ").concat(e,' by object, metric_name span=5m | rex field=metric_name "^trackme.splk.fqm.(?.*)" | eval key = object . ":" . metric_name | timechart `auto_span` useother=f limit=100 ').concat(_,"(value) as ").concat(_," by key"),singleStatsQuery:"| mstats ".concat(_,"(_value) as value where `trackme_metrics_idx(").concat(t,')` tenant_id="').concat(t,'" object_category="splk-fqm" ').concat(n," ").concat(r," ").concat(e," by object, metric_name span=5m | rex field=metric_name \"^trackme.splk.fqm.(?.*)\" | stats max(value) as max, perc95(value) as perc95, avg(value) as avg, min(value) as min | foreach max, perc95, avg, min [ eval <> = if('<>'=0 OR '<>'=1, round('<>', 0), round('<>', 2)) ]")}},[t,a,b,_,j,T]),fe=r.useCallback(function(){if(t){var e=de().chartQuery;if(e){qr(le.current),ee(function(e){return gu(gu({},e),{},{loading:!0,error:null})});try{return le.current=Hr(e,{earliest_time:u,latest_time:d,count:0},{next:function(t){var n,r=Array.isArray(null==t?void 0:t.results)?t.results:[];if(0!==r.length){var a=[];r.forEach(function(e){Object.keys(e||{}).forEach(function(e){a.includes(e)||a.push(e)})});var o=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},i=a.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||o(e));var t}),l=a.find(function(e){return o(e)});l&&(i=[l].concat(function(e){if(Array.isArray(e))return wu(e)}(n=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||Mu(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var s=i.map(function(e){return r.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),u=i.map(function(e){return{name:e}}),c={requestParams:{offset:0,count:r.length},data:{fields:u,columns:s},meta:{totalCount:r.length}};ee({dataSource:c,loading:!1,error:null,searchQuery:e})}else ee({dataSource:null,loading:!1,error:null,searchQuery:e})},error:function(t){console.error("[MetricsTabFqm] FQM chart search error:",t),ee({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load chart data",searchQuery:e})}}),function(){qr(le.current)}}catch(e){return void ee({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else ee({dataSource:null,loading:!1,error:null,searchQuery:null})}},[t,u,d,de]),pe=r.useCallback(function(){if(t){var e=de().singleStatsQuery;if(e){qr(se.current),J({perc95:{value:null,loading:!0,error:null},max:{value:null,loading:!0,error:null},avg:{value:null,loading:!0,error:null},min:{value:null,loading:!0,error:null}});try{return se.current=Hr(e,{earliest_time:u,latest_time:d,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0];J({perc95:{value:void 0!==n.perc95?parseFloat(String(n.perc95)):null,loading:!1,error:null},max:{value:void 0!==n.max?parseFloat(String(n.max)):null,loading:!1,error:null},avg:{value:void 0!==n.avg?parseFloat(String(n.avg)):null,loading:!1,error:null},min:{value:void 0!==n.min?parseFloat(String(n.min)):null,loading:!1,error:null}})}else J({perc95:{value:null,loading:!1,error:null},max:{value:null,loading:!1,error:null},avg:{value:null,loading:!1,error:null},min:{value:null,loading:!1,error:null}})},error:function(e){console.error("[MetricsTabFqm] FQM single stats search error:",e);var t=(null==e?void 0:e.message)||"Failed to load stats";J({perc95:{value:null,loading:!1,error:t},max:{value:null,loading:!1,error:t},avg:{value:null,loading:!1,error:t},min:{value:null,loading:!1,error:t}})}}),function(){qr(se.current)}}catch(e){var n=(null==e?void 0:e.message)||"Failed to run single stats search";return void J({perc95:{value:null,loading:!1,error:n},max:{value:null,loading:!1,error:n},avg:{value:null,loading:!1,error:n},min:{value:null,loading:!1,error:n}})}}else J({perc95:{value:null,loading:!1,error:null},max:{value:null,loading:!1,error:null},avg:{value:null,loading:!1,error:null},min:{value:null,loading:!1,error:null}})}},[t,u,d,de]);r.useEffect(function(){if(n&&t){var e=ue();return function(){e&&e()}}},[ue,n,t,u,d]),r.useEffect(function(){if(t&&a&&0!==b.length){var e=ce();return function(){e&&e()}}},[ce,t,a,b,T,u,d]),r.useEffect(function(){if(t&&0!==b.length){var e=fe(),n=pe();return function(){e&&e(),n&&n()}}},[fe,pe,t,b,_,j,T,u,d]);var me=r.useCallback(function(){b.length>0&&(ue(),ce(),fe(),pe())},[ue,ce,fe,pe,b.length]);return r.useEffect(function(){o&&o(me)},[o,me]),r.useEffect(function(){return function(){qr(oe.current),qr(ie.current),qr(le.current),qr(se.current)}},[]),r.createElement("div",{style:{marginBottom:-20}},(!n||!n.splk_fqm_metrics_populate_search||I)&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40,gap:12}},r.createElement(s(),{size:"medium"}),r.createElement("span",{style:{color:i.textSecondary,fontSize:14}},"Loading metrics...")),n&&(!I||(null==n?void 0:n.splk_fqm_metrics_populate_search))&&r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:u,latest:d,onChange:function(e,t){var n=t.earliest,r=t.latest;p(n),h(r)},labelMaxChars:1/0,"aria-label":"FQM metrics time range"})))),n&&n.splk_fqm_metrics_populate_search&&!I&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16,marginBottom:24}},r.createElement(at,{label:"Perc95",value:K.perc95.value,loading:K.perc95.loading,error:K.perc95.error,onOpenSearch:function(){var e=de().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(d)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return pe()},numberPrecision:2}),r.createElement(at,{label:"Max",value:K.max.value,loading:K.max.loading,error:K.max.error,onOpenSearch:function(){var e=de().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(d)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return pe()},numberPrecision:2}),r.createElement(at,{label:"Avg",value:K.avg.value,loading:K.avg.loading,error:K.avg.error,onOpenSearch:function(){var e=de().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(d)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return pe()},numberPrecision:2}),r.createElement(at,{label:"Min",value:K.min.value,loading:K.min.loading,error:K.min.error,onOpenSearch:function(){var e=de().singleStatsQuery;if(e&&t){var n,r="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(d)),a=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return pe()},numberPrecision:2})),n&&n.splk_fqm_metrics_populate_search&&!I&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16,marginBottom:24,maxWidth:"1400px"}},r.createElement("div",{style:{minWidth:250,maxWidth:400}},r.createElement("label",{htmlFor:"fqm-metrics-multiselect",id:"fqm-metrics-multiselect-label",style:{display:"block",marginBottom:6,fontWeight:500,color:i.textSecondary}},"Select metric(s):"),r.createElement(As(),{id:"fqm-metrics-multiselect","aria-labelledby":"fqm-metrics-multiselect-label",values:b,onChange:function(e,t){var n=t.values;g((n||[]).map(function(e){return String(e)}))},disabled:I||0===Y.length,placeholder:I?"Loading...":0===Y.length?"No metrics available":"Select metrics...",style:{width:"100%"}},Y.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"fqm-stats-mode-select",id:"fqm-stats-mode-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:i.textSecondary}},"Stats mode:"),r.createElement(ht(),{id:"fqm-stats-mode-select","aria-labelledby":"fqm-stats-mode-select-label",value:_,onChange:function(e,t){var n=t.value;M(n)},style:{width:"100%"}},r.createElement(ht().Option,{label:"latest",value:"latest"}),r.createElement(ht().Option,{label:"avg",value:"avg"}),r.createElement(ht().Option,{label:"max",value:"max"}),r.createElement(ht().Option,{label:"sum",value:"sum"}),r.createElement(ht().Option,{label:"min",value:"min"}),r.createElement(ht().Option,{label:"perc95",value:"perc95"}),r.createElement(ht().Option,{label:"stdev",value:"stdev"}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"fqm-chart-mode-select",id:"fqm-chart-mode-select-label",style:{display:"block",marginBottom:6,fontWeight:500,color:i.textSecondary}},"Chart mode:"),r.createElement(ht(),{id:"fqm-chart-mode-select","aria-labelledby":"fqm-chart-mode-select-label",value:"line"===S?"line":"column"===S?"default"===A?"column_unstacked":"stacked"===A?"column_stacked":"column_stacked100":"area"===S?"default"===A?"area_unstacked":"stacked"===A?"area_stacked":"area_stacked100":"line",onChange:function(e,t){var n=t.value;"column_unstacked"===n?(k("column"),L("default")):"column_stacked"===n?(k("column"),L("stacked")):"column_stacked100"===n?(k("column"),L("stacked100")):"area_unstacked"===n?(k("area"),L("default")):"area_stacked"===n?(k("area"),L("stacked")):"area_stacked100"===n?(k("area"),L("stacked100")):"line"===n&&(k("line"),L("default"))},style:{width:"100%"}},r.createElement(ht().Option,{label:"column (unstacked)",value:"column_unstacked"}),r.createElement(ht().Option,{label:"column (stacked)",value:"column_stacked"}),r.createElement(ht().Option,{label:"column (100% stacked)",value:"column_stacked100"}),r.createElement(ht().Option,{label:"area (unstacked)",value:"area_unstacked"}),r.createElement(ht().Option,{label:"area (stacked)",value:"area_stacked"}),r.createElement(ht().Option,{label:"area (100% stacked)",value:"area_stacked100"}),r.createElement(ht().Option,{label:"line",value:"line"}))),r.createElement("div",{style:{minWidth:200,maxWidth:300}},r.createElement("label",{htmlFor:"fqm-prefilter-input",id:"fqm-prefilter-input-label",style:{display:"block",marginBottom:6,fontWeight:500,color:i.textSecondary}},"Pre-filter entities:"),r.createElement("input",{id:"fqm-prefilter-input","aria-labelledby":"fqm-prefilter-input-label",type:"text",value:T,onChange:function(e){D(e.target.value||"*")},placeholder:"*",style:{width:"100%",maxWidth:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(i.border),backgroundColor:i.backgroundSecondary,color:i.textSecondary,fontSize:14,boxSizing:"border-box"}})),r.createElement("div",{style:{minWidth:250,maxWidth:400}},r.createElement("label",{htmlFor:"fqm-entities-multiselect",id:"fqm-entities-multiselect-label",style:{display:"block",marginBottom:6,fontWeight:500,color:i.textSecondary}},"Add entities for same metrics:"),r.createElement(As(),{id:"fqm-entities-multiselect","aria-labelledby":"fqm-entities-multiselect-label",values:j,onChange:function(e,t){var n=t.values;P((n||[]).map(function(e){return String(e)}))},disabled:V||0===H.length,placeholder:V?"Loading...":0===H.length?"No entities available":"Select entities...",style:{width:"100%"}},H.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.object,value:e.value})})))),n&&n.splk_fqm_metrics_populate_search&&!I&&r.createElement("div",{style:{background:i.backgroundSecondary,border:"1px solid ".concat(i.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box",marginTop:24}},Q.dataSource&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(Q.searchQuery){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(Q.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(d)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{fe()}catch(e){}},disabled:Q.loading},"Refresh")))),Q.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!Q.loading&&Q.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},Q.error),!Q.loading&&!Q.error&&Q.dataSource&&re>0&&r.createElement("div",{ref:te,style:{width:"100%",maxWidth:"100%",height:400,boxSizing:"border-box"}},function(){var e;e="default"===A?"none":"stacked"===A?"stacked":"stacked100";var t={nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"};return"line"===S?r.createElement(Rt(),{key:"fqm-chart-".concat(S,"-").concat(A,"-").concat(re),width:re,height:400,options:t,dataSources:{primary:Q.dataSource}}):"area"===S?r.createElement(Cs(),{key:"fqm-chart-".concat(S,"-").concat(A,"-").concat(re),width:re,height:400,options:gu(gu({},t),{},{stackMode:e}),dataSources:{primary:Q.dataSource}}):r.createElement(Ft(),{key:"fqm-chart-".concat(S,"-").concat(A,"-").concat(re),width:re,height:400,options:gu(gu({},t),{},{stackMode:e}),dataSources:{primary:Q.dataSource}})}()),!Q.loading&&!Q.error&&!Q.dataSource&&r.createElement("div",{style:{color:i.textSecondary,display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},0===b.length?"Select metric(s) to display chart":"No chart data available")))};function xu(e){return xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xu(e)}function ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=[];t.forEach(function(e){Object.keys(e||{}).forEach(function(e){n.includes(e)||n.push(e)})});var r=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},o=n.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||r(e));var t}),i=n.find(function(e){return r(e)});i&&(o=[i].concat(function(e){if(Array.isArray(e))return Ou(e)}(c=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||Lu(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var l=o.map(function(e){return t.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),s=o.map(function(e){return{name:e}}),u={requestParams:{offset:0,count:t.length},data:{fields:s,columns:l},meta:{totalCount:t.length}};v({dataSource:u,loading:!1,error:null,searchQuery:a})}else v({dataSource:null,loading:!1,error:null,searchQuery:a})}var c},error:function(e){v({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:a})},complete:function(){}});return N.current=o,function(){try{o.unsubscribe()}catch(e){}}}catch(e){v({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else v({dataSource:null,loading:!1,error:null,searchQuery:null})},[H,t,u,h]),X=r.useCallback(function(){var e=H();if(!e||!t)return w([]),E(!1),O(null),void z(null);try{var n,r;null===(n=F.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}E(!0),O(null);var a="".concat(e,' | rename separator as " " | `trackme_eval_noicons_flip` | fields _time object object_category object_previous_state " " object_state result | sort - limit=10000 _time');try{var o=Ee.A.create({search:a,earliest_time:u,latest_time:h},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t.map(function(e){return{_time:e._time||"",object:e.object||"",object_category:e.object_category||"",object_previous_state:e.object_previous_state||"",object_state:e.object_state||"",result:e.result||""}});w(n),z(a)}else w([]),z(a);E(!1)}},error:function(e){w([]),E(!1),O((null==e?void 0:e.message)||"Failed to load table data"),z(a)},complete:function(){}});return F.current=o,function(){try{o.unsubscribe()}catch(e){}}}catch(e){w([]),E(!1),O((null==e?void 0:e.message)||"Failed to run table search"),z(null)}},[H,t,u,h]),V=r.useCallback(function(){if(g.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(g.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[g.searchQuery,u,h]),U=r.useCallback(function(){if(D)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(D),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[D,u,h]);r.useEffect(function(){if(j.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&Y(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(j.current),function(){e.disconnect()}}},[g.dataSource]),r.useEffect(function(){var e=q(),t=X();return function(){e&&e(),t&&t()}},[q,X]);var $=r.useCallback(function(){q(),X()},[q,X]);r.useEffect(function(){o&&o($)},[o,$]),r.useEffect(function(){return function(){try{var e,t;null===(e=N.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=F.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]);var G=r.useCallback(function(e){if(!e)return"";try{var t;if("string"==typeof e){var n=Number.parseFloat(e);t=!Number.isNaN(n)&&n>1e9?new Date(1e3*n):new Date(e)}else t=new Date(e);if(!Number.isNaN(t.getTime())){var r=t.getUTCFullYear(),a=String(t.getUTCMonth()+1).padStart(2,"0"),o=String(t.getUTCDate()).padStart(2,"0"),i=String(t.getUTCHours()).padStart(2,"0"),l=String(t.getUTCMinutes()).padStart(2,"0"),s=String(t.getUTCSeconds()).padStart(2,"0");return"".concat(r,"-").concat(a,"-").concat(o," ").concat(i,":").concat(l,":").concat(s)}return e}catch(t){return e}},[]),K=r.useCallback(function(e){var t=W(e);return r.createElement("div",{style:{display:"flex",alignItems:"center",gap:6}},r.createElement("div",{style:{width:10,height:10,borderRadius:"50%",backgroundColor:t,border:"1px solid ".concat(I.border),flexShrink:0}}),r.createElement("span",{style:{fontSize:13,color:I.text,lineHeight:1.4}},e||"N/A"))},[W,I.border,I.text]);return r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:u,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;d(n),y(r)},labelMaxChars:1/0,"aria-label":"Status flipping time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:I.backgroundSecondary,border:"1px solid ".concat(I.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Flip over time"),g.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:V},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{q()}catch(e){}},disabled:g.loading},"Refresh")))),g.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:150,gap:8}},r.createElement(s(),{size:"medium"})),!g.loading&&g.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:150}},g.error),!g.loading&&!g.error&&g.dataSource&&r.createElement("div",{ref:j,style:{width:"100%",height:150}},r.createElement(Ft(),{width:B||800,height:150,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent","charting.chart.stackMode":"stacked","charting.axisLabelsY.majorUnit":"1",xAxisTitleVisibility:"hide","charting.fieldColors":JSON.stringify({orange:"0xffd394",blue:"0xcfebf9",green:"0xb6edb6",red:"0xFFBABA"})},dataSources:{primary:g.dataSource}})),!g.loading&&!g.error&&!g.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:150,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No flip events found"),r.createElement("div",{style:{fontSize:13}},"No state flip events were found for this entity during the selected time range."))))),r.createElement("div",null,r.createElement("div",{style:{background:I.backgroundSecondary,border:"1px solid ".concat(I.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Flip Events"),D&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:U},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{X()}catch(e){}},disabled:k},"Refresh")))),k&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),!k&&L&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},L),!k&&!L&&M.length>0&&r.createElement("div",{style:{overflowX:"auto"}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"Time"),r.createElement(dt().HeadCell,null,"Object"),r.createElement(dt().HeadCell,null,"Category"),r.createElement(dt().HeadCell,null,"Previous State"),r.createElement(dt().HeadCell,null,"→"),r.createElement(dt().HeadCell,null,"Current State"),r.createElement(dt().HeadCell,null,"Result")),r.createElement(dt().Body,null,M.map(function(e){var t="".concat(e._time,"-").concat(e.object,"-").concat(e.object_category);return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,null,G(e._time)),r.createElement(dt().Cell,null,e.object),r.createElement(dt().Cell,null,e.object_category),r.createElement(dt().Cell,null,K(e.object_previous_state)),r.createElement(dt().Cell,{style:{textAlign:"center",color:I.textSecondary}},"→"),r.createElement(dt().Cell,null,K(e.object_state)),r.createElement(dt().Cell,{style:{fontSize:12,color:I.textSecondary}},e.result))})))),!k&&!L&&0===M.length&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No flip events found for the selected time range."))))};var Du=n(51664),zu=n.n(Du);function ju(e){return function(e){if(Array.isArray(e))return Ru(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Iu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Bu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1e9?new Date(1e3*n):new Date(e),!Number.isNaN(t.getTime())){var r=t.getUTCFullYear(),a=String(t.getUTCMonth()+1).padStart(2,"0"),o=String(t.getUTCDate()).padStart(2,"0"),i=String(t.getUTCHours()).padStart(2,"0"),l=String(t.getUTCMinutes()).padStart(2,"0"),s=String(t.getUTCSeconds()).padStart(2,"0");return"".concat(r,"-").concat(a,"-").concat(o,"T").concat(i,":").concat(l,":").concat(s)}}catch(e){}return null}(null!==e.previous_time&&void 0!==e.previous_time&&""!==e.previous_time?e.previous_time:e._time),n=e.object||"entity",o=e.current_state||"",i=0;null!==e.duration&&void 0!==e.duration&&""!==e.duration&&("string"==typeof e.duration?i=Number.parseFloat(e.duration):"number"==typeof e.duration&&(i=e.duration));var u=!Number.isNaN(i)&&i>0?1e3*i:0;t&&u>0&&o&&(r.push(t),a.push(n),l.push(u),s.push(o))}),r.length>0){var u={requestParams:{offset:0,count:r.length},data:{fields:[{name:"_time"},{name:"lane"},{name:"duration"},{name:"category"}],columns:[r,a,l,s]},meta:{totalCount:r.length}};M({dataSource:u,loading:!1,error:null,searchQuery:e})}else i&&M({dataSource:null,loading:!1,error:null,searchQuery:e})}}},error:function(t){M({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load timeline data",searchQuery:e})},complete:function(){if(o.length>0&&!i){var t=[],n=[],r=[],a=[];if(o.forEach(function(e){var o=function(e){if(!e)return null;try{var t,n="string"==typeof e?Number.parseFloat(e):e;if(t=!Number.isNaN(n)&&n>1e9?new Date(1e3*n):new Date(e),!Number.isNaN(t.getTime())){var r=t.getUTCFullYear(),a=String(t.getUTCMonth()+1).padStart(2,"0"),o=String(t.getUTCDate()).padStart(2,"0"),i=String(t.getUTCHours()).padStart(2,"0"),l=String(t.getUTCMinutes()).padStart(2,"0"),s=String(t.getUTCSeconds()).padStart(2,"0");return"".concat(r,"-").concat(a,"-").concat(o,"T").concat(i,":").concat(l,":").concat(s)}}catch(e){}return null}(null!==e.previous_time&&void 0!==e.previous_time&&""!==e.previous_time?e.previous_time:e._time),i=e.object||"entity",l=e.current_state||"",s=0;null!==e.duration&&void 0!==e.duration&&""!==e.duration&&("string"==typeof e.duration?s=Number.parseFloat(e.duration):"number"==typeof e.duration&&(s=e.duration));var u=!Number.isNaN(s)&&s>0?1e3*s:0;o&&u>0&&l&&(t.push(o),n.push(i),r.push(u),a.push(l))}),t.length>0){var l={requestParams:{offset:0,count:t.length},data:{fields:[{name:"_time"},{name:"lane"},{name:"duration"},{name:"category"}],columns:[t,n,r,a]},meta:{totalCount:t.length}};M({dataSource:l,loading:!1,error:null,searchQuery:e})}else M({dataSource:null,loading:!1,error:null,searchQuery:e})}}});return A.current=l,function(){try{l.unsubscribe()}catch(e){}}}catch(e){M({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run timeline search",searchQuery:null})}}else M({dataSource:null,loading:!1,error:null,searchQuery:null})},[z,t,p,b]),P=r.useCallback(function(){if(_.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(_.searchQuery),"&earliest=").concat(encodeURIComponent(p),"&latest=").concat(encodeURIComponent(b)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[_.searchQuery,p,b]);r.useEffect(function(){if(w.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&E(function(e){return Math.abs(t-e)>5?t:e})})});e.observe(w.current);var t=function(){var e=w.current;if(e){var t=e.querySelector('[data-test="timeline-yaxis-container"]');t&&(t.style.display="none")}};t();var n=setTimeout(t,100),r=setInterval(t,500);return function(){e.disconnect(),clearTimeout(n),clearInterval(r)}}},[_.dataSource]),r.useEffect(function(){var e=j();return function(){e&&e()}},[j]);var B=r.useCallback(function(){j()},[j]);r.useEffect(function(){l&&l(B)},[l,B]),r.useEffect(function(){return function(){try{var e,t;null===(e=A.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[]);var Y=r.useMemo(function(){return{dataColorsEditorConfig:[{match:"green",value:"#b6edb6"},{match:"red",value:"#FFBABA"},{match:"orange",value:"#ffd394"},{match:"blue",value:"#cfebf9"},{match:"discovered",value:"#cfebf9"}]}},[]),N=D(T);return r.createElement("div",null,r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:p,latest:b,onChange:function(e,t){var n=t.earliest,r=t.latest;h(n),g(r)},labelMaxChars:1/0,"aria-label":"Status message time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:L.backgroundSecondary,border:"2px solid ".concat(N),borderRadius:8,padding:16,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12}},"Status Message"),O?r.createElement("div",{style:{maxHeight:300,overflow:"auto",width:"100%"}},r.createElement(Mt(),{json:O,defaultExpanded:!0,style:{backgroundColor:"transparent",color:L.text}})):r.createElement(Jt(),{type:"info",style:{marginBottom:0}},"No status message available for this entity."))),r.createElement("div",null,r.createElement("div",{style:{background:L.backgroundSecondary,border:"1px solid ".concat(L.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:4,paddingRight:28}},"Last 7 days timeline"),_.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Timeline actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:P},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{j()}catch(e){}},disabled:_.loading},"Refresh")))),_.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!_.loading&&_.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},_.error),!_.loading&&!_.error&&_.dataSource&&r.createElement(r.Fragment,null,r.createElement("style",null,'\n .timeline-container-hide-legend [data-test="timeline-yaxis-container"] {\n display: none !important;\n }\n .timeline-container-hide-legend [data-test="timeline-chart-container"] {\n display: flex !important;\n justify-content: center !important;\n align-items: center !important;\n }\n .timeline-container-hide-legend [data-test="timeline-uplot-container"] {\n display: flex !important;\n justify-content: center !important;\n padding-top: 0 !important;\n margin-top: 0 !important;\n }\n .timeline-container-hide-legend [data-test="timeline-uplot-container"] > div {\n padding-top: 0 !important;\n margin-top: 0 !important;\n }\n .timeline-container-hide-legend .u-under {\n height: 10px !important;\n max-height: 10px !important;\n }\n '),r.createElement("div",{ref:w,className:"timeline-container-hide-legend",style:{width:"100%",minHeight:200,display:"flex",justifyContent:"center",paddingTop:0,marginTop:0}},r.createElement(zu(),{width:k||800,height:200,context:Y,options:{dataColors:"> category | matchValue(dataColorsEditorConfig)",legendDisplay:"off",resultLimit:1e4},dataSources:{primary:_.dataSource}}))),!_.loading&&!_.error&&!_.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No timeline data available"),r.createElement("div",{style:{fontSize:13}},"No status timeline data was found for this entity during the selected time range."))))))};function Hu(e){return Hu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hu(e)}function qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?"(".concat(e.join(" OR "),")"):e[0],i="splk-".concat(n);return"`trackme_audit_idx(".concat(t,')` (tenant_id="').concat(t,'" AND ').concat(r,' AND object_category="').concat(i,'")')},[t,n,o,a]),R=r.useCallback(function(){var e=I();if(e&&t){var n="".concat(e," | timechart limit=40 useother=t minspan=5m bins=1000 count by change_type");try{var r,a;null===(r=Y.current)||void 0===r||null===(a=r.unsubscribe)||void 0===a||a.call(r)}catch(e){}_(function(e){return Xu(Xu({},e),{},{loading:!0,error:null})});var o=Ee.A.create({search:n,earliest_time:d,latest_time:y},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var r=[];t.forEach(function(e){Object.keys(e||{}).forEach(function(e){r.includes(e)||r.push(e)})});var a=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},o=r.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||a(e));var t}),i=r.find(function(e){return a(e)});i&&(o=[i].concat(function(e){if(Array.isArray(e))return Gu(e)}(u=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||$u(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var l=o.map(function(e){return t.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return a(e)?n||"":null!=n?"number"==typeof n?n:Number.parseFloat(String(n))||0:null}return a(e)?"":null})}),s={requestParams:{offset:0,count:t.length},data:{fields:o.map(function(e){return{name:e}}),columns:l},meta:{totalCount:t.length}};_({dataSource:s,loading:!1,error:null,searchQuery:n})}else _({dataSource:null,loading:!1,error:null,searchQuery:n})}var u},error:function(e){_({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:n})},complete:function(){}});return Y.current=o,function(){try{o.unsubscribe()}catch(e){}}}_({dataSource:null,loading:!1,error:null,searchQuery:null})},[I,t,d,y]),W=r.useCallback(function(){var e=I();if(e&&t){try{var n,r;null===(n=N.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}S(function(e){return Xu(Xu({},e),{},{loading:!0,error:null})});var a=Ee.A.create({search:e,earliest_time:d,latest_time:y},{app:"trackme"}).getResults({count:0}).subscribe({next:function(t){if(!t||!0!==t.preview&&!0!==t.isPreview){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];if(n.length>0){var r=n[0]?Object.keys(n[0]):[],a={};r.forEach(function(e){a[e]=[]}),n.forEach(function(e){r.forEach(function(t){a[t].push(e[t]||"")})});var o={requestParams:{offset:0,count:n.length},data:{fields:r.map(function(e){return{name:e}}),columns:r.map(function(e){return a[e]})},meta:{totalCount:n.length}};S({dataSource:o,loading:!1,error:null,searchQuery:e})}else S({dataSource:null,loading:!1,error:null,searchQuery:e})}},error:function(t){S({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load events data",searchQuery:e})},complete:function(){}});return N.current=a,function(){try{a.unsubscribe()}catch(e){}}}S({dataSource:null,loading:!1,error:null,searchQuery:null})},[I,t,d,y]),H=r.useCallback(function(){if(v.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(v.searchQuery),"&earliest=").concat(encodeURIComponent(d),"&latest=").concat(encodeURIComponent(y)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[v.searchQuery,d,y]),q=r.useCallback(function(){if(w.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(w.searchQuery),"&earliest=").concat(encodeURIComponent(d),"&latest=").concat(encodeURIComponent(y)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[w.searchQuery,d,y]);r.useEffect(function(){if(k.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&O(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(k.current),function(){e.disconnect()}}},[v.dataSource]),r.useEffect(function(){if(E.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&z(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(E.current),function(){e.disconnect()}}},[w.dataSource]),r.useEffect(function(){w.dataSource&&E.current&&requestAnimationFrame(function(){if(E.current){var e=E.current.getBoundingClientRect().width;e>0&&(z(e),P||B(!0))}})},[w.dataSource,P]),r.useEffect(function(){var e=R(),t=W();return function(){e&&e(),t&&t()}},[R,W]);var X=r.useCallback(function(){R(),W()},[R,W]);return r.useEffect(function(){i&&i(X)},[i,X]),r.useEffect(function(){return function(){try{var e,t;null===(e=Y.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=N.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:d,latest:y,onChange:function(e,t){var n=t.earliest,r=t.latest;p(n),b(r)},labelMaxChars:1/0,"aria-label":"Audit changes time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:F.backgroundSecondary,border:"1px solid ".concat(F.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Audit changes over time"),v.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:H},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{R()}catch(e){}},disabled:v.loading},"Refresh")))),v.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:150,gap:8}},r.createElement(s(),{size:"medium"})),!v.loading&&v.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:150}},v.error),!v.loading&&!v.error&&v.dataSource&&r.createElement("div",{ref:k,style:{width:"100%",height:150}},r.createElement(Ft(),{width:L||800,height:150,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent","charting.chart.stackMode":"stacked","charting.chart":"column","charting.drilldown":"all","charting.axisLabelsY.majorUnit":"1",xAxisTitleVisibility:"hide","charting.fieldColors":JSON.stringify({success:"0xb6edb6",failure:"0xFFBABA"})},dataSources:{primary:v.dataSource}})),!v.loading&&!v.error&&!v.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No audit changes found"),r.createElement("div",{style:{fontSize:13}},"No audit changes were found for this entity during the selected time range."))))),r.createElement("div",null,r.createElement("div",{style:{background:F.backgroundSecondary,border:"1px solid ".concat(F.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Audit changes events"),w.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:q},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{W()}catch(e){}},disabled:w.loading},"Refresh")))),w.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!w.loading&&w.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},w.error),!w.loading&&!w.error&&w.dataSource&&r.createElement("div",{ref:function(e){if(E.current=e,e&&!P){var t=e.getBoundingClientRect().width;t>0?(z(t),B(!0)):requestAnimationFrame(function(){if(e){var t=e.getBoundingClientRect().width;t>0&&(z(t),B(!0))}})}else if(e&&P){var n=e.getBoundingClientRect().width;n>0&&Math.abs(n-D)>5&&z(n)}},style:{width:"100%",maxWidth:"100%",boxSizing:"border-box"}},P&&D>0&&r.createElement(_l(),{width:D,height:400,dataSources:{primary:w.dataSource},options:{height:400,"list.drilldown":"none","table.drilldown":"all","list.wrap":"1","table.wrap":"1",rowNumbers:"0","table.sortDirection":"asc",count:100,"raw.drilldown":"full",type:"list",maxLines:5,footerFields:["index","source","sourcetype"]}})),!w.loading&&!w.error&&!w.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No audit changes events found"),r.createElement("div",{style:{fontSize:13}},"No audit changes events were found for this entity during the selected time range."))))))};function Ju(e){return Ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ju(e)}function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qu(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var r=[];t.forEach(function(e){Object.keys(e||{}).forEach(function(e){r.includes(e)||r.push(e)})});var a=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},o=r.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||a(e));var t}),i=r.find(function(e){return a(e)});i&&(o=[i].concat(function(e){if(Array.isArray(e))return rc(e)}(u=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||nc(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var l=o.map(function(e){return t.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return a(e)?n||"":null!=n?"number"==typeof n?n:Number.parseFloat(String(n))||0:null}return a(e)?"":null})}),s={requestParams:{offset:0,count:t.length},data:{fields:o.map(function(e){return{name:e}}),columns:l},meta:{totalCount:t.length}};_({dataSource:s,loading:!1,error:null,searchQuery:n})}else _({dataSource:null,loading:!1,error:null,searchQuery:n})}var u},error:function(e){_({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:n})},complete:function(){}});return Y.current=o,function(){try{o.unsubscribe()}catch(e){}}}_({dataSource:null,loading:!1,error:null,searchQuery:null})},[I,t,u,h]),W=r.useCallback(function(){var e=I();if(e&&t){try{var n,r;null===(n=N.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}S(function(e){return Qu(Qu({},e),{},{loading:!0,error:null})});var a=Ee.A.create({search:e,earliest_time:u,latest_time:h},{app:"trackme"}).getResults({count:0}).subscribe({next:function(t){if(!t||!0!==t.preview&&!0!==t.isPreview){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];if(n.length>0){var r=n[0]?Object.keys(n[0]):[],a={};r.forEach(function(e){a[e]=[]}),n.forEach(function(e){r.forEach(function(t){a[t].push(e[t]||"")})});var o={requestParams:{offset:0,count:n.length},data:{fields:r.map(function(e){return{name:e}}),columns:r.map(function(e){return a[e]})},meta:{totalCount:n.length}};S({dataSource:o,loading:!1,error:null,searchQuery:e})}else S({dataSource:null,loading:!1,error:null,searchQuery:e})}},error:function(t){S({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load events data",searchQuery:e})},complete:function(){}});return N.current=a,function(){try{a.unsubscribe()}catch(e){}}}S({dataSource:null,loading:!1,error:null,searchQuery:null})},[I,t,u,h]),H=r.useCallback(function(){if(v.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(v.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[v.searchQuery,u,h]),q=r.useCallback(function(){if(w.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(w.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[w.searchQuery,u,h]);r.useEffect(function(){if(k.current){var e=null,t=0,n=function(e){e>0&&Math.abs(e-t)>5&&(t=e,O(e))},r=k.current.getBoundingClientRect().width;r>0&&(t=r,O(r)),requestAnimationFrame(function(){if(k.current){var e=k.current.getBoundingClientRect().width;n(e)}});var a=new ResizeObserver(function(t){null!==e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){t.forEach(function(e){var t=e.contentRect.width;t>0&&n(t)}),e=null})});return a.observe(k.current),function(){null!==e&&cancelAnimationFrame(e),a.disconnect()}}},[]),r.useEffect(function(){v.dataSource&&k.current&&requestAnimationFrame(function(){if(k.current){var e=k.current.getBoundingClientRect().width;e>0&&O(function(t){return Math.abs(e-t)>5?e:t})}})},[v.dataSource]),r.useEffect(function(){if(E.current){var e=null,t=0,n=function(){if(E.current){var e=E.current.getBoundingClientRect().width;e>0&&(t=e,z(e))}};n(),requestAnimationFrame(function(){n(),setTimeout(n,100)});var r=new ResizeObserver(function(n){null!==e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){n.forEach(function(e){var n=e.contentRect.width;n>0&&function(e){e>0&&Math.abs(e-t)>5&&(t=e,z(e))}(n)}),e=null})});return r.observe(E.current),function(){null!==e&&cancelAnimationFrame(e),r.disconnect()}}},[w.dataSource]),r.useEffect(function(){w.dataSource&&E.current&&requestAnimationFrame(function(){if(E.current){var e=E.current.getBoundingClientRect().width;e>0&&(z(e),P||B(!0))}})},[w.dataSource,P]),r.useEffect(function(){var e=R(),t=W();return function(){e&&e(),t&&t()}},[R,W]);var X=r.useCallback(function(){R(),W()},[R,W]);return r.useEffect(function(){o&&o(X)},[o,X]),r.useEffect(function(){return function(){try{var e,t;null===(e=Y.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=N.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:u,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;d(n),b(r)},labelMaxChars:1/0,"aria-label":"Handlers activity time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:F.backgroundSecondary,border:"1px solid ".concat(F.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,display:"flex",alignItems:"center",gap:8}},r.createElement("span",null,"Handlers activity over time"),r.createElement(y(),{content:"Handlers events shows the activity of TrackMe handlers managing and maintaining entities, such as the execution of hybrid trackers, Machine Learning related activities and more. By looking at the handler events, you can easily identify primary trackers responsible for the entity status and health, and review TrackMe actions on entities."},r.createElement(c(),{appearance:"subtle","aria-label":"Handlers information",style:{padding:0,width:22,height:22}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),r.createElement("circle",{cx:"8",cy:"5.5",r:"1",fill:"currentColor"}),r.createElement("path",{d:"M8 8.5v3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}))))),v.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:H},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{R()}catch(e){}},disabled:v.loading},"Refresh")))),v.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:150,gap:8}},r.createElement(s(),{size:"medium"})),!v.loading&&v.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:150}},v.error),!v.loading&&!v.error&&v.dataSource&&r.createElement("div",{ref:k,style:{width:"100%",maxWidth:"100%",height:150,boxSizing:"border-box"}},r.createElement(Ft(),{width:L||800,height:150,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent","charting.chart.stackMode":"stacked","charting.chart":"column","charting.drilldown":"all","charting.axisLabelsY.majorUnit":"1",xAxisTitleVisibility:"hide"},dataSources:{primary:v.dataSource}})),!v.loading&&!v.error&&!v.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No handlers activity found"),r.createElement("div",{style:{fontSize:13}},"No handlers activity was found for this entity during the selected time range."))))),r.createElement("div",null,r.createElement("div",{style:{background:F.backgroundSecondary,border:"1px solid ".concat(F.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Handlers events"),w.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:q},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{W()}catch(e){}},disabled:w.loading},"Refresh")))),w.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!w.loading&&w.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},w.error),!w.loading&&!w.error&&w.dataSource&&r.createElement("div",{ref:function(e){if(E.current=e,e&&!P){var t=e.getBoundingClientRect().width;t>0?(z(t),B(!0)):requestAnimationFrame(function(){if(e){var t=e.getBoundingClientRect().width;t>0&&(z(t),B(!0))}})}else if(e&&P){var n=e.getBoundingClientRect().width;n>0&&Math.abs(n-D)>5&&z(n)}},style:{width:"100%",maxWidth:"100%",boxSizing:"border-box"}},P&&D>0&&r.createElement(_l(),{width:D,height:400,dataSources:{primary:w.dataSource},options:{height:400,"list.drilldown":"none","table.drilldown":"all","list.wrap":"1","table.wrap":"1",rowNumbers:"0","table.sortDirection":"asc",count:100,"raw.drilldown":"full",type:"list",maxLines:5,footerFields:["index","source","sourcetype"]}})),!w.loading&&!w.error&&!w.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No handlers events found"),r.createElement("div",{style:{fontSize:13}},"No handlers events were found for this entity during the selected time range."))))))};function oc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return ic(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ic(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ic(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,ic(d,"constructor",u),ic(u,"constructor",s),s.displayName="GeneratorFunction",ic(u,a,"GeneratorFunction"),ic(d),ic(d,a,"Generator"),ic(d,r,function(){return this}),ic(d,"toString",function(){return"[object Generator]"}),(oc=function(){return{w:o,m:f}})()}function ic(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}ic=function(e,t,n,r){function o(t,n){ic(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ic(e,t,n,r)}function lc(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function sc(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){lc(o,r,a,i,l,"next",e)}function l(e){lc(o,r,a,i,l,"throw",e)}i(void 0)})}}function uc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return cc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!y&&(i&&n.includes(i)?b(i):b(n[0])),C(!1)}).catch(function(e){L((null==e?void 0:e.message)||"Failed to load SLA classes"),C(!1)}))},[t,n,i]),r.useEffect(function(){t?t&&i&&p.length>0&&p.includes(i)&&b(i):(b(""),_(""),L(null))},[t,i,p]);var T=r.useCallback(function(){if(n&&y&&o){S(!0),L(null);var e="";if("dsm"===a)e="/splunkd/__raw/services/trackme/v2/splk_dsm/write/ds_update_sla_class";else if("dhm"===a)e="/splunkd/__raw/services/trackme/v2/splk_dhm/write/dh_update_sla_class";else if("mhm"===a)e="/splunkd/__raw/services/trackme/v2/splk_mhm/write/mh_update_sla_class";else if("flx"===a)e="/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_update_sla_class";else if("fqm"===a)e="/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_update_sla_class";else{if("wlk"!==a)return L("Unsupported component: ".concat(a)),void S(!1);e="/splunkd/__raw/services/trackme/v2/splk_wlk/write/wlk_update_sla_class"}var t={tenant_id:n,keys_list:o,component:a,sla_class:y,update_comment:v||void 0};J(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(function(){var e=sc(oc().m(function e(t){var n;return oc().w(function(e){for(;;)switch(e.n){case 0:if(t.ok){e.n=2;break}return e.n=1,Z(t);case 1:throw n=e.v,new Error(n);case 2:return e.a(2,t.json())}},e)}));return function(t){return e.apply(this,arguments)}}()).then(function(){S(!1),u&&u(),l()}).catch(function(e){L((null==e?void 0:e.message)||"Failed to update SLA class"),S(!1)})}else L("Missing required information")},[n,a,o,y,v,u,l]);return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:600}},r.createElement(vt().Header,{title:"SLA entity update"}),r.createElement(vt().Body,{style:{padding:20}},k&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},r.createElement(s(),{size:"medium"})),!k&&A&&!y&&r.createElement(Jt(),{type:"error"},A),!k&&(!A||y)&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:20}},r.createElement("div",{style:{display:"block",marginBottom:8,fontWeight:600,color:O.text}},"Select the target SLA class for this entity:"),r.createElement(ht(),{value:y,onChange:function(e,t){var n=t.value;b(n)},disabled:w||0===p.length,style:{width:"100%"},"aria-label":"Select the target SLA class for this entity"},p.map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",{style:{marginBottom:20}},r.createElement("div",{style:{display:"block",marginBottom:8,fontWeight:600,color:O.text}},"Confirm SLA class update?")),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"sla-update-comment",style:{display:"block",marginBottom:8,color:O.textSecondary,fontSize:13}},"Optional: enter a note for this update. This note will be logged and made available for auditing purposes.",r.createElement("textarea",{id:"sla-update-comment",value:v,onChange:function(e){_(e.target.value)},disabled:w,placeholder:"Update note",style:{display:"block",width:"100%",maxWidth:"100%",marginTop:8,height:80,padding:8,borderRadius:4,border:"1px solid ".concat(O.border),backgroundColor:O.background,color:O.text,resize:"vertical",boxSizing:"border-box"}}))),A&&r.createElement(Jt(),{type:"error",style:{marginBottom:20}},A))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,disabled:w},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:T,disabled:w||!y||k},w?r.createElement(s(),{size:"small"}):"OK")))};function fc(e){return fc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fc(e)}function pc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(xc(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,xc(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,xc(d,"constructor",u),xc(u,"constructor",s),s.displayName="GeneratorFunction",xc(u,a,"GeneratorFunction"),xc(d),xc(d,a,"Generator"),xc(d,r,function(){return this}),xc(d,"toString",function(){return"[object Generator]"}),(Sc=function(){return{w:o,m:f}})()}function xc(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}xc=function(e,t,n,r){function o(t,n){xc(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},xc(e,t,n,r)}function kc(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Cc(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){kc(o,r,a,i,l,"next",e)}function l(e){kc(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ec(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ac(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ac(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ac(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==l[0]&&l[0],u&&d){e.n=1;break}return e.a(2);case 1:return t?L(!0):k(!0),D(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_dsm/ds_get_dsm_sampling",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:u,object:d})});case 3:if((n=e.v).ok){e.n=5;break}return e.n=4,Z(n);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,n.json();case 6:a=e.v,Array.isArray(a)&&a.length>0?(Y(a[0]),t&&re({type:"success",title:"Data sampling state refreshed"})):(D("No sampling data found"),t&&re({type:"error",title:"Failed to refresh data sampling",message:"No sampling data found"})),e.n=8;break;case 7:e.p=7,i=e.v,o=i.message||"Failed to fetch sampling data",D(o),t&&re({type:"error",title:"Failed to refresh data sampling",message:o});case 8:return e.p=8,t?L(!1):k(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[u,d,re]);r.useEffect(function(){l&&oe()},[l,oe]);var ie=r.useCallback(function(e,t){var n,r=((null===(n=window.Splunk)||void 0===n||null===(n=n.util)||void 0===n?void 0:n.make_url)||function(e){return e})("/app/trackme/search"),a=encodeURIComponent(e),o="".concat(r,"?q=").concat(a);return t&&Object.entries(t).forEach(function(e){var t=Ec(e,2),n=t[0],r=t[1];o+="&".concat(n,"=").concat(encodeURIComponent(r))}),o},[]),le=r.useCallback(function(){oe(!0)},[oe]),se=r.useCallback(Cc(Sc().m(function e(){var t,n,r;return Sc().w(function(e){for(;;)switch(e.p=e.n){case 0:if(u&&d){e.n=1;break}return e.a(2);case 1:return ne({type:"info",title:"Starting data sampling engine",message:"Your request is being processed..."}),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_dsm/write/ds_manage_data_sampling",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:u,object_list:d,action:"run"})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw n=e.v,new Error(n);case 5:ne({type:"success",title:"Data sampling engine started",message:"The sampling engine is running in the background."}),setTimeout(function(){oe()},2e3),e.n=7;break;case 6:e.p=6,r=e.v,ne({type:"error",title:"Failed to run sampling engine",message:r.message||"An error occurred"});case 7:return e.a(2)}},e,null,[[2,6]])})),[u,d,oe,ne]),ue=r.useCallback(function(){if(u&&d){var e='| trackmesamplingexecutor object="'.concat(d,'" mode="test_sampling" tenant_id="').concat(u,'"'),t=ie(e);window.open(t,"_blank")}},[u,d,ie]),ce=r.useCallback(function(){if(u&&d){var e='| trackmesamplingexecutor object="'.concat(d,'" mode="get_samples" tenant_id="').concat(u,'"\n| table event_id, model_id, model_name, result_sampling*, event*, * | fields - _raw, _time\n| trackmeprettyjson fields=result_sampling'),t=ie(e);window.open(t,"_blank")}},[u,d,ie]),de=r.useCallback(function(){if(u&&d){var e='| trackmesamplingexecutor object="'.concat(d,'" mode="show_kvrecord" tenant_id="').concat(u,'"'),t=ie(e);window.open(t,"_blank")}},[u,d,ie]),fe=r.useCallback(function(){if(u&&d){var e="| mstats latest(trackme.splk_dsm.sampling.model_count_matched) as model_count_matched where `trackme_metrics_idx(".concat(u,')` tenant_id="').concat(u,'" object_category="splk-dsm" object="').concat(d,'" by model_name span=5m\n| timechart avg(model_count_matched) as model_count_matched by model_name'),t=ie(e,{"display.page.search.tab":"visualizations","display.general.type":"visualizations",earliest:"-24h",latest:"now"});window.open(t,"_blank")}},[u,d,ie]),pe=r.useCallback(function(){if(u&&d){var e="| mstats latest(trackme.splk_dsm.sampling.model_pct_match) as model_pct_match where `trackme_metrics_idx(".concat(u,')` tenant_id="').concat(u,'" object_category="splk-dsm" object="').concat(d,'" by model_name span=5m\n| timechart avg(model_pct_match) as model_pct_match by model_name'),t=ie(e,{"display.page.search.tab":"visualizations","display.general.type":"visualizations",earliest:"-24h",latest:"now"});window.open(t,"_blank")}},[u,d,ie]),me=r.useCallback(function(){if(u&&d){var e="| mstats latest(trackme.splk_dsm.sampling.run_time) as run_time, latest(trackme.splk_dsm.sampling.events_count) as events_count where `trackme_metrics_idx(".concat(u,')` tenant_id="').concat(u,'" object_category="splk-dsm" object="').concat(d,'" span=5m\n| timechart avg(run_time) as run_time, avg(events_count) as events_count'),t=ie(e,{"display.page.search.tab":"visualizations","display.general.type":"visualizations","display.visualizations.charting.chart.overlayFields":"run_time","display.visualizations.charting.axisY2.enabled":"1",earliest:"-24h",latest:"now"});window.open(t,"_blank")}},[u,d,ie]),he=r.useCallback(function(){q("reset"),R(!0),K(null)},[]),ye=r.useCallback(function(){q("disable"),R(!0),K(null)},[]),be=r.useCallback(function(){q("enable"),R(!0),K(null)},[]),ge=r.useCallback(function(){var e=Cc(Sc().m(function e(t){var n,r,a,o;return Sc().w(function(e){for(;;)switch(e.p=e.n){case 0:if(u&&d&&H){e.n=1;break}return e.a(2);case 1:return U(!0),K(null),e.p=2,n={disable:"disable",enable:"enable",reset:"reset"},e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_dsm/write/ds_manage_data_sampling",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:u,object_list:d,action:n[H],update_comment:t||void 0})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw a=e.v,new Error(a);case 5:ne({type:"success",title:{disable:"Data sampling disabled",enable:"Data sampling enabled",reset:"Data sampling reset and started"}[H],message:{disable:"",enable:"",reset:"All sampling data has been cleared and the engine is running."}[H]}),R(!1),q(null),oe(),h&&h(),e.n=7;break;case 6:e.p=6,o=e.v,K(o.message||"An error occurred");case 7:return e.p=7,U(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[u,d,H,oe,h,ne]),ve=r.useCallback(function(){V||(R(!1),q(null),K(null))},[V]),_e=r.useMemo(function(){return H?"disable"===H?{title:"Disable Data Sampling",message:"Are you sure you want to disable data sampling for this entity?",confirmLabel:"Disable",confirmAppearance:"destructive"}:"enable"===H?{title:"Enable Data Sampling",message:"Are you sure you want to enable data sampling for this entity?",confirmLabel:"Enable",confirmAppearance:"primary"}:{title:"Reset and Run Data Sampling",message:"Are you sure you want to clear the state and run sampling? This will reset all sampling data for this entity.",confirmLabel:"Reset and Run",confirmAppearance:"primary"}:null},[H]),Me="enabled"===(null==P?void 0:P.data_sample_feature)||"pending"===(null==P?void 0:P.data_sample_feature)||"disabled_auto"===(null==P?void 0:P.data_sample_feature),we=r.useCallback(function(e){return{display:"inline-block",width:10,height:10,borderRadius:"50%",background:e,border:"1px solid ".concat(ae.border)}},[ae.border]),Se=r.useCallback(function(e){var t=String(e||"").toLowerCase();return"enabled"===t?"#4caf50":"disabled"===t?"#d32f2f":"#fb8c00"},[]),xe=r.useCallback(function(e){return 0===e?"#4caf50":1===e?"#d32f2f":2===e?"#fb8c00":"#212121"},[]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:l,onRequestClose:p,returnFocus:function(){},style:{width:"98vw",maxWidth:"1800px",height:"95vh",maxHeight:"1200px"}},r.createElement(vt().Header,{title:"Data sampling & events format recognition"}),r.createElement(vt().Body,{style:{padding:20,overflow:"auto",position:"relative"}},S&&!P&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),T&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},T),(!S||P)&&P&&r.createElement(r.Fragment,null,A&&r.createElement("div",{style:{position:"absolute",top:20,right:60,zIndex:5,display:"flex",alignItems:"center"}},r.createElement(s(),{size:"small"})),r.createElement(Mr(),{title:"About Data Sampling"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:ae.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"Data Sampling performs events format recognition to track and detect quality issues in Splunk feeds, you can manage detection and entity rules on a per entity basis."),r.createElement("p",{style:{marginTop:0,marginBottom:0}},"On a regular basis, a sample of the latest data source raw events is taken and investigated by the Data sampling and format detection engine. Events format recognition is based on builtin regex rules to identify a unique event pattern, this can be extended with custom rules to handle unknown or custom formats, or to track Personally identifiable information (PII)."))),r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:16,marginBottom:16,width:"100%"}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"Data sampling actions",style:{flex:"0 0 auto"}})},r.createElement(m(),{style:{width:280}},r.createElement(m().Heading,null,"Primary Actions"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:le},"Refresh"),r.createElement(m().Item,{startAdornment:r.createElement(B(),null),onClick:se,disabled:!Me},"Run sampling engine"),r.createElement(m().Item,{startAdornment:r.createElement(B(),null),onClick:ue,disabled:!Me},"Test sampling engine"),r.createElement(m().Item,{startAdornment:r.createElement(Et(),null),onClick:te,disabled:!Me},"Update entity settings"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,"Rules Management"),r.createElement(m().Item,{startAdornment:r.createElement(yc(),null),onClick:Q},"View builtin rules"),r.createElement(m().Item,{startAdornment:r.createElement(Et(),null),onClick:ee},"Manage custom rules"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,"State Management"),r.createElement(m().Item,{startAdornment:r.createElement(B(),null),onClick:he,disabled:!Me},"Reset all & run sampling"),Me?r.createElement(m().Item,{startAdornment:r.createElement(gc(),null),onClick:ye},"Disable"):r.createElement(m().Item,{startAdornment:r.createElement(N(),null),onClick:be},"Enable"),Me&&r.createElement(r.Fragment,null,r.createElement(m().Divider,null),r.createElement(m().Heading,null,"View Actions"),r.createElement(m().Item,{startAdornment:r.createElement(j(),null),onClick:fe},"View Metrics parsed events/model"),r.createElement(m().Item,{startAdornment:r.createElement(j(),null),onClick:pe},"View Metrics pct match/model"),r.createElement(m().Item,{startAdornment:r.createElement(j(),null),onClick:me},"View Metrics run_time/events_count"),r.createElement(m().Item,{startAdornment:r.createElement(_c(),null),onClick:de},"View KVrecord"),r.createElement(m().Item,{startAdornment:r.createElement(wc(),null),onClick:ce},"View latest sample events"))))),P.data_sample_feature&&r.createElement("div",{style:{marginTop:16,marginBottom:16}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:8}},"Entity settings:"),r.createElement("div",{style:{background:ae.backgroundSecondary,border:"1px solid ".concat(Me?"#2196f3":"#ff9800"),borderRadius:8,padding:12}},r.createElement(Mt(),{json:{feature:P.data_sample_feature||"",min_time_btw_iterations_seconds:null!==(t=P.min_time_btw_iterations_seconds)&&void 0!==t?t:0,pct_min_major_inclusive_model_match:null!==(n=P.pct_min_major_inclusive_model_match)&&void 0!==n?n:0,pct_max_exclusive_model_match:null!==(a=P.pct_max_exclusive_model_match)&&void 0!==a?a:0,max_events_per_sampling_iteration:null!==(o=P.max_events_per_sampling_iteration)&&void 0!==o?o:0,relative_time_window_seconds:null!==(i=P.relative_time_window_seconds)&&void 0!==i?i:0},defaultExpanded:!1,style:{backgroundColor:"transparent",color:ae.text}}))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12}},"Sampling Data"),r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(ae.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{minWidth:80,textAlign:"center"}},"Feature"),r.createElement(dt().HeadCell,{style:{minWidth:80,textAlign:"center"}},"State"),r.createElement(dt().HeadCell,{style:{minWidth:180}},"Curr. major format"),r.createElement(dt().HeadCell,{style:{minWidth:50,textAlign:"center"}}),r.createElement(dt().HeadCell,{style:{minWidth:180}},"Prev. major format"),r.createElement(dt().HeadCell,{style:{minWidth:200}},"Summary models"),r.createElement(dt().HeadCell,{style:{minWidth:200}},"State")),r.createElement(dt().Body,null,r.createElement(dt().Row,null,r.createElement(dt().Cell,{style:{textAlign:"center"}},r.createElement("span",{style:we(Se(P.data_sample_feature))})),r.createElement(dt().Cell,{style:{textAlign:"center"}},r.createElement("span",{style:we(xe(P.data_sample_anomaly_detected))})),r.createElement(dt().Cell,{style:{whiteSpace:"pre-wrap",fontSize:12}},P.current_detected_major_format||"N/A"),r.createElement(dt().Cell,{style:{textAlign:"center",fontSize:18}},P.direction||""),r.createElement(dt().Cell,{style:{whiteSpace:"pre-wrap",fontSize:12}},P.previous_detected_major_format||"N/A"),r.createElement(dt().Cell,{style:{fontSize:11}},P.data_sample_model_matched_summary?r.createElement(Mt(),{json:P.data_sample_model_matched_summary,defaultExpanded:!1,style:{backgroundColor:"transparent",color:ae.text}}):"N/A"),r.createElement(dt().Cell,{style:{fontSize:11}},P.data_sample_status_message?r.createElement(Mt(),{json:P.data_sample_status_message,defaultExpanded:!1,style:{backgroundColor:"transparent",color:ae.text}}):"N/A")))))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:p,style:{flex:"0 0 auto"}},"Close"))),I&&H&&_e&&r.createElement(ul,{open:I,title:_e.title,message:_e.message,confirmLabel:_e.confirmLabel,confirmAppearance:_e.confirmAppearance,loading:V,error:G,onClose:ve,onConfirm:ge}))};var Oc=n(55114),Tc=n.n(Oc);function Dc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return zc(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(zc(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,zc(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,zc(d,"constructor",u),zc(u,"constructor",s),s.displayName="GeneratorFunction",zc(u,a,"GeneratorFunction"),zc(d),zc(d,a,"Generator"),zc(d,r,function(){return this}),zc(d,"toString",function(){return"[object Generator]"}),(Dc=function(){return{w:o,m:f}})()}function zc(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}zc=function(e,t,n,r){function o(t,n){zc(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},zc(e,t,n,r)}function jc(e){return jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jc(e)}function Pc(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Bc(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Pc(o,r,a,i,l,"next",e)}function l(e){Pc(o,r,a,i,l,"throw",e)}i(void 0)})}}function Yc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Nc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&r.createElement("div",{style:{marginTop:16,display:"flex",justifyContent:"center",alignItems:"center",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:function(){return _(1)},disabled:1===v,style:{flex:"0 0 auto"}},"First"),r.createElement(c(),{appearance:"secondary",onClick:function(){return _(function(e){return Math.max(1,e-1)})},disabled:1===v,style:{flex:"0 0 auto"}},"Prev"),r.createElement("span",{style:{color:M.text,fontSize:14}},"Page ",v," of ",S),r.createElement(c(),{appearance:"secondary",onClick:function(){return _(function(e){return Math.min(S,e+1)})},disabled:v===S,style:{flex:"0 0 auto"}},"Next"),r.createElement(c(),{appearance:"secondary",onClick:function(){return _(S)},disabled:v===S,style:{flex:"0 0 auto"}},"Last")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",icon:r.createElement(Tc(),null),onClick:o||a,style:{flex:"0 0 auto"}},"Back")))};function Ic(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rc(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(qc(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,qc(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,qc(d,"constructor",u),qc(u,"constructor",s),s.displayName="GeneratorFunction",qc(u,a,"GeneratorFunction"),qc(d),qc(d,a,"Generator"),qc(d,r,function(){return this}),qc(d,"toString",function(){return"[object Generator]"}),(Hc=function(){return{w:o,m:f}})()}function qc(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}qc=function(e,t,n,r){function o(t,n){qc(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},qc(e,t,n,r)}function Xc(e){return Xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xc(e)}function Vc(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Uc(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Vc(o,r,a,i,l,"next",e)}function l(e){Vc(o,r,a,i,l,"throw",e)}i(void 0)})}}function $c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(nd(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,nd(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,nd(d,"constructor",u),nd(u,"constructor",s),s.displayName="GeneratorFunction",nd(u,a,"GeneratorFunction"),nd(d),nd(d,a,"Generator"),nd(d,r,function(){return this}),nd(d,"toString",function(){return"[object Generator]"}),(td=function(){return{w:o,m:f}})()}function nd(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}nd=function(e,t,n,r){function o(t,n){nd(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},nd(e,t,n,r)}function rd(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function ad(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){rd(o,r,a,i,l,"next",e)}function l(e){rd(o,r,a,i,l,"throw",e)}i(void 0)})}}function od(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return id(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?id(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function id(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(pd(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,pd(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,pd(d,"constructor",u),pd(u,"constructor",s),s.displayName="GeneratorFunction",pd(u,a,"GeneratorFunction"),pd(d),pd(d,a,"Generator"),pd(d,r,function(){return this}),pd(d,"toString",function(){return"[object Generator]"}),(fd=function(){return{w:o,m:f}})()}function pd(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}pd=function(e,t,n,r){function o(t,n){pd(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},pd(e,t,n,r)}function md(e){return function(e){if(Array.isArray(e))return vd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||gd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hd(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function yd(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){hd(o,r,a,i,l,"next",e)}function l(e){hd(o,r,a,i,l,"throw",e)}i(void 0)})}}function bd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||gd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gd(e,t){if(e){if("string"==typeof e)return vd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vd(e,t):void 0}}function vd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=100&&e()}},error:t,complete:e})});case 5:i.length>0?(ne(i[0]),oe(c),Ue({type:"success",title:"Simulation completed",message:"The simulation was successful."})):(ne({state:"warning",message:"No results from simulation"}),oe([])),e.n=7;break;case 6:e.p=6,d=e.v,k(d.message||"Failed to run simulation"),Ue({type:"error",title:"Simulation failed",message:d.message||"An error occurred"});case 7:return e.p=7,se(!1),e.f(7);case 8:return e.a(2)}},e,null,[[3,6,7,8]])})),[z,E,O,B,n,q,o,Fe,We,Ue]),Je=r.useCallback(function(){var e;if(ce){var t=((null===(e=window.Splunk)||void 0===e||null===(e=e.util)||void 0===e?void 0:e.make_url)||function(e){return e})("/app/trackme/search"),n=encodeURIComponent(ce),r="".concat(t,"?q=").concat(n);window.open(r,"_blank"),be(!1)}},[ce]),Ze=r.useCallback(function(e){var t;if(pe){var n=((null===(t=window.Splunk)||void 0===t||null===(t=t.util)||void 0===t?void 0:t.make_url)||function(e){return e})("/app/trackme/search"),r=encodeURIComponent(pe),a="".concat(n,"?q=").concat(r);window.open(a,"_blank"),_e(function(t){var n=cd({},t);return delete n[e],n})}},[pe]),Qe=r.useCallback(function(e,t){_e(function(n){if(t)return cd(cd({},n),{},dd({},e,!0));var r=cd({},n);return delete r[e],r})},[]),et=r.useCallback(function(){var e;if(Oe){var t=Oe.replace(/earliest="[^"]*"/,'earliest="'.concat(ze,'"')).replace(/latest="[^"]*"/,'latest="'.concat(Be,'"')),n=((null===(e=window.Splunk)||void 0===e||null===(e=e.util)||void 0===e?void 0:e.make_url)||function(e){return e})("/app/trackme/search"),r=encodeURIComponent(t),a="".concat(n,"?q=").concat(r);window.open(a,"_blank"),Ve(!1)}},[Oe,ze,Be]),tt=r.useCallback(yd(fd().m(function e(){var t,r,a;return fd().w(function(e){for(;;)switch(e.p=e.n){case 0:if(E&&z){e.n=1;break}return Ue({type:"warning",title:"Missing required fields",message:"Please enter a rule name and regular expression."}),e.a(2);case 1:if(n){e.n=2;break}return e.a(2);case 2:return M(!0),k(null),e.p=3,e.n=4,J("/splunkd/__raw/services/trackme/v2/splk_data_sampling/write/data_sampling_models_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,model_name:E,model_type:O,model_regex:z,sourcetype_scope:B,update_comment:R||"Created from UI"})});case 4:if((t=e.v).ok){e.n=6;break}return e.n=5,Z(t);case 5:throw r=e.v,new Error(r);case 6:Ue({type:"success",title:"Custom rule created",message:"The custom rule was successfully created."}),p&&p(),e.n=8;break;case 7:e.p=7,a=e.v,k(a.message||"Failed to create custom rule"),Ue({type:"error",title:"Failed to create custom rule",message:a.message||"An error occurred"});case 8:return e.p=8,M(!1),e.f(8);case 9:return e.a(2)}},e,null,[[3,7,8,9]])})),[E,z,O,B,R,n,p,Ue]),nt={width:"100%",padding:8,fontSize:14,backgroundColor:$e.background,color:$e.text,border:"1px solid ".concat($e.border),borderRadius:4,boxSizing:"border-box"},rt="light"===y;return r.createElement(vt(),{open:t,onRequestClose:h||d,returnFocus:function(){},style:{width:1200,maxWidth:"95vw",maxHeight:"90vh",overflow:"auto"}},r.createElement(vt().Header,{title:"Data sampling & events format recognition: create custom rules"}),r.createElement(vt().Body,null,S&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},S),r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:16}},"Follow these guided steps to define, test and create a custom rule for events format recognition. Click on each step to navigate through the form."),r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{defaultActivePanelId:"step1",layout:"vertical",style:{minHeight:500}},r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:1,label:"Custom rule name",isLight:rt}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:16}},"Define a name for this custom rule, it will be used as the identifier for events matching the custom rule:"),r.createElement("label",{htmlFor:"rule-name-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Enter the unique identifier of the events format recognition custom rule:"),r.createElement("input",{id:"rule-name-input",type:"text",value:E,onChange:function(e){return A(e.target.value)},style:nt,placeholder:"custom-model-xxx"}))),r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:2,label:"Rule behaviour mode",isLight:rt}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement(Mr(),{title:"How TrackMe considers exclusive and inclusive rules?"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:$e.text}},r.createElement("div",{style:{marginBottom:12}},r.createElement("strong",null,"Inclusive rules:"),' TrackMe runs inclusive rules starting from custom rules (should the sourcetype_scope allow it), and breaks at the first match per event. Once a rule is matched per event sample, the event is tagged with the rule name and the process continues with the next event. If no rule is matched, the event is tagged as "raw_not_identified".'),r.createElement("div",null,r.createElement("strong",null,"Exclusive rules:")," TrackMe runs all exclusive rules per event depending on the sourcetype scope, if one or more rules are matched, this information will be stored and will be considered as an anomaly to be reported."))),r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:8,marginTop:8}},"Define the custom rule behaviour, a custom rule can be inclusive or exclusive, inclusive rules looking for events matching while exclusive do the opposite:"),r.createElement("select",{value:O,onChange:function(e){return T(e.target.value)},style:nt},r.createElement("option",{value:"inclusive"},"Inclusive (rule must match)"),r.createElement("option",{value:"exclusive"},"Exclusive (rule must not match)")))),r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:3,label:"Show sample events",isLight:rt}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:16}},"View sample events from your data source to understand the event format before creating your custom rule:"),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12,marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"data-source-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Data source for show sample events action:"),o?r.createElement("input",{id:"data-source-input",type:"text",value:o,disabled:!0,style:cd(cd({},nt),{},{opacity:.6})}):r.createElement(ht(),{value:q||"",onChange:function(e,t){var n=t.value;X(n||null)},filter:!0,style:{width:"100%"},disabled:K},r.createElement(ht().Option,{label:K?"Loading data sources...":"Select a data source...",value:""}),U.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"time-range-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Time range:"),r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:ze,latest:Be,onChange:function(e,t){var n=t.earliest,r=t.latest;je(n),Ye(r)},labelMaxChars:1/0,"aria-label":"Sample events time range"}))))),r.createElement("div",{style:{marginBottom:16}},r.createElement(c(),{appearance:"secondary",onClick:Ge,disabled:ke||!(q||o),style:{flex:"0 0 auto"}},"Show sample events")),ke&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"})),we.length>0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},"Sample Events (",we.length," shown):"),r.createElement(f(),{open:Xe,onRequestOpen:function(){return Ve(!0)},onRequestClose:function(){return Ve(!1)},toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"Sample events actions",style:{flex:"0 0 auto"}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:et},"Open in search")))),r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat($e.border),borderRadius:8,maxHeight:300}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"Event")),r.createElement(dt().Body,null,we.map(function(e){var t="string"==typeof e?e:JSON.stringify(e);return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{fontSize:11,fontFamily:"monospace",whiteSpace:"pre-wrap"}},JSON.stringify(e,null,2)))}))))))),r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:4,label:"Rule Regular Expression (Regex)",isLight:rt}),panelId:"step4"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:8}},"Define the regular expression for the new custom rule:"),r.createElement("label",{htmlFor:"rule-regex-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Regular expression rule:"),r.createElement("textarea",{id:"rule-regex-input",value:z,onChange:function(e){return j(e.target.value)},style:cd(cd({},nt),{},{minHeight:100,fontFamily:"monospace",resize:"vertical"}),placeholder:"e.g., ^\\w{3}\\s*\\d{1,2}\\s*\\d{1,2}\\:\\d{1,2}\\:\\d{1,2}"}),r.createElement("div",{style:{fontSize:12,color:$e.textSecondary,marginTop:4}},"Example:"," ",r.createElement("code",{style:{fontFamily:"monospace",backgroundColor:$e.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"^\\w{3}\\s*\\d{1,2}\\s*\\d{1,2}\\:\\d{1,2}\\:\\d{1,2}")," would match events in the following format: ",r.createElement("code",{style:{fontFamily:"monospace",backgroundColor:$e.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"Mar 1 00:01:51.047: %LINK-3-UPDOWN: Interface FastEthernet0/0 changed state to up")))),r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:5,label:"Sourcetype scope",isLight:rt}),panelId:"step5"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:8}},"Define the sourcetype scope, this eventually restricts the custom rule application:"),r.createElement("div",{style:{fontSize:13,color:$e.textSecondary,marginBottom:8}},r.createElement("ul",{style:{marginTop:0,marginBottom:0,paddingLeft:20}},r.createElement("li",null,r.createElement("strong",null,"Any:")," Use * to match any sourcetype, this rule will be applicable for any sourcetype value."),r.createElement("li",null,r.createElement("strong",null,"Wildcard match:")," You can use wildcard to match different sourcetypes in a single definition, for instance pan:* would match any variation of this sourcetype family such as pan:traffic or pan:logs."),r.createElement("li",null,r.createElement("strong",null,"Comma separated values:")," You can define a comma separated list of sourcetypes, each of these sourcetype can also use wildcard matching."))),r.createElement("label",{htmlFor:"sourcetype-scope-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Sourcetype scope: comma separated list of sourcetypes restricting application of this rule which supports wildcards"),r.createElement("input",{id:"sourcetype-scope-input",type:"text",value:B,onChange:function(e){return Y(e.target.value)},style:nt,placeholder:"* or cribl:business or pan:*,pan:traffic"}))),r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:6,label:"Test and Review",isLight:rt}),panelId:"step6"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:16}},"Run a simulation to test your custom rule against sample events and review the results:"),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12,marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"simulation-time-range-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Time range:"),r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:Fe,latest:We,onChange:function(e,t){var n=t.earliest,r=t.latest;Ie(n),He(r)},labelMaxChars:1/0,"aria-label":"Simulation time range"})))),r.createElement("div",null,r.createElement(c(),{appearance:"secondary",onClick:Ke,disabled:le||!z||!E||!(q||o),style:{flex:"0 0 auto"}},"Run model simulation"))),le&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"})),te&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:8}},"Rule simulation general results: (the simulation returns a success if we have been able to sample and apply the regular expression to the events)"),r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat($e.border),borderRadius:8,position:"relative"}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"Field"),r.createElement(dt().HeadCell,null,"Value"),r.createElement(dt().HeadCell,{style:{width:50}})),r.createElement(dt().Body,null,Object.entries(te).map(function(e){var t=bd(e,2),n=t[0],a=t[1];return r.createElement(dt().Row,{key:n},r.createElement(dt().Cell,{style:{fontWeight:500}},n),r.createElement(dt().Cell,null,String(a)),r.createElement(dt().Cell,{style:{width:50,padding:"4px"}},n===Object.keys(te)[0]&&r.createElement(f(),{open:ye,onRequestOpen:function(){return be(!0)},onRequestClose:function(){return be(!1)},toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"Simulation results actions",style:{flex:"0 0 auto",padding:"4px 8px",minWidth:"auto"}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:Je,disabled:!ce},"Open in search")))))}))))),ae.length>0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:8}},"Rule simulation detailed results: (use these results to review the regex matching per event, consult the result_sampling content for full results)"),r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat($e.border),borderRadius:8,maxHeight:400}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"model_match"),r.createElement(dt().HeadCell,null,"model_name"),r.createElement(dt().HeadCell,null,"model_type"),r.createElement(dt().HeadCell,null,"model_id"),r.createElement(dt().HeadCell,null,"sourcetype_scope"),r.createElement(dt().HeadCell,null,"exclusive_match_anomaly"),r.createElement(dt().HeadCell,null,"message"),r.createElement(dt().HeadCell,null,"result_sampling"),r.createElement(dt().HeadCell,{style:{width:50}})),r.createElement(dt().Body,null,ae.map(function(e,t){var n=e.key||e._key||"row-".concat(t),a=ve[n]||!1;return r.createElement(dt().Row,{key:n},r.createElement(dt().Cell,null,String(e.model_match||"-")),r.createElement(dt().Cell,null,e.model_name||"-"),r.createElement(dt().Cell,null,e.model_type||"-"),r.createElement(dt().Cell,{style:{fontSize:11,fontFamily:"monospace"}},e.model_id||"-"),r.createElement(dt().Cell,null,e.sourcetype_scope||"-"),r.createElement(dt().Cell,null,String(e.exclusive_match_anomaly||"-")),r.createElement(dt().Cell,null,e.message||"-"),r.createElement(dt().Cell,{style:{fontSize:11,fontFamily:"monospace",whiteSpace:"pre-wrap",maxWidth:400,maxHeight:200,overflow:"auto"}},function(){if(!e.result_sampling)return"-";try{if("string"==typeof e.result_sampling)try{var t=JSON.parse(e.result_sampling);return JSON.stringify(t,null,2)}catch(t){return e.result_sampling}return JSON.stringify(e.result_sampling,null,2)}catch(t){return String(e.result_sampling)}}()),r.createElement(dt().Cell,{style:{width:50,padding:"4px"}},r.createElement(f(),{open:a,onRequestOpen:function(){return Qe(n,!0)},onRequestClose:function(){return Qe(n,!1)},toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"Actions for row ".concat(n),style:{flex:"0 0 auto",padding:"4px 8px",minWidth:"auto"}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:function(){return Ze(n)},disabled:!pe},"Open in search")))))})))))))),r.createElement(i().Panel,{label:r.createElement(_d,{stepNumber:7,label:"Validate the rule creation",isLight:rt}),panelId:"step7"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:$e.textSecondary,marginBottom:8}},"If your settings have been successfully validated, you can now create the new custom rule:"),r.createElement("div",null,r.createElement("label",{htmlFor:"update-comment-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:$e.text}},"Update comment (optional):"),r.createElement("textarea",{id:"update-comment-input",value:R,onChange:function(e){return W(e.target.value)},style:cd(cd({},nt),{},{minHeight:60,resize:"vertical"}),placeholder:"Enter a comment for this rule creation..."})))))),g&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",icon:r.createElement(Tc(),null),onClick:h||d,disabled:g},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:tt,disabled:g||!E||!z},"Add this new custom rule")))};function wd(e){return wd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wd(e)}function Sd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1){var n=t.map(function(e){return'"'.concat(e,'"')}).join(", ");e="data_sourcetype IN (".concat(n,")")}else e='data_sourcetype="'.concat(t[0],'"');return"index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` (component=LineBreakingProcessor OR component=AggregatorMiningProcessor OR component=DateParserVerbose) | `trackme_data_quality_parse` | search ".concat(e)},[P]),Y=r.useCallback(function(){var e=B();if(e&&t){try{var n,r;null===(n=D.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}g(function(e){return Ad(Ad({},e),{},{loading:!0,error:null})});var a="".concat(e," | timechart `auto_span` count by component");try{var o=Ee.A.create({search:a,earliest_time:l,latest_time:p},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=Object.keys(t[0]).filter(function(e){return"_time"!==e}),r=n.map(function(e){return t.map(function(t){var n=t[e];return null!=n?n:null})}),o=t.map(function(e){return e._time});r.unshift(o);var i=[{name:"_time"}].concat(function(e){if(Array.isArray(e))return Dd(e)}(s=n.map(function(e){return{name:e}}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||Td(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l={requestParams:{offset:0,count:t.length},data:{fields:i,columns:r},meta:{totalCount:t.length}};g({dataSource:l,loading:!1,error:null,searchQuery:a})}else g({dataSource:null,loading:!1,error:null,searchQuery:a})}var s},error:function(e){g({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:a})},complete:function(){}});return D.current=o,function(){try{o.unsubscribe()}catch(e){}}}catch(e){g({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else g({dataSource:null,loading:!1,error:null,searchQuery:null})},[B,t,l,p]),N=r.useCallback(function(){var e=B();if(e&&t){try{var n,r;null===(n=z.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}M(function(e){return Ad(Ad({},e),{},{loading:!0,error:null})});var a=e;try{var o=Ee.A.create({search:a,earliest_time:l,latest_time:p},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0!==t.length){var n=t[0],r=Object.keys(n||{}),o=r.map(function(e){return{name:e}}),i=r.map(function(e){return t.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});M({dataSource:{requestParams:{offset:0,count:t.length},data:{fields:o,columns:i},meta:{totalCount:t.length}},loading:!1,error:null,searchQuery:a})}else M({dataSource:{requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}},loading:!1,error:null,searchQuery:a})}},error:function(e){M({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load events",searchQuery:a})},complete:function(){}});return z.current=o,function(){try{o.unsubscribe()}catch(e){}}}catch(e){M({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run events search",searchQuery:null})}}else M({dataSource:null,loading:!1,error:null,searchQuery:null})},[B,t,l,p]),F=r.useCallback(function(){if(b.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(b.searchQuery),"&earliest=").concat(encodeURIComponent(l),"&latest=").concat(encodeURIComponent(p)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[b.searchQuery,l,p]),I=r.useCallback(function(){if(_.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(_.searchQuery),"&earliest=").concat(encodeURIComponent(l),"&latest=").concat(encodeURIComponent(p)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[_.searchQuery,l,p]);r.useEffect(function(){if(w.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&A(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(w.current),function(){e.disconnect()}}},[b.dataSource]),r.useEffect(function(){if(S.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&T(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(S.current),function(){e.disconnect()}}},[_.dataSource]),r.useEffect(function(){var e=Y(),t=N();return function(){e&&e(),t&&t()}},[Y,N]);var R=r.useCallback(function(){Y(),N()},[Y,N]);return r.useEffect(function(){a&&a(R)},[a,R]),r.useEffect(function(){return function(){try{var e,t;null===(e=D.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=z.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]),P?r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:24}},r.createElement(Mr(),{title:"About Data Parsing Quality"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:j.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"This tab displays data parsing issues related to the selected sourcetype. The chart shows parsing errors over time, grouped by component type (LineBreakingProcessor, AggregatorMiningProcessor, or DateParserVerbose)."),r.createElement("p",{style:{marginTop:0,marginBottom:0,fontWeight:600,color:"#ff9800"}},"CAUTION: Indexing time parsing errors happen at the sourcetype level, if this sourcetype is indexing to more than one index, these errors may not apply to this index / sourcetype combination.")))),r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:l,latest:p,onChange:function(e,t){var n=t.earliest,r=t.latest;u(n),h(r)},labelMaxChars:1/0,"aria-label":"Data parsing quality time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:j.backgroundSecondary,border:"1px solid ".concat(j.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Data Parsing Quality"),b.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:F},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{Y()}catch(e){}},disabled:b.loading},"Refresh")))),b.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!b.loading&&b.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},b.error),!b.loading&&!b.error&&b.dataSource&&r.createElement("div",{ref:w,style:{width:"100%",height:200}},r.createElement(Ft(),{width:E||800,height:200,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent","charting.chart.stackMode":"stacked",xAxisTitleVisibility:"hide"},dataSources:{primary:b.dataSource}})),!b.loading&&!b.error&&!b.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No parsing issues found"),r.createElement("div",{style:{fontSize:13}},'No data parsing errors were found for sourcetype "',P,'" during the selected time range.'))))),r.createElement("div",null,r.createElement("div",{ref:S,style:{background:j.backgroundSecondary,border:"1px solid ".concat(j.border),borderRadius:8,padding:8,position:"relative",width:"100%"}},_.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:I},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{N()}catch(e){}},disabled:_.loading},"Refresh")))),_.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),_.error&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},_.error),_.dataSource&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:O||800,height:400,dataSources:{primary:_.dataSource},options:{height:400,footerFields:["index","source","sourcetype"]}})),!_.loading&&!_.error&&!_.dataSource&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No parsing events found for the selected time range.")))):r.createElement("div",{style:{marginBottom:-20}},r.createElement(Jt(),{type:"info",style:{marginBottom:12}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"Sourcetype not available"),r.createElement("div",{style:{fontSize:13}},"Data parsing quality information requires a sourcetype to be available for this entity.")))};var jd=n(90589),Pd=n.n(jd),Bd=n(48950),Yd=n.n(Bd);function Nd(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Fd(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Fd(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Fd(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Fd(d,"constructor",u),Fd(u,"constructor",s),s.displayName="GeneratorFunction",Fd(u,a,"GeneratorFunction"),Fd(d),Fd(d,a,"Generator"),Fd(d,r,function(){return this}),Fd(d,"toString",function(){return"[object Generator]"}),(Nd=function(){return{w:o,m:f}})()}function Fd(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Fd=function(e,t,n,r){function o(t,n){Fd(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Fd(e,t,n,r)}function Id(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Rd(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Id(o,r,a,i,l,"next",e)}function l(e){Id(o,r,a,i,l,"throw",e)}i(void 0)})}}function Wd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=new Date(O)?G({type:"warning",title:"Invalid time range",message:"End time must be after start time."}):(Y("add"),j(!0),R(""),U(null)):G({type:"warning",title:"Missing fields",message:"Please provide both start and end times."})},[E,O,G]),ne=r.useCallback(function(){0!==M.size?(Y("delete"),j(!0),R(""),U(null)):G({type:"warning",title:"No exclusions selected",message:"Please select at least one period exclusion to delete."})},[M.size,G]),re=r.useCallback(Rd(Nd().m(function e(){var t,r,l,s,u,c,d;return Nd().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&o&&i&&B){e.n=1;break}return e.a(2);case 1:if(q(!0),U(null),e.p=2,t={tenant_id:n,component:a,object:o},"add"!==B){e.n=3;break}t.action="add",t.model_id="all",t.earliest=E,t.latest=O,t.update_comment=I||"No comment for update.",e.n=8;break;case 3:if("delete"!==B){e.n=8;break}if(t.action="delete",t.model_id="all",!((r=Array.from(M)).length>0)){e.n=6;break}if(l=r[0],!(s=y[l])||!s.period_exclusion_id){e.n=4;break}t.period_exclusion_id=s.period_exclusion_id,e.n=5;break;case 4:throw new Error("Selected exclusion does not have a valid period_exclusion_id");case 5:e.n=7;break;case 6:throw new Error("No exclusions selected for deletion");case 7:t.update_comment=I||"No comment for update.";case 8:return e.n=9,J("/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_manage_model_period_exclusion",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 9:if((u=e.v).ok){e.n=11;break}return e.n=10,Z(u);case 10:throw c=e.v,new Error(c);case 11:G({type:"success",title:"add"===B?"Period exclusion added":"Period exclusions deleted"}),j(!1),Y(null),R(""),w(new Set),A(x()),T(k()),Q(),e.n=13;break;case 12:e.p=12,d=e.v,U(d.message||"An error occurred");case 13:return e.p=13,q(!1),e.f(13);case 14:return e.a(2)}},e,null,[[2,12,13,14]])})),[n,a,o,i,B,I,E,O,M,y,Q,G,x,k]),ae=r.useCallback(function(){H||(j(!1),Y(null),R(""),U(null))},[H]),oe=r.useMemo(function(){return B?"add"===B?{title:"Add Period Exclusion",message:"Are you sure you want to add this period exclusion?",confirmLabel:"Add",confirmAppearance:"primary"}:{title:"Delete Period Exclusions",message:"Are you sure you want to delete ".concat(M.size," selected period exclusion(s)?"),confirmLabel:"Delete",confirmAppearance:"destructive"}:null},[B,M.size]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:"98vw",maxWidth:"1400px",height:"95vh",maxHeight:"1000px"}},r.createElement(vt().Header,{title:"Machine Learning Outliers Anomaly Detection - Periods exclusions per ML model"}),r.createElement(vt().Body,{style:{padding:20,overflow:"auto",height:"calc(95vh - 120px)",backgroundColor:K.background}},r.createElement("div",{style:{marginBottom:20}},r.createElement("h2",{style:{marginTop:0,marginBottom:12}},"Use this screen to manage ML models periods exclusions"),r.createElement("p",{style:{marginBottom:12}},"Periods Exclusions can be used to exclude periods of time from the ML models training, and avoid models from being impacted by behaviour anomalies:"),r.createElement("ul",{style:{marginBottom:0,paddingLeft:20}},r.createElement("li",null,"These periods are not taken into account while training ML models"),r.createElement("li",null,"When performing simulation, these periods are fully excluded (and can therefore appear as gaps in the chart)"),r.createElement("li",null,"When an exclusion period is expired and is out of the ML model training time range, it is automatically deleted when processing the next ML model training"),r.createElement("li",null,"The UI applies addition and deletion of periods exclusions to all ML models for this object"),r.createElement("li",{style:{color:"#2196f3"}},"Time is shown in your own local time zone settings."))),p&&r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:400,color:K.textSecondary}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:16}},"Loading period exclusions...")),!p&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:20}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:M.size===y.length&&y.length>0,onChange:function(e){e.target.checked?w(new Set(y.map(function(e,t){return t}))):w(new Set)},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none"}})),r.createElement(dt().HeadCell,null,"Starts on"),r.createElement(dt().HeadCell,null,"Ends on"),r.createElement(dt().HeadCell,null,"Created at")),r.createElement(dt().Body,null,0===y.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:4,style:{textAlign:"center",padding:40}},r.createElement(Jt(),{type:"info"},"No period exclusions found for this model."))):y.map(function(e,t){return r.createElement(dt().Row,{key:e.period_exclusion_id},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:M.has(t),onChange:function(e){return ee(t,e.target.checked)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,e.earliest_human||"N/A"),r.createElement(dt().Cell,null,e.latest_human||"N/A"),r.createElement(dt().Cell,null,e.ctime_human||"N/A"))})))),r.createElement("div",{style:{marginBottom:20,padding:20,backgroundColor:K.backgroundSecondary,borderRadius:8,border:"1px solid ".concat(K.border)}},r.createElement("h3",{style:{marginTop:0,marginBottom:16}},"Add a new period exclusion"),r.createElement("div",{style:{display:"flex",gap:20,marginBottom:16,flexWrap:"wrap",alignItems:"flex-end"}},r.createElement("div",{style:{width:250,marginRight:20}},r.createElement("label",{htmlFor:"start-time-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Starts on:"),r.createElement("input",{id:"start-time-input",type:"datetime-local",value:E,onChange:function(e){return A(e.target.value)},style:{width:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(K.border),backgroundColor:K.background,color:K.text}})),r.createElement("div",{style:{width:250,marginRight:20}},r.createElement("label",{htmlFor:"end-time-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Ends on:"),r.createElement("input",{id:"end-time-input",type:"datetime-local",value:O,onChange:function(e){return T(e.target.value)},style:{width:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(K.border),backgroundColor:K.background,color:K.text}})),r.createElement("div",{style:{flexShrink:0}},r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:te},"Add a new period exclusion")))),r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:12,alignItems:"flex-start"}},r.createElement(c(),{appearance:"destructive",onClick:ne,disabled:0===M.size,style:{width:"auto",minWidth:"auto",flexShrink:0,flexGrow:0}},"Delete selected (",M.size,")")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:u},"Back to outliers manage"),r.createElement(c(),{appearance:"secondary",onClick:l},"Close"))),z&&oe&&r.createElement(vt(),{open:z,onRequestClose:ae,returnFocus:function(){},style:{width:600}},r.createElement(vt().Header,{title:oe.title}),r.createElement(vt().Body,null,r.createElement("div",{style:{marginBottom:16}},oe.message),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"exclusion-comment-textarea",style:{display:"block",marginBottom:8,fontWeight:500}},"Optional: enter a note of this update. This note will be logged and made available for auditing purposes."),r.createElement("textarea",{id:"exclusion-comment-textarea",value:I,onChange:function(e){return R(e.target.value)},rows:6,style:{width:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(K.border),backgroundColor:K.background,color:K.text,fontSize:14,fontFamily:"inherit",resize:"vertical"},placeholder:"update note"})),V&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},V)),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:ae,disabled:H},"Cancel"),r.createElement(c(),{appearance:oe.confirmAppearance,onClick:re,disabled:H},H?r.createElement(s(),{size:"small"}):oe.confirmLabel))))};function Xd(e){return Xd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xd(e)}function Vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ud(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Kd(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Kd(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Kd(d,"constructor",u),Kd(u,"constructor",s),s.displayName="GeneratorFunction",Kd(u,a,"GeneratorFunction"),Kd(d),Kd(d,a,"Generator"),Kd(d,r,function(){return this}),Kd(d,"toString",function(){return"[object Generator]"}),(Gd=function(){return{w:o,m:f}})()}function Kd(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Kd=function(e,t,n,r){function o(t,n){Kd(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Kd(e,t,n,r)}function Jd(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Zd(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Jd(o,r,a,i,l,"next",e)}function l(e){Jd(o,r,a,i,l,"throw",e)}i(void 0)})}}function Qd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ef(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ef(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&t<=100)return t}return 36},[y]),g=Qd(r.useState(!1),2),M=g[0],w=g[1],S=Qd(r.useState(!1),2),k=S[0],C=S[1],E=Qd(r.useState("-24h"),2),A=E[0],L=E[1],O=Qd(r.useState("now"),2),T=O[0],D=O[1],z=Qd(r.useState(!1),2),j=z[0],P=z[1],Y=Qd(r.useState("-90d"),2),F=Y[0],I=Y[1],R=Qd(r.useState("-1d"),2),W=R[0],H=R[1],q=Qd(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),X=q[0],V=q[1],U=Qd(r.useState(""),2),$=U[0],G=U[1],K=Qd(r.useState(b),2),Q=K[0],ee=K[1],te=Qd(r.useState("10m"),2),ne=te[0],re=te[1],ae=Qd(r.useState("avg"),2),oe=ae[0],ie=ae[1],le=Qd(r.useState("0.005"),2),se=le[0],ue=le[1],ce=Qd(r.useState("0.005"),2),de=ce[0],fe=ce[1],pe=Qd(r.useState("1"),2),me=pe[0],he=pe[1],ye=Qd(r.useState("1"),2),be=ye[0],ge=ye[1],ve=Qd(r.useState("%w%H"),2),_e=ve[0],Me=ve[1],we=Qd(r.useState("1"),2),Se=we[0],xe=we[1],ke=Qd(r.useState("25.0"),2),Ae=ke[0],Le=ke[1],Oe=Qd(r.useState("25.0"),2),Te=Oe[0],De=Oe[1],ze=Qd(r.useState("0"),2),je=ze[0],Pe=ze[1],Be=Qd(r.useState("0"),2),Ye=Be[0],Ne=Be[1],Fe=Qd(r.useState(""),2),Ie=Fe[0],Re=Fe[1],We=Qd(r.useState(""),2),He=We[0],qe=We[1],Xe=Qd(r.useState("DensityFunction"),2),Ve=Xe[0],Ue=Xe[1],$e=Qd(r.useState("splk_outliers_extract_boundaries"),2),Ge=$e[0],Ke=$e[1],Je=Qd(r.useState(""),2),Ze=Je[0],Qe=Je[1],et=Qd(r.useState(""),2),tt=et[0],nt=et[1],rt=r.useRef(null),at=r.useRef(null),ot=Qd(r.useState(800),2),it=ot[0],lt=ot[1],st=Qd(r.useState([]),2),ut=st[0],ct=st[1],dt=Qd(r.useState(!1),2),ft=dt[0],pt=dt[1],mt=r.useRef(null),yt=r.useMemo(function(){try{return(0,v.makeCreateToast)(_())}catch(e){return console.warn("[OutliersAddModelModal] Toast system not available:",e),function(){}}},[]),bt=r.useCallback(function(e){try{yt({type:e.type,title:e.title,message:e.message||" "})}catch(e){console.error("[OutliersAddModelModal] Error showing toast:",e)}},[yt]),gt=r.useMemo(function(){return"light"===h?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[h]),_t=r.useMemo(function(){return{width:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(gt.border),backgroundColor:gt.background,color:gt.text,fontSize:14,fontFamily:"inherit"}},[gt]);r.useEffect(function(){try{var e,n;null===(e=mt.current)||void 0===e||null===(n=e.unsubscribe)||void 0===n||n.call(e)}catch(e){}if(!t)return function(){try{var e,t;null===(e=mt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};if("dsm"===a||"dhm"===a||"flx"===a||"wlk"===a||"fqm"===a){if(!l)return ct([]),pt(!1),function(){try{var e,t;null===(e=mt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};var r="splk_".concat(a,"_metrics_populate_search"),o=l[r];if(!o)return ct([]),pt(!1),function(){try{var e,t;null===(e=mt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}};var i="".concat(o,' | rex field=metric_name "^trackme\\.(?.*)" | fields kpi_metrics | dedup kpi_metrics | sort kpi_metrics');pt(!0);try{var s=Ee.A.create({search:i,earliest_time:"-7d",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=(Array.isArray(null==e?void 0:e.results)?e.results:[]).map(function(e){return e.kpi_metrics}).filter(function(e){return e&&e.trim().length>0}).sort();ct(t),pt(!1)}},error:function(e){console.error("[OutliersAddModelModal] Error fetching metrics:",e),ct([]),pt(!1)},complete:function(){pt(!1)}});mt.current=s}catch(e){console.error("[OutliersAddModelModal] Error creating search job:",e),ct([]),pt(!1)}}else ct([]),pt(!1);return function(){try{var e,t;null===(e=mt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[t,a,l]),r.useEffect(function(){t&&(ee(b),G(""),re("10m"),ie("avg"),I("-90d"),H("-1d"),Me("%w%H"),ue("0.005"),fe("0.005"),he("1"),ge("1"),xe("1"),Le("25.0"),De("25.0"),Pe("0"),Ne("0"),Re(""),qe(""),Ue("DensityFunction"),Ke("splk_outliers_extract_boundaries"),Qe(""),nt(""),P(!1),V({dataSource:null,loading:!1,error:null,searchQuery:null}))},[t,b]);var Mt=r.useCallback(function(){if(X.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(X.searchQuery),"&earliest=").concat(encodeURIComponent(A),"&latest=").concat(encodeURIComponent(T)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[X.searchQuery,A,T]),wt=r.useCallback(Zd(Gd().m(function e(){var t,r,l,s,u,c,d,f;return Gd().w(function(e){for(;;)switch(e.n){case 0:if(n&&(o||i)&&$){e.n=1;break}return bt({type:"warning",title:"Missing required fields",message:"Please fill in at least the KPI metric field."}),e.a(2);case 1:C(!0),P(!0),V({dataSource:null,loading:!0,error:null,searchQuery:null}),t={kpi_metric:$,score:Q,kpi_span:ne,method_calculation:oe,density_lowerthreshold:se,density_upperthreshold:de,alert_lower_breached:me,alert_upper_breached:be,period_calculation:F,period_calculation_latest:W,time_factor:_e,auto_correct:Se,perc_min_lowerbound_deviation:Ae,perc_min_upperbound_deviation:Te,min_value_for_lowerbound_breached:je,min_value_for_upperbound_breached:Ye,static_lower_threshold:Ie||null,static_upper_threshold:He||null,algorithm:Ve,boundaries_extraction_macro:Ge,fit_extra_parameters:Ze||null,apply_extra_parameters:tt||null},r=JSON.stringify(t);try{null===(l=rt.current)||void 0===l||null===(s=l.unsubscribe)||void 0===s||s.call(l)}catch(e){}u=o?'object_id="'.concat(o,'"'):'object="'.concat(i,'"'),c='| trackmesplkoutliersrender tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(u,' mode="lightsimulation" model_json_def="').concat(r.replace(/"/g,'\\"'),'" | table _time, kpi_metric_value, LowerBound, UpperBound, isOutlier');try{d=Ee.A.create({search:c,earliest_time:A,latest_time:T},{app:"trackme"}),f=d.getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=[t.map(function(e){return e._time}),t.map(function(e){var t;return null!==(t=e.kpi_metric_value)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.LowerBound)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.UpperBound)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.isOutlier)&&void 0!==t?t:null})],r={requestParams:{offset:0,count:t.length},data:{fields:[{name:"_time"},{name:"kpi_metric_value"},{name:"lowerBound"},{name:"upperBound"},{name:"isOutlier"}],columns:n},meta:{totalCount:t.length}};V({dataSource:r,loading:!1,error:null,searchQuery:c})}else V({dataSource:null,loading:!1,error:null,searchQuery:c});C(!1)}},error:function(e){V({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run simulation",searchQuery:c}),C(!1)}}),rt.current=f}catch(e){V({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run simulation",searchQuery:c}),C(!1)}case 2:return e.a(2)}},e)})),[n,a,o,i,$,Q,ne,oe,se,de,me,be,F,W,_e,Se,Ae,Te,je,Ye,Ie,He,Ve,Ge,Ze,tt,A,T,bt]);r.useEffect(function(){if(at.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&<(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(at.current),function(){e.disconnect()}}},[X.dataSource]);var St=r.useCallback(Zd(Gd().m(function e(){var t,r,l,s,c,d;return Gd().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&(o||i)&&$){e.n=1;break}return bt({type:"warning",title:"Missing required fields",message:"Please fill in at least the KPI metric field."}),e.a(2);case 1:return w(!0),t={kpi_metric:$,score:Q,kpi_span:ne,method_calculation:oe,density_lowerthreshold:se,density_upperthreshold:de,alert_lower_breached:me,alert_upper_breached:be,period_calculation:F,period_calculation_latest:W,time_factor:_e,auto_correct:Se,perc_min_lowerbound_deviation:Ae,perc_min_upperbound_deviation:Te,min_value_for_lowerbound_breached:je,min_value_for_upperbound_breached:Ye,static_lower_threshold:Ie||null,static_upper_threshold:He||null,algorithm:Ve,boundaries_extraction_macro:Ge,fit_extra_parameters:Ze||null,apply_extra_parameters:tt||null},e.p=2,r={tenant_id:n,component:a,model_json:JSON.stringify(t),update_comment:"N/A"},o?r.object_id=o:i&&(r.object=i),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_add_model",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 3:if((l=e.v).ok){e.n=5;break}return e.n=4,Z(l);case 4:throw s=e.v,new Error(s);case 5:return e.n=6,l.json();case 6:if(!((c=e.v).success_count>0)){e.n=7;break}bt({type:"success",title:"ML model added",message:"Successfully added ".concat(c.success_count," ML model(s).")}),w(!1),p&&p(),u(),e.n=8;break;case 7:throw new Error(c.failures_count>0?"Failed to add model":"No models were added");case 8:e.n=10;break;case 9:e.p=9,d=e.v,bt({type:"error",title:"Failed to add model",message:d.message||"An error occurred"}),w(!1);case 10:return e.a(2)}},e,null,[[2,9]])})),[n,a,o,i,$,Q,ne,oe,se,de,me,be,F,W,_e,Se,Ae,Te,je,Ye,Ie,He,Ve,Ge,Ze,tt,bt,p,u]);return r.useEffect(function(){return function(){try{var e,t,n,r;null===(e=rt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e),null===(n=mt.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[]),r.createElement(vt(),{open:t,onRequestClose:u,returnFocus:function(){},style:{width:"98vw",maxWidth:"1600px",height:"95vh",maxHeight:"1200px"}},r.createElement(vt().Header,{title:"Machine Learning Outliers Anomaly Detection - Add a new model"}),r.createElement(vt().Body,{style:{padding:20,overflow:"auto",height:"calc(95vh - 120px)",backgroundColor:gt.background}},r.createElement("div",{style:{marginBottom:20}},r.createElement("h2",{style:{marginTop:0,marginBottom:12}},"You can add multiple Machine Learning models to the same entity, multiple models can be used to perform anomaly detection using different criterias:")),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"20px 30px",marginBottom:24,maxWidth:"1200px"}},r.createElement("div",null,r.createElement("label",{htmlFor:"kpi-metric-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Choose a KPI metric: *"),r.createElement(ht(),{id:"kpi-metric-select",value:$,onChange:function(e,t){var n=t.value;return G(n)},style:{width:"100%",maxWidth:"400px"},disabled:ft},ft?r.createElement(ht().Option,{label:"Loading metrics...",value:"",disabled:!0}):0===ut.length?r.createElement(ht().Option,{label:"No metrics available",value:"",disabled:!0}):ut.map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",{style:{gridColumn:"1 / -1"}},r.createElement("label",{htmlFor:"score-slider",style:{display:"block",marginBottom:6,fontWeight:500}},"Impact score:"),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:400}},r.createElement(vr(),{id:"score-slider",value:Q,onChange:function(e,t){var n=t.value;ee(n)},min:0,max:100,step:1,"aria-label":"Impact score"})),r.createElement("div",{style:{fontSize:13,color:gt.textSecondary,marginTop:4}},"Current value: ",Q)),r.createElement("div",null,r.createElement("label",{htmlFor:"kpi-span-select",style:{display:"block",marginBottom:6,fontWeight:500}},"KPI span:"),r.createElement(ht(),{id:"kpi-span-select",value:ne,onChange:function(e,t){var n=t.value;return re(n)},style:{width:"100%",maxWidth:"400px"}},["5m","10m","15m","30m","1h","4h","8h","12h","24h"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"calculation-method-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Calculation method:"),r.createElement(ht(),{id:"calculation-method-select",value:oe,onChange:function(e,t){var n=t.value;return ie(n)},style:{width:"100%",maxWidth:"400px"}},["stdev","avg","perc95","latest","max","min","sum"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"density-lower-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Density lower threshold:"),r.createElement("input",{id:"density-lower-threshold-input",type:"text",value:se,onChange:function(e){return ue(e.target.value)},placeholder:"e.g., 0.1",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"density-upper-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Density upper threshold:"),r.createElement("input",{id:"density-upper-threshold-input",type:"text",value:de,onChange:function(e){return fe(e.target.value)},placeholder:"e.g., 0.9",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"alert-lower-breached-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Alert lower threshold breached:"),r.createElement("input",{id:"alert-lower-breached-input",type:"text",value:me,onChange:function(e){return he(e.target.value)},placeholder:"e.g., 10",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"alert-upper-breached-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Alert upper threshold breached:"),r.createElement("input",{id:"alert-upper-breached-input",type:"text",value:be,onChange:function(e){return ge(e.target.value)},placeholder:"e.g., 10",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"period-calculation-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Period calculation:"),r.createElement("input",{id:"period-calculation-input",type:"text",value:F,onChange:function(e){return I(e.target.value)},placeholder:"e.g., -30d",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"period-calculation-latest-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Period calculation latest:"),r.createElement("input",{id:"period-calculation-latest-input",type:"text",value:W,onChange:function(e){return H(e.target.value)},placeholder:"e.g., -1d",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"time-factor-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Time factor calculation:"),r.createElement(ht(),{id:"time-factor-select",value:_e,onChange:function(e,t){var n=t.value;return Me(n)},style:{width:"100%",maxWidth:"400px"}},["%H","%H%M","%w%H","%w%H%M","%w","none"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"auto-correct-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Auto-correction enablement:"),r.createElement("input",{id:"auto-correct-input",type:"text",value:Se,onChange:function(e){return xe(e.target.value)},placeholder:"true/false",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-lower-deviation-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min % lower bound deviation:"),r.createElement("input",{id:"min-lower-deviation-input",type:"text",value:Ae,onChange:function(e){return Le(e.target.value)},placeholder:"e.g., 5",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-upper-deviation-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min % upper bound deviation:"),r.createElement("input",{id:"min-upper-deviation-input",type:"text",value:Te,onChange:function(e){return De(e.target.value)},placeholder:"e.g., 5",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-value-lower-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min value lower bound breached:"),r.createElement("input",{id:"min-value-lower-input",type:"text",value:je,onChange:function(e){return Pe(e.target.value)},placeholder:"e.g., 1",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-value-upper-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min value upper bound breached:"),r.createElement("input",{id:"min-value-upper-input",type:"text",value:Ye,onChange:function(e){return Ne(e.target.value)},placeholder:"e.g., 1",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"static-lower-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Static lowerBound threshold:"),r.createElement("input",{id:"static-lower-threshold-input",type:"text",value:Ie,onChange:function(e){return Re(e.target.value)},placeholder:"e.g., 0",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"static-upper-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Static upperBound threshold:"),r.createElement("input",{id:"static-upper-threshold-input",type:"text",value:He,onChange:function(e){return qe(e.target.value)},placeholder:"e.g., 1000",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"algorithm-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Algorithm:"),r.createElement(ht(),{id:"algorithm-select",value:Ve,onChange:function(e,t){var n=t.value;return Ue(n)},style:{width:"100%",maxWidth:"400px"}},["DensityFunction","Standard"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"boundaries-macro-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Boundaries extraction macro:"),r.createElement(ht(),{id:"boundaries-macro-select",value:Ge,onChange:function(e,t){var n=t.value;return Ke(n)},style:{width:"100%",maxWidth:"400px"}},["splk_outliers_extract_boundaries"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"fit-extra-params-input",style:{display:"block",marginBottom:6,fontWeight:500}},"fit extra params:"),r.createElement("input",{id:"fit-extra-params-input",type:"text",value:Ze,onChange:function(e){return Qe(e.target.value)},placeholder:"JSON string",style:Ud(Ud({},_t),{},{maxWidth:"400px"})})),r.createElement("div",null,r.createElement("label",{htmlFor:"apply-extra-params-input",style:{display:"block",marginBottom:6,fontWeight:500}},"apply extra params:"),r.createElement("input",{id:"apply-extra-params-input",type:"text",value:tt,onChange:function(e){return nt(e.target.value)},placeholder:"JSON string",style:Ud(Ud({},_t),{},{maxWidth:"400px"})}))),r.createElement("div",{style:{marginBottom:24,display:"flex",gap:12,flexWrap:"wrap",alignItems:"flex-start"}},r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:wt,disabled:!$||k,style:{width:"auto",minWidth:"auto",flexShrink:0,flexGrow:0}},k?r.createElement(s(),{size:"small"}):"Simulate this ML model"),r.createElement(c(),{appearance:"destructive",icon:r.createElement(N(),null),onClick:St,disabled:!$||M,style:{width:"auto",minWidth:"auto",flexShrink:0,flexGrow:0}},M?r.createElement(s(),{size:"small"}):"Add this new ML model")),j&&r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{marginTop:0,marginBottom:12}},"This screen allows to perform a limited and high level simulation of the outliers detection for this KPI."),r.createElement("p",{style:{marginBottom:12}},"Once added as a proper model, TrackMe can fully simulate results in a true context by training on demand a simulation model. (previous screen)")),j&&r.createElement("div",{style:{marginTop:30,padding:20,backgroundColor:gt.backgroundSecondary,borderRadius:8,border:"1px solid ".concat(gt.border)}},r.createElement("h3",{style:{marginTop:0,marginBottom:16}},"Simulation Preview"),r.createElement("div",{style:{marginBottom:16,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:A,latest:T,onChange:function(e,t){var n=t.earliest,r=t.latest;L(n),D(r)},labelMaxChars:1/0,"aria-label":"Simulation time range"})))),k&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!k&&X.error&&r.createElement("div",null,r.createElement(Jt(),{type:"error",style:{marginBottom:12}},X.error),X.searchQuery&&r.createElement(c(),{appearance:"secondary",onClick:Mt},"Open in Search")),!k&&!X.error&&X.dataSource&&r.createElement("div",{ref:at,style:{width:"100%",height:400,position:"relative"}},X.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:Mt},"Open in Search")))),r.createElement(Rt(),{width:it||800,height:400,options:{yAxisTitle:"KPI Metric Value",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent"},dataSources:{primary:X.dataSource}})),!k&&!X.error&&!X.dataSource&&r.createElement(Jt(),{type:"info"},"No simulation data available. Run simulation to see preview."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:d},"Back"),r.createElement(c(),{appearance:"secondary",onClick:u},"Cancel")))};function nf(e){return nf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nf(e)}function rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function af(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n.*)" | fields kpi_metrics | dedup kpi_metrics | sort kpi_metrics');M(!0);try{var s=Ee.A.create({search:l,earliest_time:"-7d",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=(Array.isArray(null==e?void 0:e.results)?e.results:[]).map(function(e){return e.kpi_metrics}).filter(function(e){return e&&e.trim().length>0}).sort();g(t),M(!1)}},error:function(e){console.error("[OutliersModelSettingsModal] Error fetching metrics:",e),g([]),M(!1)},complete:function(){M(!1)}});w.current=s}catch(e){console.error("[OutliersModelSettingsModal] Error creating search job:",e),g([]),M(!1)}}else g([]),M(!1);return function(){try{var e,t;null===(e=w.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}}},[t,a,o]),r.useEffect(function(){if(t&&n){var e={kpi_metric:n.kpi_metric||"",score:void 0!==n.score?Number(n.score):36,kpi_span:n.kpi_span||"1h",method_calculation:n.method_calculation||"avg",period_calculation:n.period_calculation||"-30d",period_calculation_latest:n.period_calculation_latest||"-1d",time_factor:n.time_factor||"1",density_lowerthreshold:String(n.density_lowerthreshold||"0.05"),density_upperthreshold:String(n.density_upperthreshold||"0.95"),alert_lower_breached:String(n.alert_lower_breached||"0"),alert_upper_breached:String(n.alert_upper_breached||"0"),auto_correct:String(n.auto_correct||"0"),perc_min_lowerbound_deviation:String(n.perc_min_lowerbound_deviation||"0"),perc_min_upperbound_deviation:String(n.perc_min_upperbound_deviation||"0"),min_value_for_lowerbound_breached:String(n.min_value_for_lowerbound_breached||"0"),min_value_for_upperbound_breached:String(n.min_value_for_upperbound_breached||"0"),static_lower_threshold:String(n.static_lower_threshold||""),static_upper_threshold:String(n.static_upper_threshold||""),algorithm:n.algorithm||"Standard",boundaries_extraction_macro:n.boundaries_extraction_macro||"",fit_extra_parameters:n.fit_extra_parameters||"",apply_extra_parameters:n.apply_extra_parameters||"",is_disabled:String(n.is_disabled||"0")};f(e),h(!1)}},[t,n]),r.useEffect(function(){return function(){try{var e,t;null===(e=w.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[]);var S=r.useMemo(function(){return"light"===s?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[s]),x=r.useCallback(function(e,t){f(function(n){return af(af({},n),{},of({},e,t))}),h(!0)},[]),k=r.useCallback(function(){var e=af(af({},n),{},{kpi_metric:d.kpi_metric,score:void 0!==d.score?Number(d.score):36,kpi_span:d.kpi_span,method_calculation:d.method_calculation,period_calculation:d.period_calculation,period_calculation_latest:d.period_calculation_latest,time_factor:d.time_factor,density_lowerthreshold:parseFloat(d.density_lowerthreshold)||0,density_upperthreshold:parseFloat(d.density_upperthreshold)||0,alert_lower_breached:parseInt(d.alert_lower_breached,10)||0,alert_upper_breached:parseInt(d.alert_upper_breached,10)||0,auto_correct:parseInt(d.auto_correct,10)||0,perc_min_lowerbound_deviation:parseFloat(d.perc_min_lowerbound_deviation)||0,perc_min_upperbound_deviation:parseFloat(d.perc_min_upperbound_deviation)||0,min_value_for_lowerbound_breached:parseFloat(d.min_value_for_lowerbound_breached)||0,min_value_for_upperbound_breached:parseFloat(d.min_value_for_upperbound_breached)||0,static_lower_threshold:d.static_lower_threshold?parseFloat(d.static_lower_threshold):null,static_upper_threshold:d.static_upper_threshold?parseFloat(d.static_upper_threshold):null,algorithm:d.algorithm,boundaries_extraction_macro:d.boundaries_extraction_macro,fit_extra_parameters:d.fit_extra_parameters,apply_extra_parameters:d.apply_extra_parameters,is_disabled:parseInt(d.is_disabled,10)||0});l(e),h(!1)},[d,n,l]);if(!n)return null;var C=n.algorithms_list?"string"==typeof n.algorithms_list?n.algorithms_list.split(",").map(function(e){return e.trim()}):[]:["DensityFunction","Standard"],E=n.boundaries_extraction_macros_list?"string"==typeof n.boundaries_extraction_macros_list?n.boundaries_extraction_macros_list.split(",").map(function(e){return e.trim()}):[]:["splk_outliers_extract_boundaries"];return r.createElement(vt(),{open:t,onRequestClose:i,returnFocus:function(){},style:{width:"98vw",maxWidth:"1400px",height:"95vh",maxHeight:"1000px"}},r.createElement(vt().Header,{title:"Edit ML Model Settings: ".concat(n.model_id)}),r.createElement(vt().Body,{style:{padding:20,overflow:"auto",height:"calc(95vh - 120px)",backgroundColor:S.background}},r.createElement("div",{style:{marginBottom:20}},r.createElement("h2",{style:{marginTop:0,marginBottom:12}},"Edit Machine Learning Model Configuration"),r.createElement("p",{style:{color:S.textSecondary,fontSize:14}},'Modify the settings below. Changes will be applied to simulations and can be saved using the "Save settings" button in the management modal.')),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"20px 30px",marginBottom:20,maxWidth:"1200px"}},r.createElement("div",null,r.createElement("label",{htmlFor:"kpi-metric-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Choose a KPI metric: *"),r.createElement(ht(),{id:"kpi-metric-select",value:d.kpi_metric,onChange:function(e,t){var n=t.value;return x("kpi_metric",n)},style:{width:"100%",maxWidth:400},disabled:_},_?r.createElement(ht().Option,{label:"Loading metrics...",value:"",disabled:!0}):0===b.length?r.createElement(ht().Option,{label:d.kpi_metric||"No metrics available",value:d.kpi_metric||""}):b.map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",{style:{gridColumn:"1 / -1"}},r.createElement("label",{htmlFor:"score-slider",style:{display:"block",marginBottom:6,fontWeight:500}},"Impact score:"),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:400}},r.createElement(vr(),{id:"score-slider",value:parseInt(String(d.score||36),10),onChange:function(e,t){var n=t.value;x("score",String(n))},min:0,max:100,step:1,"aria-label":"Impact score"})),r.createElement("div",{style:{fontSize:13,color:S.textSecondary,marginTop:4}},"Current value: ",void 0!==d.score?d.score:36)),r.createElement("div",null,r.createElement("label",{htmlFor:"kpi-span-select",style:{display:"block",marginBottom:6,fontWeight:500}},"KPI span:"),r.createElement(ht(),{id:"kpi-span-select",value:d.kpi_span,onChange:function(e,t){var n=t.value;return x("kpi_span",n)},style:{width:"100%",maxWidth:400}},["5m","10m","15m","30m","1h","4h","8h","12h","24h"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"method-calculation-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Calculation method:"),r.createElement(ht(),{id:"method-calculation-select",value:d.method_calculation,onChange:function(e,t){var n=t.value;return x("method_calculation",n)},style:{width:"100%",maxWidth:400}},["stdev","avg","perc95","latest","max","min","sum"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"density-lower-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Density lower threshold:"),r.createElement("input",{id:"density-lower-threshold-input",type:"number",step:"0.001",min:"0",value:d.density_lowerthreshold,onChange:function(e){return x("density_lowerthreshold",e.target.value)},placeholder:"e.g., 0.1",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"density-upper-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Density upper threshold:"),r.createElement("input",{id:"density-upper-threshold-input",type:"number",step:"0.001",min:"0",value:d.density_upperthreshold,onChange:function(e){return x("density_upperthreshold",e.target.value)},placeholder:"e.g., 0.9",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"alert-lower-breached-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Alert lower threshold breached:"),r.createElement(ht(),{id:"alert-lower-breached-select",value:d.alert_lower_breached,onChange:function(e,t){var n=t.value;return x("alert_lower_breached",n)},style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"0 (No)",value:"0"}),r.createElement(ht().Option,{label:"1 (Yes)",value:"1"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"alert-upper-breached-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Alert upper threshold breached:"),r.createElement(ht(),{id:"alert-upper-breached-select",value:d.alert_upper_breached,onChange:function(e,t){var n=t.value;return x("alert_upper_breached",n)},style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"0 (No)",value:"0"}),r.createElement(ht().Option,{label:"1 (Yes)",value:"1"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"period-calculation-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Period calculation:"),r.createElement("input",{id:"period-calculation-input",type:"text",value:d.period_calculation,onChange:function(e){return x("period_calculation",e.target.value)},placeholder:"e.g., -30d",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"period-calculation-latest-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Period calculation latest:"),r.createElement("input",{id:"period-calculation-latest-input",type:"text",value:d.period_calculation_latest,onChange:function(e){return x("period_calculation_latest",e.target.value)},placeholder:"e.g., -1d",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"time-factor-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Time factor calculation:"),r.createElement(ht(),{id:"time-factor-select",value:d.time_factor,onChange:function(e,t){var n=t.value;return x("time_factor",n)},style:{width:"100%",maxWidth:400}},["%H","%H%M","%w%H","%w%H%M","%w","none"].map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"auto-correct-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Auto-correction enablement:"),r.createElement(ht(),{id:"auto-correct-select",value:d.auto_correct,onChange:function(e,t){var n=t.value;return x("auto_correct",n)},style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"0 (No)",value:"0"}),r.createElement(ht().Option,{label:"1 (Yes)",value:"1"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"perc-min-lowerbound-deviation-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min % lower bound deviation:"),r.createElement("input",{id:"perc-min-lowerbound-deviation-input",type:"number",step:"0.5",min:"0",value:d.perc_min_lowerbound_deviation,onChange:function(e){return x("perc_min_lowerbound_deviation",e.target.value)},placeholder:"e.g., 5",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"perc-min-upperbound-deviation-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min % upper bound deviation:"),r.createElement("input",{id:"perc-min-upperbound-deviation-input",type:"number",step:"0.5",min:"0",value:d.perc_min_upperbound_deviation,onChange:function(e){return x("perc_min_upperbound_deviation",e.target.value)},placeholder:"e.g., 5",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-value-lowerbound-breached-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min value lower bound breached:"),r.createElement("input",{id:"min-value-lowerbound-breached-input",type:"number",step:"0.5",min:"0",value:d.min_value_for_lowerbound_breached,onChange:function(e){return x("min_value_for_lowerbound_breached",e.target.value)},placeholder:"e.g., 1",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-value-upperbound-breached-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Min value upper bound breached:"),r.createElement("input",{id:"min-value-upperbound-breached-input",type:"number",step:"0.5",min:"0",value:d.min_value_for_upperbound_breached,onChange:function(e){return x("min_value_for_upperbound_breached",e.target.value)},placeholder:"e.g., 1",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"static-lower-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Static lowerBound threshold:"),r.createElement("input",{id:"static-lower-threshold-input",type:"number",step:"0.5",min:"0",value:d.static_lower_threshold,onChange:function(e){return x("static_lower_threshold",e.target.value)},placeholder:"e.g., 0",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"static-upper-threshold-input",style:{display:"block",marginBottom:6,fontWeight:500}},"Static upperBound threshold:"),r.createElement("input",{id:"static-upper-threshold-input",type:"number",step:"0.5",min:"0",value:d.static_upper_threshold,onChange:function(e){return x("static_upper_threshold",e.target.value)},placeholder:"e.g., 1000",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"algorithm-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Algorithm:"),r.createElement(ht(),{id:"algorithm-select",value:d.algorithm,onChange:function(e,t){var n=t.value;return x("algorithm",n)},style:{width:"100%",maxWidth:400}},C.map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"boundaries-extraction-macro-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Boundaries extraction macro:"),r.createElement(ht(),{id:"boundaries-extraction-macro-select",value:d.boundaries_extraction_macro,onChange:function(e,t){var n=t.value;return x("boundaries_extraction_macro",n)},style:{width:"100%",maxWidth:400}},E.length>0?E.map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})}):r.createElement(ht().Option,{label:d.boundaries_extraction_macro||"None",value:d.boundaries_extraction_macro||""}))),r.createElement("div",null,r.createElement("label",{htmlFor:"fit-extra-parameters-input",style:{display:"block",marginBottom:6,fontWeight:500}},"fit extra params:"),r.createElement("input",{id:"fit-extra-parameters-input",type:"text",value:d.fit_extra_parameters,onChange:function(e){return x("fit_extra_parameters",e.target.value)},placeholder:"JSON string",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"apply-extra-parameters-input",style:{display:"block",marginBottom:6,fontWeight:500}},"apply extra params:"),r.createElement("input",{id:"apply-extra-parameters-input",type:"text",value:d.apply_extra_parameters,onChange:function(e){return x("apply_extra_parameters",e.target.value)},placeholder:"JSON string",style:{width:"100%",maxWidth:400,padding:"8px",borderRadius:"4px",border:"1px solid ".concat(S.border),backgroundColor:S.background,color:S.text,fontSize:14}})),r.createElement("div",null,r.createElement("label",{htmlFor:"is-disabled-select",style:{display:"block",marginBottom:6,fontWeight:500}},"Is Disabled:"),r.createElement(ht(),{id:"is-disabled-select",value:d.is_disabled,onChange:function(e,t){var n=t.value;return x("is_disabled",n)},style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"0 (Enabled)",value:"0"}),r.createElement(ht().Option,{label:"1 (Disabled)",value:"1"}))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:i},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:k,disabled:!m},"Apply Changes")))};function cf(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return df(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(df(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,df(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,df(d,"constructor",u),df(u,"constructor",s),s.displayName="GeneratorFunction",df(u,a,"GeneratorFunction"),df(d),df(d,a,"Generator"),df(d,r,function(){return this}),df(d,"toString",function(){return"[object Generator]"}),(cf=function(){return{w:o,m:f}})()}function df(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}df=function(e,t,n,r){function o(t,n){df(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},df(e,t,n,r)}function ff(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function pf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mf(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mf(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(gf(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,gf(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,gf(d,"constructor",u),gf(u,"constructor",s),s.displayName="GeneratorFunction",gf(u,a,"GeneratorFunction"),gf(d),gf(d,a,"Generator"),gf(d,r,function(){return this}),gf(d,"toString",function(){return"[object Generator]"}),(bf=function(){return{w:o,m:f}})()}function gf(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}gf=function(e,t,n,r){function o(t,n){gf(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},gf(e,t,n,r)}function vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var r=n.rules[0];u.push(_f(_f({},r),{},{model_id:t}))}if(null!=n&&n.data&&Array.isArray(n.data)&&n.data.length>0){var a=n.data[0];(void 0!==a.mtime||a.mtime_human)&&(c[t]={mtime:a.mtime,mtime_human:a.mtime_human})}})}),S(u),H(c),u.length>0&&u[0].confidence?F({confidence:u[0].confidence,confidence_reason:u[0].confidence_reason||""}):F(null),d=u.filter(function(e){return!(1===e.is_disabled||void 0!==e.is_disabled&&"1"===String(e.is_disabled))}),f=d.map(function(e){return{label:"".concat(e.kpi_metric,":").concat(e.model_id),value:e.model_id}}).sort(function(e,t){return e.label.localeCompare(t.label)}),j(f),A(function(e){return 0===f.length?null:!e&&f.length>0?f[0].value:e&&!f.find(function(t){return t.value===e})?null:e}),e.n=9;break;case 8:e.p=8,m=e.v,(p=m.message||"").toLowerCase().includes("not found in kv store")?(S([]),H({}),F(null),j([]),A(null),T(new Set),Me(!1),Qe(!1),Pe(null)):(pt({type:"error",title:"Failed to fetch ML models",message:p||"An error occurred"}),j([]));case 9:return e.p=9,g(!1),e.f(9);case 10:return e.a(2)}},e,null,[[2,8,9,10]])})),[n,a,o,i,pt]);r.useEffect(function(){t&&yt()},[t,yt]);var bt=r.useCallback(function(e,t){T(function(n){var r=new Set(n);return t?r.add(e):r.delete(e),r})},[]),gt=r.useCallback(function(e){T(e?new Set(w.map(function(e){return e.model_id})):new Set)},[w]),_t=r.useCallback(function(e){ge(e),he(!0)},[]),Mt=r.useCallback(function(e){S(function(t){return t.map(function(t){return t.model_id===e.model_id?e:t})}),Me(!0),he(!1),ge(null)},[]),wt=r.useCallback(function(){_e?(G("save"),V(!0),ee(""),ie(null)):pt({type:"info",title:"No changes to save",message:"No model settings have been modified."})},[_e,pt]),St=r.useCallback(function(){0!==O.size?(G("delete"),V(!0),ee(""),ie(null)):pt({type:"warning",title:"No models selected",message:"Please select at least one model to delete."})},[O.size,pt]),xt=r.useCallback(function(){G("reset"),V(!0),ee(""),ie(null)},[]),kt=r.useCallback(function(){0!==O.size?(G("enable"),V(!0),ee(""),ie(null)):pt({type:"warning",title:"No models selected",message:"Please select at least one model to enable."})},[O.size,pt]),Ct=r.useCallback(function(){0!==O.size?(G("disable"),V(!0),ee(""),ie(null)):pt({type:"warning",title:"No models selected",message:"Please select at least one model to disable."})},[O.size,pt]),At=r.useCallback(Sf(bf().m(function e(){var t,r,o,i;return bf().w(function(e){for(;;)switch(e.n){case 0:if(t=h(),n&&t){e.n=1;break}return e.a(2);case 1:Le("train"),xe(!0),pt({type:"info",title:"Training ML models",message:"This may take some time..."});try{r='| trackmesplkoutlierstrain tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(t),o=Ee.A.create({search:r,earliest_time:"-5m",latest_time:"now"},{app:"trackme"}),i=o.getResults({count:0}).subscribe({next:function(e){(!e||!0!==e.preview&&!0!==e.isPreview)&&(pt({type:"success",title:"ML models trained successfully",message:"Machine Learning models were trained successfully for this entity."}),yt())},error:function(e){var t,n=(null==e?void 0:e.message)||(null==e||null===(t=e.data)||void 0===t||null===(t=t.messages)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.text)||"Training failed";pt({type:"error",title:"Training failed",message:n})},complete:function(){}}),ct.current=i}catch(e){pt({type:"error",title:"Failed to start training",message:e.message||"An error occurred"})}case 2:return e.a(2)}},e)})),[n,a,h,pt,yt]),Ot=r.useCallback(Sf(bf().m(function e(){var t,r;return bf().w(function(e){for(;;)switch(e.n){case 0:if(n&&(o||i)&&E){e.n=1;break}return pt({type:"warning",title:"No model selected",message:"Please select a model to simulate."}),e.a(2);case 1:if(t=w.find(function(e){return e.model_id===E})){e.n=2;break}return pt({type:"error",title:"Model not found",message:"Selected model could not be found."}),e.a(2);case 2:r={model_id:t.model_id,kpi_metric:t.kpi_metric,score:void 0!==t.score?t.score:36,kpi_span:t.kpi_span||"1h",method_calculation:t.method_calculation||"avg",period_calculation:t.period_calculation||"-30d",period_calculation_latest:t.period_calculation_latest||"-1d",time_factor:t.time_factor||"1",density_lowerthreshold:t.density_lowerthreshold||.05,density_upperthreshold:t.density_upperthreshold||.95,alert_lower_breached:t.alert_lower_breached||0,alert_upper_breached:t.alert_upper_breached||0,auto_correct:t.auto_correct||0,perc_min_lowerbound_deviation:t.perc_min_lowerbound_deviation||0,perc_min_upperbound_deviation:t.perc_min_upperbound_deviation||0,min_value_for_lowerbound_breached:t.min_value_for_lowerbound_breached||0,min_value_for_upperbound_breached:t.min_value_for_upperbound_breached||0,static_lower_threshold:t.static_lower_threshold||null,static_upper_threshold:t.static_upper_threshold||null,algorithm:t.algorithm||"Standard",boundaries_extraction_macro:t.boundaries_extraction_macro||"",fit_extra_parameters:t.fit_extra_parameters||"",apply_extra_parameters:t.apply_extra_parameters||"",is_disabled:t.is_disabled||0},Pe(JSON.stringify(r)),Qe(!0);case 3:return e.a(2)}},e)})),[n,o,i,E,w,pt]),Tt=r.useCallback(Sf(bf().m(function e(){var t,r,l,s;return bf().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&(o||i)){e.n=1;break}return e.a(2);case 1:return Le("monitor"),xe(!0),pt({type:"info",title:"Running ML monitor update",message:"This may take some time..."}),e.p=2,t={tenant_id:n,component:a},o?t.object_id_list=[o]:i&&(t.object_list=[i]),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_mlmonitor_models",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw l=e.v,new Error(l);case 5:pt({type:"success",title:"ML monitor update started",message:"ML monitor update has been initiated. Processing in background."}),e.n=7;break;case 6:e.p=6,s=e.v,pt({type:"error",title:"ML monitor update failed",message:s.message||"An error occurred"});case 7:return e.a(2)}},e,null,[[2,6]])})),[n,a,o,i,pt]),Dt=r.useCallback(function(e){var t,n=((null===(t=window.Splunk)||void 0===t||null===(t=t.util)||void 0===t?void 0:t.make_url)||function(e){return e})("/app/trackme/search"),r=encodeURIComponent(e);return"".concat(n,"?q=").concat(r)},[]),zt=r.useCallback(function(){var e=h();if(n&&e){var t='| trackmesplkoutliersgetrules tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(e),r=Dt(t);window.open(r,"_blank")}},[n,a,Dt,h]),jt=r.useCallback(function(){var e=h();if(n&&e){var t='| trackmesplkoutliersgetdata tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(e),r=Dt(t);window.open(r,"_blank")}},[n,a,Dt,h]),Pt=r.useMemo(function(){var e=h();if(!(n&&e&&E&&je))return null;var t=je.replace(/"/g,'\\"');return'| trackmesplkoutliersrender tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(e,' model_id="').concat(E,'" mode="simulation" model_json_def="').concat(t,'"')},[n,a,E,je,h]),Bt=r.useCallback(function(e,t){if(Pt){var n="".concat(Pt," | where ").concat(e,"=").concat(t);try{var r,a="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(Ye),"&latest=").concat(encodeURIComponent(Ie)),o=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}catch(e){}}},[Pt,Ye,Ie]),Yt=r.useCallback(function(){if(He)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(He),"&earliest=").concat(encodeURIComponent(Ye),"&latest=").concat(encodeURIComponent(Ie)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[He,Ye,Ie]),Nt=r.useCallback(Sf(bf().m(function e(){var t,r,l,s,u,c;return bf().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&(o||i)&&$){e.n=1;break}return e.a(2);case 1:return re(!0),ie(null),e.p=2,t="",r={tenant_id:n,component:a},o?r.object_id=o:i&&(r.object=i),"save"===$?(t="/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_update_models",r.update_comment=Q||"No comment for update.",r.outliers_rules=w.map(function(e){var t,n,r,a,o,i,l,s,u,c;return{model_id:e.model_id,kpi_metric:e.kpi_metric,score:void 0!==e.score?String(e.score):"36",kpi_span:String(e.kpi_span||"1h"),method_calculation:String(e.method_calculation||"avg"),period_calculation:String(e.period_calculation||"-30d"),period_calculation_latest:String(e.period_calculation_latest||"-1d"),time_factor:String(e.time_factor||"%H"),density_lowerthreshold:String(null!==(t=e.density_lowerthreshold)&&void 0!==t?t:.05),density_upperthreshold:String(null!==(n=e.density_upperthreshold)&&void 0!==n?n:.95),alert_lower_breached:String(null!==(r=e.alert_lower_breached)&&void 0!==r?r:0),alert_upper_breached:String(null!==(a=e.alert_upper_breached)&&void 0!==a?a:0),auto_correct:String(null!==(o=e.auto_correct)&&void 0!==o?o:0),perc_min_lowerbound_deviation:String(null!==(i=e.perc_min_lowerbound_deviation)&&void 0!==i?i:0),perc_min_upperbound_deviation:String(null!==(l=e.perc_min_upperbound_deviation)&&void 0!==l?l:0),min_value_for_lowerbound_breached:String(null!==(s=e.min_value_for_lowerbound_breached)&&void 0!==s?s:0),min_value_for_upperbound_breached:String(null!==(u=e.min_value_for_upperbound_breached)&&void 0!==u?u:0),static_lower_threshold:null!==e.static_lower_threshold&&void 0!==e.static_lower_threshold?String(e.static_lower_threshold):null,static_upper_threshold:null!==e.static_upper_threshold&&void 0!==e.static_upper_threshold?String(e.static_upper_threshold):null,algorithm:String(e.algorithm||"DensityFunction"),boundaries_extraction_macro:String(e.boundaries_extraction_macro||"splk_outliers_extract_boundaries"),fit_extra_parameters:String(e.fit_extra_parameters||""),apply_extra_parameters:String(e.apply_extra_parameters||""),is_disabled:String(null!==(c=e.is_disabled)&&void 0!==c?c:0)}})):"delete"===$?(t="/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_delete_models",r.models_list=Array.from(O).join(","),r.update_comment=Q||"No comment for update."):"reset"===$?(t="/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_reset_models",r.update_comment=Q||"No comment for update."):"enable"!==$&&"disable"!==$||(t="/splunkd/__raw/services/trackme/v2/splk_outliers_engine/write/outliers_update_models",r.update_comment=Q||"No comment for update.",l="disable"===$?1:0,r.outliers_rules=Array.from(O).map(function(e){var t,n,r,a,o,i,s,u,c,d=w.find(function(t){return t.model_id===e});return d?{model_id:d.model_id,kpi_metric:d.kpi_metric,score:void 0!==d.score?String(d.score):"36",kpi_span:String(d.kpi_span||"1h"),method_calculation:String(d.method_calculation||"avg"),period_calculation:String(d.period_calculation||"-30d"),period_calculation_latest:String(d.period_calculation_latest||"-1d"),time_factor:String(d.time_factor||"%H"),density_lowerthreshold:String(null!==(t=d.density_lowerthreshold)&&void 0!==t?t:.05),density_upperthreshold:String(null!==(n=d.density_upperthreshold)&&void 0!==n?n:.95),alert_lower_breached:String(null!==(r=d.alert_lower_breached)&&void 0!==r?r:0),alert_upper_breached:String(null!==(a=d.alert_upper_breached)&&void 0!==a?a:0),auto_correct:String(null!==(o=d.auto_correct)&&void 0!==o?o:0),perc_min_lowerbound_deviation:String(null!==(i=d.perc_min_lowerbound_deviation)&&void 0!==i?i:0),perc_min_upperbound_deviation:String(null!==(s=d.perc_min_upperbound_deviation)&&void 0!==s?s:0),min_value_for_lowerbound_breached:String(null!==(u=d.min_value_for_lowerbound_breached)&&void 0!==u?u:0),min_value_for_upperbound_breached:String(null!==(c=d.min_value_for_upperbound_breached)&&void 0!==c?c:0),static_lower_threshold:null!==d.static_lower_threshold&&void 0!==d.static_lower_threshold?String(d.static_lower_threshold):null,static_upper_threshold:null!==d.static_upper_threshold&&void 0!==d.static_upper_threshold?String(d.static_upper_threshold):null,algorithm:String(d.algorithm||"DensityFunction"),boundaries_extraction_macro:String(d.boundaries_extraction_macro||"splk_outliers_extract_boundaries"),fit_extra_parameters:String(d.fit_extra_parameters||""),apply_extra_parameters:String(d.apply_extra_parameters||""),is_disabled:String(l)}:null}).filter(function(e){return null!==e})),e.n=3,J(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 3:if((s=e.v).ok){e.n=5;break}return e.n=4,Z(s);case 4:throw u=e.v,new Error(u);case 5:pt({type:"success",title:{save:"Settings saved successfully",delete:"Models deleted successfully",reset:"Models reset successfully",enable:"Models enabled successfully",disable:"Models disabled successfully"}[$]}),V(!1),G(null),ee(""),T(new Set),Me(!1),yt(),d&&d(),e.n=7;break;case 6:e.p=6,c=e.v,ie(c.message||"An error occurred");case 7:return e.p=7,re(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])})),[n,a,o,i,$,Q,O,w,yt,d,pt]),Ft=r.useCallback(function(){ne||(V(!1),G(null),ee(""),ie(null))},[ne]);r.useEffect(function(){var e=h();if(Ze&&n&&e&&E&&je){try{var t,r,o,i;null===(t=rt.current)||void 0===t||null===(r=t.unsubscribe)||void 0===r||r.call(t),null===(o=ot.current)||void 0===o||null===(i=o.unsubscribe)||void 0===i||i.call(o)}catch(e){}Ue({LowerOutliers:null,UpperOutliers:null,rejectedLowerboundOutliers:null,rejectedUpperboundOutliers:null,LowerBoundWasCorrected:null,UpperBoundWasCorrected:null}),Ke({dataSource:null,loading:!0,error:null});var l=je.replace(/"/g,'\\"'),s='| trackmesplkoutliersrender tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(e,' model_id="').concat(E,'" mode="simulation" model_json_def="').concat(l,'" | stats count(eval(isLowerBoundOutlier=1)) as LowerOutliers, count(eval(isUpperBoundOutlier=1)) as UpperOutliers, count(eval(rejectedLowerboundOutlier=1)) as rejectedLowerboundOutliers, count(eval(rejectedUpperboundOutlier=1)) as rejectedUpperboundOutliers, count(eval(LowerBoundWasCorrected=1)) as LowerBoundWasCorrected, count(eval(UpperBoundWasCorrected=1)) as UpperBoundWasCorrected');try{var u=Ee.A.create({search:s,earliest_time:Ye,latest_time:Ie},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0];Ue({LowerOutliers:void 0!==n.LowerOutliers?Number(n.LowerOutliers):null,UpperOutliers:void 0!==n.UpperOutliers?Number(n.UpperOutliers):null,rejectedLowerboundOutliers:void 0!==n.rejectedLowerboundOutliers?Number(n.rejectedLowerboundOutliers):null,rejectedUpperboundOutliers:void 0!==n.rejectedUpperboundOutliers?Number(n.rejectedUpperboundOutliers):null,LowerBoundWasCorrected:void 0!==n.LowerBoundWasCorrected?Number(n.LowerBoundWasCorrected):null,UpperBoundWasCorrected:void 0!==n.UpperBoundWasCorrected?Number(n.UpperBoundWasCorrected):null})}}},error:function(e){console.error("[OutliersManageModal] Simulation metrics error:",e)}});rt.current=u;var c='| trackmesplkoutliersrender tenant_id="'.concat(n,'" component="').concat(a,'" ').concat(e,' model_id="').concat(E,'" mode="simulation" model_json_def="').concat(l,'" | table _time, kpi_metric_value, LowerBound, UpperBound, isOutlier');qe(c);var d=Ee.A.create({search:c,earliest_time:Ye,latest_time:Ie},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=[t.map(function(e){return e._time}),t.map(function(e){var t;return null!==(t=e.kpi_metric_value)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.LowerBound)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.UpperBound)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.isOutlier)&&void 0!==t?t:null})],r={requestParams:{offset:0,count:t.length},data:{fields:[{name:"_time"},{name:"kpi_metric_value"},{name:"lowerBound"},{name:"upperBound"},{name:"isOutlier"}],columns:n},meta:{totalCount:t.length}};Ke({dataSource:r,loading:!1,error:null})}else Ke({dataSource:null,loading:!1,error:null})}},error:function(e){Ke({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load simulation chart"})}});ot.current=d}catch(e){Ke({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run simulation"})}return function(){try{var e,t,n,r;null===(e=rt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e),null===(n=ot.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}}},[Ze,n,a,o,i,E,je,Ye,Ie,tt,h]);var It=r.useCallback(function(){Ze&&nt(function(e){return e+1})},[Ze]),Wt=r.useCallback(function(){if(He)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(He),"&earliest=").concat(encodeURIComponent(Ye),"&latest=").concat(encodeURIComponent(Ie)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[He,Ye,Ie]);r.useEffect(function(){if(it.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&ut(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(it.current),function(){e.disconnect()}}},[Ge.dataSource]),r.useEffect(function(){return function(){try{var e,t,n,r,a,o;null===(e=rt.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e),null===(n=ot.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n),null===(a=ct.current)||void 0===a||null===(o=a.unsubscribe)||void 0===o||o.call(a)}catch(e){}}},[]);var qt,Vt,Ut,$t,Gt=r.useMemo(function(){return $?"save"===$?{title:"Save ML Model Settings",message:"Are you sure you want to save the changes to the ML model settings?",confirmLabel:"Save",confirmAppearance:"primary"}:"delete"===$?{title:"Delete ML Models",message:"Are you sure you want to delete ".concat(O.size," selected model(s)? This action cannot be undone."),confirmLabel:"Delete",confirmAppearance:"destructive"}:"reset"===$?{title:"Reset ML Models",message:"Are you sure you want to reset ML models? This will clear all training data.",confirmLabel:"Reset",confirmAppearance:"destructive"}:"enable"===$?{title:"Enable ML Models",message:"Are you sure you want to enable ".concat(O.size," selected model(s)?"),confirmLabel:"Enable",confirmAppearance:"primary"}:"disable"===$?{title:"Disable ML Models",message:"Are you sure you want to disable ".concat(O.size," selected model(s)?"),confirmLabel:"Disable",confirmAppearance:"destructive"}:null:null},[$,O.size]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:u,returnFocus:function(){},style:{width:"98vw",maxWidth:"1800px",height:"95vh",maxHeight:"1200px"}},r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"16px 20px",borderBottom:"1px solid ".concat(mt.border),backgroundColor:mt.background,minHeight:"56px",boxSizing:"border-box"}},r.createElement("h2",{style:{margin:0,fontSize:18,fontWeight:500,color:mt.text,flex:1}},"ML Outliers Anomaly Detection"),r.createElement("div",{style:{display:"flex",alignItems:"center",gap:12}},(Y||!Y&&0===w.length&&!b)&&(Vt="low"===(qt=(null==Y?void 0:Y.confidence)||"low")?"rgba(255, 179, 71, 0.1)":"rgba(69, 212, 186, 0.1)",Ut="low"===qt?"#ffb347":"#45d4ba",$t="low"===qt?"#ffb347":"#45d4ba",r.createElement("div",{style:{padding:"6px 12px",borderRadius:4,backgroundColor:Vt,border:"1px solid ".concat(Ut)}},r.createElement("span",{style:{fontSize:13,fontWeight:500,color:$t}},Y?r.createElement(r.Fragment,null,"Confidence: ",Y.confidence,", reason: ",Y.confidence_reason):r.createElement(r.Fragment,null,"Confidence: Unknown, reason: Pending for model(s) definition")))),r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",style:{width:"32px",height:"32px",padding:0,margin:0,marginLeft:"8px",border:"none",background:"transparent",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:mt.text,borderRadius:"4px"},onMouseEnter:function(e){e.currentTarget.style.backgroundColor="light"===p?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.1)"},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="transparent"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12 4L4 12M4 4l8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))),r.createElement(vt().Body,{style:{padding:20,overflow:"auto",height:"calc(95vh - 120px)",backgroundColor:mt.background}},r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("h1",{style:{margin:0,fontSize:18,fontWeight:500,color:mt.textSecondary}},r.createElement("span",{style:{color:"#a7c7e7"}},0===w.length?"No Machine Learning Outliers Models currently":"".concat(w.length," Machine Learning Outliers Model(s) currently"))),r.createElement(f(),{toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"ML Outliers actions",style:{flex:"0 0 auto"}})},r.createElement(m(),{style:{width:280}},r.createElement(m().Heading,null,"Primary Actions"),r.createElement(m().Item,{startAdornment:r.createElement(Vn(),null),onClick:function(){return De(!0)},disabled:!o},"Set as false positive"),r.createElement(m().Item,{startAdornment:r.createElement(N(),null),onClick:function(){return fe(!0)}},"Add new ML"),r.createElement(m().Item,{startAdornment:r.createElement(B(),null),onClick:At,disabled:0===w.length},"Train ML now"),r.createElement(m().Item,{startAdornment:r.createElement(B(),null),onClick:Ot,disabled:!E||0===w.length},"Simulate selected"),r.createElement(m().Item,{startAdornment:r.createElement(B(),null),onClick:Tt,disabled:0===w.length},"Run ML monitor update now"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,"Model Management"),r.createElement(m().Item,{startAdornment:r.createElement(Ja(),null),onClick:wt,disabled:!_e||0===w.length},"Save settings"),r.createElement(m().Item,{startAdornment:r.createElement(qn(),null),onClick:St,disabled:0===O.size||0===w.length},"Delete selected (",O.size,")"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:xt,disabled:0===w.length},"Reset ML"),r.createElement(m().Item,{startAdornment:r.createElement(Wr(),null),onClick:kt,disabled:0===O.size||0===w.length},"Enable selected (",O.size,")"),r.createElement(m().Item,{startAdornment:r.createElement(Yd(),null),onClick:Ct,disabled:0===O.size||0===w.length},"Disable selected (",O.size,")"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,"Configuration"),r.createElement(m().Item,{startAdornment:r.createElement(Et(),null),onClick:function(){E?ue(!0):pt({type:"warning",title:"No model selected",message:"Please select a model first."})},disabled:!E||0===w.length},"Period exclusions"),r.createElement(m().Divider,null),r.createElement(m().Heading,null,"View Actions"),r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:zt,disabled:0===w.length},"See ML models rules"),r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:jt,disabled:0===w.length},"See ML models data")))),b&&r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:400,color:mt.textSecondary}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:16}},"Loading ML models...")),!b&&r.createElement(r.Fragment,null,_e&&r.createElement(Jt(),{type:"warning",style:{marginBottom:20}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"Unsaved changes detected"),r.createElement("div",{style:{fontSize:13}},'You have modified model settings. Click "Save settings" in the actions menu to permanently save your changes.')),r.createElement("div",{style:{marginBottom:20}},r.createElement("div",{style:{width:350,marginBottom:12}},r.createElement(ht(),{value:E||"",onChange:function(e,t){var n=t.value;A(n||null),Qe(!1)},"aria-label":"Select a Machine Learning model"},0===z.length?r.createElement(ht().Option,{label:"No models available",value:"",disabled:!0}):z.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})}))),E&&w.length>0&&r.createElement("div",{style:{fontSize:13,color:mt.textSecondary}},r.createElement("strong",null,"Currently selected model for simulation:")," ",E)),r.createElement("div",{style:{marginBottom:20}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:O.size===w.length&&w.length>0,onChange:function(e){return gt(e.target.checked)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().HeadCell,{style:{width:80}},"Actions"),r.createElement(dt().HeadCell,null,"Model ID"),r.createElement(dt().HeadCell,null,"KPI Metric"),r.createElement(dt().HeadCell,null,"Status"),r.createElement(dt().HeadCell,null,"Last Trained"),r.createElement(dt().HeadCell,null,"Last Monitored")),r.createElement(dt().Body,null,0===w.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:7,style:{textAlign:"center",padding:40}},r.createElement(Jt(),{type:"info"},"No ML models found for this entity."))):w.map(function(e){var t=1===e.is_disabled||void 0!==e.is_disabled&&"1"===String(e.is_disabled),n="N/A";if(e.last_exec)try{var a="string"==typeof e.last_exec?parseFloat(e.last_exec):e.last_exec;!Number.isNaN(a)&&a>0&&(n=new Date(1e3*a).toLocaleString())}catch(e){}var o=W[e.model_id],i=(null==o?void 0:o.mtime_human)||"N/A";return r.createElement(dt().Row,{key:e.model_id},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:O.has(e.model_id),onChange:function(t){return bt(e.model_id,t.target.checked)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,r.createElement(c(),{appearance:"subtle",icon:r.createElement(Pd(),null),onClick:function(){return _t(e)},"aria-label":"Edit settings for ".concat(e.model_id),style:{padding:0,width:24,height:24}})),r.createElement(dt().Cell,null,e.model_id),r.createElement(dt().Cell,null,e.kpi_metric),r.createElement(dt().Cell,null,t?"Disabled":"Enabled"),r.createElement(dt().Cell,null,n),r.createElement(dt().Cell,null,i))})))),Ze&&E&&r.createElement("div",{style:{marginTop:30,padding:20,backgroundColor:mt.backgroundSecondary,borderRadius:8,border:"1px solid ".concat(mt.border)}},r.createElement("h3",{style:{marginTop:0,marginBottom:16}},"Simulation Results"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(180px, 1fr))",gap:12,marginBottom:24}},r.createElement(at,{label:"LowerBound Outliers",value:Ve.LowerOutliers,loading:Ge.loading,onOpenSearch:function(){return Bt("isLowerBoundOutlier",1)},onRefresh:It}),r.createElement(at,{label:"UpperBound Outliers",value:Ve.UpperOutliers,loading:Ge.loading,onOpenSearch:function(){return Bt("isUpperBoundOutlier",1)},onRefresh:It}),r.createElement(at,{label:"Rejected LowerBound Outliers",value:Ve.rejectedLowerboundOutliers,loading:Ge.loading,onOpenSearch:function(){return Bt("rejectedLowerboundOutlier",1)},onRefresh:It}),r.createElement(at,{label:"Rejected UpperBound Outliers",value:Ve.rejectedUpperboundOutliers,loading:Ge.loading,onOpenSearch:function(){return Bt("rejectedUpperboundOutlier",1)},onRefresh:It}),r.createElement(at,{label:"Corrected LowerBound",value:Ve.LowerBoundWasCorrected,loading:Ge.loading,onOpenSearch:function(){return Bt("LowerBoundWasCorrected",1)},onRefresh:It}),r.createElement(at,{label:"Corrected UpperBound",value:Ve.UpperBoundWasCorrected,loading:Ge.loading,onOpenSearch:function(){return Bt("UpperBoundWasCorrected",1)},onRefresh:It})),r.createElement("div",{style:{marginBottom:16,position:"relative"}},r.createElement("div",{style:{marginBottom:12,display:"flex",justifyContent:"flex-end"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:Ye,latest:Ie,onChange:function(e,t){var n=t.earliest,r=t.latest;Ne(n),Re(r)},labelMaxChars:1/0,"aria-label":"Simulation time range"})))),He&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:Yt},"Open in Search")))),Ge.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!Ge.loading&&Ge.error&&r.createElement("div",null,r.createElement(Jt(),{type:"error",style:{marginBottom:12}},Ge.error),He&&r.createElement(c(),{appearance:"secondary",onClick:Wt},"Open in Search")),!Ge.loading&&!Ge.error&&Ge.dataSource&&st>0&&r.createElement("div",{ref:it,style:{width:"100%",height:400}},r.createElement(Rt(),{width:st||800,height:400,options:{yAxisTitle:"KPI Metric Value",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"},dataSources:{primary:Ge.dataSource}})))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:u},"Close"))),X&&Gt&&r.createElement(vt(),{open:X,onRequestClose:Ft,returnFocus:function(){},style:{width:600}},r.createElement(vt().Header,{title:Gt.title}),r.createElement(vt().Body,null,r.createElement("div",{style:{marginBottom:16}},Gt.message),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"confirmation-comment-textarea",style:{display:"block",marginBottom:8,fontWeight:500}},"Optional: enter a note of this update. This note will be logged and made available for auditing purposes."),r.createElement("textarea",{id:"confirmation-comment-textarea",value:Q,onChange:function(e){return ee(e.target.value)},rows:6,style:{width:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(mt.border),backgroundColor:mt.background,color:mt.text,fontSize:14,fontFamily:"inherit",resize:"vertical"},placeholder:"update note"})),oe&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},oe)),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:Ft,disabled:ne},"Cancel"),r.createElement(c(),{appearance:Gt.confirmAppearance,onClick:Nt,disabled:ne},ne?r.createElement(s(),{size:"small"}):Gt.confirmLabel))),se&&r.createElement(qd,{open:se,tenantId:n,component:a,object:i,modelId:E||void 0,onClose:function(){return ue(!1)},onBack:function(){return ue(!1)}}),de&&r.createElement(tf,{open:de,tenantId:n,component:a,objectId:o,object:i,entityInfo:l,onClose:function(){return fe(!1)},onBack:function(){return fe(!1)},onSuccess:function(){fe(!1),yt(),d&&d()}}),be&&r.createElement(uf,{open:me,model:be,component:a,entityInfo:l,onClose:function(){he(!1),ge(null)},onSave:Mt}),Se&&Ae&&r.createElement(Cf,{open:Se,type:Ae,objectId:o,object:i,onClose:function(){xe(!1),Le(null)}}),Te&&r.createElement(hf,{open:Te,tenantId:n,component:a,objectId:o||null,object:i||void 0,onClose:function(){return De(!1)},onSuccess:function(){d&&d()}}))};function Af(e){return Af="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Af(e)}function Lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Of(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=t.map(function(e){return{model_desc:String(e.model_desc||""),model_id:String(e.model_id||"")}});L(n),P(null),!S&&n.length>0&&k(n[0].model_id)}else L([]),k(null),P(null);D(!1)}},error:function(e){console.error("[OutliersTab] Error fetching models:",e),L([]),P((null==e?void 0:e.message)||"Failed to load ML models"),D(!1)},complete:function(){}});ye.current=i}catch(e){console.error("[OutliersTab] Error creating models search:",e),L([]),P((null==e?void 0:e.message)||"Failed to create models search"),D(!1)}},[t,n,S,p]),ve=r.useCallback(function(){var e=p();if(t&&e&&S&&"mhm"!==n){try{var r,a;null===(r=me.current)||void 0===r||null===(a=r.unsubscribe)||void 0===a||a.call(r)}catch(e){}oe(!0),se(null);var o='| trackmesplkoutliersrender tenant_id="'.concat(t,'" component="').concat(n,'" ').concat(e,' model_id="').concat(S,'" | stats count(eval(isLowerBoundOutlier=1)) as LowerOutliers, count(eval(isUpperBoundOutlier=1)) as UpperOutliers, count(eval(rejectedLowerboundOutlier=1)) as rejectedLowerboundOutliers, count(eval(rejectedUpperboundOutlier=1)) as rejectedUpperboundOutliers, count(eval(LowerBoundWasCorrected=1)) as LowerBoundWasCorrected, count(eval(UpperBoundWasCorrected=1)) as UpperBoundWasCorrected');try{var i=Ee.A.create({search:o,earliest_time:y,latest_time:v},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0];ne({LowerOutliers:void 0!==n.LowerOutliers?Number(n.LowerOutliers):null,UpperOutliers:void 0!==n.UpperOutliers?Number(n.UpperOutliers):null,rejectedLowerboundOutliers:void 0!==n.rejectedLowerboundOutliers?Number(n.rejectedLowerboundOutliers):null,rejectedUpperboundOutliers:void 0!==n.rejectedUpperboundOutliers?Number(n.rejectedUpperboundOutliers):null,LowerBoundWasCorrected:void 0!==n.LowerBoundWasCorrected?Number(n.LowerBoundWasCorrected):null,UpperBoundWasCorrected:void 0!==n.UpperBoundWasCorrected?Number(n.UpperBoundWasCorrected):null})}else ne({LowerOutliers:null,UpperOutliers:null,rejectedLowerboundOutliers:null,rejectedUpperboundOutliers:null,LowerBoundWasCorrected:null,UpperBoundWasCorrected:null});oe(!1)}},error:function(e){se((null==e?void 0:e.message)||"Failed to load outlier metrics"),oe(!1)},complete:function(){}});me.current=i}catch(e){se((null==e?void 0:e.message)||"Failed to run metrics search"),oe(!1)}}else ne({LowerOutliers:null,UpperOutliers:null,rejectedLowerboundOutliers:null,rejectedUpperboundOutliers:null,LowerBoundWasCorrected:null,UpperBoundWasCorrected:null})},[t,n,S,y,v,p]),_e=r.useCallback(function(){var e=p();if(!t||!e||"mhm"===n)return U(null),K(!1),void Q(null);try{var r,a;null===(r=he.current)||void 0===r||null===(a=r.unsubscribe)||void 0===a||a.call(r)}catch(e){}K(!0),Q(null);var o="| mstats sum(trackme.scoring.score) as score where `trackme_metrics_idx(".concat(t,')` tenant_id="').concat(t,'" (score_source="lowerbound_outlier*" OR score_source="upperbound_outlier*" OR score_source="false_positive_outlier") ').concat(e," | append [ | makeresults | eval score=0 | fields - _time ] | head 1");try{var i=Ee.A.create({search:o,earliest_time:"-24h",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0],r=void 0!==n.score?Number(n.score):0;U(r),Q(null)}else U(0),Q(null);K(!1)}},error:function(e){Q((null==e?void 0:e.message)||"Failed to load score"),K(!1)},complete:function(){}});he.current=i}catch(e){Q((null==e?void 0:e.message)||"Failed to run score search"),K(!1)}},[t,n,p]),Me=r.useCallback(function(){var e=p();if(t&&e){var n="`trackme_idx(".concat(t,')` tenant_id="').concat(t,'" (score_source="lowerbound_outlier*" OR score_source="upperbound_outlier*" OR score_source="false_positive_outlier") ').concat(e);try{var r,a="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent("-24h"),"&latest=").concat(encodeURIComponent("now")),o=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}catch(e){}}},[t,p]),we=r.useCallback(function(){var e=p();if(t&&e){var n="| mstats sum(trackme.scoring.score) as score where `trackme_metrics_idx(".concat(t,')` tenant_id="').concat(t,'" (score_source="lowerbound_outlier*" OR score_source="upperbound_outlier*" OR score_source="false_positive_outlier") ').concat(e," | append [ | makeresults | eval score=0 | fields - _time ] | head 1");try{var r,a="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent("-24h"),"&latest=").concat(encodeURIComponent("now")),o=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}catch(e){}}},[t,p]),Se=r.useCallback(function(e){return null===e||e<=0?"#45d4ba":e>0&&e<100?"#ffb347":"#dc4e41"},[]),xe=r.useCallback(function(){var e=p();if(t&&e&&S&&"mhm"!==n){try{var r,a;null===(r=pe.current)||void 0===r||null===(a=r.unsubscribe)||void 0===a||a.call(r)}catch(e){}q(function(e){return Of(Of({},e),{},{loading:!0,error:null})});var o='| trackmesplkoutliersrender tenant_id="'.concat(t,'" component="').concat(n,'" ').concat(e,' model_id="').concat(S,'" | table _time, kpi_metric_value, LowerBound, UpperBound, isOutlier');try{var i=Ee.A.create({search:o,earliest_time:y,latest_time:v},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=[t.map(function(e){return e._time}),t.map(function(e){var t;return null!==(t=e.kpi_metric_value)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.LowerBound)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.UpperBound)&&void 0!==t?t:null}),t.map(function(e){var t;return null!==(t=e.isOutlier)&&void 0!==t?t:null})],r={requestParams:{offset:0,count:t.length},data:{fields:[{name:"_time"},{name:"kpi_metric_value"},{name:"lowerBound"},{name:"upperBound"},{name:"isOutlier"}],columns:n},meta:{totalCount:t.length}};q({dataSource:r,loading:!1,error:null,searchQuery:o})}else q({dataSource:null,loading:!1,error:null,searchQuery:o})}},error:function(e){q({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:o})},complete:function(){}});return pe.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){q({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else q({dataSource:null,loading:!1,error:null,searchQuery:null})},[t,n,S,y,v,p]),ke=r.useCallback(function(){if(H.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(H.searchQuery),"&earliest=").concat(encodeURIComponent(y),"&latest=").concat(encodeURIComponent(v)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[H.searchQuery,y,v]),Ae=r.useMemo(function(){var e=p();return t&&e&&S?'| trackmesplkoutliersrender tenant_id="'.concat(t,'" component="').concat(n,'" ').concat(e,' model_id="').concat(S,'"'):null},[t,n,S,p]),Le=r.useCallback(function(e,t){if(Ae){var n="".concat(Ae," | where ").concat(e,"=").concat(t);try{var r,a="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(y),"&latest=").concat(encodeURIComponent(v)),o=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}catch(e){}}},[Ae,y,v]),Oe=r.useCallback(function(e,t){if(Ae){var n="".concat(Ae," | where ").concat(e,"=").concat(t);try{var r,a="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(y),"&latest=").concat(encodeURIComponent(v)),o=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}catch(e){}}},[Ae,y,v]);r.useEffect(function(){if(ue.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&fe(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(ue.current),function(){e.disconnect()}}},[H.dataSource]),r.useEffect(function(){return ge(),function(){try{var e,t;null===(e=ye.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[ge]),r.useEffect(function(){return _e(),function(){try{var e,t;null===(e=he.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[_e]),r.useEffect(function(){return ve(),xe(),function(){try{var e,t;null===(e=me.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=pe.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}},[ve,xe]);var Te=r.useCallback(function(){_e(),ve(),xe()},[_e,ve,xe]),De=r.useRef(null);return r.useEffect(function(){De.current=Te},[Te]),r.useEffect(function(){l&&l(Te)},[l,Te]),r.useEffect(function(){return function(){try{var e,t;null===(e=pe.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=me.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}try{var a,o;null===(a=he.current)||void 0===a||null===(o=a.unsubscribe)||void 0===o||o.call(a)}catch(e){}try{var i,l;null===(i=ye.current)||void 0===i||null===(l=i.unsubscribe)||void 0===l||l.call(i)}catch(e){}}},[]),"mhm"===n?r.createElement("div",{style:{marginBottom:-20}},r.createElement(Jt(),{type:"info",style:{marginBottom:12}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"Outliers anomaly detection not available"),r.createElement("div",{style:{fontSize:13}},"Outliers anomaly detection is not available for Metric Hosts Monitoring (MHM) component."))):r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:24}},r.createElement(Mr(),{title:"About Outliers Anomaly Detection"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:be.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12,fontWeight:600}},"Outliers detection:"),r.createElement("ul",{style:{marginTop:0,marginBottom:0,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Outliers happen when the KPI value breaches the lower or upper bound calculated in a given model. (isLowerBoundOutlier / isUpperBoundOutlier)"),r.createElement("li",{style:{marginBottom:8}},"Outliers can be rejected when the minimal value for lower bound or upper bound Outliers are not met as per the model configuration. (rejectedLowerboundOutlier / rejectedUpperboundOutlier)"),r.createElement("li",{style:{marginBottom:8}},"The lower and upper bound values can be corrected automatically according to the model configuration. (LowerBoundWasCorrected / UpperBoundWasCorrected)"),r.createElement("li",{style:{marginBottom:0}},"Drilldown click on any of the single views above to review results, click on the manage button to handle ML models parameters and their life-cycle."))))),r.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12}},r.createElement("div",{style:{width:300,minWidth:200}},r.createElement(ht(),{value:S||"",onChange:function(e,t){var n=t.value;k(n||null)},"aria-label":"Machine Learning model"},0===A.length?r.createElement(ht().Option,{label:"No models available",value:"",disabled:!0}):A.map(function(e){return r.createElement(ht().Option,{key:e.model_id,label:e.model_desc,value:e.model_id})}))),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"center"}},r.createElement("div",{style:{width:240}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:y,latest:v,onChange:function(e,t){var n=t.earliest,r=t.latest;b(n),_(r)},labelMaxChars:1/0,"aria-label":"Outliers time range"}))),r.createElement(c(),{appearance:"secondary",icon:r.createElement(Vn(),null),onClick:function(){return R(!0)},disabled:!o||null===V||V<=0,style:{flex:"0 0 auto"}},"Set as false positive"),r.createElement(c(),{appearance:"primary",icon:r.createElement(w(),null),onClick:function(){return N(!0)},style:{flex:"0 0 auto"}},"Manage outliers detection"))),S&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(180px, 1fr))",gap:12,marginBottom:24}},r.createElement(at,{label:"Outliers impact score",value:V,loading:G,error:Z,onClick:Me,onOpenSearch:we,onRefresh:function(){return _e()},color:Se(V),showAlertBorder:null!==V&&V>=100}),r.createElement(at,{label:"LowerBound Outliers",value:te.LowerOutliers,loading:ae,error:le,onClick:function(){return Le("isLowerBoundOutlier",1)},onOpenSearch:function(){return Oe("isLowerBoundOutlier",1)},onRefresh:function(){return ve()},showAlertBorder:null!==te.LowerOutliers&&te.LowerOutliers>0}),r.createElement(at,{label:"UpperBound Outliers",value:te.UpperOutliers,loading:ae,error:le,onClick:function(){return Le("isUpperBoundOutlier",1)},onOpenSearch:function(){return Oe("isUpperBoundOutlier",1)},onRefresh:function(){return ve()},showAlertBorder:null!==te.UpperOutliers&&te.UpperOutliers>0}),r.createElement(at,{label:"Rejected LowerBound Outliers",value:te.rejectedLowerboundOutliers,loading:ae,error:le,onClick:function(){return Le("rejectedLowerboundOutlier",1)},onOpenSearch:function(){return Oe("rejectedLowerboundOutlier",1)},onRefresh:function(){return ve()}}),r.createElement(at,{label:"Rejected UpperBound Outliers",value:te.rejectedUpperboundOutliers,loading:ae,error:le,onClick:function(){return Le("rejectedUpperboundOutlier",1)},onOpenSearch:function(){return Oe("rejectedUpperboundOutlier",1)},onRefresh:function(){return ve()}}),r.createElement(at,{label:"Corrected LowerBound",value:te.LowerBoundWasCorrected,loading:ae,error:le,onClick:function(){return Le("LowerBoundWasCorrected",1)},onOpenSearch:function(){return Oe("LowerBoundWasCorrected",1)},onRefresh:function(){return ve()}}),r.createElement(at,{label:"Corrected UpperBound",value:te.UpperBoundWasCorrected,loading:ae,error:le,onClick:function(){return Le("UpperBoundWasCorrected",1)},onOpenSearch:function(){return Oe("UpperBoundWasCorrected",1)},onRefresh:function(){return ve()}})),S&&r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{background:be.backgroundSecondary,border:"1px solid ".concat(be.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Outliers Anomaly Detection"),H.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:ke},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{xe()}catch(e){}},disabled:H.loading},"Refresh")))),H.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,gap:8}},r.createElement(s(),{size:"medium"})),!H.loading&&H.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:400}},H.error),!H.loading&&!H.error&&H.dataSource&&de>0&&r.createElement("div",{ref:ue,style:{width:"100%",height:400}},r.createElement(Rt(),{width:de||800,height:400,options:{yAxisTitle:"KPI Metric Value",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"},dataSources:{primary:H.dataSource}})),!H.loading&&!H.error&&!H.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:400,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No outliers data found"),r.createElement("div",{style:{fontSize:13}},"No outliers data was found for the selected model during the selected time range."))))),T&&r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:40,color:be.textSecondary}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:16}},"Loading ML models...")),j&&!T&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},j),!T&&!S&&0===A.length&&!j&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No ML models available"),r.createElement("div",{style:{fontSize:13}},'No Machine Learning models are configured for this entity. Click "Manage outliers detection" to add a new ML model.')),Y&&r.createElement(Ef,{open:Y,tenantId:t,component:n,objectId:o||void 0,object:i||void 0,entityInfo:a,onClose:function(){return N(!1)},onSuccess:function(){ge(),De.current&&De.current(),u&&u()}}),I&&r.createElement(hf,{open:I,tenantId:t,component:n,objectId:o||null,object:i||void 0,onClose:function(){return R(!1)},onSuccess:function(){De.current&&De.current(),u&&u()}}))};function Pf(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Bf(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Bf(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Bf(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Bf(d,"constructor",u),Bf(u,"constructor",s),s.displayName="GeneratorFunction",Bf(u,a,"GeneratorFunction"),Bf(d),Bf(d,a,"Generator"),Bf(d,r,function(){return this}),Bf(d,"toString",function(){return"[object Generator]"}),(Pf=function(){return{w:o,m:f}})()}function Bf(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Bf=function(e,t,n,r){function o(t,n){Bf(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Bf(e,t,n,r)}function Yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Nf(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Jf(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Jf(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Jf(d,"constructor",u),Jf(u,"constructor",s),s.displayName="GeneratorFunction",Jf(u,a,"GeneratorFunction"),Jf(d),Jf(d,a,"Generator"),Jf(d,r,function(){return this}),Jf(d,"toString",function(){return"[object Generator]"}),(Kf=function(){return{w:o,m:f}})()}function Jf(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Jf=function(e,t,n,r){function o(t,n){Jf(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Jf(e,t,n,r)}function Zf(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Qf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ep(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ep(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ep(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=t[0];S(function(e){return $f(e?$f({},e):{},n)}),h&&h(n)}else console.warn("[EntityDetailModal] No entity data found in refresh response:",e)}).catch(function(e){console.error("[EntityDetailModal] Error refreshing single entity:",e)})}},[a,o,l,h]),st=r.useCallback(function(e,t){return rt.current.set(e,t),function(){rt.current.delete(e)}},[]),ut=r.useCallback(function(){lt();var e=rt.current.get(D);if(e)try{e()}catch(e){console.error("[EntityDetailModal] Error refreshing active tab:",e)}},[lt,D]);r.useEffect(function(){n&&d&&S(function(e){return e?$f($f({},e),d):e})},[n,d]),r.useEffect(function(){n||rt.current.clear()},[n]),r.useEffect(function(){if(!n)return S(null),void O(null);a&&l&&("dsm"===o||"dhm"===o||"mhm"===o||"flx"===o||"wlk"===o||"fqm"===o)?it():d?(S(d),E(!1)):(S(null),O(null))},[n]);var ct=r.useMemo(function(){if(!f)return null;try{return"string"==typeof f?JSON.parse(f):f}catch(e){return f}},[f]),dt=r.useCallback(function(e){if(!ct)return!1;var t="mloutliers_".concat(e),n=ct[t];return"1"===String(n)||1===n||!0===n},[ct]),ft=r.useCallback(function(){if(!ct)return!1;var e=ct.sampling;return"1"===String(e)||1===e||!0===e},[ct]),pt=r.useMemo(function(){var e,t=[];return e="dsm"===o?"Overview data source":"dhm"===o||"mhm"===o?"Overview host":"flx"===o||"wlk"===o||"fqm"===o?"Overview entity":"Overview ".concat(o),t.push({id:"overview",label:e}),"fqm"===o&&t.push({id:"metrics",label:"Metrics"}),t.push({id:"incidents",label:"Incidents"}),"mhm"!==o&&"flx"!==o&&"fqm"!==o&&"wlk"!==o&&t.push({id:"performance",label:"Performance Metrics"}),"wlk"===o&&t.push({id:"versioning",label:"Versioning metadata"}),"mhm"!==o&&dt(o)&&t.push({id:"outliers",label:"Outliers anomaly detection"}),"dsm"===o&&ft()&&t.push({id:"sampling",label:"Data sampling"}),"dsm"!==o&&"dhm"!==o||t.push({id:"parsing",label:"Data parsing quality"}),t.push({id:"flipping",label:"Status flipping"}),t.push({id:"status",label:"Status message"}),t.push({id:"sla",label:"SLA"}),t.push({id:"audit",label:"Audit changes"}),t.push({id:"handlers",label:"Handlers activity"}),t},[o,dt,ft]),mt=r.useRef(!1);r.useEffect(function(){if(n&&!mt.current&&(mt.current=!0,!k&&!L)){var e=pt.length>0?pt[0].id:"overview";z(e)}n||(mt.current=!1)},[n,k,L,pt]),r.useEffect(function(){if(pt.length>0&&n){var e=pt.map(function(e){return e.id});e.includes(D)||z(e[0])}},[pt,D,n]);var ht,yt,gt,_t,Mt=function(e){switch(null==e?void 0:e.toLowerCase()){case"green":return"#28a745";case"orange":return"#ff9800";case"blue":return"#2196f3";case"red":return"#f44336";default:return ot.text}},wt=function(e){switch(null==e?void 0:e.toLowerCase()){case"low":return"#6c757d";case"medium":return"#ffc107";case"high":return"#fd7e14";case"critical":return"#dc3545";case"pending":return"#17a2b8";default:return ot.text}},St=r.useMemo(function(){if(!w)return u||"N/A";var e=w.object||u||"N/A",t=w.alias||"";return t&&t!==e?"".concat(e," (alias: ").concat(t,")"):e},[w,u]),xt=r.useCallback(function(){if(!["dsm","dhm","mhm","flx","fqm","wlk"].includes(o))return null;var e="";if(f)try{var t="string"==typeof f?JSON.parse(f):f;e=String((null==t?void 0:t.indexed_constraint)||"").trim()}catch(t){e=String((null==f?void 0:f.indexed_constraint)||"").trim()}if("mhm"===o)return r.createElement(y(),{content:"Search"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return je(!0)},"aria-label":"Open search options",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}));if("flx"===o)return r.createElement(y(),{content:"Search"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return Ye(!0)},"aria-label":"Open search options",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}));if("fqm"===o)return r.createElement(y(),{content:"Search"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return Ie(!0)},"aria-label":"Open search options",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}));if("wlk"===o)return r.createElement(y(),{content:"Search"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return Ke(!0)},"aria-label":"Open search options",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}));var n="dsm"===o?"splk_dsm_raw_search":"splk_dhm_raw_search",a=w?String(w[n]||"").trim():"";return r.createElement(y(),{content:"Search"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){var t;if(a){var r=a.trim();if(e)if(r.startsWith("search?q=")){var o=r.substring(9),i=decodeURIComponent(o),l="".concat(i," ").concat(e);r="search?q=".concat(encodeURIComponent(l))}else r="".concat(r," ").concat(e);var s="/app/trackme/".concat(r),u=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(s):s;window.open(u,"_blank","noopener")}else console.warn("[EntityDetailModal] Search field not available yet:",n)},disabled:!a,"aria-label":"Open search",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}))},[o,f,w,je,Ye,Ie,Ke]),kt=r.useMemo(function(){if(!w)return null;var e=null;try{var t=w.status_message_json||w.status_message||null;if(t){var n,r="string"==typeof t?JSON.parse(t):t;!r||void 0===r.total_score&&void 0===r.score||(e=parseFloat(String(null!==(n=r.total_score)&&void 0!==n?n:r.score)))}}catch(e){}return null===e&&void 0!==w.score&&null!==w.score&&(e=parseFloat(String(w.score))),e},[w]),Ct=r.useMemo(function(){if(!w)return null;var e=w.status_message_json||w.status_message||null;if(e){var t=null;if("object"===Vf(e))t=e;else if("string"==typeof e)try{t=JSON.parse(e)}catch(e){}if(t&&t.score_definition)return t.score_definition}return w.score_definition?w.score_definition:null},[w]),Et=r.useCallback(function(){if(["dsm","dhm","mhm","flx","fqm","wlk"].includes(o)){var e="";if(f)try{var t="string"==typeof f?JSON.parse(f):f;e=String((null==t?void 0:t.indexed_constraint)||"").trim()}catch(t){e=String((null==f?void 0:f.indexed_constraint)||"").trim()}if("mhm"===o)je(!0);else if("flx"===o)Ye(!0);else if("fqm"===o)Ie(!0);else if("wlk"===o)Ke(!0);else{var n,r="dsm"===o?"splk_dsm_raw_search":"splk_dhm_raw_search",a=w?String(w[r]||"").trim():"";if(!a)return void console.warn("[EntityDetailModal] Search field not available yet:",r);var i=a.trim();if(e)if(i.startsWith("search?q=")){var l=i.substring(9),s=decodeURIComponent(l),u="".concat(s," ").concat(e);i="search?q=".concat(encodeURIComponent(u))}else i="".concat(i," ").concat(e);var c="/app/trackme/".concat(i),d=null!==(n=window.Splunk)&&void 0!==n&&null!==(n=n.util)&&void 0!==n&&n.make_url?window.Splunk.util.make_url(c):c;window.open(d,"_blank","noopener")}}},[o,w,f]),At=r.useRef(!1);return r.useEffect(function(){if(n&&v&&!k&&w){if(!At.current)switch(At.current=!0,v){case"modifyDisruption":B(!0);break;case"modifyLagPolicies":"dsm"===o?F(!0):"dhm"===o&&H(!0);break;case"modifyPriority":V(!0);break;case"modifyMonitoringTime":G(!0);break;case"modifyMinHostsDcount":"dsm"===o&&ee(!0);break;case"associateLogicalGroup":re(!0);break;case"modifyThresholds":"flx"===o?ie(!0):"fqm"===o&&ue(!0);break;case"enableDisableMonitoring":fe(!0);break;case"deleteTemporary":he(!0);break;case"deletePermanent":ge(!0);break;case"smartStatus":["dsm","dhm","mhm","wlk"].includes(o)&&Qe(!0);break;case"openInSearch":Et()}}else n||(At.current=!1)},[n,v,k,w,o,Et]),r.createElement(r.Fragment,null,r.createElement(Qi,{open:n,onClose:p,title:"Actions for entity: ".concat(St),headerActions:r.createElement(r.Fragment,null,r.createElement(y(),{content:"Refresh"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(C(),null),"aria-label":"Refresh data",onClick:ut,disabled:k,style:{flex:"0 0 auto"}})),r.createElement(y(),{content:"Entity actions"},r.createElement(tr,{component:o,disabled:k,monitoredState:(null==w?void 0:w.monitored_state)||null,objectState:(null==w?void 0:w.object_state)||null,score:kt,onRefresh:ut,hideRefresh:!0,onOpenInSearch:["dsm","dhm","mhm","flx","fqm","wlk"].includes(o)?Et:void 0,onSmartStatus:["dsm","dhm","mhm","wlk"].includes(o)?function(){return Qe(!0)}:void 0,userLevel:g,onModifyDisruption:function(){return B(!0)},onModifyLagPolicies:"dsm"===o?function(){return F(!0)}:"dhm"===o?function(){return H(!0)}:void 0,onModifyPriority:function(){return V(!0)},onModifyMonitoringTime:function(){return G(!0)},onModifyMinHostsDcount:"dsm"===o?function(){return ee(!0)}:void 0,onAssociateLogicalGroup:function(){return re(!0)},onModifyThresholds:function(){"flx"===o?ie(!0):"fqm"===o&&ue(!0)},onEnableDisableMonitoring:function(){return fe(!0)},onDeleteTemporary:function(){return he(!0)},onDeletePermanent:function(){return ge(!0)},onSetFalsePositive:function(){return He(!0)},onManualScoreInfluence:function(){return Ve(!0)}})))},k&&r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:400,color:ot.textSecondary}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:16}},"Loading entity information...")),!k&&L&&r.createElement("div",{style:{padding:40,textAlign:"center",color:"#ff4444"}},L),!k&&!L&&r.createElement(r.Fragment,null,r.createElement("div",{style:{display:"flex",alignItems:"stretch",gap:16,marginBottom:16,width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{flex:"0 0 calc(85% - 8px)",minWidth:0,maxWidth:"calc(85% - 8px)",boxSizing:"border-box",display:"flex"}},function(){if(!w)return null;var e=w.monitored_state||"",t=w.object_state||"",n=w.latest_flip_state||"",a=w.latest_flip_time_human||"",i=w.priority||"",l=w.data_index||"",s=w.data_sourcetype||"",f=w.lag_summary||"",p=w.last_time||"",m=w.last_ingest||"",h=w.data_max_lag_allowed,g=w.data_max_lag_allowed_duration,v=w.data_max_delay_allowed,_=w.data_max_delay_allowed_duration,M=w.fqm_type||(u&&String(u).includes("@global")?"global":"field"),S=w.fieldname||"",x=w.percent_success,k=w.percent_coverage,C=w.tracker_index||w.metadata_index||"",E=w.tracker_sourcetype||w.metadata_sourcetype||"",A=w.metadata_datamodel||"",L=w.metric_index||w.index||"",O=w.metric_category||"",T=w.group||"",D=w.flx_type||"",z=w.status_description_short||"",j=w.tracker_runtime||w["tracker_runtime (translated)"]||"",P=j;if(j)try{var B="string"==typeof j?parseFloat(j):j;!Number.isNaN(B)&&B>0&&(P=new Date(1e3*B).toLocaleString())}catch(e){}var Y=w.savedsearch_name||"",N=w.app||"",F=w.user||"",I=w.cron_exec_sequence_sec,R=w.sec_since_lastexec,W=w.last_seen_human||w.last_time||"",H="dsm"===o;return r.createElement("div",{style:{padding:"10px 16px",backgroundColor:ot.backgroundSecondary,border:"1px solid ".concat(ot.border),borderRadius:8,maxHeight:200,overflow:"auto",width:"100%",maxWidth:"100%",boxSizing:"border-box",height:"100%",display:"flex",flexDirection:"column",position:"relative"}},r.createElement("div",{style:{position:"absolute",top:8,right:8,zIndex:10,display:"flex",flexDirection:"column",gap:8,alignItems:"flex-end"}},r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(y(),{content:"Notes"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(Vi(),null),onClick:function(){return Te(!0)},"aria-label":"View and manage notes",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}})),r.createElement(y(),{content:"Tags"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(Wn(),null),onClick:function(){return xe(!0)},"aria-label":"View and manage tags",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}}))),r.createElement("div",{style:{display:"flex",gap:8}},xt(),function(){if(!b)return null;var e=d||w;if(!e)return null;var t=String(e.ack_state||"").toLowerCase(),n=String(e.object_state||"").toLowerCase();return"active"===t?r.createElement(y(),{content:"Acknowledgement"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(Pt(),null),onClick:function(){d&&b(d)},"aria-label":"Manage acknowledgement",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}})):"red"===n&&"active"!==t?r.createElement(y(),{content:"Acknowledgement"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(Yt(),null),onClick:function(){d&&b(d)},"aria-label":"Manage acknowledgement",style:{padding:"4px 8px",minWidth:"auto",height:"auto"}})):null}())),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(160px, 1fr))",gap:"16px",fontSize:14}},(H||"fqm"===o||"mhm"===o||"flx"===o||"wlk"===o)&&r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:6}},"dsm"===o&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Index:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},l||"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Sourcetype:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},s||"N/A"))),"fqm"===o&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"global"===M?"Tracker (global entity):":"Field name:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},"global"===M?w.tracker_name||"N/A":S||"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Index / Sourcetype:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},C||E?"".concat(C||"N/A"," | ").concat(E||"N/A"):"N/A"))),"mhm"===o&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Metric index:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},L||"N/A")),O&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Metric category:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14,wordBreak:"normal",overflowWrap:"break-word",whiteSpace:"normal"}},O))),"flx"===o&&r.createElement(r.Fragment,null,T&&r.createElement("div",{style:{minWidth:0,maxWidth:"100%"}},r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Group:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14,wordBreak:"break-word",overflowWrap:"break-word",whiteSpace:"normal"}},T)),D&&r.createElement("div",{style:{minWidth:0,maxWidth:"100%"}},r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Type:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14,wordBreak:"break-word",overflowWrap:"break-word",whiteSpace:"normal"}},D))),"wlk"===o&&r.createElement(r.Fragment,null,Y&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Saved search name:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},Y)),N&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Application:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},N)),F&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Owner:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},F)))),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:6}},("dsm"===o||"dhm"===o)&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Delay event / latency ingestion:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},f||"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Last time seen:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},p||"N/A"))),"fqm"===o&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Percent success:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},null!=x?"".concat(x,"%"):"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Percent coverage:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},null!=k?"".concat(k,"%"):"N/A"))),"mhm"===o&&r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Metric lag:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},f||"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Last metric received:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},p||"N/A"))),"flx"===o&&r.createElement(r.Fragment,null,z&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Status description:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},z)),P&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Tracker runtime:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},P))),"wlk"===o&&r.createElement(r.Fragment,null,null!=I&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Cron exec sequence seconds:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},I)),null!=R&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Seconds since last execution:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},R)))),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:6}},("dsm"===o||"dhm"===o)&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Last ingest:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},m||"N/A")),"wlk"===o&&W&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Last time seen:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},W)),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Monitored state:"),r.createElement("div",{style:{color:"enabled"===e.toLowerCase()?"#28a745":ot.textSecondary,fontWeight:600,fontSize:14}},e||"N/A")),"fqm"===o&&A&&r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Data model:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},A))),("dsm"===o||"dhm"===o)&&r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:6}},r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Threshold latency ingestion:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},null!=h?"".concat(h," sec").concat(g?" (duration: ".concat(g,")"):""):"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Threshold events delay:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},null!=v?"".concat(v," sec").concat(_?" (duration: ".concat(_,")"):""):"N/A"))),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:6}},r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Latest flip time:"),r.createElement("div",{style:{color:"#2196f3",fontWeight:600,fontSize:14}},a||"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Latest flip state:"),n?r.createElement("div",{style:{color:Mt(n),fontWeight:600,fontSize:14}},n):r.createElement("div",{style:{color:ot.textSecondary,fontSize:14}},"N/A"))),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:6}},r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"State:"),t?r.createElement("div",{style:{color:Mt(t),fontWeight:600,fontSize:14}},t):r.createElement("div",{style:{color:ot.textSecondary,fontSize:14}},"N/A")),r.createElement("div",null,r.createElement("div",{style:{color:ot.textSecondary,marginBottom:-14,fontSize:12}},"Priority:"),i?r.createElement("div",{style:{color:wt(i),fontWeight:600,fontSize:14}},i):r.createElement("div",{style:{color:ot.textSecondary,fontSize:14}},"N/A")))),r.createElement("div",{style:{marginTop:6,paddingTop:6,borderTop:"1px solid ".concat(ot.border),display:"flex",alignItems:"center",gap:8}},r.createElement("div",{style:{color:ot.textSecondary,fontSize:12}},"Impact score:"),function(){var e=kt;if(null===e)return r.createElement("div",{style:{color:ot.textSecondary,fontSize:14}},"N/A");var t=ot.textSecondary;e<=0?t="#45d4ba":e>0&&e<100?t="#ffb347":e>=100&&(t="#dc4e41");var n=e===Math.floor(e)?e.toString():e.toFixed(1);return Ct?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),nt(!0)},"aria-label":"View impact score definition",style:{textDecoration:"none",fontSize:14,fontWeight:600,color:t,cursor:"pointer"}},n):r.createElement("div",{style:{color:t,fontWeight:600,fontSize:14}},n)}()))}()),r.createElement("div",{style:{flex:"0 0 calc(15% - 8px)",minWidth:0,maxWidth:"calc(15% - 8px)",boxSizing:"border-box",display:"flex"}},r.createElement(tl,{entityInfo:w,onClick:function(){return Me(!0)}}))),pt.length>0&&r.createElement("div",{style:{padding:20,backgroundColor:ot.backgroundSecondary,borderRadius:8,border:"1px solid ".concat(ot.border),minHeight:400}},r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{activePanelId:D,onChange:at},pt.map(function(e){return"overview"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(Zs,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("overview",e)}})):"incidents"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(iu,{tenantId:a,component:o,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("incidents",e)}})):"performance"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(hu,{tenantId:a,component:o,objectId:l||void 0,object:u||void 0,dataMaxLagAllowed:null==w?void 0:w.data_max_lag_allowed,dataMaxDelayAllowed:null==w?void 0:w.data_max_delay_allowed,onRefreshReady:function(e){return st("performance",e)}})):"metrics"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(Su,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("metrics",e)}})):"outliers"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(jf,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("outliers",e)},onRefreshSingleEntity:lt})):"sampling"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(kd,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshAll:m,onRefreshSingleEntity:lt})):"parsing"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(zd,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("parsing",e)}})):"flipping"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(Tu,{tenantId:a,component:o,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("flipping",e)}})):"status"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(Wu,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("status",e)}})):"sla"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(mc,{tenantId:a,component:o,entityInfo:w,objectId:l||void 0,object:u||void 0,onRefreshAll:m,onRefreshSingleEntity:lt})):"audit"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(Ku,{tenantId:a,component:o,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("audit",e)}})):"handlers"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(ac,{tenantId:a,component:o,objectId:l||void 0,onRefreshReady:function(e){return st("handlers",e)}})):"versioning"===e.id?r.createElement(i().Panel,{key:e.id,label:e.label,panelId:e.id},r.createElement(Xf,{tenantId:a,component:o,objectId:l||void 0,object:u||void 0,onRefreshReady:function(e){return st("versioning",e)}})):null})))))),P&&r.createElement(Or,{open:P,tenantId:a,component:o,objectId:l||null,object:u||null,disruptionMinTimeSec:null!==(t=null==w?void 0:w.disruption_min_time_sec)&&void 0!==t?t:null,onClose:function(){return B(!1)},onSuccess:function(){B(!1),lt(),m&&m()}}),N&&"dsm"===o&&function(){var e,t;if(null!=w&&w.impact_score_weights)try{var n="string"==typeof w.impact_score_weights?JSON.parse(w.impact_score_weights):w.impact_score_weights;n&&"object"===Vf(n)&&(void 0!==n.delay&&(e="number"==typeof n.delay?n.delay:parseInt(String(n.delay),10)),void 0!==n.latency&&(t="number"==typeof n.latency?n.latency:parseInt(String(n.latency),10)))}catch(e){}return r.createElement(la,{open:N,tenantId:a,objectId:l||null,object:u||null,initialValues:{maxLag:(null==w?void 0:w.data_max_lag_allowed_duration)||void 0,maxDelay:(null==w?void 0:w.data_max_delay_allowed_duration)||void 0,overrideLaggingClass:(null==w?void 0:w.data_override_lagging_class)||void 0,allowAdaptiveDelay:(null==w?void 0:w.allow_adaptive_delay)||void 0,futureTolerance:(null==w?void 0:w.future_tolerance)||void 0,impactScoreDelayWeight:e,impactScoreLatencyWeight:t},onClose:function(){return F(!1)},onSuccess:function(){F(!1),lt(),m&&m()}})}(),W&&"dhm"===o&&function(){var e,t;if(null!=w&&w.impact_score_weights)try{var n="string"==typeof w.impact_score_weights?JSON.parse(w.impact_score_weights):w.impact_score_weights;n&&"object"===Vf(n)&&(void 0!==n.delay&&(e="number"==typeof n.delay?n.delay:parseInt(String(n.delay),10)),void 0!==n.latency&&(t="number"==typeof n.latency?n.latency:parseInt(String(n.latency),10)))}catch(e){}return r.createElement(ga,{open:W,tenantId:a,objectId:l||null,object:u||null,initialValues:{maxLag:(null==w?void 0:w.data_max_lag_allowed_duration)||void 0,maxDelay:(null==w?void 0:w.data_max_delay_allowed_duration)||void 0,overrideLaggingClass:(null==w?void 0:w.data_override_lagging_class)||void 0,allowAdaptiveDelay:(null==w?void 0:w.allow_adaptive_delay)||void 0,futureTolerance:(null==w?void 0:w.future_tolerance)||void 0,impactScoreDelayWeight:e,impactScoreLatencyWeight:t},onClose:function(){return H(!1)},onSuccess:function(){H(!1),lt(),m&&m()}})}(),X&&r.createElement(Ea,{open:X,tenantId:a,component:o,objectId:l||null,object:u||null,currentPriority:(null==w?void 0:w.priority)||null,entityInfo:w,onClose:function(){return V(!1)},onSuccess:function(){V(!1),lt(),m&&m()}}),$&&r.createElement(Ra,{open:$,tenantId:a,component:o,object:u||null,objectId:l||null,initialPolicy:function(){var e=null==w?void 0:w.monitoring_time_policy;if("string"==typeof e)try{var t=JSON.parse(e);return"string"==typeof t?t:null}catch(t){return e}return e||null}(),initialRules:function(){var e=null==w?void 0:w.monitoring_time_rules;if(e)if("string"==typeof e)try{var t=JSON.parse(e);if(t&&"object"===Vf(t)){var n={};return Object.keys(t).forEach(function(e){var r=parseInt(e,10);!Number.isNaN(r)&&Array.isArray(t[e])&&(n[e]=t[e])}),Object.keys(n).length>0?n:null}}catch(e){return null}else if("object"===Vf(e)){var r={};return Object.keys(e).forEach(function(t){var n=parseInt(t,10);!Number.isNaN(n)&&Array.isArray(e[t])&&(r[t]=e[t])}),Object.keys(r).length>0?r:null}return null}(),onClose:function(){return G(!1)},onSuccess:function(){G(!1),lt(),m&&m()}}),Q&&"dsm"===o&&r.createElement(Ga,{open:Q,tenantId:a,object:u||null,objectId:l||null,initialMinHost:void 0!==(null==w?void 0:w.min_dcount_host)?String(w.min_dcount_host):null,initialField:(null==w?void 0:w.min_dcount_field)||null,onClose:function(){return ee(!1)},onSuccess:function(){ee(!1),lt(),m&&m()}}),ne&&r.createElement(Oo,{open:ne,tenantId:a,component:o,object:u||null,objectId:l||null,onClose:function(){return re(!1)},onSuccess:function(){lt(),m&&m()}}),oe&&"flx"===o&&r.createElement(mo,{open:oe,tenantId:a,object:u||null,objectId:l||null,entityInfo:w,onClose:function(){return ie(!1)},onSuccess:function(){ie(!1),lt(),m&&m()}}),se&&"fqm"===o&&r.createElement(So,{open:se,tenantId:a,object:u||null,objectId:l||null,entityInfo:w,onClose:function(){return ue(!1)},onSuccess:function(){ue(!1),lt(),m&&m()}}),de&&r.createElement(No,{open:de,tenantId:a,component:o,object:u||null,objectId:l||null,currentMonitoredState:(null==w?void 0:w.monitored_state)||null,onClose:function(){return fe(!1)},onSuccess:function(){fe(!1),lt(),m&&m()}}),me&&r.createElement(Vo,{open:me,tenantId:a,component:o,object:u||null,objectId:l||null,deletionType:"temporary",onClose:function(){return he(!1)},onSuccess:function(){he(!1),m&&m(),p()}}),be&&r.createElement(Vo,{open:be,tenantId:a,component:o,object:u||null,objectId:l||null,deletionType:"permanent",onClose:function(){return ge(!1)},onSuccess:function(){ge(!1),m&&m(),p()}}),_e&&r.createElement(rl,{open:_e,entityInfo:w,onClose:function(){return Me(!1)}}),Se&&r.createElement(gl,{open:Se,tenantId:a,component:o,objectId:l||null,object:u||null,entityInfo:w,onClose:function(){return xe(!1)},onOpenTagsPolicies:function(){xe(!1),Ae(!0)},onSuccess:function(){lt(),m&&m()}}),Ee&&r.createElement(Il,{open:Ee,tenantId:a,component:o,onClose:function(){return Ae(!1)},onSuccess:function(){lt(),m&&m()}}),Oe&&r.createElement(Gl,{open:Oe,tenantId:a,objectId:l||(null==w?void 0:w.keyid)||(null==w?void 0:w.key)||null,userLevel:function(){if(null!=f&&f.user_level)return f.user_level;try{return window.__trackme_user_level||null}catch(e){return null}}(),entityInfo:w,onClose:function(){return Te(!1)},onSuccess:function(){m&&m()}}),ze&&"mhm"===o&&r.createElement(vt(),{open:ze,onRequestClose:function(){return je(!1)},returnFocus:function(){},style:{width:"90%",maxWidth:800}},r.createElement(vt().Header,{title:"Metric indexes - Search & Reports"}),r.createElement(vt().Body,null,r.createElement("div",{style:{padding:"20px 0"}},r.createElement("h2",{style:{marginBottom:20,fontSize:16,fontWeight:600,color:ot.text}},"You can search metric indexes content using one of the methods below:"),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginTop:30}},(ht=w?String(w.splk_mhn_metrics_report||"").trim():"",yt=w?String(w.splk_mhm_mctalog_search||"").trim():"",gt=w?String(w.splk_mhn_mpreview||"").trim():"",_t=function(e){var t;if(e){var n="/app/trackme/".concat(e.trim()),r=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}else console.warn("[EntityDetailModal] Search query not available")},r.createElement(r.Fragment,null,gt?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),_t(gt)},"aria-label":"Open search (mpreview)",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search (mpreview)",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search (mpreview)"),ht?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),_t(ht)},"aria-label":"Open metrics live report",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Metrics live report",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Metrics live report"),yt?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),_t(yt)},"aria-label":"Open metrics mcatalog report",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Metrics mcatalog report",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Metrics mcatalog report")))),k&&r.createElement("div",{style:{marginTop:20,color:ot.textSecondary,fontSize:14}},"Loading search options..."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){return je(!1)}},"Close"))),Be&&"flx"===o&&r.createElement(vt(),{open:Be,onRequestClose:function(){return Ye(!1)},returnFocus:function(){},style:{width:"90%",maxWidth:800}},r.createElement(vt().Header,{title:"Flex Objects - Search & Reports"}),r.createElement(vt().Body,null,r.createElement("div",{style:{padding:"20px 0"}},r.createElement("h2",{style:{marginBottom:20,fontSize:16,fontWeight:600,color:ot.text}},"You can search Flex Objects content using one of the methods below:"),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginTop:30}},function(){var e=w?String(w.splk_flx_metrics_report||"").trim():"",t=w?String(w.splk_flx_mctalog_search||"").trim():"",n=w?String(w.splk_flx_mpreview||"").trim():"",a=d?d.drilldown_searches:null,o=d?String(d.drilldown_search||"").trim():"",i=d?String(d.drilldown_search_earliest||"-24h").trim():"-24h",l=d?String(d.drilldown_search_latest||"now").trim():"now",s=function(e,t,n){if(e)if(e.startsWith("search?q=")){var r,a="/app/trackme/".concat(e.trim()),o=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(a):a;window.open(o,"_blank","noopener")}else{var i,l=e.trim(),s=t?"&earliest=".concat(encodeURIComponent(t)):"",u=n?"&latest=".concat(encodeURIComponent(n)):"",c="/app/trackme/search?q=".concat(encodeURIComponent(l)).concat(s).concat(u),d=null!==(i=window.Splunk)&&void 0!==i&&null!==(i=i.util)&&void 0!==i&&i.make_url?window.Splunk.util.make_url(c):c;window.open(d,"_blank","noopener")}else console.warn("[EntityDetailModal] Search query not available")};return r.createElement(r.Fragment,null,a&&Array.isArray(a)&&a.length>0?a.filter(function(e){return String(e.drilldown_search||"").trim().length>0}).map(function(e){var t,n,a=String(e.drilldown_search||"").trim(),o=String(e.drilldown_search_earliest||"-24h").trim(),i=String(e.drilldown_search_latest||"now").trim(),l=String(e.tracker_name||"").trim();return t=l?"Drilldown search (".concat(l,")"):"Drilldown search",n=l?"drilldown-".concat(l,"-").concat(a.substring(0,20)):"drilldown-".concat(a.substring(0,30)),r.createElement(bt(),{key:n,to:"#",onClick:function(e){e.preventDefault(),s(a,o,i)},"aria-label":t,style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},t,r.createElement(Ge(),{style:{fontSize:14}}))}):o?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),s(o,i,l)},"aria-label":"Drilldown search entity",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Drilldown search entity",r.createElement(Ge(),{style:{fontSize:14}})):null,n?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),s(n)},"aria-label":"Open search (mpreview)",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search (mpreview)",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search (mpreview)"),e?r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),s(e)},"aria-label":"Open metrics live report",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Metrics live report",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Metrics live report"),t?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),s(t)},"aria-label":"Open metrics mcatalog report",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Metrics mcatalog report",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Metrics mcatalog report"))}()),k&&r.createElement("div",{style:{marginTop:20,color:ot.textSecondary,fontSize:14}},"Loading search options..."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){return Ye(!1)}},"Close"))),Fe&&"fqm"===o&&r.createElement(vt(),{open:Fe,onRequestClose:function(){return Ie(!1)},returnFocus:function(){},style:{width:"90%",maxWidth:800}},r.createElement(vt().Header,{title:"Field Quality Monitor - Search & Reports"}),r.createElement(vt().Body,null,r.createElement("div",{style:{padding:"20px 0"}},r.createElement("h2",{style:{marginBottom:20,fontSize:16,fontWeight:600,color:ot.text}},"You can search Field Quality Monitor content using one of the methods below:"),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginTop:30}},function(){var e=w?String(w.splk_fqm_search_sample_events||"").trim():"",t=w?String(w.splk_fqm_search_sample_not_matching_regex_events||"").trim():"",n=function(e){if(e)if(e.startsWith("search?q=")){var t,n="/app/trackme/".concat(e.trim()),r=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}else{var a,o=e.trim(),i="/app/trackme/search?q=".concat(encodeURIComponent(o)),l=null!==(a=window.Splunk)&&void 0!==a&&null!==(a=a.util)&&void 0!==a&&a.make_url?window.Splunk.util.make_url(i):i;window.open(l,"_blank","noopener")}else console.warn("[EntityDetailModal] Search query not available")};return r.createElement(r.Fragment,null,e?r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),n(e)},"aria-label":"Search sampled events",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search sampled events",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search sampled events"),t?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),n(t)},"aria-label":"Search not matching regex",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search not matching regex",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search not matching regex"))}()),k&&r.createElement("div",{style:{marginTop:20,color:ot.textSecondary,fontSize:14}},"Loading search options..."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){return Ie(!1)}},"Close"))),$e&&"wlk"===o&&r.createElement(vt(),{open:$e,onRequestClose:function(){return Ke(!1)},returnFocus:function(){},style:{width:"90%",maxWidth:800}},r.createElement(vt().Header,{title:"Workload Monitor - Search & Reports"}),r.createElement(vt().Body,null,r.createElement("div",{style:{padding:"20px 0"}},r.createElement("h2",{style:{marginBottom:20,fontSize:16,fontWeight:600,color:ot.text}},"You can search Workload Monitor content using one of the methods below:"),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginTop:30}},function(){var e=w?String(w.splk_wlk_scheduler_errors_search||"").trim():"",t=w?String(w.splk_wlk_scheduler_skipping_search||"").trim():"",n=w?String(w.splk_wlk_metrics_report||"").trim():"",a=function(e){if(e)if(e.startsWith("search?q=")){var t,n="/app/trackme/".concat(e.trim()),r=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}else{var a,o=e.trim(),i="/app/trackme/search?q=".concat(encodeURIComponent(o)),l=null!==(a=window.Splunk)&&void 0!==a&&null!==(a=a.util)&&void 0!==a&&a.make_url?window.Splunk.util.make_url(i):i;window.open(l,"_blank","noopener")}else console.warn("[EntityDetailModal] Search query not available")};return r.createElement(r.Fragment,null,e?r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),a(e)},"aria-label":"Search scheduler errors",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search scheduler errors",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search scheduler errors"),t?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),a(t)},"aria-label":"Search scheduler skipping",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search scheduler skipping",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search scheduler skipping"),n?r.createElement(bt(),{to:"#",onClick:function(e){e.preventDefault(),a(n)},"aria-label":"Search metrics",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4,marginRight:20,color:"#2196f3"}},"Search metrics",r.createElement(Ge(),{style:{fontSize:14}})):r.createElement("span",{style:{color:ot.textSecondary,marginRight:20,display:"inline-flex",alignItems:"center",gap:4}},"Search metrics"))}()),k&&r.createElement("div",{style:{marginTop:20,color:ot.textSecondary,fontSize:14}},"Loading search options..."))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){return Ke(!1)}},"Close"))),["dsm","dhm","mhm","wlk"].includes(o)&&r.createElement(Go,{open:Ze,tenantId:a,component:o,object:(null==w?void 0:w.object)||u||null,onClose:function(){return Qe(!1)}}),r.createElement(ri,{open:We,tenantId:a,component:o,objectId:l||null,object:(null==w?void 0:w.object)||u||void 0,onClose:function(){return He(!1)},onSuccess:function(){ut(),m&&m()}}),r.createElement(ui,{open:Xe,tenantId:a,component:o,objectId:l||null,object:(null==w?void 0:w.object)||u||void 0,onClose:function(){return Ve(!1)},onSuccess:function(){ut(),m&&m()}}),tt&&r.createElement(ci,{open:tt,scoreDefinition:Ct,tenantId:a||void 0,component:o,objectId:l||void 0,onClose:function(){return nt(!1)}}))},np=function(e){var t=e.open,n=e.onClose,a=Ce(),o=a.colorScheme,i=a.updateColorScheme,l=a.autoRefresh,s=a.setAutoRefresh,u=a.clearPreferences,d=PS().meta,f=function(e){i(e)},p=r.useMemo(function(){if(void 0!==l)return l;var e=null==d?void 0:d.ui_auto_refresh;return null!=e&&(1===e||"1"===e||!0===e)},[l,d]),m=r.useMemo(function(){return"light"===o?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#cccccc",border:"#404040"}},[o]);return r.useEffect(function(){if(t){var e=function(e){"Escape"===e.key&&n()};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}},[t,n]),r.useEffect(function(){return document.body.style.overflow=t?"hidden":"",function(){document.body.style.overflow=""}},[t]),t?r.createElement(r.Fragment,null,r.createElement("div",{onClick:n,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||n()},role:"button","aria-label":"Close settings panel",tabIndex:0,style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:9998,animation:"fadeIn 0.2s ease-out"}}),r.createElement("div",{style:{position:"fixed",top:0,right:0,bottom:0,width:"400px",maxWidth:"90vw",backgroundColor:m.background,boxShadow:"-2px 0 8px rgba(0, 0, 0, 0.2)",zIndex:9999,display:"flex",flexDirection:"column",animation:"slideInRight 0.3s ease-out"}},r.createElement("div",{style:{padding:"20px 20px 20px 20px",paddingRight:"12px",borderBottom:"1px solid ".concat(m.border),display:"flex",alignItems:"center",gap:"12px"}},r.createElement("h2",{style:{margin:0,color:m.text,fontSize:"20px",fontWeight:600,flex:1}},"Settings"),r.createElement("button",{type:"button",onClick:n,"aria-label":"Close settings",style:{width:"24px",height:"24px",padding:"0",margin:"0",border:"none",background:"transparent",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:m.text}},r.createElement(Qt(),null))),r.createElement("div",{style:{flex:1,overflowY:"auto",padding:"20px"}},r.createElement(Dr(),{label:"Color Scheme",style:{marginBottom:24}},r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"light"===o?"primary":"secondary",onClick:function(){return f("light")},style:{flex:1}},"Light"),r.createElement(c(),{appearance:"dark"===o?"primary":"secondary",onClick:function(){return f("dark")},style:{flex:1}},"Dark"))),r.createElement(Dr(),{label:"Auto Refresh",style:{marginBottom:24}},r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:!0===p?"primary":"secondary",onClick:function(){return s(!0)},style:{flex:1}},"Enabled"),r.createElement(c(),{appearance:!1===p?"primary":"secondary",onClick:function(){return s(!1)},style:{flex:1}},"Disabled"))),r.createElement("div",{style:{marginTop:24,paddingTop:24,borderTop:"1px solid ".concat(m.border)}},r.createElement(c(),{appearance:"secondary",onClick:function(){window.confirm("Are you sure you want to clear all preferences? This will reset your color scheme and other settings to defaults.")&&u()},style:{width:"100%"}},"Clear Preferences")),r.createElement("div",{style:{marginTop:16,fontSize:12,color:m.textSecondary}},"Preferences are stored in a cookie within your web browser."))),r.createElement("style",null,"\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideInRight {\n from { transform: translateX(100%); }\n to { transform: translateX(0); }\n }\n ")):null};function rp(e){return rp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rp(e)}function ap(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function op(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=[t.map(function(e){return e.object||""}),t.map(function(e){return e.count||0})],r={requestParams:{offset:0,count:t.length},data:{fields:["object","count"].map(function(e){return{name:e}}),columns:n},meta:{totalCount:t.length}};z({dataSource:r,loading:!1,error:null,searchQuery:a})}else z({dataSource:null,loading:!1,error:null,searchQuery:a})}},error:function(e){z({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load pie chart data",searchQuery:a})},complete:function(){}});return fe.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){z({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run pie chart search",searchQuery:null})}}else z({dataSource:null,loading:!1,error:null,searchQuery:null})}},[o,_e,t,u,h]),Se=r.useCallback(function(){if(o){var e=_e();if(e&&t){try{var n,r;null===(n=pe.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}B(function(e){return op(op({},e),{},{loading:!0,error:null})});var a="".concat(e," | timechart limit=40 useother=t minspan=1h bins=1000 count by object");try{var i=Ee.A.create({search:a,earliest_time:u,latest_time:h},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=[];t.forEach(function(e){Object.keys(e||{}).forEach(function(e){n.includes(e)||n.push(e)})});var r=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},o=n.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"_span_ms"===t||"span_ms"===t||"spanms"===t||"count"===t||r(e));var t}),i=n.find(function(e){return r(e)});i&&(o=[i].concat(lp(o)));var l=o.map(function(e){return t.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null!=n?n:null}return null})}),s=o.map(function(e){return{name:e}}),u={requestParams:{offset:0,count:t.length},data:{fields:s,columns:l},meta:{totalCount:t.length}};B({dataSource:u,loading:!1,error:null,searchQuery:a})}else B({dataSource:null,loading:!1,error:null,searchQuery:a})}},error:function(e){B({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load time chart data",searchQuery:a})},complete:function(){}});return pe.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){B({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run time chart search",searchQuery:null})}}else B({dataSource:null,loading:!1,error:null,searchQuery:null})}},[o,_e,t,u,h]),xe=r.useCallback(function(){if(o){var e=_e();if(!e||!t)return F([]),W(!1),X(null),void $(null);try{var n,r;null===(n=me.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}W(!0),X(null);var a="".concat(e,' | rename separator as " " | `trackme_eval_noicons_flip` | fields _time object object_category object_previous_state " " object_state result | sort - limit=10000 _time');try{var i=Ee.A.create({search:a,earliest_time:u,latest_time:h},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t.map(function(e){return{_time:e._time||"",object:e.object||"",object_category:e.object_category||"",object_previous_state:e.object_previous_state||"",object_state:e.object_state||"",result:e.result||""}});F(n),$(a)}else F([]),$(a);W(!1)}},error:function(e){F([]),W(!1),X((null==e?void 0:e.message)||"Failed to load table data"),$(a)},complete:function(){}});return me.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){F([]),W(!1),X((null==e?void 0:e.message)||"Failed to run table search"),$(null)}}},[o,_e,t,u,h]),ke=r.useCallback(function(){if(D.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(D.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[D.searchQuery,u,h]),Ae=r.useCallback(function(){if(P.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(P.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[P.searchQuery,u,h]),Oe=r.useCallback(function(){if(U)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(U),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[U,u,h]);r.useEffect(function(){if(se.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&de(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(se.current),function(){e.disconnect()}}},[P.dataSource]),r.useEffect(function(){if(!o)return function(){};var e=we(),t=Se(),n=xe();return function(){e&&e(),t&&t(),n&&n()}},[o,we,Se,xe]),r.useEffect(function(){if(!o)return function(){};var e=Me();return function(){e&&e()}},[o,Me]);var Te=r.useRef(null),De=r.useCallback(function(){try{Me(),we(),Se(),xe()}catch(e){console.error("[InvestigateStatusFlippingTab] Error refreshing:",e)}},[Me,we,Se,xe]);r.useEffect(function(){Te.current=De},[De]);var ze=r.useCallback(function(){Te.current&&Te.current()},[]);r.useEffect(function(){n&&n(ze)},[n,ze]),r.useEffect(function(){return function(){try{var e,t;null===(e=fe.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=pe.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}try{var a,o;null===(a=me.current)||void 0===a||null===(o=a.unsubscribe)||void 0===o||o.call(a)}catch(e){}try{var i,l;null===(i=he.current)||void 0===i||null===(l=i.unsubscribe)||void 0===l||l.call(i)}catch(e){}}},[]);var je=r.useCallback(function(e){if(!e)return"";try{var t;if("string"==typeof e){var n=Number.parseFloat(e);t=!Number.isNaN(n)&&n>1e9?new Date(1e3*n):new Date(e)}else t=new Date(e);if(!Number.isNaN(t.getTime())){var r=t.getUTCFullYear(),a=String(t.getUTCMonth()+1).padStart(2,"0"),o=String(t.getUTCDate()).padStart(2,"0"),i=String(t.getUTCHours()).padStart(2,"0"),l=String(t.getUTCMinutes()).padStart(2,"0"),s=String(t.getUTCSeconds()).padStart(2,"0");return"".concat(r,"-").concat(a,"-").concat(o," ").concat(i,":").concat(l,":").concat(s)}return e}catch(t){return e}},[]),Pe=r.useCallback(function(e){var t=ge(e);return r.createElement("div",{style:{display:"flex",alignItems:"center",gap:6}},r.createElement("div",{style:{width:10,height:10,borderRadius:"50%",backgroundColor:t,border:"1px solid ".concat(ye.border),flexShrink:0}}),r.createElement("span",{style:{fontSize:13,color:ye.text,lineHeight:1.4}},e||"N/A"))},[ge,ye.border,ye.text]);return r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{marginBottom:20}},r.createElement("div",{style:{background:ye.backgroundSecondary,border:"1px solid ".concat(ye.border),borderRadius:8,padding:16}},r.createElement("h2",{style:{marginTop:0,marginBottom:16,fontSize:16,fontWeight:"bold"}},"Search for alert state flipping:"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16}},r.createElement("div",null,r.createElement("label",{style:{display:"block",marginBottom:6,fontWeight:500,color:ye.textSecondary,fontSize:13}},"Time period:"),r.createElement("div",{style:{width:"100%"}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:u,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;d(n),y(r)},labelMaxChars:1/0,"aria-label":"Time period"})))),r.createElement("div",null,r.createElement("label",{htmlFor:"keyword-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ye.textSecondary,fontSize:13}},"Keyword filter object:"),r.createElement("input",{id:"keyword-filter",type:"text",value:"*"===g?"":g,onChange:function(e){var t=e.target.value.trim()||"*";v(t)},placeholder:"*",style:{width:"100%",padding:"8px",borderRadius:"4px",border:"1px solid ".concat(ye.border),backgroundColor:ye.background,color:ye.text,fontSize:14,boxSizing:"border-box"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"object-category",style:{display:"block",marginBottom:6,fontWeight:500,color:ye.textSecondary,fontSize:13}},"object_category:"),r.createElement(ht(),{value:M,onChange:function(e,t){var n=t.value;w(n),n!==M&&E("*")},style:{width:"100%"}},K.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),ne&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"object-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ye.textSecondary,fontSize:13}},"object(s) (use keyword filter):"),r.createElement(ht(),{value:k,onChange:function(e,t){var n=t.value;E(n)},style:{width:"100%"}},Q.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),oe&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"priority-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ye.textSecondary,fontSize:13}},"Priority:"),r.createElement(ht(),{value:L,onChange:function(e,t){var n=t.value;O(n)},style:{width:"100%"}},[{label:"ALL",value:"*"},{label:"critical",value:"critical"},{label:"high",value:"high"},{label:"medium",value:"medium"},{label:"low",value:"low"}].map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})))))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 2fr",gap:16,marginBottom:24}},r.createElement("div",{style:{background:ye.backgroundSecondary,border:"1px solid ".concat(ye.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"TOP Object"),D.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:ke},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{we()}catch(e){}},disabled:D.loading},"Refresh")))),D.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!D.loading&&D.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},D.error),!D.loading&&!D.error&&D.dataSource&&r.createElement("div",{ref:le,style:{width:"100%",height:200,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:D.dataSource}})))),!D.loading&&!D.error&&!D.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No flip events found"),r.createElement("div",{style:{fontSize:13}},"No state flip events were found for the selected filters.")))),r.createElement("div",{style:{background:ye.backgroundSecondary,border:"1px solid ".concat(ye.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Flip over time"),P.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:Ae},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{Se()}catch(e){}},disabled:P.loading},"Refresh")))),P.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!P.loading&&P.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},P.error),!P.loading&&!P.error&&P.dataSource&&r.createElement("div",{ref:se,style:{width:"100%",height:200}},r.createElement(Ft(),{width:ce||800,height:200,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",stackMode:"stacked","charting.axisLabelsY.majorUnit":"1",xAxisTitleVisibility:"hide","charting.fieldColors":JSON.stringify({orange:"0xffd394",blue:"0xcfebf9",green:"0xb6edb6",red:"0xFFBABA"})},dataSources:{primary:P.dataSource}})),!P.loading&&!P.error&&!P.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No flip events found"),r.createElement("div",{style:{fontSize:13}},"No state flip events were found for the selected filters."))))),r.createElement("div",null,r.createElement("div",{style:{background:ye.backgroundSecondary,border:"1px solid ".concat(ye.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Flip Events"),U&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:Oe},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{xe()}catch(e){}},disabled:R},"Refresh")))),R&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),!R&&q&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},q),!R&&!q&&N.length>0&&r.createElement("div",{style:{overflowX:"auto"}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"Time"),r.createElement(dt().HeadCell,null,"Object"),r.createElement(dt().HeadCell,null,"Category"),r.createElement(dt().HeadCell,null,"Previous State"),r.createElement(dt().HeadCell,null,"→"),r.createElement(dt().HeadCell,null,"Current State"),r.createElement(dt().HeadCell,null,"Result")),r.createElement(dt().Body,null,N.map(function(e){var t="".concat(e._time,"-").concat(e.object,"-").concat(e.object_category);return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,null,je(e._time)),r.createElement(dt().Cell,null,e.object),r.createElement(dt().Cell,null,e.object_category),r.createElement(dt().Cell,null,Pe(e.object_previous_state)),r.createElement(dt().Cell,{style:{textAlign:"center",color:ye.textSecondary}},"→"),r.createElement(dt().Cell,null,Pe(e.object_state)),r.createElement(dt().Cell,{style:{fontSize:12,color:ye.textSecondary}},e.result))})))),!R&&!q&&0===N.length&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No flip events found for the selected filters."))))};function fp(e){return fp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fp(e)}function pp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mp(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=[t.map(function(e){return e.action||""}),t.map(function(e){return e.count||0})],r={requestParams:{offset:0,count:t.length},data:{fields:["action","count"].map(function(e){return{name:e}}),columns:n},meta:{totalCount:t.length}};P({dataSource:r,loading:!1,error:null,searchQuery:a})}else P({dataSource:null,loading:!1,error:null,searchQuery:a})}},error:function(e){P({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:a})},complete:function(){}});return ke.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){P({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else P({dataSource:null,loading:!1,error:null,searchQuery:null})}},[o,Pe,t,u,h]),Ne=r.useCallback(function(){if(o){var e=Pe();if(e&&t){try{var n,r;null===(n=Ae.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}N(function(e){return mp(mp({},e),{},{loading:!0,error:null})});var a="".concat(e," | top user");try{var i=Ee.A.create({search:a,earliest_time:u,latest_time:h},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=[t.map(function(e){return e.user||""}),t.map(function(e){return e.count||0})],r={requestParams:{offset:0,count:t.length},data:{fields:["user","count"].map(function(e){return{name:e}}),columns:n},meta:{totalCount:t.length}};N({dataSource:r,loading:!1,error:null,searchQuery:a})}else N({dataSource:null,loading:!1,error:null,searchQuery:a})}},error:function(e){N({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:a})},complete:function(){}});return Ae.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){N({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else N({dataSource:null,loading:!1,error:null,searchQuery:null})}},[o,Pe,t,u,h]),Fe=r.useCallback(function(){if(o){var e=Pe();if(e&&t){try{var n,r;null===(n=Oe.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}R(function(e){return mp(mp({},e),{},{loading:!0,error:null})});var a="".concat(e," | top change_type");try{var i=Ee.A.create({search:a,earliest_time:u,latest_time:h},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=[t.map(function(e){return e.change_type||""}),t.map(function(e){return e.count||0})],r={requestParams:{offset:0,count:t.length},data:{fields:["change_type","count"].map(function(e){return{name:e}}),columns:n},meta:{totalCount:t.length}};R({dataSource:r,loading:!1,error:null,searchQuery:a})}else R({dataSource:null,loading:!1,error:null,searchQuery:a})}},error:function(e){R({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load chart data",searchQuery:a})},complete:function(){}});return Oe.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){R({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run chart search",searchQuery:null})}}else R({dataSource:null,loading:!1,error:null,searchQuery:null})}},[o,Pe,t,u,h]),Ie=r.useCallback(function(){if(o){var e=Pe();if(e&&t){try{var n,r;null===(n=Te.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}q(function(e){return mp(mp({},e),{},{loading:!0,error:null})});var a="".concat(e," | fields *");try{var i=Ee.A.create({search:a,earliest_time:u,latest_time:h},{app:"trackme"}).getResults().subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0!==t.length){var n=t[0],r=Object.keys(n||{}),o=r.map(function(e){return{name:e}}),i=r.map(function(e){return t.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});q({dataSource:{requestParams:{offset:0,count:t.length},data:{fields:o,columns:i},meta:{totalCount:t.length}},loading:!1,error:null,searchQuery:a})}else q({dataSource:{requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}},loading:!1,error:null,searchQuery:a})}},complete:function(){q(function(e){return mp(mp({},e),{},{loading:!1})})},error:function(e){q({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load events",searchQuery:a})}});return Te.current=i,function(){try{i.unsubscribe()}catch(e){}}}catch(e){q({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run events search",searchQuery:null})}}else q({dataSource:null,loading:!1,error:null,searchQuery:null})}},[o,Pe,t,u,h]),Re=r.useCallback(function(){if(j.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(j.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[j.searchQuery,u,h]),We=r.useCallback(function(){if(Y.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(Y.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[Y.searchQuery,u,h]),He=r.useCallback(function(){if(I.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(I.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[I.searchQuery,u,h]),qe=r.useCallback(function(){if(H.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(H.searchQuery),"&earliest=").concat(encodeURIComponent(u),"&latest=").concat(encodeURIComponent(h)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[H.searchQuery,u,h]),Xe=r.useRef(null),Ve=r.useCallback(function(){try{Be(),Ye(),Ne(),Fe(),Ie()}catch(e){console.error("[InvestigateAuditChangesTab] Error refreshing:",e)}},[Be,Ye,Ne,Fe,Ie]);r.useEffect(function(){Xe.current=Ve},[Ve]);var Ue=r.useCallback(function(){Xe.current&&Xe.current()},[]);return r.useEffect(function(){n&&n(Ue)},[n,Ue]),r.useEffect(function(){if(!o)return function(){};var e=Ye(),t=Ne(),n=Fe(),r=Ie();return function(){e&&e(),t&&t(),n&&n(),r&&r()}},[o,Ye,Ne,Fe,Ie]),r.useEffect(function(){if(!o)return function(){};var e=Be();return function(){e&&e()}},[o,Be]),r.useEffect(function(){"*"===g&&w("*")},[g]),r.useEffect(function(){"*"===g&&"*"===M&&C("*")},[g,M]),r.useEffect(function(){"*"===g&&"*"===M&&"*"===k&&L("*")},[g,M,k]),r.useEffect(function(){"*"===g&&"*"===M&&"*"===k&&"*"===A&&D("*")},[g,M,k,A]),r.useEffect(function(){return function(){try{var e,t;null===(e=ke.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}try{var n,r;null===(n=Ae.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}try{var a,o;null===(a=Oe.current)||void 0===a||null===(o=a.unsubscribe)||void 0===o||o.call(a)}catch(e){}try{var i,l;null===(i=Te.current)||void 0===i||null===(l=i.unsubscribe)||void 0===l||l.call(i)}catch(e){}try{var s,u;null===(s=De.current)||void 0===s||null===(u=s.unsubscribe)||void 0===u||u.call(s)}catch(e){}}},[]),r.useEffect(function(){if(X.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&$(function(e){return Math.abs(t-e)>5?t:e})})});return e.observe(X.current),function(){e.disconnect()}}},[H.dataSource]),r.createElement("div",{style:{marginBottom:-20}},r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16,marginBottom:24}},r.createElement("div",{style:{background:ze.backgroundSecondary,border:"1px solid ".concat(ze.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"TOP Actions"),j.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:Re},"Open in Search")))),j.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!j.loading&&j.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},j.error),!j.loading&&!j.error&&j.dataSource&&r.createElement("div",{style:{width:"100%",height:200,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:j.dataSource}})))),!j.loading&&!j.error&&!j.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No audit changes found"),r.createElement("div",{style:{fontSize:13}},"No audit changes were found for the selected filters.")))),r.createElement("div",{style:{background:ze.backgroundSecondary,border:"1px solid ".concat(ze.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"TOP Users"),Y.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:We},"Open in Search")))),Y.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!Y.loading&&Y.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},Y.error),!Y.loading&&!Y.error&&Y.dataSource&&r.createElement("div",{style:{width:"100%",height:200,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:Y.dataSource}})))),!Y.loading&&!Y.error&&!Y.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No audit changes found"),r.createElement("div",{style:{fontSize:13}},"No audit changes were found for the selected filters.")))),r.createElement("div",{style:{background:ze.backgroundSecondary,border:"1px solid ".concat(ze.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"TOP Change Types"),I.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:He},"Open in Search")))),I.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!I.loading&&I.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},I.error),!I.loading&&!I.error&&I.dataSource&&r.createElement("div",{style:{width:"100%",height:200,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:I.dataSource}})))),!I.loading&&!I.error&&!I.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No audit changes found"),r.createElement("div",{style:{fontSize:13}},"No audit changes were found for the selected filters."))))),r.createElement("div",{style:{marginBottom:20}},r.createElement("div",{style:{background:ze.backgroundSecondary,border:"1px solid ".concat(ze.border),borderRadius:8,padding:16}},r.createElement("h2",{style:{marginTop:0,marginBottom:16,fontSize:16,fontWeight:"bold"}},"Search for audit changes:"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16}},r.createElement("div",null,r.createElement("label",{style:{display:"block",marginBottom:6,fontWeight:500,color:ze.textSecondary,fontSize:13}},"time period:"),r.createElement("div",{style:{width:"100%"}},r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{earliest:u,latest:h,onChange:function(e,t){var n=t.earliest,r=t.latest;d(n),y(r)},labelMaxChars:1/0,"aria-label":"Time period"})))),r.createElement("div",null,r.createElement("label",{htmlFor:"action-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ze.textSecondary,fontSize:13}},"action:"),r.createElement(ht(),{value:g,onChange:function(e,t){var n=t.value;v(n)},style:{width:"100%"}},K.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),de&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"user-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ze.textSecondary,fontSize:13}},"user:"),r.createElement(ht(),{value:M,onChange:function(e,t){var n=t.value;w(n)},style:{width:"100%"}},Q.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),me&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"object-category-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ze.textSecondary,fontSize:13}},"object_category:"),r.createElement(ht(),{value:k,onChange:function(e,t){var n=t.value;C(n)},style:{width:"100%"}},ne.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),be&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"change-type-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ze.textSecondary,fontSize:13}},"change_type:"),r.createElement(ht(),{value:A,onChange:function(e,t){var n=t.value;L(n)},style:{width:"100%"}},oe.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),_e&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"object-filter",style:{display:"block",marginBottom:6,fontWeight:500,color:ze.textSecondary,fontSize:13}},"object:"),r.createElement(ht(),{value:T,onChange:function(e,t){var n=t.value;D(n)},style:{width:"100%"}},se.map(function(e){return r.createElement(ht().Option,{key:e.value,label:e.label,value:e.value})})),Se&&r.createElement("div",{style:{marginTop:4}},r.createElement(s(),{size:"small"})))))),r.createElement("div",null,r.createElement("div",{style:{background:ze.backgroundSecondary,border:"1px solid ".concat(ze.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Audit Events"),H.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:qe},"Open in Search")))),H.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40,minHeight:600}},r.createElement(s(),{size:"medium"})),H.error&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},H.error),!H.loading&&H.dataSource&&r.createElement("div",{ref:X,style:{width:"100%",height:600,overflow:"auto"}},r.createElement(_l(),{width:U||800,height:600,dataSources:{primary:H.dataSource},options:{height:600}})),!H.loading&&!H.error&&!H.dataSource&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No audit changes found for the selected filters."))))};function Mp(e){return Mp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mp(e)}function wp(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Sp(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Sp(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Sp(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Sp(d,"constructor",u),Sp(u,"constructor",s),s.displayName="GeneratorFunction",Sp(u,a,"GeneratorFunction"),Sp(d),Sp(d,a,"Generator"),Sp(d,r,function(){return this}),Sp(d,"toString",function(){return"[object Generator]"}),(wp=function(){return{w:o,m:f}})()}function Sp(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Sp=function(e,t,n,r){function o(t,n){Sp(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Sp(e,t,n,r)}function xp(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function kp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cp(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);nr?"asc"===w?1:-1:0}),n},[t,p,b,w]),Q=r.useMemo(function(){var e=(E-1)*L;return K.slice(e,e+L)},[K,E,L]),ee=Math.ceil(K.length/L),te=r.useCallback(function(e){b===e?S(function(e){return"asc"===e?"desc":"asc"}):(g(e),S("asc")),A(1)},[b]);return n?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:40,backgroundColor:V.background,border:"1px solid ".concat(V.border),borderRadius:8}},r.createElement(s(),{size:"medium"})):r.createElement("div",{style:{backgroundColor:V.backgroundSecondary,border:"1px solid ".concat(V.border),borderRadius:8,overflow:"hidden",position:"relative"}},r.createElement("div",{style:{padding:8,borderBottom:"1px solid ".concat(V.border),position:"relative"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},"Alert details")),r.createElement("div",{style:{padding:12,borderBottom:"1px solid ".concat(V.border),backgroundColor:V.background}},r.createElement("input",{type:"text",placeholder:"Filter by title...",value:p,onChange:function(e){h(e.target.value),A(1)},style:{width:"100%",maxWidth:400,padding:"6px 12px",border:"1px solid ".concat(V.border),borderRadius:4,backgroundColor:V.backgroundSecondary,color:V.text,fontSize:14}})),r.createElement("div",{style:{backgroundColor:V.background}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:100}},"Actions"),r.createElement(dt().HeadCell,{style:{width:60}},"Alert details"),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("title")}},"title ","title"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("cron_schedule")}},"cron_schedule ","cron_schedule"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("schedule_window")}},"schedule_window ","schedule_window"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("suppress_fields")}},"suppress_fields ","suppress_fields"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("suppress_period")}},"suppress_period ","suppress_period"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("actions")}},"actions ","actions"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("disabled")}},"disabled ","disabled"===b&&("asc"===w?"↑":"↓")),r.createElement(dt().HeadCell,{style:{cursor:"pointer",userSelect:"none"},onClick:function(){return te("next_scheduled_time")}},"next_scheduled_time ","next_scheduled_time"===b&&("asc"===w?"↑":"↓"))),r.createElement(dt().Body,null,0===Q.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:10,style:{textAlign:"center",padding:40,color:V.textSecondary}},p?"No alerts match the filter":"No alerts found")):Q.map(function(e){return r.createElement(dt().Row,{key:e.id},r.createElement(dt().Cell,null,r.createElement("div",{style:{display:"flex",gap:4,alignItems:"center"}},r.createElement(c(),{appearance:"subtle",icon:r.createElement(Lt(),null),onClick:function(){return o(e)},"aria-label":"View alert ".concat(e.title)}),r.createElement(f(),{open:T[e.id]||!1,onRequestOpen:function(){return D(Cp(Cp({},T),{},Ep({},e.id,!0)))},onRequestClose:function(){return D(Cp(Cp({},T),{},Ep({},e.id,!1)))},toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Actions for ".concat(e.title),style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{width:200}},r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){i(),D(Cp(Cp({},T),{},Ep({},e.id,!1)))}},"Refresh"),r.createElement(m().Item,{startAdornment:r.createElement(Pd(),null),onClick:function(){var t,n="/app/trackme/alert?s=%2FservicesNS%2Fnobody%2Ftrackme%2Fsaved%2Fsearches%2F".concat(e.id),r=(null===(t=window.Splunk)||void 0===t||null===(t=t.util)||void 0===t?void 0:t.make_url)||function(e){return e};window.open(r(n),"_blank","noopener"),D(Cp(Cp({},T),{},Ep({},e.id,!1)))}},"Review and edit alert"),r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:function(){var t,n=e.title.replace(/"/g,'\\"').replace(/\$/g,"\\$"),r='search index=_audit action="alert_fired" ss_app="trackme" ss_name="'.concat(n,'"'),a="/app/trackme/search?q=".concat(encodeURIComponent(r)),o=(null===(t=window.Splunk)||void 0===t||null===(t=t.util)||void 0===t?void 0:t.make_url)||function(e){return e};window.open(o(a),"_blank"),D(Cp(Cp({},T),{},Ep({},e.id,!1)))}},"Search alert history"),r.createElement(m().Item,{startAdornment:r.createElement(qn(),null),onClick:function(){N(e),P(!0),D(Cp(Cp({},T),{},Ep({},e.id,!1)))}},"Remove alert"))))),r.createElement(dt().Cell,{style:{textAlign:"center"}},G(e.disabled)),r.createElement(dt().Cell,null,e.title),r.createElement(dt().Cell,null,e.cron_schedule),r.createElement(dt().Cell,null,e.schedule_window),r.createElement(dt().Cell,null,e.suppress_fields),r.createElement(dt().Cell,null,e.suppress_period),r.createElement(dt().Cell,null,r.createElement("pre",{style:{margin:0,padding:0,fontSize:11,whiteSpace:"pre-wrap",fontFamily:"monospace",color:V.text}},U(e.actions))),r.createElement(dt().Cell,null,e.disabled),r.createElement(dt().Cell,null,e.next_scheduled_time||""))}))),ee>1&&r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:12,borderTop:"1px solid ".concat(V.border),backgroundColor:V.backgroundSecondary}},r.createElement("div",{style:{color:V.textSecondary,fontSize:14}},"Showing ",(E-1)*L+1,"-",Math.min(E*L,K.length)," of ",K.length," rows"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:function(){return A(1)},disabled:1===E},"First"),r.createElement(c(),{appearance:"secondary",onClick:function(){return A(function(e){return Math.max(1,e-1)})},disabled:1===E},"Prev"),r.createElement("div",{style:{padding:"6px 12px",backgroundColor:V.background,border:"1px solid ".concat(V.border),borderRadius:4,color:V.text,fontSize:14}},E),r.createElement(c(),{appearance:"secondary",onClick:function(){return A(function(e){return Math.min(ee,e+1)})},disabled:E===ee},"Next"),r.createElement(c(),{appearance:"secondary",onClick:function(){return A(ee)},disabled:E===ee},"Last")))),r.createElement(ul,{open:j,title:"Remove Alert",message:'Are you sure you want to remove the alert "'.concat(null==Y?void 0:Y.title,'"? This action cannot be undone.'),confirmLabel:"Remove Alert",confirmAppearance:"destructive",onConfirm:function(){var e,t=(e=wp().m(function e(t){var n,r,o;return wp().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a&&Y){e.n=1;break}return e.a(2);case 1:return W(!0),X(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/alerting/admin/del_alert",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:a,alert_name:Y.title,update_comment:t||"No comment for update."})});case 3:if((n=e.v).ok){e.n=5;break}return e.n=4,Z(n);case 4:throw r=e.v,new Error(r||"Failed to remove alert");case 5:u({type:"success",title:"Alert removed",message:'Alert "'.concat(Y.title,'" has been removed successfully.')}),P(!1),N(null),i(),e.n=7;break;case 6:e.p=6,o=e.v,X((null==o?void 0:o.message)||"Failed to remove alert"),u({type:"error",title:"Failed to remove alert",message:(null==o?void 0:o.message)||"An error occurred while removing the alert."});case 7:return e.p=7,W(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}),function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){xp(o,r,a,i,l,"next",e)}function l(e){xp(o,r,a,i,l,"throw",e)}i(void 0)})});return function(e){return t.apply(this,arguments)}}(),onClose:function(){P(!1),N(null),X(null)},loading:R,error:q}))};function Dp(e){return Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dp(e)}function zp(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return jp(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(jp(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,jp(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,jp(d,"constructor",u),jp(u,"constructor",s),s.displayName="GeneratorFunction",jp(u,a,"GeneratorFunction"),jp(d),jp(d,a,"Generator"),jp(d,r,function(){return this}),jp(d,"toString",function(){return"[object Generator]"}),(zp=function(){return{w:o,m:f}})()}function jp(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}jp=function(e,t,n,r){function o(t,n){jp(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},jp(e,t,n,r)}function Pp(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Bp(e){return function(e){if(Array.isArray(e))return Wp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rp(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Np(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&r.createElement(Ft(),{key:"trigger-chart-".concat(re),width:re,height:200,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",xAxisTitleVisibility:"hide"},dataSources:{primary:N.dataSource}})),!N.loading&&!N.error&&!N.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No data available")))),r.createElement("div",{style:{background:se.backgroundSecondary,border:"1px solid ".concat(se.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Alert actions over time"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{open:$,onRequestOpen:function(){return G(!0)},onRequestClose:function(){return G(!1)},toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{width:200}},r.createElement(m().Item,{startAdornment:r.createElement(Lt(),null),onClick:function(){fe(),G(!1)},disabled:!W.searchQuery},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){ce(),G(!1)},disabled:W.loading},"Refresh")))),W.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),W.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},W.error),!W.loading&&!W.error&&W.dataSource&&r.createElement("div",{ref:te,style:{width:"100%",maxWidth:"100%",height:200,overflow:"hidden",position:"relative",boxSizing:"border-box"}},ie>0&&r.createElement(Ft(),{key:"actions-chart-".concat(ie),width:ie,height:200,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",stackMode:"stacked",xAxisTitleVisibility:"hide"},dataSources:{primary:W.dataSource}})),!W.loading&&!W.error&&!W.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No data available")))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o},"Close")),r.createElement(ul,{open:E,title:"Remove Alert",message:'Are you sure you want to remove the alert "'.concat(n.title,'"? This action cannot be undone.'),confirmLabel:"Remove Alert",confirmAppearance:"destructive",loading:O,error:z,onClose:function(){O||(A(!1),j(null))},onConfirm:be}))};var qp=n(99396),Xp=n.n(qp);function Vp(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Up(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Up(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Up(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Up(d,"constructor",u),Up(u,"constructor",s),s.displayName="GeneratorFunction",Up(u,a,"GeneratorFunction"),Up(d),Up(d,a,"Generator"),Up(d,r,function(){return this}),Up(d,"toString",function(){return"[object Generator]"}),(Vp=function(){return{w:o,m:f}})()}function Up(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Up=function(e,t,n,r){function o(t,n){Up(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Up(e,t,n,r)}function $p(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Gp(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){$p(o,r,a,i,l,"next",e)}function l(e){$p(o,r,a,i,l,"throw",e)}i(void 0)})}}function Kp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0?"".concat(t,"/").concat(n[0]):t}catch(e){return""}},[]),vn=Kp(r.useState([]),2),_n=vn[0],Mn=vn[1],wn=Kp(r.useState(!1),2),Sn=wn[0],xn=wn[1];r.useEffect(function(){var e=Qp(A);if(!(n&&e&&Zp(A)&&a))return Mn([]),void xn(!1);if(xn(!0),"dsm"===e||"dhm"===e){var t="| inputlookup trackme_".concat(e,"_tenant_").concat(a,' | eval tags=if(match(tags, "click on Update tags"), "", tags) | makemv delim="," tags | mvexpand tags | where tags!="" | stats values(tags) as tags | mvexpand tags | dedup tags | sort limit=1000 tags'),r=null;try{var o=Ee.A.create({search:t,earliest_time:"-1h",latest_time:"now"},{app:"trackme"});r=o.getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=(Array.isArray(null==e?void 0:e.results)?e.results:[]).map(function(e){return String(e.tags||"")}).filter(function(e){return e});Mn(t.map(function(e){return{label:e,value:e}})),xn(!1)}},error:function(){xn(!1)},complete:function(){xn(!1)}})}catch(e){xn(!1)}return function(){try{var e,t;null===(e=r)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}}Mn([]),xn(!1)},[n,A,a]);var kn=r.useCallback(function(){var e=Gp(Vp().m(function e(t,n){var r,a,o,i,l,s,u,c,d,f;return Vp().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,r=encodeURIComponent(n||t),e.n=1,J("/splunkd/__raw/servicesNS/nobody/trackme/saved/searches/".concat(r,"?output_mode=json"),{method:"GET",headers:{"Content-Type":"application/json"}});case 1:if(!(a=e.v).ok){e.n=3;break}return e.n=2,a.json();case 2:return i=e.v,l=(null===(o=i.entry)||void 0===o||null===(o=o[0])||void 0===o?void 0:o.content)||{},e.a(2,l);case 3:if(!n||n===t){e.n=6;break}return s=encodeURIComponent(t),e.n=4,J("/splunkd/__raw/servicesNS/nobody/trackme/saved/searches/".concat(s,"?output_mode=json"),{method:"GET",headers:{"Content-Type":"application/json"}});case 4:if(!(u=e.v).ok){e.n=6;break}return e.n=5,u.json();case 5:return d=e.v,e.a(2,(null===(c=d.entry)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.content)||{});case 6:return e.a(2,null);case 7:return e.p=7,f=e.v,console.error("[CreateAlertModal] Error fetching alert properties:",f),e.a(2,null)}},e,null,[[0,7]])}));return function(t,n){return e.apply(this,arguments)}}(),[]),Cn=r.useCallback(function(e){if(!e)return[];var t=String(e);try{if(t.trim().startsWith("[")||t.trim().startsWith('"')){var n=JSON.parse(t);if(Array.isArray(n))return n.map(function(e){return String(e).trim()}).filter(Boolean);if("string"==typeof n)return[n.trim()].filter(Boolean)}}catch(e){}return t.split(",").map(function(e){return e.trim()}).filter(Boolean)},[]),En=r.useRef(!1),An=r.useCallback(function(){var e=Gp(Vp().m(function e(t,n,r,a,o){var i,l,s,u,c,d,f,p,m,h,y,b,g,v;return Vp().w(function(e){for(;;)switch(e.n){case 0:if("trackme_stateful"!==n||"1"!==r){e.n=1;break}if(!((i=t.filter(function(e){var t=Cn(e.actions),n=t.includes("trackme_auto_ack"),r=t.includes("trackme_stateful_alert");return n&&!r})).length>0)){e.n=1;break}return l=i.map(function(e){return{type:"component technical alert",name:e.title||e.id||"Unknown"}}),K(l),U("A conflict has been detected: ".concat(l.length," component technical alert(s) with automated acknowledgment already exist(s) for this tenant. ")+"Automated acknowledgment has been automatically disabled for this stateful alert to prevent conflicts."),q(!0),Be("0"),e.a(2,!0);case 1:if(!Zp(n)){e.n=4;break}if("enabled"!==a){e.n=4;break}return s=t.filter(function(e){return Cn(e.actions).includes("trackme_stateful_alert")}),e.n=2,Promise.all(s.map(function(){var e=Gp(Vp().m(function e(t){var n,r,a,i;return Vp().w(function(e){for(;;)switch(e.n){case 0:if(!o||o.current){e.n=1;break}return e.a(2,null);case 1:if(n=t.id,r=t.title,n||r){e.n=2;break}return e.a(2,null);case 2:return e.n=3,kn(n||r||"",r);case 3:if(a=e.v,!o||o.current){e.n=4;break}return e.a(2,null);case 4:if(!a){e.n=5;break}if("1"!==(i=a["action.trackme_stateful_alert.param.auto_ack_enabled"])&&1!==i){e.n=5;break}return e.a(2,{type:"stateful alert",name:t.title||t.id||"Unknown"});case 5:return e.a(2,null)}},e)}));return function(t){return e.apply(this,arguments)}}()));case 2:if(u=e.v,!o||o.current){e.n=3;break}return e.a(2,!1);case 3:if(!(c=u.find(function(e){return null!==e}))){e.n=4;break}return K([c]),U("A conflict has been detected: A stateful alert with automated acknowledgment already exists for this tenant. Automated acknowledgment has been automatically disabled for this component alert to prevent conflicts."),q(!0),Wt("disabled"),e.a(2,!0);case 4:if(d=!1,f=null,"trackme_stateful"!==n){e.n=5;break}p=t.filter(function(e){var t=Cn(e.actions);return t.includes("trackme_auto_ack")&&!t.includes("trackme_stateful_alert")}),(d=p.length>0)&&(m=p.map(function(e){return{type:"component technical alert",name:e.title||e.id||"Unknown"}}),f={conflicts:m,message:"A conflict has been detected: ".concat(m.length," component technical alert(s) with automated acknowledgment already exist(s) for this tenant. ")+"Automated acknowledgment has been automatically disabled for this stateful alert to prevent conflicts."}),e.n=8;break;case 5:if(!Zp(n)){e.n=8;break}if(!((h=t.filter(function(e){return Cn(e.actions).includes("trackme_stateful_alert")})).length>0)){e.n=8;break}return e.n=6,Promise.all(h.map(function(){var e=Gp(Vp().m(function e(t){var n,r,a,i;return Vp().w(function(e){for(;;)switch(e.n){case 0:if(!o||o.current){e.n=1;break}return e.a(2,{hasAutoAck:!1,alert:null});case 1:if(n=t.id,r=t.title,n||r){e.n=2;break}return e.a(2,{hasAutoAck:!1,alert:null});case 2:return e.n=3,kn(n||r||"",r);case 3:if(a=e.v,!o||o.current){e.n=4;break}return e.a(2,{hasAutoAck:!1,alert:null});case 4:if(!a){e.n=5;break}return i=a["action.trackme_stateful_alert.param.auto_ack_enabled"],e.a(2,{hasAutoAck:"1"===i||1===i,alert:t});case 5:return e.a(2,{hasAutoAck:!1,alert:null})}},e)}));return function(t){return e.apply(this,arguments)}}()));case 6:if(y=e.v,!o||o.current){e.n=7;break}return e.a(2,!1);case 7:b=y.find(function(e){return e.hasAutoAck}),(d=!!b)&&null!=b&&b.alert&&(f={conflicts:[{type:"stateful alert",name:b.alert.title||b.alert.id||"Unknown"}],message:"A conflict has been detected: A stateful alert with automated acknowledgment already exists for this tenant. Automated acknowledgment has been automatically disabled for this component alert to prevent conflicts."},"enabled"===a&&Wt("disabled"));case 8:return g=En.current,v=d&&null!==f,d&&f?(K(f.conflicts),U(f.message),q(!0),En.current=!0):d||"trackme_stateful"!==n&&!Zp(n)?"trackme_stateful"===n||Zp(n)||(q(!1),U(""),K([]),En.current=!1):(q(!1),U(""),K([]),g&&!v&&("trackme_stateful"===n?Be("1"):Zp(n)&&Wt("enabled")),En.current=!1),e.a(2,!1)}},e)}));return function(t,n,r,a,o){return e.apply(this,arguments)}}(),[kn,Cn]),Ln=r.useRef(null);r.useEffect(function(){if(n&&a){null!==Ln.current&&Ln.current!==a&&(te([]),q(!1),U(""),K([]),En.current=!1),Ln.current=a,N(!0);var e={current:!0},t=function(){var t=Gp(Vp().m(function t(){var n,r,o,i;return Vp().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,J("/splunkd/__raw/services/trackme/v2/alerting/get_tenant_alerts",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:a})});case 1:if(n=t.v,e.current){t.n=2;break}return t.a(2);case 2:if(!n.ok){t.n=6;break}return t.n=3,n.json();case 3:if(r=t.v,o=Array.isArray(r)?r:[],e.current){t.n=4;break}return t.a(2);case 4:if(te(o),i=o.some(function(e){return Cn(e.actions).includes("trackme_stateful_alert")}),e.current){t.n=5;break}return t.a(2);case 5:P(i),R(!1),t.n=8;break;case 6:if(e.current){t.n=7;break}return t.a(2);case 7:P(!1),R(!0),te([]);case 8:t.n=11;break;case 9:if(t.p=9,t.v,e.current){t.n=10;break}return t.a(2);case 10:P(!1),R(!0),te([]);case 11:return t.p=11,e.current&&N(!1),t.f(11);case 12:return t.a(2)}},t,null,[[0,9,11,12]])}));return function(){return t.apply(this,arguments)}}();return t(),function(){e.current=!1}}P(!1),N(!1),R(!1),te([]),q(!1),U(""),K([]),En.current=!1},[n,a,A,Cn]),r.useEffect(function(){if(n&&a&&ee.length>0){var e={current:!0},t=setTimeout(function(){e.current&&An(ee,A,Pe,Rt,e).catch(function(){e.current})},100);return function(){e.current=!1,clearTimeout(t)}}},[n,a,A,Pe,Rt,ee,An]),r.useEffect(function(){if(n){if(Zp(A)){var e=Qp(A);if(e&&!l.includes(e))return void L("trackme_stateful")}if("trackme_stateful"===A&&(j||I))return void L("notables");var t="stateful-alert";if("notables"===A)t="notables-alert";else if(Zp(A)){var r=Qp(A);t=r?"".concat(r,"-alert"):"component-alert"}else"sla_breaches"===A&&(t="sla-alert");C(t),D("step1")}},[n,A,l,j,I]),r.useEffect(function(){if(n){var e=gn();e&&it(e),ye("Splunk"),S(null)}else C(""),L("trackme_stateful"),ae("emails_and_ingest"),le(""),ye(""),ve(""),we("1"),ke("1"),Oe("dark"),ze("24h"),Be("1"),Fe("86400"),We("sticky"),We("sticky"),Xe("streaming"),$e(""),Je(""),et(""),rt("0"),it(""),ut([]),ft([]),rn("*/5 * * * *"),sn(an("trackme_stateful")),dn("60m"),mn("AnyTime"),yt([]),Mt([]),xt("red"),Et("*"),Ot([]),zt("true"),Bt("true"),Ft("disabled"),Wt("enabled"),Xt("enabled"),Kt("dsm"),en([]),g(null)},[n,A,gn]);var On=r.useCallback(Gp(Vp().m(function e(){var t,n,r,a,o;return Vp().w(function(e){for(;;)switch(e.p=e.n){case 0:return pe(!0),e.p=1,e.n=2,J("/splunkd/__raw/services/trackme/v2/configuration/get_emails_delivery_accounts",{method:"GET"});case 2:if(!(t=e.v).ok){e.n=4;break}return e.n=3,t.json();case 3:r=e.v,a=(null==r?void 0:r.accounts)||(null==r||null===(n=r.payload)||void 0===n?void 0:n.accounts)||[],o=a.filter(function(e){return"localhost"!==e}),ce(o),e.n=5;break;case 4:ce([]);case 5:e.n=7;break;case 6:e.p=6,e.v,ce([]);case 7:return e.p=7,pe(!1),e.f(7);case 8:return e.a(2)}},e,null,[[1,6,7,8]])})),[]);r.useEffect(function(){n&&On()},[n,On]);var Tn=r.useMemo(function(){return re.includes("commands")},[re]),Dn=r.useMemo(function(){return re.includes("emails")},[re]),zn=r.useMemo(function(){return Dn&&("emails_and_ingest"===re||"emails_only"===re||"commands_and_emails"===re)},[Dn,re]),jn=r.useMemo(function(){return Tn},[Tn]),Pn=r.useCallback(function(e){return 0===e.length?'priority="*"':1===e.length?'priority="'.concat(e[0],'"'):e.map(function(e){return'priority="'.concat(e,'"')}).join(" OR ")},[]),Bn=r.useCallback(function(e){return e||"AnyTime"},[]),Yn=r.useCallback(function(){if(!k.trim())return g("Alert name is required"),!1;if("trackme_stateful"===A){if(zn&&!ge.trim())return g("Email recipients are required when email notifications are enabled"),!1;if(jn&&(!Ue.trim()||!Ke.trim()||!Qe.trim()))return g("All command fields (opened, updated, closed) are required when commands are enabled"),!1}return!!nn.trim()||(g("Cron schedule is required"),!1)},[k,A,ge,Ue,Ke,Qe,nn,zn,jn]),Nn=r.useCallback(Gp(Vp().m(function e(){var t,n,r,o,i,l,s,u,c,f,p,m,y,b,v,_,M,w,S;return Vp().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a){e.n=1;break}return g("Tenant ID is required"),e.a(2);case 1:if("trackme_stateful"!==A||!Y){e.n=2;break}return g("Please wait while we check for existing stateful alerts..."),e.a(2);case 2:if("trackme_stateful"!==A||!I){e.n=3;break}return g("Unable to verify existing stateful alerts. Please try again or contact your administrator."),yn({type:"error",title:"Cannot create stateful alert",message:"Unable to verify existing stateful alerts. Please try again."}),e.a(2);case 3:if("trackme_stateful"!==A||!j){e.n=4;break}return g("A stateful alert already exists for this tenant. Only one stateful alert is allowed per tenant."),yn({type:"error",title:"Cannot create stateful alert",message:"A stateful alert already exists for this tenant. Only one stateful alert is allowed per tenant."}),e.a(2);case 4:if(Yn()){e.n=5;break}return e.a(2);case 5:if(h(!0),g(null),e.p=6,t="TrackMe alert tenant_id:".concat(a," - ").concat(k.trim()),n=t.substring(0,100),r="","trackme_stateful"!==A){e.n=7;break}r='| trackmestateful tenant_id="'.concat(a,'"'),r+="\n``` Apply maintenance mode ```\n| `trackme_apply_maintenance_mode_v2`",r+="\n``` sort from older to newest, the alert action handles duplicates and should receive older events first ```\n| sort limit=0 _time",e.n=11;break;case 7:if("notables"!==A){e.n=8;break}r="`trackme_notable_idx(".concat(a,')` tenant_id="').concat(a,'" object_category=splk-*'),'priority="*"'!==(o=Pn(mt))&&(r+="\n| search ".concat(o)),r+="\n| table tenant_id, keyid, object, object_category, state, priority, anomaly_reason, status_message, drilldown_link",i=Bn(pn),r+="\n| `".concat(i,"`"),e.n=11;break;case 8:if(!Zp(A)){e.n=10;break}if(l=Qp(A)){e.n=9;break}throw new Error("Invalid component alert type");case 9:r='| trackmegetcoll tenant_id="'.concat(a,'" component="').concat(l,'" | fields - _raw | table *'),r+='\n| where monitored_state="enabled"',r+="\n| `trackme_apply_maintenance_mode_v2`",Ct&&"*"!==Ct&&(r+='\n| search object="'.concat(Ct,'"')),'priority="*"'!==(s=Pn(_t))&&(r+="\n| search ".concat(s)),r+="red"===St?'\n| where object_state="red"':"orange"===St?'\n| where object_state="orange"':'\n| where (object_state="red" OR object_state="orange")',("dsm"===l||"dhm"===l)&&Lt.length>0&&(r+='\n| makemv delim="," tags | search '.concat(Lt.map(function(e){return'tags="'.concat(e,'"')}).join(" OR "))),"false"===Dt&&(r+="\n| where NOT (anomaly_reason_count=1 AND isOutlier=1)"),"dsm"===l&&"false"===Pt&&(r+="\n| where NOT (anomaly_reason_count=1 AND isAnomaly=1)"),u=Bn(pn),r+="\n| `".concat(u,"`"),r+='\n| where ack_state!="active"',e.n=11;break;case 10:"sla_breaches"===A&&(r='| trackmegetcoll tenant_id="'.concat(a,'" component="').concat($t,'" | table object priority keyid sla_* latest_flip_time_human object_state status_message_json'),r+="\n| where sla_is_breached=1",r+="\n| `trackme_apply_maintenance_mode_v2`",'priority="*"'!==(c=Pn(Qt))&&(r+="\n| search ".concat(c)),f=Bn(pn),r+="\n| `".concat(f,"`"));case 11:if(p={description:"TrackMe alert","alert.severity":"5","alert.suppress":"1","alert.suppress.fields":ln,"alert.suppress.period":cn,"alert.track":"1","dispatch.earliest_time":"trackme_stateful"===A?"-10m":"-15m","dispatch.latest_time":"now",is_scheduled:"1",schedule_window:"auto",alert_comparator:"greater than",alert_type:"number of events",alert_threshold:"0","alert.digest_mode":"0",cron_schedule:nn},m=[],"trackme_stateful"!==A){e.n=12;break}m.push("trackme_stateful_alert"),p["action.trackme_stateful_alert.param.delivery_target"]=re,re.includes("emails")&&(p["action.trackme_stateful_alert.param.email_account"]=ie.trim()||"localhost"),p["action.trackme_stateful_alert.param.environment_name"]=he,p["action.trackme_stateful_alert.param.email_recipients"]=ge,p["action.trackme_stateful_alert.param.email_send_update_if_ack_active"]=Me,p["action.trackme_stateful_alert.param.orange_as_alerting_state"]=nt,p["action.trackme_stateful_alert.param.drilldown_root_uri"]=ot,p["action.trackme_stateful_alert.param.generate_charts"]=xe,p["action.trackme_stateful_alert.param.theme_charts"]=Le,y=De.startsWith("-")?De.substring(1):De,p["action.trackme_stateful_alert.param.timerange_charts"]=y,re.includes("emails")&&(b=st.length>0?st.join(","):"*",p["action.trackme_stateful_alert.param.priority_levels_emails"]=b),re.includes("commands")&&(p["action.trackme_stateful_alert.param.commands_mode"]=qe,p["action.trackme_stateful_alert.param.commands_opened"]=Ue,p["action.trackme_stateful_alert.param.commands_updated"]=Ke,p["action.trackme_stateful_alert.param.commands_closed"]=Qe,v=dt.length>0?dt.join(","):"*",p["action.trackme_stateful_alert.param.priority_levels_commands"]=v),"1"===Pe?(p["action.trackme_stateful_alert.param.auto_ack_enabled"]="1",p["action.trackme_stateful_alert.param.auto_ack_period"]=Ne,p["action.trackme_stateful_alert.param.auto_ack_type"]=Re):p["action.trackme_stateful_alert.param.auto_ack_enabled"]="0",e.n=14;break;case 12:if(!Zp(A)){e.n=14;break}if(Qp(A)){e.n=13;break}throw new Error("Invalid component alert type");case 13:"enabled"===qt&&(m.push("trackme_notable"),p["action.trackme_notable.param.title"]="$name$",p["action.trackme_notable.param.drilldown_root_uri"]=ot||gn()),"enabled"===Rt&&(m.push("trackme_auto_ack"),p["action.trackme_auto_ack.param.ack_period"]=Ne,p["action.trackme_auto_ack.param.ack_type"]=Re),"enabled"===Nt&&(m.push("trackme_smart_status"),p["action.trackme_smart_status.param.object_category"]="$result.object_category$",p["action.trackme_smart_status.param.object_name"]="$result.object$");case 14:return p.actions=m.join(","),_={tenant_id:a,alert_name:n,alert_search:r,alert_properties:p},e.n=15,J("/splunkd/__raw/services/trackme/v2/alerting/admin/create_alert",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)});case 15:if((M=e.v).ok){e.n=17;break}return e.n=16,Z(M);case 16:throw w=e.v,new Error(w);case 17:return e.n=18,M.text();case 18:d(),e.n=20;break;case 19:e.p=19,S=e.v,g(S.message||"Failed to create alert"),yn({type:"error",title:"Failed to create alert",message:S.message||"An error occurred while creating the alert"});case 20:return e.p=20,h(!1),e.f(20);case 21:return e.a(2)}},e,null,[[6,19,20,21]])})),[a,k,A,j,Y,I,re,ie,he,ge,st,Me,xe,Le,De,Pe,Ne,Re,qe,Ue,Ke,Qe,dt,nt,ot,nn,ln,cn,Yn,yn,d,mt,_t,St,Ct,Lt,Dt,Pt,Nt,Rt,qt,$t,Qt,pn,Pn,Bn,gn]);return r.createElement(vt(),{open:n,onRequestClose:u,returnFocus:function(){},style:{width:"90vw",maxWidth:"1200px",height:"90vh",maxHeight:"900px"}},r.createElement(vt().Header,{title:"Alert tracking definition - Use this interface to create a custom alert in assisted mode."}),r.createElement(vt().Body,{style:{padding:20,overflow:"auto",height:"calc(90vh - 140px)",backgroundColor:bn.background}},b&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},b),H&&("trackme_stateful"===A||Zp(A))&&r.createElement(Jt(),{type:"warning",style:{marginBottom:16}},V,G.length>0&&r.createElement("div",{style:{marginTop:8,fontSize:13}},r.createElement("strong",null,"Conflicting alert",G.length>1?"s":"",":"),r.createElement("ul",{style:{marginTop:4,marginBottom:0,paddingLeft:20}},G.map(function(e){return r.createElement("li",{key:"".concat(e.type,"-").concat(e.name)},e.name)})))),r.createElement("div",{style:{marginBottom:20}},r.createElement("div",{style:{display:"block",marginBottom:12,fontWeight:500,color:bn.text}},"Choose the type of alert to be tracked:"),j&&r.createElement(Jt(),{type:"warning",style:{marginBottom:12}},"A stateful alert already exists for this tenant. Only one stateful alert is allowed per tenant."),I&&!j&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},"Unable to verify existing stateful alerts. Stateful alert creation is disabled until the check succeeds. Please refresh the page to retry."),r.createElement("div",{style:{display:"flex",gap:8,flexWrap:"wrap"}},r.createElement(c(),{appearance:"trackme_stateful"===A?"primary":"secondary",onClick:function(){j||I||L("trackme_stateful")},disabled:m||j||Y||I,title:j?"A stateful alert already exists for this tenant":I?"Unable to verify existing stateful alerts":void 0},"TRACKME STATEFUL ALERTS"),r.createElement(c(),{appearance:"notables"===A?"primary":"secondary",onClick:function(){return L("notables")},disabled:m},"NOTABLE EVENTS"),l.includes("dsm")&&r.createElement(c(),{appearance:"splk_dsm"===A?"primary":"secondary",onClick:function(){return L("splk_dsm")},disabled:m},"SPLK-DSM (",em("splk_dsm"),")"),l.includes("dhm")&&r.createElement(c(),{appearance:"splk_dhm"===A?"primary":"secondary",onClick:function(){return L("splk_dhm")},disabled:m},"SPLK-DHM (",em("splk_dhm"),")"),l.includes("mhm")&&r.createElement(c(),{appearance:"splk_mhm"===A?"primary":"secondary",onClick:function(){return L("splk_mhm")},disabled:m},"SPLK-MHM (",em("splk_mhm"),")"),l.includes("fqm")&&r.createElement(c(),{appearance:"splk_fqm"===A?"primary":"secondary",onClick:function(){return L("splk_fqm")},disabled:m},"SPLK-FQM (",em("splk_fqm"),")"),l.includes("flx")&&r.createElement(c(),{appearance:"splk_flx"===A?"primary":"secondary",onClick:function(){return L("splk_flx")},disabled:m},"SPLK-FLX (",em("splk_flx"),")"),l.includes("wlk")&&r.createElement(c(),{appearance:"splk_wlk"===A?"primary":"secondary",onClick:function(){return L("splk_wlk")},disabled:m},"SPLK-WLK (",em("splk_wlk"),")"),r.createElement(c(),{appearance:"sla_breaches"===A?"primary":"secondary",onClick:function(){return L("sla_breaches")},disabled:m},"SLA BREACHES"))),"trackme_stateful"===A&&r.createElement("div",{style:{marginTop:24}},r.createElement(Mr(),{title:"About TrackMe StateFul Alerting"},r.createElement("div",{style:{padding:16,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Create Stateful Alerts in just a few clicks. These alerts can send rich HTML emails with dynamic, embedded charts."),r.createElement("li",{style:{marginBottom:8}},"Stateful Alerts are state-aware: incidents are created when entities enter an alerting state, updated when related events occur, and closed when entities return to a healthy state."),r.createElement("li",{style:{marginBottom:8}},"TrackMe automatically manages the full incident lifecycle using a persistent KVstore collection."),r.createElement("li",{style:{marginBottom:8}},"Configure Stateful Alerts to send threaded HTML emails with optional charts independently from TrackMe's built-in email system. (Splunk 9.3 and later only)"),r.createElement("li",{style:{marginBottom:8}},"On Splunk Enterprise, configure an external SMTP server in the"," ",r.createElement(bt(),{to:"undefined"!=typeof window&&null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url("configuration"):"#",openInNewContext:!0,style:{textDecoration:"none"}},"configuration")," ","UI, or use the default local MTA."),r.createElement("li",{style:{marginBottom:8}},"On Splunk Cloud, only the local MTA is supported. Email threading may not work reliably due to Message-ID header modifications."),r.createElement("li",{style:{marginBottom:8}},"When an entity changes from ",r.createElement("span",{style:{color:"#5cb85c",fontWeight:500}},"green")," to ",r.createElement("span",{style:{color:"#d9534f",fontWeight:500}},"red"),", TrackMe starts a new email thread. The thread continues with updates and ends when the entity returns to a non-alerting state."),r.createElement("li",{style:{marginBottom:8}},"TrackMe uses standard email threading headers (",r.createElement("code",{style:{backgroundColor:bn.backgroundSecondary,padding:"2px 4px",borderRadius:3,fontSize:12}},"Message-ID"),", ",r.createElement("code",{style:{backgroundColor:bn.backgroundSecondary,padding:"2px 4px",borderRadius:3,fontSize:12}},"In-Reply-To"),", ",r.createElement("code",{style:{backgroundColor:bn.backgroundSecondary,padding:"2px 4px",borderRadius:3,fontSize:12}},"References"),") compliant with ",r.createElement("span",{style:{color:"light"===f?"#0066cc":"#4da6ff"}},"RFC 5322"),"."),r.createElement("li",{style:{marginBottom:8}},"Alert states are stored in the tenant's ",r.createElement("span",{style:{color:"light"===f?"#0066cc":"#4da6ff",fontWeight:500}},"Stateful Alerts KVstore collection"),". All notifications are ingested into the summary index with sourcetype ",r.createElement("span",{style:{color:"light"===f?"#0066cc":"#4da6ff",fontWeight:500}},"trackme:stateful_alerts")," for ITSM integration."),r.createElement("li",{style:{marginBottom:8}},"Execute ",r.createElement("span",{style:{color:"light"===f?"#0066cc":"#4da6ff"}},"streaming or generating commands")," based on alert status (opened / updated / closed) to interact with third-party systems like ServiceNow.")),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 0.3fr 0.3fr",gap:"10px",alignItems:"center",margin:"20px 0",textAlign:"center"}},r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return S({src:"../../static/app/trackme/img/alerts/stateful_diagram.png",alt:"Stateful Diagram"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S({src:"../../static/app/trackme/img/alerts/stateful_diagram.png",alt:"Stateful Diagram"}))},style:{cursor:"pointer"},"aria-label":"Click to enlarge Stateful Diagram"},r.createElement("img",{src:"../../static/app/trackme/img/alerts/stateful_diagram.png",alt:"Stateful Diagram",style:{width:"95%",border:"1px solid ".concat(bn.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}})),r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return S({src:"../../static/app/trackme/img/alerts/feeds-example1.png",alt:"Feed Example 1"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S({src:"../../static/app/trackme/img/alerts/feeds-example1.png",alt:"Feed Example 1"}))},style:{cursor:"pointer"},"aria-label":"Click to enlarge Feed Example 1"},r.createElement("img",{src:"../../static/app/trackme/img/alerts/feeds-example1.png",alt:"Feed Example 1",style:{width:"95%",border:"1px solid ".concat(bn.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}})),r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return S({src:"../../static/app/trackme/img/alerts/feeds-example4.png",alt:"Feed Example 4"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S({src:"../../static/app/trackme/img/alerts/feeds-example4.png",alt:"Feed Example 4"}))},style:{cursor:"pointer"},"aria-label":"Click to enlarge Feed Example 4"},r.createElement("img",{src:"../../static/app/trackme/img/alerts/feeds-example4.png",alt:"Feed Example 4",style:{width:"95%",border:"1px solid ".concat(bn.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}}))),w&&r.createElement(r.Fragment,null,r.createElement("style",null,"\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes zoomIn {\n from { transform: scale(0.9); opacity: 0; }\n to { transform: scale(1); opacity: 1; }\n }\n "),r.createElement("div",{role:"dialog","aria-modal":"true","aria-label":"Enlarged view of ".concat(w.alt),onClick:function(){return S(null)},onKeyDown:function(e){"Escape"===e.key&&S(null)},style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.9)",zIndex:1e4,display:"flex",alignItems:"center",justifyContent:"center",padding:20,cursor:"pointer",animation:"fadeIn 0.2s ease-in"}},r.createElement("div",{role:"button",onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){return e.stopPropagation()},style:{position:"relative",maxWidth:"95vw",maxHeight:"95vh",animation:"zoomIn 0.2s ease-out",cursor:"default"},tabIndex:-1},r.createElement("button",{type:"button",onClick:function(){return S(null)},style:{position:"absolute",top:-40,right:0,background:"rgba(255, 255, 255, 0.2)",border:"none",borderRadius:"50%",width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"#ffffff",fontSize:24,fontWeight:"bold",transition:"background 0.2s ease",zIndex:10001},onMouseEnter:function(e){e.currentTarget.style.background="rgba(255, 255, 255, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.background="rgba(255, 255, 255, 0.2)"},"aria-label":"Close enlarged image"},"×"),r.createElement("img",{src:w.src,alt:w.alt,style:{maxWidth:"100%",maxHeight:"95vh",borderRadius:8,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.5)",display:"block"}})))),r.createElement("div",{style:{marginTop:30,marginBottom:20,padding:16,backgroundColor:bn.backgroundSecondary,borderRadius:5,border:"1px solid ".concat(bn.border)}},r.createElement("h3",{style:{color:"light"===f?"#0066cc":"#4da6ff",margin:"0 0 12px 0",fontSize:14,fontWeight:600}},"** If not using StateFul Alerting **"),r.createElement("p",{style:{margin:"0 0 8px 0",fontSize:13,fontWeight:500,color:bn.text}},"TrackMe alerting architecture & recommended design:"),r.createElement("ul",{style:{margin:"8px 0 0 0",paddingLeft:20,fontSize:13}},r.createElement("li",{style:{marginBottom:4}},"Forward alerts to third parties (emails, ITSM) using TrackMe Notable events"),r.createElement("li",{style:{marginBottom:4}},"TrackMe Incidents are created by TrackMe alerts, orchestrated by the notables alert action"),r.createElement("li",{style:{marginBottom:4}},"TrackMe Incidents provide additional levels of features which you can control"),r.createElement("li",{style:{marginBottom:4}},"Normalization of TrackMe Incidents events and ease of filtering/enriching Notable events")),r.createElement("p",{style:{margin:"12px 0 0 0",fontSize:13,fontWeight:500,color:bn.text}},"Recommended procedure: create a TrackMe Notable alert, then a TrackMe component alert per component, without customizing filters like priority, to ensure actions trigger when TrackMe entities' status is impacted.")))),r.createElement("div",{style:{marginTop:24}},r.createElement(i(),{activePanelId:T,onChange:function(e,t){var n=t.activePanelId;n&&D(n)},layout:"vertical",style:{minHeight:500}},r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:1,label:"Alert name",isLight:"step1"!==T}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:bn.textSecondary,marginBottom:16}},'Enter the unique identifier of the new alert. The prefix "TrackMe alert tenant_id: " will be added automatically.'),r.createElement("label",{htmlFor:"alert-name-input-step1",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Alert identifier:"),r.createElement(Gt(),{id:"alert-name-input-step1",value:k,onChange:function(e,t){var n=t.value;return C(n)},disabled:m,style:{width:"100%",maxWidth:700},placeholder:"e.g., stateful-alert"}),a&&k&&r.createElement("div",{style:{marginTop:6,fontSize:12,color:bn.textSecondary}},"Full alert name: ",r.createElement("strong",{style:{color:bn.text}},"TrackMe alert tenant_id:",a," - ",k)))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:2,label:"Stateful main features",isLight:"step2"!==T}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"stateful-mode-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Mode:"),r.createElement(ht(),{id:"stateful-mode-select",value:re,onChange:function(e,t){var n=t.value;return ae(n)},disabled:m,style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"Emails and Ingest",value:"emails_and_ingest"}),r.createElement(ht().Option,{label:"Emails, Commands and Ingest",value:"emails_commands_and_ingest"}),r.createElement(ht().Option,{label:"Commands and Ingest",value:"commands_and_ingest"}),r.createElement(ht().Option,{label:"Commands and Emails",value:"commands_and_emails"}),r.createElement(ht().Option,{label:"Ingest Only",value:"ingest_only"}),r.createElement(ht().Option,{label:"Emails Only (not recommended)",value:"emails_only"}),r.createElement(ht().Option,{label:"Commands Only",value:"commands_only"}))),Dn&&r.createElement("div",{style:{marginTop:24}},r.createElement("h4",{style:{margin:"0 0 12px 0",fontSize:14,color:bn.text}},"Email Configuration"),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"email-account-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Select an account:"),r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8}},r.createElement(ht(),{id:"email-account-select",value:ie,onChange:function(e,t){var n=t.value;return le(n)},disabled:m||fe,style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"Default (localhost MTA)",value:""}),ue.map(function(e){return r.createElement(ht().Option,{key:e,label:e,value:e})})),fe&&r.createElement(s(),{size:"small"}))),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"environment-name-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Environment name (added to the email header):"),r.createElement("div",{"data-lpignore":"true","data-form-type":"other"},r.createElement(Gt(),{id:"environment-name-input",value:he,onChange:function(e,t){var n=t.value;return ye(n)},disabled:m,style:{width:"100%",maxWidth:600},placeholder:"e.g., Splunk"}))),r.createElement("div",{style:{marginBottom:12}},r.createElement(Dr(),{label:"List of Recipients: (comma separated)",required:zn,error:zn&&!ge.trim()?"Email recipients are required when email notifications are enabled":void 0},r.createElement(Gt(),{id:"email-recipients-input",value:ge,onChange:function(e,t){var n=t.value;return ve(n)},disabled:m,style:{width:"100%",maxWidth:600},placeholder:"user1@example.com, user2@example.com"}))),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"send-update-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Send update emails if entity Ack is active?"),r.createElement(ht(),{id:"send-update-select",value:Me,onChange:function(e,t){var n=t.value;return we(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Yes",value:"1"}),r.createElement(ht().Option,{label:"No",value:"0"}))),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"email-priority-levels-multiselect",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Send emails notifications for all priority levels?"),r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginBottom:6}},"Select priority levels that should trigger email notifications. Leave empty to send emails for all priority levels."),r.createElement("div",{"data-lpignore":"true","data-form-type":"other"},r.createElement(As(),{key:"email-priority-multiselect",id:"email-priority-levels-multiselect",values:st,onChange:function(e,t){var n=t.values;ut((n||[]).map(function(e){return String(e)}))},disabled:m,placeholder:"Select priority levels (leave empty for ALL)",style:{width:"100%",maxWidth:400}},r.createElement(As().Option,{key:"email-critical",label:"Critical",value:"critical"}),r.createElement(As().Option,{key:"email-high",label:"High",value:"high"}),r.createElement(As().Option,{key:"email-medium",label:"Medium",value:"medium"}),r.createElement(As().Option,{key:"email-low",label:"Low",value:"low"}))),st.length>0&&r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4}},"Selected: ",st.join(", "))),r.createElement("div",{style:{marginTop:24}},r.createElement("h4",{style:{margin:"0 0 12px 0",fontSize:14,color:bn.text}},"Charts Generation"),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"generate-charts-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Generate charts?"),r.createElement(ht(),{id:"generate-charts-select",value:xe,onChange:function(e,t){var n=t.value;return ke(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Yes",value:"1"}),r.createElement(ht().Option,{label:"No",value:"0"}))),"1"===xe&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"theme-charts-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Charts theme:"),r.createElement(ht(),{id:"theme-charts-select",value:Le,onChange:function(e,t){var n=t.value;return Oe(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Dark",value:"dark"}),r.createElement(ht().Option,{label:"Light",value:"light"}))),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"timerange-charts-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Charts time window:"),r.createElement(Gt(),{id:"timerange-charts-input",value:De,onChange:function(e,t){var n=t.value;return ze(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"24h"}))))),Tn&&r.createElement("div",{style:{marginTop:24}},r.createElement("h4",{style:{margin:"0 0 12px 0",fontSize:14,color:bn.text}},"Commands Configuration"),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"commands-mode-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Commands mode?"),r.createElement(ht(),{id:"commands-mode-select",value:qe,onChange:function(e,t){var n=t.value;return Xe(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Streaming",value:"streaming"}),r.createElement(ht().Option,{label:"Generating",value:"generating"}))),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"commands-priority-levels-multiselect",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Execute commands for all priority levels?"),r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginBottom:6}},"Select priority levels that should trigger command execution. Leave empty to execute commands for all priority levels."),r.createElement("div",{"data-lpignore":"true","data-form-type":"other"},r.createElement(As(),{key:"commands-priority-multiselect",id:"commands-priority-levels-multiselect",values:dt,onChange:function(e,t){var n=t.values;ft((n||[]).map(function(e){return String(e)}))},disabled:m,placeholder:"Select priority levels (leave empty for ALL)",style:{width:"100%",maxWidth:400}},r.createElement(As().Option,{key:"commands-critical",label:"Critical",value:"critical"}),r.createElement(As().Option,{key:"commands-high",label:"High",value:"high"}),r.createElement(As().Option,{key:"commands-medium",label:"Medium",value:"medium"}),r.createElement(As().Option,{key:"commands-low",label:"Low",value:"low"}))),dt.length>0&&r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4}},"Selected: ",dt.join(", "))),r.createElement("div",{style:{marginBottom:12}},r.createElement(Dr(),{label:"Command for opened state: *",required:jn,error:jn&&!Ue.trim()?"Command for opened state is required when commands are enabled":void 0},r.createElement(Ut(),{id:"command-opened-textarea",value:Ue,onChange:function(e,t){var n=t.value;return $e(n)},disabled:m,style:{width:"100%",minHeight:80}})),r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4}},"Enter SPL command..."),jn&&!Ue.trim()&&r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4,display:"flex",alignItems:"center",gap:4}},r.createElement("span",null,"⚠️"),r.createElement("span",null,"This field is required when commands are enabled"))),r.createElement("div",{style:{marginBottom:12}},r.createElement(Dr(),{label:"Command for updated state: *",required:jn,error:jn&&!Ke.trim()?"Command for updated state is required when commands are enabled":void 0},r.createElement(Ut(),{id:"command-updated-textarea",value:Ke,onChange:function(e,t){var n=t.value;return Je(n)},disabled:m,style:{width:"100%",minHeight:80}})),r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4}},"Enter SPL command..."),jn&&!Ke.trim()&&r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4,display:"flex",alignItems:"center",gap:4}},r.createElement("span",null,"⚠️"),r.createElement("span",null,"This field is required when commands are enabled"))),r.createElement("div",{style:{marginBottom:12}},r.createElement(Dr(),{label:"Command for closed state: *",required:jn,error:jn&&!Qe.trim()?"Command for closed state is required when commands are enabled":void 0},r.createElement(Ut(),{id:"command-closed-textarea",value:Qe,onChange:function(e,t){var n=t.value;return et(n)},disabled:m,style:{width:"100%",minHeight:80}})),r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4}},"Enter SPL command..."),jn&&!Qe.trim()&&r.createElement("div",{style:{fontSize:12,color:bn.textSecondary,marginTop:4,display:"flex",alignItems:"center",gap:4}},r.createElement("span",null,"⚠️"),r.createElement("span",null,"This field is required when commands are enabled")))))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:3,label:"Acknowledgement",isLight:"step3"!==T}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{padding:12,backgroundColor:bn.backgroundSecondary,borderRadius:4,border:"1px solid ".concat(bn.border),marginBottom:16}},r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:12}},r.createElement(Xp(),{style:{fontSize:16,color:"light"===f?"#8B5CF6":"#A78BFA",flexShrink:0}}),r.createElement("h4",{style:{margin:0,fontSize:14,fontWeight:500,color:bn.text}},"Automated Acknowledgement")),r.createElement("p",{style:{margin:0,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},"When the entity has an active acknowledgement, we will not allow the creation of a new incident, only updates and closure are permitted. You can optionally enable automated acknowledgements, or perform manual acknowledgements as part of your incident management process.")),H&&"trackme_stateful"===A&&r.createElement(Jt(),{type:"warning",style:{marginBottom:16}},V,G.length>0&&r.createElement("div",{style:{marginTop:8,fontSize:13}},r.createElement("strong",null,"Conflicting alerts:"),r.createElement("ul",{style:{marginTop:4,marginBottom:0,paddingLeft:20}},G.map(function(e){return r.createElement("li",{key:"".concat(e.type,"-").concat(e.name)},e.name)})))),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap"}},r.createElement("div",{style:{flex:"1 1 200px",minWidth:200}},r.createElement("label",{htmlFor:"auto-ack-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Auto Acknowledgment:"),r.createElement(ht(),{id:"auto-ack-select",value:Pe,onChange:function(e,t){var n=t.value;return Be(n)},disabled:m,style:{width:"100%"}},r.createElement(ht().Option,{label:"Disabled",value:"0"}),r.createElement(ht().Option,{label:"Enabled",value:"1"}))),"1"===Pe&&r.createElement(r.Fragment,null,r.createElement("div",{style:{flex:"1 1 200px",minWidth:200}},r.createElement("label",{htmlFor:"auto-ack-period-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Ack period:"),r.createElement(Gt(),{id:"auto-ack-period-input",value:Ne,onChange:function(e,t){var n=t.value;return Fe(n)},disabled:m,style:{width:"100%"},placeholder:"86400"})),r.createElement("div",{style:{flex:"1 1 200px",minWidth:200}},r.createElement("label",{htmlFor:"auto-ack-type-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Ack type:"),r.createElement(ht(),{id:"auto-ack-type-select",value:Re,onChange:function(e,t){var n=t.value;return We(n)},disabled:m,style:{width:"100%"}},r.createElement(ht().Option,{label:"Sticky",value:"sticky"}),r.createElement(ht().Option,{label:"Unsticky",value:"unsticky"})))))),r.createElement(Mr(),{title:"About Acknowledgement"},r.createElement("div",{style:{padding:16,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},r.createElement("p",{style:{marginTop:0,marginBottom:12,fontWeight:500,color:bn.text}},"It is strongly advised to rely on TrackMe acknowledgment framework and the auto acknowledgment alert action, rather than Splunk core alert suppression (Suppress Period in the configuration above)."),r.createElement("p",{style:{marginTop:0,marginBottom:12}},"TrackMe Acknowledgement provides additional levels of features which you can control, you can reduce, extend or delete an acknowledgment at any time in the life cycle of the entity."),r.createElement("p",{style:{marginTop:0,marginBottom:12}},"For instance, when an issue occurs on a given entity, and this cannot be fixed immediately, you can acknowledge this entity which preserves its visibility without generating new alerts."),r.createElement("p",{style:{marginTop:0,marginBottom:12}},"By default, and unless you customise it in this screen, the acknowledgment period is set to 24 hours (86400 seconds), this means an entity will not generate a new alert as long as the acknowledgment is active."),r.createElement("p",{style:{marginTop:0,marginBottom:0}},"When this period is terminated, TrackMe automatically suppresses this acknowledgment allowing a new alert to be trigger, acknowledgments are audited and can be reviewed for each entity."))))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:4,label:"Various",isLight:"step4"!==T}),panelId:"step4"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"orange-alerting-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Consider orange as in alerting state?"),r.createElement(ht(),{id:"orange-alerting-select",value:nt,onChange:function(e,t){var n=t.value;return rt(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"No",value:"0"}),r.createElement(ht().Option,{label:"Yes",value:"1"}))),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"drilldown-uri-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Splunk root uri for TrackMe:"),r.createElement(Gt(),{id:"drilldown-uri-input",value:ot,onChange:function(e,t){var n=t.value;return it(n)},disabled:m,style:{width:"100%",maxWidth:600},placeholder:"e.g., https://splunk.example.com"}),r.createElement("p",{style:{margin:"4px 0 0 0",fontSize:12,color:bn.textSecondary}},"This value is used to build the drilldown link. This should be the base URL for Splunk Web.")),r.createElement("div",{style:{marginTop:32}},r.createElement("h4",{style:{margin:"0 0 16px 0",fontSize:14,color:bn.text}},"Schedule Configuration"),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"cron-schedule-input-step4",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Cron Schedule: *"),r.createElement(Gt(),{id:"cron-schedule-input-step4",value:nn,onChange:function(e,t){var n=t.value;return rn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"*/5 * * * *"}),"*/5 * * * *"!==nn.trim()&&""!==nn.trim()&&r.createElement(Jt(),{type:"warning",style:{marginTop:8,padding:12,backgroundColor:"light"===f?"#fff3cd":"#664d03",border:"1px solid ".concat("#ffc107"),borderRadius:4}},r.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:8}},r.createElement("span",{style:{fontSize:18,lineHeight:1}},"⚠️"),r.createElement("div",{style:{flex:1}},r.createElement("strong",{style:{display:"block",marginBottom:4,color:bn.text}},"Warning: Cron schedule modification not recommended"),r.createElement("div",{style:{fontSize:13,lineHeight:1.5,color:bn.textSecondary}},"For Stateful alerts, it is highly recommended to keep the default cron schedule (every 5 minutes) to detect event changes and avoid any risk of missing a status change. Modifying the schedule may result in missed alerts or delayed incident updates."))))),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-fields-input-step4",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress fields:"),r.createElement(Gt(),{id:"suppress-fields-input-step4",value:ln,onChange:function(e,t){var n=t.value;return sn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"event_id"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-period-input-step4",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress period:"),r.createElement(Gt(),{id:"suppress-period-input-step4",value:cn,onChange:function(e,t){var n=t.value;return dn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"60m"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"day-time-filtering-select-step4",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Day time filtering:"),r.createElement(ht(),{id:"day-time-filtering-select-step4",value:pn,onChange:function(e,t){var n=t.value;return mn(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Any time",value:"AnyTime"}),r.createElement(ht().Option,{label:"Business hours",value:"business_hours"}),r.createElement(ht().Option,{label:"Non-business hours",value:"non_business_hours"}))))))))),"notables"===A&&r.createElement("div",{style:{marginTop:24}},r.createElement(Mr(),{title:"About Notable Events"},r.createElement("div",{style:{padding:16,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"TrackMe Notable events are created by TrackMe component alerts and provide a normalized view of TrackMe incidents. These events can be forwarded to third-party systems (emails, ITSM tools, etc.) and easily filtered and enriched."),r.createElement("p",{style:{marginTop:0,marginBottom:12}},r.createElement("strong",{style:{color:bn.text}},"Recommended Architecture:")," Create TrackMe component alerts (e.g., DSM alerts) that generate Notable events for all entities. Then create a separate Notable alert (this one) that consumes these Notable events and applies filtering based on priority, tags, or other conditions. This centralizes your alerting logic and makes it easier to maintain."),r.createElement("div",{style:{margin:"20px 0",textAlign:"center"}},r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return S({src:"../../static/app/trackme/img/alerts/legacy_alert_diagram.png",alt:"Legacy Alerting Architecture Diagram"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S({src:"../../static/app/trackme/img/alerts/legacy_alert_diagram.png",alt:"Legacy Alerting Architecture Diagram"}))},style:{cursor:"pointer",display:"inline-block"},"aria-label":"Click to enlarge Legacy Alerting Architecture Diagram"},r.createElement("img",{src:"../../static/app/trackme/img/alerts/legacy_alert_diagram.png",alt:"Legacy Alerting Architecture Diagram",style:{width:"95%",maxWidth:800,border:"1px solid ".concat(bn.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}}))),r.createElement("p",{style:{marginTop:0,marginBottom:0}},"It is strongly advised to always enable notable events in your component alerts for high visibility alerting."))),r.createElement("div",{style:{marginTop:24}},r.createElement(i(),{activePanelId:T,onChange:function(e,t){var n=t.activePanelId;n&&D(n)},layout:"vertical",style:{minHeight:400}},r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:1,label:"Alert name",isLight:"step1"!==T}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:bn.textSecondary,marginBottom:16}},'Enter the unique identifier of the new alert. The prefix "TrackMe alert tenant_id: " will be added automatically.'),r.createElement("label",{htmlFor:"alert-name-input-notables",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Alert identifier:"),r.createElement(Gt(),{id:"alert-name-input-notables",value:k,onChange:function(e,t){var n=t.value;return C(n)},disabled:m,style:{width:"100%",maxWidth:700},placeholder:"e.g., notables-alert"}),a&&k&&r.createElement("div",{style:{marginTop:6,fontSize:12,color:bn.textSecondary}},"Full alert name: ",r.createElement("strong",{style:{color:bn.text}},"TrackMe alert tenant_id:",a," - ",k)))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:2,label:"Priority Filter",isLight:"step2"!==T}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:bn.textSecondary,marginBottom:16}},"Select which priority levels should trigger this alert. Leave empty to trigger on any priority."),r.createElement("label",{htmlFor:"notable-priority-multiselect",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Trigger if priority is:"),r.createElement(As(),{id:"notable-priority-multiselect",values:mt,onChange:function(e,t){var n=t.values;yt((n||[]).map(function(e){return String(e)}))},disabled:m,placeholder:"Select priority levels (leave empty for ANY)",style:{width:"100%",maxWidth:400}},r.createElement(As().Option,{label:"ANY",value:"*"}),r.createElement(As().Option,{label:"Critical",value:"critical"}),r.createElement(As().Option,{label:"High",value:"high"}),r.createElement(As().Option,{label:"Medium",value:"medium"}),r.createElement(As().Option,{label:"Low",value:"low"})),r.createElement("p",{style:{margin:"8px 0 0 0",fontSize:12,color:bn.textSecondary}},"Select one or more priority levels. Leave empty to trigger on any priority."))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:3,label:"Schedule Configuration",isLight:"step3"!==T}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"cron-schedule-input-notables",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Cron Schedule: *"),r.createElement(Gt(),{id:"cron-schedule-input-notables",value:nn,onChange:function(e,t){var n=t.value;return rn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"*/5 * * * *"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-fields-input-notables",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress fields:"),r.createElement(Gt(),{id:"suppress-fields-input-notables",value:ln,onChange:function(e,t){var n=t.value;return sn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"event_id"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-period-input-notables",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress period:"),r.createElement(Gt(),{id:"suppress-period-input-notables",value:cn,onChange:function(e,t){var n=t.value;return dn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"60m"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"day-time-filtering-select-notables",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Day time filtering:"),r.createElement(ht(),{id:"day-time-filtering-select-notables",value:pn,onChange:function(e,t){var n=t.value;return mn(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Any time",value:"AnyTime"}),r.createElement(ht().Option,{label:"Days business (08h-20h)",value:"Day_BusinessDays_8h-20h"}),r.createElement(ht().Option,{label:"Days WE only (08h-20h)",value:"Day_WeekEnd_8h-20h"}),r.createElement(ht().Option,{label:"Days of the Week (08h-20h)",value:"Day_AllDays_8h-20h"}),r.createElement(ht().Option,{label:"Night business (20h-08h)",value:"Night_BusinessDays_20h-8h"}),r.createElement(ht().Option,{label:"Night WE only (20h-08h)",value:"Night_WeekEnd_20h-8h"}),r.createElement(ht().Option,{label:"Night days of the week (20h-08h)",value:"Night_AllDays_20h-8h"})))))))),Zp(A)&&r.createElement("div",{style:{marginTop:24}},r.createElement(Mr(),{title:"About Component Technical Alerts"},r.createElement("div",{style:{padding:16,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},r.createElement("strong",{style:{color:bn.text}},"Legacy Alerting Architecture:")," Component technical alerts work in conjunction with Notable alerts to provide a two-tier alerting system."),r.createElement("p",{style:{marginTop:0,marginBottom:12}},"Component alerts (like this one) are responsible for creating TrackMe Notable events and performing automated acknowledgements. A separate Notable alert then consumes these Notable events and applies filtering (priority, tags, etc.) before forwarding to third-party systems."),r.createElement("div",{style:{margin:"20px 0",textAlign:"center"}},r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return S({src:"../../static/app/trackme/img/alerts/legacy_alert_diagram.png",alt:"Legacy Alerting Architecture Diagram"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S({src:"../../static/app/trackme/img/alerts/legacy_alert_diagram.png",alt:"Legacy Alerting Architecture Diagram"}))},style:{cursor:"pointer",display:"inline-block"},"aria-label":"Click to enlarge Legacy Alerting Architecture Diagram"},r.createElement("img",{src:"../../static/app/trackme/img/alerts/legacy_alert_diagram.png",alt:"Legacy Alerting Architecture Diagram",style:{width:"95%",maxWidth:800,border:"1px solid ".concat(bn.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}}))),r.createElement("p",{style:{marginTop:0,marginBottom:0,fontWeight:500,color:bn.text}},r.createElement("strong",null,"Recommendation:")," Keep component alerts configured to cover all entities (no filtering). Apply filtering at the Notable alert level instead. This ensures Notable events and acknowledgements are generated for all entities, providing better visibility and centralized alert management."))),r.createElement("div",{style:{marginTop:24}},r.createElement(i(),{activePanelId:T,onChange:function(e,t){var n=t.activePanelId;n&&D(n)},layout:"vertical",style:{minHeight:500}},r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:1,label:"Alert name",isLight:"step1"!==T}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:bn.textSecondary,marginBottom:16}},'Enter the unique identifier of the new alert. The prefix "TrackMe alert tenant_id: " will be added automatically.'),r.createElement("label",{htmlFor:"alert-name-input-dsm",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Alert identifier:"),r.createElement(Gt(),{id:"alert-name-input-dsm",value:k,onChange:function(e,t){var n=t.value;return C(n)},disabled:m,style:{width:"100%",maxWidth:700},placeholder:"e.g., ".concat(Qp(A)||"component","-alert")}),a&&k&&r.createElement("div",{style:{marginTop:6,fontSize:12,color:bn.textSecondary}},"Full alert name: ",r.createElement("strong",{style:{color:bn.text}},"TrackMe alert tenant_id:",a," - ",k)))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:2,label:"Entity Filters",isLight:"step2"!==T}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{padding:12,backgroundColor:bn.backgroundSecondary,borderRadius:4,border:"1px solid ".concat(bn.border),marginBottom:16}},r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:8}},r.createElement(Xp(),{style:{fontSize:16,color:"light"===f?"#8B5CF6":"#A78BFA",flexShrink:0}}),r.createElement("strong",{style:{color:bn.text}},"Recommended Approach:")),r.createElement("p",{style:{margin:0,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},"For legacy alerting architecture, it is recommended to keep these filters at their default values (ANY priority, Red state, all objects, all tags) so that Notable events and acknowledgements are generated for all entities. Apply filtering at the Notable alert level instead.")),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"dsm-priority-multiselect",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Trigger if priority is:"),r.createElement(As(),{id:"dsm-priority-multiselect",values:_t,onChange:function(e,t){var n=t.values;Mt((n||[]).map(function(e){return String(e)}))},disabled:m,placeholder:"Select priority levels (leave empty for ANY)",style:{width:"100%",maxWidth:400}},r.createElement(As().Option,{label:"ANY",value:"*"}),r.createElement(As().Option,{label:"Critical",value:"critical"}),r.createElement(As().Option,{label:"High",value:"high"}),r.createElement(As().Option,{label:"Medium",value:"medium"}),r.createElement(As().Option,{label:"Low",value:"low"})),_t.length>0&&r.createElement(Jt(),{type:"warning",style:{marginTop:8,padding:12,backgroundColor:"light"===f?"#fff3cd":"#664d03",border:"1px solid ".concat("#ffc107"),borderRadius:4}},r.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:8}},r.createElement("span",{style:{fontSize:18,lineHeight:1}},"⚠️"),r.createElement("div",{style:{flex:1}},r.createElement("strong",{style:{display:"block",marginBottom:4,color:bn.text}},"Filtering not recommended at component alert level"),r.createElement("div",{style:{fontSize:13,lineHeight:1.5,color:bn.textSecondary}},"For legacy alerting, it is recommended to filter by priority at the Notable alert level instead. This ensures Notable events are generated for all entities, providing better visibility and centralized alert management."))))),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"dsm-state-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Trigger if the state is:"),r.createElement(ht(),{id:"dsm-state-select",value:St,onChange:function(e,t){var n=t.value;return xt(n)},disabled:m,style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"Red only",value:"red"}),r.createElement(ht().Option,{label:"Red or Orange",value:"red_orange"}),r.createElement(ht().Option,{label:"Orange only",value:"orange"})),"red"!==St&&r.createElement(Jt(),{type:"warning",style:{marginTop:8,padding:12,backgroundColor:"light"===f?"#fff3cd":"#664d03",border:"1px solid ".concat("#ffc107"),borderRadius:4}},r.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:8}},r.createElement("span",{style:{fontSize:18,lineHeight:1}},"⚠️"),r.createElement("div",{style:{flex:1}},r.createElement("strong",{style:{display:"block",marginBottom:4,color:bn.text}},"State filtering not recommended at component alert level"),r.createElement("div",{style:{fontSize:13,lineHeight:1.5,color:bn.textSecondary}},'For legacy alerting, it is recommended to keep the default "Red only" state and apply state filtering at the Notable alert level instead.'))))),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"dsm-object-filter-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Filter object:"),r.createElement(Gt(),{id:"dsm-object-filter-input",value:Ct,onChange:function(e,t){var n=t.value;return Et(n)},disabled:m,style:{width:"100%",maxWidth:400},placeholder:"*"}),r.createElement("p",{style:{margin:"4px 0 0 0",fontSize:12,color:bn.textSecondary}},"Use * for all objects, or specify a specific object name"),"*"!==Ct.trim()&&""!==Ct.trim()&&r.createElement(Jt(),{type:"warning",style:{marginTop:8,padding:12,backgroundColor:"light"===f?"#fff3cd":"#664d03",border:"1px solid ".concat("#ffc107"),borderRadius:4}},r.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:8}},r.createElement("span",{style:{fontSize:18,lineHeight:1}},"⚠️"),r.createElement("div",{style:{flex:1}},r.createElement("strong",{style:{display:"block",marginBottom:4,color:bn.text}},"Object filtering not recommended at component alert level"),r.createElement("div",{style:{fontSize:13,lineHeight:1.5,color:bn.textSecondary}},'For legacy alerting, it is recommended to keep "*" (all objects) and apply object filtering at the Notable alert level instead.'))))),("dsm"===Qp(A)||"dhm"===Qp(A))&&r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"dsm-tags-multiselect",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Include entities with tags:"),r.createElement(As(),{id:"dsm-tags-multiselect",values:Lt,onChange:function(e,t){var n=t.values;Ot((n||[]).map(function(e){return String(e)}))},disabled:m||Sn,placeholder:Sn?"Loading tags...":"Select tags (leave empty for ANY)",style:{width:"100%",maxWidth:400}},_n.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})})),r.createElement("p",{style:{margin:"4px 0 0 0",fontSize:12,color:bn.textSecondary}},"Select tags to filter entities. Leave empty to include all entities."),Lt.length>0&&r.createElement(Jt(),{type:"warning",style:{marginTop:8,padding:12,backgroundColor:"light"===f?"#fff3cd":"#664d03",border:"1px solid ".concat("#ffc107"),borderRadius:4}},r.createElement("div",{style:{display:"flex",alignItems:"flex-start",gap:8}},r.createElement("span",{style:{fontSize:18,lineHeight:1}},"⚠️"),r.createElement("div",{style:{flex:1}},r.createElement("strong",{style:{display:"block",marginBottom:4,color:bn.text}},"Tag filtering not recommended at component alert level"),r.createElement("div",{style:{fontSize:13,lineHeight:1.5,color:bn.textSecondary}},"For legacy alerting, it is recommended to leave tags empty and apply tag filtering at the Notable alert level instead."))))),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"dsm-outliers-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Trigger on Outliers?"),r.createElement(ht(),{id:"dsm-outliers-select",value:Dt,onChange:function(e,t){var n=t.value;return zt(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Yes",value:"true"}),r.createElement(ht().Option,{label:"No",value:"false"}))),"dsm"===Qp(A)&&r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"dsm-data-sampling-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Trigger on Data Sampling?"),r.createElement(ht(),{id:"dsm-data-sampling-select",value:Pt,onChange:function(e,t){var n=t.value;return Bt(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Yes",value:"true"}),r.createElement(ht().Option,{label:"No",value:"false"}))))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:3,label:"Alert Actions",isLight:"step3"!==T}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"dsm-smart-status-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Smart Status:"),r.createElement(ht(),{id:"dsm-smart-status-select",value:Nt,onChange:function(e,t){var n=t.value;return Ft(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Disabled",value:"disabled"}),r.createElement(ht().Option,{label:"Enabled",value:"enabled"})),r.createElement("p",{style:{margin:"4px 0 0 0",fontSize:12,color:bn.textSecondary}},"Automatically call the Smart Status REST endpoint, results are indexed in the trackme summary index for investigations purposes")),H&&Zp(A)&&r.createElement(Jt(),{type:"warning",style:{marginBottom:16}},V,G.length>0&&r.createElement("div",{style:{marginTop:8,fontSize:13}},r.createElement("strong",null,"Conflicting alert:"),r.createElement("ul",{style:{marginTop:4,marginBottom:0,paddingLeft:20}},G.map(function(e){return r.createElement("li",{key:"".concat(e.type,"-").concat(e.name)},e.name)})))),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"dsm-auto-ack-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Auto Acknowledgment:"),r.createElement(ht(),{id:"dsm-auto-ack-select",value:Rt,onChange:function(e,t){var n=t.value;return Wt(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Disabled",value:"disabled"}),r.createElement(ht().Option,{label:"Enabled",value:"enabled"})),"enabled"===Rt&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginTop:12,marginBottom:12}},r.createElement("label",{htmlFor:"dsm-auto-ack-period-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Ack period:"),r.createElement(Gt(),{id:"dsm-auto-ack-period-input",value:Ne,onChange:function(e,t){var n=t.value;return Fe(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"86400"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"dsm-auto-ack-type-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Ack type:"),r.createElement(ht(),{id:"dsm-auto-ack-type-select",value:Re,onChange:function(e,t){var n=t.value;return We(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Sticky",value:"sticky"}),r.createElement(ht().Option,{label:"Unsticky",value:"unsticky"}))))),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"dsm-notable-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Notable:"),r.createElement(ht(),{id:"dsm-notable-select",value:qt,onChange:function(e,t){var n=t.value;return Xt(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Disabled",value:"disabled"}),r.createElement(ht().Option,{label:"Enabled",value:"enabled"})),r.createElement("p",{style:{margin:"4px 0 0 0",fontSize:12,color:bn.textSecondary}},"It is strongly advised to always enable notable events for the purposes of providing high visibility alerting"),"enabled"===qt&&r.createElement("div",{style:{marginTop:12}},r.createElement("label",{htmlFor:"dsm-drilldown-uri-input",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Splunk root uri for TrackMe:"),r.createElement(Gt(),{id:"dsm-drilldown-uri-input",value:ot,onChange:function(e,t){var n=t.value;return it(n)},disabled:m,style:{width:"100%",maxWidth:600},placeholder:"e.g., https://splunk.example.com"}),r.createElement("p",{style:{margin:"4px 0 0 0",fontSize:12,color:bn.textSecondary}},"This value is used to build the drilldown link in the notable event. This should be the base URL for Splunk Web."))))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:4,label:"Schedule Configuration",isLight:"step4"!==T}),panelId:"step4"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"cron-schedule-input-dsm",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Cron Schedule: *"),r.createElement(Gt(),{id:"cron-schedule-input-dsm",value:nn,onChange:function(e,t){var n=t.value;return rn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"*/5 * * * *"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-fields-input-dsm",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress fields:"),r.createElement(Gt(),{id:"suppress-fields-input-dsm",value:ln,onChange:function(e,t){var n=t.value;return sn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"keyid"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-period-input-dsm",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress period:"),r.createElement(Gt(),{id:"suppress-period-input-dsm",value:cn,onChange:function(e,t){var n=t.value;return dn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"60m"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"day-time-filtering-select-dsm",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Day time filtering:"),r.createElement(ht(),{id:"day-time-filtering-select-dsm",value:pn,onChange:function(e,t){var n=t.value;return mn(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Any time",value:"AnyTime"}),r.createElement(ht().Option,{label:"Days business (08h-20h)",value:"Day_BusinessDays_8h-20h"}),r.createElement(ht().Option,{label:"Days WE only (08h-20h)",value:"Day_WeekEnd_8h-20h"}),r.createElement(ht().Option,{label:"Days of the Week (08h-20h)",value:"Day_AllDays_8h-20h"}),r.createElement(ht().Option,{label:"Night business (20h-08h)",value:"Night_BusinessDays_20h-8h"}),r.createElement(ht().Option,{label:"Night WE only (20h-08h)",value:"Night_WeekEnd_20h-8h"}),r.createElement(ht().Option,{label:"Night days of the week (20h-08h)",value:"Night_AllDays_20h-8h"})))))))),"sla_breaches"===A&&r.createElement("div",{style:{marginTop:24}},r.createElement(Mr(),{title:"About SLA Breaches Alerts"},r.createElement("div",{style:{padding:16,fontSize:13,lineHeight:1.6,color:bn.textSecondary}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"SLA alerts trigger when entities breach their SLA thresholds. SLA classes define thresholds based on entity classification."),r.createElement("p",{style:{marginTop:0,marginBottom:12}},"An SLA breach occurs when an entity remains in alert status for an unacceptable continuous duration without resolution. These alerts are independent from other tracking alerts and serve as a second-level alert to detect persistent issues beyond acceptable thresholds."),r.createElement("p",{style:{marginTop:0,marginBottom:0}},"You can create multiple SLA alerts to cover different components within the same tenant. Each alert monitors entities for SLA breaches based on the selected component and priority levels."))),r.createElement("div",{style:{marginTop:24}},r.createElement(i(),{activePanelId:T,onChange:function(e,t){var n=t.activePanelId;n&&D(n)},layout:"vertical",style:{minHeight:400}},r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:1,label:"Alert name",isLight:"step1"!==T}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:bn.textSecondary,marginBottom:16}},'Enter the unique identifier of the new alert. The prefix "TrackMe alert tenant_id: " will be added automatically.'),r.createElement("label",{htmlFor:"alert-name-input-sla",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Alert identifier:"),r.createElement(Gt(),{id:"alert-name-input-sla",value:k,onChange:function(e,t){var n=t.value;return C(n)},disabled:m,style:{width:"100%",maxWidth:700},placeholder:"e.g., sla-alert"}),a&&k&&r.createElement("div",{style:{marginTop:6,fontSize:12,color:bn.textSecondary}},"Full alert name: ",r.createElement("strong",{style:{color:bn.text}},"TrackMe alert tenant_id:",a," - ",k)))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:2,label:"Component and Priority",isLight:"step2"!==T}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"sla-component-select",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"SLA component:"),r.createElement(ht(),{id:"sla-component-select",value:$t,onChange:function(e,t){var n=t.value;return Kt(n)},disabled:m,style:{width:"100%",maxWidth:400}},r.createElement(ht().Option,{label:"DSM (Data Sources)",value:"dsm"}),r.createElement(ht().Option,{label:"DHM (Data Hosts)",value:"dhm"}),r.createElement(ht().Option,{label:"MHM (Metric Hosts)",value:"mhm"}),r.createElement(ht().Option,{label:"FLX (Flexible)",value:"flx"}),r.createElement(ht().Option,{label:"FQM (Forward Queue Monitoring)",value:"fqm"}),r.createElement(ht().Option,{label:"WLK (Watchlist)",value:"wlk"})),r.createElement("p",{style:{margin:"8px 0 0 0",fontSize:12,color:bn.textSecondary}},"Specify the component to monitor for SLA breaches. You can create multiple alerts to cover different components within the same tenant.")),r.createElement("div",{style:{marginBottom:20}},r.createElement("label",{htmlFor:"sla-priority-multiselect",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Trigger if priority is:"),r.createElement(As(),{id:"sla-priority-multiselect",values:Qt,onChange:function(e,t){var n=t.values;en((n||[]).map(function(e){return String(e)}))},disabled:m,placeholder:"Select priority levels (leave empty for ANY)",style:{width:"100%",maxWidth:400}},r.createElement(As().Option,{label:"ANY",value:"*"}),r.createElement(As().Option,{label:"Critical",value:"critical"}),r.createElement(As().Option,{label:"High",value:"high"}),r.createElement(As().Option,{label:"Medium",value:"medium"}),r.createElement(As().Option,{label:"Low",value:"low"})),r.createElement("p",{style:{margin:"8px 0 0 0",fontSize:12,color:bn.textSecondary}},"Select one or more priority levels. Leave empty to trigger on any priority.")))),r.createElement(i().Panel,{label:r.createElement(tm,{stepNumber:3,label:"Schedule Configuration",isLight:"step3"!==T}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"cron-schedule-input-sla",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Cron Schedule: *"),r.createElement(Gt(),{id:"cron-schedule-input-sla",value:nn,onChange:function(e,t){var n=t.value;return rn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"*/5 * * * *"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-fields-input-sla",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress fields:"),r.createElement(Gt(),{id:"suppress-fields-input-sla",value:ln,onChange:function(e,t){var n=t.value;return sn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"keyid"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"suppress-period-input-sla",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Suppress period:"),r.createElement(Gt(),{id:"suppress-period-input-sla",value:cn,onChange:function(e,t){var n=t.value;return dn(n)},disabled:m,style:{width:"100%",maxWidth:300},placeholder:"60m"})),r.createElement("div",{style:{marginBottom:12}},r.createElement("label",{htmlFor:"day-time-filtering-select-sla",style:{display:"block",marginBottom:6,fontWeight:500,color:bn.text}},"Day time filtering:"),r.createElement(ht(),{id:"day-time-filtering-select-sla",value:pn,onChange:function(e,t){var n=t.value;return mn(n)},disabled:m,style:{width:"100%",maxWidth:300}},r.createElement(ht().Option,{label:"Any time",value:"AnyTime"}),r.createElement(ht().Option,{label:"Days business (08h-20h)",value:"Day_BusinessDays_8h-20h"}),r.createElement(ht().Option,{label:"Days WE only (08h-20h)",value:"Day_WeekEnd_8h-20h"}),r.createElement(ht().Option,{label:"Days of the Week (08h-20h)",value:"Day_AllDays_8h-20h"}),r.createElement(ht().Option,{label:"Night business (20h-08h)",value:"Night_BusinessDays_20h-8h"}),r.createElement(ht().Option,{label:"Night WE only (20h-08h)",value:"Night_WeekEnd_20h-8h"}),r.createElement(ht().Option,{label:"Night days of the week (20h-08h)",value:"Night_AllDays_20h-8h"}))))))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:u,disabled:m},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:Nn,disabled:m||"trackme_stateful"===A&&Y},m?r.createElement(s(),{size:"small"}):"Add this new alert")))};function rm(e){return rm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rm(e)}function am(e){return function(e){if(Array.isArray(e))return mm(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pm(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function im(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(um(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,um(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,um(d,"constructor",u),um(u,"constructor",s),s.displayName="GeneratorFunction",um(u,a,"GeneratorFunction"),um(d),um(d,a,"Generator"),um(d,r,function(){return this}),um(d,"toString",function(){return"[object Generator]"}),(sm=function(){return{w:o,m:f}})()}function um(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}um=function(e,t,n,r){function o(t,n){um(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},um(e,t,n,r)}function cm(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function dm(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){cm(o,r,a,i,l,"next",e)}function l(e){cm(o,r,a,i,l,"throw",e)}i(void 0)})}}function fm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||pm(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pm(e,t){if(e){if("string"==typeof e)return mm(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mm(e,t):void 0}}function mm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var a=[t.map(function(e){return e.ss_name||""}),t.map(function(e){return parseInt(String(e.count||0),10)||0})],o={requestParams:{offset:0,count:t.length},data:{fields:["ss_name","count"].map(function(e){return{name:e}}),columns:a},meta:{totalCount:t.length}};D({dataSource:o,loading:!1,error:null,searchQuery:r})}else D({dataSource:null,loading:!1,error:null,searchQuery:r})}},error:function(e){D({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load donut chart data",searchQuery:r}),L(0)},complete:function(){}});Q.current=a}catch(e){D({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load donut chart data",searchQuery:null}),L(0)}}else D({dataSource:null,loading:!1,error:null,searchQuery:null})},[u,t]),ie=r.useCallback(function(){if(u&&t){try{var e,n;null===(e=ee.current)||void 0===e||null===(n=e.unsubscribe)||void 0===n||n.call(e)}catch(e){}P(function(e){return im(im({},e),{},{loading:!0,error:null})});var r='index=_audit action="alert_fired" ss_app="trackme" [ | inputlookup trackme_virtual_tenants where tenant_id="'.concat(t,'" | table tenant_alert_objects | spath input=tenant_alert_objects | rename "alerts{}" as ss_name | mvexpand ss_name | fields ss_name | format | fields search ] | timechart minspan=5m bins=1000 count by ss_name');try{var a=Ee.A.create({search:r,earliest_time:"-24h",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t.reduce(function(e,t){return Object.keys(t).forEach(function(t){"_time"===t||e.includes(t)||e.push(t)}),e},[]),a="_time",o=[a].concat(am(n)),i=Array.from(new Set(t.map(function(e){return e[a]}))).sort(),l=[i].concat(am(o.slice(1).map(function(e){return i.map(function(n){var r=t.find(function(e){return e[a]===n});return parseInt(String((null==r?void 0:r[e])||0),10)||0})}))),s={requestParams:{offset:0,count:t.length},data:{fields:o.map(function(e){return{name:e}}),columns:l},meta:{totalCount:t.length}};P({dataSource:s,loading:!1,error:null,searchQuery:r})}else P({dataSource:null,loading:!1,error:null,searchQuery:r})}},error:function(e){P({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load time chart data",searchQuery:r})},complete:function(){}});ee.current=a}catch(e){P({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load time chart data",searchQuery:null})}}else P({dataSource:null,loading:!1,error:null,searchQuery:null})},[u,t]),le=r.useCallback(function(){ae(),oe(),ie()},[ae,oe,ie]),se=r.useRef(null),ue=r.useCallback(function(){try{le()}catch(e){console.error("[TrackingAlertsTab] Error refreshing:",e)}},[le]);r.useEffect(function(){se.current=ue},[ue]);var ce=r.useCallback(function(){se.current&&se.current()},[]);r.useEffect(function(){o&&o(ce)},[o,ce]);var de=r.useCallback(function(e){N(e),R(!0)},[]),fe=r.useCallback(function(){q(!1),ae(),oe(),ie(),ne({type:"success",title:"Alert created",message:"The alert has been successfully created"})},[ae,oe,ie,ne]);r.useEffect(function(){return u&&t?(ae(),oe(),ie(),function(){try{var e,t,n,r;null===(e=Q.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e),null===(n=ee.current)||void 0===n||null===(r=n.unsubscribe)||void 0===r||r.call(n)}catch(e){}}):function(){}},[u,t]);var pe=r.useMemo(function(){return!g&&0===h.length&&0===A},[g,h.length,A]),me=r.useMemo(function(){return!pe&&A>0},[pe,A]),he=r.useRef(null),ye=fm(r.useState(800),2),be=ye[0],ge=ye[1];r.useEffect(function(){if(he.current){var e=new ResizeObserver(function(e){e.forEach(function(e){var t=e.contentRect.width;t>0&&ge(Math.max(600,t-24))})});return e.observe(he.current),function(){e.disconnect()}}},[]);var ve=r.useCallback(function(){if(T.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(T.searchQuery),"&earliest=-24h&latest=now"),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[T.searchQuery]),_e=r.useCallback(function(){if(j.searchQuery)try{var e,t="/app/trackme/search?q=".concat(encodeURIComponent(j.searchQuery),"&earliest=-24h&latest=now"),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}catch(e){}},[j.searchQuery]),Me=r.useRef(null),we=r.useCallback(function(){q(!0)},[]);r.useEffect(function(){Me.current=we},[we]);var Se=r.useCallback(function(){Me.current&&Me.current()},[]);return r.useEffect(function(){i&&i(Se)},[i,Se]),r.createElement("div",{style:{padding:"16px 0",position:"relative"}},r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))",gap:16,marginBottom:24}},r.createElement(at,{label:"ENABLED ALERTS",value:S,loading:g,showAlertBorder:S>0,rangeColors:S>0?["#4fc3f7"]:void 0,onOpenSearch:function(){var e;if(t){var n='| inputlookup trackme_virtual_tenants where tenant_id="'.concat(t,'" | table tenant_alert_objects | spath input=tenant_alert_objects | rename "alerts{}" as alert_name | mvexpand alert_name | fields alert_name'),r="/app/trackme/search?q=".concat(encodeURIComponent(n)),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return le()}}),r.createElement(at,{label:"TRIGGERED ALERTS IN THE PAST 24h",value:A,loading:T.loading,showAlertBorder:A>0,rangeColors:A>0?["#ff9800"]:void 0,onOpenSearch:function(){var e;if(t){var n='index=_audit action="alert_fired" ss_app="trackme" [ | inputlookup trackme_virtual_tenants where tenant_id="'.concat(t,'" | table tenant_alert_objects | spath input=tenant_alert_objects | rename "alerts{}" as ss_name | mvexpand ss_name | fields ss_name | format | fields search ] | stats count by ss_name'),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=-24h&latest=now"),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}},onRefresh:function(){return le()}})),pe&&r.createElement("div",{style:{padding:40,textAlign:"center",backgroundColor:re.backgroundSecondary,borderRadius:8,border:"1px solid ".concat(re.border),marginBottom:24}},r.createElement("h3",{style:{margin:0,color:re.text}},"There are no active alerts for the past 24h")),me&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(400px, 1fr))",gap:16,marginBottom:24}},r.createElement("div",{style:{background:re.backgroundSecondary,border:"1px solid ".concat(re.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"triggering per alert (past 24h)"),T.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{open:V,onRequestOpen:function(){return U(!0)},onRequestClose:function(){return U(!1)},toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){ve(),U(!1)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{oe()}catch(e){}U(!1)},disabled:T.loading},"Refresh")))),T.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!T.loading&&T.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},T.error),!T.loading&&!T.error&&T.dataSource&&r.createElement("div",{style:{width:"100%",height:200,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},r.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"}},r.createElement("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},r.createElement(Le(),{width:320,height:160,options:{showDonutHole:!0,legendPosition:"right",backgroundColor:"transparent",height:160},dataSources:{primary:T.dataSource}})))),!T.loading&&!T.error&&!T.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No data available")))),r.createElement("div",{style:{background:re.backgroundSecondary,border:"1px solid ".concat(re.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"triggered over time (past 24h)"),j.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{open:G,onRequestOpen:function(){return K(!0)},onRequestClose:function(){return K(!1)},toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){_e(),K(!1)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:function(){try{ie()}catch(e){}K(!1)},disabled:j.loading},"Refresh")))),j.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,gap:8}},r.createElement(s(),{size:"medium"})),!j.loading&&j.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:200}},j.error),!j.loading&&!j.error&&j.dataSource&&r.createElement("div",{ref:he,style:{width:"100%",height:200,overflow:"hidden"}},r.createElement(Ft(),{width:be||800,height:200,options:{yAxisTitle:"Count",nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",stackMode:"stacked",xAxisTitleVisibility:"hide"},dataSources:{primary:j.dataSource}})),!j.loading&&!j.error&&!j.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:200,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%"}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No data available"))))),r.createElement(Tp,{alerts:h,loading:g,tenantId:t,onAlertClick:de,onRefresh:ae}),Y&&r.createElement(Hp,{open:I,alert:Y,tenantId:t,onClose:function(){R(!1),N(null)},onRefresh:le}),r.createElement(nm,{open:H,tenantId:t,enabledComponents:a,onClose:function(){return q(!1)},onSuccess:fe}))};var ym=n(88700),bm=n.n(ym);const gm=function(e){var t=e.open,n=(e.tenantId,e.component,e.onClose),a=e.onCreateClick,o=e.onManageClick,i=Ce().colorScheme,l=r.useMemo(function(){return"light"===i?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[i]),s=r.useCallback(function(){try{var e=new URL(window.location.href),t="".concat(e.protocol,"//").concat(e.host),n=e.pathname.split("/").filter(function(e){return e&&!["en-US","en-GB","fr-FR"].includes(e)});return n.length>0?"".concat(t,"/").concat(n[0],"/app/trackme/configuration"):"".concat(t,"/app/trackme/configuration")}catch(e){return"#"}},[]);return r.createElement(vt(),{open:t,onRequestClose:n,returnFocus:function(){},style:{width:1200}},r.createElement(vt().Header,{title:"TrackMe Hybrid trackers - Manage and create"}),r.createElement(vt().Body,null,r.createElement("div",{style:{padding:"16px 0",color:l.text}},r.createElement("hr",{style:{borderColor:l.border,margin:"20px 0"}}),r.createElement("h1",{style:{fontSize:18,fontWeight:600,marginBottom:16,color:l.text}},"Hybrid trackers can be created to transparently handle additional use cases in a powerful and simple way:"),r.createElement("div",{style:{marginLeft:20}},r.createElement("ul",{style:{lineHeight:1.8,marginBottom:20}},r.createElement("li",{style:{marginBottom:12}},"Discover and maintain data sources based on a special break by statement, relying on a target key data field"),r.createElement("li",{style:{marginBottom:12}},"For instance, you could create an hybrid tracker to automatically create entities for your Cloud provider data using a"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"subscription_id")," ","and get a single entity per"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"index / sourcetype / Cloud tenant")),r.createElement("li",{style:{marginBottom:12}},"Another example, you could create an hybrid tracker to create entities based on a"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"company")," ","fields which describes subsidiaries in your data sets, generating entities per"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"index / sourcetype / company")),r.createElement("li",{style:{marginBottom:12}},"Ideally, the break by field should refer to an indexed time field rather than a search time extracted field, which allows to use a tstats based hybrid tracker for the best performances at the lowest computing costs"),r.createElement("li",{style:{marginBottom:12}},"However, hybrid trackers can be based on either"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"tstats")," ","search logic (which implies indexed fields), or"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"raw")," ","search logic (which allows search time extracted fields)"),r.createElement("li",{style:{marginBottom:12}},"The hybrid tracker process can be performed easily via this screen, once the new entities have been created you can decide to disable the previously discovered entities, and optionally remove the data set from the out of the box trackers"))),r.createElement("hr",{style:{borderColor:l.border,margin:"20px 0"}}),r.createElement("h1",{style:{fontSize:18,fontWeight:600,marginBottom:16,color:l.text}},"Account local versus remote accounts:"),r.createElement("h2",{style:{fontSize:16,fontWeight:400,marginBottom:12,color:l.textSecondary}},"Hybrid trackers can target the local or remote accounts, local handles data locally available the search head running TrackMe, and remote trackers can handle any remote Splunk deployment transparently:"),r.createElement("div",{style:{marginLeft:20}},r.createElement("ul",{style:{lineHeight:1.8,marginBottom:20}},r.createElement("li",{style:{marginBottom:12}},"An hybrid local tracker runs tstats or raw searches locally on the search head, it means the data must be accessible on the same search running hosting TrackMe"),r.createElement("li",{style:{marginBottom:12}},"On the other hand, an hybrid remote tracker relies on a custom command ",r.createElement("strong",null,"splunkremotesearch")," which uses the Splunk API remotely and authenticates to the remote systems using a ",r.createElement("strong",null,"bearer token")),r.createElement("li",{style:{marginBottom:12}},"You first need to configure one or more Splunk remote deployments, called accounts, in the"," ",r.createElement(bt(),{to:s(),openInNewContext:!0,style:{textDecoration:"none"}},"configuration")," ","UI"),r.createElement("li",{style:{marginBottom:12}},"A Splunk remote deployment account consists in the URL and port for the Splunk API (which can be an IP, a FQDN, a VIP addressing your Search Head Cluster), a bearer token used for the authentication and optionally the application name space where searches will be executed"),r.createElement("li",{style:{marginBottom:12}},"Once the account is configured, you can create an hybrid tracker using this account, using a custom key or not (therefore relying on index/sourcetype) with the search filters and time constraints as needed"),r.createElement("li",{style:{marginBottom:12}},"Finally, TrackMe generates remote entities"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"remote:|account=|index:sourcetype"),", which are transparently and automatically managed!"))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:n},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:function(){a(),n()},style:{maxWidth:250}},"Create a new hybrid tracker"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:function(){o(),n()},style:{maxWidth:250}},"Manage existing hybrid trackers")))};function vm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Em(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Em(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Em(d,"constructor",u),Em(u,"constructor",s),s.displayName="GeneratorFunction",Em(u,a,"GeneratorFunction"),Em(d),Em(d,a,"Generator"),Em(d,r,function(){return this}),Em(d,"toString",function(){return"[object Generator]"}),(Cm=function(){return{w:o,m:f}})()}function Em(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Em=function(e,t,n,r){function o(t,n){Em(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Em(e,t,n,r)}function Am(e){return Am="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Am(e)}function Lm(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Om(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Lm(o,r,a,i,l,"next",e)}function l(e){Lm(o,r,a,i,l,"throw",e)}i(void 0)})}}var Tm=function(){var e=Om(Cm().m(function e(t,n){var r,a,o;return Cm().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_hybrid_trackers/hybrid_tracker_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,component:n})});case 1:if((r=e.v).ok){e.n=3;break}return e.n=2,Z(r);case 2:throw a=e.v,new Error(a);case 3:return e.n=4,r.json();case 4:if(o=e.v,!Array.isArray(o)){e.n=5;break}return e.a(2,o);case 5:if(!o||"object"!==Am(o)){e.n=6;break}return e.a(2,o.results||o.data||o.records||[]);case 6:return e.a(2,[])}},e)}));return function(t,n){return e.apply(this,arguments)}}(),Dm=function(){var e=Om(Cm().m(function e(t){var n,r;return Cm().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_hybrid_trackers/admin/hybrid_tracker_simulation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(xm({run_simulation:!1,cron_schedule:"*/5 * * * *"},t))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),zm=function(){var e=Om(Cm().m(function e(t){var n,r;return Cm().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_hybrid_trackers/admin/hybrid_tracker_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),jm=function(){var e=Om(Cm().m(function e(t,n,r,a){var o,i;return Cm().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_hybrid_trackers/admin/hybrid_tracker_delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,component:n,hybrid_trackers_list:r,update_comment:a||"Deleted from UI"})});case 1:if((o=e.v).ok){e.n=3;break}return e.n=2,Z(o);case 2:throw i=e.v,new Error(i);case 3:return e.a(2,o.json())}},e)}));return function(t,n,r,a){return e.apply(this,arguments)}}(),Pm=function(){var e=Om(Cm().m(function e(t){var n,r;return Cm().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_hybrid_trackers/admin/hybrid_tracker_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(xm(xm({},t),{},{burn_test:"True",burn_test_runsearch:"False"}))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Bm=function(){var e=Om(Cm().m(function e(t){var n,r;return Cm().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/configuration/test_remote_account",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({account:t})});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Ym=function(){var e=Om(Cm().m(function e(){var t,n,r,a,o;return Cm().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,J("/splunkd/__raw/services/trackme/v2/configuration/list_accounts",{method:"GET"});case 1:if(!(t=e.v).ok){e.n=3;break}return e.n=2,t.json();case 2:return r=e.v,a=(null==r?void 0:r.accounts)||(null==r||null===(n=r.payload)||void 0===n?void 0:n.accounts)||[],o=a.filter(function(e){return"local"!==e}),e.a(2,["local"].concat(Mm(o)));case 3:return e.a(2,["local"]);case 4:return e.p=4,e.v,e.a(2,["local"])}},e,null,[[0,4]])}));return function(){return e.apply(this,arguments)}}();function Nm(e){if(!e||""===e.trim()){var t=Math.floor(1e4*Math.random()).toString().padStart(4,"0");return"tracker-".concat(t)}if(/-\d{4}$/.test(e))return e;var n=Math.floor(1e4*Math.random()).toString().padStart(4,"0");return"".concat(e,"-").concat(n)}function Fm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tracker",t=Math.floor(1e4*Math.random()).toString().padStart(4,"0");return"".concat(e,"-").concat(t)}function Im(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rm(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rm(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0?"".concat(t,"/").concat(n[0],"/app/trackme/configuration"):"".concat(t,"/app/trackme/configuration")}catch(e){return"#"}},[]);return r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:M.textSecondary,marginBottom:16}},"Enter a name for the new object and define if the deployment is local or a remote account:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"tracker-name-input",id:"tracker-name-label",style:{display:"block",marginBottom:8,fontSize:14,color:M.textSecondary}},"New tracker identifier: (will be added as a prefix to entities, and used to group entities)"),r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,width:"fit-content"}},r.createElement(Gt(),{id:"tracker-name-input","aria-labelledby":"tracker-name-label",value:t.trackerName||"",onChange:function(e,t){var r=t.value;n({trackerName:r})},onBlur:function(){var e=t.trackerName||"";if(""!==e.trim()){var r=Nm(e);r!==e&&n({trackerName:r})}},placeholder:"tracker-5678",style:{width:350}}),i&&r.createElement(s(),{size:"small"})),!1===o&&r.createElement(Jt(),{type:"error",style:{marginTop:8}},"A tracker with this name already exists. It must be unique for this tenant."),!0===o&&r.createElement(Jt(),{type:"success",style:{marginTop:8}},"This tracker name is valid and does not exist yet in this tenant.")),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"account-select",id:"account-select-label",style:{display:"block",marginBottom:8,fontSize:14,color:M.textSecondary}},"Splunk deployment, either local or a configured remote account:"),r.createElement(ht(),{id:"account-select","aria-labelledby":"account-select-label",value:t.account||"local",onChange:function(e,t){var r=t.value;n({account:String(r)})},style:{width:350},disabled:p},c.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),r.createElement("div",{style:{marginLeft:22,marginBottom:5}},r.createElement(bt(),{to:w(),openInNewContext:!0,style:{textDecoration:"none"}},"Open the configuration interface to add or manage accounts")),t.account&&"local"!==t.account&&r.createElement("div",{style:{marginTop:16,marginBottom:16}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:M.text}},"Splunk Remote connectivity check, when using a remote Splunk account, this validates the connectivity and authentication to the remote deployment:"),y&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"small"})),v&&!y&&r.createElement(Jt(),{type:v.success?"info":"error",style:{marginTop:8}},v.message)))},Hm=function(e){var t=e.value,n=e.onChange,a=e.onValidityChange,o=e.component,i=Ce().colorScheme,l=r.useMemo(function(){return"light"===i?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[i]),s="mhm"===o;return r.useEffect(function(){t.rootConstraint||n(s?{rootConstraint:"(index=* OR index=_metrics) splunk_server=* metric_name=* metric_name!=trackme:*",searchMode:"mstats"}:{rootConstraint:"(index=*) (splunk_server=*) (sourcetype!=stash sourcetype!=*too_small sourcetype!=modular_alerts:trackme* sourcetype!=trackme:*)"}),s&&"mstats"!==t.searchMode&&n({searchMode:"mstats"})},[s]),r.useEffect(function(){var e=!(!t.searchMode||!t.rootConstraint);a&&a(e)},[t.searchMode,t.rootConstraint,a]),r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:16}},s?"Define the search constraint:":"Define the search mode and the search constraint:"),!s&&r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"search-mode-select",id:"search-mode-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Choose the search mode"),r.createElement(ht(),{id:"search-mode-select","aria-labelledby":"search-mode-label",value:t.searchMode||"tstats",onChange:function(e,t){var r=t.value;n({searchMode:String(r)})},style:{width:350}},r.createElement(ht().Option,{value:"tstats",label:"tstats (indexed fields, best performance)"}),r.createElement(ht().Option,{value:"raw",label:"raw (indexed or search time extracted fields, more flexible)"}))),s&&r.createElement("div",{style:{marginBottom:16,padding:12,backgroundColor:l.backgroundSecondary,borderRadius:4}},r.createElement("div",{style:{fontSize:14,color:l.text}},r.createElement("strong",null,"Search mode:")," mstats (always used for Metric Hosts Monitoring)")),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:l.text}},"Fill the root search constraint, you can add any search filters as needed:"),r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:12}},"The root constraint will be stored in the definition of a macro created automatically, you can later on update the root constraint macro as needed to include additional search filters"),r.createElement("div",{style:{fontSize:14,marginBottom:8,color:l.text}},"Enter the constraint for the search: the search is automatically prefixed with index=* sourcetype=* and you can add any additional search filters"),r.createElement(Ut(),{value:t.rootConstraint||"",onChange:function(e,t){var r=t.value;n({rootConstraint:r})},onBlur:function(){if(s&&t.rootConstraint&&""!==t.rootConstraint.trim()&&!/\bmetric_name\s*=/i.test(t.rootConstraint)){var e=t.rootConstraint.trim(),r="".concat(e," metric_name=*");n({rootConstraint:r})}},rowsMin:4,style:{width:"100%",fontFamily:"'Courier New', Courier, monospace",backgroundColor:"light"===i?"#ffffff":"#2d2d2d",color:"light"===i?"#000000":"#ffffff"},spellCheck:!1})))},qm=function(e){var t=e.value,n=e.onChange,a=e.onValidityChange,o=e.component,i=Ce().colorScheme,l=r.useMemo(function(){return"light"===i?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[i]),s="dsm"===o,u="dhm"===o,c="mhm"===o,d=t.breakByMode||"standard",f=t.searchMode||(c?"mstats":"tstats"),p="custom"===d,m="tstats"===f;return r.useEffect(function(){s&&!t.breakByMode&&n({breakByMode:"standard"}),s&&p&&!t.breakByIncludeSourcetype&&n({breakByIncludeSourcetype:"true"}),(s||u)&&m&&!t.tstatsRootSpan&&n({tstatsRootSpan:s?"30s":"5m"}),(s||u)&&m&&!t.tstatsIncludeSplunkServer&&n({tstatsIncludeSplunkServer:"False"}),s&&m&&!t.tstatsIncludeHost&&n({tstatsIncludeHost:"False"})},[s,u,c,p,m]),r.useEffect(function(){var e=!0;s&&p&&!t.breakByField&&(e=!1),a&&a(e)},[s,p,t.breakByField,a]),r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:16}},"Optional, Enter an additional break by field",s?" (multiple fields are supported in custom mode)":" (multiple fields are not supported here)",", if differs from none, will be used when discovering and maintaining entities (",u||c?"defaults to host":"defaults to index+sourcetype","):"),s&&r.createElement("div",{style:{marginBottom:24}},r.createElement(Mr(),{title:"Break by logic for the hybrid tracker",style:{marginBottom:16}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:l.text}},r.createElement("div",{style:{marginBottom:16}},r.createElement("h4",{style:{fontSize:14,fontWeight:500,color:"#00a4fd",marginBottom:8}},"Standard mode:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:12}},r.createElement("li",null,"In standard mode, entities represent the associations between indexes and sourcetypes, you will get entities like:"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},' + ":" + ')),r.createElement("li",null,"For every association discovered between an index and a sourcetype, a TrackMe entity will be created."))),r.createElement("div",{style:{marginBottom:16}},r.createElement("h4",{style:{fontSize:14,fontWeight:500,color:"#00a4fd",marginBottom:8}},"Merged mode:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:12}},r.createElement("li",null,"In merged mode, entities represent are driven by indexes, the sourcetype is represented as all and matches anything, you will get entities like:"," ",r.createElement("code",{style:{color:"light"===i?"#000000":"#ffffff",fontFamily:"monospace",backgroundColor:l.backgroundSecondary,padding:"2px 4px",borderRadius:3}},' + ":@all"')),r.createElement("li",null,"For every index discovered, a TrackMe entity will be created."))),r.createElement("div",{style:{marginBottom:0}},r.createElement("h4",{style:{fontSize:14,fontWeight:500,color:"#00a4fd",marginBottom:8}},"Custom mode:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:0}},r.createElement("li",null,"In custom mode, you can define a comma separated list of fields to be considered, the association between these metadata information will be used to form TrackMe entities."),r.createElement("li",null,"As well, you can decide if the sourcetype should be considered, the default behaviour is to include the index and sourcetype association in addition with the fields from the custom break by."))))),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"break-by-mode-select",id:"break-by-mode-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"break by mode:"),r.createElement(ht(),{id:"break-by-mode-select","aria-labelledby":"break-by-mode-label",value:d,onChange:function(e,t){var r=t.value;n({breakByMode:String(r)})},style:{width:350}},r.createElement(ht().Option,{value:"standard",label:"Standard (index/sourcetype)"}),r.createElement(ht().Option,{value:"merged",label:"Merged (index:@all)"}),r.createElement(ht().Option,{value:"custom",label:"Custom (comma-separated fields)"}))),p&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"break-by-include-sourcetype-select",id:"break-by-include-sourcetype-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Include sourcetype in custom break by mode:"),r.createElement(ht(),{id:"break-by-include-sourcetype-select","aria-labelledby":"break-by-include-sourcetype-label",value:t.breakByIncludeSourcetype||"true",onChange:function(e,t){var r=t.value;n({breakByIncludeSourcetype:String(r)})},style:{width:350}},r.createElement(ht().Option,{value:"true",label:"True"}),r.createElement(ht().Option,{value:"false",label:"False"}))),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"break-by-field-input",id:"break-by-field-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Comma separated list of fields:"),r.createElement(Gt(),{id:"break-by-field-input","aria-labelledby":"break-by-field-label",value:t.breakByField||"",onChange:function(e,t){var r=t.value;n({breakByField:r})},placeholder:"region,company",style:{width:350}})))),(u||c)&&r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"break-by-field-dhm-input",id:"break-by-field-dhm-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"break by field:"),r.createElement(Gt(),{id:"break-by-field-dhm-input","aria-labelledby":"break-by-field-dhm-label",value:t.breakByField||"host",onChange:function(e,t){var r=t.value;n({breakByField:r})},placeholder:"host",style:{width:350}}))),(s||u)&&m&&r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:16}},"Optional, if mode is tstats, you can customize the tstats root time span value, defaults to ",s?"30 seconds":"5 minutes"," which is suitable for most use cases, a higher value means less accuracy for latency calculation but less computing costs, and vice versa:"),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tstats-root-span-select",id:"tstats-root-span-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"tstats root time span:"),r.createElement(ht(),{id:"tstats-root-span-select","aria-labelledby":"tstats-root-span-label",value:t.tstatsRootSpan||(s?"30s":"5m"),onChange:function(e,t){var r=t.value;n({tstatsRootSpan:String(r)})},style:{width:350}},r.createElement(ht().Option,{value:"1s",label:"1s (highest accuracy)"}),r.createElement(ht().Option,{value:"5s",label:"5s"}),r.createElement(ht().Option,{value:"10s",label:"10s"}),r.createElement(ht().Option,{value:"30s",label:s?"30s (default, good compromise)":"30s"}),r.createElement(ht().Option,{value:"1m",label:"1m"}),r.createElement(ht().Option,{value:"5m",label:u?"5m (default, best performance for hosts tracking)":"5m"}))),r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:16}},"Optional, if mode is tstats, include or exclude the splunk_server field in the tstats root break by sequence, this adds more accuracy for the latency calculation at the price of more computing costs:"),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tstats-include-splunk-server-select",id:"tstats-include-splunk-server-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"tstats root break by include splunk_server:"),r.createElement(ht(),{id:"tstats-include-splunk-server-select","aria-labelledby":"tstats-include-splunk-server-label",value:t.tstatsIncludeSplunkServer||"False",onChange:function(e,t){var r=t.value;n({tstatsIncludeSplunkServer:String(r)})},style:{width:350}},r.createElement(ht().Option,{value:"True",label:"Include"}),r.createElement(ht().Option,{value:"False",label:"Exclude"}))),s&&r.createElement(r.Fragment,null,r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:16}},"Optional, if mode is tstats, include or exclude the host field in the tstats root break by sequence, this adds more accuracy for the latency calculation at the price of more computing costs:"),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tstats-include-host-select",id:"tstats-include-host-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"tstats root break by include host:"),r.createElement(ht(),{id:"tstats-include-host-select","aria-labelledby":"tstats-include-host-label",value:t.tstatsIncludeHost||"False",onChange:function(e,t){var r=t.value;n({tstatsIncludeHost:String(r)})},style:{width:350}},r.createElement(ht().Option,{value:"True",label:"Include"}),r.createElement(ht().Option,{value:"False",label:"Exclude"}))))))},Xm=function(e){var t=e.value,n=e.onChange,a=e.onValidityChange,o=e.component,i=Ce().colorScheme,l=r.useMemo(function(){return"light"===i?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[i]),s="mhm"===o;return r.useEffect(function(){t.earliest||n({earliest:s?"-60m":"-4h"}),t.latest||n({latest:s?"-5m":"+4h"}),s||(t.indexEarliest||n({indexEarliest:"-4h"}),t.indexLatest||n({indexLatest:"+4h"}))},[s]),r.useEffect(function(){var e=!(!t.earliest||!t.latest);s||(e=e&&!(!t.indexEarliest||!t.indexLatest)),a&&a(e)},[s,t.earliest,t.latest,t.indexEarliest,t.indexLatest,a]),r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:l.textSecondary,marginBottom:16}},"Define time range quantifiers for the hybrid tracker:"),r.createElement("div",{style:{display:"flex",gap:16,marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"earliest-input",id:"earliest-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Earliest: (ex: -4h)"),r.createElement(Gt(),{id:"earliest-input","aria-labelledby":"earliest-label",value:t.earliest||"",onChange:function(e,t){var r=t.value;n({earliest:r})},placeholder:"-4h",style:{width:200}})),r.createElement("div",null,r.createElement("label",{htmlFor:"latest-input",id:"latest-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Latest: (ex: +4h)"),r.createElement(Gt(),{id:"latest-input","aria-labelledby":"latest-label",value:t.latest||"",onChange:function(e,t){var r=t.value;n({latest:r})},placeholder:"+4h",style:{width:200}}))),!s&&r.createElement("div",{style:{display:"flex",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"index-earliest-input",id:"index-earliest-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Indexed Earliest: (ex: -4h)"),r.createElement(Gt(),{id:"index-earliest-input","aria-labelledby":"index-earliest-label",value:t.indexEarliest||"",onChange:function(e,t){var r=t.value;n({indexEarliest:r})},placeholder:"-4h",style:{width:200}})),r.createElement("div",null,r.createElement("label",{htmlFor:"index-latest-input",id:"index-latest-label",style:{display:"block",marginBottom:8,fontSize:14,color:l.textSecondary}},"Indexed Latest: (ex: +4h)"),r.createElement(Gt(),{id:"index-latest-input","aria-labelledby":"index-latest-label",value:t.indexLatest||"",onChange:function(e,t){var r=t.value;n({indexLatest:r})},placeholder:"+4h",style:{width:200}}))))},Vm=function(e){var t=e.value,n=e.onChange,a=e.onValidityChange,o=Ce().colorScheme,i=r.useMemo(function(){return"light"===o?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[o]);return r.useEffect(function(){t.cronSchedule||n({cronSchedule:"*/5 * * * *"})},[]),r.useEffect(function(){var e=!!t.cronSchedule;a&&a(e)},[t.cronSchedule,a]),r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:i.textSecondary,marginBottom:16}},"Define the cron schedule for the hybrid tracker:"),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,marginBottom:8,color:i.text}},"TrackMe automatically dispatches the scheduled reports using a randomization of the cron schedule during the report creation, for optimization purposes."),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:i.text}},"For instance, a typical every 5 minutes cron (*/5 * * * *) will be randomly translated into an every 5 minutes schedule from */5, 1-56/5, and so forth.")),r.createElement("div",null,r.createElement("div",null,r.createElement("label",{htmlFor:"cron-schedule-input",id:"cron-schedule-label",style:{display:"block",marginBottom:8,fontSize:14,color:i.textSecondary}},"Cron schedule: (ex: */5 * * * *)"),r.createElement(Gt(),{id:"cron-schedule-input","aria-labelledby":"cron-schedule-label",value:t.cronSchedule||"",onChange:function(e,t){var r=t.value;n({cronSchedule:r})},placeholder:"*/5 * * * *",style:{width:300}}))))};function Um(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Km(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Km(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Km(d,"constructor",u),Km(u,"constructor",s),s.displayName="GeneratorFunction",Km(u,a,"GeneratorFunction"),Km(d),Km(d,a,"Generator"),Km(d,r,function(){return this}),Km(d,"toString",function(){return"[object Generator]"}),(Gm=function(){return{w:o,m:f}})()}function Km(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Km=function(e,t,n,r){function o(t,n){Km(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Km(e,t,n,r)}function Jm(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Zm(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Jm(o,r,a,i,l,"next",e)}function l(e){Jm(o,r,a,i,l,"throw",e)}i(void 0)})}}const Qm=function(e){var t,n,a=e.value,o=e.component,i=e.tenantId,l=e.simulating,u=e.setSimulating,d=e.simulationResults,p=e.setSimulationResults,h=e.simulationSearch,y=e.setSimulationSearch,b=e.simulationError,g=e.setSimulationError,M=e.simulationEntityCount,w=e.setSimulationEntityCount,S=Ce().colorScheme,k=r.useMemo(function(){return(0,v.makeCreateToast)(_())},[]),C=r.useMemo(function(){return"light"===S?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[S]),E=r.useCallback(function(e){return{display:"inline-block",width:10,height:10,borderRadius:"50%",background:e,marginRight:6,verticalAlign:"middle"}},[]),A=r.useCallback(function(e){if(!e)return null;var t=String(e).toLowerCase(),n=t.includes("success")||"green"===t||"1"===t?"#4caf50":"#d32f2f";return r.createElement("span",{style:E(n)})},[E]),L=r.useCallback(Zm(Gm().m(function e(){var t,n,r,l,s,c,d,f,m,h,b,v;return Gm().w(function(e){for(;;)switch(e.p=e.n){case 0:if(i&&a.account&&a.searchMode&&a.rootConstraint){e.n=1;break}return k({type:"error",title:"Missing required fields",message:"Please complete the previous steps before simulating."}),e.a(2);case 1:return u(!0),g(null),p([]),w(0),e.p=2,n="mhm"===o,r="none",(t="dsm"===o)?"merged"===a.breakByMode?r="merged":"custom"===a.breakByMode&&(r=a.breakByField||""):r=a.breakByField||"none",l=n?"mstats":a.searchMode||"tstats",s={component:o,account:a.account,search_mode:l,earliest_time:a.earliest||(n?"-60m":"-4h"),latest_time:a.latest||(n?"-5m":"+4h"),cron_schedule:a.cronSchedule||"*/5 * * * *",search_constraint:a.rootConstraint||"",breakby_field:r},n||(s.index_earliest_time=a.indexEarliest||"-4h",s.index_latest_time=a.indexLatest||"+4h"),t&&"custom"===a.breakByMode&&a.breakByIncludeSourcetype&&(s.breakby_field_include_sourcetype=a.breakByIncludeSourcetype),e.n=3,Dm(s);case 3:if(c=e.v,y(c.tracker_simulation_search||""),c.tracker_simulation_search)try{d=[],Ee.A.create({search:"".concat(c.tracker_simulation_search," | `trackme_hybrid_tracker_simulation`"),earliest_time:a.earliest||"-4h",latest_time:a.latest||"+4h"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];d=t,p(t)}},error:function(e){var t=(null==e?void 0:e.message)||(null==e?void 0:e.toString())||"Search execution failed";console.error("Search error:",e),g(t),u(!1),k({type:"error",title:"Simulation search failed",message:t})},complete:function(){var e;u(!1);var t=d.length>0&&null!==(e=d[0])&&void 0!==e&&e.dcount_entities?d[0].dcount_entities:d.length;w(t),k(t>0?{type:"success",title:"Simulation successful",message:"Found ".concat(t," entities. Review the results before proceeding.")}:{type:"warning",title:"No entities found",message:"The simulation completed but no entities were returned. Verify your search constraint."})}})}catch(e){f=(null==e?void 0:e.message)||(null==e?void 0:e.toString())||"Failed to run search",console.error("Failed to run search:",e),g(f),u(!1),k({type:"error",title:"Simulation failed",message:f})}else h=c.results||[],p(h),u(!1),b=h.length>0&&null!==(m=h[0])&&void 0!==m&&m.dcount_entities?h[0].dcount_entities:h.length,w(b),k(b>0?{type:"success",title:"Simulation successful",message:"Found ".concat(b," entities. Review the results before proceeding.")}:{type:"warning",title:"No entities found",message:"The simulation completed but no entities were returned. Verify your search constraint."});e.n=5;break;case 4:e.p=4,v=e.v,g(v.message||"Failed to simulate hybrid tracker"),k({type:"error",title:"Simulation failed",message:v.message||"An error occurred during simulation"}),u(!1);case 5:return e.a(2)}},e,null,[[2,4]])})),[a,o,i,k,u,w,g,p,y]);return r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:C.textSecondary,marginBottom:16}},"Test the search tracker execution and the entities discovery:"),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:C.text}},"The simulation runs an overview and superficial search to verify that your configuration is operational and that you can retrieve entities, for a complete performance test, run the burn test in the next step."),r.createElement("div",{style:{marginBottom:20}},r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:L,disabled:l},l?"Simulating...":"Simulate the search")),l&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"small"})),b&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},b),h&&!l&&r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:C.text}},"Simulation Search Query:"),r.createElement("pre",{style:{padding:12,backgroundColor:C.backgroundSecondary,border:"1px solid ".concat(C.border),borderRadius:4,overflow:"auto",fontSize:12,fontFamily:"monospace",color:C.text}},h)),d.length>0&&!l&&r.createElement("div",null,r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:C.text}},"Simulation Results (",M||d.length," entities found):"),r.createElement("div",{style:{maxHeight:400,overflow:"auto",border:"1px solid ".concat(C.border),borderRadius:4,position:"relative"}},h&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(h){var e,t="".concat(h," | `trackme_hybrid_tracker_simulation`"),n="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(a.earliest||"-4h"),"&latest=").concat(encodeURIComponent(a.latest||"+4h")),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search")))),(t=function(e){for(var t=e.toLowerCase(),n=0,r=Object.entries({status:100,stat:100,simulation_result:400,simulation_re:400,dcount_entities:120,dco:120,entities_sample:600,entities:600,indexes:400,index:400,data_index:200,data_sourcetype:200,object:300,metric_index:200,metric_name:200,metric_category:150,host:200});n0?Object.keys(d[0]):[],r.createElement(dt(),null,r.createElement(dt().Head,null,n.map(function(e){var n=t(e);return r.createElement(dt().HeadCell,{key:e,style:{minWidth:n,whiteSpace:"nowrap"}},e)})),r.createElement(dt().Body,null,d.slice(0,100).map(function(e,a){var o=Object.keys(e).map(function(t){return"".concat(t,"-").concat(e[t])}).join("_")||"row-".concat(a);return r.createElement(dt().Row,{key:o},n.map(function(n){var a=e[n],o=t(n),i=n.toLowerCase().includes("status")||n.toLowerCase().includes("stat")||"state"===n.toLowerCase();return r.createElement(dt().Cell,{key:n,style:{minWidth:o}},i?r.createElement("div",{style:{display:"flex",alignItems:"center"}},A(a),r.createElement("span",null,String(a||""))):String(a||""))}))}))))),d.length>100&&r.createElement("div",{style:{fontSize:12,color:C.textSecondary,marginTop:8}},"Showing first 100 of ",d.length," results")))};function eh(e){return eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eh(e)}function th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nh(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(oh(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,oh(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,oh(d,"constructor",u),oh(u,"constructor",s),s.displayName="GeneratorFunction",oh(u,a,"GeneratorFunction"),oh(d),oh(d,a,"Generator"),oh(d,r,function(){return this}),oh(d,"toString",function(){return"[object Generator]"}),(ah=function(){return{w:o,m:f}})()}function oh(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}oh=function(e,t,n,r){function o(t,n){oh(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},oh(e,t,n,r)}function ih(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function lh(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ih(o,r,a,i,l,"next",e)}function l(e){ih(o,r,a,i,l,"throw",e)}i(void 0)})}}const sh=function(e){var t=e.value,n=e.component,a=e.tenantId,o=e.tenantOwner,i=e.loadingSearch,l=e.setLoadingSearch,u=e.runningBurnTest,d=e.setRunningBurnTest,p=e.burnTestSearch,h=e.setBurnTestSearch,y=e.burnTestResults,b=e.setBurnTestResults,g=e.burnTestError,M=e.setBurnTestError,w=Ce().colorScheme,S=r.useMemo(function(){return(0,v.makeCreateToast)(_())},[]),k=r.useMemo(function(){return"light"===w?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[w]),E=r.useCallback(lh(ah().m(function e(){var r,i,s,u,c,d,f,p,m;return ah().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a){e.n=1;break}return S({type:"error",title:"Missing required field",message:"tenant_id is required."}),e.a(2);case 1:if(t.trackerName&&""!==t.trackerName.trim()){e.n=2;break}return S({type:"error",title:"Missing required field",message:"tracker_name is required."}),e.a(2);case 2:if(t.account){e.n=3;break}return S({type:"error",title:"Missing required field",message:"account is required."}),e.a(2);case 3:if(i="dhm"===n,s="mhm"===n,!(r="dsm"===n)||"custom"!==t.breakByMode||t.breakByField&&""!==t.breakByField.trim()){e.n=4;break}return S({type:"error",title:"Missing required field",message:"breakByField is required when breakByMode is custom."}),e.a(2);case 4:return l(!0),M(null),e.p=5,u="none",r?"merged"===t.breakByMode?u="merged":"custom"===t.breakByMode&&(u=t.breakByField||""):u=t.breakByField||"none",c="local"===t.account?"local":"remote",d=s?"mstats":t.searchMode||"tstats",f={tenant_id:a,component:n,tracker_name:t.trackerName,tracker_type:c,account:t.account,search_mode:d,root_constraint:t.rootConstraint||"",earliest_time:t.earliest||(s?"-60m":"-4h"),latest_time:t.latest||(s?"-5m":"+4h"),cron_schedule:t.cronSchedule||"*/5 * * * *",breakby_field:u,burn_test:"True",burn_test_runsearch:"False",owner:o},s||(f.index_earliest_time=t.indexEarliest||"-4h",f.index_latest_time=t.indexLatest||"+4h"),r&&"custom"===t.breakByMode&&t.breakByIncludeSourcetype&&(f.breakby_field_include_sourcetype=t.breakByIncludeSourcetype),(r||i)&&"tstats"===d&&(r?(f.dsm_tstats_root_time_span=t.tstatsRootSpan||"30s",f.dsm_tstats_root_breakby_include_splunk_server=t.tstatsIncludeSplunkServer||"False",f.dsm_tstats_root_breakby_include_host=t.tstatsIncludeHost||"False"):i&&(f.dhm_tstats_root_time_span=t.tstatsRootSpan||"5m",f.dhm_tstats_root_breakby_include_splunk_server=t.tstatsIncludeSplunkServer||"False")),e.n=6,Pm(f);case 6:p=e.v,h(p.search||""),S({type:"success",title:"Burn test search generated",message:'Review the search query below, then click "Burn test benchmark" to execute it.'}),e.n=8;break;case 7:e.p=7,m=e.v,M(m.message||"Failed to generate burn test search"),S({type:"error",title:"Failed to generate burn test search",message:m.message||"An error occurred"});case 8:return e.p=8,l(!1),e.f(8);case 9:return e.a(2)}},e,null,[[5,7,8,9]])})),[t,n,a,o,S,M,h,l]),A=r.useCallback(lh(ah().m(function e(){var r,i,l,s,u,c,f,p,m,h,y,g;return ah().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a){e.n=1;break}return S({type:"error",title:"Missing required field",message:"tenant_id is required."}),e.a(2);case 1:if(t.trackerName&&""!==t.trackerName.trim()){e.n=2;break}return S({type:"error",title:"Missing required field",message:"tracker_name is required."}),e.a(2);case 2:if(t.account){e.n=3;break}return S({type:"error",title:"Missing required field",message:"account is required."}),e.a(2);case 3:if(i="dhm"===n,l="mhm"===n,!(r="dsm"===n)||"custom"!==t.breakByMode||t.breakByField&&""!==t.breakByField.trim()){e.n=4;break}return S({type:"error",title:"Missing required field",message:"breakByField is required when breakByMode is custom."}),e.a(2);case 4:return d(!0),M(null),b(null),e.p=5,s="none",r?"merged"===t.breakByMode?s="merged":"custom"===t.breakByMode&&(s=t.breakByField||""):s=t.breakByField||"none",u="local"===t.account?"local":"remote",c=l?"mstats":t.searchMode||"tstats",f={tenant_id:a,component:n,tracker_name:t.trackerName,tracker_type:u,account:t.account,search_mode:c,root_constraint:t.rootConstraint||"",earliest_time:t.earliest||(l?"-60m":"-4h"),latest_time:t.latest||(l?"-5m":"+4h"),cron_schedule:t.cronSchedule||"*/5 * * * *",breakby_field:s,burn_test:"True",owner:o},l||(f.index_earliest_time=t.indexEarliest||"-4h",f.index_latest_time=t.indexLatest||"+4h"),r&&"custom"===t.breakByMode&&t.breakByIncludeSourcetype&&(f.breakby_field_include_sourcetype=t.breakByIncludeSourcetype),(r||i)&&"tstats"===c&&(r?(f.dsm_tstats_root_time_span=t.tstatsRootSpan||"30s",f.dsm_tstats_root_breakby_include_splunk_server=t.tstatsIncludeSplunkServer||"False",f.dsm_tstats_root_breakby_include_host=t.tstatsIncludeHost||"False"):i&&(f.dhm_tstats_root_time_span=t.tstatsRootSpan||"5m",f.dhm_tstats_root_breakby_include_splunk_server=t.tstatsIncludeSplunkServer||"False")),e.n=6,Pm(nh(nh({},f),{},{burn_test_runsearch:"False"}));case 6:if(e.v.search){e.n=7;break}throw new Error("No search query returned from burn test generation");case 7:p='| trackme url="/services/trackme/v2/splk_hybrid_trackers/admin/hybrid_tracker_create" mode="post" body="'.concat(JSON.stringify(f).replace(/"/g,'\\"'),'" | table _raw'),m=Ee.A.create({search:p,earliest_time:"-5m",latest_time:"now"},{app:"trackme"}),h=!1,m.getResults().subscribe({next:function(e){var t;if(!e||!0!==e.preview&&!0!==e.isPreview){var n=Array.isArray(null==e?void 0:e.results)?e.results:[],r="_raw";if(n.length>0&&null!==(t=n[0])&&void 0!==t&&t[r]){h=!0;try{var a=JSON.parse(n[0][r]);b(a)}catch(e){b({_raw:n[0][r]})}}}},error:function(e){console.error("Burn test error:",e);var t=e.message||"Failed to execute burn test";(t.includes("409")||t.includes("already exists")||t.includes("Conflict"))&&(t="A tracker or macro with this name already exists. Please use a different tracker name or delete the existing tracker first."),M(t),S({type:"error",title:"Burn test failed",message:t}),d(!1)},complete:function(){h?S({type:"success",title:"Burn test completed",message:"Review the performance results below."}):M("No results returned from burn test"),d(!1)}}),e.n=9;break;case 8:e.p=8,g=e.v,((y=g.message||"Failed to run burn test").includes("409")||y.includes("already exists")||y.includes("Conflict"))&&(y="A tracker or macro with this name already exists. Please use a different tracker name or delete the existing tracker first."),M(y),S({type:"error",title:"Burn test failed",message:y}),d(!1);case 9:return e.a(2)}},e,null,[[5,8]])})),[t,n,a,o,S,M,b,d]);return r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:k.textSecondary,marginBottom:16}},"Optional - Perform a burn test benchmark to review the representative run time performance of the tracker ahead of its creation:"),r.createElement(Mr(),{title:"About burn test benchmark",style:{marginBottom:16}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:k.text}},r.createElement("div",{style:{marginBottom:12}},"Run the burn test benchmark to verify the run time performance of the Hybrid tracker, TrackMe will run the most significant and most expensive part of the search and will return the run time result here."),r.createElement("div",{style:{marginBottom:12}},"Review the run time performance and adjust the Hybrid tracker parameters for scaling purposes:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:0}},r.createElement("li",null,"TrackMe's scalability concepts rely on Hybrid Trackers, at large scale, you should design a data scope according to your context and create multiple Hybrid Trackers to split the heavy work between multiple Hybrid Tracker instances."),r.createElement("li",null,"It is more optimized and less expensive to run multiple smaller Hybrid Trackers, than just a few large trackers. (which however requires an Enterprise or Unlimited license, the Free license is limited to 2 trackers per component)"),r.createElement("li",null,"To avoid generating skipping searches, the run time performance of the trackers needs to comply with the cron schedule, if you run a tracker every 5 minutes, its run time must be below 300 seconds."),r.createElement("li",null,"You can adjust the performance and costs by fine tuning the root statement break by, it is more expensive to include the splunk_server and host in the root breakby. (adds more accuracy to the determination of latency, at the price of more computing costs)"),r.createElement("li",null,"Secondly, adjust the earliest time quantifier, you can reduce the earliest time to reduce the costs of the Hybrid Trackers, but it should never be less than -4h.")))),r.createElement("div",{style:{marginBottom:16,display:"flex",gap:12}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:E,disabled:i||u,style:{maxWidth:250}},i?"Loading...":"Show burn test search"),r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:A,disabled:u||i,style:{maxWidth:250}},u?"Running burn test...":"Burn test benchmark")),(i||u)&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"small"})),g&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},g),p&&!i&&r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:k.text}},"Burn test benchmark show search:"),r.createElement("pre",{style:{padding:12,backgroundColor:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:4,overflow:"auto",fontSize:12,fontFamily:"monospace",color:k.text,maxHeight:300}},p)),y&&!u&&r.createElement("div",null,r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8}},r.createElement("div",{style:{fontSize:14,fontWeight:500,color:k.text}},"Burn test benchmark results:"),r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Results actions",style:{padding:0,width:32,height:32,minWidth:32,maxWidth:32,flex:"0 0 auto"}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},p&&r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(p){var e,r="mhm"===n,a=t.earliest||(r?"-60m":"-4h"),o=t.latest||(r?"-5m":"+4h"),i="/app/trackme/search?q=".concat(encodeURIComponent(p),"&earliest=").concat(encodeURIComponent(a),"&latest=").concat(encodeURIComponent(o)),l=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(i):i;window.open(l,"_blank","noopener")}}},"Open in search"),r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(C(),null),onClick:A,disabled:u||i},"Refresh")))),r.createElement("div",{style:{padding:12,backgroundColor:k.backgroundSecondary,border:"1px solid ".concat(k.border),borderRadius:4,overflow:"auto",maxHeight:400,position:"relative"}},r.createElement(Mt(),{json:y,defaultExpanded:!0}))))},uh=function(e){var t=e.value,n=Ce().colorScheme,a=r.useMemo(function(){return"light"===n?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[n]);return r.createElement("div",null,r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:12,color:a.text}},"Summary of configuration:"),r.createElement("div",{style:{backgroundColor:a.backgroundSecondary,padding:16,borderRadius:4,fontSize:13,fontFamily:"monospace",color:a.text}},r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Tracker Name:")," ",t.trackerName||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Account:")," ",t.account||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Search Mode:")," ",t.searchMode||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Break By Mode:")," ",t.breakByMode||"Not set"),"custom"===t.breakByMode&&t.breakByField&&r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Break By Fields:")," ",t.breakByField),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Cron Schedule:")," ",t.cronSchedule||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Time Range:")," ",t.earliest||"Not set"," to ",t.latest||"Not set")))};function ch(e){return ch="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ch(e)}function dh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fh(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(hh(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,hh(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,hh(d,"constructor",u),hh(u,"constructor",s),s.displayName="GeneratorFunction",hh(u,a,"GeneratorFunction"),hh(d),hh(d,a,"Generator"),hh(d,r,function(){return this}),hh(d,"toString",function(){return"[object Generator]"}),(mh=function(){return{w:o,m:f}})()}function hh(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}hh=function(e,t,n,r){function o(t,n){hh(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},hh(e,t,n,r)}function yh(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function bh(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){yh(o,r,a,i,l,"next",e)}function l(e){yh(o,r,a,i,l,"throw",e)}i(void 0)})}}function gh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return vh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=2&&!0!==o?x("There are ".concat(s," splk-").concat(a," active hybrid trackers and this deployment is currently running in Free limited edition mode. The Free limited edition mode is limited to 2 active hybrid trackers per component at a time. To create a new tracker, you can disable or delete an existing tracker, register a valid license or start a Trial period.")):u>=6&&"free_extended"===i?x("There are ".concat(u," active hybrid trackers in total and this deployment is currently running in Free extended edition mode. The Free extended edition mode is limited to 6 active hybrid trackers globally at a time. To create a new tracker, you can disable or delete an existing tracker, register a valid license or start a Trial period.")):u>=16&&"enterprise"===i&&x("There are ".concat(u," active hybrid trackers in total and this deployment is currently running in Enterprise edition mode. The Enterprise limited edition mode is limited to 16 active hybrid trackers globally at a time. To create a new tracker, you can disable or delete an existing tracker, register a valid Unlimited license or start a Trial period.")),E(!0),e.n=5;break;case 4:e.p=4,e.v,E(!0);case 5:return e.a(2)}},e,null,[[1,4]])})),[n,a]);r.useEffect(function(){t&&n&&!C&&me()},[t,n,C,me]),r.useEffect(function(){if(t){var e="mhm"===a,n="dsm"===a,r="dhm"===a,o={trackerName:Fm(),account:"local",searchMode:e?"mstats":"tstats",breakByMode:n?"standard":void 0,breakByField:r||e?"host":void 0,cronSchedule:"*/5 * * * *",earliest:e?"-60m":"-4h",latest:e?"-5m":"+4h",indexEarliest:e?void 0:"-4h",indexLatest:e?void 0:"+4h",rootConstraint:e?"(index=* OR index=_metrics) splunk_server=* metric_name=* metric_name!=trackme:*":"(index=*) (splunk_server=*) (sourcetype!=stash sourcetype!=*too_small sourcetype!=modular_alerts:trackme* sourcetype!=trackme:*)",tstatsRootSpan:n?"30s":r?"5m":void 0,tstatsIncludeSplunkServer:n||r?"False":void 0,tstatsIncludeHost:n?"False":void 0};p(function(e){return 0===Object.keys(e).length?fh({},o):(e.trackerName,fh(fh({},o),e))})}else p({}),y("step1"),x(null),E(!1),M(!1),O(null),z(!1),B(!1),F([]),W(""),X(null),$(0),J(!1),te(!1),ae(""),le(null),ce(null)},[t,a]);var he=r.useCallback(function(e){p(function(t){return fh(fh({},t),e)})},[]),ye=r.useCallback(function(e,t){},[]);r.useEffect(function(){var e=!(!f.trackerName||!f.account||!1===L);ye("step1",e)},[f.trackerName,f.account,L,ye]);var be=r.useCallback(bh(mh().m(function e(){var t,r,i,u,c,d,p,m,h,y;return mh().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&f.trackerName&&f.account){e.n=1;break}return de({type:"error",title:"Missing required fields",message:"Please complete all required fields."}),e.a(2);case 1:if(!S){e.n=2;break}return de({type:"error",title:"License limit exceeded",message:S}),e.a(2);case 2:return M(!0),e.p=3,t=Nm(f.trackerName||""),i="dhm"===a,u="mhm"===a,c="none",(r="dsm"===a)?"merged"===f.breakByMode?c="merged":"custom"===f.breakByMode&&(d=(d=(f.breakByField||"").split(",")).filter(function(e){return"index"!==e.trim()&&"sourcetype"!==e.trim()}),c=d.join(",")):c=f.breakByField||"none",p="local"===f.account?"local":"remote",m=u?"mstats":f.searchMode||"tstats",h={tenant_id:n,component:a,tracker_name:t,tracker_type:p,account:f.account,search_mode:m,root_constraint:f.rootConstraint||"",earliest_time:f.earliest||(u?"-60m":"-4h"),latest_time:f.latest||(u?"-5m":"+4h"),cron_schedule:f.cronSchedule||"*/5 * * * *",breakby_field:c,owner:s},u||(h.index_earliest_time=f.indexEarliest||"-4h",h.index_latest_time=f.indexLatest||"+4h"),r&&"custom"===f.breakByMode&&f.breakByIncludeSourcetype&&(h.breakby_field_include_sourcetype=f.breakByIncludeSourcetype),(r||i)&&"tstats"===m&&(r?(h.dsm_tstats_root_time_span=f.tstatsRootSpan||"30s",h.dsm_tstats_root_breakby_include_splunk_server=f.tstatsIncludeSplunkServer||"False",h.dsm_tstats_root_breakby_include_host=f.tstatsIncludeHost||"False"):i&&(h.dhm_tstats_root_time_span=f.tstatsRootSpan||"5m",h.dhm_tstats_root_breakby_include_splunk_server=f.tstatsIncludeSplunkServer||"False")),e.n=4,zm(h);case 4:de({type:"success",title:"Hybrid tracker created",message:'The tracker "'.concat(t,'" has been created successfully.')}),l(),o(),e.n=6;break;case 5:e.p=5,y=e.v,de({type:"error",title:"Failed to create tracker",message:y.message||"An error occurred while creating the tracker."});case 6:return e.p=6,M(!1),e.f(6);case 7:return e.a(2)}},e,null,[[3,5,6,7]])})),[f,n,a,s,S,de,l,o]),ge=[{id:"step1",label:"Tracker name and Splunk deployment"},{id:"step2",label:"Search mode and constraints"},{id:"step3",label:"Break by logic"},{id:"step4",label:"Time ranges"},{id:"step5",label:"Test and Review"},{id:"step6",label:"Performance benchmark"},{id:"step7",label:"Cron schedule"},{id:"step8",label:"Validate creation"}];return r.createElement(Qi,{open:t,onClose:o,title:"TrackMe Hybrid trackers - create a new tracker"},r.createElement("div",{style:{fontSize:14,marginBottom:16,color:pe.textSecondary}},"Follow these guided steps to define, test and create a new hybrid tracker, scroll down within the screen to navigate through the steps"),S&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},S),r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{activePanelId:h,onChange:function(e,t){var n=t.activePanelId;n&&y(n)},layout:"vertical",style:{minHeight:600}},r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:1,label:ge[0].label,isLight:"step1"!==h}),panelId:"step1"},r.createElement(Wm,{value:f,onChange:he,onValidityChange:function(e){return ye("step1",e)},component:a,tenantId:n,trackerNameValid:L,checkingTrackerName:D})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:2,label:ge[1].label,isLight:"step2"!==h}),panelId:"step2"},r.createElement(Hm,{value:f,onChange:he,onValidityChange:function(e){return ye("step2",e)},component:a,tenantId:n})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:3,label:ge[2].label,isLight:"step3"!==h}),panelId:"step3"},r.createElement(qm,{value:f,onChange:he,onValidityChange:function(e){return ye("step3",e)},component:a,tenantId:n})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:4,label:ge[3].label,isLight:"step4"!==h}),panelId:"step4"},r.createElement(Xm,{value:f,onChange:he,onValidityChange:function(e){return ye("step4",e)},component:a,tenantId:n})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:5,label:ge[4].label,isLight:"step5"!==h}),panelId:"step5"},r.createElement(Qm,{value:f,onChange:he,component:a,tenantId:n,simulating:P,setSimulating:B,simulationResults:N,setSimulationResults:F,simulationSearch:R,setSimulationSearch:W,simulationError:q,setSimulationError:X,simulationEntityCount:U,setSimulationEntityCount:$})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:6,label:ge[5].label,isLight:"step6"!==h}),panelId:"step6"},r.createElement(sh,{value:f,onChange:he,component:a,tenantId:n,tenantOwner:s,loadingSearch:K,setLoadingSearch:J,runningBurnTest:Q,setRunningBurnTest:te,burnTestSearch:re,setBurnTestSearch:ae,burnTestResults:ie,setBurnTestResults:le,burnTestError:ue,setBurnTestError:ce})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:7,label:ge[6].label,isLight:"step7"!==h}),panelId:"step7"},r.createElement(Vm,{value:f,onChange:he,onValidityChange:function(e){return ye("step7",e)},component:a,tenantId:n})),r.createElement(i().Panel,{label:r.createElement(_h,{stepNumber:8,label:ge[7].label,isLight:"step8"!==h}),panelId:"step8"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:pe.textSecondary,marginBottom:16}},"Promote to Live, the new hybrid tracker will be created and executed:"),r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"Review all your settings before creating the tracker. Once created, the tracker will be scheduled and begin monitoring entities according to your configuration."),r.createElement("div",{style:{marginTop:24,marginBottom:24,display:"flex",justifyContent:"flex-end"}},r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:be,disabled:g||!f.trackerName||!f.account||!1===L||null!==S,style:{maxWidth:"200px"}},g?"Creating...":"Create this tracker")),r.createElement(uh,{value:f,onChange:he,component:a,tenantId:n}))))))};function wh(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Sh(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Sh(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Sh(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Sh(d,"constructor",u),Sh(u,"constructor",s),s.displayName="GeneratorFunction",Sh(u,a,"GeneratorFunction"),Sh(d),Sh(d,a,"Generator"),Sh(d,r,function(){return this}),Sh(d,"toString",function(){return"[object Generator]"}),(wh=function(){return{w:o,m:f}})()}function Sh(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Sh=function(e,t,n,r){function o(t,n){Sh(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Sh(e,t,n,r)}function xh(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function kh(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){xh(o,r,a,i,l,"next",e)}function l(e){xh(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ch(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Eh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Oh(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Oh(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Oh(d,"constructor",u),Oh(u,"constructor",s),s.displayName="GeneratorFunction",Oh(u,a,"GeneratorFunction"),Oh(d),Oh(d,a,"Generator"),Oh(d,r,function(){return this}),Oh(d,"toString",function(){return"[object Generator]"}),(Lh=function(){return{w:o,m:f}})()}function Oh(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Oh=function(e,t,n,r){function o(t,n){Oh(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Oh(e,t,n,r)}function Th(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Dh(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Th(o,r,a,i,l,"next",e)}function l(e){Th(o,r,a,i,l,"throw",e)}i(void 0)})}}function zh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0,onChange:j,disabled:!f,style:{cursor:f?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none"}})),r.createElement(dt().HeadCell,{style:{width:80}},"Reports"),F&&r.createElement(dt().HeadCell,{style:{width:80}},"Macro"),r.createElement(dt().HeadCell,{style:{width:200}},"tracker_name"),r.createElement(dt().HeadCell,{style:{width:700}},"knowledge_objects")),r.createElement(dt().Body,null,w.map(function(e){return r.createElement(dt().Row,{key:e.tracker_name},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:k.has(e.tracker_name),onChange:function(){return z(e.tracker_name)},disabled:!f,onFocus:function(e){e.target.blur()},style:{cursor:f?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),N(e.tracker_name,"reports")},"aria-label":"Open reports for ".concat(e.tracker_name),style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(Ge(),{style:{fontSize:14}}))),F&&r.createElement(dt().Cell,null,r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),N(e.tracker_name,"macros")},"aria-label":"Open macros for ".concat(e.tracker_name),style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement(dt().Cell,{style:{width:200}},e.tracker_name),r.createElement(dt().Cell,{style:{width:700}},r.createElement("div",{style:{maxHeight:200,overflow:"auto",width:700}},r.createElement(Mt(),{json:e.knowledge_objects||{},defaultExpanded:!1,style:{backgroundColor:"transparent",color:T.text,fontSize:12}}))))})))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o},"Close"))),r.createElement(Ah,{open:A,tenantId:n,component:a,trackerNames:Array.from(k),onClose:function(){return L(!1)},onSuccess:B}))},Bh=function(e){var t=e.open,n=(e.tenantId,e.onClose),a=e.onCreateUseCaseClick,o=e.onCreateConvergingClick,i=e.onManageClick,l=Ce().colorScheme,s=r.useMemo(function(){return"light"===l?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[l]),u=[{field:"object",mandatory:!0,usage:"name of the object in the collection, any ascii character is accepted",example:"Okta:Production"},{field:"status",mandatory:!0,usage:r.createElement(r.Fragment,null,"An integer representing the health status of the object, according to the following convention:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"1: this stands for ",r.createElement("span",{style:{color:"#009901"}},"green"),", the object is considered in a healthy state"),r.createElement("li",null,"2: this stands for ",r.createElement("span",{style:{color:"#CB0000"}},"red"),", the object is considered unhealthy"),r.createElement("li",null,"3: this stands for ",r.createElement("span",{style:{color:"#CD9934"}},"yellow"),", the object state is considered unknown, therefore in a warning state"))),example:"1"},{field:"group",mandatory:!1,usage:"Grouping of objects related to the same tracker or context, can be optionally defined in the search logic. Same groups can be set across multiple trackers but overlap should be avoided, if group is unset, the tracker name will be used",example:"My group"},{field:"subgroup",mandatory:!1,usage:"An option subgroup, if you wish to have multi-dimensional grouping of objects, you can rely on group and subgroup. You can then set the Tabulator GroupBy option in the Virtual Tenant account, allowing the Tabulator to automatically group entities against the group then sub groups.",example:"My sub group"},{field:"object_description",mandatory:!1,usage:"Describe the object according to your context, for an easier management.",example:"My input"},{field:"status_description_short",mandatory:!1,usage:"A short description of the entity status, driven by the SPL logic and which appears in the main Tabulator table for quick oversight.",example:"Cluster availability: 100%, peers-up: 4, peers-down: 0, peers-unknown: 0"},{field:"status_description",mandatory:!1,usage:"A longer status description for this entity, also driven by the SPL, it appears when opening the entity Overview screen, and from artefacts such as incidents events.",example:"The cluster status is healthy and 100% available, rep factor: 2, search factor: 3, total peers: 4, peers up: 0, peers down or unknown: 0"},{field:"metrics",mandatory:!1,usage:r.createElement(r.Fragment,null,"if relevant you can include any number of Key Performance Indicators (KPIs), according to the following convention:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"A single quote encoded JSON object containing one or more KPI metrics to be ingested into the metric index"),r.createElement("li",null,"A double quotes encoded JSON object containing one or more KPI metrics to be ingested into the metric index"))),example:'| eval metrics = "{" . "\'splunk.license.last_60m_volume_mb\': " . if(isnum(last_60m_volume_mb), last_60m_volume_mb, 0) . ", \'splunk.license.last_4h_volume_mb\': " . if(isnum(last_4h_volume_mb), last_4h_volume_mb, 0) . ", \'splunk.license.last_24h_volume_mb\': " . if(isnum(last_24h_volume_mb), last_24h_volume_mb, 0) . "}"'},{field:"metrics_list",mandatory:!1,usage:r.createElement(r.Fragment,null,"Alternatively to the unique point in time of metrics, you can submit a large amount of metrics in a single search as a list of points of metrics including their timestamp:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"A multivalue field containing a list of metrics with their timestamp, coming from a stats call as: stats values(metrics) as metrics_list"),r.createElement("li",null,"You can use this in conjunction with enabling the option check_last_seen (eval check_last_seen=1) as field part of the results"),r.createElement("li",null,"This will allow TrackMe to automatically store the latest epochtime for the last seen metrics, and use it to prevent generating duplicated metrics, so your search can have an overlap period ensuring not to miss any metrics"),r.createElement("li",null,"If metrics_list is present in the results of the Flex Object search, it replaces the metrics field which will only generate the standard status metric for the entities"),r.createElement("li",null,"Consult Splunk Cloud SVC related use cases for examples of how to use this feature in Flex"))),example:"[{'time': 1715481600, 'kpi1': num_value, 'kpi2': num_value}, {'time': 1715485200, 'kpi1': num_value, 'kpi2': num_value}]"},{field:"default_threshold",mandatory:!1,usage:"A single quote or double quotes encoded JSON object or list of objects containing the default threshold definition. When the tracker is executed and if a default threshold is submitted and valid, the tracker will verify if the entity has a threshold defined yet, if it doesn't the threshold will be automatically created and used.",example:"| eval default_threshold = \"{'metric_name': 'ta_nix.avg_cpu_usage_pct', 'operator': '<', 'value': 90, 'condition_true': 1}\""},{field:"disruption_min_time_sec",mandatory:!1,usage:"Disruption queue management: The minimum time in seconds that a disruption must last to be considered as a disruption event, allowing the entity to be transitioned to red.",example:"900"},{field:"drilldown_search, drilldown_search_earliest, drilldown_search_latest",mandatory:!1,usage:"A drilldown search to be defined for associated entities managed by the tracker, if defined, the user interface provides a shortcut action button to run the drilldown search.",example:"index=_internal sourcetype=splunkd host=idx-i-* log_level=ERROR component=HttpInputDataHandler"},{field:"default_metric",mandatory:!1,usage:"A default metric name to be defined for associated entities managed by the tracker, if defined, the user interface automatically presets the metric in the metric selector for the associated entities.",example:'| eval default_metric="splunk.license.last_24h_volume_mb"'},{field:"outliers_metrics",mandatory:!1,usage:"If metrics were provided, you can define metrics to be added automatically for Machine Learning Outliers detection. A single quote or double quotes encoded JSON dictionary containing one or more KPI metrics and their ML parameters.",example:"| eval outliers_metrics = \"{'splunk.license.last_24h_volume_mb': {'alert_lower_breached': 0, 'alert_upper_breached': 1, 'period_calculation': '-90d', 'time_factor': '%w%H'}}\""},{field:"max_sec_inactive",mandatory:!1,usage:r.createElement(r.Fragment,null,"If for some reasons, there is no activity on a given entity for more than a certain period time, this usually needs to be detected as this can be symptomatic of an issue affecting the use case:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"On a regular basis, TrackMe runs the inactive entities tracker for the tenant and reviews for each entity the time since last inspection by a tracker."),r.createElement("li",null,"If this period goes beyond the max_sec_inactive value, TrackMe forces an update against the entity which goes red for inactivity."),r.createElement("li",null,"The value can be defined as part of the tracker search, if not defined, TrackMe uses 3600 seconds by default."),r.createElement("li",null,"The value is expected in seconds, it can also be set to 0 to disable the behaviour, in this case TrackMe will not attempt to verify the last time since inspection for concerned entities."))),example:"max_sec_inactive=3600"}];return r.createElement(vt(),{open:t,onRequestClose:n,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Flex Objects trackers - Manage and create"}),r.createElement(vt().Body,{style:{backgroundColor:s.background,color:s.text}},r.createElement("div",{style:{padding:"16px 0",maxHeight:700,overflowY:"auto"}},r.createElement("h1",{style:{fontSize:18,fontWeight:600,marginBottom:16,color:s.text}},"Flex Objects tracking: monitor the results of any kind of Splunk search, local or remote, and turn knowledge into value using TrackMe's unique workflow:"),r.createElement("hr",{style:{borderColor:s.border,margin:"20px 0"}}),r.createElement("h2",{style:{fontSize:16,fontWeight:500,marginBottom:12,color:s.text}},"The Flex Object tracking component requires a search that provides one or many entities in a single execution as well as the following output:"),r.createElement("div",{style:{marginTop:20,marginBottom:20,overflowX:"auto"}},r.createElement("table",{style:{width:"100%",borderCollapse:"collapse",border:"1px solid ".concat(s.border)}},r.createElement("thead",null,r.createElement("tr",{style:{backgroundColor:"light"===l?"#409cff":"#1976d2",color:"#ffffff"}},r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(s.border),fontWeight:700}},"Field name"),r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(s.border),fontWeight:700}},"Mandatory/Optional"),r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(s.border),fontWeight:700}},"Usage"),r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(s.border),fontWeight:700}},"Example"))),r.createElement("tbody",null,u.map(function(e,t){var n,a=e.field||"row-".concat(t);return n=t%2==0?"light"===l?"#EBF5FF":"#2d2d2d":s.background,r.createElement("tr",{key:a,style:{backgroundColor:n}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(s.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,e.field))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(s.border)}},e.mandatory?"mandatory":"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(s.border),fontSize:14}},(e.usage,e.usage)),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(s.border),fontFamily:"'Courier New', Courier, monospace",fontSize:14}},e.example))})))))),r.createElement(vt().Footer,{style:{backgroundColor:s.background,borderTop:"1px solid ".concat(s.border)}},r.createElement(c(),{appearance:"secondary",onClick:n},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:function(){a(),n()},style:{marginLeft:10,maxWidth:250}},"Create a new flex use case tracker"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:function(){o(),n()},style:{marginLeft:10,maxWidth:250}},"Create a new flex converging tracker"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:function(){i(),n()},style:{marginLeft:10,maxWidth:250}},"Manage existing flex trackers")))};function Yh(e){return Yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yh(e)}function Nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fh(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Wh(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Wh(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Wh(d,"constructor",u),Wh(u,"constructor",s),s.displayName="GeneratorFunction",Wh(u,a,"GeneratorFunction"),Wh(d),Wh(d,a,"Generator"),Wh(d,r,function(){return this}),Wh(d,"toString",function(){return"[object Generator]"}),(Rh=function(){return{w:o,m:f}})()}function Wh(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Wh=function(e,t,n,r){function o(t,n){Wh(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Wh(e,t,n,r)}function Hh(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function qh(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Hh(o,r,a,i,l,"next",e)}function l(e){Hh(o,r,a,i,l,"throw",e)}i(void 0)})}}var Xh=function(){var e=qh(Rh().m(function e(t){var n,r,a;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/flx_tracker_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t})});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.n=4,n.json();case 4:return a=e.v,e.a(2,Array.isArray(a)?a:a.records||[])}},e)}));return function(t){return e.apply(this,arguments)}}(),Vh=function(){var e=qh(Rh().m(function e(t){var n,r;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/admin/flx_tracker_simulation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Fh({run_simulation:!1,cron_schedule:"*/5 * * * *"},t))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Uh=function(){var e=qh(Rh().m(function e(t){var n,r,a,o,i;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/admin/flx_tracker_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:return n=e.v,e.n=2,n.text();case 2:r=e.v,a=r;try{a=r?JSON.parse(r):{}}catch(e){}if(n.ok){e.n=3;break}throw i=a&&(a.message||(null===(o=a)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.message))||r||n.statusText,new Error(i);case 3:return e.a(2,a)}},e)}));return function(t){return e.apply(this,arguments)}}(),$h=function(){var e=qh(Rh().m(function e(t){var n,r,a,o,i;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/admin/flx_tracker_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:return n=e.v,e.n=2,n.text();case 2:r=e.v,a=r;try{a=r?JSON.parse(r):{}}catch(e){}if(n.ok){e.n=3;break}throw i=a&&(a.message||(null===(o=a)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.message))||r||n.statusText,new Error(i);case 3:return e.a(2,a)}},e)}));return function(t){return e.apply(this,arguments)}}(),Gh=function(){var e=qh(Rh().m(function e(t,n,r){var a,o,i,l,s;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/admin/flx_tracker_delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,hybrid_trackers_list:n,update_comment:r})});case 1:return a=e.v,e.n=2,a.text();case 2:o=e.v,i=o;try{i=o?JSON.parse(o):{}}catch(e){}if(a.ok){e.n=3;break}throw s=i&&(i.message||(null===(l=i)||void 0===l||null===(l=l.payload)||void 0===l?void 0:l.message))||o||a.statusText,new Error(s);case 3:return e.a(2,i)}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),Kh=function(){var e=qh(Rh().m(function e(t,n){var r,a,o,i,l;return Rh().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=n.replace(/ /g,"-").replace(/:/g,"-"),a=encodeURIComponent(JSON.stringify({tracker_id:r})),o="/splunkd/__raw/servicesNS/nobody/trackme/storage/collections/data/kv_trackme_flx_hybrid_trackers_tenant_".concat(t,"?query=").concat(a),e.p=1,e.n=2,J(o,{method:"GET"});case 2:if((i=e.v).ok){e.n=3;break}return e.a(2,!0);case 3:return e.n=4,i.json();case 4:return l=e.v,e.a(2,!Array.isArray(l)||0===l.length);case 5:return e.p=5,e.v,e.a(2,!0)}},e,null,[[1,5]])}));return function(t,n){return e.apply(this,arguments)}}(),Jh=function(){var e=qh(Rh().m(function e(t,n,r){var a,o,i;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/admin/flx_load_uc",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uc_ref:t,tenant_id:n,group:r})});case 1:if((a=e.v).ok){e.n=3;break}return e.n=2,Z(a);case 2:throw o=e.v,new Error(o);case 3:return e.n=4,a.json();case 4:return i=e.v,e.a(2,i.response||i)}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),Zh=function(){var e=qh(Rh().m(function e(t){var n,r,a,o,i;return Rh().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/admin/flx_tracker_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Fh(Fh({},t),{},{burn_test:"True",burn_test_runsearch:"True"}))});case 1:return n=e.v,e.n=2,n.text();case 2:r=e.v,a=r;try{a=r?JSON.parse(r):{}}catch(e){}if(n.ok){e.n=3;break}throw i=a&&(a.message||(null===(o=a)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.message))||r||n.statusText,new Error(i);case 3:return e.a(2,a.payload||a)}},e)}));return function(t){return e.apply(this,arguments)}}();function Qh(e){return Qh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qh(e)}function ey(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ty(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ay(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ay(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,ay(d,"constructor",u),ay(u,"constructor",s),s.displayName="GeneratorFunction",ay(u,a,"GeneratorFunction"),ay(d),ay(d,a,"Generator"),ay(d,r,function(){return this}),ay(d,"toString",function(){return"[object Generator]"}),(ry=function(){return{w:o,m:f}})()}function ay(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}ay=function(e,t,n,r){function o(t,n){ay(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ay(e,t,n,r)}function oy(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function iy(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){oy(o,r,a,i,l,"next",e)}function l(e){oy(o,r,a,i,l,"throw",e)}i(void 0)})}}function ly(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sy(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=32&&"enterprise"===r&&O("There are ".concat(a," active Flex trackers in total and this deployment is currently running in Enterprise edition mode. The Enterprise limited edition mode is limited to 32 active Flex trackers globally at a time. To create a new tracker, you can disable or delete an existing tracker, register a valid Unlimited license or start a Trial period.")),z(!0),e.n=4;break;case 3:e.p=3,o=e.v,console.error("Failed to check license:",o),z(!0);case 4:return e.a(2)}},e,null,[[1,3]])})),[n]);r.useEffect(function(){t&&n&&!D&&Ke()},[t,n,D,Ke]),r.useEffect(function(){t||(h({}),g("step1"),w({}),O(null),z(!1),E(!1),ue(null),xe(null),Le([]),De(""),Pe(0),Ne(!1),Me(!1),Re(null),qe(null),Z(!1),ne(null),oe.current=null,ie.current=null,ae.current=null)},[t]),r.useEffect(function(){t&&h(function(e){return ty(ty({},{trackerName:e.trackerName||Fm(),account:e.account||"local",rootConstraint:e.rootConstraint||"",earliest:e.earliest||"-5m",latest:e.latest||"now",cronSchedule:e.cronSchedule||"*/5 * * * *"}),e)})},[t]),r.useEffect(function(){t&&Ym().then(function(e){he(e)}).catch(function(){he(["local"])})},[t]);var Je=r.useCallback(function(){if(t){if(re.current){try{var e,n;null===(e=(n=re.current).unsubscribe)||void 0===e||e.call(n)}catch(e){}re.current=null}G(!0),Y([]),I([]),H([]),V([]);try{var r=Ee.A.create({search:"| trackmesplkflxgetuc | table uc_vendor, uc_description, uc_category, uc_ref | sort 0 uc_vendor, uc_category, uc_ref",earliest_time:"-5m",latest_time:"+5m"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){Y(t);var n=Array.from(new Set(t.map(function(e){return e.uc_vendor}).filter(Boolean))).sort();I(n)}}},error:function(e){console.error("Failed to load use cases:",e),$e({type:"error",title:"Failed to load use cases",message:e.message||"An error occurred while loading the use case library"}),G(!1)},complete:function(){G(!1)}});re.current={unsubscribe:function(){return r.unsubscribe()}}}catch(e){console.error("Failed to create search job for use cases:",e),$e({type:"error",title:"Failed to load use cases",message:e.message||"An error occurred while loading the use case library"}),G(!1)}}},[t,$e]);r.useEffect(function(){return t&&n&&Je(),function(){if(re.current){try{var e,t;null===(e=(t=re.current).unsubscribe)||void 0===e||e.call(t)}catch(e){}re.current=null}}},[t,n,Je]);var Ze=_m(p.trackerName||"",700),Qe=r.useCallback(iy(ry().m(function e(){var t;return ry().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&Ze){e.n=1;break}return e.a(2);case 1:return fe(!0),e.p=2,e.n=3,Kh(n,Ze);case 3:t=e.v,ue(t),e.n=5;break;case 4:e.p=4,e.v,ue(null);case 5:return e.p=5,fe(!1),e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])})),[n,Ze]);r.useEffect(function(){Ze&&n&&Ze.length>0?Qe():ue(null)},[Ze,n,Qe]),r.useEffect(function(){p.account&&"local"!==p.account?Bm(p.account).then(function(e){ge({success:!0,message:e.message||"Remote search connectivity check was successful"})}).catch(function(e){ge({success:!1,message:e.message||"Failed to validate remote connectivity"})}):ge(null)},[p.account]);var et=r.useCallback(function(e){h(function(t){return ty(ty({},t),e)})},[]);r.useEffect(function(){if(p.useCaseVendor&&P.length>0){var e=Array.from(new Set(P.filter(function(e){return e.uc_vendor===p.useCaseVendor}).map(function(e){return e.uc_category}).filter(Boolean))).sort();H(e),p.useCaseCategory&&!e.includes(p.useCaseCategory)&&et({useCaseCategory:void 0,useCaseRef:void 0})}else H([])},[p.useCaseVendor,p.useCaseCategory,P,et]),r.useEffect(function(){if(p.useCaseVendor&&P.length>0){var e=P.filter(function(e){return e.uc_vendor===p.useCaseVendor});p.useCaseCategory&&"*"!==p.useCaseCategory&&(e=e.filter(function(e){return e.uc_category===p.useCaseCategory}));var t=Array.from(new Set(e.map(function(e){return e.uc_ref}).filter(Boolean))).sort();V(t),p.useCaseRef&&!t.includes(p.useCaseRef)&&et({useCaseRef:void 0})}else V([])},[p.useCaseVendor,p.useCaseCategory,p.useCaseRef,P,et]),r.useEffect(function(){var e=p.useCaseRef&&""!==p.useCaseRef.trim()?p.useCaseRef:null;ae.current=e;var t=e!==oe.current,r=n!==ie.current;if(e&&n&&(t||r)){oe.current=e,ie.current=n;var a=Nm(e),o=function(t){if(!t||""===t.trim())return!0;if(t.startsWith("tracker-"))return!0;var n=e;return t===n||0===t.indexOf(n)&&"-"===t[n.length]},i=p.trackerName,l=o(i)?a:i||a;o(i)&&et({trackerName:a}),Z(!0),Jh(e,n,l).then(function(t){Z(!1),ae.current===e&&(h(function(e){var n=o(e.trackerName);return ty(ty({},e),{},{trackerName:n?a:e.trackerName,rootConstraint:t.uc_search||e.rootConstraint||"",earliest:t.uc_earliest||e.earliest||"-5m",latest:t.uc_latest||e.latest||"now",cronSchedule:t.uc_cron||e.cronSchedule||"*/5 * * * *",useCaseInfo:t})}),ne(t))}).catch(function(t){Z(!1),ae.current===e&&$e({type:"error",title:"Failed to load use case",message:t.message||"An error occurred while loading use case details"})})}else e?n||(ie.current=null,Z(!1),ne(null)):(oe.current=null,ie.current=null,Z(!1),ne(null));return function(){ae.current===e&&(ae.current=null)}},[p.useCaseRef,n,et,$e]);var tt=r.useCallback(function(e,t){w(function(n){return ty(ty({},n),{},ny({},e,t))})},[]);r.useEffect(function(){var e=!(!p.trackerName||!p.account||!1===se);tt("step1",e)},[p.trackerName,p.account,se,tt]),r.useEffect(function(){var e=!!p.rootConstraint;tt("step2",e)},[p.rootConstraint,tt]),r.useEffect(function(){var e=!(!p.earliest||!p.latest);tt("step3",e)},[p.earliest,p.latest,tt]),r.useEffect(function(){var e=!!p.cronSchedule;tt("step6",e)},[p.cronSchedule,tt]);var nt=r.useCallback(iy(ry().m(function e(){var t,r,a,o,i;return ry().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&p.trackerName&&p.account&&p.rootConstraint){e.n=1;break}return $e({type:"error",title:"Missing required fields",message:"Please complete all required fields before simulating."}),e.a(2);case 1:return Me(!0),xe(null),Le([]),Pe(0),De(""),Ne(!1),e.p=2,e.n=3,Vh({component:"flx",tenant_id:n,tracker_name:p.trackerName,account:p.account,earliest_time:p.earliest||"-5m",latest_time:p.latest||"now",cron_schedule:p.cronSchedule||"*/5 * * * *",search_constraint:p.rootConstraint||""});case 3:if(t=e.v,De(t.tracker_simulation_search||""),t.tracker_simulation_search)try{r=[],a="".concat(t.tracker_simulation_search,' | eval tracker_name = "').concat(p.trackerName,'" | trackmesplkflxparse tenant_id="').concat(n,'" context="simulation" remove_raw=true remove_time=true | table * | trackmeprettyjson'),Ee.A.create({search:a,earliest_time:p.earliest||"-5m",latest_time:p.latest||"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=t.length;if(t.length>0)try{var a,o=t[0].metrics;if(o&&"string"==typeof o){var i=JSON.parse(o);i&&"number"==typeof i.count_entities&&(n=i.count_entities)}else null!==(a=t[0].metrics)&&void 0!==a&&a.count_entities&&(n=t[0].metrics.count_entities)}catch(e){}r=t,Le(t),Pe(n)}},error:function(e){var t=(null==e?void 0:e.message)||(null==e?void 0:e.toString())||"Search execution failed";console.error("Search error:",e),xe(t),Me(!1),Ne(!0),$e({type:"error",title:"Simulation search failed",message:t})},complete:function(){Me(!1),Ne(!0);var e=r.length;if(r.length>0)try{var t,n=r[0].metrics;if(n&&"string"==typeof n){var a=JSON.parse(n);a&&"number"==typeof a.count_entities&&(e=a.count_entities)}else null!==(t=r[0].metrics)&&void 0!==t&&t.count_entities&&(e=r[0].metrics.count_entities)}catch(e){}r.length>0?$e({type:"success",title:"Simulation successful",message:"Found ".concat(e," entities. Review the results before proceeding.")}):$e({type:"warning",title:"No entities found",message:"The simulation completed but no entities were returned. Verify your search constraint."})}})}catch(e){o=(null==e?void 0:e.message)||(null==e?void 0:e.toString())||"Failed to run search",console.error("Failed to run search:",e),xe(o),Me(!1),Ne(!0),$e({type:"error",title:"Simulation failed",message:o})}else Le(t.results||[]),Me(!1),Ne(!0),t.results&&t.results.length>0?$e({type:"success",title:"Simulation successful",message:"Found ".concat(t.results.length," entities. Review the results before proceeding.")}):$e({type:"warning",title:"No entities found",message:"The simulation completed but no entities were returned. Verify your search constraint."});e.n=5;break;case 4:e.p=4,i=e.v,xe(i.message||"Failed to simulate flex tracker"),$e({type:"error",title:"Simulation failed",message:i.message||"An error occurred during simulation"}),Me(!1),Ne(!0);case 5:return e.a(2)}},e,null,[[2,4]])})),[p,n,$e]),rt=r.useCallback(iy(ry().m(function e(){var t,r,a,o;return ry().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return $e({type:"error",title:"Missing required field",message:"tenant_id is required."}),e.a(2);case 1:if(p.trackerName&&""!==p.trackerName.trim()){e.n=2;break}return $e({type:"error",title:"Missing required field",message:"tracker_name is required."}),e.a(2);case 2:if(p.account){e.n=3;break}return $e({type:"error",title:"Missing required field",message:"account is required."}),e.a(2);case 3:if(p.rootConstraint){e.n=4;break}return $e({type:"error",title:"Missing required field",message:"root_constraint is required."}),e.a(2);case 4:return Ue(!0),qe(null),Re(null),e.p=5,t="local"===p.account?"local":"remote",e.n=6,Zh({tenant_id:n,component:"flx",tracker_name:p.trackerName,tracker_type:t,account:p.account,root_constraint:p.rootConstraint||"",earliest_time:p.earliest||"-5m",latest_time:p.latest||"now",cron_schedule:p.cronSchedule||"*/5 * * * *",owner:l});case 6:r=e.v,Re(r),$e({type:"success",title:"Burn test completed",message:"Review the performance results below."}),e.n=8;break;case 7:e.p=7,o=e.v,((a=o.message||"Failed to run burn test").includes("409")||a.includes("already exists")||a.includes("Conflict"))&&(a="A tracker or macro with this name already exists. Please use a different tracker name or delete the existing tracker first."),qe(a),$e({type:"error",title:"Burn test failed",message:a});case 8:return e.p=8,Ue(!1),e.f(8);case 9:return e.a(2)}},e,null,[[5,7,8,9]])})),[p,n,l,$e]),at=r.useCallback(iy(ry().m(function e(){var t,r,i;return ry().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&p.trackerName&&p.account&&p.rootConstraint){e.n=1;break}return $e({type:"error",title:"Missing required fields",message:"Please complete all required fields."}),e.a(2);case 1:if(!L){e.n=2;break}return $e({type:"error",title:"License limit exceeded",message:L}),e.a(2);case 2:if(!1!==se){e.n=3;break}return $e({type:"error",title:"Invalid tracker name",message:"A tracker with this name already exists. Please choose a different name."}),e.a(2);case 3:return t=Nm(p.trackerName||""),E(!0),e.p=4,r="local"===p.account?"local":"remote",e.n=5,Uh({tenant_id:n,component:"flx",tracker_name:t,tracker_type:r,account:p.account,root_constraint:p.rootConstraint||"",earliest_time:p.earliest||"-5m",latest_time:p.latest||"now",cron_schedule:p.cronSchedule||"*/5 * * * *",owner:l});case 5:$e({type:"success",title:"Flex tracker created",message:'The tracker "'.concat(t,'" has been created successfully.')}),o(),a(),e.n=7;break;case 6:e.p=6,i=e.v,$e({type:"error",title:"Failed to create tracker",message:i.message||"An error occurred while creating the tracker."});case 7:return e.p=7,E(!1),e.f(7);case 8:return e.a(2)}},e,null,[[4,6,7,8]])})),[p,n,l,L,se,$e,o,a]),ot=[{id:"step1",label:"Tracker name and Splunk deployment"},{id:"step2",label:"Use case & search logic"},{id:"step3",label:"Time ranges"},{id:"step4",label:"Test and Review"},{id:"step5",label:"Performance benchmark"},{id:"step6",label:"Cron schedule"},{id:"step7",label:"Validate creation"}],it=r.useCallback(function(){try{var e=new URL(window.location.href),t="".concat(e.protocol,"//").concat(e.host),n=e.pathname.split("/").filter(function(e){return e&&!["en-US","en-GB","fr-FR"].includes(e)});return n.length>0?"".concat(t,"/").concat(n[0],"/app/trackme/configuration"):"".concat(t,"/app/trackme/configuration")}catch(e){return"#"}},[]);return r.createElement(Qi,{open:t,onClose:a,title:"Flex Objects tracking - create a new tracker"},r.createElement("div",{style:{fontSize:14,marginBottom:16,color:Ge.textSecondary}},"Follow these guided steps to define, test and create a new hybrid tracker, scroll down within the screen to navigate through the steps"),r.createElement(Mr(),{title:"About Flex Objects tracking",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:Ge.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12,fontWeight:500}},"Flex Objects tracking: monitor the results of any kind of Splunk search, local or remote, and turn knowledge into value using TrackMe's unique workflow:"),r.createElement("p",{style:{marginTop:0,marginBottom:12}},"The Flex Object tracking component requires a search that provides one or many entities in a single execution as well as the following output:"),r.createElement("div",{style:{marginTop:20,marginBottom:20,overflowX:"auto"}},r.createElement("table",{style:{width:"100%",borderCollapse:"collapse",border:"1px solid ".concat(Ge.border)}},r.createElement("thead",null,r.createElement("tr",{style:{backgroundColor:"light"===u?"#409cff":"#1976d2",color:"#ffffff"}},r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(Ge.border),fontWeight:700}},"Field name"),r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(Ge.border),fontWeight:700}},"Mandatory/Optional"),r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(Ge.border),fontWeight:700}},"Usage"),r.createElement("th",{style:{padding:"10px",textAlign:"left",border:"1px solid ".concat(Ge.border),fontWeight:700}},"Example"))),r.createElement("tbody",null,r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"object"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"mandatory"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"name of the object in the collection, any ascii character is accepted"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"Okta:Production")),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"status"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"mandatory"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"An integer representing the health status of the object, according to the following convention:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"1: this stands for ",r.createElement("span",{style:{color:"#009901"}},"green"),", the object is considered in a healthy state"),r.createElement("li",null,"2: this stands for ",r.createElement("span",{style:{color:"#CB0000"}},"red"),", the object is considered unhealthy"),r.createElement("li",null,"3: this stands for ",r.createElement("span",{style:{color:"#CD9934"}},"yellow"),", the object state is considered unknown, therefore in a warning state"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"1")),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"group"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"Grouping of objects related to the same tracker or context, can be optionally defined in the search logic. Same groups can be set across multiple trackers but overlap should be avoided, if group is unset, the tracker name will be used"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"My group")),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"subgroup"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"An option subgroup, if you wish to have multi-dimensional grouping of objects, you can rely on group and subgroup. You can then set the Tabulator GroupBy option in the Virtual Tenant account, allowing the Tabulator to automatically group entities against the group then sub groups."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"My sub group")),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"object_description"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"Describe the object according to your context, for an easier management."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"My input")),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"status_description_short"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"A short description of the entity status, driven by the SPL logic and which appears in the main Tabulator table for quick oversight."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"Cluster availability: 100%, peers-up: 4, peers-down: 0, peers-unknown: 0")),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"status_description"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"A longer status description for this entity, also driven by the SPL, it appears when opening the entity Overview screen, and from artefacts such as incidents events."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"The cluster status is healthy and 100% available, rep factor: 2, search factor: 3, total peers: 4, peers up: 0, peers down or unknown: 0")),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"metrics"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"if relevant you can include any number of Key Performance Indicators (KPIs), according to the following convention:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"A single quote encoded JSON object containing one or more KPI metrics to be ingested into the metric index"),r.createElement("li",null,"A double quotes encoded JSON object containing one or more KPI metrics to be ingested into the metric index"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},'| eval metrics = "',"{",'" . "\'splunk.license.last_60m_volume_mb\': " . if(isnum(last_60m_volume_mb), last_60m_volume_mb, 0) . ", \'splunk.license.last_4h_volume_mb\': " . if(isnum(last_4h_volume_mb), last_4h_volume_mb, 0) . ", \'splunk.license.last_24h_volume_mb\': " . if(isnum(last_24h_volume_mb), last_24h_volume_mb, 0) . "',"}",'"')),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"metrics_list"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"Alternatively to the unique point in time of metrics, you can submit a large amount of metrics in a single search as a list of points of metrics including their timestamp:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"A multivalue field containing a list of metrics with their timestamp, coming from a stats call as: stats values(metrics) as metrics_list"),r.createElement("li",null,"You can use this in conjunction with enabling the option check_last_seen (eval check_last_seen=1) as field part of the results"),r.createElement("li",null,"This will allow TrackMe to automatically store the latest epochtime for the last seen metrics, and use it to prevent generating duplicated metrics, so your search can have an overlap period ensuring not to miss any metrics"),r.createElement("li",null,"If metrics_list is present in the results of the Flex Object search, it replaces the metrics field which will only generate the standard status metric for the entities"),r.createElement("li",null,"Consult Splunk Cloud SVC related use cases for examples of how to use this feature in Flex"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"[","{","time: 1715481600, kpi1: num_value","}",", ...]")),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"default_threshold"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"A single quote or double quotes encoded JSON object or list of objects containing the default threshold definition. When the tracker is executed and if a default threshold is submitted and valid, the tracker will verify if the entity has a threshold defined yet, if it doesn't the threshold will be automatically created and used. The score field (0-100) is optional and defaults to 100 if not provided."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},'| eval default_threshold = "',"{","'metric_name': 'ta_nix.avg_cpu_usage_pct', 'operator': '<', 'value': 90, 'condition_true': 1","}",'"')),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"disruption_min_time_sec"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"Disruption queue management: The minimum time in seconds that a disruption must last to be considered as a disruption event, allowing the entity to be transitioned to red."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"900")),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"drilldown_search, drilldown_search_earliest, drilldown_search_latest"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"A drilldown search to be defined for associated entities managed by the tracker, if defined, the user interface provides a shortcut action button to run the drilldown search."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"index=_internal sourcetype=splunkd host=idx-i-* log_level=ERROR")),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"default_metric"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"A default metric name to be defined for associated entities managed by the tracker, if defined, the user interface automatically presets the metric in the metric selector for the associated entities."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},'| eval default_metric="splunk.license.last_24h_volume_mb"')),r.createElement("tr",{style:{backgroundColor:Ge.background}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"outliers_metrics"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"If metrics were provided, you can define metrics to be added automatically for Machine Learning Outliers detection. A single quote or double quotes encoded JSON dictionary containing one or more KPI metrics and their ML parameters."),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},'| eval outliers_metrics = "',"{","'splunk.license.last_24h_volume_mb': ","{","'alert_lower_breached': 0, 'alert_upper_breached': 1, 'period_calculation': '-90d', 'time_factor': '%w%H'","}","}",'"')),r.createElement("tr",{style:{backgroundColor:Ge.backgroundSecondary}},r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontWeight:700}},r.createElement("ul",{style:{margin:0,paddingLeft:20}},r.createElement("li",null,"max_sec_inactive"))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"optional"),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border)}},"If for some reasons, there is no activity on a given entity for more than a certain period time, this usually needs to be detected as this can be symptomatic of an issue affecting the use case:",r.createElement("ul",{style:{marginTop:8,marginLeft:20}},r.createElement("li",null,"On a regular basis, TrackMe runs the inactive entities tracker for the tenant and reviews for each entity the time since last inspection by a tracker."),r.createElement("li",null,"If this period goes beyond the max_sec_inactive value, TrackMe forces an update against the entity which goes red for inactivity."),r.createElement("li",null,"The value can be defined as part of the tracker search, if not defined, TrackMe uses 3600 seconds by default."),r.createElement("li",null,"The value is expected in seconds, it can also be set to 0 to disable the behaviour, in this case TrackMe will not attempt to verify the last time since inspection for concerned entities."))),r.createElement("td",{style:{padding:"10px",border:"1px solid ".concat(Ge.border),fontFamily:"'Courier New', Courier, monospace"}},"max_sec_inactive=3600"))))))),L&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},L),r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{activePanelId:b,onChange:function(e,t){var n=t.activePanelId;n&&g(n)},layout:"vertical",style:{minHeight:600}},r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:1,label:ot[0].label,isLight:"step1"!==b}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Enter a name for the new object and define if the deployment is local or a remote account:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"tracker-name-input",id:"tracker-name-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"New tracker identifier: (will be added as a prefix to entities, and used to group entities)"),r.createElement(Gt(),{id:"tracker-name-input","aria-labelledby":"tracker-name-label",value:p.trackerName||"",onChange:function(e,t){var n=t.value;et({trackerName:n})},onBlur:function(){var e=p.trackerName||"";if(""!==e.trim()){var t=Nm(e);t!==e&&et({trackerName:t})}},placeholder:"tracker-5678",style:{width:350,marginBottom:16}}),de&&r.createElement(s(),{size:"small",style:{marginLeft:10}}),!1===se&&r.createElement(Jt(),{type:"error",style:{marginTop:8}},"A tracker with this name already exists. It must be unique for this tenant."),!0===se&&r.createElement(Jt(),{type:"success",style:{marginTop:8}},"This tracker name is valid and does not exist yet in this tenant.")),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"account-select",id:"account-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Splunk deployment, either local or a configured remote account:"),r.createElement(ht(),{id:"account-select","aria-labelledby":"account-label",value:p.account||"local",onChange:function(e,t){var n=t.value;et({account:String(n)})},style:{width:350}},me.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),r.createElement("div",{style:{marginLeft:22,marginBottom:5}},r.createElement(bt(),{to:it(),openInNewContext:!0,style:{textDecoration:"none"}},"Open the configuration interface to add or manage accounts")),be&&r.createElement("div",{style:{marginTop:16}},be.success?r.createElement(Jt(),{type:"success"},be.message):r.createElement(Jt(),{type:"error"},be.message)))),r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:2,label:ot[1].label,isLight:"step2"!==b}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{marginBottom:32}},r.createElement("div",{style:{fontSize:16,fontWeight:500,marginBottom:16,color:Ge.text}},"You can pre-load a use case from the Flex Objects use case library, or manually define the Flex search logic:"),$&&r.createElement("div",{style:{marginBottom:16}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{marginLeft:8,color:Ge.textSecondary}},"Loading use case library...")),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"vendor-select",id:"vendor-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Vendor:"),r.createElement(ht(),{id:"vendor-select","aria-labelledby":"vendor-label",value:p.useCaseVendor||"",onChange:function(e,t){var n=t.value;et({useCaseVendor:String(n)||void 0,useCaseCategory:void 0,useCaseRef:void 0})},style:{width:350,marginBottom:12},disabled:$},r.createElement(ht().Option,{value:"",label:"-- Select vendor --"}),F.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),p.useCaseVendor&&r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"category-select",id:"category-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Categories:"),r.createElement(ht(),{id:"category-select","aria-labelledby":"category-label",value:p.useCaseCategory||"*",onChange:function(e,t){var n=t.value;et({useCaseCategory:"*"===String(n)?void 0:String(n),useCaseRef:void 0})},style:{width:350,marginBottom:12},disabled:$,filter:!0},r.createElement(ht().Option,{value:"*",label:"ALL"}),W.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),p.useCaseVendor&&r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"usecase-select",id:"usecase-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Use case:"),r.createElement(ht(),{id:"usecase-select","aria-labelledby":"usecase-label",value:p.useCaseRef||"",onChange:function(e,t){var n=t.value;et({useCaseRef:String(n)||void 0})},style:{width:350},disabled:$||!p.useCaseVendor,filter:!0},r.createElement(ht().Option,{value:"",label:"-- Select use case --"}),X.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),r.createElement("div",{style:{marginLeft:22,marginBottom:16}},r.createElement(bt(),{to:"".concat(window.location.origin).concat(window.location.pathname,"/app/trackme/search?q=| trackmesplkflxgetuc"),openInNewContext:!0,style:{textDecoration:"none"}},"Review Flex Objects use cases library")),J&&r.createElement("div",{style:{marginTop:16}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{marginLeft:8,color:Ge.textSecondary}},"Loading use case details...")),te&&r.createElement("div",{style:{marginTop:16,padding:12,backgroundColor:Ge.backgroundSecondary,borderRadius:4}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:Ge.text}},"Use case information:"),r.createElement("div",{style:{maxHeight:400,overflow:"auto"}},r.createElement(Mt(),{json:te,defaultExpanded:!0,style:{backgroundColor:"transparent",color:Ge.text,fontSize:12}})))),r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Fill the root search constraint, you can add any search filters as needed:"),r.createElement("div",{style:{fontSize:14,marginBottom:8,color:Ge.text}},"Enter the Splunk search"),r.createElement(Ut(),{value:p.rootConstraint||"",onChange:function(e,t){var n=t.value;et({rootConstraint:n})},rowsMin:30,style:{width:"100%",fontFamily:"'Courier New', Courier, monospace",backgroundColor:"light"===u?"#ffffff":"#2d2d2d",color:"light"===u?"#000000":"#ffffff"},spellCheck:!1}))),r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:3,label:ot[2].label,isLight:"step3"!==b}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Define time range quantifiers for the hybrid tracker:"),r.createElement("div",{style:{fontSize:14,marginBottom:12,color:Ge.text}},"If the search command is sensible to the time range quantifiers, fill as appropriated."),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:Ge.text}},'Some search commands such as "| rest" are not relying on the time range, therefore you can set a very short time range (earliest: -5m, latest: now)'),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"earliest-input",id:"earliest-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Earliest: (ex: -5m)"),r.createElement(Gt(),{id:"earliest-input","aria-labelledby":"earliest-label",value:p.earliest||"-5m",onChange:function(e,t){var n=t.value;et({earliest:n})},placeholder:"-5m",style:{width:"100%"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"latest-input",id:"latest-label",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Latest: (ex: now)"),r.createElement(Gt(),{id:"latest-input","aria-labelledby":"latest-label",value:p.latest||"now",onChange:function(e,t){var n=t.value;et({latest:n})},placeholder:"now",style:{width:"100%"}}))))),r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:4,label:ot[3].label,isLight:"step4"!==b}),panelId:"step4"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Test the search tracker execution and the entities discovery:"),r.createElement(c(),{appearance:"primary",onClick:nt,disabled:_e||!p.rootConstraint,icon:_e?r.createElement(s(),{size:"small"}):void 0,style:{marginBottom:16}},_e?"Simulating...":"Simulate the search"),Se&&r.createElement("div",{style:{marginBottom:16}},r.createElement(Jt(),{type:"error",style:{marginBottom:Te||p.rootConstraint?12:0}},Se),(Te||p.rootConstraint)&&r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){var e=Te||p.rootConstraint||"";if(e){var t,n="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(p.earliest||"-5m"),"&latest=").concat(encodeURIComponent(p.latest||"now")),r=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search")),Ye&&!_e&&!Se&&0===Ae.length&&(Te||p.rootConstraint)&&r.createElement("div",{style:{marginBottom:16}},r.createElement(Jt(),{type:"info",style:{marginBottom:Te||p.rootConstraint?12:0}},"The simulation completed but no entities were returned. Verify your search constraint."),(Te||p.rootConstraint)&&r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){var e=Te||p.rootConstraint||"";if(e){var t,n="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(p.earliest||"-5m"),"&latest=").concat(encodeURIComponent(p.latest||"now")),r=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search")),Ae.length>0&&r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12}},r.createElement("div",{style:{fontSize:16,fontWeight:500,color:Ge.text}},"Entities count: ",je||Ae.length),Te&&r.createElement("div",{style:{flexShrink:0,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:"4px 8px",width:"fit-content",minWidth:"auto",maxWidth:"fit-content",flex:"0 0 auto",border:"1px solid ".concat(Ge.border),borderRadius:4}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(Te){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(Te),"&earliest=").concat(encodeURIComponent(p.earliest||"-5m"),"&latest=").concat(encodeURIComponent(p.latest||"now")),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"))))),r.createElement("div",{style:{border:"1px solid ".concat(Ge.border),borderRadius:4,overflow:"hidden",backgroundColor:Ge.backgroundSecondary,padding:12}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:12,color:Ge.text}},"Result Data"),r.createElement("div",{style:{maxHeight:500,overflow:"auto"}},Ae.slice(0,10).map(function(e,t){var n=(null==e?void 0:e.object)||(null==e?void 0:e.tracker_name)||"result-".concat(t);return r.createElement("div",{key:n,style:{marginBottom:t10&&r.createElement("div",{style:{marginTop:16,padding:8,backgroundColor:Ge.background,borderRadius:4,fontSize:12,color:Ge.textSecondary,textAlign:"center"}},"... and ",Ae.length-10," more entities")))))),r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:5,label:ot[4].label,isLight:"step5"!==b}),panelId:"step5"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Optional - Perform a burn test benchmark to review the representative run time performance of the tracker ahead of its creation:"),r.createElement(Mr(),{title:"About burn test benchmark",style:{marginBottom:16}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:Ge.text}},r.createElement("div",{style:{marginBottom:12}},"Run the burn test benchmark to verify the run time performance of the Hybrid tracker, TrackMe will run the most significant and most expensive part of the search and will return the run time result here."),r.createElement("div",{style:{marginBottom:12}},"Review the run time performance and adjust the Hybrid tracker parameters for scaling purposes:"),r.createElement("ul",{style:{marginLeft:20,marginBottom:0,lineHeight:1.8}},r.createElement("li",null,"To avoid generating skipping searches, the run time performance of the trackers needs to comply with the cron schedule, if you run a tracker every 5 minutes, its run time must be below 300 seconds."),r.createElement("li",null,"Adjust the earliest and latest time quantifiers, and adapt the cron schedule depending on the context."),r.createElement("li",null,"In some cases, the time quantifiers might not be relevant, such as in most cases searches that imply an interaction with a REST API. (Splunk API or others)")))),r.createElement("div",{style:{marginBottom:16,display:"flex",gap:12}},r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:rt,disabled:Ve||!p.rootConstraint,style:{maxWidth:250}},Ve?"Running burn test...":"Burn test benchmark")),Ve&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"small"})),He&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},He),Ie&&!Ve&&r.createElement("div",null,r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8}},r.createElement("div",{style:{fontSize:14,fontWeight:500,color:Ge.text}},"Burn test benchmark results:"),r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Results actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(C(),null),onClick:rt,disabled:Ve||!p.rootConstraint},"Refresh")))),r.createElement("div",{style:{padding:12,backgroundColor:Ge.backgroundSecondary,borderRadius:4,overflow:"auto",maxHeight:400}},r.createElement(Mt(),{json:Ie,defaultExpanded:!0}))))),r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:6,label:ot[5].label,isLight:"step6"!==b}),panelId:"step6"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Define the cron schedule for the new Flex Tracker:"),r.createElement("div",{style:{fontSize:14,marginBottom:8,color:Ge.text}},"TrackMe automatically dispatches the scheduled reports using a randomization of the cron schedule during the report creation, for optimization purposes."),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:Ge.text}},"For instance, a typical every 5 minutes cron (*/5 * * * *) will be randomly translated into an every 5 minutes schedule from */5, 1-56/5, and so forth."),r.createElement("div",null,r.createElement("label",{htmlFor:"cron-schedule-input-step6",id:"cron-schedule-label-step6",style:{display:"block",marginBottom:8,fontSize:14,color:Ge.textSecondary}},"Cron schedule:"),r.createElement(Gt(),{id:"cron-schedule-input-step6","aria-labelledby":"cron-schedule-label-step6",value:p.cronSchedule||"*/5 * * * *",onChange:function(e,t){var n=t.value;et({cronSchedule:n})},placeholder:"*/5 * * * *",style:{width:300}})))),r.createElement(i().Panel,{label:r.createElement(uy,{stepNumber:7,label:ot[6].label,isLight:"step7"!==b}),panelId:"step7"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:Ge.textSecondary,marginBottom:16}},"Promote to Live, the new hybrid tracker will be created and executed:"),r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"Review all your settings before creating the tracker. Once created, the tracker will be scheduled and begin monitoring entities according to your configuration."),r.createElement("div",{style:{marginTop:24,marginBottom:24,display:"flex",justifyContent:"flex-end"}},r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:at,disabled:k||!p.trackerName||!p.account||!p.rootConstraint||!1===se||null!==L,style:{maxWidth:"200px"}},k?"Creating...":"Create this tracker")),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:12,color:Ge.text}},"Summary of configuration:"),r.createElement("div",{style:{backgroundColor:Ge.backgroundSecondary,padding:16,borderRadius:4,fontSize:13,fontFamily:"monospace",color:Ge.text}},r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Tracker Name:")," ",p.trackerName||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Account:")," ",p.account||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Cron Schedule:")," ",p.cronSchedule||"Not set"),r.createElement("div",{style:{marginBottom:8}},r.createElement("strong",null,"Time Range:")," ",p.earliest||"Not set"," to ",p.latest||"Not set"))))))))};function dy(e){return dy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dy(e)}var fy=["_raw"];function py(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(vy(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,vy(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,vy(d,"constructor",u),vy(u,"constructor",s),s.displayName="GeneratorFunction",vy(u,a,"GeneratorFunction"),vy(d),vy(d,a,"Generator"),vy(d,r,function(){return this}),vy(d,"toString",function(){return"[object Generator]"}),(gy=function(){return{w:o,m:f}})()}function vy(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}vy=function(e,t,n,r){function o(t,n){vy(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},vy(e,t,n,r)}function _y(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function My(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){_y(o,r,a,i,l,"next",e)}function l(e){_y(o,r,a,i,l,"throw",e)}i(void 0)})}}function wy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||Sy(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sy(e,t){if(e){if("string"==typeof e)return xy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xy(e,t):void 0}}function xy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=32&&"enterprise"===n&&O("There are ".concat(r," active Flex trackers in total and this deployment is currently running in Enterprise edition mode. The Enterprise limited edition mode is limited to 32 active Flex trackers globally at a time. To create a new tracker, you can disable or delete an existing tracker, register a valid Unlimited license or start a Trial period.")),z(!0),e.n=4;break;case 3:e.p=3,o=e.v,console.error("Failed to check license:",o),z(!0);case 4:return e.a(2)}},e,null,[[1,3]])})),[a]);r.useEffect(function(){n&&a&&!D&&he()},[n,a,D,he]),r.useEffect(function(){n||(y({}),M("step1"),S({}),O(null),z(!1),E(!1),F([]),W(null),X(null),$(0),se([]),de(""),ne([]))},[n]),r.useEffect(function(){n?fe.current||ae||(fe.current=!0,oe(!0),Q().then(function(e){var t,n=Array.isArray(null==e||null===(t=e.tenants_json)||void 0===t?void 0:t.tenants)?e.tenants_json.tenants.filter(function(e){return"enabled"===e.tenant_status}):[];ne(n),oe(!1)}).catch(function(e){console.error("Failed to load tenants:",e),fe.current=!1,pe({type:"error",title:"Failed to load tenants",message:e.message||"Could not load available tenants"}),oe(!1)})):fe.current=!1},[n,ae,pe]);var ye=r.useCallback(function(e){var t=[];return[["tenant_dsm_enabled","dsm"],["tenant_dhm_enabled","dhm"],["tenant_mhm_enabled","mhm"],["tenant_fqm_enabled","fqm"],["tenant_flx_enabled","flx"],["tenant_wlk_enabled","wlk"]].forEach(function(n){var r=wy(n,2),a=r[0],o=r[1];"1"!==String(e[a])&&1!==e[a]&&!0!==e[a]||t.push(o)}),t},[]);r.useEffect(function(){n&&a&&y(function(e){return yy(yy({},e),{},{trackerName:e.trackerName||Fm(),objectName:e.objectName||"service-availability-001",groupName:e.groupName||"01-Service-Availability",considerOrangeAsUp:void 0!==e.considerOrangeAsUp&&e.considerOrangeAsUp,minPctForGreen:void 0!==e.minPctForGreen?e.minPctForGreen:100,rootConstraint:e.rootConstraint||"(object=* priority=*)"})})},[n,a]);var be=r.useCallback(function(e){y(function(t){return yy(yy({},t),e)})},[]);r.useEffect(function(){if(le.length>0){var e=[];le.forEach(function(t){t.components.forEach(function(n){e.push("".concat(t.tenantId,":").concat(n))})});var t=e.join(",");be({tenantsScope:t})}},[le,be]);var ge=r.useCallback(function(e,t){S(function(n){return yy(yy({},n),{},by({},e,t))})},[]),ve=r.useCallback(function(e){var t=te.find(function(t){return t.tenant_id===e});if(t){var n=ye(t);0!==n.length?le.some(function(t){return t.tenantId===e})?pe({type:"info",title:"Tenant already added",message:'Tenant "'.concat(e,'" is already in the list.')}):se(function(t){return[].concat(my(t),[{tenantId:e,components:[n[0]]}])}):pe({type:"warning",title:"No enabled components",message:'Tenant "'.concat(t.tenant_id,'" has no enabled components.')})}},[te,ye,le,pe]),_e=r.useCallback(function(e){se(function(t){return t.filter(function(t){return t.tenantId!==e})})},[]),Me=r.useCallback(function(e,t){se(function(n){return n.map(function(n){if(n.tenantId===e){var r=n.components.includes(t);return yy(yy({},n),{},{components:r?n.components.filter(function(e){return e!==t}):[].concat(my(n.components),[t])})}return n})})},[]),we=r.useCallback(My(gy().m(function e(){var t,n,r,o,i,l,s;return gy().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a&&h.trackerName&&h.objectName&&h.groupName&&h.tenantsScope&&h.rootConstraint){e.n=1;break}return pe({type:"error",title:"Missing required fields",message:"Please complete all required fields before simulating."}),e.a(2);case 1:return B(!0),W(null),F([]),$(0),X(null),e.p=2,t=h.rootConstraint.replace(/"/g,'\\"'),n='| trackmesplkflxconverging tenants_scope="'.concat(h.tenantsScope,'" object="').concat(h.objectName,'" object_description="Flex converging tracker" group="').concat(h.groupName,'" root_constraint="').concat(t,'" consider_orange_as_up=').concat(h.considerOrangeAsUp?"True":"False",' remove_extra_attributes="True" min_pct_for_green=').concat(h.minPctForGreen||100,"\n| eval max_sec_inactive=3600"),e.n=3,Vh({component:"flx",tenant_id:a,tracker_name:h.trackerName,account:"local",earliest_time:"-5m",latest_time:"now",cron_schedule:"*/5 * * * *",search_constraint:n});case 3:(r=e.v).tracker_simulation_search?(o=[],i=!1,l="".concat(r.tracker_simulation_search,' | eval tracker_name = "').concat(h.trackerName,'" | trackmesplkflxparse tenant_id="').concat(a,'" context="simulation" remove_raw=true remove_time=true | table * | trackmeprettyjson'),X(l),Ee.A.create({search:l,earliest_time:"-5m",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){i=!0;var t=(Array.isArray(null==e?void 0:e.results)?e.results:[]).map(function(e){return e._raw,py(e,fy)}),n=0;if(t.length>0)try{var r,a=t[0].metrics;if(a&&"string"==typeof a){var l=JSON.parse(a);n=l&&"number"==typeof l.count_entities?l.count_entities:t.length}else n=null!==(r=t[0].metrics)&&void 0!==r&&r.count_entities?t[0].metrics.count_entities:t.length}catch(e){n=t.length}else n=t.length;o=t,F(t),$(n),W(null)}},error:function(e){if(i){var t=(null==e?void 0:e.message)||(null==e?void 0:e.toString())||"Search execution failed";console.error("Search error:",e),W(t),B(!1),pe({type:"error",title:"Simulation search failed",message:t})}},complete:function(){B(!1);var e=o.length;if(o.length>0)try{var t,n=o[0].metrics;if(n&&"string"==typeof n){var r=JSON.parse(n);r&&"number"==typeof r.count_entities&&(e=r.count_entities)}else null!==(t=o[0].metrics)&&void 0!==t&&t.count_entities&&(e=o[0].metrics.count_entities)}catch(e){}o.length>0?pe({type:"success",title:"Simulation successful",message:"Found ".concat(e," entities. Review the results before proceeding.")}):pe({type:"warning",title:"No entities found",message:"The simulation completed but no entities were returned. Verify your search constraint."})}})):(B(!1),pe({type:"error",title:"Simulation failed",message:"No simulation search query was returned from the server."})),e.n=5;break;case 4:e.p=4,s=e.v,W(s.message||"Failed to simulate converging tracker"),pe({type:"error",title:"Simulation failed",message:s.message||"An error occurred during simulation"}),B(!1);case 5:return e.a(2)}},e,null,[[2,4]])})),[h,a,pe]),Se=r.useCallback(My(gy().m(function e(){var t,n,r,i;return gy().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a&&h.trackerName&&h.objectName&&h.groupName&&h.tenantsScope&&h.rootConstraint){e.n=1;break}return pe({type:"error",title:"Missing required fields",message:"Please complete all required fields."}),e.a(2);case 1:if(!L){e.n=2;break}return pe({type:"error",title:"License limit exceeded",message:L}),e.a(2);case 2:return t=Nm(h.trackerName||""),E(!0),e.p=3,n=h.rootConstraint.replace(/"/g,'\\"'),r='| trackmesplkflxconverging tenants_scope="'.concat(h.tenantsScope,'" object="').concat(h.objectName,'" object_description="Flex converging tracker" group="').concat(h.groupName,'" root_constraint="').concat(n,'" consider_orange_as_up=').concat(h.considerOrangeAsUp?"True":"False"," min_pct_for_green=").concat(h.minPctForGreen||100,"\n| eval max_sec_inactive=3600"),e.n=4,$h({tenant_id:a,component:"flx",tracker_name:t,tracker_type:"local",account:"local",root_constraint:r,earliest_time:"-5m",latest_time:"now",cron_schedule:"*/5 * * * *",owner:u,flx_type:"converging"});case 4:pe({type:"success",title:"Converging tracker created",message:'The tracker "'.concat(t,'" has been created successfully.')}),l(),o(),e.n=6;break;case 5:e.p=5,i=e.v,pe({type:"error",title:"Failed to create tracker",message:i.message||"An error occurred while creating the tracker."});case 6:return e.p=6,E(!1),e.f(6);case 7:return e.a(2)}},e,null,[[3,5,6,7]])})),[h,a,u,L,pe,l,o]),xe=[{id:"step1",label:"Tracker name"},{id:"step2",label:"Object and configuration"},{id:"step3",label:"Root constraint"},{id:"step4",label:"Test and Review"},{id:"step5",label:"Validate the creation"}];return r.useEffect(function(){var e=!!h.trackerName;ge("step1",e)},[h.trackerName,ge]),r.useEffect(function(){var e=!!(h.objectName&&h.groupName&&h.tenantsScope&&void 0!==h.minPctForGreen);ge("step2",e)},[h.objectName,h.groupName,h.tenantsScope,h.minPctForGreen,ge]),r.useEffect(function(){var e=!!h.rootConstraint;ge("step3",e)},[h.rootConstraint,ge]),r.createElement(Qi,{open:n,onClose:o,title:"Flex Objects tracking - create a new converging tracker"},r.createElement("div",{style:{fontSize:14,marginBottom:16,color:me.textSecondary}},"Follow these guided steps to define, test and create a new Flex converging tracker, scroll down within the screen to navigate through the steps"),r.createElement(Mr(),{title:"What is a converging Flex Tracker?",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:me.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"A converging Flex Tracker is a special type of Flex tracker which correlates multiple entities from one or Virtual Tenants, aggregating them into a single entity represented as the percentage of availability:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:12}},r.createElement("li",null,"The custom command ",r.createElement("code",{style:{color:"#00a4fd"}},"trackmesplkflxconverging")," is used at the source of converging trackers."),r.createElement("li",null,"Entities can be sourced from one or more tenants, as a comma separated list of tenants and their component with the argument ",r.createElement("code",{style:{color:"#00a4fd"}},"tenants_scope"),". (format: :)"),r.createElement("li",null,"The main KPI is the percentage of service availability ",r.createElement("code",{style:{color:"#00a4fd"}},"pct_availability"),", based on the status of entities underneath the converging tracker."),r.createElement("li",null,"The converging tracker aggregates and store the detailed statuses of its entities, for ease of use, in the ",r.createElement("code",{style:{color:"#00a4fd"}},"extra_attributes")," field."),r.createElement("li",null,"The converging entity is ",r.createElement("span",{style:{color:"#009901"}},"green")," if all entities are considered up, ",r.createElement("span",{style:{color:"#CB0000"}},"red")," if at least one entity is down and therefore the percentage of availability is less than 100%, and ",r.createElement("span",{style:{color:"#CD9934"}},"orange")," if no entities are resulting from the scope of the tracker.")),r.createElement("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginTop:20}},r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return J({src:"../../static/app/trackme/img/flx-converging/flx-converging-example.png",alt:"FLX Converging Example"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),J({src:"../../static/app/trackme/img/flx-converging/flx-converging-example.png",alt:"FLX Converging Example"}))},style:{cursor:"pointer",flex:"1 1 300px"},"aria-label":"Click to enlarge FLX Converging Example"},r.createElement("img",{src:"../../static/app/trackme/img/flx-converging/flx-converging-example.png",alt:"FLX Converging Example",style:{width:"100%",height:"auto",border:"1px solid ".concat(me.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}})),r.createElement("div",{role:"button",tabIndex:0,onClick:function(){return J({src:"../../static/app/trackme/img/flx-converging/flx_converging_diagram.png",alt:"FLX Converging Diagram"})},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),J({src:"../../static/app/trackme/img/flx-converging/flx_converging_diagram.png",alt:"FLX Converging Diagram"}))},style:{cursor:"pointer",flex:"1 1 300px"},"aria-label":"Click to enlarge FLX Converging Diagram"},r.createElement("img",{src:"../../static/app/trackme/img/flx-converging/flx_converging_diagram.png",alt:"FLX Converging Diagram",style:{width:"100%",height:"auto",border:"1px solid ".concat(me.border),borderRadius:4,transition:"transform 0.2s ease, box-shadow 0.2s ease",display:"block"},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"}}))))),L&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},L),r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{activePanelId:g,onChange:function(e,t){var n=t.activePanelId;n&&M(n)},layout:"vertical",style:{minHeight:600}},r.createElement(i().Panel,{label:r.createElement(ky,{stepNumber:1,label:xe[0].label,isLight:"step1"!==g}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Enter a name for the new tracker, this will be used to name the wrapper and tracker searches:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"tracker-name-input",id:"tracker-name-label",style:{display:"block",marginBottom:8,fontSize:14,color:me.textSecondary}},"New tracker identifier:"),r.createElement(Gt(),{id:"tracker-name-input","aria-labelledby":"tracker-name-label",value:h.trackerName||"",onChange:function(e,t){var n=t.value;be({trackerName:n})},onBlur:function(){var e=h.trackerName||"";if(""!==e.trim()){var t=Nm(e);t!==e&&be({trackerName:t})}},placeholder:"tracker-5678",style:{width:500}}))))),r.createElement(i().Panel,{label:r.createElement(ky,{stepNumber:2,label:xe[1].label,isLight:"step2"!==g}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Enter a name for the new object:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"object-name-input",id:"object-name-label",style:{display:"block",marginBottom:8,fontSize:14,color:me.textSecondary}},"Object name:"),r.createElement(Gt(),{id:"object-name-input","aria-labelledby":"object-name-label",value:h.objectName||"",onChange:function(e,t){var n=t.value;be({objectName:n})},placeholder:"service-availability-001",style:{width:500}}))),r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Enter the group value, this can be either a new group name of an existing group:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"group-name-input",id:"group-name-label",style:{display:"block",marginBottom:8,fontSize:14,color:me.textSecondary}},"Group name:"),r.createElement(Gt(),{id:"group-name-input","aria-labelledby":"group-name-label",value:h.groupName||"",onChange:function(e,t){var n=t.value;be({groupName:n})},placeholder:"01-Service-Availability",style:{width:500}}))),r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Select tenants and their components for the converging tracker. The tracker can source from one or more tenants and their components:"),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{display:"flex",gap:8,alignItems:"flex-start",marginBottom:16}},r.createElement("div",{style:{flex:1,maxWidth:300}},r.createElement("label",{htmlFor:"add-tenant-select",id:"add-tenant-label",style:{display:"block",marginBottom:8,fontSize:14,color:me.textSecondary}},"Add Tenant:"),ae?r.createElement(s(),{size:"small"}):r.createElement(ht(),{id:"add-tenant-select","aria-labelledby":"add-tenant-label",value:ce,onChange:function(e,t){var n=t.value;n&&"string"==typeof n&&(ve(n),de(""))},style:{width:"100%"}},r.createElement(ht().Option,{value:"",label:"Select a tenant..."}),te.filter(function(e){return e.tenant_id!==a&&!le.some(function(t){return t.tenantId===e.tenant_id})}).map(function(e){return r.createElement(ht().Option,{key:e.tenant_id,value:e.tenant_id,label:"".concat(e.tenant_id).concat(e.tenant_alias?" (".concat(e.tenant_alias,")"):"")})})))),le.length>0&&r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{border:"1px solid ".concat(me.border),borderRadius:4,padding:12,backgroundColor:me.backgroundSecondary}},le.map(function(e,t){var n=e.tenantId,a=e.components,o=te.find(function(e){return e.tenant_id===n}),i=o?ye(o):[],l=t===le.length-1;return r.createElement("div",{key:n,style:{marginBottom:l?0:16,paddingBottom:l?0:16,borderBottom:l?"none":"1px solid ".concat(me.border)}},r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8,gap:8}},r.createElement("div",{style:{fontWeight:500,fontSize:14,color:me.text,flex:1}},n,null!=o&&o.tenant_alias?" (".concat(o.tenant_alias,")"):""),r.createElement(c(),{appearance:"subtle",onClick:function(){return _e(n)},style:{padding:"4px 8px",minWidth:"auto",width:"auto",flexShrink:0,flexGrow:0}},r.createElement(qn(),null))),r.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:12}},i.map(function(e){var t=a.includes(e);return r.createElement("label",{key:e,htmlFor:"component-checkbox-".concat(n,"-").concat(e),style:{display:"flex",alignItems:"center",gap:6,cursor:"pointer",fontSize:14,color:me.text}},r.createElement("input",{id:"component-checkbox-".concat(n,"-").concat(e),type:"checkbox",checked:t,onChange:function(){return Me(n,e)},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none"}}),r.createElement("span",{style:{textTransform:"uppercase"}},e))})))}))),0===le.length&&r.createElement("div",{style:{padding:16,border:"1px dashed ".concat(me.border),borderRadius:4,textAlign:"center",color:me.textSecondary,fontSize:14}},"No tenants selected. Use the dropdown above to add tenants.")),r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Up/Down entities, consider orange status (status=3) as parts of up entities?:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"consider-orange-select",id:"consider-orange-label",style:{display:"block",marginBottom:8,fontSize:14,color:me.textSecondary}},"Up/Down entities:"),r.createElement(ht(),{id:"consider-orange-select","aria-labelledby":"consider-orange-label",value:h.considerOrangeAsUp?"True":"False",onChange:function(e,t){var n=t.value;be({considerOrangeAsUp:"True"===String(n)})},style:{width:500}},r.createElement(ht().Option,{value:"True",label:"True"}),r.createElement(ht().Option,{value:"False",label:"False"})))),r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Enter the minimum percentage of availability required for the status to be green (defaults to 100, which means that all entities must up for the service to be green):"),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"min-green-pct-input",id:"min-green-pct-label",style:{display:"block",marginBottom:8,fontSize:14,color:me.textSecondary}},"Min green %: (int 0-100)"),r.createElement(Gt(),{id:"min-green-pct-input","aria-labelledby":"min-green-pct-label",value:(null===(t=h.minPctForGreen)||void 0===t?void 0:t.toString())||"100",onChange:function(e,t){var n=t.value,r=parseInt(n,10);!Number.isNaN(r)&&r>=0&&r<=100&&be({minPctForGreen:r})},placeholder:"100",style:{width:220}}))))),r.createElement(i().Panel,{label:r.createElement(ky,{stepNumber:3,label:xe[2].label,isLight:"step3"!==g}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Root constraint, define the constraint of the tracker, you can filter on any fields available for the component, such as their name or level of priority:"),r.createElement("div",{style:{fontSize:14,marginBottom:8,color:me.text}},"To filter on high or critical priority, you can use:"),r.createElement("code",{style:{fontFamily:"'Courier New', Courier, monospace",backgroundColor:me.backgroundSecondary,padding:"4px 8px",borderRadius:4,display:"block",marginBottom:16}},"(object=* (priority=high OR priority=critical))"),r.createElement("div",{style:{marginBottom:8}},r.createElement("label",{htmlFor:"root-constraint-textarea",id:"root-constraint-label",style:{fontSize:14,color:me.text,display:"block",marginBottom:8}},"Fill the converging root search constraint, you can add any search filters as needed:"),r.createElement(Ut(),{id:"root-constraint-textarea","aria-labelledby":"root-constraint-label",value:h.rootConstraint||"",onChange:function(e,t){var n=t.value;be({rootConstraint:n})},rowsMin:10,style:{width:"100%",fontFamily:"'Courier New', Courier, monospace",backgroundColor:"light"===d?"#ffffff":"#2d2d2d",color:"light"===d?"#000000":"#ffffff"},spellCheck:!1})))),r.createElement(i().Panel,{label:r.createElement(ky,{stepNumber:4,label:xe[3].label,isLight:"step4"!==g}),panelId:"step4"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:me.textSecondary,marginBottom:16}},"Test the converging tracker execution and results:"),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:me.text}},"Note: the field extra_attributes is removed from the results in simulation mode, for readability purposes."),r.createElement(c(),{appearance:"primary",onClick:we,disabled:P||!h.rootConstraint,icon:P?r.createElement(s(),{size:"small"}):void 0,style:{marginBottom:16}},P?"Simulating...":"Simulate the search"),R&&r.createElement("div",{style:{marginBottom:16}},r.createElement(Jt(),{type:"error",style:{marginBottom:q||h.rootConstraint?12:0}},R),(q||h.rootConstraint)&&r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){if(q){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(q),"&earliest=-5m&latest=now"),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}else if(h.rootConstraint){var r,a=h.rootConstraint.replace(/"/g,'\\"'),o='| trackmesplkflxconverging tenants_scope="'.concat(h.tenantsScope||"",'" object="').concat(h.objectName||"",'" object_description="Flex converging tracker" group="').concat(h.groupName||"",'" root_constraint="').concat(a,'" consider_orange_as_up=').concat(h.considerOrangeAsUp?"True":"False",' remove_extra_attributes="True" min_pct_for_green=').concat(h.minPctForGreen||100,"\n| eval max_sec_inactive=3600"),i="/app/trackme/search?q=".concat(encodeURIComponent(o),"&earliest=-5m&latest=now"),l=null!==(r=window.Splunk)&&void 0!==r&&null!==(r=r.util)&&void 0!==r&&r.make_url?window.Splunk.util.make_url(i):i;window.open(l,"_blank","noopener")}}},"Open in Search")),N.length>0&&r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12}},r.createElement("div",{style:{fontSize:16,fontWeight:500,color:me.text}},"Entities count: ",U||N.length),q&&r.createElement("div",{style:{flexShrink:0,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:"4px 8px",width:"fit-content",minWidth:"auto",maxWidth:"fit-content",flex:"0 0 auto",border:"1px solid ".concat(me.border),borderRadius:4}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(q){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(q),"&earliest=-5m&latest=now"),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}}},"Open in Search"))))),r.createElement("div",{style:{border:"1px solid ".concat(me.border),borderRadius:4,overflow:"hidden",backgroundColor:me.backgroundSecondary,padding:12}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:12,color:me.text}},"Result Data"),r.createElement("div",{style:{maxHeight:500,overflow:"auto"}},N.map(function(e,t){var n=(null==e?void 0:e.object)||(null==e?void 0:e.tracker_name)||"result-".concat(t);return r.createElement("div",{key:n,style:{marginBottom:t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Ay(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Ay(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Ay(d,"constructor",u),Ay(u,"constructor",s),s.displayName="GeneratorFunction",Ay(u,a,"GeneratorFunction"),Ay(d),Ay(d,a,"Generator"),Ay(d,r,function(){return this}),Ay(d,"toString",function(){return"[object Generator]"}),(Ey=function(){return{w:o,m:f}})()}function Ay(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Ay=function(e,t,n,r){function o(t,n){Ay(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ay(e,t,n,r)}function Ly(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Oy(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Ly(o,r,a,i,l,"next",e)}function l(e){Ly(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ty(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Dy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dy(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Py(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Py(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Py(d,"constructor",u),Py(u,"constructor",s),s.displayName="GeneratorFunction",Py(u,a,"GeneratorFunction"),Py(d),Py(d,a,"Generator"),Py(d,r,function(){return this}),Py(d,"toString",function(){return"[object Generator]"}),(jy=function(){return{w:o,m:f}})()}function Py(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Py=function(e,t,n,r){function o(t,n){Py(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Py(e,t,n,r)}function By(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Yy(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){By(o,r,a,i,l,"next",e)}function l(e){By(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fy(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0,onChange:z,disabled:!d,style:{cursor:d?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none"}})),r.createElement(dt().HeadCell,{style:{width:100}},"Actions"),r.createElement(dt().HeadCell,{style:{width:200}},"Tracker Name"),r.createElement(dt().HeadCell,{style:{width:100}},"Type"),r.createElement(dt().HeadCell,{style:{width:700}},"Knowledge Objects")),r.createElement(dt().Body,null,M.map(function(e,t){var n,a=e.tracker_name||"row-".concat(t),o=x.has(e.tracker_name);return r.createElement(dt().Row,{key:a},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:o,onChange:function(){return D(e.tracker_name)},disabled:!d,onFocus:function(e){e.target.blur()},style:{cursor:d?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,(null===(n=e.knowledge_objects)||void 0===n?void 0:n.reports)&&e.knowledge_objects.reports.length>0&&r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),Y(e.tracker_name)},title:"Open reports in Splunk Web",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"Reports",r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement(dt().Cell,{style:{width:200}},e.tracker_name),r.createElement(dt().Cell,{style:{width:100}},e.flx_type||"use_case"),r.createElement(dt().Cell,{style:{width:700}},r.createElement("div",{style:{maxWidth:700,overflow:"auto",width:700}},r.createElement(Mt(),{json:e.knowledge_objects||{}}))))}))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close"))),r.createElement(zy,{open:E,tenantId:n,trackerNames:Array.from(x),onClose:function(){return A(!1)},onSuccess:P}))},Ry=function(e){var t=e.open,n=(e.tenantId,e.onClose),a=e.onCreateCimClick,o=e.onCreateRawClick,i=e.onCreateMonitorOnlyClick,l=e.onManageDictionariesClick,s=e.onManageTrackersClick,u=Ce().colorScheme,d=r.useMemo(function(){return"light"===u?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[u]);return r.createElement(vt(),{open:t,onRequestClose:n,returnFocus:function(){},style:{width:1200}},r.createElement(vt().Header,{title:"Quality trackers - Manage and create"}),r.createElement(vt().Body,null,r.createElement("div",{style:{padding:"16px 0",color:d.text}},r.createElement("h1",{style:{fontSize:18,fontWeight:600,marginBottom:16,color:d.text}},"Fields Quality Monitoring is a two step process which involves a phase of collect jobs and a phase of tracking jobs:"),r.createElement("ul",{style:{lineHeight:1.8,marginBottom:20,marginLeft:20}},r.createElement("li",null,r.createElement("span",{style:{color:"#00a4fd",fontWeight:500}},"Phase 1:")," Collect jobs are created and used to retrieve sample of events from the source, which can be a raw search or datamodel search, events are processed through the quality backend and resulting events are indexed in a summary index of your choice."),r.createElement("li",null,r.createElement("span",{style:{color:"#00a4fd",fontWeight:500}},"Phase 2:")," Tracking jobs are created to parse and investigate these events, discovering and maintaining corresponding entities in the TrackMe quality component.")),r.createElement("h2",{style:{fontSize:16,fontWeight:400,marginBottom:20,color:d.text}},"This approach allows an extensible, scalable and efficient way to monitor the quality of the data in Splunk, for both the Common Information Model (CIM) as well as regular non CIM contexts."),r.createElement("div",{style:{marginTop:20,marginBottom:20,textAlign:"center"}},r.createElement("img",{style:{maxHeight:400,border:"1px solid ".concat(d.border),borderRadius:4},src:"/static/app/trackme/img/vtenant/fqm_tracking.png",alt:"FQM Tracking Workflow"})))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:n},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:function(){a(),n()},style:{maxWidth:300}},"New Quality job (for CIM, generate or use existing dictionary)"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:function(){o(),n()},style:{maxWidth:300}},"New Quality job (for CIM/non-CIM, define or use existing dictionary)"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:function(){i(),n()},style:{maxWidth:300}},"New monitor job only (advanced, re-use events for aggregation)"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:function(){l(),n()},style:{maxWidth:250}},"Manage or Create Data Dictionaries"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:function(){s(),n()},style:{maxWidth:250}},"Manage existing quality trackers")))};function Wy(e){return Wy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wy(e)}function Hy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qy(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Uy(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Uy(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Uy(d,"constructor",u),Uy(u,"constructor",s),s.displayName="GeneratorFunction",Uy(u,a,"GeneratorFunction"),Uy(d),Uy(d,a,"Generator"),Uy(d,r,function(){return this}),Uy(d,"toString",function(){return"[object Generator]"}),(Vy=function(){return{w:o,m:f}})()}function Uy(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Uy=function(e,t,n,r){function o(t,n){Uy(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Uy(e,t,n,r)}function $y(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Gy(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){$y(o,r,a,i,l,"next",e)}function l(e){$y(o,r,a,i,l,"throw",e)}i(void 0)})}}var Ky=function(){var e=Gy(Vy().m(function e(t){var n,r,a;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_tracker_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,component:"fqm"})});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.n=4,n.json();case 4:if(a=e.v,!Array.isArray(a)){e.n=5;break}return e.a(2,a);case 5:return e.a(2,a.payload||a.results||[])}},e)}));return function(t){return e.apply(this,arguments)}}(),Jy=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/admin/fqm_collect_job_simulation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(qy({run_simulation:!1},t))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Zy=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/admin/fqm_collect_job_monitor_only_simulation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(qy(qy({run_simulation:!1},t),{},{component:"fqm"}))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Qy=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/admin/fqm_collect_job_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),eb=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/admin/fqm_collect_job_monitor_only_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),tb=function(){var e=Gy(Vy().m(function e(t,n,r){var a,o;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/admin/fqm_tracker_delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,hybrid_trackers_list:n,update_comment:r})});case 1:if((a=e.v).ok){e.n=3;break}return e.n=2,Z(a);case 2:throw o=e.v,new Error(o);case 3:return e.a(2,a.json())}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),nb=function(){var e=Gy(Vy().m(function e(t){var n,r,a,o;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_get_dictionaries",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t})});case 1:if((r=e.v).ok){e.n=3;break}return e.n=2,Z(r);case 2:throw a=e.v,new Error(a);case 3:return e.n=4,r.json();case 4:return o=e.v,e.a(2,o.dictionaries||(null===(n=o.payload)||void 0===n?void 0:n.dictionaries)||[])}},e)}));return function(t){return e.apply(this,arguments)}}(),rb=function(){var e=Gy(Vy().m(function e(t,n){var r,a,o;return Vy().w(function(e){for(;;)switch(e.n){case 0:return r={},"new"===n.dictionaryOption?(r.datamodel=n.datamodel,r.recommended_fields=n.recommended_fields,r.allow_unknown=n.allow_unknown,r.allow_empty_or_missing=n.allow_empty_or_missing):(r.from_name=n.dictionary_name,r.tenant_id=t),e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_return_data_dictionary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 1:if((a=e.v).ok){e.n=3;break}return e.n=2,Z(a);case 2:throw o=e.v,new Error(o);case 3:return e.a(2,a.json())}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ab=function(){var e=Gy(Vy().m(function e(t,n){var r,a,o;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_return_data_dictionary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,from_name:n,output_mode:"array"})});case 1:if((r=e.v).ok){e.n=3;break}return e.n=2,Z(r);case 2:throw a=e.v,new Error(a);case 3:return e.n=4,r.json();case 4:return o=e.v,e.a(2,Array.isArray(o)?o:[])}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ob=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_create_data_dictionary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),ib=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_import_data_dictionary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),lb=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_delete_data_dictionary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),sb=function(){var e=Gy(Vy().m(function e(t){var n,r;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/write/fqm_update_data_dictionary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(qy(qy({},t),{},{fields_list:"string"==typeof t.fields_list?t.fields_list:JSON.stringify(t.fields_list)}))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),ub=function(){var e=Gy(Vy().m(function e(t,n){var r,a,o;return Vy().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_fqm/fqm_dictionaries_by_trackers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(qy({tenant_id:t},n&&{dictionary_name:n}))});case 1:if((r=e.v).ok){e.n=3;break}return e.n=2,Z(r);case 2:throw a=e.v,new Error(a);case 3:return e.n=4,r.json();case 4:if(!(o=e.v).payload){e.n=5;break}return e.a(2,o.payload);case 5:if(!o||"object"!==Wy(o)||Array.isArray(o)){e.n=6;break}return e.a(2,o);case 6:return e.a(2,{})}},e)}));return function(t,n){return e.apply(this,arguments)}}(),cb=function(){var e=Gy(Vy().m(function e(t,n){var r,a,o,i;return Vy().w(function(e){for(;;)switch(e.n){case 0:return r=encodeURIComponent(JSON.stringify({tracker_id:n})),e.n=1,J("/splunkd/__raw/servicesNS/nobody/trackme/storage/collections/data/kv_trackme_fqm_hybrid_trackers_tenant_".concat(t,"?query=").concat(r),{method:"GET"});case 1:if((a=e.v).ok){e.n=3;break}return e.n=2,Z(a);case 2:throw o=e.v,new Error(o);case 3:return e.n=4,a.json();case 4:return i=e.v,e.a(2,0===i.length)}},e)}));return function(t,n){return e.apply(this,arguments)}}();function db(e){return db="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},db(e)}function fb(e){return function(e){if(Array.isArray(e))return wb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Mb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pb(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return mb(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(mb(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,mb(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,mb(d,"constructor",u),mb(u,"constructor",s),s.displayName="GeneratorFunction",mb(u,a,"GeneratorFunction"),mb(d),mb(d,a,"Generator"),mb(d,r,function(){return this}),mb(d,"toString",function(){return"[object Generator]"}),(pb=function(){return{w:o,m:f}})()}function mb(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}mb=function(e,t,n,r){function o(t,n){mb(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},mb(e,t,n,r)}function hb(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function yb(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){hb(o,r,a,i,l,"next",e)}function l(e){hb(o,r,a,i,l,"throw",e)}i(void 0)})}}function bb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gb(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!e.nodename?gb(gb({},e),{},{nodename:t[0]}):e}),J(!1)}},error:function(){$([]),J(!1)},complete:function(){J(!1)}})}catch(e){$([]),J(!1)}}else $([]),J(!1)},[t,M.datamodel,M.searchType,M.account]),r.useEffect(function(){M.account&&"local"!==M.account?(F(!0),W(null),Bm(M.account).then(function(e){W({success:!0,message:e.message||"Remote search connectivity check was successful"}),F(!1)}).catch(function(e){W({success:!1,message:e.message||"Failed to validate remote connectivity"}),F(!1)})):W(null)},[M.account]);var tn=_m(M.trackerName||"",700),nn=r.useCallback(yb(pb().m(function e(){var t;return pb().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&tn){e.n=1;break}return e.a(2);case 1:return ot(!0),e.p=2,e.n=3,cb(n,tn);case 3:t=e.v,nt(t),e.n=5;break;case 4:e.p=4,e.v,nt(null);case 5:return e.p=5,ot(!1),e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])})),[n,tn]);r.useEffect(function(){tn&&n&&tn.length>0?nn():nt(null)},[tn,n,nn]);var rn=r.useCallback(function(e){w(function(t){return gb(gb({},t),e)})},[]),an=r.useCallback(function(){var e=[];return M.trackerName&&""!==M.trackerName.trim()||e.push("Tracker name"),!1===tt&&e.push("Tracker name (must be unique)"),M.account||e.push("Account"),"raw"===y?M.pseudoDatamodelName&&""!==M.pseudoDatamodelName.trim()||e.push("Pseudo datamodel name (metadata)"):"_raw"===M.searchType&&(M.datamodel&&""!==M.datamodel.trim()||e.push("Datamodel"),!M.datamodel||M.nodename&&""!==M.nodename.trim()||e.push("NodeName")),M.rootConstraint&&""!==M.rootConstraint.trim()||e.push("Search constraint"),M.breakby&&""!==M.breakby.trim()||e.push("Breakby fields definition"),"monitor"!==y&&("existing"!==M.dictionaryOption||M.dictionaryName&&""!==M.dictionaryName.trim()||e.push("Dictionary (existing)"),"new"!==M.dictionaryOption||M.dictionaryName&&""!==M.dictionaryName.trim()||e.push("Dictionary name (new)")),M.cronSchedule&&""!==M.cronSchedule.trim()||e.push("Cron schedule"),M.earliest&&""!==M.earliest.trim()||e.push("Earliest time"),M.latest&&""!==M.latest.trim()||e.push("Latest time"),e},[M,tt,y]),on=0===an().length,ln=r.useCallback(yb(pb().m(function e(){var t,r,a,o;return pb().w(function(e){for(;;)switch(e.n){case 0:if(n&&M.rootConstraint&&M.earliest&&M.latest){e.n=1;break}return e.a(2);case 1:ft(!0),yt(null),st([]);try{t=M.rootConstraint||"",r=M.eventLimit||"1000",a="".concat(t," | head ").concat(r,' | fieldsummary | fields - _time | where values!="[]" | sort 0 field'),_t(a),Ee.A.create({search:a,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];st(t),ft(!1)}},error:function(e){var t=e.message||"Failed to load fieldsummary";yt(t),st([]),ft(!1)},complete:function(){ft(!1)}})}catch(e){o=e.message||"Failed to execute fieldsummary search",yt(o),st([]),ft(!1),Qt({type:"error",title:"Fieldsummary search failed",message:o})}case 2:return e.a(2)}},e)})),[n,M.rootConstraint,M.earliest,M.latest,M.eventLimit,Qt]),sn=r.useCallback(function(){zt&&""!==zt.trim()?St.some(function(e){return e.field_name===zt.trim()})?Qt({type:"error",title:"Field already exists",message:'Field "'.concat(zt.trim(),'" is already in the dictionary')}):(xt(function(e){return[].concat(fb(e),[{field_name:zt.trim(),allow_unknown:Bt,allow_empty_or_missing:Ft,regex:Wt||".*"}])}),jt(""),Yt("False"),It("False"),Ht(".*")):Qt({type:"error",title:"Invalid field name",message:"Please enter a field name"})},[zt,Bt,Ft,Wt,St,Qt]),un=r.useCallback(function(e,t){xt(function(n){return n.map(function(n){return n.field_name===e?gb(gb({},n),t):n})})},[]),cn=r.useCallback(function(){0!==Ot.length?(xt(function(e){return e.filter(function(e){return!Ot.includes(e.field_name)})}),Tt([]),Et({})):Qt({type:"error",title:"No fields selected",message:"Please select at least one field to remove"})},[Ot,Qt]),dn=r.useCallback(function(){0!==St.length?(Et({}),Qt({type:"success",title:"Fields saved",message:"".concat(St.length," field(s) saved to dictionary")})):Qt({type:"error",title:"Empty dictionary",message:"Please add at least one field to the dictionary"})},[St,Qt]),fn=r.useCallback(function(){Et({}),Tt([])},[]),pn=r.useCallback(function(){var e=yb(pb().m(function e(t,r){var a,o,i,l,s,u,c,d,f,p,m,h,y,b,g;return pb().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&t){e.n=1;break}throw new Error("Tenant ID and dictionary name are required");case 1:return e.p=1,e.n=2,nb(n);case 2:a=e.v,o=a.find(function(e){return e.name===t}),e.p=3,(l=JSON.parse(r)).fields&&Array.isArray(l.fields)?i=l.fields.map(function(e){var t="False";"boolean"==typeof e.allow_unknown?t=e.allow_unknown?"True":"False":e.allow_unknown&&(t=e.allow_unknown);var n="False";return"boolean"==typeof e.allow_empty_or_missing?n=e.allow_empty_or_missing?"True":"False":e.allow_empty_or_missing&&(n=e.allow_empty_or_missing),{field_name:e.field_name,allow_unknown:t,allow_empty_or_missing:n,regex:e.regex||".*"}}):l.field_name?(s="False","boolean"==typeof l.allow_unknown?s=l.allow_unknown?"True":"False":l.allow_unknown&&(s=l.allow_unknown),u="False","boolean"==typeof l.allow_empty_or_missing?u=l.allow_empty_or_missing?"True":"False":l.allow_empty_or_missing&&(u=l.allow_empty_or_missing),i=[{field_name:l.field_name,allow_unknown:s,allow_empty_or_missing:u,regex:l.regex||".*"}]):i=Object.keys(l).map(function(e){var t="False";"boolean"==typeof l[e].allow_unknown?t=l[e].allow_unknown?"True":"False":l[e].allow_unknown&&(t=l[e].allow_unknown);var n="False";return"boolean"==typeof l[e].allow_empty_or_missing?n=l[e].allow_empty_or_missing?"True":"False":l[e].allow_empty_or_missing&&(n=l[e].allow_empty_or_missing),{field_name:e,allow_unknown:t,allow_empty_or_missing:n,regex:l[e].regex||".*"}}),e.n=5;break;case 4:throw e.p=4,e.v,new Error("Invalid dictionary JSON format");case 5:if(o){e.n=6;break}return e.n=6,ob({tenant_id:n,dictionary_name:t});case 6:return e.n=7,nb(n);case 7:if(c=e.v,d=c.find(function(e){return e.name===t})){e.n=8;break}throw new Error("Failed to create dictionary");case 8:f={};try{d.json_dict&&((p="string"==typeof d.json_dict?JSON.parse(d.json_dict):d.json_dict).fields&&Array.isArray(p.fields)?p.fields.forEach(function(e){f[e.field_name]=e}):p.field_name?f[p.field_name]=p:f=p)}catch(e){f={}}if(m=new Set(i.map(function(e){return e.field_name})),h=Object.keys(f).filter(function(e){return!m.has(e)}),y=[],b=[],i.forEach(function(e){f[e.field_name]?b.push(e):y.push(e)}),!(h.length>0)){e.n=9;break}return e.n=9,sb({tenant_id:n,dictionary_name:t,action:"delete_fields",fields_list:JSON.stringify(h)});case 9:if(!(y.length>0)){e.n=10;break}return e.n=10,sb({tenant_id:n,dictionary_name:t,action:"add_field",fields_list:y});case 10:if(!(b.length>0)){e.n=11;break}return e.n=11,sb({tenant_id:n,dictionary_name:t,action:"update_fields",fields_list:b});case 11:e.n=13;break;case 12:throw e.p=12,g=e.v,new Error(g.message||"Failed to publish dictionary");case 13:return e.a(2)}},e,null,[[3,4],[1,12]])}));return function(t,n){return e.apply(this,arguments)}}(),[n]),mn=r.useCallback(yb(pb().m(function e(){var t,r,a,o,i,l,s,u,c;return pb().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&M.rootConstraint&&M.trackerName){e.n=1;break}return xe("Missing required fields for simulation."),e.a(2);case 1:if(M.rootConstraint&&""!==M.rootConstraint.trim()){e.n=2;break}return xe("Please define a valid root constraint first! You cannot continue if the search constraint is not set."),e.a(2);case 2:if("monitor"===y||M.account){e.n=3;break}return xe("Missing required fields for simulation."),e.a(2);case 3:if(ue(!0),fe([]),he([]),ge([]),Me(!1),xe(null),e.p=4,"monitor"!==y){e.n=6;break}return r={tenant_id:n,tracker_name:M.trackerName,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now",cron_schedule:M.cronSchedule||"0 1 * * *",search_constraint:M.rootConstraint,object_metadata_list:M.breakby||"",default_fields_success_threshold:M.fieldsSuccessThreshold||"85"},"existing"===M.dictionaryOption&&M.dictionaryName&&(r.dictionary_name=M.dictionaryName,r.fields_to_check_search_command="| inputlookup trackme_fqm_data_dictionary_tenant_".concat(n,' where name = "').concat(M.dictionaryName,'" | head 1 | table json_dict')),e.n=5,Zy(r);case 5:t=e.v,e.n=16;break;case 6:if(a="_raw"===M.searchType?"raw":M.searchType||"raw",o={tenant_id:n,component:"fqm",tracker_name:M.trackerName,account:M.account,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now",cron_schedule:M.cronSchedule||"0 1 * * *",search_constraint:M.rootConstraint,search_type:a,object_metadata_list:M.breakby||"",event_limit:M.eventLimit||"1000",sample_hard_limit:M.benchmarkSamplingHardLimit||"10000",default_fields_success_threshold:M.fieldsSuccessThreshold||"85"},"raw"===y?(o.datamodel=M.pseudoDatamodelName||"raw",o.nodename="raw"):(o.datamodel=M.datamodel||"",o.nodename=M.nodename||""),"new"!==M.dictionaryOption){e.n=13;break}if(!("raw"===y&&M.dictionaryName&&St.length>0)){e.n=11;break}return i=JSON.stringify({fields:St}),e.p=7,e.n=8,pn(M.dictionaryName,i);case 8:e.n=10;break;case 9:return e.p=9,u=e.v,ue(!1),l=u.message||"Failed to publish dictionary before simulation",xe(l),Qt({type:"error",title:"Dictionary publication failed",message:l}),e.a(2);case 10:o.dictionary_name=M.dictionaryName,o.fields_to_check_search_command="| inputlookup trackme_fqm_data_dictionary_tenant_".concat(n,' where name = "').concat(M.dictionaryName,'" | head 1 | table json_dict'),e.n=12;break;case 11:o.allow_unknown=M.allowUnknown||"False",o.allow_empty_or_missing=M.allowMissingOrNull||"False";case 12:e.n=14;break;case 13:M.dictionaryName&&(o.dictionary_name=M.dictionaryName,o.fields_to_check_search_command="| inputlookup trackme_fqm_data_dictionary_tenant_".concat(n,' where name = "').concat(M.dictionaryName,'" | head 1 | table json_dict'));case 14:return e.n=15,Jy(o);case 15:t=e.v;case 16:if(w(function(e){return gb(gb({},e),{},{simulationSearch:t.tracker_simulation_search,simulationSearchSample:t.tracker_simulation_search_sample_replaceme,simulationSearchHead:t.tracker_simulation_search_head_replaceme,simulationBreakbyStatement:t.simulation_breakby_statement,dictionaryJson:t.dictionary_json||e.dictionaryJson})}),t.tracker_simulation_search)try{Ee.A.create({search:t.tracker_simulation_search,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var n=Array.isArray(null==e?void 0:e.results)?e.results:[],r=t.tracker_simulation_search||"";if(r.includes("eval field_values=split")||r.includes("eval field_values = split"))if((r=r.replace(/(\|\s*eval\s+field_values\s*=\s*split\s*\([^)]+\))/i,"$1".concat(' | lookup trackme_cim_recommended_fields field as fieldname OUTPUT is_recommended | eval recommended=json_extract(w,"comment.recommended"), recommended=if(is_recommended=="true" OR match(recommended, "(?i)true|1"), "true", "false")')))!==t.tracker_simulation_search)try{Ee.A.create({search:r,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];fe(t)}},error:function(e){console.error("Recommended fields search error:",e),fe(n)},complete:function(){}})}catch(e){console.error("Failed to run recommended fields search with lookup:",e),fe(n)}else fe(n);else fe(n);var a=t.tracker_simulation_search||"",o=a.replace(/\|\s*search\s+recommended\s*=\s*["']true["']/i,"").trim();if((o.includes("eval field_values=split")||o.includes("eval field_values = split"))&&(o=o.replace(/(\|\s*eval\s+field_values\s*=\s*split\s*\([^)]+\))/i,"$1".concat(' | lookup trackme_cim_recommended_fields field as fieldname OUTPUT is_recommended | eval recommended=json_extract(w,"comment.recommended"), recommended=if(is_recommended=="true" OR match(recommended, "(?i)true|1"), "true", "false")'))),o&&o!==a)try{Ee.A.create({search:o,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];he(t)}},error:function(e){console.error("All fields search error:",e)},complete:function(){}})}catch(e){console.error("Failed to run all fields search:",e)}else he(n);if(n.length>0){var i=t.tracker_simulation_search||"",l=i.split(/\|\s*search\s+recommended\s*=\s*["']true["']/i)[0]||i.split(/\|\s*fields\s+fieldname/)[0]||i,s="".concat(l.trim()," | `trackme_splk_fqm_simulation_summary`");Me(!0);try{Ee.A.create({search:s,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];ge(t),Me(!1)}},error:function(e){console.error("Single stats search error:",e),Me(!1)},complete:function(){Me(!1)}})}catch(e){console.error("Failed to run single stats search:",e),Me(!1)}}0===n.length?ue(!1):n.length>0&&Qt({type:"success",title:"Simulation successful",message:"Hybrid tracker simulation finished successfully, verify the results before proceeding to its creation"})}},error:function(e){console.error("Simulation search error:",e);var t=e.message||"Failed to retrieve simulation results from search";xe(t),ue(!1),Qt({type:"error",title:"Simulation search failed",message:t})},complete:function(){ue(!1)}})}catch(e){ue(!1),s=e.message||"Failed to execute simulation search",xe(s),Qt({type:"error",title:"Simulation search failed",message:s})}else ue(!1),xe("No simulation search query returned from API");e.n=18;break;case 17:e.p=17,c=e.v,xe(c.message||"Failed to simulate collect job"),Qt({type:"error",title:"Simulation failed",message:c.message||"An error occurred during simulation"}),ue(!1);case 18:return e.a(2)}},e,null,[[7,9],[4,17]])})),[n,M,y,St,pn,Qt]),hn=r.useCallback(yb(pb().m(function e(){var t,n,r,a;return pb().w(function(e){for(;;)switch(e.n){case 0:if(M.simulationSearchHead){e.n=1;break}return Qt({type:"error",title:"Missing required field",message:"simulationSearchHead is required. Please run the simulation first."}),e.a(2);case 1:if(M.simulationBreakbyStatement){e.n=2;break}return Qt({type:"error",title:"Missing required field",message:"simulationBreakbyStatement is required. Please run the simulation first."}),e.a(2);case 2:Le(!0),Pe(null),Re(null),t=Date.now();try{n=M.simulationSearchHead.replace("head replace_head_limit","head ".concat(M.benchmarkHeadEventLimit||"10000")),n="".concat(n," | stats count by ").concat(M.simulationBreakbyStatement),r=Ee.A.create({search:n,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}),a=[],r.getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];t.length>0&&a.push.apply(a,fb(t))}},error:function(){Qt({type:"error",title:"Benchmark failed",message:"An error occurred during benchmark"}),Le(!1)},complete:function(){var e=Date.now();Re((e-t)/1e3),Pe(a),Le(!1)}})}catch(e){Qt({type:"error",title:"Benchmark failed",message:e.message||"An error occurred during benchmark"}),Le(!1)}case 3:return e.a(2)}},e)})),[M,Qt]),yn=r.useCallback(yb(pb().m(function e(){var t,n,r,a,o;return pb().w(function(e){for(;;)switch(e.n){case 0:if(M.simulationSearchSample){e.n=1;break}return Qt({type:"error",title:"Missing required field",message:"simulationSearchSample is required. Please run the simulation first."}),e.a(2);case 1:if(M.simulationBreakbyStatement){e.n=2;break}return Qt({type:"error",title:"Missing required field",message:"simulationBreakbyStatement is required. Please run the simulation first."}),e.a(2);case 2:De(!0),Ne(null),qe(null),t=Date.now();try{"custom"===(n=M.benchmarkSamplingValue||"100")&&(n=M.benchmarkSamplingCustomValue||"1000000"),"local"!==M.account&&(n="0"),r=(r=M.simulationSearchSample.replace("sample_ratio=replace_sample_ratio","sample_ratio=".concat(n))).replace("head replace_sample_hard_limit","head ".concat(M.benchmarkSamplingHardLimit||"10000")),r="".concat(r," | stats count by ").concat(M.simulationBreakbyStatement),a=Ee.A.create({search:r,earliest_time:M.earliest||"-24h",latest_time:M.latest||"now"},{app:"trackme"}),o=[],a.getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];t.length>0&&o.push.apply(o,fb(t))}},error:function(){Qt({type:"error",title:"Benchmark failed",message:"An error occurred during benchmark"}),De(!1)},complete:function(){var e=Date.now();qe((e-t)/1e3),Ne(o),De(!1)}})}catch(e){Qt({type:"error",title:"Benchmark failed",message:e.message||"An error occurred during benchmark"}),De(!1)}case 3:return e.a(2)}},e)})),[M,Qt]),bn=r.useRef("");r.useEffect(function(){var e=function(){var e=yb(pb().m(function e(){var t,r,a;return pb().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&"step4"===k){e.n=1;break}return e.a(2);case 1:if("new"!==M.dictionaryOption){e.n=3;break}if(M.datamodel){e.n=2;break}return e.a(2);case 2:e.n=6;break;case 3:if("existing"!==M.dictionaryOption){e.n=5;break}if(M.dictionaryName){e.n=4;break}return e.a(2);case 4:e.n=6;break;case 5:return e.a(2);case 6:if(t=JSON.stringify({dictionaryOption:M.dictionaryOption,datamodel:M.datamodel,dictionaryName:M.dictionaryName,restrictToRecommended:M.restrictToRecommended,allowUnknown:M.allowUnknown,allowMissingOrNull:M.allowMissingOrNull}),!bn.current||t!==bn.current){e.n=7;break}return e.a(2);case 7:return bn.current=t,Ke(!0),Qe(null),e.p=8,e.n=9,rb(n,{dictionaryOption:M.dictionaryOption,datamodel:M.datamodel,recommended_fields:M.restrictToRecommended||"True",allow_unknown:M.allowUnknown||"False",allow_empty_or_missing:M.allowMissingOrNull||"False",dictionary_name:M.dictionaryName});case 9:r=e.v,Ue(r),e.n=11;break;case 10:e.p=10,a=e.v,Qe(a.message||"Failed to load dictionary preview"),Ue(null);case 11:return e.p=11,Ke(!1),e.f(11);case 12:return e.a(2)}},e,null,[[8,10,11,12]])}));return function(){return e.apply(this,arguments)}}();e()},[n,k,M.dictionaryOption,M.datamodel,M.dictionaryName,M.restrictToRecommended,M.allowUnknown,M.allowMissingOrNull]);var gn,vn,_n,Mn,wn,Sn,xn,kn,Cn,En,An,Ln,On,Tn,Dn,zn,jn,Pn,Bn,Yn=r.useCallback(yb(pb().m(function e(){var t,r,i,s,u,c,d,f,p,m;return pb().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&M.rootConstraint&&M.trackerName&&!1!==tt){e.n=1;break}return Qt({type:"error",title:"Creation failed",message:"Please fill all required fields and ensure tracker name is unique."}),e.a(2);case 1:if("monitor"===y||M.account){e.n=2;break}return Qt({type:"error",title:"Creation failed",message:"Please fill all required fields and ensure tracker name is unique."}),e.a(2);case 2:if("monitor"===y){e.n=8;break}if("cim"!==y){e.n=4;break}if(M.datamodel&&""!==M.datamodel.trim()){e.n=3;break}return Qt({type:"error",title:"Creation failed",message:"Please select a datamodel for CIM mode."}),e.a(2);case 3:if(M.nodename&&""!==M.nodename.trim()){e.n=4;break}return Qt({type:"error",title:"Creation failed",message:"Please select a nodename for CIM mode."}),e.a(2);case 4:if("new"!==M.dictionaryOption){e.n=7;break}if(M.dictionaryName&&""!==M.dictionaryName.trim()){e.n=5;break}return Qt({type:"error",title:"Creation failed",message:"Dictionary name is required when creating a new dictionary."}),e.a(2);case 5:if("cim"!==y){e.n=6;break}if(t=M.dictionaryJson&&("string"==typeof M.dictionaryJson&&""!==M.dictionaryJson.trim()||"object"===db(M.dictionaryJson)&&Object.keys(M.dictionaryJson).length>0),r=Ve&&"object"===db(Ve)&&Object.keys(Ve).length>0,t||r){e.n=6;break}return Qt({type:"error",title:"Creation failed",message:"Dictionary JSON is required. Please ensure dictionary data is available."}),e.a(2);case 6:e.n=8;break;case 7:if("existing"!==M.dictionaryOption){e.n=8;break}if(M.dictionaryName&&""!==M.dictionaryName.trim()){e.n=8;break}return Qt({type:"error",title:"Creation failed",message:"Please select an existing dictionary."}),e.a(2);case 8:if(i=Nm(M.trackerName||""),L(!0),e.p=9,"monitor"!==y){e.n=11;break}return s={tenant_id:n,tracker_name:i,cron_schedule:M.cronSchedule||"0 1 * * *",earliest_time:M.earliest||"-24h",latest_time:M.latest||"now",owner:l,search_constraint:M.rootConstraint,default_threshold_fields:M.defaultThresholdFields||"85",default_threshold_global:M.defaultThresholdGlobal||"100",default_score_fields:M.defaultScoreFields||"100",default_score_global:M.defaultScoreGlobal||"100",object_metadata_list:M.breakby||""},e.n=10,eb(s);case 10:e.n=12;break;case 11:return u="0","head"===M.collectStrategy?u=M.benchmarkHeadEventLimit||"10000":"sampling"===M.collectStrategy&&("custom"===(c=M.benchmarkSamplingValue||"100")?c=M.benchmarkSamplingCustomValue||"1000000":c.startsWith("1:")&&(c=c.replace("1:","")),u=c,"local"!==M.account&&(u="0")),d="_raw"===M.searchType?"raw":M.searchType||"raw",f={tenant_id:n,tracker_name:i,account:M.account,collect_strategy:M.collectStrategy||"sampling",collect_limiter:u,cron_schedule:M.cronSchedule||"0 1 * * *",earliest_time:M.earliest||"-24h",latest_time:M.latest||"now",owner:l,search_constraint:M.rootConstraint,search_type:d,default_threshold_fields:M.defaultThresholdFields||"85",default_threshold_global:M.defaultThresholdGlobal||"100",default_score_fields:M.defaultScoreFields||"100",default_score_global:M.defaultScoreGlobal||"100",object_metadata_list:M.breakby||"",summary_index:M.summaryIndex||"summary"},"sampling"===M.collectStrategy&&M.benchmarkSamplingHardLimit&&(f.sample_hard_limit=M.benchmarkSamplingHardLimit),"raw"===y?(f.datamodel=M.pseudoDatamodelName||"raw",f.nodename="raw"):(f.datamodel=M.datamodel||"",f.nodename=M.nodename||""),"new"===M.dictionaryOption?(f.dictionary_create_new="cim"===y,f.dictionary_name=M.dictionaryName,"cim"===y&&(p=M.dictionaryJson||Ve)&&(f.dictionary_json="string"==typeof p?p:JSON.stringify(p))):"existing"===M.dictionaryOption&&M.dictionaryName&&(f.dictionary_name=M.dictionaryName,f.fields_to_check_search_command="| inputlookup trackme_fqm_data_dictionary_tenant_".concat(n,' where name = "').concat(M.dictionaryName,'" | head 1 | table json_dict')),e.n=12,Qy(f);case 12:Qt({type:"success",title:"Success",message:"monitor"===y?'FQM monitor-only job "'.concat(i,'" created successfully.'):'FQM collect job "'.concat(i,'" created successfully.')}),o(),a(),e.n=14;break;case 13:e.p=13,m=e.v,Qt({type:"error",title:"Failed to create job",message:m.message||"An error occurred while creating the ".concat("monitor"===y?"monitor-only":"collect"," job.")});case 14:return e.p=14,L(!1),e.f(14);case 15:return e.a(2)}},e,null,[[9,13,14,15]])})),[M,n,l,tt,y,Ve,Qt,o,a]),Nn=r.useMemo(function(){var e="Dictionary configuration";"monitor"===y?e="Test & review":"cim"===y&&(e="CIM parsing & dictionary");var t="Collect job main settings";return"monitor"===y&&(t="Time & Cron schedule"),[{id:"step1",label:"Select tracker type"},{id:"step2",label:"tracker name & deployment"},{id:"step3",label:"cim"===y?"Datamodel & search":"raw"===y?"Search & metadata":"Search constraint"},{id:"step4",label:e},{id:"step5",label:"Preview the data dictionary"},{id:"step6",label:"Default thresholds"},{id:"step7",label:"Collect job strategy"},{id:"step8",label:t},{id:"step9",label:"Validate creation"}]},[y]),Fn=r.useCallback(function(e){var t=Nn.find(function(t){return t.id===e});return(null==t?void 0:t.label)||""},[Nn]),In=r.useCallback(function(){try{var e=new URL(window.location.href),t="".concat(e.protocol,"//").concat(e.host),n=e.pathname.split("/").filter(function(e){return e&&!["en-US","en-GB","fr-FR"].includes(e)});return n.length>0?"".concat(t,"/").concat(n[0],"/app/trackme/configuration"):"".concat(t,"/app/trackme/configuration")}catch(e){return"#"}},[]),Rn=r.useMemo(function(){return"cim"===y?"Fields Quality Monitoring - Create a new collect job for CIM":"raw"===y?"Fields Quality Monitoring - Create a new collect job for CIM/non-CIM":"Fields Quality Monitoring - Create a monitor job only"},[y]);return r.createElement(Qi,{open:t,onClose:a,title:Rn},r.createElement("div",{style:{fontSize:14,marginBottom:16,color:en.textSecondary}},"Follow these guided steps to define, test and create a new Quality collect and monitor job, scroll down within the screen to navigate through the steps"),r.createElement(Mr(),{title:"Fields Quality Monitoring Workflow Diagram",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,textAlign:"center"}},r.createElement("img",{style:{maxWidth:"100%",maxHeight:400,border:"1px solid ".concat(en.border),borderRadius:4,cursor:"pointer",transition:"transform 0.2s ease-in-out"},src:"../../static/app/trackme/img/vtenant/fqm_tracking.png",alt:"FQM Tracking Workflow",onClick:function(){return ie({src:"../../static/app/trackme/img/vtenant/fqm_tracking.png",alt:"FQM Tracking Workflow"})},onMouseEnter:function(e){e.currentTarget.style.transform="scale(1.02)"},onMouseLeave:function(e){e.currentTarget.style.transform="scale(1)"}}))),r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{activePanelId:k,onChange:function(e,t){var n=t.activePanelId;n&&C(n)},layout:"vertical",style:{minHeight:600}},r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:1,label:Fn("step1"),isLight:"step1"!==k}),panelId:"step1"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:16}},"Select the type of quality tracker you want to create:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"tracker-type-select",id:"tracker-type-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Tracker type:"),r.createElement(ht(),{id:"tracker-type-select","aria-labelledby":"tracker-type-label",value:y,onChange:function(e,t){var n=t.value,r=String(n);b(r),C("step1")},style:{width:600}},r.createElement(ht().Option,{value:"cim",label:"Create a new collect job for CIM (generate or re-use a dictionary)"}),r.createElement(ht().Option,{value:"raw",label:"Create a new collect job for CIM/non-CIM (create or re-use a dictionary)"}),r.createElement(ht().Option,{value:"monitor",label:"Create a monitor job only (advanced, re-use events for aggregation)"}))),r.createElement(Mr(),{title:"About tracker types",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,r.createElement("strong",null,"Collect job for CIM:")," Creates a collect job that retrieves sample events from a CIM datamodel. The dictionary can be generated automatically or re-used from an existing one."),r.createElement("li",null,r.createElement("strong",null,"Collect job for CIM/non-CIM:")," Creates a collect job for both CIM and non-CIM contexts. You can create a new dictionary or re-use an existing one. Uses a pseudo datamodel metadata."),r.createElement("li",null,r.createElement("strong",null,"Monitor job only:")," Advanced use case that re-uses collected events for a different level of aggregation. No collect strategy is needed.")))))),r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:2,label:Fn("step2"),isLight:"step2"!==k}),panelId:"step2"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:16}},"Enter a name for the new object and define if the deployment is local or a remote account:"),r.createElement("div",{style:{marginBottom:24}},r.createElement(Gt(),{id:"tracker-name-input",value:M.trackerName||"",onChange:function(e,t){var n=t.value;rn({trackerName:n})},onBlur:function(){var e=M.trackerName||"";if(""!==e.trim()){var t=Nm(e);t!==e&&rn({trackerName:t})}},placeholder:"tracker-5678",style:{width:350,marginBottom:16,border:M.trackerName&&""!==M.trackerName.trim()?void 0:"2px solid #d32f2f"}}),r.createElement("label",{htmlFor:"tracker-name-input",id:"tracker-name-label",style:{display:"block",marginTop:8,fontSize:14,color:en.textSecondary}},"New collect job identifier: (will be added as a prefix to entities, and used to group entities)"),at&&r.createElement(s(),{size:"small",style:{marginLeft:10}}),!1===tt&&r.createElement(Jt(),{type:"error",style:{marginTop:8}},"A tracker with the same identifier already exists. It must be unique for this tenant."),!0===tt&&r.createElement(Jt(),{type:"success",style:{marginTop:8}},"This tracker name is valid and does not exist yet in this tenant.")),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"account-select",id:"account-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Splunk deployment, either local or a configured remote account:"),j?r.createElement(s(),{size:"medium"}):r.createElement(ht(),{id:"account-select",value:M.account||"local",onChange:function(e,t){var n=t.value;rn({account:String(n)})},style:{width:350}},T.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})})),r.createElement("div",{style:{marginLeft:22,marginTop:5}},r.createElement(bt(),{to:In(),openInNewContext:!0,style:{textDecoration:"none"}},"Open the configuration interface to add or manage accounts"))),r.createElement(Mr(),{title:"About the environment target",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,"TrackMe can target the ",r.createElement("strong",null,"local environment"),", or a ",r.createElement("strong",null,"remote Splunk deployment")," using a Splunk remote account configured in TrackMe."),r.createElement("li",null,"A ",r.createElement("strong",null,"local Splunk target")," means that searches are executed locally on this search head layer, all knowledge objects necessary for the CIM parsing must be available locally."),r.createElement("li",null,"Using a ",r.createElement("strong",null,"Splunk remote account")," allows transparently targeting a remote Splunk search layer, such as your Enterprise Security search head."),r.createElement("li",null,"We encourage Splunk Enterprise Security customers to use a remote account to avoid parsing inconsistencies, ",r.createElement("strong",null,"this is also mandatory if you use accelerated data model searches"),"."),r.createElement("li",null,"In a remote context, the collect jobs execute the retrieval and events parts of the work remotely, all other operations are performed locally, which means there is a ",r.createElement("strong",null,"minimal usage on the remote search head target"),".")))),M.account&&"local"!==M.account&&r.createElement("div",{style:{marginBottom:24}},r.createElement("h2",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Splunk Remote connectivity check:"),N&&r.createElement(s(),{size:"medium"}),!N&&R&&r.createElement(Jt(),{type:R.success?"success":"error"},R.message)))),r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:3,label:Fn("step3"),isLight:"step3"!==k}),panelId:"step3"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement(Mr(),{title:"About defining the search and the breakby fields definition:",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,r.createElement("strong",null,"Raw search type:"),' A raw search is a traditional Splunk search, such as "index=myindex sourcetype=my_sourcetype".'),r.createElement("li",null,r.createElement("strong",null,"Generating search type:")," A generating search uses the data model command to access the data model and associated events, the search is generated automatically based on your selection."),r.createElement("li",null,r.createElement("strong",null,"Event limit:")," The simulation parsing search uses a head technique to limit the number of events so it performs in a timely manner."),r.createElement("li",null,r.createElement("strong",null,"Breakby fields definition:")," The breakby fields definition is used to form entities. TrackMe will also automatically add a special entity, @global, which is the aggregation of all fields.")))),"cim"===y&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16,marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"search-type-select",id:"search-type-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Search type:"),r.createElement(ht(),{id:"search-type-select","aria-labelledby":"search-type-label",value:M.searchType||"_raw",onChange:function(e,t){var n=t.value;rn({searchType:String(n)})},style:{width:"100%"}},r.createElement(ht().Option,{value:"_raw",label:"_raw"}),r.createElement(ht().Option,{value:"generating",label:"generating"}))),"_raw"===M.searchType&&r.createElement(r.Fragment,null,K?r.createElement(s(),{size:"small"}):r.createElement("div",null,r.createElement("label",{htmlFor:"datamodel-select",id:"datamodel-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Datamodel:"),r.createElement(ht(),{id:"datamodel-select","aria-labelledby":"datamodel-label",value:M.datamodel||"",onChange:function(e,t){var n=t.value;rn({datamodel:String(n)})},style:{width:"100%",border:"_raw"!==M.searchType||M.datamodel&&""!==M.datamodel.trim()?void 0:"2px solid #d32f2f"}},q.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),M.datamodel&&r.createElement("div",null,r.createElement("label",{htmlFor:"nodename-select",id:"nodename-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"NodeName:"),K?r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{fontSize:14,color:en.textSecondary}},"Loading nodes...")):r.createElement(ht(),{id:"nodename-select","aria-labelledby":"nodename-label",value:M.nodename||void 0,onChange:function(e,t){var n=t.value,r=""===n?void 0:String(n);rn({nodename:r})},placeholder:0===U.length?"No nodes found":"-- Select node --",style:{width:"100%",border:!M.datamodel||M.nodename&&""!==M.nodename.trim()?void 0:"2px solid #d32f2f"}},U.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))))),"raw"===y&&r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"pseudo-datamodel-input",id:"pseudo-datamodel-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Pseudo datamodel name (metadata):"),r.createElement(Gt(),{id:"pseudo-datamodel-input",value:M.pseudoDatamodelName||"raw",onChange:function(e,t){var n=t.value;rn({pseudoDatamodelName:n})},style:{width:400}}),r.createElement("div",{style:{fontSize:12,color:en.textSecondary,marginTop:4}},"This metadata will be stored and used in the backend to identify the pseudo datamodel."))),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:8}},"Events resulting from this search will be processed by the TrackMe quality management backend, and indexed in the trackme:fields_quality sourcetype:"),r.createElement("div",null,r.createElement("label",{htmlFor:"root-constraint-textarea",id:"root-constraint-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Enter the Splunk search"),r.createElement(Ut(),{id:"root-constraint-textarea",value:M.rootConstraint||"",onChange:function(e,t){var n=t.value;rn({rootConstraint:n})},rowsMin:5,style:{width:"100%",fontFamily:"monospace",border:M.rootConstraint&&""!==M.rootConstraint.trim()?void 0:"2px solid #d32f2f"}}),!M.rootConstraint&&r.createElement("div",{style:{fontSize:12,color:en.textSecondary,marginTop:4,fontStyle:"italic"}},"Example: index=myindex sourcetype=mysourcetype"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:8}},"Comma separated list of fields used to define entities, you can add a custom field available in the data set as metadata."),r.createElement("div",null,r.createElement("label",{htmlFor:"breakby-input",id:"breakby-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Breakby fields definition:"),r.createElement(Gt(),{id:"breakby-input",value:M.breakby||"",onChange:function(e,t){var n=t.value;rn({breakby:n})},placeholder:"metadata.datamodel,metadata.nodename,metadata.index,metadata.sourcetype,fieldname",style:{width:"100%",border:M.breakby&&""!==M.breakby.trim()?void 0:"2px solid #d32f2f"}})),r.createElement("div",{style:{fontSize:12,color:en.textSecondary,marginTop:8}},"When using a custom break by definition, you should also update the Virtual Tenant groupby setting for splk-fqm, you can do so through the Configuration UI or by running the following command: (update to your tenant_id and breakby fields)",r.createElement("br",null),"Note that the metadata field name is called with an underscore instead of a dot.",r.createElement("pre",{style:{backgroundColor:en.backgroundSecondary,padding:8,borderRadius:4,marginTop:8,whiteSpace:"pre-wrap",wordBreak:"break-all",overflowWrap:"break-word"}},"| trackme mode=post url=\"/services/trackme/v2/configuration/admin/update_vtenant_account\" body=\"{'tenant_id': 'mytenant', 'parameters_to_update': {'splk_fqm_tabulator_groupby': 'metadata_datamodel,metadata_myfield,metadata_sourcetype'}}\""))))),r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:4,label:Fn("step4"),isLight:"step4"!==k}),panelId:"step4"},r.createElement("div",{style:{padding:"16px 0"}},"monitor"===y?r.createElement(Mr(),{title:"About test & review:",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,"This step allows you to ",r.createElement("strong",null,"test and review the monitor job simulation"),"."),r.createElement("li",null,"Monitor-only jobs recycle events that were already processed by collect jobs, so no dictionary configuration is needed."),r.createElement("li",null,"You can adjust the ",r.createElement("strong",null,"simulation default fields threshold")," for the minimum percentage of success required for a field to be considered as passed."),r.createElement("li",null,r.createElement("strong",null,"The final threshold value is then set automatically per field")," and will be updated through the ",r.createElement("strong",null,"entity threshold configuration screen"),".")))):r.createElement(Mr(),{title:"About CIM parsing preview and dictionary configuration:",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,"This step allows you to ",r.createElement("strong",null,"preview the CIM compliance results"),", as well as ",r.createElement("strong",null,"define the dictionary configuration"),"."),r.createElement("li",null,"TrackMe can ",r.createElement("strong",null,"generate a new dictionary for you"),", targeting only ",r.createElement("strong",null,"recommended fields")," or ",r.createElement("strong",null,"all fields"),"."),r.createElement("li",null,"You can also ",r.createElement("strong",null,"select a dictionary that was previously created"),", dictionaries can be shared between collect jobs."),r.createElement("li",null,"You can adjust the ",r.createElement("strong",null,"simulation default fields threshold")," for the minimum percentage of success required for a field to be considered as passed."),r.createElement("li",null,r.createElement("strong",null,"The final threshold value is then set automatically per field")," and will be updated through the ",r.createElement("strong",null,"entity threshold configuration screen"),"."),r.createElement("li",null,"Remember that you can easily ",r.createElement("strong",null,"adjust the dictionary")," through the dictionary management screen after its creation.")))),"monitor"!==y&&r.createElement(r.Fragment,null,r.createElement("div",{style:{display:"grid",gridTemplateColumns:"new"===M.dictionaryOption?"1fr 1fr":"1fr",gap:16,marginBottom:24}},ne?r.createElement("div",null,r.createElement(s(),{size:"small"})):r.createElement("div",null,r.createElement("label",{htmlFor:"dictionary-select",id:"dictionary-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Dictionary: (create new or use existing)"),r.createElement(ht(),{id:"dictionary-select","aria-labelledby":"dictionary-label",value:"new"===M.dictionaryOption?"new":M.dictionaryName||"",onChange:function(e,t){var n=t.value,r=String(n);rn("new"===r?{dictionaryOption:"new",dictionaryName:""}:{dictionaryOption:"existing",dictionaryName:r})},filter:!0,style:{width:"100%",maxWidth:"400px",border:("existing"!==M.dictionaryOption||M.dictionaryName&&""!==M.dictionaryName.trim())&&("new"!==M.dictionaryOption||M.dictionaryName&&""!==M.dictionaryName.trim())?void 0:"2px solid #d32f2f"}},r.createElement(ht().Option,{value:"new",label:"Create new"}),Q.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})}))),"new"===M.dictionaryOption&&r.createElement("div",null,r.createElement("label",{htmlFor:"dictionary-name-input",id:"dictionary-name-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"New dictionary name?"),r.createElement(Gt(),{id:"dictionary-name-input",value:M.dictionaryName||"",onChange:function(e,t){var n=t.value;rn({dictionaryName:n})},placeholder:"Authentication:my_dictionary",style:{width:"100%",maxWidth:"400px",border:"new"!==M.dictionaryOption||M.dictionaryName&&""!==M.dictionaryName.trim()?void 0:"2px solid #d32f2f"}}))),"new"===M.dictionaryOption&&r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16,marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"allow-unknown-select",id:"allow-unknown-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Allow unknown by default?"),r.createElement(ht(),{id:"allow-unknown-select","aria-labelledby":"allow-unknown-label",value:M.allowUnknown||"False",onChange:function(e,t){var n=t.value;rn({allowUnknown:String(n)})},style:{width:"100%",maxWidth:"250px"}},r.createElement(ht().Option,{value:"True",label:"True"}),r.createElement(ht().Option,{value:"False",label:"False"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"allow-missing-select",id:"allow-missing-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Allow missing/null by default?"),r.createElement(ht(),{id:"allow-missing-select","aria-labelledby":"allow-missing-label",value:M.allowMissingOrNull||"False",onChange:function(e,t){var n=t.value;rn({allowMissingOrNull:String(n)})},style:{width:"100%",maxWidth:"250px"}},r.createElement(ht().Option,{value:"True",label:"True"}),r.createElement(ht().Option,{value:"False",label:"False"})))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16,marginBottom:24,marginTop:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"event-limit-input-step3",id:"event-limit-label-step3",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Event limit:"),r.createElement(Gt(),{id:"event-limit-input-step3",value:M.eventLimit||"1000",onChange:function(e,t){var n=t.value;rn({eventLimit:n})},placeholder:"1000",style:{width:"100%",maxWidth:"300px"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"fields-success-threshold-slider-step4",id:"fields-success-threshold-label-step4",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"% success fields threshold (simulation only): ",r.createElement("strong",{style:{color:en.text}},M.fieldsSuccessThreshold||"85","%")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"fields-success-threshold-slider-step4",value:parseInt(M.fieldsSuccessThreshold||"85",10),onChange:function(e,t){var n=t.value;rn({fieldsSuccessThreshold:String(n)})},min:0,max:100,step:1,"aria-label":"Success fields threshold (simulation only)"})))),"raw"===y&&"new"===M.dictionaryOption&&r.createElement(r.Fragment,null,r.createElement(Mr(),{title:"Fields summary",style:{marginBottom:20},expanded:Xt,onToggle:function(){return Vt(!Xt)}},r.createElement("div",{style:{padding:16}},r.createElement("div",{style:{marginBottom:16,display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Fields summary (showing data for ",M.eventLimit||"1000"," events):"),r.createElement("div",{style:{display:"flex",gap:8,alignItems:"center"}},r.createElement(c(),{appearance:"primary",icon:ct?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:ln,disabled:ct||!M.rootConstraint||!M.earliest||!M.latest},ct?"Loading...":"Load Fields Summary"),vt&&r.createElement("div",{style:{border:"1px solid ".concat(en.border),borderRadius:4,padding:4,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Fieldsummary actions",style:{padding:"4px 8px",minWidth:"auto",maxWidth:"fit-content",flex:"0 0 auto"}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(vt),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}},"Open in Search"),r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(B(),null),onClick:function(){ln()}},"Refresh")))))),ct?r.createElement("div",{style:{textAlign:"center",padding:20}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:12,color:en.textSecondary}},"Loading fieldsummary...")):mt?r.createElement("div",null,r.createElement(Jt(),{type:"error",style:{marginBottom:16}},r.createElement("div",{style:{marginBottom:8}},mt),vt&&r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(vt),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}},"Open in Search")),r.createElement("div",{style:{textAlign:"center",padding:20,color:en.textSecondary,fontSize:14}},"You can still create dictionary fields manually below, or fix the search and try again.")):lt.length>0?r.createElement("div",{style:{maxHeight:400,overflowY:"auto",border:"1px solid ".concat(en.border),borderRadius:4}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{minWidth:150,whiteSpace:"nowrap"}},"field"),r.createElement(dt().HeadCell,{style:{minWidth:100,whiteSpace:"nowrap"}},"count"),r.createElement(dt().HeadCell,{style:{minWidth:120,whiteSpace:"nowrap"}},"distinct_count"),r.createElement(dt().HeadCell,{style:{minWidth:100,whiteSpace:"nowrap"}},"is_exact"),r.createElement(dt().HeadCell,{style:{minWidth:120,whiteSpace:"nowrap"}},"numeric_count"),r.createElement(dt().HeadCell,{style:{minWidth:400,whiteSpace:"nowrap"}},"values"),r.createElement(dt().HeadCell,{style:{minWidth:100,whiteSpace:"nowrap"}},"mean"),r.createElement(dt().HeadCell,{style:{minWidth:100,whiteSpace:"nowrap"}},"min"),r.createElement(dt().HeadCell,{style:{minWidth:100,whiteSpace:"nowrap"}},"max"),r.createElement(dt().HeadCell,{style:{minWidth:100,whiteSpace:"nowrap"}},"stdev")),r.createElement(dt().Body,null,lt.map(function(e,t){var n=e.fieldname||e.field,a=n?"fieldsummary-".concat(n):"fieldsummary-row-".concat(t),o=n||"",i=e.count||e.total_events||"0",l=e.distinct_count||e.distinct_value_count||"0",s=e.is_exact||"",u=e.numeric_count||"0",c=e.values||e.field_values||"";return r.createElement(dt().Row,{key:a},r.createElement(dt().Cell,null,o),r.createElement(dt().Cell,null,i),r.createElement(dt().Cell,null,l),r.createElement(dt().Cell,null,s),r.createElement(dt().Cell,null,u),r.createElement(dt().Cell,{style:{maxWidth:400,overflow:"hidden",textOverflow:"ellipsis"}},c),r.createElement(dt().Cell,null,e.mean||""),r.createElement(dt().Cell,null,e.min||""),r.createElement(dt().Cell,null,e.max||""),r.createElement(dt().Cell,null,e.stdev||""))})))):r.createElement("div",{style:{textAlign:"center",padding:20,color:en.textSecondary}},'Click "Load Fields Summary" to load fieldsummary results'))),r.createElement(Mr(),{title:"Create or manage data dictionaries:",style:{marginBottom:20},expanded:Kt,onToggle:function(){return Zt(!Kt)}},r.createElement("div",{style:{padding:16}},r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,fontWeight:600,marginBottom:12,color:en.text}},"Add a new field:"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr auto",gap:12,alignItems:"end"}},r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Field name"),r.createElement(Gt(),{id:"new-field-name","aria-label":"Field name",value:zt,onChange:function(e,t){var n=t.value;jt(n)},placeholder:"field_name",style:{width:"100%"}})),r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Allow unknown"),r.createElement(ht(),{id:"new-field-allow-unknown","aria-label":"Allow unknown",value:Bt,onChange:function(e,t){var n=t.value;Yt(String(n))},style:{width:"100%"}},r.createElement(ht().Option,{value:"True",label:"Yes"}),r.createElement(ht().Option,{value:"False",label:"No"}))),r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Allow missing/null"),r.createElement(ht(),{id:"new-field-allow-missing","aria-label":"Allow missing/null",value:Ft,onChange:function(e,t){var n=t.value;It(String(n))},style:{width:"100%"}},r.createElement(ht().Option,{value:"True",label:"Yes"}),r.createElement(ht().Option,{value:"False",label:"No"}))),r.createElement("div",null,r.createElement("div",{style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Regex expression"),r.createElement(Gt(),{id:"new-field-regex","aria-label":"Regex expression",value:Wt,onChange:function(e,t){var n=t.value;Ht(n)},placeholder:".*",style:{width:"100%"}})),r.createElement("div",{style:{display:"flex",alignItems:"end",height:"100%"}},r.createElement("div",{style:{height:"20px",visibility:"hidden"},"aria-hidden":"true"},"Label spacer"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:sn,style:{marginTop:"20px"}},"+ Add this new field"))),r.createElement("div",{style:{marginTop:8,fontSize:12,color:en.textSecondary,fontStyle:"italic"}},"Tip: Type a field name and click the button to add it to the dictionary. You can reference fields from the fieldsummary results above.")),r.createElement("div",{style:{marginBottom:16,display:"flex",gap:12}},r.createElement(c(),{appearance:"primary",onClick:dn,disabled:0===St.length,style:{maxWidth:200}},"Save fields changes"),r.createElement(c(),{appearance:"secondary",onClick:fn,style:{maxWidth:150}},"Cancel changes"),r.createElement(c(),{appearance:"destructive",onClick:cn,disabled:0===Ot.length,style:{maxWidth:250}},"Remove selected fields (",Ot.length,")")),St.length>0&&r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{fontSize:14,fontWeight:600,marginBottom:12,color:en.text}},St.length," Field(s) currently in this dictionary"),r.createElement("div",{style:{maxHeight:300,overflowY:"auto",border:"1px solid ".concat(en.border),borderRadius:4}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:50}},"Select"),r.createElement(dt().HeadCell,null,"Field Name"),r.createElement(dt().HeadCell,null,"Allow Unknown"),r.createElement(dt().HeadCell,null,"Allow Missing/Null"),r.createElement(dt().HeadCell,null,"Regex")),r.createElement(dt().Body,null,St.map(function(e){return r.createElement(dt().Row,{key:e.field_name},r.createElement(dt().Cell,null,r.createElement("input",{type:"checkbox",checked:Ot.includes(e.field_name),onChange:function(t){t.target.checked?Tt(function(t){return[].concat(fb(t),[e.field_name])}):Tt(function(t){return t.filter(function(t){return t!==e.field_name})})}})),r.createElement(dt().Cell,null,e.field_name),r.createElement(dt().Cell,null,Ct[e.field_name]?r.createElement(ht(),{value:e.allow_unknown,onChange:function(t,n){var r=n.value;un(e.field_name,{allow_unknown:String(r)})},style:{width:100}},r.createElement(ht().Option,{value:"True",label:"Yes"}),r.createElement(ht().Option,{value:"False",label:"No"})):"True"===e.allow_unknown?"Yes":"No"),r.createElement(dt().Cell,null,Ct[e.field_name]?r.createElement(ht(),{value:e.allow_empty_or_missing,onChange:function(t,n){var r=n.value;un(e.field_name,{allow_empty_or_missing:String(r)})},style:{width:100}},r.createElement(ht().Option,{value:"True",label:"Yes"}),r.createElement(ht().Option,{value:"False",label:"No"})):"True"===e.allow_empty_or_missing?"Yes":"No"),r.createElement(dt().Cell,null,Ct[e.field_name]?r.createElement(Gt(),{value:e.regex,onChange:function(t,n){var r=n.value;un(e.field_name,{regex:r})},style:{width:150}}):e.regex||".*"))}))))))))),"monitor"===y&&r.createElement("div",{style:{marginBottom:24}},r.createElement("div",null,r.createElement("label",{htmlFor:"fields-success-threshold-slider-monitor",id:"fields-success-threshold-label-monitor",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"% success fields threshold (simulation only): ",r.createElement("strong",{style:{color:en.text}},M.fieldsSuccessThreshold||"85","%")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"fields-success-threshold-slider-monitor",value:parseInt(M.fieldsSuccessThreshold||"85",10),onChange:function(e,t){var n=t.value;rn({fieldsSuccessThreshold:String(n)})},min:0,max:100,step:1,"aria-label":"Success fields threshold (simulation only)"})))),r.createElement("div",{style:{textAlign:"center",marginBottom:20}},r.createElement(c(),{appearance:"primary",icon:se?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:mn,disabled:se||!M.trackerName||"monitor"!==y&&!M.account||!M.rootConstraint},se?"Simulating...":"Simulate the search to continue")),Se&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},r.createElement("div",{style:{marginBottom:8}},Se),M.simulationSearch&&r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){if(M.simulationSearch){var e,t=M.simulationSearch,n="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search")),se&&r.createElement("div",{style:{textAlign:"center",padding:20}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:12,color:en.textSecondary}},"Loading simulation results...")),!se&&_e&&r.createElement("div",{style:{textAlign:"center",padding:20}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:12,color:en.textSecondary}},"Processing aggregated statistics...")),!se&&!_e&&0===de.length&&0===me.length&&M.simulationSearch&&r.createElement(Jt(),{type:"info",style:{marginBottom:16}},r.createElement("div",{style:{marginBottom:8}},"Simulation completed but no results were returned. Please check the search query or try again."),r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){if(M.simulationSearch){var e,t=M.simulationSearch,n="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search")),!se&&(de.length>0||me.length>0)&&(En=de,An=me.length>0?me:En,Ln="raw"===y||"monitor"===y||"True"!==M.restrictToRecommended?An:En,Tn=(On=M.simulationSearch||"").split(/\|\s*search\s+recommended\s*=\s*["']true["']/i)[0]||On.split(/\|\s*fields\s+fieldname/)[0]||On,Dn="".concat(Tn.trim()," | `trackme_splk_fqm_simulation_summary`"),zn=be.length>0?be.find(function(e){return void 0!==e.total_fields_checked||void 0!==e.total_fields_recommended_checked||void 0!==e.percentage_passed||void 0!==e.percentage_recommended_passed})||be[0]:null,Pn=(jn=Ln.filter(function(e){return void 0!==e.fieldname})).filter(function(e){var t=e.is_recommended;if(!0===t||"true"===t)return!0;if("string"==typeof t&&"true"===t.toLowerCase().trim())return!0;var n=e.recommended;if(!0===n||"true"===n)return!0;if("string"==typeof n){var r=n.toLowerCase().trim();return"true"===r.replace(/[^\w\s]/g,"").trim()||r.includes("true")}return!1}),Bn=[],Bn="raw"===y||"monitor"===y||"True"!==M.restrictToRecommended?jn:Pn,zn?(vn=parseInt(String(zn.total_fields_checked||"0"),10),_n=parseInt(String(zn.total_fields_passed||"0"),10),Mn=parseInt(String(zn.total_fields_failed||"0"),10),wn=String(zn.percentage_passed||"0.00")):(Mn=(vn=jn.length)-(_n=jn.filter(function(e){var t=e.fieldstatus;return"success"===t||"string"==typeof t&&t.toLowerCase().trim().startsWith("success")}).length),wn=vn>0?(_n/vn*100).toFixed(2):"0.00"),zn?(Sn=parseInt(String(zn.total_fields_recommended_checked||"0"),10),xn=parseInt(String(zn.total_fields_recommended_passed||"0"),10),kn=parseInt(String(zn.total_fields_recommended_failed||"0"),10),Cn=String(zn.percentage_recommended_passed||"0.00")):(kn=(Sn=Pn.length)-(xn=Pn.filter(function(e){var t=e.fieldstatus;return"success"===t||"string"==typeof t&&t.toLowerCase().trim().startsWith("success")}).length),Cn=Sn>0?(xn/Sn*100).toFixed(2):"0.00"),_e&&0===be.length?r.createElement("div",{style:{backgroundColor:en.backgroundSecondary,padding:16,borderRadius:4}},r.createElement("div",{style:{textAlign:"center",padding:20}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:12,color:en.textSecondary}},"Loading aggregated statistics..."))):r.createElement("div",{style:{backgroundColor:en.backgroundSecondary,padding:16,borderRadius:4}},r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:8}},r.createElement("div",{style:{border:"1px solid ".concat(en.border),borderRadius:4,padding:4,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Troubleshooting actions",style:{padding:"4px 8px",minWidth:"auto",maxWidth:"fit-content",flex:"0 0 auto"}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},Dn&&r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){var e,t="/app/trackme/search?q=".concat(encodeURIComponent(Dn),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}},"Open in Search"))))),r.createElement("h3",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"raw"===y||"monitor"===y?"Fields parsed:":"All fields:"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16,marginBottom:24}},r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Total fields:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:"#1976d2"}},vn)),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Fields Passed:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:"#1976d2"}},_n)),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Fields Failed:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:"#1976d2"}},Mn)),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"raw"===y||"monitor"===y?"% Fields compliance:":"CIM % Compliance all fields:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:en.text}},wn,"%"))),"cim"===y&&r.createElement(r.Fragment,null,r.createElement("h3",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Recommended fields:"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:16,marginBottom:24}},r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Total recommended fields:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:"#1976d2"}},Sn)),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Recommended fields passed:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:"#1976d2"}},xn)),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"Recommended fields failed:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:"#1976d2"}},kn)),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary}},"CIM % Compliance recommended fields:"),r.createElement("div",{style:{fontSize:24,fontWeight:600,color:en.text}},Cn,"%"))),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"restrict-recommended-select-step3",id:"restrict-recommended-label-step3",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Show recommended fields only?:"),r.createElement(ht(),{id:"restrict-recommended-select-step3","aria-labelledby":"restrict-recommended-label-step3",value:M.restrictToRecommended||"True",onChange:function(e,t){var n=t.value;rn({restrictToRecommended:String(n)})},style:{width:250}},r.createElement(ht().Option,{value:"True",label:"True"}),r.createElement(ht().Option,{value:"False",label:"False"}))))),r.createElement("div",{style:{position:"relative"}},M.simulationSearch&&r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:8}},r.createElement("div",{style:{border:"1px solid ".concat(en.border),borderRadius:4,padding:4,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:"4px 8px",minWidth:"auto",maxWidth:"fit-content",flex:"0 0 auto"}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(M.simulationSearch){var e,t=M.simulationSearch,n="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search"))))),r.createElement("div",{style:{maxHeight:400,overflowY:"auto",border:"1px solid ".concat(en.border),borderRadius:4}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,"fieldname"),"cim"===y&&r.createElement(dt().HeadCell,null,"recommended"),r.createElement(dt().HeadCell,null,"fieldstatus"),r.createElement(dt().HeadCell,null,"percent_coverage"),r.createElement(dt().HeadCell,null,"percentage_success"),r.createElement(dt().HeadCell,null,"metadata.index"),r.createElement(dt().HeadCell,null,"metadata.sourcetype"),r.createElement(dt().HeadCell,null,"metadata.datamodel"),r.createElement(dt().HeadCell,null,"metadata.nodename"),r.createElement(dt().HeadCell,null,"count_total"),r.createElement(dt().HeadCell,null,"count_success"),r.createElement(dt().HeadCell,null,"count_failure")),r.createElement(dt().Body,null,Bn.map(function(e){return r.createElement(dt().Row,{key:"".concat(e.fieldname,"-").concat(e["metadata.index"],"-").concat(e["metadata.sourcetype"])},r.createElement(dt().Cell,null,e.fieldname||""),"cim"===y&&r.createElement(dt().Cell,null,function(){var t=e.is_recommended,n=!1;if(!0===t||"true"===t)n=!0;else if("string"==typeof t&&"true"===t.toLowerCase().trim())n=!0;else{var a=e.recommended;if(!0===a||"true"===a)n=!0;else if("string"==typeof a){var o=a.toLowerCase().trim();n="true"===o.replace(/[^\w\s]/g,"").trim()||o.includes("true")}}return n?r.createElement("span",{style:{color:"#ffa726",fontSize:"16px"}},"★"):""}()),r.createElement(dt().Cell,null,(n="success"===(t=e.fieldstatus||"")||"string"==typeof t&&("success"===t.toLowerCase().trim()||t.toLowerCase().trim().startsWith("success")),r.createElement("div",{style:{display:"inline-flex",alignItems:"center",gap:6}},r.createElement("span",{style:{display:"inline-block",width:10,height:10,borderRadius:"50%",backgroundColor:n?"#4caf50":"#f44336"},title:"string"==typeof t?t.replace(/🟢|🔴/g,"").trim():String(t)}),r.createElement("span",null,"string"==typeof t?t.replace(/🟢|🔴/g,"").trim():t)))),r.createElement(dt().Cell,null,e.percent_coverage||"0.0"),r.createElement(dt().Cell,null,e.percentage_success||"0.00"),r.createElement(dt().Cell,null,e["metadata.index"]||""),r.createElement(dt().Cell,null,e["metadata.sourcetype"]||""),r.createElement(dt().Cell,null,e["metadata.datamodel"]||""),r.createElement(dt().Cell,null,e["metadata.nodename"]||""),r.createElement(dt().Cell,null,e.count_total||"0"),r.createElement(dt().Cell,null,e.count_success||"0"),r.createElement(dt().Cell,null,e.count_failure||"0"));var t,n}))))))))),!("raw"===y&&"new"===M.dictionaryOption)&&"monitor"!==y&&r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:5,label:Fn("step5"),isLight:"step5"!==k}),panelId:"step5"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement(Mr(),{title:"About this preview and data dictionaries:",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,"This step allows you to preview the data dictionary structure, either for a new dictionary that will be created or an existing dictionary, depending on your selection."),r.createElement("li",null,"This is a read-only view. Remember that dictionaries can easily be modified through the dictionary management screen.")))),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:8}},"This step shows in read only mode the data dictionary that was used for the CIM parsing simulation. (the new dictionary to be created, or the existing one to be used depending on your selection)"),"raw"!==y&&r.createElement("div",null,r.createElement("label",{htmlFor:"restrict-recommended-select-step4",id:"restrict-recommended-label-step4",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Restrict to recommended fields?:"),r.createElement(ht(),{id:"restrict-recommended-select-step4","aria-labelledby":"restrict-recommended-label-step4",value:M.restrictToRecommended||"True",onChange:function(e,t){var n=t.value;rn({restrictToRecommended:String(n)})},style:{width:250}},r.createElement(ht().Option,{value:"True",label:"True"}),r.createElement(ht().Option,{value:"False",label:"False"})))),Ge?r.createElement("div",{style:{display:"flex",alignItems:"center",gap:12,marginBottom:16}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{color:en.textSecondary}},"Loading dictionary preview...")):Ze?r.createElement(Jt(),{type:"error",style:{marginBottom:16}},Ze):Ve&&"object"===db(Ve)&&Object.keys(Ve).length>0?r.createElement("div",{style:{backgroundColor:en.backgroundSecondary,padding:16,borderRadius:4,maxHeight:500,overflowY:"auto"}},r.createElement(Mt(),{json:Ve,defaultExpanded:!0})):r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"new"===M.dictionaryOption?"Please configure the dictionary settings in Step 3 to generate the dictionary preview.":"Please select an existing dictionary in Step 3 to load the dictionary preview."))),r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:6,label:Fn("step6"),isLight:"step6"!==k}),panelId:"step6"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement(Mr(),{title:"About thresholds in TrackMe fields quality:",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,"These configurations allow defining the default thresholds for both the global entity, which aggregates all fields for this break-by context, and individual fields."),r.createElement("li",null,"Thresholds are initialized at the time of the entity discovery and creation, but ",r.createElement("strong",null,"can easily be adjusted through the TrackMe entity modification screen"),".")))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h2",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Default thresholds for fields:"),r.createElement("div",{style:{fontSize:14,marginBottom:8,color:en.text}},"When discovering fields, TrackMe will preset a threshold value for each field, which can be easily adjusted in the entity modification screen."),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:en.text}},"The percentage of success represents the amount of times the field passed the quality controls in the sampled events. (formula: count of success/count of total * 100)"),r.createElement("div",null,r.createElement("label",{htmlFor:"default-threshold-fields-slider",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Default threshold for fields: ",r.createElement("strong",{style:{color:en.text}},M.defaultThresholdFields||"85","%")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"default-threshold-fields-slider",value:parseInt(M.defaultThresholdFields||"85",10),onChange:function(e,t){var n=t.value;rn({defaultThresholdFields:String(n)})},min:0,max:100,step:1,"aria-label":"Default threshold for fields"}))),r.createElement("div",{style:{marginTop:24}},r.createElement("h3",{style:{fontSize:14,fontWeight:600,marginBottom:8,color:en.text}},"Impact score for fields:"),r.createElement("div",{style:{fontSize:13,marginBottom:12,color:en.textSecondary}},"The impact score (0-100) assigned when a field threshold is breached. An entity is green if the accumulated score is 0, orange if >0 and <100, red if >=100."),r.createElement("div",null,r.createElement("label",{htmlFor:"default-score-fields-slider",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Default impact score for fields: ",r.createElement("strong",{style:{color:en.text}},M.defaultScoreFields||"100")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"default-score-fields-slider",value:parseInt(M.defaultScoreFields||"100",10),onChange:function(e,t){var n=t.value;rn({defaultScoreFields:String(n)})},min:0,max:100,step:1,"aria-label":"Default impact score for fields"}))))),r.createElement("div",null,r.createElement("h2",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Default thresholds for the global entity:"),r.createElement("div",{style:{fontSize:14,marginBottom:8,color:en.text}},"TrackMe creates a global entity for each context, called @global, which is the aggregation of all fields."),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:en.text}},"The default threshold defines the minimum percentage of passed fields. (formula: passed fields / total fields checked * 100)"),r.createElement("div",null,r.createElement("label",{htmlFor:"default-threshold-global-slider",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Default threshold for the global entity: ",r.createElement("strong",{style:{color:en.text}},M.defaultThresholdGlobal||"100","%")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"default-threshold-global-slider",value:parseInt(M.defaultThresholdGlobal||"100",10),onChange:function(e,t){var n=t.value;rn({defaultThresholdGlobal:String(n)})},min:0,max:100,step:1,"aria-label":"Default threshold for the global entity"}))),r.createElement("div",{style:{marginTop:24}},r.createElement("h3",{style:{fontSize:14,fontWeight:600,marginBottom:8,color:en.text}},"Impact score for the global entity:"),r.createElement("div",{style:{fontSize:13,marginBottom:12,color:en.textSecondary}},"The impact score (0-100) assigned when the global entity threshold is breached. An entity is green if the accumulated score is 0, orange if >0 and <100, red if >=100."),r.createElement("div",null,r.createElement("label",{htmlFor:"default-score-global-slider",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Default impact score for the global entity: ",r.createElement("strong",{style:{color:en.text}},M.defaultScoreGlobal||"100")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"default-score-global-slider",value:parseInt(M.defaultScoreGlobal||"100",10),onChange:function(e,t){var n=t.value;rn({defaultScoreGlobal:String(n)})},min:0,max:100,step:1,"aria-label":"Default impact score for the global entity"}))))))),"monitor"!==y&&r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:7,label:Fn("step7"),isLight:"step7"!==k}),panelId:"step7"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement(Mr(),{title:"About performance benchmark",style:{marginBottom:20}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:en.text}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,marginBottom:0}},r.createElement("li",null,"These steps allow you to benchmark the performance of the collect job, and choose the best strategy for your collect job."),r.createElement("li",null,r.createElement("strong",null,"The simulation search must be executed first"),", before you can execute the benchmark steps."),r.createElement("li",null,"TrackMe can execute two types of collect jobs, ",r.createElement("strong",null,"sampling")," and ",r.createElement("strong",null,"head")," modes."),r.createElement("li",null,"The sampling mode offers a superior representation of the dataset, and has more variations in terms of the number of events which will be processed."),r.createElement("li",null,"The head mode is more simple as it will only retrieve the first x events from the dataset."),r.createElement("li",null,"Both modes are performing and cost efficient, and both modes are supported in a local or remote context.")))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:24}},r.createElement("div",null,r.createElement("h2",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Benchmark head mode:"),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:en.text}},"Option 1: Use Splunk’s head mode to retrieve the first x events from the dataset as a simple baseline."),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"benchmark-head-event-limit-input",id:"benchmark-head-event-limit-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Event limit:"),r.createElement(Gt(),{id:"benchmark-head-event-limit-input",value:M.benchmarkHeadEventLimit||"10000",onChange:function(e,t){var n=t.value;rn({benchmarkHeadEventLimit:n})},placeholder:"10000",style:{width:200}}))),r.createElement(c(),{appearance:"secondary",icon:Ae?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:hn,disabled:Ae||!M.simulationSearchHead,style:{maxWidth:250}},Ae?"Benchmarking...":"Benchmark head mode"),(null!==Ie||je)&&r.createElement("div",{style:{marginTop:16}},null!==Ie&&r.createElement("div",{style:{marginBottom:12}},r.createElement("h3",{style:{fontSize:16,fontWeight:600,color:"#a7c7e7"}},Ie.toFixed(2)," seconds runtime")),je&&Array.isArray(je)&&je.length>0&&r.createElement("div",null,r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:8}},r.createElement("div",{style:{border:"1px solid ".concat(en.border),borderRadius:4,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{label:"",icon:r.createElement(x(),null),appearance:"subtle",style:{padding:0,width:32,height:32,minWidth:32,maxWidth:32,flex:"0 0 auto"}})},r.createElement(m(),null,r.createElement(m().Item,{onClick:function(){var e,t=(null===(e=M.simulationSearchHead)||void 0===e?void 0:e.replace("head replace_head_limit","head ".concat(M.benchmarkHeadEventLimit||"10000")))||"";t="".concat(t," | stats count by ").concat(M.simulationBreakbyStatement||""),window.open("/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),"_blank")}},r.createElement(Lt(),{style:{marginRight:8}}),"Open in Search"))))),r.createElement(dt(),null,r.createElement(dt().Head,null,Object.keys(je[0]||{}).map(function(e){return r.createElement(dt().HeadCell,{key:e},e)})),r.createElement(dt().Body,null,je.map(function(e,t){var n="head-".concat(t,"-").concat(JSON.stringify(e));return r.createElement(dt().Row,{key:n},Object.keys(je[0]||{}).map(function(t){return r.createElement(dt().Cell,{key:t},String(e[t]||""))}))})))))),r.createElement("div",null,r.createElement("h2",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Benchmark sampling mode:"),r.createElement("div",{style:{fontSize:14,marginBottom:16,color:en.text}},"Option 2: Use Splunk’s sampling mode to extract a representative subset of events while maintaining high performance."),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{display:"flex",gap:16,alignItems:"flex-start"}},r.createElement("div",{style:{flex:1}},r.createElement("label",{htmlFor:"sampling-value-select",id:"sampling-value-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Sampling value:"),r.createElement(ht(),{id:"sampling-value-select","aria-labelledby":"sampling-value-label",value:M.benchmarkSamplingValue||"100",onChange:function(e,t){var n=t.value;rn({benchmarkSamplingValue:String(n)})},style:{width:"100%"}},r.createElement(ht().Option,{value:"100",label:"1:100"}),r.createElement(ht().Option,{value:"1000",label:"1:1000"}),r.createElement(ht().Option,{value:"10000",label:"1:10000"}),r.createElement(ht().Option,{value:"custom",label:"Custom"}))),r.createElement("div",{style:{flex:1}},r.createElement("label",{htmlFor:"hard-limit-input",id:"hard-limit-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Hard limit value:"),r.createElement(Gt(),{id:"hard-limit-input",value:M.benchmarkSamplingHardLimit||"10000",onChange:function(e,t){var n=t.value;rn({benchmarkSamplingHardLimit:n})},placeholder:"10000",style:{width:"100%"}}))),"custom"===M.benchmarkSamplingValue&&r.createElement("div",{style:{marginTop:16}},r.createElement("label",{htmlFor:"sampling-custom-value-input",id:"sampling-custom-value-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Custom value:"),r.createElement(Gt(),{id:"sampling-custom-value-input",value:M.benchmarkSamplingCustomValue||"",onChange:function(e,t){var n=t.value;rn({benchmarkSamplingCustomValue:n})},placeholder:"1:100",style:{width:250,marginBottom:12}}))),r.createElement(c(),{appearance:"secondary",icon:Te?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:yn,disabled:Te||!M.simulationSearchSample||"local"!==M.account,style:{maxWidth:250}},Te?"Benchmarking...":"Benchmark sampling mode"),(null!==He||Ye)&&r.createElement("div",{style:{marginTop:16}},null!==He&&r.createElement("div",{style:{marginBottom:12}},r.createElement("h3",{style:{fontSize:16,fontWeight:600,color:"#a7c7e7"}},He.toFixed(2)," seconds runtime")),Ye&&Array.isArray(Ye)&&Ye.length>0&&r.createElement("div",null,r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:8}},r.createElement("div",{style:{border:"1px solid ".concat(en.border),borderRadius:4,width:"fit-content"}},r.createElement(f(),{toggle:r.createElement(c(),{label:"",icon:r.createElement(x(),null),appearance:"subtle",style:{padding:0,width:32,height:32,minWidth:32,maxWidth:32,flex:"0 0 auto"}})},r.createElement(m(),null,r.createElement(m().Item,{onClick:function(){var e,t=M.benchmarkSamplingValue||"100";"custom"===t&&(t=M.benchmarkSamplingCustomValue||"1000000"),"local"!==M.account&&(t="0");var n=(null===(e=M.simulationSearchSample)||void 0===e?void 0:e.replace("sample_ratio=replace_sample_ratio","sample_ratio=".concat(t)))||"";n=n.replace("head replace_sample_hard_limit","head ".concat(M.benchmarkSamplingHardLimit||"10000")),n="".concat(n," | stats count by ").concat(M.simulationBreakbyStatement||""),window.open("/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(M.earliest||"-24h"),"&latest=").concat(encodeURIComponent(M.latest||"now")),"_blank")}},r.createElement(Lt(),{style:{marginRight:8}}),"Open in Search"))))),r.createElement(dt(),null,r.createElement(dt().Head,null,Object.keys(Ye[0]||{}).map(function(e){return r.createElement(dt().HeadCell,{key:e},e)})),r.createElement(dt().Body,null,Ye.map(function(e,t){var n="sampling-".concat(t,"-").concat(JSON.stringify(e));return r.createElement(dt().Row,{key:n},Object.keys(Ye[0]||{}).map(function(t){return r.createElement(dt().Cell,{key:t},String(e[t]||""))}))}))))))))),r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:"monitor"===y?7:8,label:Fn("step8"),isLight:k!==("monitor"===y?"step7":"step8")}),panelId:"monitor"===y?"step7":"step8"},r.createElement("div",{style:{padding:"16px 0"}},"monitor"!==y&&r.createElement(Mr(),{title:"About the collect job main settings:",style:{marginBottom:20}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text,margin:0}},r.createElement("li",null,"This step allows you to define the main settings for the collect job, such as the ",r.createElement("strong",null,"strategy"),", the ",r.createElement("strong",null,"index destination"),", and the ",r.createElement("strong",null,"name"),"."),r.createElement("li",null,"The ",r.createElement("strong",null,"strategy")," defines the mode of the collect job: sampling or head."),r.createElement("li",null,"The ",r.createElement("strong",null,"index destination")," is the index where the collect job will store the data."),r.createElement("li",null,"The ",r.createElement("strong",null,"name")," is the identifier for the collect job."),r.createElement("li",null,"We recommend using generated settings for the ",r.createElement("strong",null,"earliest and latest time"),", as well as the ",r.createElement("strong",null,"cron schedule"),".")))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"monitor"!==y?"0.5fr 1fr":"1fr",gap:24,marginBottom:24}},"monitor"!==y&&r.createElement("div",null,r.createElement("div",{style:{marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"collect-strategy-select",id:"collect-strategy-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Choose the strategy for this collect job:"),r.createElement(ht(),{id:"collect-strategy-select","aria-labelledby":"collect-strategy-label",value:M.collectStrategy||"sampling",onChange:function(e,t){var n=t.value;rn({collectStrategy:String(n)})},style:{width:300}},r.createElement(ht().Option,{value:"head",label:"Head"}),r.createElement(ht().Option,{value:"sampling",label:"Sampling"})))),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"summary-index-input",id:"summary-index-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Index destination for this collect job?:"),r.createElement(Gt(),{id:"summary-index-input",value:M.summaryIndex||"summary",onChange:function(e,t){var n=t.value;rn({summaryIndex:n})},placeholder:"summary",style:{width:300}})))),r.createElement("div",null,r.createElement("h3",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"Job creation summary:"),r.createElement("div",{style:{backgroundColor:en.backgroundSecondary,padding:16,borderRadius:4}},r.createElement(Mt(),{json:{account:M.account||"",collect_strategy:M.collectStrategy||"",collect_limiter:function(){if("head"===M.collectStrategy)return M.benchmarkHeadEventLimit||"10000";if("sampling"===M.collectStrategy){var e=M.benchmarkSamplingValue||"100";return"custom"===e?e=M.benchmarkSamplingCustomValue||"1000000":e.startsWith("1:")&&(e=e.replace("1:","")),"local"!==M.account?"0":e}return"0"}(),cron_schedule:M.cronSchedule||"",datamodel:M.datamodel||"",earliest_time:M.earliest||"",latest_time:M.latest||"",nodename:M.nodename||"",search_constraint:M.rootConstraint||"",search_type:M.searchType||"",default_threshold_fields:parseInt(M.defaultThresholdFields||"85",10),default_threshold_global:parseInt(M.defaultThresholdGlobal||"100",10),breakby:M.breakby||"",summary_index:M.summaryIndex||"",tracker_name:M.trackerName||"",dictionary_name:M.dictionaryName||""},defaultExpanded:!0})))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16}},r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:8}},"Time range: we recommend last 24 hours"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement("div",{style:{flex:1}},r.createElement("label",{htmlFor:"earliest-input",id:"earliest-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Earliest:"),r.createElement(Gt(),{id:"earliest-input",value:M.earliest||"-24h",onChange:function(e,t){var n=t.value;rn({earliest:n})},placeholder:"-24h",style:{width:"100%",border:M.earliest&&""!==M.earliest.trim()?void 0:"2px solid #d32f2f"}})),r.createElement("div",{style:{flex:1}},r.createElement("label",{htmlFor:"latest-input",id:"latest-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Latest:"),r.createElement(Gt(),{id:"latest-input",value:M.latest||"now",onChange:function(e,t){var n=t.value;rn({latest:n})},placeholder:"now",style:{width:"100%",border:M.latest&&""!==M.latest.trim()?void 0:"2px solid #d32f2f"}})))),r.createElement("div",null,r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:8}},"Cron schedule: we recommend a daily execution at night"),r.createElement("div",null,r.createElement("label",{htmlFor:"cron-schedule-input",id:"cron-schedule-label",style:{display:"block",marginBottom:8,fontSize:14,color:en.textSecondary}},"Cron schedule:"),r.createElement(Gt(),{id:"cron-schedule-input",value:M.cronSchedule||"",onChange:function(e,t){var n=t.value;rn({cronSchedule:n})},placeholder:"0 1 * * *",style:{width:"100%",maxWidth:"300px",border:M.cronSchedule&&""!==M.cronSchedule.trim()?void 0:"2px solid #d32f2f"}})))),"monitor"!==y&&r.createElement("div",{style:{marginTop:16,backgroundColor:en.backgroundSecondary,padding:16,borderRadius:4}},r.createElement("h2",{style:{fontSize:16,fontWeight:600,marginBottom:12,color:en.text}},"About the cron schedule:"),r.createElement("ul",{style:{lineHeight:1.8,marginLeft:20,color:en.text}},r.createElement("li",null,"This wizard will create two scheduled jobs: one for the collect job and one for the monitor job."),r.createElement("li",null,"The monitor job will be automatically scheduled to execute 10 minutes after the collect job."))))),r.createElement(i().Panel,{label:r.createElement(Sb,{stepNumber:"monitor"===y?8:9,label:Fn("step9"),isLight:k!==("monitor"===y?"step8":"step9")}),panelId:"monitor"===y?"step8":"step9"},r.createElement("div",{style:{padding:"16px 0"}},r.createElement("div",{style:{fontSize:14,color:en.textSecondary,marginBottom:16}},"Promote to Live: the new collect job will now be created."),r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"Review all your settings before creating the collect job. Once created, the collect job and monitor job will be scheduled and begin monitoring entities according to your configuration."),(gn=an()).length>0?r.createElement(Jt(),{type:"error",style:{marginBottom:16}},r.createElement("div",{style:{fontWeight:500,marginBottom:8}},"Missing mandatory fields:"),r.createElement("ul",{style:{margin:0,paddingLeft:20}},gn.map(function(e){return r.createElement("li",{key:e},e)}))):null,r.createElement("div",{style:{marginTop:24,marginBottom:24,display:"flex",justifyContent:"flex-end"}},r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:Yn,disabled:A||!on,style:{maxWidth:"200px"}},A?"Creating...":"Create this tracker")),r.createElement("div",{style:{marginTop:24}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:12,color:en.text}},"Summary of configuration:"),r.createElement("div",{style:{backgroundColor:en.backgroundSecondary,padding:16,borderRadius:4}},r.createElement(Mt(),{json:gb(gb(gb({tracker_name:M.trackerName||"",account:M.account||""},"monitor"!==y&&{collect_strategy:M.collectStrategy||""}),{},{search_constraint:M.rootConstraint||"",cron_schedule:M.cronSchedule||"",time_range:"".concat(M.earliest||""," to ").concat(M.latest||"")},"monitor"!==y&&{dictionary:"new"===M.dictionaryOption?"New: ".concat(M.dictionaryName||""):"Existing: ".concat(M.dictionaryName||"")}),{},{thresholds:{fields:parseInt(M.defaultThresholdFields||"85",10),global:parseInt(M.defaultThresholdGlobal||"100",10)}}),defaultExpanded:!0}))))))),oe&&r.createElement(r.Fragment,null,r.createElement("style",null,"\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes zoomIn {\n from { transform: scale(0.9); opacity: 0; }\n to { transform: scale(1); opacity: 1; }\n }\n "),r.createElement("div",{role:"dialog","aria-modal":"true","aria-label":"Enlarged view of ".concat(oe.alt),onClick:function(){return ie(null)},onKeyDown:function(e){"Escape"===e.key&&ie(null)},style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.9)",zIndex:1e4,display:"flex",alignItems:"center",justifyContent:"center",padding:20,cursor:"pointer",animation:"fadeIn 0.2s ease-in"}},r.createElement("div",{role:"button",onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){return e.stopPropagation()},style:{position:"relative",maxWidth:"95vw",maxHeight:"95vh",animation:"zoomIn 0.2s ease-out",cursor:"default"},tabIndex:-1},r.createElement("button",{type:"button",onClick:function(){return ie(null)},style:{position:"absolute",top:-40,right:0,background:"rgba(255, 255, 255, 0.2)",border:"none",borderRadius:"50%",width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"#ffffff",fontSize:24,fontWeight:"bold",transition:"background 0.2s ease",zIndex:10001},onMouseEnter:function(e){e.currentTarget.style.background="rgba(255, 255, 255, 0.3)"},onMouseLeave:function(e){e.currentTarget.style.background="rgba(255, 255, 255, 0.2)"},"aria-label":"Close enlarged image"},"×"),r.createElement("img",{src:oe.src,alt:oe.alt,style:{maxWidth:"100%",maxHeight:"95vh",borderRadius:4,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.5)"}})))))};function kb(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Cb(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Cb(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Cb(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Cb(d,"constructor",u),Cb(u,"constructor",s),s.displayName="GeneratorFunction",Cb(u,a,"GeneratorFunction"),Cb(d),Cb(d,a,"Generator"),Cb(d,r,function(){return this}),Cb(d,"toString",function(){return"[object Generator]"}),(kb=function(){return{w:o,m:f}})()}function Cb(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Cb=function(e,t,n,r){function o(t,n){Cb(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Cb(e,t,n,r)}function Eb(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Ab(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Eb(o,r,a,i,l,"next",e)}function l(e){Eb(o,r,a,i,l,"throw",e)}i(void 0)})}}function Lb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ob(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ob(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ob(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(zb(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,zb(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,zb(d,"constructor",u),zb(u,"constructor",s),s.displayName="GeneratorFunction",zb(u,a,"GeneratorFunction"),zb(d),zb(d,a,"Generator"),zb(d,r,function(){return this}),zb(d,"toString",function(){return"[object Generator]"}),(Db=function(){return{w:o,m:f}})()}function zb(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}zb=function(e,t,n,r){function o(t,n){zb(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},zb(e,t,n,r)}function jb(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Pb(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){jb(o,r,a,i,l,"next",e)}function l(e){jb(o,r,a,i,l,"throw",e)}i(void 0)})}}function Bb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0,onChange:z,disabled:!d,style:{cursor:d?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none",boxShadow:"none"},onFocus:function(e){e.target.style.outline="none"},onBlur:function(e){e.target.style.outline="none"}})),r.createElement(dt().HeadCell,{style:{width:100}},"Reports"),r.createElement(dt().HeadCell,{style:{width:200}},"Tracker Name"),r.createElement(dt().HeadCell,{style:{width:700}},"Knowledge Objects")),r.createElement(dt().Body,null,M.map(function(e,t){var n,a=e.tracker_name||"row-".concat(t),o=x.has(e.tracker_name);return r.createElement(dt().Row,{key:a},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:o,onChange:function(){return D(e.tracker_name)},disabled:!d,style:{cursor:d?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none",boxShadow:"none"},onFocus:function(e){e.target.style.outline="none"},onBlur:function(e){e.target.style.outline="none"}})),r.createElement(dt().Cell,null,(null===(n=e.knowledge_objects)||void 0===n?void 0:n.reports)&&e.knowledge_objects.reports.length>0&&r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),Y(e.tracker_name)},title:"Open reports in Splunk Web",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"Reports",r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement(dt().Cell,{style:{width:200}},e.tracker_name),r.createElement(dt().Cell,{style:{width:700}},r.createElement("div",{style:{maxWidth:700,overflow:"auto",width:700}},r.createElement(Mt(),{json:e.knowledge_objects||{}}))))}))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close"))),r.createElement(Tb,{open:E,tenantId:n,trackerNames:Array.from(x),onClose:function(){return A(!1)},onSuccess:P}))};var Fb=n(23577),Ib=n.n(Fb),Rb=n(81262),Wb=n.n(Rb),Hb=n(23457),qb=n.n(Hb),Xb=n(60158),Vb=n.n(Xb);function Ub(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return $b(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):($b(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,$b(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,$b(d,"constructor",u),$b(u,"constructor",s),s.displayName="GeneratorFunction",$b(u,a,"GeneratorFunction"),$b(d),$b(d,a,"Generator"),$b(d,r,function(){return this}),$b(d,"toString",function(){return"[object Generator]"}),(Ub=function(){return{w:o,m:f}})()}function $b(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}$b=function(e,t,n,r){function o(t,n){$b(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},$b(e,t,n,r)}function Gb(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Kb(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Gb(o,r,a,i,l,"next",e)}function l(e){Gb(o,r,a,i,l,"throw",e)}i(void 0)})}}function Jb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(tg(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,tg(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,tg(d,"constructor",u),tg(u,"constructor",s),s.displayName="GeneratorFunction",tg(u,a,"GeneratorFunction"),tg(d),tg(d,a,"Generator"),tg(d,r,function(){return this}),tg(d,"toString",function(){return"[object Generator]"}),(eg=function(){return{w:o,m:f}})()}function tg(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}tg=function(e,t,n,r){function o(t,n){tg(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},tg(e,t,n,r)}function ng(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function rg(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ng(o,r,a,i,l,"next",e)}function l(e){ng(o,r,a,i,l,"throw",e)}i(void 0)})}}function ag(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return og(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?og(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function og(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(sg(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,sg(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,sg(d,"constructor",u),sg(u,"constructor",s),s.displayName="GeneratorFunction",sg(u,a,"GeneratorFunction"),sg(d),sg(d,a,"Generator"),sg(d,r,function(){return this}),sg(d,"toString",function(){return"[object Generator]"}),(lg=function(){return{w:o,m:f}})()}function sg(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}sg=function(e,t,n,r){function o(t,n){sg(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},sg(e,t,n,r)}function ug(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function cg(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ug(o,r,a,i,l,"next",e)}function l(e){ug(o,r,a,i,l,"throw",e)}i(void 0)})}}function dg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fg(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(vg(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,vg(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,vg(d,"constructor",u),vg(u,"constructor",s),s.displayName="GeneratorFunction",vg(u,a,"GeneratorFunction"),vg(d),vg(d,a,"Generator"),vg(d,r,function(){return this}),vg(d,"toString",function(){return"[object Generator]"}),(gg=function(){return{w:o,m:f}})()}function vg(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}vg=function(e,t,n,r){function o(t,n){vg(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},vg(e,t,n,r)}function _g(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Mg(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){_g(o,r,a,i,l,"next",e)}function l(e){_g(o,r,a,i,l,"throw",e)}i(void 0)})}}function wg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Sg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sg(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!e?t[0].name:e}),e.n=5;break;case 4:e.p=4,r=e.v,b(r.message||"Failed to fetch dictionaries");case 5:return e.p=5,d(!1),e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])})),[n]),ce=r.useCallback(Mg(gg().m(function e(){var t,r;return gg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&x){e.n=1;break}return e.a(2);case 1:return m(!0),e.p=2,e.n=3,ab(n,x);case 3:t=e.v,A(t),J(new Map),D(new Set),e.n=5;break;case 4:e.p=4,r=e.v,b(r.message||"Failed to fetch dictionary fields");case 5:return e.p=5,m(!1),e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])})),[n,x]),de=r.useCallback(Mg(gg().m(function e(){var t,r;return gg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&x){e.n=1;break}return P({}),e.a(2);case 1:return e.p=1,e.n=2,ub(n,x);case 2:(t=e.v)&&"object"===bg(t)?P(t):P({}),e.n=4;break;case 3:e.p=3,r=e.v,console.error("Failed to load trackers using dictionary:",r),P({});case 4:return e.a(2)}},e,null,[[1,3]])})),[n,x]);r.useEffect(function(){t&&n&&ue()},[t,n,ue]),r.useEffect(function(){x&&n?(ce(),de()):(A([]),P({}))},[x,n,ce,de]);var fe=r.useCallback(function(e){k(e),o&&o(e)},[o]),pe=r.useCallback(function(e,t){J(function(n){var r=new Map(n),a=r.get(e)||{};return r.set(e,hg(hg({},a),t)),r})},[]),me=r.useCallback(Mg(gg().m(function e(){var t,r;return gg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&x){e.n=1;break}return e.a(2);case 1:if(t=[],K.forEach(function(e,n){var r=E.find(function(e){return e.field_name===n});r&&t.push(hg(hg({},r),e))}),0!==t.length){e.n=2;break}return le({type:"info",title:"No changes",message:"No fields have been modified."}),e.a(2);case 2:return m(!0),e.p=3,e.n=4,sb({tenant_id:n,dictionary_name:x,action:"update_fields",fields_list:t});case 4:return le({type:"success",title:"Success",message:"Dictionary fields updated successfully."}),e.n=5,ce();case 5:e.n=7;break;case 6:e.p=6,r=e.v,le({type:"error",title:"Error",message:r.message||"Failed to update dictionary fields"});case 7:return e.p=7,m(!1),e.f(7);case 8:return e.a(2)}},e,null,[[3,6,7,8]])})),[n,x,K,E,ce,le]),he=r.useCallback(function(){J(new Map),D(new Set)},[]),ye=r.useCallback(Mg(gg().m(function e(){var t;return gg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&x&&Y.trim()){e.n=1;break}return le({type:"warning",title:"Validation error",message:"Please enter a field name."}),e.a(2);case 1:if(!E.some(function(e){return e.field_name===Y.trim()})){e.n=2;break}return le({type:"warning",title:"Validation error",message:"A field with this name already exists."}),e.a(2);case 2:return m(!0),e.p=3,e.n=4,sb({tenant_id:n,dictionary_name:x,action:"add_field",fields_list:[{field_name:Y.trim(),allow_unknown:R,allow_empty_or_missing:q,regex:U}]});case 4:return le({type:"success",title:"Success",message:"Field added successfully."}),F(""),$(".*"),e.n=5,ce();case 5:e.n=7;break;case 6:e.p=6,t=e.v,le({type:"error",title:"Error",message:t.message||"Failed to add field"});case 7:return e.p=7,m(!1),e.f(7);case 8:return e.a(2)}},e,null,[[3,6,7,8]])})),[n,x,Y,R,q,U,E,ce,le]),be=r.useCallback(Mg(gg().m(function e(){var t,r;return gg().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&x&&0!==T.size){e.n=1;break}return le({type:"warning",title:"No fields selected",message:"Please select at least one field to delete."}),e.a(2);case 1:return t=Array.from(T),m(!0),e.p=2,e.n=3,sb({tenant_id:n,dictionary_name:x,action:"delete_fields",fields_list:JSON.stringify(t)});case 3:return le({type:"success",title:"Success",message:"Fields deleted successfully."}),D(new Set),e.n=4,ce();case 4:e.n=6;break;case 5:e.p=5,r=e.v,le({type:"error",title:"Error",message:r.message||"Failed to delete fields"});case 6:return e.p=6,m(!1),e.f(6);case 7:return e.a(2)}},e,null,[[2,5,6,7]])})),[n,x,T,ce,le]),ge=r.useCallback(function(e){D(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),ve=r.useCallback(function(){if(x){var e=M.find(function(e){return e.name===x});if(e){var t={name:e.name,fields:E},n=new Blob([JSON.stringify(t,null,2)],{type:"application/json"}),r=URL.createObjectURL(n),a=document.createElement("a");a.href=r,a.download="".concat(x,".json"),document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(r),le({type:"success",title:"Export successful",message:'Dictionary "'.concat(x,'" exported successfully.')})}}else le({type:"warning",title:"No dictionary selected",message:"Please select a dictionary to export."})},[x,M,E,le]),_e=r.useCallback(function(){ue(),ee(!1)},[ue]),Me=r.useCallback(function(){ue(),ie(!1)},[ue]),we=r.useCallback(function(){ue(),k(""),re(!1)},[ue]),Se=r.useCallback(function(e){try{var t=new URL(window.location.href),n="".concat(t.protocol,"//").concat(t.host),r=t.pathname.split("/").filter(function(e){return e&&!["en-US","en-GB","fr-FR"].includes(e)}),a=r.length>0?"/".concat(r[0]):"",o="".concat(a,"/app/trackme/search?q=").concat(encodeURIComponent(e));window.open("".concat(n).concat(o),"_blank")}catch(e){console.error("Failed to open Splunk Web:",e)}},[]),xe=K.size>0,ke=r.useCallback(function(e){return!0===e||"true"===e||"True"===e?"True":"False"},[]);return r.createElement(r.Fragment,null,r.createElement(Qi,{open:t,onClose:a,title:"Fields Quality Monitoring - Manage dictionaries"},r.createElement("style",null,'\n /* Remove focus rectangle from checkboxes */\n input[type="checkbox"]:focus,\n input[type="checkbox"]:focus-visible,\n input[type="checkbox"]:focus-within {\n outline: none !important;\n box-shadow: none !important;\n border: none !important;\n }\n input[type="checkbox"] {\n outline: none !important;\n }\n '),u&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),y&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},y),!u&&!y&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:24}},r.createElement("h2",{style:{color:se.text}},"Use this screen to manage data dictionaries:"),r.createElement(Mr(),{title:"About Data Dictionaries:",style:{marginTop:16}},r.createElement("div",{style:{padding:16}},r.createElement("ul",{style:{color:se.textSecondary,marginLeft:20}},r.createElement("li",null,r.createElement("strong",null,"Dictionary KVstore:")," TrackMe stores the dictionaries in the tenant's"," ",r.createElement(bt(),{to:"#",onClick:function(e){if(e.preventDefault(),n){var t="| inputlookup trackme_fqm_data_dictionary_tenant_".concat(n," | eval keyid=_key | eval _time=mtime | fields keyid, name, json_dict, _time, mtime");Se(t)}},style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"KVstore collection",r.createElement(Ge(),{style:{fontSize:14}})),"."),r.createElement("li",null,r.createElement("strong",null,"Allow unknown:")," If you choose to allow unknown by default, the collect job will allow unknown fields to be parsed."),r.createElement("li",null,r.createElement("strong",null,"Allow missing/null:")," If you choose to allow missing/null by default, the collect job will allow missing/null fields to be parsed."),r.createElement("li",null,r.createElement("strong",null,"Regex expression:")," Define a regular expression to validate the field content, to match anything, you would use: .*"),r.createElement("li",null,r.createElement("strong",null,"Dictionaries and trackers usage:")," You can list all dictionaries and trackers using them with a"," ",r.createElement(bt(),{to:"#",onClick:function(e){if(e.preventDefault(),n){var t="| trackme mode=post url=\"/services/trackme/v2/splk_fqm/fqm_dictionaries_by_trackers\" body=\"{'tenant_id': '".concat(n,"'}\"");Se(t)}},style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"TrackMe REST command",r.createElement(Ge(),{style:{fontSize:14}})),"."))))),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:20,marginBottom:24}},r.createElement("div",null,r.createElement(ht(),{value:x,onChange:function(e,t){var n=t.value;return fe(n)},style:{width:400},filter:!0},r.createElement(ht().Option,{value:"",label:"Select a dictionary..."}),M.map(function(e){return r.createElement(ht().Option,{key:e.name,value:e.name,label:e.name})}))),r.createElement("div",{style:{display:"flex",gap:8,alignItems:"flex-start"}},r.createElement(c(),{appearance:"secondary",onClick:function(){return ee(!0)}},r.createElement(Ib(),{style:{marginRight:6,verticalAlign:"middle"}}),"Create new"),r.createElement(c(),{appearance:"secondary",onClick:function(){return ie(!0)}},r.createElement(qb(),{style:{marginRight:6,verticalAlign:"middle"}}),"Import from file"),r.createElement(c(),{appearance:"secondary",onClick:ve,disabled:!x},r.createElement(Vb(),{style:{marginRight:6,verticalAlign:"middle"}}),"Export selected"),r.createElement(c(),{appearance:"destructive",onClick:function(){return re(!0)},disabled:!x},r.createElement(qn(),{style:{marginRight:6,verticalAlign:"middle"}}),"Delete selected"))),x&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:16,padding:12,backgroundColor:se.backgroundSecondary,borderRadius:4}},r.createElement("h3",{style:{color:se.text,marginBottom:8}},"Trackers using this dictionary:"),Object.keys(j).length>0?r.createElement("div",{style:{maxHeight:200,overflowY:"auto"}},r.createElement(Mt(),{json:j,defaultExpanded:!0})):r.createElement("p",{style:{color:se.textSecondary,fontStyle:"italic"}},"No trackers are currently using this dictionary.")),r.createElement("div",{style:{marginBottom:16}},r.createElement("h3",{style:{color:se.text,marginBottom:12}},"Add a new field:"),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"flex-start",flexWrap:"wrap"}},r.createElement(Gt(),{value:Y,onChange:function(e,t){var n=t.value;return F(n)},placeholder:"Field name",style:{width:200}}),r.createElement(ht(),{value:R,onChange:function(e,t){var n=t.value;return W(n)},style:{width:150}},r.createElement("option",{value:"True"},"Allow unknown: Yes"),r.createElement("option",{value:"False"},"Allow unknown: No")),r.createElement(ht(),{value:q,onChange:function(e,t){var n=t.value;return X(n)},style:{width:180}},r.createElement("option",{value:"True"},"Allow missing/null: Yes"),r.createElement("option",{value:"False"},"Allow missing/null: No")),r.createElement(Gt(),{value:U,onChange:function(e,t){var n=t.value;return $(n)},placeholder:"Regex (e.g., .*)",style:{width:300}}),r.createElement(c(),{appearance:"primary",onClick:ye,style:{width:120,flexShrink:0}},r.createElement(N(),{style:{marginRight:6,verticalAlign:"middle"}}),"Add field"))),r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{display:"flex",gap:8,marginBottom:12}},r.createElement(c(),{appearance:"primary",onClick:me,disabled:!xe,style:{maxWidth:200}},r.createElement(Ja(),{style:{marginRight:6,verticalAlign:"middle"}}),"Save fields changes"),r.createElement(c(),{appearance:"secondary",onClick:he,disabled:!xe,style:{maxWidth:150}},r.createElement(O(),{style:{marginRight:6,verticalAlign:"middle"}}),"Cancel changes"),r.createElement(c(),{appearance:"destructive",onClick:be,disabled:0===T.size,style:{maxWidth:250}},r.createElement(Wb(),{style:{marginRight:6,verticalAlign:"middle"}}),"Remove selected fields (",T.size,")")),r.createElement("p",{style:{color:se.textSecondary,fontSize:14}},"Update fields and hit the save button to apply changes, or select fields for deletion. Click on the icon to test the regex in a Splunk search.")),p?r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40,minHeight:200}},r.createElement(s(),{size:"medium"})):0===E.length?r.createElement(Jt(),{type:"info"},"No fields defined in this dictionary. Add fields using the form above."):r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:T.size===E.length&&E.length>0,onChange:function(){T.size===E.length?D(new Set):D(new Set(E.map(function(e){return e.field_name})))},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none",border:"none"},onFocus:function(e){e.target.style.outline="none",e.target.style.boxShadow="none",e.target.style.border="none"},onBlur:function(e){e.target.style.outline="none",e.target.style.boxShadow="none",e.target.style.border="none"}})),r.createElement(dt().HeadCell,{style:{width:150}},"Field Name"),r.createElement(dt().HeadCell,{style:{width:150}},"Allow Unknown"),r.createElement(dt().HeadCell,{style:{width:180}},"Allow Missing/Null"),r.createElement(dt().HeadCell,{style:{width:400}},"Regex"),r.createElement(dt().HeadCell,{style:{width:100}},"Test")),r.createElement(dt().Body,null,E.map(function(e,t){var a,o,i,l,s=e.field_name||"row-".concat(t),u=T.has(e.field_name),c=K.get(e.field_name);return r.createElement(dt().Row,{key:s},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:u,onChange:function(){return ge(e.field_name)},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none",border:"none"},onFocus:function(e){e.target.style.outline="none",e.target.style.boxShadow="none",e.target.style.border="none"},onBlur:function(e){e.target.style.outline="none",e.target.style.boxShadow="none",e.target.style.border="none"}})),r.createElement(dt().Cell,null,e.field_name),r.createElement(dt().Cell,null,r.createElement(ht(),{value:ke(null!==(a=null==c?void 0:c.allow_unknown)&&void 0!==a?a:e.allow_unknown),onChange:function(t,n){var r=n.value;return pe(e.field_name,{allow_unknown:r})},style:{width:140}},r.createElement(ht().Option,{value:"True",label:"Yes"}),r.createElement(ht().Option,{value:"False",label:"No"}))),r.createElement(dt().Cell,null,r.createElement(ht(),{value:ke(null!==(o=null==c?void 0:c.allow_empty_or_missing)&&void 0!==o?o:e.allow_empty_or_missing),onChange:function(t,n){var r=n.value;return pe(e.field_name,{allow_empty_or_missing:r})},style:{width:160}},r.createElement(ht().Option,{value:"True",label:"Yes"}),r.createElement(ht().Option,{value:"False",label:"No"}))),r.createElement(dt().Cell,null,r.createElement(Gt(),{value:null!==(i=null!==(l=null==c?void 0:c.regex)&&void 0!==l?l:e.regex)&&void 0!==i?i:"",onChange:function(t,n){var r=n.value;return pe(e.field_name,{regex:r})},style:{width:"100%"}})),r.createElement(dt().Cell,null,r.createElement(bt(),{to:"#",onClick:function(t){if(t.preventDefault(),n){var r,a,o,i=null!==(r=null!==(a=null==c?void 0:c.regex)&&void 0!==a?a:e.regex)&&void 0!==r?r:"",l=e.field_name,s=(null===(o=j[x])||void 0===o?void 0:o.trackers)||[],u=i.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),d="";if(s.length>0){var f=s.map(function(e){return"trackme:quality:".concat(e)}).join(",");d="index=summary sourcetype=trackme:fields_quality source IN (".concat(f,")"),d+=" | trackmefieldsqualityextract",d+=' | where fieldname="'.concat(l,'"'),d+=' | eval regex="'.concat(u,'"'),d+=' | eval match_found=if(match(value, "'.concat(u,'"), "true", "false")'),d+=" | table _time, metadata.datamodel, metadata.nodename, metadata.index, metadata.sourcetype, metadata.*, fieldname, value, regex, match_found",d+=" | sort 0 _time"}else d="index=summary sourcetype=trackme:fields_quality",d+=" | trackmefieldsqualityextract",d+=' | where fieldname="'.concat(l,'"'),d+=' | eval regex="'.concat(u,'"'),d+=' | eval match_found=if(match(value, "'.concat(u,'"), "true", "false")'),d+=" | table _time, metadata.datamodel, metadata.nodename, metadata.index, metadata.sourcetype, metadata.*, fieldname, value, regex, match_found",d+=" | sort 0 _time";Se(d)}},title:"Test regex in Splunk search",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"Test",r.createElement(Ge(),{style:{fontSize:14}}))))})))))),r.createElement(Qb,{open:Q,tenantId:n,onClose:function(){return ee(!1)},onSuccess:_e}),r.createElement(ig,{open:ne,tenantId:n,dictionaryName:x,onClose:function(){return re(!1)},onSuccess:we}),r.createElement(pg,{open:oe,tenantId:n,onClose:function(){return ie(!1)},onSuccess:Me}))},kg=function(e){var t=e.open,n=(e.tenantId,e.onClose),a=e.onExecuteClick,o=e.onCreateClick,i=e.onManageClick,l=Ce().colorScheme,s=r.useMemo(function(){return"light"===l?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[l]);return r.createElement(vt(),{open:t,onRequestClose:n,returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"Splunk Workload Objects Trackers - Execute, Manage and Create"}),r.createElement(vt().Body,null,r.createElement("div",{style:{minHeight:500}},r.createElement("h1",{style:{color:s.text,marginBottom:16}},"Workload Trackers are responsible for discovering and maintaining Splunk scheduled activity"),r.createElement("h2",{style:{color:s.text,marginBottom:24}},"What are Splunk Workload trackers?"),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"main"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"A tracker called ",r.createElement("strong",null,"main")," is responsible for the global management of entities and their discovery"),r.createElement("li",null,"This central trackers uses TrackMe metrics and calls different logics to define the status of Workload entities"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"introspection"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"This tracker is responsible from collecting and generating wlk metrics from Splunk introspection data, which relates to performance and run time metrics"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"scheduler"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"This tracker handles Splunk scheduler logs to extract and generate scheduler related metrics, this is especially used to determine the skipping search KPI"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"metadata"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"The metadata tracker versions Splunk reports, it is keeping track of active reports and generate the version_id (search string, properties), along with a summary of the associated performance KPIs"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"orphan"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"The orphan tracker is a variation of the metadata tracker which also verifies the orphan status and maintains an orphan KVstore, it loads the list of entities that have been active during the past 7 days to verify the orphan status, as well as updating metadata"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"inactive_entities"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"The inactive_entities tracker ensures that entities with no scheduling activity since a certain period of time are removed automatically, the period of time is configured at the Virtual Tenant creation time and can later on be updated if needed"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"splunkcloud_svc"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"The splunkcloud_svc tracker is created if you selected Splunk Cloud as the type of Splunk environment, it tracks and collects Splunk Cloud SVC usage for Workload entities"))),r.createElement("div",{style:{marginBottom:24}},r.createElement("h3",{style:{color:"dodgerblue",marginBottom:8}},"notable"),r.createElement("ul",{style:{color:s.textSecondary,marginLeft:20}},r.createElement("li",null,"The notable tracker can be created on demand, it tracks the number of notable events generated per Enterprise Security correlation rule"))),r.createElement("div",{style:{marginTop:32,padding:16,backgroundColor:s.backgroundSecondary,borderRadius:4}},r.createElement("p",{style:{color:s.textSecondary}},"You can use this screen to manually setup additional Trackers post-tenant creation. (except for the main and metadata trackers which are created in the same type than the Virtual Tenant)")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:n},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:a,style:{maxWidth:200}},"Execute a tracker now"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:o,style:{maxWidth:220}},"Create a new Workload tracker"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:i,style:{maxWidth:250}},"Manage existing Workload trackers")))};function Cg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Eg(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Og(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Og(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Og(d,"constructor",u),Og(u,"constructor",s),s.displayName="GeneratorFunction",Og(u,a,"GeneratorFunction"),Og(d),Og(d,a,"Generator"),Og(d,r,function(){return this}),Og(d,"toString",function(){return"[object Generator]"}),(Lg=function(){return{w:o,m:f}})()}function Og(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Og=function(e,t,n,r){function o(t,n){Og(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Og(e,t,n,r)}function Tg(e){return Tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tg(e)}function Dg(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function zg(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Dg(o,r,a,i,l,"next",e)}function l(e){Dg(o,r,a,i,l,"throw",e)}i(void 0)})}}var jg=function(){var e=zg(Lg().m(function e(t){var n,r,a;return Lg().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_wlk/wlk_tracker_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,component:"wlk"})});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.n=4,n.json();case 4:if(a=e.v,!Array.isArray(a)){e.n=5;break}return e.a(2,a);case 5:if(!a||"object"!==Tg(a)){e.n=6;break}return e.a(2,a.results||a.data||a.records||[]);case 6:return e.a(2,[])}},e)}));return function(t){return e.apply(this,arguments)}}(),Pg=function(){var e=zg(Lg().m(function e(t){var n,r;return Lg().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_wlk/admin/wlk_tracker_simulation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Eg({run_simulation:!1},t))});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Bg=function(){var e=zg(Lg().m(function e(t){var n,r;return Lg().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_wlk/admin/wlk_tracker_create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Yg=function(){var e=zg(Lg().m(function e(t,n,r){var a,o;return Lg().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_wlk/admin/wlk_tracker_delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,hybrid_trackers_list:n.join(","),update_comment:r})});case 1:if((a=e.v).ok){e.n=3;break}return e.n=2,Z(a);case 2:throw o=e.v,new Error(o);case 3:return e.a(2,a.json())}},e)}));return function(t,n,r){return e.apply(this,arguments)}}();function Ng(e){return Ng="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ng(e)}function Fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ig(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Hg(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Hg(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Hg(d,"constructor",u),Hg(u,"constructor",s),s.displayName="GeneratorFunction",Hg(u,a,"GeneratorFunction"),Hg(d),Hg(d,a,"Generator"),Hg(d,r,function(){return this}),Hg(d,"toString",function(){return"[object Generator]"}),(Wg=function(){return{w:o,m:f}})()}function Hg(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Hg=function(e,t,n,r){function o(t,n){Hg(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Hg(e,t,n,r)}function qg(e){return function(e){if(Array.isArray(e))return Gg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xg(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Vg(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Xg(o,r,a,i,l,"next",e)}function l(e){Xg(o,r,a,i,l,"throw",e)}i(void 0)})}}function Ug(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||$g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $g(e,t){if(e){if("string"==typeof e)return Gg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gg(e,t):void 0}}function Gg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0?"".concat(t,"/").concat(n[0],"/app/trackme/configuration"):"".concat(t,"/app/trackme/configuration")}catch(e){return"#"}}(),openInNewContext:!0,style:{textDecoration:"none"}},"Open the configuration interface to add or manage accounts")),D&&r.createElement(Jt(),{type:"info"},"Checking remote connectivity..."),P&&r.createElement(Jt(),{type:P.success?"success":"error"},P.message)),"step2"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:J.text,marginBottom:16}},"2. Optional, custom search filters"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:J.textSecondary,marginBottom:8}},"Fill the root search constraint, you can add any search filters as needed:"),r.createElement("p",{style:{color:J.textSecondary,marginBottom:16}},"Optional: In most cases you want the Search Target Workload search to search for all associated data (introspection, scheduler...), in some advanced cases such as a Search Head that can search across multiple Search Head clusters, you may want to add custom restrictions:"),r.createElement(Ut(),{value:p.rootConstraint,onChange:function(e,t){var n=t.value;return Q({rootConstraint:n})},rowsMin:3,style:{width:"100%",fontFamily:"monospace"}}))),"step3"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:J.text,marginBottom:16}},"3. Optional, overgroup"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:J.textSecondary,marginBottom:8}},"Define a custom grouping, the Workload component by defaults classifies entities by application which can be changed here:"),r.createElement("p",{style:{color:J.textSecondary,marginBottom:16}},"Optional: to override the grouping and use a specific term instead of the classification by application name space:"),r.createElement(Gt(),{value:p.overgroup,onChange:function(e,t){var n=t.value;return Q({overgroup:n})},placeholder:"app",style:{width:200}}))),"step4"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:J.text,marginBottom:16}},"4. Test and Review"),r.createElement("div",{style:{marginBottom:16}},r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:te,disabled:F||!p.trackerType||!p.account},"Simulate the search"),F&&r.createElement(s(),{size:"small",style:{marginLeft:8}})),X&&r.createElement("div",{style:{marginBottom:16}},r.createElement(Jt(),{type:"error",style:{marginBottom:12}},X),$&&r.createElement(c(),{appearance:"primary",icon:r.createElement(Lt(),null),onClick:ee},"Open in Search")),!F&&!X&&$&&0===W.length&&r.createElement("div",{style:{marginBottom:16}},r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No results returned from the simulation search."),r.createElement(c(),{appearance:"primary",icon:r.createElement(Lt(),null),onClick:ee},"Open in Search")),W.length>0&&r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12}},r.createElement("h3",{style:{margin:0}},"Simulation results:"),$&&r.createElement("div",{style:{flexShrink:0}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:ee},"Open in Search"))))),r.createElement("div",{style:{border:"1px solid ".concat(J.border),borderRadius:4,overflow:"auto",maxHeight:500,backgroundColor:J.backgroundSecondary}},(t=function(e){var t=e.toLowerCase(),n=Object.entries({_time:180,_raw:400,object:300,object_category:150,savedsearch_name:250,app:200,user:150,group:200,overgroup:200,status:100,metrics:200,metrics_message:300,last_time:180,elapsed:120,pct_cpu:120,pct_memory:120,scan_count:120,type:150,tracker_type:150}).find(function(e){var n=Ug(e,1)[0];return t.includes(n)||n.includes(t)});return n?n[1]:150},n=W.length>0?Object.keys(W[0]):[],r.createElement(dt(),null,r.createElement(dt().Head,null,n.map(function(e){var n=t(e);return r.createElement(dt().HeadCell,{key:e,style:{minWidth:n,whiteSpace:"nowrap"}},e)})),r.createElement(dt().Body,null,W.slice(0,100).map(function(e,a){var o=Object.keys(e).map(function(t){return"".concat(t,"-").concat(e[t])}).join("_").substring(0,100)||"row-".concat(a);return r.createElement(dt().Row,{key:o},n.map(function(n){var a=e[n],o=t(n),i=n.toLowerCase().includes("status")||"state"===n.toLowerCase();return r.createElement(dt().Cell,{key:n,style:{minWidth:o,whiteSpace:"nowrap"}},i?r.createElement("div",{style:{display:"flex",alignItems:"center"}},r.createElement("span",null,String(a||""))):String(a||""))}))}))))),W.length>100&&r.createElement("div",{style:{fontSize:12,color:J.textSecondary,marginTop:8}},"Showing first 100 of ",W.length," results"))),"step5"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:J.text,marginBottom:16}},"5. Validate the creation"),r.createElement("div",{style:{marginTop:24,marginBottom:24,display:"flex",justifyContent:"flex-end"}},r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:ne,disabled:w||!p.trackerType||!p.account||!p.rootConstraint,style:{maxWidth:"200px"}},w?"Creating...":"Create this tracker")),r.createElement("div",{style:{marginBottom:16}},r.createElement("h3",null,"Summary:"),r.createElement("div",{style:{padding:16,backgroundColor:J.backgroundSecondary,borderRadius:4}},r.createElement("div",{style:{fontSize:14,lineHeight:1.8,color:J.text}},r.createElement("div",null,r.createElement("strong",null,"Tracker type:")," ",p.trackerType||"Not set"),r.createElement("div",null,r.createElement("strong",null,"Account:")," ",p.account||"Not set"),r.createElement("div",null,r.createElement("strong",null,"Root constraint:")," ",p.rootConstraint||"Not set"),r.createElement("div",null,r.createElement("strong",null,"Overgroup:")," ",p.overgroup||"Not set")))))));var t,n}))))};function Zg(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Qg(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Qg(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Qg(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Qg(d,"constructor",u),Qg(u,"constructor",s),s.displayName="GeneratorFunction",Qg(u,a,"GeneratorFunction"),Qg(d),Qg(d,a,"Generator"),Qg(d,r,function(){return this}),Qg(d,"toString",function(){return"[object Generator]"}),(Zg=function(){return{w:o,m:f}})()}function Qg(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Qg=function(e,t,n,r){function o(t,n){Qg(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Qg(e,t,n,r)}function ev(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function tv(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ev(o,r,a,i,l,"next",e)}function l(e){ev(o,r,a,i,l,"throw",e)}i(void 0)})}}function nv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(iv(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,iv(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,iv(d,"constructor",u),iv(u,"constructor",s),s.displayName="GeneratorFunction",iv(u,a,"GeneratorFunction"),iv(d),iv(d,a,"Generator"),iv(d,r,function(){return this}),iv(d,"toString",function(){return"[object Generator]"}),(ov=function(){return{w:o,m:f}})()}function iv(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}iv=function(e,t,n,r){function o(t,n){iv(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},iv(e,t,n,r)}function lv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function sv(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){lv(o,r,a,i,l,"next",e)}function l(e){lv(o,r,a,i,l,"throw",e)}i(void 0)})}}function uv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return cv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0,onChange:z,disabled:!d,style:{cursor:d?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none"}})),r.createElement(dt().HeadCell,{style:{width:100}},"Reports"),r.createElement(dt().HeadCell,{style:{width:200}},"tracker_name"),r.createElement(dt().HeadCell,{style:{width:700}},"knowledge_objects")),r.createElement(dt().Body,null,M.map(function(e,t){var n,a=e.tracker_name||"row-".concat(t),o=x.has(e.tracker_name);return r.createElement(dt().Row,{key:a},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:o,onChange:function(){return D(e.tracker_name)},disabled:!d,onFocus:function(e){e.target.blur()},style:{cursor:d?"pointer":"not-allowed",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,(null===(n=e.knowledge_objects)||void 0===n?void 0:n.reports)&&e.knowledge_objects.reports.length>0&&r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault(),Y(e.tracker_name)},title:"Open reports in Splunk Web",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"Reports",r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement(dt().Cell,{style:{width:200}},e.tracker_name),r.createElement(dt().Cell,{style:{width:700}},r.createElement("div",{style:{maxWidth:700,overflow:"auto",width:700}},r.createElement(Mt(),{json:e.knowledge_objects||{}}))))}))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close"))),r.createElement(av,{open:E,tenantId:n,trackerNames:Array.from(x),onClose:function(){return A(!1)},onSuccess:P}))},fv=function(e){var t=e.open,n=e.onClose,a=e.onManageSharedClick,o=e.onManageDedicatedClick,i=e.onCreateClick,l=Ce().colorScheme,s=r.useMemo(function(){return"light"===l?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[l]);return r.createElement(vt(),{open:t,onRequestClose:n,returnFocus:function(){},style:{width:1200}},r.createElement(vt().Header,{title:"TrackMe Elastic sources - Manage and create"}),r.createElement(vt().Body,null,r.createElement("div",null,r.createElement(Mr(),{title:"What are Elastic Sources?",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:s.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"Elastic sources are custom flexible data sources entities, which can be searches based on regular raw events searches, tstats searches, from command based searches and metric indexes using the mstats command:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:12}},r.createElement("li",null,"Elastic sources can be used when the default concept of trackMe (statement by index/sourcetype) does not comply with your requirements, or does not provide the level of flexibility requested"),r.createElement("li",null,"Elastic sources may be based on a shared or dedicated tracker, the shared elastic tracker loads the content of the lookup trackme_elastic_sources, and maintains entities from a single scheduled tracker"),r.createElement("li",null,"A dedicated elastic tracker is a scheduled report created in the UI to manage, automatically integrated with TrackMe workflow"),r.createElement("li",null,"For large volume sources or advanced use cases such as mapping additional lookups, the usage of a dedicated elastic tracker is recommended (the search can be customized easily after its creation)"),r.createElement("li",null,"The shared elastic tracker should be reserved for well performing searches, ideally tstats based searches relying on indexed fields"),r.createElement("li",null,"You can track data on remote Splunk deployments transparently using the ",r.createElement("strong",null,"splunkremotesearch")," custom command, configure a Splunk remote deployment in"," ",r.createElement(bt(),{to:"/app/trackme/configuration",openInNewContext:!0,style:{textDecoration:"none"}},"configuration")," ","and define remote Elastic Sources")))),r.createElement(Mr(),{title:"How does TrackMe handle many entities in the Shared Elastic Tracker?",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:s.text}},r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8}},r.createElement("li",null,"TrackMe runs multiple searches in parallel to optimise the performance of the shared elastic tracker (configurable at the system level and can overriden at the tracker level, 3 parallel search slots by default)"),r.createElement("li",null,"We use the Metadata tracker_runtime to start entities searches ordered from the oldest to the newest (reversed order from the inspection time compared to now)"),r.createElement("li",null,"The tracker determines a max run time in seconds based on the tracker schedule and stops the iteration before generating skipping searches")))),r.createElement(Mr(),{title:"Field Definitions",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:s.text}},r.createElement("table",{style:{borderCollapse:"collapse",border:"1px solid ".concat(s.border),width:"100%"}},r.createElement("thead",null,r.createElement("tr",{style:{border:"1px solid ".concat(s.border)}},r.createElement("th",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",textAlign:"center",backgroundColor:s.backgroundSecondary}},r.createElement("strong",null,"FIELD")),r.createElement("th",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",textAlign:"center",backgroundColor:s.backgroundSecondary}},r.createElement("strong",null,"DEFINITION")))),r.createElement("tbody",null,r.createElement("tr",{style:{border:"1px solid ".concat(s.border)}},r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},r.createElement("strong",null,"object")),r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},"This is the main identifier for a data source, and needs to be unique within the entire collection")),r.createElement("tr",{style:{border:"1px solid ".concat(s.border)}},r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},r.createElement("strong",null,"search_mode")),r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},"The type of search, valid options are: ",r.createElement("strong",null,"tstats")," / ",r.createElement("strong",null,"raw")," / ",r.createElement("strong",null,"from")," / ",r.createElement("strong",null,"mstats")," / ",r.createElement("strong",null,"mpreview"))),r.createElement("tr",{style:{border:"1px solid ".concat(s.border)}},r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},r.createElement("strong",null,"search_constraint")),r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},"The constraint of the search:",r.createElement("br",null),r.createElement("strong",null,"- tstats"),": this represents the where part of a tstats search, as: ",r.createElement("code",{style:{color:s.text,fontFamily:"monospace",backgroundColor:s.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"index=my_index source=my_source"),r.createElement("br",null),r.createElement("strong",null,"- raw"),": Any filter that is before stats calculation, as: ",r.createElement("code",{style:{color:s.text,fontFamily:"monospace",backgroundColor:s.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"index=my_index tag=authentication app=my_application"),r.createElement("br",null),r.createElement("strong",null,"- from (datamodel)"),": a search using from is in 2 parts with a pipe separation, where the 1st segment is the object and the 2nd a search constraint, as: ",r.createElement("br",null),r.createElement("code",{style:{color:s.text,fontFamily:"monospace",backgroundColor:s.backgroundSecondary,padding:"2px 4px",borderRadius:3}},'datamodel:"Authentication" | search user="*" action="success" app="my_application"'),r.createElement("br",null),r.createElement("strong",null,"- from (lookup)"),": A lookup can be monitored with the from command, it requires the lookup to have a time field concept, and a field _time in epoch time format needs to be created using an eval function with strftime/strptime, such as: ",r.createElement("br",null),r.createElement("code",{style:{color:s.text,fontFamily:"monospace",backgroundColor:s.backgroundSecondary,padding:"2px 4px",borderRadius:3}},'lookup:"my_lookup" | eval _time=strptime(lastUpdated, "%d/%m/%Y %H:%M:%S")'),r.createElement("br",null),r.createElement("strong",null,"- mstats"),": Allows monitoring metric indexes according to your constraints including dimensions, as: ",r.createElement("code",{style:{color:s.text,fontFamily:"monospace",backgroundColor:s.backgroundSecondary,padding:"2px 4px",borderRadius:3}},'index="k8s_metrics" metric_name="k8s.*" cluster_name="production"'),r.createElement("br",null),r.createElement("strong",null,"- mpreview"),": Also allows monitoring metric indexes, compared to mstats it has the advantage of reporting the true count of metrics received, as: ",r.createElement("code",{style:{color:s.text,fontFamily:"monospace",backgroundColor:s.backgroundSecondary,padding:"2px 4px",borderRadius:3}},'index="k8s_metrics" filter="metric_name=\\"k8s.*\\" cluster_name=\\"production\\""'))),r.createElement("tr",{style:{border:"1px solid ".concat(s.border)}},r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},r.createElement("strong",null,"index")),r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},"Optional, this value will be used in the UI but has no impacts on the search, default to the object if unset")),r.createElement("tr",{style:{border:"1px solid ".concat(s.border)}},r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},r.createElement("strong",null,"sourcetype")),r.createElement("td",{style:{border:"1px solid ".concat(s.border),padding:"10px 5px",fontSize:12}},"Optional, this value will be used in the UI but has no impacts on the search, default to the object if unset")))))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:n},"Cancel"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:a,style:{maxWidth:250}},"Manage existing shared elastic sources"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),onClick:o,style:{maxWidth:250}},"Manage existing dedicated elastic sources"),r.createElement(c(),{appearance:"primary",icon:r.createElement(bm(),null),onClick:i,style:{maxWidth:250}},"Create a new elastic source")))};function pv(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return mv(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(mv(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,mv(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,mv(d,"constructor",u),mv(u,"constructor",s),s.displayName="GeneratorFunction",mv(u,a,"GeneratorFunction"),mv(d),mv(d,a,"Generator"),mv(d,r,function(){return this}),mv(d,"toString",function(){return"[object Generator]"}),(pv=function(){return{w:o,m:f}})()}function mv(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}mv=function(e,t,n,r){function o(t,n){mv(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},mv(e,t,n,r)}function hv(e){return hv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hv(e)}function yv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function bv(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){yv(o,r,a,i,l,"next",e)}function l(e){yv(o,r,a,i,l,"throw",e)}i(void 0)})}}var gv=function(){var e=bv(pv().m(function e(t,n){var r,a,o;return pv().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_elastic_sources/elastic_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:t,elastic_type:n})});case 1:if((r=e.v).ok){e.n=3;break}return e.n=2,Z(r);case 2:throw a=e.v,new Error(a);case 3:return e.n=4,r.json();case 4:if(o=e.v,!Array.isArray(o)){e.n=5;break}return e.a(2,o);case 5:if(!o||"object"!==hv(o)){e.n=6;break}return e.a(2,o.results||o.data||o.records||[]);case 6:return e.a(2,[])}},e)}));return function(t,n){return e.apply(this,arguments)}}(),vv=function(){var e=bv(pv().m(function e(t){var n,r;return pv().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_elastic_sources/admin/elastic_shared_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),_v=function(){var e=bv(pv().m(function e(t){var n,r;return pv().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_elastic_sources/admin/elastic_dedicated_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}(),Mv=function(){var e=bv(pv().m(function e(t){var n,r;return pv().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_elastic_sources/admin/elastic_delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 1:if((n=e.v).ok){e.n=3;break}return e.n=2,Z(n);case 2:throw r=e.v,new Error(r);case 3:return e.a(2,n.json())}},e)}));return function(t){return e.apply(this,arguments)}}();function wv(e){return wv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wv(e)}function Sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xv(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Ev(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Ev(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Ev(d,"constructor",u),Ev(u,"constructor",s),s.displayName="GeneratorFunction",Ev(u,a,"GeneratorFunction"),Ev(d),Ev(d,a,"Generator"),Ev(d,r,function(){return this}),Ev(d,"toString",function(){return"[object Generator]"}),(Cv=function(){return{w:o,m:f}})()}function Ev(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Ev=function(e,t,n,r){function o(t,n){Ev(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ev(e,t,n,r)}function Av(e){return function(e){if(Array.isArray(e))return zv(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Dv(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Ov(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Lv(o,r,a,i,l,"next",e)}function l(e){Lv(o,r,a,i,l,"throw",e)}i(void 0)})}}function Tv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||Dv(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dv(e,t){if(e){if("string"==typeof e)return zv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zv(e,t):void 0}}function zv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(te(!0),ne({type:"success",title:"Simulation successful",message:"Success, you can now add this new source to the shared tracker or as a dedicated tracker."}))}},error:function(e){G(e.message||"Failed to execute simulation search"),H(!1)},complete:function(){H(!1)}})}catch(e){G(e.message||"Failed to execute simulation search"),H(!1)}else H(!1)}})}catch(e){G(e.message||"Failed to simulate elastic source"),H(!1)}case 3:return e.a(2)}},e)})),[n,p,ne]),ue=r.useCallback(function(){var e=Ov(Cv().m(function e(t){var r,i,s,u,c,d,f,m,h,y;return Cv().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&p.object&&p.searchMode&&p.searchConstraint&&p.elasticIndex&&p.elasticSourcetype){e.n=1;break}return ne({type:"error",title:"Validation error",message:"Please fill in all required fields."}),e.a(2);case 1:if(ee){e.n=2;break}return ne({type:"error",title:"Simulation required",message:"Please successfully run the simulation first."}),e.a(2);case 2:return S(!0),E(t),e.p=3,r=p.searchConstraint,i=p.object,s=p.searchMode,u=p.elasticIndex,c=p.elasticSourcetype,d=p.earliest,f=p.latest,m="shared"===t?vv:_v,e.n=4,m({tenant_id:n,object:i,search_constraint:r,search_mode:s,elastic_index:u,elastic_sourcetype:c,earliest_time:d||"-4h",latest_time:f||"+4h",owner:l});case 4:h=e.v,ne({type:"success",title:"Success",message:"shared"===t?"The new Elastic Shared source has been created successfully":"The new tracker ".concat(h.elastic_report||"has been created"," successfully.")}),o(),a(),e.n=6;break;case 5:e.p=5,y=e.v,ne({type:"error",title:"Creation failed",message:y.message||"Failed to create ".concat(t," elastic source")});case 6:return e.p=6,S(!1),E(null),e.f(6);case 7:return e.a(2)}},e,null,[[3,5,6,7]])}));return function(t){return e.apply(this,arguments)}}(),[n,p,ee,l,o,a,ne]),ce=[{value:"tstats",label:"tstats (local)"},{value:"raw",label:"raw (local)"},{value:"from",label:"from (local)"},{value:"mstats",label:"mstats (local)"},{value:"mpreview",label:"mpreview (local)"},{value:"remote_tstats",label:"tstats (remote)"},{value:"remote_raw",label:"raw (remote)"},{value:"remote_from",label:"from (remote)"},{value:"remote_mstats",label:"mstats (remote)"},{value:"remote_mpreview",label:"mpreview (remote)"}];return r.createElement(Qi,{open:t,onClose:a,title:"Elastic sources definition: use this interface to create and manage elastic sources"},r.createElement("div",{style:{fontSize:14,marginBottom:16,color:re.textSecondary}},"Follow these guided steps to define, test and create a new Elastic source, scroll down within the screen to navigate through the steps"),r.createElement(Mr(),{title:"What are Elastic Sources?",style:{marginBottom:24}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:re.text}},r.createElement("p",{style:{marginTop:0,marginBottom:12}},"Elastic sources are custom flexible data sources entities, which can be searches based on regular raw events searches, tstats searches, from command based searches and metric indexes using the mstats command:"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:12}},r.createElement("li",null,"Elastic sources can be used when the default concept of trackMe (statement by index/sourcetype) does not comply with your requirements, or does not provide the level of flexibility requested"),r.createElement("li",null,"Elastic sources may be based on a shared or dedicated tracker, the shared elastic tracker loads the content of the lookup trackme_elastic_sources, and maintains entities from a single scheduled tracker"),r.createElement("li",null,"A dedicated elastic tracker is a scheduled report created in the UI to manage, automatically integrated with TrackMe workflow"),r.createElement("li",null,"For large volume sources or advanced use cases such as mapping additional lookups, the usage of a dedicated elastic tracker is recommended (the search can be customized easily after its creation)"),r.createElement("li",null,"The shared elastic tracker should be reserved for well performing searches, ideally tstats based searches relying on indexed fields"),r.createElement("li",null,"You can track data on remote Splunk deployments transparently using the ",r.createElement("strong",null,"splunkremotesearch")," custom command, configure a Splunk remote deployment in"," ",r.createElement(bt(),{to:"/app/trackme/configuration",openInNewContext:!0,style:{textDecoration:"none"}},"configuration")," ","and define remote Elastic Sources")),r.createElement("h3",{style:{marginTop:20,marginBottom:12}},"How does TrackMe handle many entities in the Shared Elastic Tracker?"),r.createElement("ul",{style:{marginLeft:20,lineHeight:1.8,marginBottom:12}},r.createElement("li",null,"TrackMe runs multiple searches in parallel to optimise the performance of the shared elastic tracker (configurable at the system level and can overriden at the tracker level, 3 parallel search slots by default)"),r.createElement("li",null,"We use the Metadata tracker_runtime to start entities searches ordered from the oldest to the newest (reversed order from the inspection time compared to now)"),r.createElement("li",null,"The tracker determines a max run time in seconds based on the tracker schedule and stops the iteration before generating skipping searches")))),r.createElement("div",null,r.createElement("style",null,'\n /* Remove focus rectangle from TabLayout tabs but keep active state styling (bold and line) */\n div[data-test="TabLayout"] button:focus,\n div[data-test="TabLayout"] button:focus-visible,\n div[data-test="TabLayout"] button:active {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(i(),{activePanelId:b,onChange:function(e,t){var n=t.activePanelId;n&&g(n)},layout:"vertical",style:{height:"100%"}},[{id:"step1",label:"Identifier and deployment",number:1},{id:"step2",label:"Search mode and constraints",number:2},{id:"step3",label:"Index and sourcetype",number:3},{id:"step4",label:"Time ranges",number:4},{id:"step5",label:"Test and Review",number:5},{id:"step6",label:"Validate creation",number:6}].map(function(e){return r.createElement(i().Panel,{key:e.id,panelId:e.id,label:r.createElement(jv,{stepNumber:e.number,label:e.label,isLight:b!==e.id})},r.createElement("div",{style:{padding:24}},"step1"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:re.text,marginBottom:16}},"1. Elastic source identifier and Splunk deployment"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Enter a name for the new object and define if the deployment is local or a remote account:"),r.createElement("div",{style:{marginBottom:24}},r.createElement("label",{htmlFor:"elastic-source-object",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Enter the unique identifier of the elastic source:"),r.createElement(Gt(),{id:"elastic-source-object",value:p.object,onChange:function(e,t){var n=t.value;return oe({object:n})},placeholder:"Enter the unique identifier of the elastic source",style:{width:350,borderColor:p.object&&""!==p.object.trim()?void 0:"#ff4444"},required:!0})),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"elastic-source-account",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Splunk deployment, either local or a configured remote account:"),r.createElement(ht(),{id:"elastic-source-account",value:p.account||"local",onChange:function(e,t){var n=t.value;return oe({account:String(n)})},style:{width:350},disabled:D},L.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})})),D&&r.createElement(s(),{size:"small",style:{marginLeft:8}})),r.createElement("div",{style:{marginBottom:16}},r.createElement(bt(),{to:function(){try{var e=new URL(window.location.href),t="".concat(e.protocol,"//").concat(e.host),n=e.pathname.split("/").filter(function(e){return e&&!["en-US","en-GB","fr-FR"].includes(e)});return n.length>0?"".concat(t,"/").concat(n[0],"/app/trackme/configuration"):"".concat(t,"/app/trackme/configuration")}catch(e){return"#"}}(),openInNewContext:!0,style:{textDecoration:"none"}},"Open the configuration interface to add or manage accounts")),P&&r.createElement(Jt(),{type:"info"},"Checking remote connectivity..."),F&&r.createElement(Jt(),{type:F.success?"success":"error"},F.message))),"step2"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:re.text,marginBottom:16}},"2. Search mode and search constraints"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Define the type of search and its constraints:"),r.createElement(ht(),{value:p.searchMode,onChange:function(e,t){var n=t.value;return oe({searchMode:n})},style:{width:350,marginBottom:16}},ce.map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})}))),r.createElement(Mr(),{title:"Search syntax examples",style:{marginBottom:16}},r.createElement("div",{style:{padding:8}},r.createElement("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:13}},r.createElement("thead",null,r.createElement("tr",null,r.createElement("th",{style:{textAlign:"left",padding:"12px 8px",borderBottom:"2px solid ".concat(re.border),color:re.text,fontWeight:600,width:"15%"}},"Search Type"),r.createElement("th",{style:{textAlign:"left",padding:"12px 8px",borderBottom:"2px solid ".concat(re.border),color:re.text,fontWeight:600,width:"40%"}},"SPL Example"),r.createElement("th",{style:{textAlign:"left",padding:"12px 8px",borderBottom:"2px solid ".concat(re.border),color:re.text,fontWeight:600}},"Explanation"))),r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("strong",{style:{color:re.text}},"tstats")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("code",{style:{fontFamily:"monospace",fontSize:12,backgroundColor:re.backgroundSecondary,padding:"6px 10px",borderRadius:4,color:re.text,display:"block",whiteSpace:"pre-wrap",wordBreak:"break-all",border:"1px solid ".concat(re.border)}},"index=my_index source=my_source")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),color:re.textSecondary,verticalAlign:"top"}},"Represents the where part of a tstats search")),r.createElement("tr",null,r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("strong",{style:{color:re.text}},"raw")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("code",{style:{fontFamily:"monospace",fontSize:12,backgroundColor:re.backgroundSecondary,padding:"6px 10px",borderRadius:4,color:re.text,display:"block",whiteSpace:"pre-wrap",wordBreak:"break-all",border:"1px solid ".concat(re.border)}},"index=my_index tag=authentication app=my_application")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),color:re.textSecondary,verticalAlign:"top"}},"Any filter that is before stats calculation")),r.createElement("tr",null,r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("strong",{style:{color:re.text}},"from (datamodel)")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("code",{style:{fontFamily:"monospace",fontSize:12,backgroundColor:re.backgroundSecondary,padding:"6px 10px",borderRadius:4,color:re.text,display:"block",whiteSpace:"pre-wrap",wordBreak:"break-all",border:"1px solid ".concat(re.border)}},'datamodel:"Authentication" | search user="*" action="success" app="my_application"')),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),color:re.textSecondary,verticalAlign:"top"}},"Two parts with pipe separation: 1st segment is the object, 2nd is the search constraint")),r.createElement("tr",null,r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("strong",{style:{color:re.text}},"from (lookup)")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("code",{style:{fontFamily:"monospace",fontSize:12,backgroundColor:re.backgroundSecondary,padding:"6px 10px",borderRadius:4,color:re.text,display:"block",whiteSpace:"pre-wrap",wordBreak:"break-all",border:"1px solid ".concat(re.border)}},'lookup:"my_lookup" | eval _time=strptime(lastUpdated, "%d/%m/%Y %H:%M:%S")')),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),color:re.textSecondary,verticalAlign:"top"}},"Requires lookup with time field concept; create _time field using eval with strptime/strftime")),r.createElement("tr",null,r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("strong",{style:{color:re.text}},"mstats")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),verticalAlign:"top"}},r.createElement("code",{style:{fontFamily:"monospace",fontSize:12,backgroundColor:re.backgroundSecondary,padding:"6px 10px",borderRadius:4,color:re.text,display:"block",whiteSpace:"pre-wrap",wordBreak:"break-all",border:"1px solid ".concat(re.border)}},'index="k8s_metrics" metric_name="k8s.*" cluster_name="production"')),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"1px solid ".concat(re.border),color:re.textSecondary,verticalAlign:"top"}},"Allows monitoring metric indexes according to constraints including dimensions")),r.createElement("tr",null,r.createElement("td",{style:{padding:"12px 8px",borderBottom:"none",verticalAlign:"top"}},r.createElement("strong",{style:{color:re.text}},"mpreview")),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"none",verticalAlign:"top"}},r.createElement("code",{style:{fontFamily:"monospace",fontSize:12,backgroundColor:re.backgroundSecondary,padding:"6px 10px",borderRadius:4,color:re.text,display:"block",whiteSpace:"pre-wrap",wordBreak:"break-all",border:"1px solid ".concat(re.border)}},'index="k8s_metrics" filter="metric_name=\\"k8s.*\\" cluster_name=\\"production\\""')),r.createElement("td",{style:{padding:"12px 8px",borderBottom:"none",color:re.textSecondary,verticalAlign:"top"}},"Also monitors metric indexes; advantage: reports true count of metrics received")))))),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Fill the search constraint according to the type of search:"),r.createElement("div",null,r.createElement("label",{htmlFor:"elastic-source-search-constraint",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Enter the Splunk search constraint chain according to the type of search selected:"),r.createElement(Ut(),{id:"elastic-source-search-constraint",value:p.searchConstraint,onChange:function(e,t){var n=t.value;return oe({searchConstraint:n})},onFocus:function(){"Enter the Splunk search constraint chain according to the type of search selected"===p.searchConstraint&&oe({searchConstraint:""})},rowsMin:5,style:{width:"100%",fontFamily:"monospace",borderColor:p.searchConstraint&&""!==p.searchConstraint.trim()&&"Enter the Splunk search constraint chain according to the type of search selected"!==p.searchConstraint?void 0:"#ff4444"}})))),"step3"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:re.text,marginBottom:16}},"3. Value for index and sourcetype"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Define the value for the pseudo index and sourcetype, these do not have to be real values but blocklist (allow/block lists) restrictions apply here too:"),r.createElement("div",{style:{display:"flex",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"elastic-source-index",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Index:"),r.createElement(Gt(),{id:"elastic-source-index",value:p.elasticIndex,onChange:function(e,t){var n=t.value;return oe({elasticIndex:n})},placeholder:"myindex",style:{width:350,borderColor:p.elasticIndex&&""!==p.elasticIndex.trim()?void 0:"#ff4444"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"elastic-source-sourcetype",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Sourcetype:"),r.createElement(Gt(),{id:"elastic-source-sourcetype",value:p.elasticSourcetype,onChange:function(e,t){var n=t.value;return oe({elasticSourcetype:n})},placeholder:"mysourcetype",style:{width:350,borderColor:p.elasticSourcetype&&""!==p.elasticSourcetype.trim()?void 0:"#ff4444"}}))))),"step4"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:re.text,marginBottom:16}},"4. Search Earliest and Latest time ranges"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Define time range quantifiers for the Elastic Source:"),r.createElement("div",{style:{display:"flex",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"elastic-source-earliest",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Earliest: (ex: -4h)"),r.createElement(Gt(),{id:"elastic-source-earliest",value:p.earliest,onChange:function(e,t){var n=t.value;return oe({earliest:n})},placeholder:"-4h",style:{width:200,borderColor:p.earliest&&""!==p.earliest.trim()?void 0:"#ff4444"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"elastic-source-latest",style:{display:"block",marginBottom:8,fontSize:14,color:re.textSecondary}},"Latest: (ex: +4h)"),r.createElement(Gt(),{id:"elastic-source-latest",value:p.latest,onChange:function(e,t){var n=t.value;return oe({latest:n})},placeholder:"+4h",style:{width:200,borderColor:p.latest&&""!==p.latest.trim()?void 0:"#ff4444"}}))))),"step5"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:re.text,marginBottom:16}},"5. Test and Review"),(t=ie()).length>0&&r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"Please complete the following mandatory fields: ",t.join(", ")),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Test the Elastic source execution:"),r.createElement(c(),{appearance:"primary",icon:r.createElement(B(),null),onClick:se,disabled:W||!p.object||!p.searchMode||!p.searchConstraint},"Simulate the search"),W&&r.createElement(s(),{size:"small",style:{marginLeft:8}})),$&&r.createElement("div",{style:{marginBottom:16}},r.createElement(Jt(),{type:"error",style:{marginBottom:8}},$),le()&&r.createElement(c(),{appearance:"secondary",icon:r.createElement(Lt(),null),onClick:function(){var e=le();if(e){var t,n=e;p.account&&"local"!==p.account&&(n='| splunkremotesearch account="'.concat(p.account,'" search="').concat(e.replace(/"/g,'\\"'),'"'));var r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent(p.earliest||"-4h"),"&latest=").concat(encodeURIComponent(p.latest||"+4h")),a=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}}},"Open in Search")),ee&&r.createElement(Jt(),{type:"success",style:{marginBottom:16}},"Success, you can now add this new source to the shared tracker or as a dedicated tracker."),X.length>0&&r.createElement("div",{style:{marginTop:16}},r.createElement("div",{style:{fontSize:14,fontWeight:500,marginBottom:8,color:re.text}},"Simulation results:"),r.createElement("div",{style:{border:"1px solid ".concat(re.border),borderRadius:4,overflow:"hidden",backgroundColor:re.backgroundSecondary,padding:12,position:"relative"}},J&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Table actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),{style:{minWidth:"auto",width:"max-content"}},r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){if(J){var e,t=J;p.account&&"local"!==p.account&&(t='| splunkremotesearch account="'.concat(p.account,'" search="').concat(t.replace(/"/g,'\\"'),'"'));var n="/app/trackme/search?q=".concat(encodeURIComponent(t),"&earliest=").concat(encodeURIComponent(p.earliest||"-4h"),"&latest=").concat(encodeURIComponent(p.latest||"+4h")),r=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}}},"Open in Search")))),r.createElement("div",{style:{maxHeight:500,overflow:"auto"}},r.createElement(Mt(),{json:X,defaultExpanded:!0,style:{backgroundColor:"transparent",color:re.text,fontSize:12}}))))),"step6"===e.id&&r.createElement("div",null,r.createElement("h2",{style:{color:re.text,marginBottom:16}},"6. Validate the creation"),r.createElement("div",{style:{marginBottom:16}},r.createElement("p",{style:{color:re.textSecondary,marginBottom:8}},"Promote to Live, the Elastic source will be created and tracked:"),C&&r.createElement(Jt(),{type:"info",style:{marginBottom:8}},"Creating ",C," elastic source...")),r.createElement("div",{style:{display:"flex",gap:12,marginTop:24}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(bm(),null),onClick:function(){return ue("shared")},disabled:w||!ee},w&&"shared"===C?"Creating...":"Add to the shared tracker"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(bm(),null),onClick:function(){return ue("dedicated")},disabled:w||!ee},w&&"dedicated"===C?"Creating...":"Add as a new dedicated tracker")))));var t}))))};function Bv(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Yv(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Yv(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Yv(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Yv(d,"constructor",u),Yv(u,"constructor",s),s.displayName="GeneratorFunction",Yv(u,a,"GeneratorFunction"),Yv(d),Yv(d,a,"Generator"),Yv(d,r,function(){return this}),Yv(d,"toString",function(){return"[object Generator]"}),(Bv=function(){return{w:o,m:f}})()}function Yv(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Yv=function(e,t,n,r){function o(t,n){Yv(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Yv(e,t,n,r)}function Nv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Fv(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Nv(o,r,a,i,l,"next",e)}function l(e){Nv(o,r,a,i,l,"throw",e)}i(void 0)})}}function Iv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&r.createElement("ul",{style:{marginTop:8,marginLeft:20}},a.slice(0,10).map(function(e){return r.createElement("li",{key:e},e)}),a.length>10&&r.createElement("li",null,"... and ",a.length-10," more"))),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"delete-note",style:{display:"block",marginBottom:8,fontSize:14,color:w.textSecondary}},"Optional: enter a note of this update. This note will be logged and made available for auditing purposes."),r.createElement(Ut(),{id:"delete-note",value:u,onChange:function(e,t){var n=t.value;return d(n)},rowsMin:6,style:{width:"100%"}}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:i},"Cancel"),r.createElement(c(),{appearance:"destructive",onClick:S,disabled:p},"Delete")))};function Hv(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return qv(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(qv(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,qv(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,qv(d,"constructor",u),qv(u,"constructor",s),s.displayName="GeneratorFunction",qv(u,a,"GeneratorFunction"),qv(d),qv(d,a,"Generator"),qv(d,r,function(){return this}),qv(d,"toString",function(){return"[object Generator]"}),(Hv=function(){return{w:o,m:f}})()}function qv(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}qv=function(e,t,n,r){function o(t,n){qv(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},qv(e,t,n,r)}function Xv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Vv(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Xv(o,r,a,i,l,"next",e)}function l(e){Xv(o,r,a,i,l,"throw",e)}i(void 0)})}}function Uv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0?"/".concat(r[0]):"";window.open("".concat(n).concat(a,"/app/trackme/search?q=").concat(encodeURIComponent(e)),"_blank")}catch(e){}},[]);return r.createElement(r.Fragment,null,r.createElement("style",null,'\n input[type="checkbox"]:focus,\n input[type="checkbox"]:focus-visible {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(vt(),{open:t,onRequestClose:a,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Shared Elastic sources definition"}),r.createElement(vt().Body,null,r.createElement("div",{style:{marginBottom:16,fontSize:14,color:E.textSecondary}},"Use this interface to manage existing shared elastic sources. Access"," ",r.createElement(bt(),{onClick:function(e){e.preventDefault(),z("index=_internal sourcetype=trackme:custom_commands:trackmeelasticexecutor")},style:{display:"inline-flex",alignItems:"center",gap:4,textDecoration:"none"}},"TrackMe Elastic Sources shared mass executor job",r.createElement(Ge(),{style:{fontSize:14}})),". Use the table to manage sources, you can select multiple entities at once for deletion:"),u&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),p&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},p),!u&&!p&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:16,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontSize:14,fontWeight:500,color:E.text}},y.length," Elastic Source",1!==y.length?"s":""," currently"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:O},M.size===y.length?"Deselect all":"Select all"),r.createElement(c(),{appearance:"secondary",onClick:T,disabled:0===M.size},"Remove selected"))),0===y.length?r.createElement(Jt(),{type:"info"},"No shared elastic sources found. Create a new source to get started."):r.createElement("div",{style:{maxHeight:600,overflow:"auto",border:"1px solid ".concat(E.border),borderRadius:4}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:M.size===y.length&&y.length>0,onChange:O,style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none"}})),r.createElement(dt().HeadCell,null,"object"),r.createElement(dt().HeadCell,null,"search_mode"),r.createElement(dt().HeadCell,null,"search_constraint"),r.createElement(dt().HeadCell,null,"elastic_index"),r.createElement(dt().HeadCell,null,"elastic_sourcetype")),r.createElement(dt().Body,null,y.map(function(e,t){var n=e.object||"row-".concat(t),a=M.has(e.object);return r.createElement(dt().Row,{key:n},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:a,onChange:function(){return L(e.object)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,e.object),r.createElement(dt().Cell,null,e.search_mode),r.createElement(dt().Cell,null,r.createElement("div",{style:{maxWidth:400,overflow:"auto",fontFamily:"monospace",fontSize:12}},e.search_constraint)),r.createElement(dt().Cell,null,e.elastic_index||e.object),r.createElement(dt().Cell,null,e.elastic_sourcetype||e.object))})))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close"))),r.createElement(Wv,{open:x,tenantId:n,sourceObjects:Array.from(M),elasticType:"shared",onClose:function(){return k(!1)},onSuccess:D}))};function Kv(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Jv(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Jv(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Jv(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Jv(d,"constructor",u),Jv(u,"constructor",s),s.displayName="GeneratorFunction",Jv(u,a,"GeneratorFunction"),Jv(d),Jv(d,a,"Generator"),Jv(d,r,function(){return this}),Jv(d,"toString",function(){return"[object Generator]"}),(Kv=function(){return{w:o,m:f}})()}function Jv(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Jv=function(e,t,n,r){function o(t,n){Jv(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Jv(e,t,n,r)}function Zv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Qv(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){Zv(o,r,a,i,l,"next",e)}function l(e){Zv(o,r,a,i,l,"throw",e)}i(void 0)})}}function e_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return t_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0?"/".concat(r[0]):"";window.open("".concat(n).concat(a,"/app/trackme/search?q=").concat(encodeURIComponent(e)),"_blank")}catch(e){}},[]);return r.createElement(r.Fragment,null,r.createElement("style",null,'\n input[type="checkbox"]:focus,\n input[type="checkbox"]:focus-visible {\n outline: none !important;\n box-shadow: none !important;\n }\n '),r.createElement(vt(),{open:t,onRequestClose:a,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Dedicated Elastic sources definition"}),r.createElement(vt().Body,null,r.createElement("div",{style:{marginBottom:16,fontSize:14,color:E.textSecondary}},"Use this interface to manage existing dedicated elastic sources. Access"," ",r.createElement(bt(),{onClick:function(e){e.preventDefault(),z("index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor")},style:{display:"inline-flex",alignItems:"center",gap:4,textDecoration:"none"}},"TrackMe executor job",r.createElement(Ge(),{style:{fontSize:14}})),". Use the table to manage sources, you can select multiple entities at once for deletion:"),u&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),p&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},p),!u&&!p&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:16,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontSize:14,fontWeight:500,color:E.text}},y.length," Elastic Source",1!==y.length?"s":""," currently"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:O},M.size===y.length?"Deselect all":"Select all"),r.createElement(c(),{appearance:"secondary",onClick:T,disabled:0===M.size},"Remove selected"))),0===y.length?r.createElement(Jt(),{type:"info"},"No dedicated elastic sources found. Create a new source to get started."):r.createElement("div",{style:{maxHeight:600,overflow:"auto",border:"1px solid ".concat(E.border),borderRadius:4}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:M.size===y.length&&y.length>0,onChange:O,style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none"}})),r.createElement(dt().HeadCell,{style:{width:80}},"Reports"),r.createElement(dt().HeadCell,null,"elastic_report"),r.createElement(dt().HeadCell,null,"object"),r.createElement(dt().HeadCell,null,"search_mode"),r.createElement(dt().HeadCell,null,"search_constraint"),r.createElement(dt().HeadCell,null,"elastic_index"),r.createElement(dt().HeadCell,null,"elastic_sourcetype")),r.createElement(dt().Body,null,y.map(function(e,t){var n=e.object||"row-".concat(t),a=M.has(e.object);return r.createElement(dt().Row,{key:n},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:a,onChange:function(){return L(e.object)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,e.elastic_report&&r.createElement(bt(),{to:"#",onClick:function(t){t.preventDefault();var n='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(e.elastic_report,'"');z(n)},"aria-label":"Open report for ".concat(e.elastic_report),style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement(dt().Cell,null,e.elastic_report||"-"),r.createElement(dt().Cell,null,e.object),r.createElement(dt().Cell,null,e.search_mode),r.createElement(dt().Cell,null,r.createElement("div",{style:{maxWidth:300,overflow:"auto",fontFamily:"monospace",fontSize:12}},e.search_constraint)),r.createElement(dt().Cell,null,e.elastic_index||e.object),r.createElement(dt().Cell,null,e.elastic_sourcetype||e.object))})))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close"))),r.createElement(Wv,{open:x,tenantId:n,sourceObjects:Array.from(M),elasticType:"dedicated",onClose:function(){return k(!1)},onSuccess:D}))};function r_(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return a_(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(a_(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,a_(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,a_(d,"constructor",u),a_(u,"constructor",s),s.displayName="GeneratorFunction",a_(u,a,"GeneratorFunction"),a_(d),a_(d,a,"Generator"),a_(d,r,function(){return this}),a_(d,"toString",function(){return"[object Generator]"}),(r_=function(){return{w:o,m:f}})()}function a_(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}a_=function(e,t,n,r){function o(t,n){a_(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},a_(e,t,n,r)}function o_(e){return function(e){if(Array.isArray(e))return c_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i_(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function l_(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){i_(o,r,a,i,l,"next",e)}function l(e){i_(o,r,a,i,l,"throw",e)}i(void 0)})}}function s_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||u_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u_(e,t){if(e){if("string"==typeof e)return c_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c_(e,t):void 0}}function c_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("div",{style:{display:"block",marginBottom:8,fontSize:14,color:ne.textSecondary}},"Choose the elastic tracker:"),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"flex-start"}},r.createElement(ht(),{value:S,onChange:function(e,t){var n=t.value,r=String(n);k(r);var a=ae.find(function(e){return e.value===r});A((null==a?void 0:a.object)||""),N(!1),j(null)},style:{flex:1,maxWidth:600},filter:!0},r.createElement(ht().Option,{value:"",label:"-- Select source --"}),ae.map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})})),r.createElement(c(),{appearance:"primary",icon:O?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:se,disabled:!S||O,style:{maxWidth:200,flexShrink:0}},O?"Running...":oe?"Run shared tracker":"Run tracker now")),oe&&S&&r.createElement(Jt(),{type:"info",style:{marginTop:12}},"This entity is managed through the shared elastic tracker. Executing the shared tracker will update and maintain all shared entities.")),z&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},z),Y&&r.createElement("div",{ref:J,style:{marginTop:24,borderTop:"1px solid ".concat(ne.border),paddingTop:16}},r.createElement("div",{style:{background:ne.backgroundSecondary,border:"1px solid ".concat(ne.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Execution Events (auto-refresh 5s)"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events panel actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(Lt(),null),onClick:ue},"Open in Search")))),V&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},V),H&&!I&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),I&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:Q,height:400,dataSources:{primary:I},options:{height:400,footerFields:["index","source","sourcetype"]}})),!H&&!V&&!I&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No events found yet. Events will appear here as the execution progresses.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close")))};function f_(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return p_(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(p_(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,p_(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,p_(d,"constructor",u),p_(u,"constructor",s),s.displayName="GeneratorFunction",p_(u,a,"GeneratorFunction"),p_(d),p_(d,a,"Generator"),p_(d,r,function(){return this}),p_(d,"toString",function(){return"[object Generator]"}),(f_=function(){return{w:o,m:f}})()}function p_(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}p_=function(e,t,n,r){function o(t,n){p_(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},p_(e,t,n,r)}function m_(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function h_(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){m_(o,r,a,i,l,"next",e)}function l(e){m_(o,r,a,i,l,"throw",e)}i(void 0)})}}function y_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var o=a.find(function(e){return e.includes("_tracker_tenant_")})||a[0];e.push({value:o,label:"".concat(r," (").concat(o,")")})}}),e},[d]),ee=r.useCallback(function(){if(M&&n){try{var e,t;null===(e=H.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}F(!0),W(null);try{var r=M.replace(/_tracker_tenant_/,"_*_tenant_"),a='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(r,'"'),o=Ee.A.create({search:a,earliest_time:"-1h",latest_time:"now"},{app:"trackme"}).getResults().subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0===t.length)return P({requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}}),void F(!1);var n=t[0],r=Object.keys(n||{}),a=r.map(function(e){return{name:e}}),o=r.map(function(e){return t.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});P({requestParams:{offset:0,count:t.length},data:{fields:a,columns:o},meta:{totalCount:t.length}}),F(!1)}},complete:function(){F(!1)},error:function(e){F(!1),W((null==e?void 0:e.message)||"Failed to load events")}});H.current=o}catch(e){F(!1),W((null==e?void 0:e.message)||"Failed to execute search")}}},[M,n]);r.useEffect(function(){if(T&&M)X.current=window.setTimeout(function(){ee()},3e3),q.current=window.setInterval(function(){ee()},5e3);else{X.current&&(clearTimeout(X.current),X.current=null),q.current&&(clearInterval(q.current),q.current=null);try{var e,t;null===(e=H.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}P(null),F(!1),W(null)}return function(){X.current&&clearTimeout(X.current),q.current&&clearInterval(q.current);try{var e,t;null===(e=H.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[T,M,ee]),r.useEffect(function(){var e=function(){V.current&&G(V.current.offsetWidth-16)};if(T)return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[T]);var te=r.useCallback(h_(f_().m(function e(){var t,r;return f_().w(function(e){for(;;)switch(e.n){case 0:if(M&&n){e.n=1;break}return e.a(2);case 1:C(!0),L(null),D(!0);try{t='| trackmeoneshotexecutor tenant_id="'.concat(n,'" report="').concat(M,'" use_savedsearch_time=True'),Ee.A.create({search:t,earliest_time:"-5m",latest_time:"now"},{app:"trackme"}).getResults().subscribe({next:function(e){e&&(!0===e.preview||e.isPreview)},complete:function(){C(!1),K({type:"success",title:"Tracker executed",message:"The tracker has been executed successfully."}),i&&i()},error:function(e){C(!1);var t=(null==e?void 0:e.message)||"Failed to execute tracker";L(t),K({type:"error",title:"Execution failed",message:t})}})}catch(e){C(!1),r=(null==e?void 0:e.message)||"Failed to execute tracker",L(r),K({type:"error",title:"Execution failed",message:r})}case 2:return e.a(2)}},e)})),[M,n,K,i]),ne=r.useCallback(function(){if(M)try{var e,t=M.replace(/_tracker_tenant_/,"_*_tenant_"),n='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(t,'"'),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent("-1h"),"&latest=").concat(encodeURIComponent("now")),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}catch(e){}},[M]);return r.createElement(vt(),{open:t,onRequestClose:o,returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"Trackers: hybrid trackers"}),r.createElement(vt().Body,null,r.createElement("div",{style:{fontSize:14,color:J.textSecondary,marginBottom:16}},"Choose an active hybrid tracker and click on run:"),y&&r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:16}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{color:J.textSecondary}},"Loading trackers...")),!y&&0===Q.length&&r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"No hybrid trackers found for this component. Create a tracker first."),Q.length>0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tracker-select",id:"tracker-label",style:{display:"block",marginBottom:8,fontSize:14,color:J.textSecondary}},"Choose the hybrid tracker:"),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"flex-start"}},r.createElement(ht(),{id:"tracker-select","aria-labelledby":"tracker-label",value:M,onChange:function(e,t){var n=t.value;w(String(n)),D(!1),L(null)},style:{flex:1,maxWidth:600},filter:!0},r.createElement(ht().Option,{value:"",label:"-- Select tracker --"}),Q.map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})})),r.createElement(c(),{appearance:"primary",icon:k?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:te,disabled:!M||k,style:{maxWidth:200,flexShrink:0}},k?"Running...":"Run tracker now"))),A&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},A),T&&r.createElement("div",{ref:V,style:{marginTop:24,borderTop:"1px solid ".concat(J.border),paddingTop:16}},r.createElement("div",{style:{background:J.backgroundSecondary,border:"1px solid ".concat(J.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Execution Events (auto-refresh 5s)"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events panel actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(Lt(),null),onClick:ne},"Open in Search")))),R&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},R),N&&!j&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),j&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:$,height:400,dataSources:{primary:j},options:{height:400,footerFields:["index","source","sourcetype"]}})),!N&&!R&&!j&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No events found yet. Events will appear here as the execution progresses.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o},"Close")))};function v_(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return __(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(__(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,__(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,__(d,"constructor",u),__(u,"constructor",s),s.displayName="GeneratorFunction",__(u,a,"GeneratorFunction"),__(d),__(d,a,"Generator"),__(d,r,function(){return this}),__(d,"toString",function(){return"[object Generator]"}),(v_=function(){return{w:o,m:f}})()}function __(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}__=function(e,t,n,r){function o(t,n){__(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},__(e,t,n,r)}function M_(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function w_(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){M_(o,r,a,i,l,"next",e)}function l(e){M_(o,r,a,i,l,"throw",e)}i(void 0)})}}function S_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var o=a.find(function(e){return e.includes("_tracker_tenant_")})||a[0];e.push({value:o,label:"".concat(r," (").concat(o,")")})}}),e},[u]),Q=r.useCallback(function(){if(g&&n){try{var e,t;null===(e=W.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}N(!0),R(null);try{var r=g.replace(/_tracker_tenant_/,"_*_tenant_"),a='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(r,'"'),o=Ee.A.create({search:a,earliest_time:"-1h",latest_time:"now"},{app:"trackme"}).getResults().subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0===t.length)return j({requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}}),void N(!1);var n=t[0],r=Object.keys(n||{}),a=r.map(function(e){return{name:e}}),o=r.map(function(e){return t.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});j({requestParams:{offset:0,count:t.length},data:{fields:a,columns:o},meta:{totalCount:t.length}}),N(!1)}},complete:function(){N(!1)},error:function(e){N(!1),R((null==e?void 0:e.message)||"Failed to load events")}});W.current=o}catch(e){N(!1),R((null==e?void 0:e.message)||"Failed to execute search")}}},[g,n]);r.useEffect(function(){if(O&&g)q.current=window.setTimeout(function(){Q()},3e3),H.current=window.setInterval(function(){Q()},5e3);else{q.current&&(clearTimeout(q.current),q.current=null),H.current&&(clearInterval(H.current),H.current=null);try{var e,t;null===(e=W.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}j(null),N(!1),R(null)}return function(){q.current&&clearTimeout(q.current),H.current&&clearInterval(H.current);try{var e,t;null===(e=W.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[O,g,Q]),r.useEffect(function(){var e=function(){X.current&&$(X.current.offsetWidth-16)};if(O)return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[O]);var ee=r.useCallback(w_(v_().m(function e(){var t,r;return v_().w(function(e){for(;;)switch(e.n){case 0:if(g&&n){e.n=1;break}return e.a(2);case 1:k(!0),A(null),T(!0);try{t='| trackmeoneshotexecutor tenant_id="'.concat(n,'" report="').concat(g,'" use_savedsearch_time=True'),Ee.A.create({search:t,earliest_time:"-5m",latest_time:"now"},{app:"trackme"}).getResults().subscribe({next:function(e){e&&(!0===e.preview||e.isPreview)},complete:function(){k(!1),G({type:"success",title:"Tracker executed",message:"The tracker has been executed successfully."}),o&&o()},error:function(e){k(!1);var t=(null==e?void 0:e.message)||"Failed to execute tracker";A(t),G({type:"error",title:"Execution failed",message:t})}})}catch(e){k(!1),r=(null==e?void 0:e.message)||"Failed to execute tracker",A(r),G({type:"error",title:"Execution failed",message:r})}case 2:return e.a(2)}},e)})),[g,n,G,o]),te=r.useCallback(function(){if(g)try{var e,t=g.replace(/_tracker_tenant_/,"_*_tenant_"),n='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(t,'"'),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent("-1h"),"&latest=").concat(encodeURIComponent("now")),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}catch(e){}},[g]);return r.createElement(vt(),{open:t,onRequestClose:a,returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"Trackers: hybrid trackers"}),r.createElement(vt().Body,null,r.createElement("div",{style:{fontSize:14,color:K.textSecondary,marginBottom:16}},"Choose an active hybrid tracker and click on run:"),h&&r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:16}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{color:K.textSecondary}},"Loading trackers...")),!h&&0===Z.length&&r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"No hybrid trackers found for this component. Create a tracker first."),Z.length>0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tracker-select",id:"tracker-label",style:{display:"block",marginBottom:8,fontSize:14,color:K.textSecondary}},"Choose the hybrid tracker:"),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"flex-start"}},r.createElement(ht(),{id:"tracker-select","aria-labelledby":"tracker-label",value:g,onChange:function(e,t){var n=t.value;M(String(n)),T(!1),A(null)},style:{flex:1,maxWidth:600},filter:!0},r.createElement(ht().Option,{value:"",label:"-- Select tracker --"}),Z.map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})})),r.createElement(c(),{appearance:"primary",icon:S?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:ee,disabled:!g||S,style:{maxWidth:200,flexShrink:0}},S?"Running...":"Run tracker now"))),E&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},E),O&&r.createElement("div",{ref:X,style:{marginTop:24,borderTop:"1px solid ".concat(K.border),paddingTop:16}},r.createElement("div",{style:{background:K.backgroundSecondary,border:"1px solid ".concat(K.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Execution Events (auto-refresh 5s)"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events panel actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(Lt(),null),onClick:te},"Open in Search")))),I&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},I),Y&&!z&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),z&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:U,height:400,dataSources:{primary:z},options:{height:400,footerFields:["index","source","sourcetype"]}})),!Y&&!I&&!z&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No events found yet. Events will appear here as the execution progresses.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close")))};function C_(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return E_(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(E_(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,E_(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,E_(d,"constructor",u),E_(u,"constructor",s),s.displayName="GeneratorFunction",E_(u,a,"GeneratorFunction"),E_(d),E_(d,a,"Generator"),E_(d,r,function(){return this}),E_(d,"toString",function(){return"[object Generator]"}),(C_=function(){return{w:o,m:f}})()}function E_(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}E_=function(e,t,n,r){function o(t,n){E_(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},E_(e,t,n,r)}function A_(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function L_(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){A_(o,r,a,i,l,"next",e)}function l(e){A_(o,r,a,i,l,"throw",e)}i(void 0)})}}function O_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return T_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tracker-select",id:"tracker-label",style:{display:"block",marginBottom:8,fontSize:14,color:K.textSecondary}},"Choose the hybrid tracker:"),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"flex-start"}},r.createElement(ht(),{id:"tracker-select","aria-labelledby":"tracker-label",value:g,onChange:function(e,t){var n=t.value;M(String(n)),T(!1),A(null)},style:{flex:1,maxWidth:600},filter:!0},r.createElement(ht().Option,{value:"",label:"-- Select tracker --"}),Z.map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})})),r.createElement(c(),{appearance:"primary",icon:S?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:ee,disabled:!g||S,style:{maxWidth:200,flexShrink:0}},S?"Running...":"Run tracker now"))),E&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},E),O&&r.createElement("div",{ref:X,style:{marginTop:24,borderTop:"1px solid ".concat(K.border),paddingTop:16}},r.createElement("div",{style:{background:K.backgroundSecondary,border:"1px solid ".concat(K.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Execution Events (auto-refresh 5s)"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events panel actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(Lt(),null),onClick:te},"Open in Search")))),I&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},I),Y&&!z&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),z&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:U,height:400,dataSources:{primary:z},options:{height:400,footerFields:["index","source","sourcetype"]}})),!Y&&!I&&!z&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No events found yet. Events will appear here as the execution progresses.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close")))};function z_(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return j_(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(j_(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,j_(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,j_(d,"constructor",u),j_(u,"constructor",s),s.displayName="GeneratorFunction",j_(u,a,"GeneratorFunction"),j_(d),j_(d,a,"Generator"),j_(d,r,function(){return this}),j_(d,"toString",function(){return"[object Generator]"}),(z_=function(){return{w:o,m:f}})()}function j_(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}j_=function(e,t,n,r){function o(t,n){j_(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},j_(e,t,n,r)}function P_(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function B_(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){P_(o,r,a,i,l,"next",e)}function l(e){P_(o,r,a,i,l,"throw",e)}i(void 0)})}}function Y_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return N_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var o=a.find(function(e){return e.includes("_tracker_tenant_")})||a[0];e.push({value:o,label:"".concat(r," (").concat(o,")")})}}),e},[u]),Q=r.useCallback(function(){if(g&&n){try{var e,t;null===(e=W.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}N(!0),R(null);try{var r=g.replace(/_tracker_tenant_/,"_*_tenant_"),a='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(r,'"'),o=Ee.A.create({search:a,earliest_time:"-1h",latest_time:"now"},{app:"trackme"}).getResults().subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0===t.length)return j({requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}}),void N(!1);var n=t[0],r=Object.keys(n||{}),a=r.map(function(e){return{name:e}}),o=r.map(function(e){return t.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});j({requestParams:{offset:0,count:t.length},data:{fields:a,columns:o},meta:{totalCount:t.length}}),N(!1)}},complete:function(){N(!1)},error:function(e){N(!1),R((null==e?void 0:e.message)||"Failed to load events")}});W.current=o}catch(e){N(!1),R((null==e?void 0:e.message)||"Failed to execute search")}}},[g,n]);r.useEffect(function(){if(O&&g)q.current=window.setTimeout(function(){Q()},3e3),H.current=window.setInterval(function(){Q()},5e3);else{q.current&&(clearTimeout(q.current),q.current=null),H.current&&(clearInterval(H.current),H.current=null);try{var e,t;null===(e=W.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}j(null),N(!1),R(null)}return function(){q.current&&clearTimeout(q.current),H.current&&clearInterval(H.current);try{var e,t;null===(e=W.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[O,g,Q]),r.useEffect(function(){var e=function(){X.current&&$(X.current.offsetWidth-16)};if(O)return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[O]);var ee=r.useCallback(B_(z_().m(function e(){var t,r;return z_().w(function(e){for(;;)switch(e.n){case 0:if(g&&n){e.n=1;break}return e.a(2);case 1:k(!0),A(null),T(!0);try{t='| trackmeoneshotexecutor tenant_id="'.concat(n,'" report="').concat(g,'" use_savedsearch_time=True'),Ee.A.create({search:t,earliest_time:"-5m",latest_time:"now"},{app:"trackme"}).getResults().subscribe({next:function(e){e&&(!0===e.preview||e.isPreview)},complete:function(){k(!1),G({type:"success",title:"Tracker executed",message:"The tracker has been executed successfully."}),o&&o()},error:function(e){k(!1);var t=(null==e?void 0:e.message)||"Failed to execute tracker";A(t),G({type:"error",title:"Execution failed",message:t})}})}catch(e){k(!1),r=(null==e?void 0:e.message)||"Failed to execute tracker",A(r),G({type:"error",title:"Execution failed",message:r})}case 2:return e.a(2)}},e)})),[g,n,G,o]),te=r.useCallback(function(){if(g)try{var e,t=g.replace(/_tracker_tenant_/,"_*_tenant_"),n='index=_internal sourcetype=trackme:custom_commands:trackmetrackerexecutor report="'.concat(t,'"'),r="/app/trackme/search?q=".concat(encodeURIComponent(n),"&earliest=").concat(encodeURIComponent("-1h"),"&latest=").concat(encodeURIComponent("now")),a=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(r):r;window.open(a,"_blank","noopener")}catch(e){}},[g]);return r.createElement(vt(),{open:t,onRequestClose:a,returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"Trackers: hybrid trackers"}),r.createElement(vt().Body,null,r.createElement("div",{style:{fontSize:14,color:K.textSecondary,marginBottom:16}},"Choose an active hybrid tracker and click on run:"),h&&r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:16}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{color:K.textSecondary}},"Loading trackers...")),!h&&0===Z.length&&r.createElement(Jt(),{type:"info",style:{marginBottom:16}},"No hybrid trackers found for this component. Create a tracker first."),Z.length>0&&r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"tracker-select",id:"tracker-label",style:{display:"block",marginBottom:8,fontSize:14,color:K.textSecondary}},"Choose the hybrid tracker:"),r.createElement("div",{style:{display:"flex",gap:12,alignItems:"flex-start"}},r.createElement(ht(),{id:"tracker-select","aria-labelledby":"tracker-label",value:g,onChange:function(e,t){var n=t.value;M(String(n)),T(!1),A(null)},style:{flex:1,maxWidth:600},filter:!0},r.createElement(ht().Option,{value:"",label:"-- Select tracker --"}),Z.map(function(e){return r.createElement(ht().Option,{key:e.value,value:e.value,label:e.label})})),r.createElement(c(),{appearance:"primary",icon:S?r.createElement(s(),{size:"small"}):r.createElement(B(),null),onClick:ee,disabled:!g||S,style:{maxWidth:200,flexShrink:0}},S?"Running...":"Run tracker now"))),E&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},E),O&&r.createElement("div",{ref:X,style:{marginTop:24,borderTop:"1px solid ".concat(K.border),paddingTop:16}},r.createElement("div",{style:{background:K.backgroundSecondary,border:"1px solid ".concat(K.border),borderRadius:8,padding:8,position:"relative"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28}},"Execution Events (auto-refresh 5s)"),r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events panel actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{startAdornment:r.createElement(Lt(),null),onClick:te},"Open in Search")))),I&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},I),Y&&!z&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),z&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:U,height:400,dataSources:{primary:z},options:{height:400,footerFields:["index","source","sourcetype"]}})),!Y&&!I&&!z&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No events found yet. Events will appear here as the execution progresses.")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a},"Close")))};function I_(e){return I_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I_(e)}function R_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W_(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(X_(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,X_(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,X_(d,"constructor",u),X_(u,"constructor",s),s.displayName="GeneratorFunction",X_(u,a,"GeneratorFunction"),X_(d),X_(d,a,"Generator"),X_(d,r,function(){return this}),X_(d,"toString",function(){return"[object Generator]"}),(q_=function(){return{w:o,m:f}})()}function X_(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}X_=function(e,t,n,r){function o(t,n){X_(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},X_(e,t,n,r)}function V_(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function U_(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){V_(o,r,a,i,l,"next",e)}function l(e){V_(o,r,a,i,l,"throw",e)}i(void 0)})}}function $_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return G_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(nM(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,nM(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,nM(d,"constructor",u),nM(u,"constructor",s),s.displayName="GeneratorFunction",nM(u,a,"GeneratorFunction"),nM(d),nM(d,a,"Generator"),nM(d,r,function(){return this}),nM(d,"toString",function(){return"[object Generator]"}),(tM=function(){return{w:o,m:f}})()}function nM(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}nM=function(e,t,n,r){function o(t,n){nM(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},nM(e,t,n,r)}function rM(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function aM(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){rM(o,r,a,i,l,"next",e)}function l(e){rM(o,r,a,i,l,"throw",e)}i(void 0)})}}function oM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iM(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(pM(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,pM(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,pM(d,"constructor",u),pM(u,"constructor",s),s.displayName="GeneratorFunction",pM(u,a,"GeneratorFunction"),pM(d),pM(d,a,"Generator"),pM(d,r,function(){return this}),pM(d,"toString",function(){return"[object Generator]"}),(fM=function(){return{w:o,m:f}})()}function pM(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}pM=function(e,t,n,r){function o(t,n){pM(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},pM(e,t,n,r)}function mM(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function hM(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){mM(o,r,a,i,l,"next",e)}function l(e){mM(o,r,a,i,l,"throw",e)}i(void 0)})}}function yM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bM(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&T>Fe?D(Fe):T<1&&Ye.length>0&&D(1)},[Ye.length,Fe,T]),r.useEffect(function(){t&&(Pe(),Be(),D(1),L(""))},[t,Pe,Be]);var Ie=r.useCallback(function(e){S(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),Re=r.useMemo(function(){if(0===Ye.length)return!1;var e=Ye.map(function(e){return e._key});return e.length>0&&e.every(function(e){return w.has(e)})},[Ye,w]),We=r.useCallback(function(){var e=new Set(Ye.map(function(e){return e._key}));S(Re?function(t){var n=new Set(t);return e.forEach(function(e){return n.delete(e)}),n}:function(t){var n=new Set(t);return e.forEach(function(e){return n.add(e)}),n})},[Ye,Re]),He=r.useCallback(function(){0!==w.size?(me(!0),_e(null)):Te({type:"warning",title:"No groups selected",message:"Please select at least one group to delete."})},[w.size,Te]),qe=r.useCallback(function(){var e=hM(fM().m(function e(t){var r,a,o;return fM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return be(!0),_e(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_del_grp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,object_group_key:Array.from(w),update_comment:t||"Deleted from UI"})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw a=e.v,new Error(a);case 5:Te({type:"success",title:"Logical Group(s) removed",message:"".concat(w.size," logical group(s) successfully removed.")}),me(!1),Pe(),i&&i(),e.n=7;break;case 6:e.p=6,o=e.v,_e(o.message||"An error occurred");case 7:return e.p=7,be(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[w,n,Pe,i,Te]),Xe=r.useCallback(function(){0!==k.size?(Se(!0),Oe(null)):Te({type:"info",title:"No changes to save",message:""})},[k.size,Te]),Ve=r.useCallback(function(){var e=hM(fM().m(function e(t){var r,a,o,l;return fM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return Ee(!0),Oe(null),e.p=2,r=Array.from(k.entries()).map(function(e){var t=yM(e,2),n=t[0],r=t[1],a=cM(cM({},b.find(function(e){return e._key===n})),r);return a.object_group_members&&"string"==typeof a.object_group_members&&(a.object_group_members=je(a.object_group_members)),a}),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_bulk_edit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,json_data:JSON.stringify(r),update_comment:t||"Updated from UI"})});case 3:if((a=e.v).ok){e.n=5;break}return e.n=4,Z(a);case 4:throw o=e.v,new Error(o);case 5:Te({type:"success",title:"Logical Group(s) updated",message:"".concat(k.size," logical group(s) successfully updated.")}),Se(!1),Pe(),i&&i(),e.n=7;break;case 6:e.p=6,l=e.v,Oe(l.message||"An error occurred");case 7:return e.p=7,Ee(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[k,b,n,je,Pe,i,Te]),Ue=r.useCallback(function(){var e=hM(fM().m(function e(t){var r,a,o;return fM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&K.trim()&&0!==te.length){e.n=1;break}return Te({type:"warning",title:"Invalid input",message:"Please provide group name and at least one member."}),e.a(2);case 1:return se(!0),de(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_logical_groups/write/logical_groups_add_grp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,object_group_name:K.trim(),object_group_members:te,object_group_min_green_percent:ae.trim()||"50",update_comment:t||"Created from UI"})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw a=e.v,new Error(a);case 5:Te({type:"success",title:"Logical Group added",message:"Logical Group successfully added."}),X(!1),$(!1),Q(""),ne([]),oe("50"),Pe(),i&&i(),e.n=7;break;case 6:e.p=6,o=e.v,de(o.message||"An error occurred");case 7:return e.p=7,se(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[n,K,te,ae,Pe,i,Te]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:o,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Logical groups: use this screen to manage Logical Groups"}),r.createElement(vt().Body,null,r.createElement(Mr(),{title:"About Logical Groups"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:De.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Logical Groups can be used to associate multiple entities together, to influence their status as an ensemble."),r.createElement("li",{style:{marginBottom:8}},"For instance, you can associate two entities into a group and set its minimal green percentage to 50%."),r.createElement("li",{style:{marginBottom:8}},"If one of the members is affected by a condition which should normally trigger a red state, the entity turns blue instead as long as the group condition is respected."),r.createElement("li",{style:{marginBottom:0}},"If the second entity is also affected, both entities will turn red.")))),r.createElement("div",{style:{marginTop:16,marginBottom:8,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},Ye.length," logical group",1===Ye.length?"":"s"," ",A?"found":"currently",A&&b.length!==Ye.length&&r.createElement("span",{style:{color:De.textSecondary,fontWeight:"normal"}}," ","(of ",b.length," total)")),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:We,style:{flex:"0 0 auto"}},Re?"Deselect all":"Select all"),r.createElement(c(),{appearance:"destructive",onClick:He,disabled:0===w.size,style:{flex:"0 0 auto"}},"Remove selected"),r.createElement(c(),{appearance:"secondary",onClick:Xe,disabled:0===k.size,style:{flex:"0 0 auto"}},"Save changes"))),d&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),m&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},m),!d&&!m&&r.createElement(r.Fragment,null,r.createElement("div",{style:{marginBottom:12}},r.createElement(pt(),{value:A,onChange:function(e,t){var n=t.value;return L(n)},placeholder:"Search by group name or member...",style:{maxWidth:500}})),Ye.length>0&&r.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:12,marginBottom:12,border:"1px solid ".concat(De.border),borderRadius:8,backgroundColor:De.backgroundSecondary}},r.createElement("div",{style:{display:"flex",alignItems:"center",gap:12}},r.createElement("div",{style:{color:De.textSecondary,fontSize:14}},"Showing ",(T-1)*j+1,"-",Math.min(T*j,Ye.length)," of ",Ye.length," groups"),r.createElement(ht(),{value:String(j),onChange:function(e,t){var n=t.value;P(Number(n)),D(1)},style:{width:120}},r.createElement(ht().Option,{label:"10 / page",value:"10"}),r.createElement(ht().Option,{label:"25 / page",value:"25"}),r.createElement(ht().Option,{label:"50 / page",value:"50"}),r.createElement(ht().Option,{label:"100 / page",value:"100"}))),Fe>1&&r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:function(){return D(1)},disabled:1===T},"First"),r.createElement(c(),{appearance:"secondary",onClick:function(){return D(function(e){return Math.max(1,e-1)})},disabled:1===T},"Prev"),r.createElement("div",{style:{padding:"6px 12px",backgroundColor:De.background,border:"1px solid ".concat(De.border),borderRadius:4,color:De.text,fontSize:14,minWidth:60,textAlign:"center"}},T," / ",Fe),r.createElement(c(),{appearance:"secondary",onClick:function(){return D(function(e){return Math.min(Fe,e+1)})},disabled:T===Fe},"Next"),r.createElement(c(),{appearance:"secondary",onClick:function(){return D(Fe)},disabled:T===Fe},"Last"))),r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(De.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}}),r.createElement(dt().HeadCell,{style:{minWidth:200}},"Group name"),r.createElement(dt().HeadCell,{style:{minWidth:400}},"Members"),r.createElement(dt().HeadCell,{style:{minWidth:150}},"Min green %")),r.createElement(dt().Body,null,Ne.map(function(e){var t=e._key||"",n=w.has(t),a=k.get(t),o=a?cM(cM({},e),a):e,i=ze(o.object_group_members);return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:n,onChange:function(){return Ie(t)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,null,r.createElement("input",{type:"text",value:o.object_group_name||"",onChange:function(e){C(function(n){var r=new Map(n);return r.set(t,cM(cM({},r.get(t)),{},{object_group_name:e.target.value})),r})},style:{width:"100%",padding:4,fontSize:13,backgroundColor:De.background,color:De.text,border:"1px solid ".concat(De.border),borderRadius:4}})),r.createElement(dt().Cell,null,R?r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"8px 0"}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{fontSize:12,color:De.textSecondary}},"Loading entities...")):r.createElement(As(),{values:i,onChange:function(e,n){var r=n.values;C(function(e){var n=new Map(e);return n.set(t,cM(cM({},n.get(t)),{},{object_group_members:(r||[]).map(function(e){return String(e)})})),n})},placeholder:"Select entities...",style:{width:"100%",fontSize:13}},Y.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement(dt().Cell,null,r.createElement("div",{style:{padding:"4px 0",minWidth:200}},r.createElement("div",{style:{marginBottom:4,fontSize:12,color:De.textSecondary}},r.createElement("strong",{style:{color:De.text}},String(o.object_group_min_green_percent||"50"),"%")),r.createElement(vr(),{value:parseInt(String(o.object_group_min_green_percent||"50"),10),onChange:function(e,n){var r=n.value;C(function(e){var n=new Map(e);return n.set(t,cM(cM({},n.get(t)),{},{object_group_min_green_percent:String(r)})),n})},min:0,max:100,step:1,"aria-label":"Minimal green percentage"}))))})))),0===Ye.length&&!d&&r.createElement(Jt(),{type:"info",style:{marginTop:16}},A?'No logical groups found matching "'.concat(A,'".'):'No logical groups found. Click "Add new" to add one.'))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o,style:{flex:"0 0 auto"}},"Close"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:function(){return X(!0)},style:{flex:"0 0 auto"}},"Add new"))),r.createElement(vt(),{open:q,onRequestClose:function(){le||(X(!1),de(null),Q(""),ne([]),oe("50"))},returnFocus:function(){},style:{width:800}},r.createElement(vt().Header,{title:"Add new Logical Group"}),r.createElement(vt().Body,null,ce&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},ce),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"group-name-input",id:"group-name-label",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:De.text}},"Logical Group Name: *"),r.createElement(Gt(),{id:"group-name-input","aria-labelledby":"group-name-label",value:K,onChange:function(e,t){var n=t.value;return Q(n)},style:cM({width:"100%",maxWidth:400},!K.trim()&&{borderColor:De.error,boxShadow:"0 0 0 2px ".concat(De.error,"40")})})),r.createElement("div",null,r.createElement("label",{htmlFor:"min-green-slider",id:"min-green-label",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:500,color:De.textSecondary}},"Minimal Green Percentage: ",r.createElement("strong",{style:{color:De.text}},ae||"50","%")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:400}},r.createElement(vr(),{id:"min-green-slider","aria-labelledby":"min-green-label",value:parseInt(ae||"50",10),onChange:function(e,t){var n=t.value;oe(String(n))},min:0,max:100,step:1,"aria-label":"Minimal green percentage"}))),r.createElement("div",null,r.createElement("label",{htmlFor:"members-multiselect",id:"members-label",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:De.text}},"Logical Group members: *"),R?r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"8px 0"}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{fontSize:13,color:De.textSecondary}},"Loading entities...")):r.createElement(As(),{id:"members-multiselect","aria-labelledby":"members-label",values:te,onChange:function(e,t){var n=t.values;ne((n||[]).map(function(e){return String(e)}))},placeholder:"Select entities...",style:{width:"100%",maxWidth:800}},Y.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})})))),le&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){le||(X(!1),de(null),Q(""),ne([]),oe("50"))},disabled:le,style:{flex:"0 0 auto"}},"Back"),r.createElement(c(),{appearance:"primary",onClick:function(){X(!1),$(!0)},disabled:le||!K.trim()||0===te.length,style:{flex:"0 0 auto"}},"Create"))),r.createElement(ul,{open:U,title:"Manage Logical Groups",message:"Confirm logical group addition?",confirmLabel:"Create",confirmAppearance:"primary",loading:le,error:ce,onClose:function(){$(!1),de(null)},onConfirm:function(e){Ue(e),$(!1)}}),r.createElement(ul,{open:pe,title:"Manage Logical Groups",message:"Are you sure you want to delete ".concat(w.size," logical group").concat(1===w.size?"":"s","? This action cannot be undone."),confirmLabel:"Update",confirmAppearance:"primary",loading:ye,error:ve,onClose:function(){me(!1),_e(null)},onConfirm:qe}),r.createElement(ul,{open:we,title:"Manage Logical Groups",message:"Are you sure you want to update ".concat(k.size," logical group").concat(1===k.size?"":"s","?"),confirmLabel:"Update",confirmAppearance:"primary",loading:ke,error:Le,onClose:function(){Se(!1),Oe(null)},onConfirm:Ve}))};function vM(e){return vM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vM(e)}function _M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MM(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(xM(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,xM(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,xM(d,"constructor",u),xM(u,"constructor",s),s.displayName="GeneratorFunction",xM(u,a,"GeneratorFunction"),xM(d),xM(d,a,"Generator"),xM(d,r,function(){return this}),xM(d,"toString",function(){return"[object Generator]"}),(SM=function(){return{w:o,m:f}})()}function xM(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}xM=function(e,t,n,r){function o(t,n){xM(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},xM(e,t,n,r)}function kM(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function CM(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){kM(o,r,a,i,l,"next",e)}function l(e){kM(o,r,a,i,l,"throw",e)}i(void 0)})}}function EM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return AM(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?AM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function AM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(TM(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,TM(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,TM(d,"constructor",u),TM(u,"constructor",s),s.displayName="GeneratorFunction",TM(u,a,"GeneratorFunction"),TM(d),TM(d,a,"Generator"),TM(d,r,function(){return this}),TM(d,"toString",function(){return"[object Generator]"}),(OM=function(){return{w:o,m:f}})()}function TM(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}TM=function(e,t,n,r){function o(t,n){TM(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},TM(e,t,n,r)}function DM(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function zM(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){DM(o,r,a,i,l,"next",e)}function l(e){DM(o,r,a,i,l,"throw",e)}i(void 0)})}}function jM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return PM(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?PM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function PM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(WM(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,WM(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,WM(d,"constructor",u),WM(u,"constructor",s),s.displayName="GeneratorFunction",WM(u,a,"GeneratorFunction"),WM(d),WM(d,a,"Generator"),WM(d,r,function(){return this}),WM(d,"toString",function(){return"[object Generator]"}),(RM=function(){return{w:o,m:f}})()}function WM(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}WM=function(e,t,n,r){function o(t,n){WM(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},WM(e,t,n,r)}function HM(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function qM(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){HM(o,r,a,i,l,"next",e)}function l(e){HM(o,r,a,i,l,"throw",e)}i(void 0)})}}function XM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return VM(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function VM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(QM(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,QM(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,QM(d,"constructor",u),QM(u,"constructor",s),s.displayName="GeneratorFunction",QM(u,a,"GeneratorFunction"),QM(d),QM(d,a,"Generator"),QM(d,r,function(){return this}),QM(d,"toString",function(){return"[object Generator]"}),(ZM=function(){return{w:o,m:f}})()}function QM(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}QM=function(e,t,n,r){function o(t,n){QM(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},QM(e,t,n,r)}function ew(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function tw(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ew(o,r,a,i,l,"next",e)}function l(e){ew(o,r,a,i,l,"throw",e)}i(void 0)})}}function nw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&!$&&G(o[0]),e.n=7;break;case 6:e.p=6,i=e.v,De({type:"error",title:"Failed to load SLA classes",message:i.message||"An error occurred"});case 7:return e.p=7,D(!1),e.f(7);case 8:return e.a(2)}},e,null,[[1,6,7,8]])})),[De,$]),Be=r.useCallback(tw(ZM().m(function e(){var t,r,o,i,l;return ZM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return f(!0),h(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_sla_policies/sla_policies_show",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:o=e.v,i=Array.isArray(o)?o:(null==o?void 0:o.policies)||(null==o?void 0:o.data)||(null==o?void 0:o.records)||[],g(i),S(new Set),C(new Map),e.n=8;break;case 7:e.p=7,l=e.v,h(l.message||"Failed to fetch SLA policies");case 8:return e.p=8,f(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a]);r.useEffect(function(){t&&(Be(),Pe())},[t,Be,Pe]),r.useEffect(function(){j&&(H(je()),V(""),A.length>0&&G(A[0]),ee(null),ue(null))},[j,je,A]);var Ye=r.useCallback(function(e){S(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),Ne=r.useCallback(function(){w.size===b.length?S(new Set):S(new Set(b.map(function(e){return e.sla_policy_id})))},[b,w.size]),Fe=r.useCallback(function(){0!==w.size?(he(!0),Me(null)):De({type:"warning",title:"No policies selected",message:"Please select at least one policy to delete."})},[w.size,De]),Ie=r.useCallback(function(){var e=tw(ZM().m(function e(t){var r,o,l;return ZM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return ge(!0),Me(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_sla_policies/write/sla_policies_del",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,sla_policy_id_list:Array.from(w),update_comment:t||"Deleted from UI"})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw o=e.v,new Error(o);case 5:De({type:"success",title:"SLA policie(s) deleted",message:"".concat(w.size," SLA policie(s) successfully deleted.")}),he(!1),Be(),i&&i(),e.n=7;break;case 6:e.p=6,l=e.v,Me(l.message||"An error occurred");case 7:return e.p=7,ge(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[w,n,a,Be,i,De]),Re=r.useCallback(function(){0!==k.size?(xe(!0),Te(null)):De({type:"info",title:"No changes to save",message:""})},[k.size,De]),We=r.useCallback(function(){var e=tw(ZM().m(function e(t){var r,o,l,s,u;return ZM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return Ae(!0),Te(null),e.p=2,r=Array.from(k.entries()).map(function(e){var t=nw(e,2),n=t[0],r=t[1];return KM(KM({},b.find(function(e){return e.sla_policy_id===n})),r)}),o=JSON.stringify(r),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_sla_policies/write/sla_policies_update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,records_list:o,update_comment:t||"Updated from UI"})});case 3:if((l=e.v).ok){e.n=5;break}return e.n=4,Z(l);case 4:throw s=e.v,new Error(s);case 5:De({type:"success",title:"SLA policie(s) updated",message:"".concat(k.size," SLA policie(s) successfully updated.")}),xe(!1),Be(),i&&i(),e.n=7;break;case 6:e.p=6,u=e.v,Te(u.message||"An error occurred");case 7:return e.p=7,Ae(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[k,b,n,a,Be,i,De]),He=r.useCallback(tw(ZM().m(function e(){var t,r,o,i;return ZM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&X.trim()&&$){e.n=1;break}return De({type:"warning",title:"Invalid input",message:"Please provide a regex pattern and SLA class."}),e.a(2);case 1:return re(!0),ee(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_sla_policies/write/sla_policies_simulate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,sla_class:$,regex_value:X.trim()})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:o=e.v,ee(o),e.n=8;break;case 7:e.p=7,i=e.v,De({type:"error",title:"Simulation failed",message:i.message||"An error occurred during simulation"});case 8:return e.p=8,re(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a,X,$,De]),qe=r.useCallback(function(){var e=tw(ZM().m(function e(t){var r,o,l;return ZM().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&W&&X.trim()&&$){e.n=1;break}return De({type:"warning",title:"Invalid input",message:"Please provide all required fields."}),e.a(2);case 1:return ie(!0),ue(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_sla_policies/write/sla_policies_add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,component:a,sla_policy_id:W,sla_policy_value:$,sla_policy_regex:X.trim(),update_comment:t||"Created from UI"})});case 3:if((r=e.v).ok){e.n=5;break}return e.n=4,Z(r);case 4:throw o=e.v,new Error(o);case 5:De({type:"success",title:"SLA policy added",message:"SLA policy successfully added."}),P(!1),I(!1),H(""),V(""),G(A.length>0?A[0]:""),ee(null),Be(),i&&i(),e.n=7;break;case 6:e.p=6,l=e.v,ue(l.message||"An error occurred");case 7:return e.p=7,ie(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[n,a,W,X,$,A,Be,i,De]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:o,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"SLA policies"}),r.createElement(vt().Body,null,r.createElement(Mr(),{title:"What are SLA policies used for"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:ze.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"SLA policies can be used to define the parameters for an SLA breach in cases of anomalies."),r.createElement("li",{style:{marginBottom:8}},"An SLA breach occurs when a specific entity remains in alert status for an unacceptable continuous duration without resolution."),r.createElement("li",{style:{marginBottom:8}},"You can create an SLA alert that triggers when the SLA is breached."),r.createElement("li",{style:{marginBottom:8}},"TrackMe initiates the SLA timer immediately upon an entity entering a red state."),r.createElement("li",{style:{marginBottom:0}},r.createElement("span",{style:{color:"#1E90FF"}},"If multiple policies apply to the same entities, the one with the highest SLA policy rank always takes precedence."))))),r.createElement("div",{style:{marginTop:16,marginBottom:8,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},b.length," SLA polic",1===b.length?"y":"ies"," currently"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:Ne,style:{flex:"0 0 auto"}},w.size===b.length?"Deselect all":"Select all"),r.createElement(c(),{appearance:"destructive",onClick:Fe,disabled:0===w.size,style:{flex:"0 0 auto"}},"Remove selected"),r.createElement(c(),{appearance:"secondary",onClick:Re,disabled:0===k.size,style:{flex:"0 0 auto"}},"Save changes"))),d&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),m&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},m),!d&&!m&&r.createElement(r.Fragment,null,r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(ze.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}}),r.createElement(dt().HeadCell,{style:{minWidth:200}},"Policy ID"),r.createElement(dt().HeadCell,{style:{minWidth:300}},"Regex"),r.createElement(dt().HeadCell,{style:{minWidth:120}},"SLA Class"),r.createElement(dt().HeadCell,{style:{minWidth:100}},"Rank")),r.createElement(dt().Body,null,b.map(function(e){var t=e.sla_policy_id||"",n=w.has(t),a=k.get(t),o=a?KM(KM({},e),a):e;return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:n,onChange:function(){return Ye(t)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,{style:{fontSize:12,fontFamily:"monospace"}},o.sla_policy_id),r.createElement(dt().Cell,null,r.createElement("textarea",{value:o.sla_policy_regex||"",onChange:function(e){C(function(n){var r=new Map(n);return r.set(t,KM(KM({},r.get(t)),{},{sla_policy_regex:e.target.value})),r})},style:{width:"100%",minHeight:60,padding:4,fontSize:11,fontFamily:"monospace",backgroundColor:ze.background,color:ze.text,border:"1px solid ".concat(ze.border),borderRadius:4,resize:"vertical"}})),r.createElement(dt().Cell,null,r.createElement("select",{value:o.sla_policy_value||"",onChange:function(e){C(function(n){var r=new Map(n);return r.set(t,KM(KM({},r.get(t)),{},{sla_policy_value:e.target.value})),r})},style:{width:"100%",padding:4,fontSize:13,backgroundColor:ze.background,color:ze.text,border:"1px solid ".concat(ze.border),borderRadius:4}},A.map(function(e){return r.createElement("option",{key:e,value:e},e)}))),r.createElement(dt().Cell,null,r.createElement("input",{type:"number",value:String(o.sla_policy_rank||""),onChange:function(e){C(function(n){var r=new Map(n);return r.set(t,KM(KM({},r.get(t)),{},{sla_policy_rank:e.target.value?Number(e.target.value):void 0})),r})},style:{width:"100%",padding:4,fontSize:13,backgroundColor:ze.background,color:ze.text,border:"1px solid ".concat(ze.border),borderRadius:4}})))})))),0===b.length&&r.createElement(Jt(),{type:"info",style:{marginTop:16}},'No SLA policies found. Click "Create new policy" to add one.'))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o,style:{flex:"0 0 auto"}},"Close"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:function(){return fe(!0)},style:{flex:"0 0 auto"}},"Execute tracker"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:function(){return P(!0)},style:{flex:"0 0 auto"}},"Create new policy"))),r.createElement(vt(),{open:j,onRequestClose:function(){oe||(P(!1),ue(null),ee(null))},returnFocus:function(){},style:{width:1e3}},r.createElement(vt().Header,{title:"SLA policies: create new policy"}),r.createElement(vt().Body,null,se&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},se),T&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"})),!T&&r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"sla-policy-name-input",id:"sla-policy-name-label",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ze.text}},"Policy name:"),r.createElement(Gt(),{id:"sla-policy-name-input","aria-labelledby":"sla-policy-name-label",value:W,onChange:function(e,t){var n=t.value;return H(n)},style:KM({width:"100%",maxWidth:500},!W.trim()&&{borderColor:ze.error,boxShadow:"0 0 0 2px ".concat(ze.error,"40")})})),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"sla-policy-regex-textarea",id:"sla-policy-regex-label",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ze.text}},"Regular expression rule:"),r.createElement("div",{style:{fontSize:12,color:ze.textSecondary,marginBottom:8}},"Example: ",r.createElement("code",{style:{color:ze.text,fontFamily:"monospace"}},"^siem:edr:.*")," would match EDR related products"),r.createElement(Ut(),{id:"sla-policy-regex-textarea","aria-labelledby":"sla-policy-regex-label",value:X,onChange:function(e,t){var n=t.value;return V(n)},rowsMin:3,style:KM({width:"100%",fontFamily:"monospace",fontSize:12},!X.trim()&&{borderColor:ze.error,boxShadow:"0 0 0 2px ".concat(ze.error,"40")})})),r.createElement("div",null,r.createElement("label",{htmlFor:"sla-policy-class-select",id:"sla-policy-class-label",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ze.text}},"SLA class for matching entities:"),r.createElement("div",{style:{fontSize:12,color:ze.textSecondary,marginBottom:8}},"Available SLA classes are configured at the system level in the SLA tab."),r.createElement(ht(),{id:"sla-policy-class-select","aria-labelledby":"sla-policy-class-label",value:$,onChange:function(e,t){var n=t.value;return G(String(n))},style:KM({width:"100%"},!$&&{borderColor:ze.error,boxShadow:"0 0 0 2px ".concat(ze.error,"40")})},A.map(function(e){return r.createElement(ht().Option,{key:e,value:e,label:e})})))),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(B(),null),onClick:He,disabled:ne||!X.trim()||!$,style:{flex:"0 0 auto"}},"Run policy simulation")),Q&&r.createElement("div",{style:{marginTop:16,padding:16,backgroundColor:ze.backgroundSecondary,border:"1px solid ".concat(ze.border),borderRadius:8,maxHeight:300,overflow:"auto"}},r.createElement("h3",{style:{marginTop:0,marginBottom:8}},"Simulation results:"),r.createElement(Mt(),{json:Q,style:{backgroundColor:"transparent",color:ze.text}}))),oe&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){oe||(P(!1),ue(null),ee(null))},disabled:oe,style:{flex:"0 0 auto"}},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:function(){P(!1),I(!0)},disabled:oe||!W.trim()||!X.trim()||!$||Q&&"false"===Q.regex_is_valid,style:{flex:"0 0 auto"}},"Add this new policy"))),r.createElement(ul,{open:F,title:"SLA policies",message:"Confirm sla policy addition action?",confirmLabel:"Ok",confirmAppearance:"primary",loading:oe,error:se,onClose:function(){I(!1),ue(null)},onConfirm:function(e){qe(e),I(!1)}}),r.createElement(ul,{open:me,title:"SLA policies handler deletion",message:"Are you sure you want to delete ".concat(w.size," SLA polic").concat(1===w.size?"y":"ies","? This action cannot be undone."),confirmLabel:"Delete",confirmAppearance:"destructive",loading:be,error:_e,onClose:function(){he(!1),Me(null)},onConfirm:Ie}),r.createElement(ul,{open:Se,title:"SLA policies handler save changes",message:"Are you sure you want to update ".concat(k.size," SLA polic").concat(1===k.size?"y":"ies","?"),confirmLabel:"Update",confirmAppearance:"primary",loading:Ee,error:Oe,onClose:function(){xe(!1),Te(null)},onConfirm:We}),r.createElement(El,{open:de,tenantId:n,component:a,policyType:"sla",onClose:function(){return fe(!1)},onSuccess:function(){i&&i()}}))};function ow(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iw(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(cw(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,cw(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,cw(d,"constructor",u),cw(u,"constructor",s),s.displayName="GeneratorFunction",cw(u,a,"GeneratorFunction"),cw(d),cw(d,a,"Generator"),cw(d,r,function(){return this}),cw(d,"toString",function(){return"[object Generator]"}),(uw=function(){return{w:o,m:f}})()}function cw(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}cw=function(e,t,n,r){function o(t,n){cw(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},cw(e,t,n,r)}function dw(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function fw(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){dw(o,r,a,i,l,"next",e)}function l(e){dw(o,r,a,i,l,"throw",e)}i(void 0)})}}function pw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0 and <100, red if >=100."),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16}},k.map(function(e){var t=S[e.field],n=void 0!==t?parseInt(String(t),10):e.default;return r.createElement(Dr(),{key:e.field,label:e.label,help:e.help},r.createElement("div",{style:{padding:"8px 0"}},r.createElement(vr(),{value:n,onChange:function(t,n){var r=n.value;return function(e,t){x(function(n){return iw(iw({},n),{},lw({},e,String(t)))})}(e.field,r)},min:0,max:100,step:1,"aria-label":e.label})),r.createElement("div",{style:{fontSize:13,color:C.textSecondary,marginTop:4}},"Current value: ",n))})))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:o,disabled:h,style:{maxWidth:160}},"Cancel"),r.createElement(c(),{appearance:"primary",onClick:function(){if(n){y(!0),M(null);var e={tenant_id:n};k.forEach(function(t){var n=S[t.field];void 0!==n&&(e[t.field]=String(n))}),J("/splunkd/__raw/services/trackme/v2/vtenants/admin/update_tenant_score_config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then(function(){var e=fw(uw().m(function e(t){var n;return uw().w(function(e){for(;;)switch(e.n){case 0:if(t.ok){e.n=2;break}return e.n=1,Z(t);case 1:throw n=e.v,new Error(n||"Failed to update score configuration: ".concat(t.status));case 2:return e.a(2,t.json())}},e)}));return function(t){return e.apply(this,arguments)}}()).then(function(){u({type:"success",title:"Success",message:"Impact score configuration updated successfully."}),i&&i(),o(),y(!1)}).catch(function(e){M(e.message||"Failed to update score configuration"),u({type:"error",title:"Error",message:e.message||"Failed to update score configuration"}),y(!1)})}},disabled:f||h||!!g,style:{maxWidth:160}},h?r.createElement(s(),{size:"small"}):"Save")))};function yw(e){return yw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yw(e)}function bw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gw(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Mw(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Mw(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Mw(d,"constructor",u),Mw(u,"constructor",s),s.displayName="GeneratorFunction",Mw(u,a,"GeneratorFunction"),Mw(d),Mw(d,a,"Generator"),Mw(d,r,function(){return this}),Mw(d,"toString",function(){return"[object Generator]"}),(_w=function(){return{w:o,m:f}})()}function Mw(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Mw=function(e,t,n,r){function o(t,n){Mw(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Mw(e,t,n,r)}function ww(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function Sw(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){ww(o,r,a,i,l,"next",e)}function l(e){ww(o,r,a,i,l,"throw",e)}i(void 0)})}}function xw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return kw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&u[0].ack_type?j(u[0].ack_type):j("sticky"),e.n=8;break;case 7:e.p=7,c=e.v,b(c.message||"Failed to fetch acknowledgement data");case 8:return e.p=8,m(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n,a,o,i]);r.useEffect(function(){t&&K()},[t,K]),r.useEffect(function(){t||(Y(""),T("1"),j("sticky"),b(null))},[t]);var Q=r.useMemo(function(){return 0!==M.length&&M.some(function(e){var t=e._key||e.object||"",n=E.get(t),r=n?gw(gw({},e),n):e,a=r.ack_is_enabled,o=String(r.ack_state||"").toLowerCase();if(!0===a)return!0;var i=String(a||"");return"1"===i||"true"===i.toLowerCase()||"active"===o})},[M,E]),ee=r.useCallback(function(e){k(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),te=r.useCallback(function(e,t,n){A(function(r){var a=new Map(r),o=a.get(e)||{};return a.set(e,gw(gw({},o),{},vw({},t,n))),a})},[]),ne=r.useCallback(function(e){return e?Array.isArray(e)?e.length>1?JSON.stringify(e,null,1):e[0]||"":String(e):""},[]),re=r.useCallback(function(e,t){if(t)return t;if(e){var n="string"==typeof e?parseInt(e,10):e;if(!Number.isNaN(n)&&n>0)return W().unix(n).format("YYYY-MM-DD HH:mm:ss")}return""},[]),ae=r.useCallback(Sw(_w().m(function e(){var t,r,i;return _w().w(function(e){for(;;)switch(e.p=e.n){case 0:if(0!==E.size){e.n=1;break}return $({type:"info",title:"No changes to save",message:""}),e.a(2);case 1:if(n&&a&&o){e.n=2;break}return e.a(2);case 2:return I(!0),b(null),e.p=3,t=Array.from(E.entries()).map(function(e){var t=xw(e,2),n=t[0],r=t[1];return gw(gw({},M.find(function(e){return(e._key||e.object)===n})),r)}),r=t.map(function(){var e=Sw(_w().m(function e(t){var r,a,i,l,s,u;return _w().w(function(e){for(;;)switch(e.n){case 0:return r=t.ack_is_enabled,a="True"===r||!0===r||"1"===String(r)?"enable":"disable",i=86400*parseInt(O,10),l={tenant_id:n,action:a,ack_is_enabled:r,object_category:t.object_category||o,object_list:t.object,ack_period:i,ack_type:t.ack_type||z,ack_source:t.ack_source||"user_ack",ack_comment:t.ack_comment||"",update_comment:t.ack_comment||B||"Updated from UI"},e.n=1,J("/splunkd/__raw/services/trackme/v2/ack/write/ack_manage",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});case 1:if((s=e.v).ok){e.n=3;break}return e.n=2,Z(s);case 2:throw u=e.v,new Error(u);case 3:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()),e.n=4,Promise.all(r);case 4:$({type:"success",title:"Acknowledgement updated",message:"".concat(E.size," acknowledgement(s) successfully updated.")}),A(new Map),K(),u&&u(),e.n=6;break;case 5:e.p=5,i=e.v,b(i.message||"Failed to save changes"),$({type:"error",title:"Failed to save changes",message:i.message||"An error occurred"});case 6:return e.p=6,I(!1),e.f(6);case 7:return e.a(2)}},e,null,[[3,5,6,7]])})),[E,M,n,a,o,O,z,B,K,u,$]),oe=r.useCallback(function(){A(new Map),K()},[K]),ie=r.useCallback(Sw(_w().m(function e(){var t,r,i,l,s;return _w().w(function(e){for(;;)switch(e.p=e.n){case 0:if(0!==x.size){e.n=1;break}return $({type:"info",title:"No selection",message:"Please select at least one acknowledgement to disable."}),e.a(2);case 1:if(n&&a&&o){e.n=2;break}return e.a(2);case 2:return q(!0),b(null),e.p=3,t=Array.from(x).map(function(e){var t=M.find(function(t){return(t._key||t.object)===e});return(null==t?void 0:t.object)||e}).filter(Boolean),r={tenant_id:n,action:"disable",object_category:o,object_list:t.join(","),update_comment:B||"Disabled from UI"},e.n=4,J("/splunkd/__raw/services/trackme/v2/ack/write/ack_manage",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 4:if((i=e.v).ok){e.n=6;break}return e.n=5,Z(i);case 5:throw l=e.v,new Error(l);case 6:$({type:"success",title:"Acknowledgement disabled",message:"".concat(x.size," acknowledgement(s) successfully disabled.")}),k(new Set),Y(""),K(),u&&u(),e.n=8;break;case 7:e.p=7,s=e.v,b(s.message||"Failed to disable acknowledgement"),$({type:"error",title:"Failed to disable acknowledgement",message:s.message||"An error occurred"});case 8:return e.p=8,q(!1),e.f(8);case 9:return e.a(2)}},e,null,[[3,7,8,9]])})),[x,M,n,a,o,B,K,u,$]),le=r.useCallback(Sw(_w().m(function e(){var t,r,i,l,s;return _w().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n&&a&&o){e.n=1;break}return e.a(2);case 1:return U(!0),b(null),e.p=2,t=86400*parseInt(O,10),r={tenant_id:n,action:"enable",object_category:o,object_list:a,ack_period:t,ack_type:z,ack_source:"user_ack",update_comment:B||"Enabled from UI"},e.n=3,J("/splunkd/__raw/services/trackme/v2/ack/write/ack_manage",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 3:if((i=e.v).ok){e.n=5;break}return e.n=4,Z(i);case 4:throw l=e.v,new Error(l);case 5:$({type:"success",title:"Acknowledgement enabled",message:"Acknowledgement successfully enabled."}),Y(""),K(),u&&u(),e.n=7;break;case 6:e.p=6,s=e.v,b(s.message||"Failed to enable acknowledgement"),$({type:"error",title:"Failed to enable acknowledgement",message:s.message||"An error occurred"});case 7:return e.p=7,U(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])})),[n,a,o,O,z,B,K,u,$]);return r.createElement(vt(),{open:t,onRequestClose:l,returnFocus:function(){},style:{width:1200}},r.createElement(vt().Header,{title:"Manage TrackMe Acknowledgments"}),r.createElement(vt().Body,null,r.createElement("div",{style:{marginBottom:16}},r.createElement(Mr(),{title:"Ack TrackMe concepts"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:G.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Acknowledging entities statuses allows preventing generating new alerts for a certain period of time, and certain conditions."),r.createElement("li",{style:{marginBottom:8}},"TrackMe's Ack features advantageously replace alert suppressions concepts, which can be actioned by TrackMe itself and TrackMe users."),r.createElement("li",{style:{marginBottom:0}},"A ",r.createElement("span",{style:{color:"#1E90FF"}},"sticky")," Ack is disabled when its expiration is reached, a ",r.createElement("span",{style:{color:"#1E90FF"}},"unsticky")," Ack is disabled when its expiration is reached, or if the entity returns to green.")))),r.createElement(Mr(),{title:"Ack & Stateful Alerts",style:{marginTop:8}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:G.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"When the Ack is active for a certain entity, creation of new incidents ",r.createElement("span",{style:{color:"#4caf50"}},"opened")," is not permitted."),r.createElement("li",{style:{marginBottom:8}},"Incidents updates (",r.createElement("span",{style:{color:"#ff9800"}},"updated"),") and incidents closures (",r.createElement("span",{style:{color:"#f44336"}},"closed"),") are still permitted."),r.createElement("li",{style:{marginBottom:0}},"Sending Email notifications for incidents updates (",r.createElement("span",{style:{color:"#ff9800"}},"updated"),") can be controlled at the level of the alert action configuration.")))),r.createElement(Mr(),{title:"Ack on anomaly reasons changes",style:{marginTop:8}},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:G.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"On ",r.createElement("span",null,"anomaly_reason")," changes, TrackMe will also remove an Ack (sticky or unsticky), this allows TrackMe to raise a new alert in that case. (to control this behaviour, see Configure / General)"),r.createElement("li",{style:{marginBottom:0}},"This applies by default to Ack created by TrackMe with ack_source = ",r.createElement("span",{style:{color:"#1E90FF"}},"auto_ack"),", opposed to Ack managed by users with ack_source = ",r.createElement("span",{style:{color:"#1E90FF"}},"user_ack")))))),r.createElement("div",{style:{marginTop:24,marginBottom:16}},r.createElement(Cw,{enabled:Q,colorScheme:d}),r.createElement("div",{style:{marginBottom:12,fontSize:14,color:G.textSecondary}},"You can update the Ack status in the table below, or select the Ack and use the disable button to disable it now."),y&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},y),p&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),!p&&r.createElement(r.Fragment,null,r.createElement("div",{style:{display:"flex",gap:8,marginBottom:12}},r.createElement(c(),{appearance:"secondary",onClick:ae,disabled:0===E.size||F,style:{flex:"0 0 auto"}},F?"Saving...":"Save changes"),r.createElement(c(),{appearance:"secondary",onClick:oe,disabled:0===E.size,style:{flex:"0 0 auto"}},"Cancel changes"),r.createElement(c(),{appearance:"destructive",onClick:ie,disabled:0===x.size||H,style:{flex:"0 0 auto"}},H?"Disabling...":"Disable Ack")),r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(G.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}}),r.createElement(dt().HeadCell,{style:{minWidth:150}},"object"),r.createElement(dt().HeadCell,{style:{minWidth:150}},"ack_mtime"),r.createElement(dt().HeadCell,{style:{minWidth:150}},"ack_expiration"),r.createElement(dt().HeadCell,{style:{minWidth:100}},"ack_source"),r.createElement(dt().HeadCell,{style:{minWidth:100}},"ack_type"),r.createElement(dt().HeadCell,{style:{minWidth:200}},"anomaly_reason"),r.createElement(dt().HeadCell,{style:{minWidth:200}},"ack_comment"),r.createElement(dt().HeadCell,{style:{minWidth:100}},"enabled")),r.createElement(dt().Body,null,0===M.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:9,style:{textAlign:"center",padding:40,color:G.textSecondary}},"No acknowledgements found")):M.map(function(e){var t=e._key||e.object||"",n=x.has(t),a=E.get(t),o=a?gw(gw({},e),a):e;return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:n,onChange:function(){return ee(t)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,{style:{fontSize:12,fontFamily:"monospace"}},o.object),r.createElement(dt().Cell,{style:{fontSize:12}},re(o.ack_mtime,o.ack_mtime_datetime)),r.createElement(dt().Cell,{style:{fontSize:12}},re(o.ack_expiration,o.ack_expiration_datetime)),r.createElement(dt().Cell,{style:{fontSize:12}},o.ack_source||""),r.createElement(dt().Cell,null,r.createElement("select",{value:o.ack_type||"unsticky",onChange:function(e){return te(t,"ack_type",e.target.value)},style:{width:"100%",padding:4,fontSize:12,backgroundColor:G.background,color:G.text,border:"1px solid ".concat(G.border),borderRadius:4}},r.createElement("option",{value:"sticky"},"sticky"),r.createElement("option",{value:"unsticky"},"unsticky"))),r.createElement(dt().Cell,{style:{fontSize:11,whiteSpace:"pre-wrap"}},ne(o.anomaly_reason)),r.createElement(dt().Cell,null,r.createElement("textarea",{value:o.ack_comment||"",onChange:function(e){return te(t,"ack_comment",e.target.value)},style:{width:"100%",minHeight:40,padding:4,fontSize:11,backgroundColor:G.background,color:G.text,border:"1px solid ".concat(G.border),borderRadius:4,resize:"vertical"}})),r.createElement(dt().Cell,null,r.createElement("select",{value:String(o.ack_is_enabled||"False"),onChange:function(e){return te(t,"ack_is_enabled",e.target.value)},style:{width:"100%",padding:4,fontSize:12,backgroundColor:G.background,color:G.text,border:"1px solid ".concat(G.border),borderRadius:4}},r.createElement("option",{value:"True"},"True"),r.createElement("option",{value:"False"},"False"))))})))))),r.createElement("div",{style:{marginTop:24}},r.createElement("h3",{style:{marginBottom:12,fontSize:16,fontWeight:600,color:G.text}},"Enable a new Ack, or update the current Ack type and expiration:"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16,marginBottom:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"ack-duration-slider",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:500,color:G.text}},"Ack duration: ",r.createElement("strong",{style:{color:G.text}},O," ",1===parseInt(O,10)?"day":"days")),r.createElement("div",{style:{padding:"8px 0",marginBottom:8,maxWidth:"400px"}},r.createElement(vr(),{id:"ack-duration-slider",value:parseInt(O,10),onChange:function(e,t){var n=t.value;T(String(n))},min:1,max:90,step:1,"aria-label":"Ack duration in days"}))),r.createElement("div",null,r.createElement("label",{style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:G.text}},"Ack type:"),r.createElement(ht(),{value:z,onChange:function(e,t){var n=t.value;return j(String(n))},style:{width:"100%",maxWidth:200},"aria-label":"Ack type"},r.createElement(ht().Option,{value:"sticky",label:"sticky"}),r.createElement(ht().Option,{value:"unsticky",label:"unsticky"})))),r.createElement("div",{style:{marginBottom:16}},r.createElement("label",{htmlFor:"ack-comment-textarea",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:G.text}},"Optional: enter a note of this acknowledgment, This note will be logged and made available for auditing purposes."),r.createElement(Ut(),{id:"ack-comment-textarea",value:B||"",onChange:function(e,t){var n=t.value;return Y(n)},rowsMin:2,style:{width:"100%",maxWidth:700}})),r.createElement("div",null,r.createElement(c(),{appearance:"primary",icon:r.createElement(Wr(),null),onClick:le,disabled:V,style:{flex:"0 0 auto"}},V?"Processing...":"Confirm Ack")))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:l,style:{flex:"0 0 auto"}},"Close")))};function Aw(e){return Aw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Aw(e)}function Lw(e){return function(e){if(Array.isArray(e))return Pw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jw(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ow(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Tw(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0?"".concat(t,"/").concat(n[0],"/app/trackme/admin/macros/trackme_idx_filter?action=edit"):"".concat(t,"/app/trackme/admin/macros/trackme_idx_filter?action=edit")}catch(e){return"#"}},[]);return r.createElement(Qi,{open:t,onClose:n,title:"Ops: Queues center"},r.createElement("div",{style:{marginBottom:24}},r.createElement(Mr(),{title:"Splunk indexing queues"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:a.textSecondary}},r.createElement("ul",{style:{marginTop:0,marginBottom:0,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Update the macro"," ",r.createElement(bt(),{to:J(),target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"trackme_idx_filter",r.createElement(Ge(),{style:{fontSize:14}}))," ","to match indexers and other instances such as heavy forwarders that should be included"),r.createElement("li",{style:{marginBottom:8}},"Use the break down dropdown to select a break down option for detailed queue charts rendering"),r.createElement("li",{style:{marginBottom:8}},"For more information about Splunk queues:"," ",r.createElement(bt(),{to:"https://wiki.splunk.com/Community:HowIndexingWorks",target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"https://wiki.splunk.com/Community:HowIndexingWorks",r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement("li",{style:{marginBottom:8}},"Conf slides, How Splunkd works:"," ",r.createElement(bt(),{to:"https://conf.splunk.com/files/2017/slides/how-splunkd-works.pdf",target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"https://conf.splunk.com/files/2017/slides/how-splunkd-works.pdf",r.createElement(Ge(),{style:{fontSize:14}}))),r.createElement("li",{style:{marginBottom:0}},"Conf slides, How to Troubleshoot Blocked Ingestion Pipeline Queues with Indexers and Forwarders:"," ",r.createElement(bt(),{to:"https://conf.splunk.com/files/2019/slides/FN1570.pdf",target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"https://conf.splunk.com/files/2019/slides/FN1570.pdf",r.createElement(Ge(),{style:{fontSize:14}}))))))),r.createElement("div",{style:{marginBottom:16,fontSize:14,color:a.textSecondary}},"Scroll down through the charts to review the Splunk queues usage"),r.createElement("div",{style:{marginBottom:24,display:"flex",gap:16,alignItems:"flex-end"}},r.createElement("div",{style:{flex:"0 0 auto"}},r.createElement("label",{htmlFor:"hosts-multiselect",id:"hosts-label",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:600,color:a.textSecondary}},"Host(s):"),r.createElement(As(),{id:"hosts-multiselect","aria-labelledby":"hosts-label",values:y,onChange:function(e,t){var n=(t.values||[]).map(function(e){return String(e)});b(n.length>0?n:["*"])},"aria-label":"Select hosts",disabled:E,placeholder:E?"Loading hosts...":"Select hosts...",style:{width:"100%",maxWidth:300}},w.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement("div",{style:{flex:"0 0 auto"}},r.createElement("label",{htmlFor:"break-by-select",id:"break-by-label",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:600,color:a.textSecondary}},"Break by:"),r.createElement(ht(),{id:"break-by-select","aria-labelledby":"break-by-label",value:v,onChange:function(e,t){var n=t.value;return _(n)},"aria-label":"Break down option"},r.createElement(ht().Option,{label:"Queue",value:"name"}),r.createElement(ht().Option,{label:"Queue, Ingest pipe",value:'name . ":" . ingest_pipe'}),r.createElement(ht().Option,{label:"Queue, Ingest pipe, host",value:'host . ":" . name . ":" . ingest_pipe'}))),r.createElement("div",{style:{flex:"1 1 auto",display:"flex",justifyContent:"center"}},r.createElement("div",{style:{maxWidth:240}},r.createElement("label",{htmlFor:"time-range-dropdown",id:"time-range-label",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:600,color:a.textSecondary}},"Time range:"),r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{"aria-labelledby":"time-range-label",earliest:i,latest:d,onChange:function(e,t){var n=t.earliest,r=t.latest;l(n),p(r)},labelMaxChars:1/0,"aria-label":"Queues time range"}))))),r.createElement("div",{style:{marginBottom:32}},r.createElement("div",{style:{background:a.backgroundSecondary,border:"1px solid ".concat(a.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,color:a.textSecondary}},"All queues - Blocking queues (more than 0% means queues filling)"),O.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){return K(O.searchQuery)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:$,disabled:O.loading},"Refresh")))),O.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:350,gap:8}},r.createElement(s(),{size:"medium"})),!O.loading&&O.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:350}},O.error),!O.loading&&!O.error&&!O.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:350,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No queue data found"),r.createElement("div",{style:{fontSize:13}},"No queue data was found for the selected time range and hosts. Review the trackme_idx_filter macro to ensure it targets the correct indexing instances."))),!O.loading&&!O.error&&O.dataSource&&N>0&&r.createElement("div",{ref:P,style:{width:"100%",height:350,boxSizing:"border-box"}},r.createElement(Rt(),{width:N,height:350,options:{nullValueDisplay:"gaps",legendPosition:"bottom",backgroundColor:"transparent",stackMode:"stacked",xAxisTitleVisibility:"hide"},dataSources:{primary:O.dataSource}})))),r.createElement("div",{style:{marginBottom:32}},r.createElement("div",{style:{background:a.backgroundSecondary,border:"1px solid ".concat(a.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,color:a.textSecondary}},"Queues details"),z.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){return K(z.searchQuery)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:G,disabled:z.loading},"Refresh")))),z.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:350,gap:8}},r.createElement(s(),{size:"medium"})),!z.loading&&z.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:350}},z.error),!z.loading&&!z.error&&!z.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:350,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No queue details found"),r.createElement("div",{style:{fontSize:13}},"No queue details were found for the selected time range, hosts, and break down option. Review the trackme_idx_filter macro to ensure it targets the correct indexing instances."))),!z.loading&&!z.error&&z.dataSource&&R>0&&r.createElement("div",{ref:B,style:{width:"100%",height:350,boxSizing:"border-box"}},r.createElement(Rt(),{width:R,height:350,options:{nullValueDisplay:"gaps",legendPosition:"right",backgroundColor:"transparent",trellisEnabled:!0,trellisScalesShared:!1,trellisSize:"large",xAxisTitleVisibility:"hide"},dataSources:{primary:z.dataSource}})))))};function Yw(e){return Yw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yw(e)}function Nw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fw(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0?r.createElement("div",{ref:d,style:{width:"100%",height:200}},r.createElement(Le(),{width:h,height:200,options:{legendPosition:"right",backgroundColor:"transparent"},dataSources:{primary:n.dataSource}})):null:r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:400}},r.createElement("div",{style:{fontSize:12}},"No results found."))),r.createElement("div",{style:{background:l.backgroundSecondary,border:"1px solid ".concat(l.border),borderRadius:8,padding:12,maxHeight:200,overflow:"auto"}},n.loading?r.createElement(s(),{size:"small"}):n.error?r.createElement("div",{style:{color:"#dc4e41",fontSize:12}},n.error):0===a.length?r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:400}},r.createElement("div",{style:{fontSize:12}},"No results found.")):r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,null,o),r.createElement(dt().HeadCell,null,"Count"),r.createElement(dt().HeadCell,null,"Percent")),r.createElement(dt().Body,null,a.slice(0,5).map(function(e){var t="".concat(String(e[o]||""),"-").concat(String(e.count||0),"-").concat(String(e.percent||0));return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,null,String(e[o]||"")),r.createElement(dt().Cell,null,String(e.count||0)),r.createElement(dt().Cell,null,String(e.percent||0)))})))))};const Xw=function(e){var t=e.open,n=e.onClose,a=Oe(),o=Rw(r.useState("-4h"),2),i=o[0],l=o[1],u=Rw(r.useState("now"),2),d=u[0],p=u[1],h=Rw(r.useState(["*"]),2),y=h[0],b=h[1],g=Rw(r.useState([{label:"ALL",value:"*"}]),2),v=g[0],_=g[1],M=Rw(r.useState(!1),2),w=M[0],S=M[1],k=Rw(r.useState(null),2),E=k[0],A=k[1],L=Rw(r.useState(!1),2),O=L[0],T=L[1],D=Rw(r.useState(null),2),z=D[0],j=D[1],P=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),B=P[0],Y=P[1],N=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),F=N[0],R=N[1],W=Rw(r.useState([]),2),H=W[0],q=W[1],X=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),V=X[0],U=X[1],$=Rw(r.useState([]),2),G=$[0],K=$[1],J=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),Z=J[0],Q=J[1],ee=Rw(r.useState([]),2),te=ee[0],ne=ee[1],re=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),ae=re[0],oe=re[1],ie=r.useRef(null),le=Rw(r.useState(800),2),se=le[0],ue=le[1],ce=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),de=ce[0],fe=ce[1],pe=Rw(r.useState([]),2),me=pe[0],he=pe[1],ye=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),be=ye[0],ge=ye[1],ve=Rw(r.useState([]),2),_e=ve[0],Me=ve[1],we=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),Se=we[0],xe=we[1],ke=Rw(r.useState([]),2),Ce=ke[0],Ae=ke[1],Le=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),Te=Le[0],De=Le[1],ze=r.useRef(null),je=Rw(r.useState(800),2),Pe=je[0],Be=je[1],Ye=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),Ne=Ye[0],Fe=Ye[1],Ie=Rw(r.useState([]),2),Re=Ie[0],We=Ie[1],He=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),qe=He[0],Xe=He[1],Ve=Rw(r.useState([]),2),Ue=Ve[0],$e=Ve[1],Ke=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),Je=Ke[0],Ze=Ke[1],Qe=Rw(r.useState([]),2),et=Qe[0],tt=Qe[1],nt=Rw(r.useState({dataSource:null,loading:!1,error:null,searchQuery:null}),2),rt=nt[0],ot=nt[1],it=r.useRef(null),lt=Rw(r.useState(800),2),st=lt[0],ut=lt[1],ct=r.useRef(null),dt=Rw(r.useState(800),2),ft=dt[0],pt=dt[1],mt=r.useRef(null),ht=r.useRef(null),yt=r.useRef(null),gt=r.useRef(null),vt=r.useRef(null),_t=r.useRef(null),Mt=r.useRef(null),wt=r.useRef(null),St=r.useRef(null),xt=r.useRef(null),kt=r.useRef(null),Ct=r.useRef(null),Et=r.useRef(null),At=r.useRef(null),Ot=r.useRef(null);r.useEffect(function(){var e=function(){if(ct.current){var e=ct.current.getBoundingClientRect();pt(Math.max(300,e.width))}};return requestAnimationFrame(function(){e(),setTimeout(e,100)}),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[B.dataSource]),r.useEffect(function(){var e=function(){if(ie.current){var e=ie.current.getBoundingClientRect();ue(Math.max(300,e.width))}if(ze.current){var t=ze.current.getBoundingClientRect();Be(Math.max(300,t.width))}if(it.current){var n=it.current.getBoundingClientRect();ut(Math.max(300,n.width))}};return requestAnimationFrame(function(){e(),setTimeout(e,100)}),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[ae.dataSource,Te.dataSource,rt.dataSource]);var Tt=r.useCallback(function(){return 0===y.length||1===y.length&&"*"===y[0]?"":y.map(function(e){return'host="'.concat(e,'"')}).join(" OR ")},[y]),Dt=r.useCallback(function(){qr(mt.current),S(!0);try{mt.current=Hr("| tstats count where (index=_internal `trackme_idx_filter` source=*metrics.log sourcetype=splunkd) by host | sort 0 host | fields host",{earliest_time:i,latest_time:d,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=[{label:"ALL",value:"*"}];t.forEach(function(e){var t=String(e.host||"").trim();t&&n.push({label:t,value:t})}),_(n),S(!1)},error:function(e){console.error("[OpsParsingIssuesPanel] Failed to load hosts:",e),_([{label:"ALL",value:"*"}]),S(!1)},complete:function(){S(!1)}})}catch(e){console.error("[OpsParsingIssuesPanel] Error loading hosts:",e),_([{label:"ALL",value:"*"}]),S(!1)}},[i,d]),zt=r.useCallback(function(){qr(ht.current),T(!0);var e=Tt(),t=e?"".concat(e," "):"",n="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` ".concat(t,'component=LineBreakingProcessor OR component=AggregatorMiningProcessor OR component=DateParserVerbose | top limit=0 component | eval percent=round(percent, 2) | eval summary=component . ": " . percent . " %" | fields summary | stats values(summary) as summary | append [ | makeresults | eval summary="No parsing issues detected (bravo!?), review the trackme_idx_filter macro to target indexing instances." | fields - _time ] | head 1');j(n);try{ht.current=Hr(n,{earliest_time:i,latest_time:d,count:0},{next:function(e){var t=Array.isArray(null==e?void 0:e.results)?e.results:[];if(t.length>0){var n=t[0].summary;A(n?String(n):null)}else A("No parsing issues detected (bravo!?), review the trackme_idx_filter macro to target indexing instances.");T(!1)},error:function(e){console.error("[OpsParsingIssuesPanel] Failed to load summary:",e),A(null),T(!1)},complete:function(){T(!1)}})}catch(e){console.error("[OpsParsingIssuesPanel] Error loading summary:",e),A(null),T(!1)}},[i,d,Tt]),jt=r.useCallback(function(){qr(yt.current),Y(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e=Tt(),t=e?"".concat(e," "):"",n=function(e){try{var t=Date.now(),n=function(e){if("now"===e)return t;var n=e.match(/^-(\d+)([hdm])$/);if(n){var r=parseInt(n[1],10),a=n[2];if("h"===a)return t-3600*r*1e3;if("d"===a)return t-24*r*3600*1e3;if("m"===a)return t-60*r*1e3}return t}(e),r=(t-n)/36e5;return r<=4?"5m":r<=24?"15m":r<=168?"30m":"4h"}catch(e){return"15m"}}(i),r="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` ".concat(t,"component=LineBreakingProcessor OR component=AggregatorMiningProcessor OR component=DateParserVerbose | timechart span=").concat(n," count by component");try{yt.current=Hr(r,{earliest_time:i,latest_time:d,count:0},{next:function(e){var t,n=Array.isArray(null==e?void 0:e.results)?e.results:[];if(0!==n.length){var a=[];n.forEach(function(e){Object.keys(e||{}).forEach(function(e){a.includes(e)||a.push(e)})});var o=function(e){return"string"==typeof e&&["_time","time"].includes(e.toLowerCase())},i=a.filter(function(e){return!("span"===(t=String(e||"").toLowerCase())||"_span"===t||"span_ms"===t||"_span_ms"===t||"spanms"===t||"count"===t||o(e));var t}),l=a.find(function(e){return o(e)});l&&(i=[l].concat(function(e){if(Array.isArray(e))return Hw(e)}(t=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||Ww(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var s=i.map(function(e){return n.map(function(t){if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return null==n?null:n}return null})}),u={requestParams:{offset:0,count:n.length},data:{fields:i.map(function(e){return{name:e}}),columns:s},meta:{totalCount:n.length}};Y({dataSource:u,loading:!1,error:null,searchQuery:r})}else Y({dataSource:null,loading:!1,error:null,searchQuery:r})},error:function(e){Y({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to load parsing issues chart",searchQuery:r})}})}catch(e){Y({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run parsing issues search",searchQuery:null})}},[i,d,Tt]),Pt=function(e,t){if(0===e.length)return null;var n=[],r=[];return e.forEach(function(e){var a=String(e[t]||"").trim(),o=parseFloat(String(e.percent||0));a&&(n.push(a),r.push(o))}),0===n.length?null:{requestParams:{offset:0,count:n.length},data:{fields:[{name:"label"},{name:"value"}],columns:[n,r.map(function(e){return String(e)})]},meta:{totalCount:n.length}}},Bt=r.useCallback(function(){qr(gt.current),R(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=LineBreakingProcessor | top limit=50 data_source | eval percent=round(percent, 2)";try{gt.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"data_source");R({dataSource:r,loading:!1,error:null,searchQuery:e}),q(n)},error:function(t){R({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load LineBreakingProcessor top source",searchQuery:e})}})}catch(e){R({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run LineBreakingProcessor top source search",searchQuery:null})}},[i,d]),Yt=r.useCallback(function(){qr(vt.current),U(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=LineBreakingProcessor | top limit=50 object | eval percent=round(percent, 2)";try{vt.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"object");U({dataSource:r,loading:!1,error:null,searchQuery:e}),K(n)},error:function(t){U({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load LineBreakingProcessor top host",searchQuery:e})}})}catch(e){U({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run LineBreakingProcessor top host search",searchQuery:null})}},[i,d]),Nt=r.useCallback(function(){qr(_t.current),Q(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=LineBreakingProcessor | top limit=50 data_sourcetype | eval percent=round(percent, 2)";try{_t.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"data_sourcetype");Q({dataSource:r,loading:!1,error:null,searchQuery:e}),ne(n)},error:function(t){Q({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load LineBreakingProcessor top sourcetype",searchQuery:e})}})}catch(e){Q({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run LineBreakingProcessor top sourcetype search",searchQuery:null})}},[i,d]),It=r.useCallback(function(){qr(Mt.current),oe(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=LineBreakingProcessor | head 100";try{var t=Ee.A.create({search:e,earliest_time:i,latest_time:d},{app:"trackme"}).getResults({count:100}).subscribe({next:function(t){if(!t||!0!==t.preview&&!0!==t.isPreview){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];if(0!==n.length){var r=n[0],a=Object.keys(r||{}),o=a.map(function(e){return{name:e}}),i=a.map(function(e){return n.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});oe({dataSource:{requestParams:{offset:0,count:n.length},data:{fields:o,columns:i},meta:{totalCount:n.length}},loading:!1,error:null,searchQuery:e})}else oe({dataSource:{requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}},loading:!1,error:null,searchQuery:e})}},error:function(t){oe({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load LineBreakingProcessor events",searchQuery:e})},complete:function(){}});Mt.current={unsubscribe:function(){return t.unsubscribe()}}}catch(e){oe({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run LineBreakingProcessor events search",searchQuery:null})}},[i,d]),Rt=r.useCallback(function(){qr(wt.current),fe(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=AggregatorMiningProcessor | top limit=50 data_source | eval percent=round(percent, 2)";try{wt.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"data_source");fe({dataSource:r,loading:!1,error:null,searchQuery:e}),he(n)},error:function(t){fe({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load AggregatorMiningProcessor top source",searchQuery:e})}})}catch(e){fe({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run AggregatorMiningProcessor top source search",searchQuery:null})}},[i,d]),Wt=r.useCallback(function(){qr(St.current),ge(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=AggregatorMiningProcessor | top limit=50 object | eval percent=round(percent, 2)";try{St.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"object");ge({dataSource:r,loading:!1,error:null,searchQuery:e}),Me(n)},error:function(t){ge({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load AggregatorMiningProcessor top host",searchQuery:e})}})}catch(e){ge({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run AggregatorMiningProcessor top host search",searchQuery:null})}},[i,d]),qt=r.useCallback(function(){qr(xt.current),xe(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=AggregatorMiningProcessor | top limit=50 data_sourcetype | eval percent=round(percent, 2)";try{xt.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"data_sourcetype");xe({dataSource:r,loading:!1,error:null,searchQuery:e}),Ae(n)},error:function(t){xe({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load AggregatorMiningProcessor top sourcetype",searchQuery:e})}})}catch(e){xe({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run AggregatorMiningProcessor top sourcetype search",searchQuery:null})}},[i,d]),Vt=r.useCallback(function(){qr(kt.current),De(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=aggregatorMiningProcessor | head 100";try{var t=Ee.A.create({search:e,earliest_time:i,latest_time:d},{app:"trackme"}).getResults({count:100}).subscribe({next:function(t){if(!t||!0!==t.preview&&!0!==t.isPreview){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];if(0!==n.length){var r=n[0],a=Object.keys(r||{}),o=a.map(function(e){return{name:e}}),i=a.map(function(e){return n.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});De({dataSource:{requestParams:{offset:0,count:n.length},data:{fields:o,columns:i},meta:{totalCount:n.length}},loading:!1,error:null,searchQuery:e})}else De({dataSource:{requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}},loading:!1,error:null,searchQuery:e})}},error:function(t){De({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load AggregatorMiningProcessor events",searchQuery:e})},complete:function(){}});kt.current={unsubscribe:function(){return t.unsubscribe()}}}catch(e){De({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run AggregatorMiningProcessor events search",searchQuery:null})}},[i,d]),Ut=r.useCallback(function(){qr(Ct.current),Fe(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=DateParserVerbose | `trackme_rex_dateparserverbose` | top limit=50 data_source | eval percent=round(percent, 2)";try{Ct.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"data_source");Fe({dataSource:r,loading:!1,error:null,searchQuery:e}),We(n)},error:function(t){Fe({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load DateParserVerbose top source",searchQuery:e})}})}catch(e){Fe({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run DateParserVerbose top source search",searchQuery:null})}},[i,d]),$t=r.useCallback(function(){qr(Et.current),Xe(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=DateParserVerbose | `trackme_rex_dateparserverbose` | top limit=50 object | eval percent=round(percent, 2)";try{Et.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"object");Xe({dataSource:r,loading:!1,error:null,searchQuery:e}),$e(n)},error:function(t){Xe({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load DateParserVerbose top host",searchQuery:e})}})}catch(e){Xe({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run DateParserVerbose top host search",searchQuery:null})}},[i,d]),Gt=r.useCallback(function(){qr(At.current),Ze(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=DateParserVerbose | `trackme_rex_dateparserverbose` | top limit=50 data_sourcetype | eval percent=round(percent, 2)";try{At.current=Hr(e,{earliest_time:i,latest_time:d,count:0},{next:function(t){var n=Array.isArray(null==t?void 0:t.results)?t.results:[],r=Pt(n,"data_sourcetype");Ze({dataSource:r,loading:!1,error:null,searchQuery:e}),tt(n)},error:function(t){Ze({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load DateParserVerbose top sourcetype",searchQuery:e})}})}catch(e){Ze({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run DateParserVerbose top sourcetype search",searchQuery:null})}},[i,d]),Kt=r.useCallback(function(){qr(Ot.current),ot(function(e){return Fw(Fw({},e),{},{loading:!0,error:null})});var e="index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=DateParserVerbose | head 100";try{var t=Ee.A.create({search:e,earliest_time:i,latest_time:d},{app:"trackme"}).getResults({count:100}).subscribe({next:function(t){if(!t||!0!==t.preview&&!0!==t.isPreview){var n=Array.isArray(null==t?void 0:t.results)?t.results:[];if(0!==n.length){var r=n[0],a=Object.keys(r||{}),o=a.map(function(e){return{name:e}}),i=a.map(function(e){return n.map(function(t){return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:null})});ot({dataSource:{requestParams:{offset:0,count:n.length},data:{fields:o,columns:i},meta:{totalCount:n.length}},loading:!1,error:null,searchQuery:e})}else ot({dataSource:{requestParams:{offset:0,count:0},data:{fields:[],columns:[]},meta:{totalCount:0}},loading:!1,error:null,searchQuery:e})}},error:function(t){ot({dataSource:null,loading:!1,error:(null==t?void 0:t.message)||"Failed to load DateParserVerbose events",searchQuery:e})},complete:function(){}});Ot.current={unsubscribe:function(){return t.unsubscribe()}}}catch(e){ot({dataSource:null,loading:!1,error:(null==e?void 0:e.message)||"Failed to run DateParserVerbose events search",searchQuery:null})}},[i,d]);r.useEffect(function(){if(t)return Dt(),zt(),jt(),Bt(),Yt(),Nt(),It(),Rt(),Wt(),qt(),Vt(),Ut(),$t(),Gt(),Kt(),function(){qr(mt.current),qr(ht.current),qr(yt.current),qr(gt.current),qr(vt.current),qr(_t.current),qr(Mt.current),qr(wt.current),qr(St.current),qr(xt.current),qr(kt.current),qr(Ct.current),qr(Et.current),qr(At.current),qr(Ot.current)}},[t,i,d,y,Dt,zt,jt,Bt,Yt,Nt,It,Rt,Wt,qt,Vt,Ut,$t,Gt,Kt]);var Zt=r.useCallback(function(e){try{var t,n="/app/trackme/search?q=".concat(encodeURIComponent(e),"&earliest=").concat(encodeURIComponent(i),"&latest=").concat(encodeURIComponent(d)),r=null!==(t=window.Splunk)&&void 0!==t&&null!==(t=t.util)&&void 0!==t&&t.make_url?window.Splunk.util.make_url(n):n;window.open(r,"_blank","noopener")}catch(e){console.error("[OpsParsingIssuesPanel] Failed to open search")}},[i,d]),Qt=r.useCallback(function(){try{var e=new URL(window.location.href),t="".concat(e.protocol,"//").concat(e.host),n=e.pathname.split("/").filter(function(e){return e&&!["en-US","en-GB","fr-FR"].includes(e)});return n.length>0?"".concat(t,"/").concat(n[0],"/app/trackme/admin/macros/trackme_idx_filter?action=edit"):"".concat(t,"/app/trackme/admin/macros/trackme_idx_filter?action=edit")}catch(e){return"#"}},[]);return r.createElement(Qi,{open:t,onClose:n,title:"Ops: Parsing issues"},r.createElement("div",{style:{marginBottom:24}},r.createElement(Mr(),{title:"Splunk indexing time parsing issues"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:a.textSecondary}},r.createElement("ul",{style:{marginTop:0,marginBottom:0,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"Update the macro"," ",r.createElement(bt(),{to:Qt(),target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"trackme_idx_filter",r.createElement(Ge(),{style:{fontSize:14}}))," ","to match indexers and other instances such as heavy forwarders that should be included"),r.createElement("li",{style:{marginBottom:0}},"Target the best ingestion practices with the splunk> magic 8 to be configured in your"," ",r.createElement(bt(),{to:"http://docs.splunk.com/Documentation/Splunk/latest/Admin/propsconf",target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"props.conf",r.createElement(Ge(),{style:{fontSize:14}})),", see:"," ",r.createElement(bt(),{to:"https://siemtune.com/splunk-magic-8-optimization/",target:"_blank",style:{textDecoration:"none",display:"inline-flex",alignItems:"center",gap:4}},"Magic 8",r.createElement(Ge(),{style:{fontSize:14}}))))))),r.createElement("div",{style:{marginBottom:16,fontSize:14,color:a.textSecondary}},"Scroll down through the charts to review the index time parsing issues"),r.createElement("div",{style:{marginBottom:24,display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"hosts-multiselect",id:"hosts-label",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:600,color:a.textSecondary}},"Host(s):"),r.createElement(As(),{id:"hosts-multiselect","aria-labelledby":"hosts-label",values:y,onChange:function(e,t){var n=(t.values||[]).map(function(e){return String(e)});b(n.length>0?n:["*"])},"aria-label":"Select hosts",disabled:w,placeholder:w?"Loading hosts...":"Select hosts...",style:{width:"100%",maxWidth:300}},v.map(function(e){return r.createElement(As().Option,{key:e.value,label:e.label,value:e.value})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"time-range-dropdown",id:"time-range-label",style:{display:"block",marginBottom:8,fontSize:14,fontWeight:600,color:a.textSecondary}},"Time range:"),r.createElement(Xt(),{validateRTSearchCapability:!0},r.createElement(Ht(),{"aria-labelledby":"time-range-label",earliest:i,latest:d,onChange:function(e,t){var n=t.earliest,r=t.latest;l(n),p(r)},labelMaxChars:1/0,"aria-label":"Parsing issues time range"})))),r.createElement("div",{style:{marginBottom:24}},r.createElement(at,{label:"SUMMARY",value:E||"",loading:O,useCustomDisplay:!0,onOpenSearch:function(){var e;if(z){var t="/app/trackme/search?q=".concat(encodeURIComponent(z),"&earliest=").concat(encodeURIComponent(i),"&latest=").concat(encodeURIComponent(d)),n=null!==(e=window.Splunk)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.make_url?window.Splunk.util.make_url(t):t;window.open(n,"_blank","noopener")}},onRefresh:function(){return zt()}})),r.createElement("div",{style:{marginBottom:32}},r.createElement("div",{style:{background:a.backgroundSecondary,border:"1px solid ".concat(a.border),borderRadius:8,padding:8,position:"relative",width:"100%",maxWidth:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,color:a.textSecondary}},"Parsing issues by component"),B.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:3}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Chart actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){return Zt(B.searchQuery)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:jt,disabled:B.loading},"Refresh")))),B.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:300,gap:8}},r.createElement(s(),{size:"medium"})),!B.loading&&B.error&&r.createElement("div",{style:{color:"#dc4e41",display:"flex",alignItems:"center",justifyContent:"center",minHeight:300}},B.error),!B.loading&&!B.error&&!B.dataSource&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:300,padding:20}},r.createElement(Jt(),{type:"info",style:{width:"100%",maxWidth:600}},r.createElement("div",{style:{fontWeight:500,marginBottom:4}},"No parsing issues found"),r.createElement("div",{style:{fontSize:13}},"No parsing issues were found for the selected time range and hosts. Review the trackme_idx_filter macro to ensure it targets the correct indexing instances."))),!B.loading&&!B.error&&B.dataSource&&ft>0&&r.createElement("div",{ref:ct,style:{width:"100%",height:300,boxSizing:"border-box"}},r.createElement(Ft(),{width:ft,height:300,options:{nullValueDisplay:"gaps",legendPosition:"bottom",backgroundColor:"transparent",stackMode:"stacked",xAxisTitleVisibility:"hide"},dataSources:{primary:B.dataSource}})))),r.createElement("div",{style:{marginBottom:32,display:"flex",gap:12,flexWrap:"wrap"}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return Zt("index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=LineBreakingProcessor")},style:{maxWidth:250}},"Search line breaking issues"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return Zt("index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=AggregatorMiningProcessor")},style:{maxWidth:250}},"Search aggregator mining issues"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(I(),null),onClick:function(){return Zt("index=_internal sourcetype=splunkd error OR warn `trackme_idx_filter` component=DateParserVerbose")},style:{maxWidth:250}},"Search date parser issues")),r.createElement("div",{style:{marginBottom:32}},r.createElement("h1",{style:{margin:"0 0 16px 0",fontSize:18,fontWeight:600,color:a.textSecondary}},"LineBreakingProcessor"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16}},r.createElement(qw,{title:"LineBreakingProcessor issues - top source",pieState:F,tableData:H,tableField:"data_source",onRefresh:Bt,themeColors:a,onOpenInSearch:Zt}),r.createElement(qw,{title:"LineBreakingProcessor - top host",pieState:V,tableData:G,tableField:"object",onRefresh:Yt,themeColors:a,onOpenInSearch:Zt}),r.createElement(qw,{title:"LineBreakingProcessor issues - top sourcetype",pieState:Z,tableData:te,tableField:"data_sourcetype",onRefresh:Nt,themeColors:a,onOpenInSearch:Zt})),r.createElement("div",{style:{marginTop:16}},r.createElement("div",{ref:ie,style:{background:a.backgroundSecondary,border:"1px solid ".concat(a.border),borderRadius:8,padding:8,position:"relative",width:"100%"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,color:a.textSecondary}},"LineBreakingProcessor Events"),ae.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:10}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){return Zt(ae.searchQuery)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:It,disabled:ae.loading},"Refresh")))),ae.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),!ae.loading&&ae.error&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},ae.error),!ae.loading&&!ae.error&&ae.dataSource&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:se||800,height:400,dataSources:{primary:ae.dataSource},options:{height:400}})),!ae.loading&&!ae.error&&!ae.dataSource&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No results found.")))),r.createElement("div",{style:{marginBottom:32}},r.createElement("h1",{style:{margin:"0 0 16px 0",fontSize:18,fontWeight:600,color:a.textSecondary}},"AggregatorMiningProcessor"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16}},r.createElement(qw,{title:"AggregatorMiningProcessor issues - top source",pieState:de,tableData:me,tableField:"data_source",onRefresh:Rt,themeColors:a,onOpenInSearch:Zt}),r.createElement(qw,{title:"AggregatorMiningProcessor - top host",pieState:be,tableData:_e,tableField:"object",onRefresh:Wt,themeColors:a,onOpenInSearch:Zt}),r.createElement(qw,{title:"AggregatorMiningProcessor issues - top sourcetype",pieState:Se,tableData:Ce,tableField:"data_sourcetype",onRefresh:qt,themeColors:a,onOpenInSearch:Zt})),r.createElement("div",{style:{marginTop:16}},r.createElement("div",{ref:ze,style:{background:a.backgroundSecondary,border:"1px solid ".concat(a.border),borderRadius:8,padding:8,position:"relative",width:"100%"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,color:a.textSecondary}},"AggregatorMiningProcessor Events"),Te.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:10}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){return Zt(Te.searchQuery)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:Vt,disabled:Te.loading},"Refresh")))),Te.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),!Te.loading&&Te.error&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},Te.error),!Te.loading&&!Te.error&&Te.dataSource&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:Pe||800,height:400,dataSources:{primary:Te.dataSource},options:{height:400}})),!Te.loading&&!Te.error&&!Te.dataSource&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No results found.")))),r.createElement("div",{style:{marginBottom:32}},r.createElement("h1",{style:{margin:"0 0 16px 0",fontSize:18,fontWeight:600,color:a.textSecondary}},"DateParserVerbose"),r.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16}},r.createElement(qw,{title:"Datetime parsing issues - top source",pieState:Ne,tableData:Re,tableField:"data_source",onRefresh:Ut,themeColors:a,onOpenInSearch:Zt}),r.createElement(qw,{title:"Datetime parsing issues - top host",pieState:qe,tableData:Ue,tableField:"object",onRefresh:$t,themeColors:a,onOpenInSearch:Zt}),r.createElement(qw,{title:"Datetime parsing issues - top sourcetype",pieState:Je,tableData:et,tableField:"data_sourcetype",onRefresh:Gt,themeColors:a,onOpenInSearch:Zt})),r.createElement("div",{style:{marginTop:16}},r.createElement("div",{ref:it,style:{background:a.backgroundSecondary,border:"1px solid ".concat(a.border),borderRadius:8,padding:8,position:"relative",width:"100%"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14,marginBottom:12,paddingRight:28,color:a.textSecondary}},"DateParserVerbose Events"),rt.searchQuery&&r.createElement("div",{style:{position:"absolute",top:6,right:6,zIndex:10}},r.createElement(f(),{toggle:r.createElement(c(),{appearance:"subtle",icon:r.createElement(x(),null),"aria-label":"Events actions",style:{padding:0,width:22,height:22}})},r.createElement(m(),null,r.createElement(m().Item,{style:{whiteSpace:"nowrap"},startAdornment:r.createElement(Lt(),null),onClick:function(){return Zt(rt.searchQuery)}},"Open in Search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:Kt,disabled:rt.loading},"Refresh")))),rt.loading&&r.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),!rt.loading&&rt.error&&r.createElement(Jt(),{type:"error",style:{marginBottom:12}},rt.error),!rt.loading&&!rt.error&&rt.dataSource&&r.createElement("div",{style:{width:"100%",height:400}},r.createElement(_l(),{width:st||800,height:400,dataSources:{primary:rt.dataSource},options:{height:400}})),!rt.loading&&!rt.error&&!rt.dataSource&&r.createElement(Jt(),{type:"info",style:{marginBottom:12}},"No results found.")))))},Vw=function(e){var t=e.open,n=e.onClose,a=e.onOpenDrilldownSearches,o=e.onOpenDefaultMetrics,i=e.onOpenRenameGroup,l=Ce().colorScheme,s=r.useMemo(function(){return"light"===l?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#121212",text:"#ffffff",textSecondary:"#bdbdbd",border:"#2f2f2f"}},[l]),u=r.useCallback(function(){n(),a()},[n,a]),d=r.useCallback(function(){n(),o()},[n,o]),f=r.useCallback(function(){n(),i()},[n,i]);return r.createElement(vt(),{open:t,onRequestClose:n,returnFocus:function(){},style:{width:"60%",maxWidth:800}},r.createElement(vt().Header,{title:"Utilities: splk-flx"}),r.createElement(vt().Body,{style:{background:s.background}},r.createElement("div",{style:{marginTop:20}},r.createElement("h1",{style:{fontSize:18,fontWeight:600,marginBottom:12,color:s.text}},"Flex trackers"),r.createElement("ul",{style:{marginTop:0,marginBottom:0,paddingLeft:20,color:s.text}},r.createElement("li",null,"Use this screen to perform various actions for Flex Object trackers")))),r.createElement(vt().Footer,null,r.createElement("div",{style:{display:"flex",gap:15,flexWrap:"wrap"}},r.createElement(c(),{appearance:"secondary",icon:r.createElement(D(),null),onClick:u,style:{flex:"0 0 auto",marginRight:15}},"Manage: define drilldown searches"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(D(),null),onClick:d,style:{flex:"0 0 auto",marginRight:15}},"Manage: define default metrics"),r.createElement(c(),{appearance:"secondary",icon:r.createElement(D(),null),onClick:f,style:{flex:"0 0 auto",marginRight:15}},"Manage: rename a group"))))};function Uw(e){return Uw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uw(e)}function $w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gw(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Qw(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Qw(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Qw(d,"constructor",u),Qw(u,"constructor",s),s.displayName="GeneratorFunction",Qw(u,a,"GeneratorFunction"),Qw(d),Qw(d,a,"Generator"),Qw(d,r,function(){return this}),Qw(d,"toString",function(){return"[object Generator]"}),(Zw=function(){return{w:o,m:f}})()}function Qw(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}Qw=function(e,t,n,r){function o(t,n){Qw(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Qw(e,t,n,r)}function eS(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function tS(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){eS(o,r,a,i,l,"next",e)}function l(e){eS(o,r,a,i,l,"throw",e)}i(void 0)})}}function nS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||rS(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rS(e,t){if(e){if("string"==typeof e)return aS(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aS(e,t):void 0}}function aS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n$")," or ",r.createElement("code",{style:{fontFamily:"monospace",backgroundColor:ge.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"$$")," format. For example, ",r.createElement("code",{style:{fontFamily:"monospace",backgroundColor:ge.backgroundSecondary,padding:"2px 4px",borderRadius:3}},'alias="$result.alias$"')," will be replaced with the actual alias value from the entity record. If a field doesn't exist, the token will remain unchanged.")))),r.createElement("div",{style:{marginTop:16,marginBottom:8,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},y.length," drilldown search",1===y.length?"":"es"," currently"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:we,style:{flex:"0 0 auto"}},M.size===y.length?"Deselect all":"Select all"),r.createElement(c(),{appearance:"destructive",onClick:Se,disabled:0===M.size,style:{flex:"0 0 auto"}},"Remove selected"),r.createElement(c(),{appearance:"secondary",onClick:ke,disabled:0===x.size,style:{flex:"0 0 auto"}},"Save changes"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:function(){A(!0),U(null),ve()},style:{flex:"0 0 auto"}},"Add drilldown search"))),u&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),p&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},p),!u&&!p&&r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(ge.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}}),r.createElement(dt().HeadCell,{style:{minWidth:200}},"Tracker name"),r.createElement(dt().HeadCell,{style:{minWidth:300}},"Drilldown search"),r.createElement(dt().HeadCell,{style:{minWidth:120}},"Earliest"),r.createElement(dt().HeadCell,{style:{minWidth:120}},"Latest")),r.createElement(dt().Body,null,0===y.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:5,style:{textAlign:"center",padding:40,color:ge.textSecondary}},'No drilldown searches found. Click "Add drilldown search" to add one.')):y.map(function(e){var t=e._key||"".concat(e.tracker_name,"_").concat(e.drilldown_search),n=M.has(t),a=x.get(t),o=a?Gw(Gw({},e),a):e;return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:n,onChange:function(){return Me(t)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,{style:{fontSize:12,fontFamily:"monospace"}},o.tracker_name),r.createElement(dt().Cell,null,r.createElement("textarea",{value:o.drilldown_search||"",onChange:function(e){k(function(n){var r=new Map(n);return r.set(t,Gw(Gw({},r.get(t)),{},{drilldown_search:e.target.value})),r})},style:{width:"100%",minHeight:60,padding:4,fontSize:11,fontFamily:"monospace",backgroundColor:ge.background,color:ge.text,border:"1px solid ".concat(ge.border),borderRadius:4,resize:"vertical"}})),r.createElement(dt().Cell,null,r.createElement("input",{type:"text",value:o.drilldown_search_earliest||"",onChange:function(e){k(function(n){var r=new Map(n);return r.set(t,Gw(Gw({},r.get(t)),{},{drilldown_search_earliest:e.target.value})),r})},style:{width:"100%",padding:4,fontSize:12,backgroundColor:ge.background,color:ge.text,border:"1px solid ".concat(ge.border),borderRadius:4},placeholder:"-24h"})),r.createElement(dt().Cell,null,r.createElement("input",{type:"text",value:o.drilldown_search_latest||"",onChange:function(e){k(function(n){var r=new Map(n);return r.set(t,Gw(Gw({},r.get(t)),{},{drilldown_search_latest:e.target.value})),r})},style:{width:"100%",padding:4,fontSize:12,backgroundColor:ge.background,color:ge.text,border:"1px solid ".concat(ge.border),borderRadius:4},placeholder:"now"})))}))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a,style:{flex:"0 0 auto"}},"Close"))),r.createElement(vt(),{open:E,onRequestClose:function(){H||(A(!1),U(null),T(""),j(""),Y("-24h"),R("now"))},returnFocus:function(){},style:{width:800}},r.createElement(vt().Header,{title:"Add a drilldown search definition"}),r.createElement(vt().Body,null,V&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},V),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"drilldown-tracker-select",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ge.text}},"Tracker name:"),r.createElement(ht(),{id:"drilldown-tracker-select",value:O||"",onChange:function(e,t){var n=t.value;return T(String(n||""))},style:{width:"100%"},filter:!0},r.createElement(ht().Option,{value:"",label:"Select a tracker..."}),G.map(function(e){return r.createElement(ht().Option,{key:e.value,value:String(e.value),label:e.label})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"drilldown-earliest-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ge.text}},"Drilldown search earliest:"),r.createElement(Gt(),{id:"drilldown-earliest-input",value:B,onChange:function(e){return Y(e.target.value||"-24h")},style:{width:"100%"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"drilldown-latest-input",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ge.text}},"Drilldown search latest:"),r.createElement(Gt(),{id:"drilldown-latest-input",value:I,onChange:function(e){return R(e.target.value||"now")},style:{width:"100%"}})),r.createElement("div",null,r.createElement("label",{htmlFor:"drilldown-search-textarea",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:ge.text}},"Enter the Splunk search:"),r.createElement(Ut(),{id:"drilldown-search-textarea",value:z,onChange:function(e,t){var n=t.value;return j(n)},rowsMin:10,style:{width:"100%",fontFamily:"monospace",fontSize:12}}),r.createElement("div",{style:{marginTop:8,fontSize:12,color:ge.textSecondary,lineHeight:1.5}},r.createElement("strong",null,"Tip:")," You can use tokens like ",r.createElement("code",{style:{fontFamily:"monospace",backgroundColor:ge.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"$result.alias$")," or ",r.createElement("code",{style:{fontFamily:"monospace",backgroundColor:ge.backgroundSecondary,padding:"2px 4px",borderRadius:3}},"$alias$"),' to dynamically insert entity field values. See "About drilldown searches" above for more details.'))),H&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){H||(A(!1),U(null),T(""),j(""),Y("-24h"),R("now"))},disabled:H,style:{flex:"0 0 auto"}},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:Ae,disabled:H||!O.trim()||!z.trim(),style:{flex:"0 0 auto"}},"Add this drilldown search definition"))),r.createElement(ul,{open:ee,title:"Drilldown searches handler deletion",message:"Confirm modification ?",confirmLabel:"Delete",confirmAppearance:"destructiveSecondary",loading:re,error:ie,onClose:function(){re||(te(!1),le(null))},onConfirm:xe}),r.createElement(ul,{open:ue,title:"Drilldown searches handler save changes",message:"Confirm modification ?",confirmLabel:"Update",confirmAppearance:"destructiveSecondary",loading:fe,error:he,onClose:function(){fe||(ce(!1),ye(null))},onConfirm:Ee}))};function iS(e){return iS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iS(e)}function lS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sS(e){for(var t=1;t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(fS(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,fS(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,fS(d,"constructor",u),fS(u,"constructor",s),s.displayName="GeneratorFunction",fS(u,a,"GeneratorFunction"),fS(d),fS(d,a,"Generator"),fS(d,r,function(){return this}),fS(d,"toString",function(){return"[object Generator]"}),(dS=function(){return{w:o,m:f}})()}function fS(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}fS=function(e,t,n,r){function o(t,n){fS(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},fS(e,t,n,r)}function pS(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function mS(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){pS(o,r,a,i,l,"next",e)}function l(e){pS(o,r,a,i,l,"throw",e)}i(void 0)})}}function hS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||yS(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yS(e,t){if(e){if("string"==typeof e)return bS(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bS(e,t):void 0}}function bS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n.*)"\n| eval order=if(metric_name=="trackme.splk.flx.status", 0, 1)\n| sort 0 order\n| fields - order\n| where isnotnull(label) AND label!="status"');try{var a=Ee.A.create({search:r,earliest_time:"-24h@h",latest_time:"now"},{app:"trackme"}).getResults({count:0}).subscribe({next:function(e){if(!e||!0!==e.preview&&!0!==e.isPreview){var t=Array.isArray(null==e?void 0:e.results)?e.results:[],n=[],r=new Set;t.forEach(function(e){if(e.label&&!r.has(String(e.label))){var t=String(e.label);r.add(t),n.push({label:t,value:t})}}),K(n),te(!1)}},error:function(e){console.error("Failed to fetch available metrics:",e),K([]),te(!1)},complete:function(){te(!1)}});ne.current=a}catch(e){console.error("Failed to create search job for metrics:",e),K([]),te(!1)}}},[n]);r.useEffect(function(){return function(){try{var e,t;null===(e=ne.current)||void 0===e||null===(t=e.unsubscribe)||void 0===t||t.call(e)}catch(e){}}},[]);var ke=r.useCallback(mS(dS().m(function e(){var t,r,a,o,i;return dS().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return d(!0),m(null),e.p=2,e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_flx/flx_get_all_default_metrics_for_tenant",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n})});case 3:if((t=e.v).ok){e.n=5;break}return e.n=4,Z(t);case 4:throw r=e.v,new Error(r);case 5:return e.n=6,t.json();case 6:a=e.v,o=Array.isArray(a)?a:(null==a?void 0:a.payload)||(null==a?void 0:a.records)||[],b(o),w(new Set),k(new Map),e.n=8;break;case 7:e.p=7,i=e.v,m(i.message||"Failed to fetch default metrics");case 8:return e.p=8,d(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])})),[n]);r.useEffect(function(){t&&(ke(),Se(),xe())},[t,ke,Se,xe]);var Ae=r.useCallback(function(e){w(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),Le=r.useMemo(function(){return y.filter(function(e){return V.has(e.tracker_name)})},[y,V]),Oe=r.useCallback(function(){M.size===Le.length?w(new Set):w(new Set(Le.map(function(e){return e._key||""}).filter(Boolean)))},[Le,M.size]),Te=r.useCallback(function(){0!==M.size?(oe(!0),de(null)):Me({type:"warning",title:"No metrics selected",message:"Please select at least one default metric to delete."})},[M.size,Me]),De=r.useCallback(function(){var e=mS(dS().m(function e(t){var r,a,i,l;return dS().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:if(se(!0),de(null),e.p=2,r=[],y.forEach(function(e){var t=e._key||"";M.has(t)&&t&&r.push(t)}),0!==r.length){e.n=3;break}throw new Error("No valid keys found for deletion");case 3:return e.n=4,J("/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_delete_default_metrics",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,keys_list:r,update_comment:t||"Deleted from UI"})});case 4:if((a=e.v).ok){e.n=6;break}return e.n=5,Z(a);case 5:throw i=e.v,new Error(i);case 6:Me({type:"success",title:"Default metric(s) deleted",message:"".concat(M.size," default metric(s) successfully deleted.")}),oe(!1),ke(),o&&o(),e.n=8;break;case 7:e.p=7,l=e.v,de(l.message||"An error occurred");case 8:return e.p=8,se(!1),e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),[M,y,n,ke,o,Me]),ze=r.useCallback(function(){0!==x.size?(me(!0),_e(null)):Me({type:"info",title:"No changes to save",message:""})},[x.size,Me]),je=r.useCallback(function(){var e=mS(dS().m(function e(t){var r,a,i,l;return dS().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n){e.n=1;break}return e.a(2);case 1:return be(!0),_e(null),e.p=2,r=y.map(function(e){var t,n,r=e._key||"",a=x.get(r);return a?{tracker_name:null!==(t=a.tracker_name)&&void 0!==t?t:e.tracker_name,metric_name:null!==(n=a.metric_name)&&void 0!==n?n:e.metric_name}:{tracker_name:e.tracker_name,metric_name:e.metric_name}}),e.n=3,J("/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_update_default_metrics",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,default_metric_records:r,update_comment:t||"Updated from UI"})});case 3:if((a=e.v).ok){e.n=5;break}return e.n=4,Z(a);case 4:throw i=e.v,new Error(i);case 5:Me({type:"success",title:"Default metrics updated",message:"".concat(x.size," default metric(s) successfully updated.")}),me(!1),ke(),o&&o(),e.n=7;break;case 6:e.p=6,l=e.v,_e(l.message||"An error occurred");case 7:return e.p=7,be(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),[x,y,n,ke,o,Me]),Pe=r.useCallback(function(){if(n&&O.trim()&&z.trim())if(y.find(function(e){return e.tracker_name===O.trim()}))Me({type:"warning",title:"Policy already exists",message:'A default metric policy already exists for tracker "'.concat(O.trim(),'". Please edit the existing policy instead.')});else{Y(!0),R(null);var e=function(){var e=mS(dS().m(function e(){var t,r,a,i,l;return dS().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,t={tracker_name:O.trim(),metric_name:z.trim()},r=[].concat(cS(y.map(function(e){return{tracker_name:e.tracker_name,metric_name:e.metric_name}})),[t]),e.n=1,J("/splunkd/__raw/services/trackme/v2/splk_flx/write/flx_update_default_metrics",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tenant_id:n,default_metric_records:r,update_comment:"Added from UI"})});case 1:if((a=e.v).ok){e.n=3;break}return e.n=2,Z(a);case 2:throw i=e.v,new Error(i);case 3:Me({type:"success",title:"Default metric added",message:"Default metric successfully added."}),A(!1),T(""),j(""),ke(),o&&o(),e.n=5;break;case 4:e.p=4,l=e.v,R(l.message||"An error occurred");case 5:return e.p=5,Y(!1),e.f(5);case 6:return e.a(2)}},e,null,[[0,4,5,6]])}));return function(){return e.apply(this,arguments)}}();e()}else Me({type:"warning",title:"Invalid input",message:"Please provide tracker name and metric name."})},[n,O,z,y,ke,o,Me]);return r.createElement(r.Fragment,null,r.createElement(vt(),{open:t,onRequestClose:a,returnFocus:function(){},style:{width:1400}},r.createElement(vt().Header,{title:"Default metrics - Manage the default metric for Flex Objects"}),r.createElement(vt().Body,null,r.createElement(Mr(),{title:"About default metrics"},r.createElement("div",{style:{padding:16,fontSize:14,lineHeight:1.6,color:we.text}},r.createElement("ul",{style:{marginTop:0,marginBottom:12,paddingLeft:20}},r.createElement("li",{style:{marginBottom:8}},"You can define a default metric for a given Flex Object tracker, which is applied to all entities managed by this tracker."),r.createElement("li",{style:{marginBottom:0}},"When a default metric is defined, the user interface automatically presets the metric in the metric selector for the associated entities.")))),ee&&r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:20,gap:8}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{fontSize:14,color:we.textSecondary}},"Loading available metrics...")),r.createElement("div",{style:{marginTop:16,marginBottom:8,display:"flex",justifyContent:"space-between",alignItems:"center"}},r.createElement("div",{style:{fontWeight:"bold",fontSize:14}},Le.length," default metric",1===Le.length?"":"s"," currently"),r.createElement("div",{style:{display:"flex",gap:8}},r.createElement(c(),{appearance:"secondary",onClick:Oe,style:{flex:"0 0 auto"}},M.size===y.length?"Deselect all":"Select all"),r.createElement(c(),{appearance:"destructive",onClick:Te,disabled:0===M.size,style:{flex:"0 0 auto"}},"Remove selected"),r.createElement(c(),{appearance:"secondary",onClick:ze,disabled:0===x.size,style:{flex:"0 0 auto"}},"Save changes"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:function(){A(!0),R(null),T(""),j(""),Se(),0===G.length&&xe()},style:{flex:"0 0 auto"}},"Add default metric"))),u&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:40}},r.createElement(s(),{size:"medium"})),p&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},p),!u&&!p&&r.createElement("div",{style:{overflowX:"auto",border:"1px solid ".concat(we.border),borderRadius:8}},r.createElement(dt(),null,r.createElement(dt().Head,null,r.createElement(dt().HeadCell,{style:{width:32,maxWidth:32}}),r.createElement(dt().HeadCell,{style:{minWidth:200}},"Tracker name"),r.createElement(dt().HeadCell,{style:{minWidth:400}},"Default metric name")),r.createElement(dt().Body,null,0===Le.length?r.createElement(dt().Row,null,r.createElement(dt().Cell,{colSpan:3,style:{textAlign:"center",padding:40,color:we.textSecondary}},'No default metrics found. Click "Add default metric" to add one.')):Le.map(function(e){var t=e._key||"".concat(e.tracker_name,"_").concat(e.metric_name),n=M.has(t),a=x.get(t),o=a?sS(sS({},e),a):e;return r.createElement(dt().Row,{key:t},r.createElement(dt().Cell,{style:{width:32,maxWidth:32}},r.createElement("input",{type:"checkbox",checked:n,onChange:function(){return Ae(t)},onFocus:function(e){e.target.blur()},style:{cursor:"pointer",width:16,height:16,margin:0,outline:"none",boxShadow:"none"}})),r.createElement(dt().Cell,{style:{fontSize:12,fontFamily:"monospace"}},o.tracker_name),r.createElement(dt().Cell,null,r.createElement(ht(),{value:o.metric_name||"",onChange:function(e,n){var r=n.value;k(function(e){var n=new Map(e);return n.set(t,sS(sS({},n.get(t)),{},{metric_name:String(r||"")})),n})},style:{width:"100%"},filter:!0},r.createElement(ht().Option,{value:"",label:"Select a metric..."}),G.map(function(e){return r.createElement(ht().Option,{key:e.value,value:String(e.value),label:e.label})}))))}))))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:a,style:{flex:"0 0 auto"}},"Close"))),r.createElement(vt(),{open:E,onRequestClose:function(){B||(A(!1),R(null),T(""),j(""))},returnFocus:function(){},style:{width:600}},r.createElement(vt().Header,{title:"Add a default metric definition"}),r.createElement(vt().Body,null,I&&r.createElement(Jt(),{type:"error",style:{marginBottom:16}},I),r.createElement("div",{style:{display:"flex",flexDirection:"column",gap:16}},r.createElement("div",null,r.createElement("label",{htmlFor:"default-metric-tracker-select",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:we.text}},"Tracker name:"),r.createElement(ht(),{id:"default-metric-tracker-select",value:O||"",onChange:function(e,t){var n=t.value;return T(String(n||""))},style:{width:"100%"},filter:!0},r.createElement(ht().Option,{value:"",label:"Select a tracker..."}),H.map(function(e){return r.createElement(ht().Option,{key:e.value,value:String(e.value),label:e.label})}))),r.createElement("div",null,r.createElement("label",{htmlFor:"default-metric-name-select",style:{display:"block",marginBottom:4,fontSize:14,fontWeight:500,color:we.text}},"Default metric name:"),ee?r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8}},r.createElement(s(),{size:"small"}),r.createElement("span",{style:{fontSize:12,color:we.textSecondary}},"Loading available metrics...")):r.createElement(ht(),{id:"default-metric-name-select",value:z||"",onChange:function(e,t){var n=t.value;return j(String(n||""))},style:{width:"100%"},filter:!0},r.createElement(ht().Option,{value:"",label:"Select a metric..."}),G.map(function(e){return r.createElement(ht().Option,{key:e.value,value:String(e.value),label:e.label})})))),B&&r.createElement("div",{style:{display:"flex",justifyContent:"center",padding:20}},r.createElement(s(),{size:"medium"}))),r.createElement(vt().Footer,null,r.createElement(c(),{appearance:"secondary",onClick:function(){B||(A(!1),R(null),T(""),j(""))},disabled:B,style:{flex:"0 0 auto"}},"Cancel"),r.createElement(c(),{appearance:"primary",icon:r.createElement(N(),null),onClick:Pe,disabled:B||!O.trim()||!z.trim(),style:{flex:"0 0 auto"}},"Add this default metric definition"))),r.createElement(ul,{open:ae,title:"Default metrics handler deletion",message:"Confirm modification ?",confirmLabel:"Delete",confirmAppearance:"destructiveSecondary",loading:le,error:ce,onClose:function(){le||(oe(!1),de(null))},onConfirm:De}),r.createElement(ul,{open:pe,title:"Default metrics handler save changes",message:"Confirm modification ?",confirmLabel:"Update",confirmAppearance:"destructiveSecondary",loading:ye,error:ve,onClose:function(){ye||(me(!1),_e(null))},onConfirm:je}))};function vS(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,r,a,o){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return _S(u,"_invoke",function(n,r,a){var o,l,s,u=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,l=0,s=e,f.n=n,i}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!a&&t3?(a=m===r)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&pr||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(a||n>1)return i;throw d=!0,r}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),l=c,s=m;(t=l<2?e:s)||!d;){o||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,o){if(l||(a="next"),t=o[a]){if(!(t=t.call(o,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=o.return)&&t.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==i)break}catch(t){o=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,a,o),!0),u}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(_S(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,_S(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,_S(d,"constructor",u),_S(u,"constructor",s),s.displayName="GeneratorFunction",_S(u,a,"GeneratorFunction"),_S(d),_S(d,a,"Generator"),_S(d,r,function(){return this}),_S(d,"toString",function(){return"[object Generator]"}),(vS=function(){return{w:o,m:f}})()}function _S(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}_S=function(e,t,n,r){function o(t,n){_S(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},_S(e,t,n,r)}function MS(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function wS(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){MS(o,r,a,i,l,"next",e)}function l(e){MS(o,r,a,i,l,"throw",e)}i(void 0)})}}function SS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xS(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xS(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0?L[0]:null)},[a.component,M,L]),z=function(e){return["dsm","dhm","mhm","fqm","flx","wlk"].includes(e)},P=OS(r.useState(function(){return M&&0!==M.length?T():null}),2),Y=P[0],F=P[1];r.useEffect(function(){if(M.length>0){if(Y&&["investigate_status_flipping","investigate_audit_changes","tracking_alerts"].includes(Y)){var e=M[0];if(e&&e!==Y)return void F(e)}if(Y&&L.includes(Y)&&z(Y))return;var t=T();t&&t!==Y&&z(t)&&F(t)}else{if(a.component&&M.includes(a.component))return void F(a.component);Y&&L.includes(Y)&&z(Y)}},[L.length,a.component,M.length]);var R=r.useMemo(function(){return Y&&L.includes(Y)?Y:null===Y?null:(M.length>0?M[0]:null)||(L.length>0?L[0]:null)},[Y,L,M]),H=r.useCallback(function(e,t){var n=t.activePanelId;n&&F(n)},[]),q=OS(r.useState(!1),2),X=q[0],V=q[1],U=OS(r.useState(null),2),$=U[0],G=U[1],K=OS(r.useState(!1),2),J=K[0],Z=K[1],Q=OS(r.useState(!1),2),ee=Q[0],te=Q[1],ne=OS(r.useState(void 0),2),re=ne[0],ae=ne[1],oe=OS(r.useState(!1),2),ie=oe[0],le=oe[1],se=OS(r.useState(!1),2),ue=se[0],ce=se[1],de=OS(r.useState(!1),2),fe=de[0],pe=de[1],me=OS(r.useState(!1),2),he=me[0],ye=me[1],be=OS(r.useState(!1),2),ge=be[0],ve=be[1],_e=OS(r.useState(!1),2),Me=_e[0],we=_e[1],Se=OS(r.useState(!1),2),xe=Se[0],ke=Se[1],Ee=OS(r.useState(!1),2),Ae=Ee[0],Le=Ee[1],Oe=OS(r.useState(!1),2),Te=Oe[0],De=Oe[1],ze=OS(r.useState("cim"),2),je=ze[0],Pe=ze[1],Be=OS(r.useState(!1),2),Ye=Be[0],Ne=Be[1],Fe=OS(r.useState(!1),2),Ie=Fe[0],Re=Fe[1],We=OS(r.useState(!1),2),He=We[0],qe=We[1],Xe=OS(r.useState(!1),2),Ve=Xe[0],Ue=Xe[1],$e=OS(r.useState(!1),2),Ge=$e[0],Ke=$e[1],Je=OS(r.useState(!1),2),Ze=Je[0],Qe=Je[1],et=OS(r.useState(!1),2),tt=et[0],nt=et[1],rt=OS(r.useState(!1),2),at=rt[0],ot=rt[1],it=OS(r.useState(!1),2),lt=it[0],st=it[1],ut=OS(r.useState(!1),2),ct=ut[0],dt=ut[1],ft=OS(r.useState(!1),2),pt=ft[0],mt=ft[1],ht=OS(r.useState(!1),2),yt=ht[0],bt=ht[1],gt=OS(r.useState(!1),2),vt=gt[0],_t=gt[1],Mt=OS(r.useState(!1),2),wt=Mt[0],St=Mt[1],xt=OS(r.useState(!1),2),kt=xt[0],Ct=xt[1],Et=OS(r.useState(!1),2),At=Et[0],Lt=Et[1],Ot=OS(r.useState(!1),2),Tt=Ot[0],Dt=Ot[1],zt=OS(r.useState(!1),2),jt=zt[0],Pt=zt[1],Bt=OS(r.useState(!1),2),Yt=Bt[0],Nt=Bt[1],Ft=OS(r.useState(!1),2),It=Ft[0],Rt=Ft[1],Wt=OS(r.useState(!1),2),Ht=Wt[0],qt=Wt[1],Xt=OS(r.useState(!1),2),Vt=Xt[0],Ut=Xt[1],$t=OS(r.useState(!1),2),Gt=$t[0],Kt=$t[1],Jt=OS(r.useState(!1),2),Zt=Jt[0],Qt=Jt[1],en=OS(r.useState(!1),2),tn=en[0],nn=en[1],rn=OS(r.useState(!1),2),an=rn[0],on=rn[1],ln=OS(r.useState(!1),2),sn=ln[0],un=ln[1],cn=OS(r.useState(!1),2),dn=cn[0],fn=cn[1],pn=OS(r.useState(!1),2),mn=pn[0],hn=pn[1],yn=OS(r.useState(!1),2),bn=yn[0],gn=yn[1],vn=OS(r.useState(null),2),_n=vn[0],Mn=vn[1],wn=OS(r.useState(null),2),Sn=wn[0],xn=wn[1],kn=r.useRef(new Set);r.useEffect(function(){kn.current.clear()},[a.component,a.keyid,a.object,a.alias]);var Cn=r.useRef(a);r.useEffect(function(){Cn.current=a},[a]);var En=r.useRef($);r.useEffect(function(){En.current=$},[$]);var An=r.useRef(X);r.useEffect(function(){An.current=X},[X]);var Ln=r.useCallback(function(e,t){var n=Cn.current,r="".concat(o,"::").concat(e);if(!An.current){var a=En.current;if(a&&Y===e){var i=t.find(function(e){var t=String(e.keyid||e.object_id||""),n=String(e.object||"");return a.objectId&&t===a.objectId||a.object&&n===a.object});i&&G(function(e){return!e||e.objectId!==a.objectId&&e.object!==a.object?e:AS(AS({},e),{},{rowData:i})})}}if(n.component===e&&(n.keyid||n.object||n.alias)&&!kn.current.has(r)&&t.length>0){kn.current.add(r);var l=t.find(function(e){if(n.keyid&&String(e.keyid||e.object_id||"")===n.keyid)return!0;if(n.object){var t=String(e.object||""),r=decodeURIComponent(n.object);if(t===n.object||t===r)return!0}return!(!n.alias||String(e.alias||"")!==n.alias)});if(l){var s=String(l.keyid||l.object_id||""),u=String(l.object||"");G({objectId:s||void 0,object:u||void 0,rowData:l}),V(!0)}else console.warn("[TenantHome] Entity not found for URL params:",{component:e,keyid:n.keyid,object:n.object,alias:n.alias})}},[o,Y]),On=r.useCallback(function(){try{var e=new URL(window.location.href),t=new URLSearchParams(e.search),n=t.get("tenant_id");t.delete("component"),t.delete("keyid"),t.delete("object"),t.delete("alias"),t.delete("priority"),t.delete("earliest");var r=n?"?tenant_id=".concat(encodeURIComponent(n)):"",a="".concat(e.pathname).concat(r).concat(e.hash);window.history.replaceState({},"",a)}catch(e){console.warn("[TenantHome] Error cleaning URL params:",e)}},[]),Tn=r.useCallback(function(e,t){var n=String(e.keyid||e.object_id||""),r=String(e.object||"");if(n||r){var a=t||e.initialActionTemp,o=AS({},e);delete o.initialActionTemp,G({objectId:n||void 0,object:r||void 0,rowData:o,initialAction:a||void 0}),V(!0)}},[]),Dn=r.useCallback(function(e){String(e.object||"")&&Y&&z(Y)&&(Mn(e),xn(Y),gn(!0))},[Y]),zn=r.useCallback(function(){V(!1),G(null),On()},[On]);r.useEffect(function(){try{window.vt_selected_vtenant_account=null==p?void 0:p.vtenant_account}catch(e){}},[p]),r.useEffect(function(){try{window.__trackme_user_level=null==h?void 0:h.user_level}catch(e){}},[h]);var jn=r.useMemo(function(){return"light"===t?{background:"#ffffff",backgroundSecondary:"#f5f5f5",text:"#1a1a1a",textSecondary:"#666666",border:"#d0d0d0"}:{background:"#1a1a1a",backgroundSecondary:"#2d2d2d",text:"#ffffff",textSecondary:"#bdbdbd",border:"#404040"}},[t]),Pn=r.useCallback(function(e){try{var t,n,r,a,o,i,l=null==p?void 0:p.vtenant_account,s=l;"string"==typeof l&&(s=JSON.parse(l));var u={dsm:String((null===(t=s)||void 0===t?void 0:t.splk_dsm_tabulator_groupby)||""),dhm:String((null===(n=s)||void 0===n?void 0:n.splk_dhm_tabulator_groupby)||""),mhm:String((null===(r=s)||void 0===r?void 0:r.splk_mhm_tabulator_groupby)||""),fqm:String((null===(a=s)||void 0===a?void 0:a.splk_fqm_tabulator_groupby)||""),flx:String((null===(o=s)||void 0===o?void 0:o.splk_flx_tabulator_groupby)||""),wlk:String((null===(i=s)||void 0===i?void 0:i.splk_wlk_tabulator_groupby)||"")},c=String(e).toLowerCase();return String(u[c]||"").split(",").map(function(e){return e.trim()}).filter(Boolean)}catch(e){return}},[p]),Bn=r.useRef(null);r.useEffect(function(){Y&&z(Y)&&(Bn.current=Y)},[Y]);var Yn=r.useCallback(function(e){var t=Bn.current;t&&Ln(t,e)},[Ln]),Nn=OS(r.useState(!1),2),Fn=Nn[0],In=Nn[1],Rn=r.useMemo(function(){return(0,v.makeCreateToast)(_())},[]),Wn=r.useCallback(function(e){try{Rn({type:e.type,title:e.title,message:e.message||""})}catch(e){console.error("[TenantHome] Error showing toast:",e)}},[Rn]),Hn=r.useRef(null),qn=r.useRef(null),Xn=OS(r.useState(!1),2),Vn=Xn[0],$n=Xn[1],Jn=OS(r.useState(new Date),2),Zn=Jn[0],Qn=Jn[1],er=r.useMemo(function(){var e=null==h?void 0:h.ui_auto_refresh;return 1===e||"1"===e||!0===e},[h]),tr=r.useMemo(function(){return void 0!==n?n:er},[n,er]),nr=OS(r.useState(tr),2),rr=nr[0],ar=nr[1];r.useEffect(function(){ar(tr)},[tr]);var or=r.useCallback(function(){ar(function(e){return!e})},[]),ir=r.useCallback(function(){if(Hn.current)try{Hn.current(!0),Qn(new Date)}catch(e){console.error("[TenantHome] Error refreshing:",e)}else console.warn("[TenantHome] Refresh function not available yet");$n(!1)},[]),lr=r.useCallback(function(){if(Hn.current)try{Hn.current(!0),Qn(new Date)}catch(e){console.error("[TenantHome] Error refreshing:",e)}else console.warn("[TenantHome] Refresh function not available yet")},[]);r.useEffect(function(){if(!rr)return function(){};var e=setInterval(function(){if(Hn.current)try{Hn.current(!1),Qn(new Date)}catch(e){console.error("[TenantHome] Error auto-refreshing:",e)}},3e5);return function(){return clearInterval(e)}},[rr]);var sr=r.useCallback(function(e){var t,n=null===(t=window.Splunk)||void 0===t||null===(t=t.util)||void 0===t?void 0:t.make_url;return"function"==typeof n?n(e):e},[]),ur=r.useCallback(function(){if(Y&&z(Y)){if(null==$||!$.rowData){if(!o)return console.warn("[TenantHome] Cannot open search: no tenant_id"),void $n(!1);var e="| trackmegetcoll tenant_id=".concat(o," component=").concat(Y),t="/app/trackme/search?q=".concat(encodeURIComponent(e)),n=sr(t);return window.open(n,"_blank","noopener"),void $n(!1)}if(!["dsm","dhm","mhm"].includes(Y)){if(!o)return console.warn("[TenantHome] Cannot open search: no tenant_id"),void $n(!1);var r="| trackmegetcoll tenant_id=".concat(o," component=").concat(Y),a="/app/trackme/search?q=".concat(encodeURIComponent(r)),i=sr(a);return window.open(i,"_blank","noopener"),void $n(!1)}var l=$.rowData;if(!("mhm"===Y?l.splk_mhn_metrics_report||l.splk_mhm_mctalog_search||l.splk_mhn_mpreview:l["dsm"===Y?"splk_dsm_raw_search":"splk_dhm_raw_search"]))return console.warn("[TenantHome] Search fields not available yet. Entity info may still be loading."),void $n(!1);var s="";if(p)try{var u,c=null==p?void 0:p.vtenant_account,d=c;"string"==typeof c&&(d=JSON.parse(c)),s=String((null===(u=d)||void 0===u?void 0:u.indexed_constraint)||"").trim()}catch(e){var f;s=String((null==p||null===(f=p.vtenant_account)||void 0===f?void 0:f.indexed_constraint)||"").trim()}if("mhm"===Y){var m=String(l.splk_mhn_metrics_report||"").trim(),h=String(l.splk_mhm_mctalog_search||"").trim(),y=String(l.splk_mhn_mpreview||"").trim(),b=m||h||y;if(!b)return console.warn("[TenantHome] MHM search query not available in rowData"),void $n(!1);var g="/app/trackme/".concat(b),v=sr(g);window.open(v,"_blank","noopener")}else{var _="dsm"===Y?"splk_dsm_raw_search":"splk_dhm_raw_search",M=String(l[_]||"").trim();if(!M)return console.warn("[TenantHome] Search field not available in rowData:",_),void $n(!1);var w=M.trim();if(s)if(w.startsWith("search?q=")){var S=w.substring(9),x=decodeURIComponent(S),k="".concat(x," ").concat(s);w="search?q=".concat(encodeURIComponent(k))}else w="".concat(w," ").concat(s);var C="/app/trackme/".concat(w),E=sr(C);window.open(E,"_blank","noopener")}$n(!1)}else $n(!1)},[Y,$,p,o,sr]),cr=r.useCallback(function(e){Hn.current=e},[]),dr=r.useCallback(function(e){qn.current=e},[]),fr=r.useMemo(function(){return W().unix(Math.floor(Zn.getTime()/1e3)).format("YYYY-MM-DD HH:mm:ss")},[Zn]),pr=r.useCallback(function(e){return{dsm:[{label:"Execute: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: hybrid trackers",category:"Discovery & detections - Hybrid trackers"},{label:"Create: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Execute: elastic tracker",category:"Discovery & detections - Elastic sources"},{label:"Manage: dedicated elastic sources",category:"Discovery & detections - Elastic sources"},{label:"Manage: shared elastic sources",category:"Discovery & detections - Elastic sources"},{label:"Create: elastic source",category:"Discovery & detections - Elastic sources"},{label:"Manage: Impact score",category:"Features"},{label:"Manage: blocklists",category:"Features"},{label:"Manage: lagging classes",category:"Features"},{label:"Manage: priority policies",category:"Features"},{label:"Manage: sla policies",category:"Features"},{label:"Manage: tags policies",category:"Features"},{label:"Manage: data sampling",category:"Features"},{label:"Manage: perm deleted",category:"Features"},{label:"Manage: logical groups",category:"Features"},{label:"Ops: Queues center",category:"Ops"},{label:"Ops: Parsing issues",category:"Ops"}],dhm:[{label:"Execute: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: hybrid trackers",category:"Discovery & detections - Hybrid trackers"},{label:"Create: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: Impact score",category:"Features"},{label:"Manage: blocklists",category:"Features"},{label:"Manage: lagging classes",category:"Features"},{label:"Manage: priority policies",category:"Features"},{label:"Manage: sla policies",category:"Features"},{label:"Manage: tags policies",category:"Features"},{label:"Manage: perm deleted",category:"Features"},{label:"Manage: logical groups",category:"Features"},{label:"Ops: Queues center",category:"Ops"},{label:"Ops: Parsing issues",category:"Ops"}],mhm:[{label:"Execute: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: hybrid trackers",category:"Discovery & detections - Hybrid trackers"},{label:"Create: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: Impact score",category:"Features"},{label:"Manage: blocklists",category:"Features"},{label:"Manage: metric policies",category:"Features"},{label:"Manage: priority policies",category:"Features"},{label:"Manage: sla policies",category:"Features"},{label:"Manage: tags policies",category:"Features"},{label:"Manage: perm deleted",category:"Features"},{label:"Manage: logical groups",category:"Features"},{label:"Ops: Queues center",category:"Ops"},{label:"Ops: Parsing issues",category:"Ops"}],fqm:[{label:"Execute: hybrid tracker",category:"Discovery & detections - Quality trackers"},{label:"Create a new quality job",category:"Discovery & detections - Quality trackers"},{label:"Manage: quality trackers",category:"Discovery & detections - Quality trackers"},{label:"Manage: data dictionaries",category:"Discovery & detections - Quality trackers"},{label:"Manage: Impact score",category:"Features"},{label:"Manage: blocklists",category:"Features"},{label:"Manage: priority policies",category:"Features"},{label:"Manage: sla policies",category:"Features"},{label:"Manage: tags policies",category:"Features"},{label:"Manage: perm deleted",category:"Features"},{label:"Manage: logical groups",category:"Features"}],wlk:[{label:"Execute: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: Workload trackers",category:"Discovery & detections - Hybrid trackers"},{label:"Create: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: Impact score",category:"Features"},{label:"Manage: blocklists",category:"Features"},{label:"Manage: perm deleted",category:"Features"},{label:"Manage: priority policies",category:"Features"},{label:"Manage: sla policies",category:"Features"},{label:"Manage: tags policies",category:"Features"},{label:"Manage: enable/disable apps",category:"Features"}],flx:[{label:"Execute: hybrid tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: hybrid trackers",category:"Discovery & detections - Hybrid trackers"},{label:"Create: use case flex tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Create: converging flex tracker",category:"Discovery & detections - Hybrid trackers"},{label:"Manage: Impact score",category:"Features"},{label:"Manage: blocklists",category:"Features"},{label:"Manage: priority policies",category:"Features"},{label:"Manage: sla policies",category:"Features"},{label:"Manage: tags policies",category:"Features"},{label:"Manage: perm deleted",category:"Features"},{label:"Manage: logical groups",category:"Features"},{label:"Manage: Utilities",category:"Features"}]}[e]||[]},[]),mr=r.useCallback(function(e){var t=Kn(e);return"admin"!==t||Gn("admin",b)?"write"!==t||Gn("write",b)?void("Execute: hybrid tracker"===e?Y&&["dsm","dhm","mhm"].includes(Y)?(dt(!0),$n(!1)):"flx"===Y?(mt(!0),$n(!1)):"fqm"===Y?(bt(!0),$n(!1)):"wlk"===Y?(_t(!0),$n(!1)):(Wn({type:"info",title:"Implementation in progress",message:"Hybrid tracker execution for ".concat(Y," component will be available soon.")}),$n(!1)):"Execute: elastic tracker"===e?"dsm"===Y?(St(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Elastic sources are only available for DSM component."}),$n(!1)):"Create: hybrid tracker"===e?Y&&["dsm","dhm","mhm"].includes(Y)?(ce(!0),$n(!1)):"wlk"===Y?(Ue(!0),$n(!1)):(Wn({type:"info",title:"Implementation in progress",message:"Hybrid tracker creation for ".concat(Y," component will be available soon.")}),$n(!1)):"Create a new quality job"===e?"fqm"===Y?(Pe("cim"),De(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Quality job creation is only available for FQM component."}),$n(!1)):"Manage: quality trackers"===e?"fqm"===Y?(Ne(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Quality trackers management is only available for FQM component."}),$n(!1)):"Manage: data dictionaries"===e?"fqm"===Y?(Re(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Data dictionaries management is only available for FQM component."}),$n(!1)):"Create: use case flex tracker"===e?"flx"===Y?(ve(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Use case flex tracker creation is only available for FLX component."}),$n(!1)):"Create: converging flex tracker"===e?"flx"===Y?(we(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Converging flex tracker creation is only available for FLX component."}),$n(!1)):"Create: elastic source"===e?"dsm"===Y?(nt(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Elastic sources are only available for DSM component."}),$n(!1)):"Manage: data sampling"===e?(Z(!0),$n(!1)):"Manage: dedicated elastic sources"===e?(st(!0),$n(!1)):"Manage: shared elastic sources"===e?(ot(!0),$n(!1)):"Manage: hybrid trackers"===e||"Manage: Workload trackers"===e?Y&&["dsm","dhm","mhm"].includes(Y)?(pe(!0),$n(!1)):"flx"===Y?(ke(!0),$n(!1)):"wlk"===Y?(Ke(!0),$n(!1)):(Wn({type:"info",title:"Implementation in progress",message:"Hybrid trackers management for ".concat(Y," component will be available soon.")}),$n(!1)):"Manage: blocklists"===e?Y&&z(Y)&&(Ct(!0),$n(!1)):"Manage: lagging classes"===e?Y&&["dsm","dhm"].includes(Y)?(Lt(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Lagging classes are only available for DSM and DHM components."}),$n(!1)):"Manage: logical groups"===e?Y&&["dsm","dhm","mhm","flx"].includes(Y)?(Dt(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Logical groups are only available for DSM, DHM, MHM, and FLX components."}),$n(!1)):"Manage: perm deleted"===e?Y&&z(Y)&&(Nt(!0),$n(!1)):"Manage: priority policies"===e?Y&&z(Y)&&(Rt(!0),$n(!1)):"Manage: sla policies"===e?Y&&z(Y)&&(qt(!0),$n(!1)):"Manage: metric policies"===e?Y&&"mhm"===Y?(Pt(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Metric policies are only available for MHM component."}),$n(!1)):"Manage: tags policies"===e?Y&&z(Y)&&(Ut(!0),$n(!1)):"Manage: Impact score"===e?Y&&z(Y)&&(Gn("admin",b)?(Kt(!0),$n(!1)):(Wn({type:"warning",title:"Permission denied",message:"Impact score management requires TrackMe admin privileges."}),$n(!1))):"Ops: Queues center"===e?Y&&["dsm","dhm"].includes(Y)?(fn(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Queues center is only available for DSM and DHM components."}),$n(!1)):"Ops: Parsing issues"===e?Y&&["dsm","dhm"].includes(Y)?(hn(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Parsing issues is only available for DSM and DHM components."}),$n(!1)):"Manage: Utilities"===e?"flx"===Y?(Qt(!0),$n(!1)):(Wn({type:"info",title:"Not available",message:"Utilities are only available for FLX component."}),$n(!1)):(Wn({type:"info",title:"Implementation in progress",message:"".concat(e," functionality is coming soon.")}),$n(!1))):(Wn({type:"warning",title:"Permission denied",message:"Your current permissions do not allow this action. Contact your administrator for write access."}),void $n(!1)):(Wn({type:"warning",title:"Permission denied",message:"Your current permissions do not allow this action. Contact your administrator for admin access."}),void $n(!1))},[Wn,Y,b]),hr=r.useMemo(function(){if(!Y||!z(Y))return[];var e=pr(Y);return"user"===String(b).toLowerCase()?e.filter(function(e){return"Ops"===e.category}):e.filter(function(e){var t=Kn(e.label);return Gn(t,b)})},[Y,pr,b]),yr=r.useMemo(function(){var e={};return hr.forEach(function(t){e[t.category]||(e[t.category]=[]),e[t.category].push(t)}),e},[hr]);return u?r.createElement("div",{style:{textAlign:"center",padding:40,backgroundColor:jn.background,color:jn.text,minHeight:"100vh"}},r.createElement(s(),{size:"medium"}),r.createElement("div",{style:{marginTop:16,color:jn.textSecondary}},"Loading tenant data…")):d||!p?r.createElement("div",{style:{padding:40,backgroundColor:jn.background,color:jn.text,minHeight:"100vh"}},r.createElement("div",{style:{color:"#ff4444",marginBottom:16}},d||'Tenant "'.concat(o,'" not found')),r.createElement("div",{style:{color:jn.textSecondary}},"Please check the tenant_id parameter in the URL.")):0===L.length?r.createElement("div",{style:{padding:40,backgroundColor:jn.background,color:jn.text,minHeight:"100vh"}},r.createElement("div",{style:{color:jn.textSecondary}},"No components are enabled for this tenant.")):r.createElement(r.Fragment,null,r.createElement(g(),{limit:3}),r.createElement("div",{style:{padding:"10px",minHeight:"100vh",backgroundColor:jn.background,color:jn.text,width:"100%",boxSizing:"border-box"}},r.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:12,flexWrap:"wrap",marginBottom:24}},r.createElement("div",{style:{display:"flex",flexDirection:"column"}},r.createElement("h2",{style:{margin:0}},"TrackMe - Tenant Home"),r.createElement("div",{style:{marginTop:4,color:jn.textSecondary,fontSize:14,lineHeight:1.4}},"Monitoring the great value in your Big Data")),r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:4}},r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8}},r.createElement("div",{style:{color:jn.textSecondary,fontSize:12}},"Last updated: ",fr),r.createElement(y(),{content:"Refresh"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(C(),null),"aria-label":"Refresh charts and table",onClick:lr,style:{flex:"0 0 auto"}})),r.createElement(y(),{content:rr?"Disable auto-refresh":"Enable auto-refresh"},r.createElement(c(),{appearance:"secondary",icon:rr?r.createElement(A(),null):r.createElement(O(),null),"aria-label":rr?"Disable auto-refresh":"Enable auto-refresh",onClick:or,style:{flex:"0 0 auto"}})),r.createElement(y(),{content:"User settings"},r.createElement(c(),{appearance:"secondary",icon:r.createElement(w(),null),"aria-label":"Open settings",onClick:function(){return In(!0)},style:{flex:"0 0 auto"}})),r.createElement(y(),{content:"Actions"},r.createElement(f(),{open:Vn,onRequestOpen:function(){return $n(!0)},onRequestClose:function(){return $n(!1)},toggle:r.createElement(c(),{appearance:"secondary",icon:r.createElement(x(),null),"aria-label":"Menu",onClick:function(){return $n(function(e){return!e})},style:{flex:"0 0 auto"}})},r.createElement(m(),{style:{width:280,maxHeight:"80vh",overflowY:"auto"}},r.createElement(m().Heading,null,"Actions"),"tracking_alerts"===Y&&qn.current&&r.createElement(m().Item,{startAdornment:r.createElement(N(),null),disabled:!Gn("admin",b),onClick:function(){Gn("admin",b)&&qn.current&&qn.current(),$n(!1)}},"Create a new alert"),Y&&z(Y)&&r.createElement(m().Item,{startAdornment:r.createElement(I(),null),onClick:ur},"Open in search"),r.createElement(m().Item,{startAdornment:r.createElement(C(),null),onClick:ir},"Refresh all"),hr.length>0&&r.createElement(r.Fragment,null,Object.entries(yr).map(function(e){var t=OS(e,2),n=t[0],a=t[1];return 0===a.length?null:r.createElement(r.Fragment,{key:n},r.createElement(m().Heading,null,n),a.map(function(e){var t=r.createElement(D(),null);return e.label.startsWith("Execute:")?t=r.createElement(B(),null):e.label.startsWith("Create:")?t=r.createElement(N(),null):e.label.startsWith("Manage:")?t=r.createElement(D(),null):e.label.startsWith("Run:")?t=r.createElement(B(),null):e.label.startsWith("Ops:")&&(t=r.createElement(j(),null)),r.createElement(m().Item,{key:e.label,startAdornment:t,onClick:function(){return mr(e.label)}},e.label)}))})))))),p&&r.createElement("div",{style:{display:"flex",alignItems:"center",gap:8,color:jn.textSecondary,fontSize:11,lineHeight:1.4}},r.createElement("span",{style:{fontWeight:600}},"Tenant:"),r.createElement("span",null,p.tenant_id),p.tenant_alias&&p.tenant_alias!==p.tenant_id&&r.createElement(r.Fragment,null,r.createElement("span",{style:{color:jn.border}},"•"),r.createElement("span",{style:{fontStyle:"italic"}},p.tenant_alias)),(null==p?void 0:p.tenant_description)&&r.createElement(r.Fragment,null,r.createElement("span",{style:{color:jn.border}},"•"),r.createElement("span",{style:{maxWidth:300,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},p.tenant_description))))),R&&r.createElement(i(),{activePanelId:R,onChange:H,style:{marginBottom:12}},L.map(function(e){if(z(e))return r.createElement(i().Panel,{key:e,panelId:e,label:zS[e]||e},r.createElement(qi,{tenantId:o,component:e,enabledComponents:M,tenantDisabled:S,tenantFeatures:k,cmdbLookup:E,defaultGroupByOverride:Pn(e),onRefreshReady:cr,onOpenEntity:Tn,onOpenAck:Dn,onTableDataReady:Yn,isActive:R===e}));var t={investigate_status_flipping:"Investigate Status Flipping",investigate_audit_changes:"Investigate Audit Changes",tracking_alerts:"Tracking Alerts"};return"investigate_status_flipping"===e?R!==e?r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement("div",{style:{padding:40,textAlign:"center",color:jn.textSecondary}},"Click to load this tab")):r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement(dp,{tenantId:o,onRefreshReady:cr,isActive:!0})):"investigate_audit_changes"===e?R!==e?r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement("div",{style:{padding:40,textAlign:"center",color:jn.textSecondary}},"Click to load this tab")):r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement(_p,{tenantId:o,onRefreshReady:cr,isActive:!0})):"tracking_alerts"===e?R!==e?r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement("div",{style:{padding:40,textAlign:"center",color:jn.textSecondary}},"Click to load this tab")):r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement(hm,{tenantId:o,enabledComponents:M,onRefreshReady:cr,onOpenCreateAlert:dr,isActive:!0})):r.createElement(i().Panel,{key:e,panelId:e,label:t[e]||e},r.createElement("div",{style:{padding:40,textAlign:"center",color:jn.textSecondary,backgroundColor:jn.backgroundSecondary,borderRadius:8,border:"1px solid ".concat(jn.border),marginTop:16}},"Implementation in progress"))})),Y&&z(Y)&&r.createElement(tp,{open:X,tenantId:o,component:Y,objectId:(null==$?void 0:$.objectId)||null,object:(null==$?void 0:$.object)||null,rowData:null==$?void 0:$.rowData,vtenantAccount:null==p?void 0:p.vtenant_account,onClose:zn,onRefreshAll:ir,userLevel:b,initialAction:null==$?void 0:$.initialAction,onEntityDataUpdated:function(e){G(function(t){return!t||t.objectId!==(null==$?void 0:$.objectId)&&t.object!==(null==$?void 0:$.object)?t:AS(AS({},t),{},{rowData:e})})},onOpenAck:null!=$&&$.rowData?function(){return Dn($.rowData)}:void 0}),r.createElement(np,{open:Fn,onClose:function(){return In(!1)}}),r.createElement(Kc,{open:J,tenantId:o,onClose:function(){return Z(!1)},defaultSourcetypeScope:"*",onOpenCreateModal:function(e){ae(e),Z(!1),setTimeout(function(){return te(!0)},100)},onSuccess:function(){}}),r.createElement(Md,{open:ee,tenantId:o,component:Y&&z(Y)?Y:void 0,defaultSourcetypeScope:re,onClose:function(){te(!1),setTimeout(function(){return Z(!0)},100)},onBack:function(){te(!1),setTimeout(function(){return Z(!0)},100)},onSuccess:function(){te(!1),setTimeout(function(){Z(!0)},100)}}),Y&&z(Y)&&["dsm","dhm","mhm"].includes(Y)&&r.createElement(r.Fragment,null,r.createElement(gm,{open:ie,tenantId:o,component:Y,onClose:function(){return le(!1)},onCreateClick:function(){le(!1),ce(!0)},onManageClick:function(){le(!1),pe(!0)}}),r.createElement(Mh,{open:ue,tenantId:o,component:Y,onClose:function(){return ce(!1)},onSuccess:function(){ir()},tenantOwner:null==p?void 0:p.tenant_owner}),r.createElement(Ph,{open:fe,tenantId:o,component:Y,onClose:function(){return pe(!1)},onSuccess:ir,userLevel:b}),r.createElement(g_,{open:ct,tenantId:o,component:Y,onClose:function(){return dt(!1)},onSuccess:ir})),"flx"===Y&&r.createElement(r.Fragment,null,r.createElement(Bh,{open:he,tenantId:o,onClose:function(){return ye(!1)},onCreateUseCaseClick:function(){ye(!1),ve(!0)},onCreateConvergingClick:function(){ye(!1),we(!0)},onManageClick:function(){ye(!1),ke(!0)}}),r.createElement(cy,{open:ge,tenantId:o,onClose:function(){return ve(!1)},onSuccess:function(){ir()},tenantOwner:null==p?void 0:p.tenant_owner}),r.createElement(Cy,{open:Me,tenantId:o,onClose:function(){return we(!1)},onSuccess:function(){ir()},tenantOwner:null==p?void 0:p.tenant_owner}),r.createElement(Iy,{open:xe,tenantId:o,onClose:function(){return ke(!1)},onSuccess:ir,userLevel:b}),r.createElement(k_,{open:pt,tenantId:o,onClose:function(){return mt(!1)},onSuccess:ir}),r.createElement(Vw,{open:Zt,onClose:function(){return Qt(!1)},onOpenDrilldownSearches:function(){return nn(!0)},onOpenDefaultMetrics:function(){return on(!0)},onOpenRenameGroup:function(){return un(!0)}}),r.createElement(oS,{open:tn,tenantId:o,onClose:function(){return nn(!1)},onSuccess:ir}),r.createElement(gS,{open:an,tenantId:o,onClose:function(){return on(!1)},onSuccess:ir}),r.createElement(kS,{open:sn,tenantId:o,onClose:function(){return un(!1)},onSuccess:ir})),"fqm"===Y&&r.createElement(r.Fragment,null,r.createElement(Ry,{open:Ae,tenantId:o,onClose:function(){return Le(!1)},onCreateCimClick:function(){Le(!1),Pe("cim"),De(!0)},onCreateRawClick:function(){Le(!1),Pe("raw"),De(!0)},onCreateMonitorOnlyClick:function(){Le(!1),Pe("monitor"),De(!0)},onManageDictionariesClick:function(){Le(!1),Re(!0)},onManageTrackersClick:function(){Le(!1),Ne(!0)}}),r.createElement(xb,{open:Te,tenantId:o,onClose:function(){return De(!1)},onSuccess:function(){ir()},tenantOwner:null==p?void 0:p.tenant_owner,initialTrackerType:je}),r.createElement(Nb,{open:Ye,tenantId:o,onClose:function(){return Ne(!1)},onSuccess:ir,userLevel:b}),r.createElement(xg,{open:Ie,tenantId:o,onClose:function(){return Re(!1)}}),r.createElement(D_,{open:yt,tenantId:o,onClose:function(){return bt(!1)},onSuccess:ir})),"wlk"===Y&&r.createElement(r.Fragment,null,r.createElement(kg,{open:He,tenantId:o,onClose:function(){return qe(!1)},onExecuteClick:function(){Wn({type:"info",title:"Execute tracker",message:"Execute tracker functionality will be implemented soon."})},onCreateClick:function(){qe(!1),Ue(!0)},onManageClick:function(){qe(!1),Ke(!0)}}),r.createElement(Jg,{open:Ve,tenantId:o,onClose:function(){return Ue(!1)},onSuccess:function(){ir()},tenantOwner:null==p?void 0:p.tenant_owner}),r.createElement(dv,{open:Ge,tenantId:o,onClose:function(){return Ke(!1)},onSuccess:ir,userLevel:b}),r.createElement(F_,{open:vt,tenantId:o,onClose:function(){return _t(!1)},onSuccess:ir})),r.createElement(fv,{open:Ze,onClose:function(){return Qe(!1)},onManageSharedClick:function(){Qe(!1),ot(!0)},onManageDedicatedClick:function(){Qe(!1),st(!0)},onCreateClick:function(){Qe(!1),nt(!0)}}),r.createElement(Pv,{open:tt,tenantId:o,onClose:function(){return nt(!1)},onSuccess:function(){ir()},tenantOwner:null==p?void 0:p.tenant_owner}),r.createElement(Gv,{open:at,tenantId:o,onClose:function(){return ot(!1)},onSuccess:ir}),r.createElement(n_,{open:lt,tenantId:o,onClose:function(){return st(!1)},onSuccess:ir}),r.createElement(d_,{open:wt,tenantId:o,onClose:function(){return St(!1)},onSuccess:ir}),Y&&z(Y)&&r.createElement(r.Fragment,null,r.createElement(K_,{open:kt,tenantId:o,component:Y,onClose:function(){return Ct(!1)},onSuccess:function(){ir()},userLevel:b}),["dsm","dhm"].includes(Y)&&r.createElement(lM,{open:At,tenantId:o,component:Y,onClose:function(){return Lt(!1)},onSuccess:function(){ir()},userLevel:b}),["dsm","dhm","mhm","flx"].includes(Y)&&r.createElement(gM,{open:Tt,tenantId:o,component:Y,onClose:function(){return Dt(!1)},onSuccess:function(){ir()},userLevel:b}),"mhm"===Y&&r.createElement(LM,{open:jt,tenantId:o,onClose:function(){return Pt(!1)},onSuccess:function(){ir()},userLevel:b}),r.createElement(BM,{open:Yt,tenantId:o,component:Y,onClose:function(){return Nt(!1)},onSuccess:function(){ir()},userLevel:b}),r.createElement(UM,{open:It,tenantId:o,component:Y,onClose:function(){return Rt(!1)},onSuccess:function(){ir()},userLevel:b}),r.createElement(aw,{open:Ht,tenantId:o,component:Y,onClose:function(){return qt(!1)},onSuccess:function(){ir()},userLevel:b}),r.createElement(Il,{open:Vt,tenantId:o,component:Y,onClose:function(){return Ut(!1)},onSuccess:function(){ir()},userLevel:b}),r.createElement(hw,{open:Gt,tenantId:o,component:Y,onClose:function(){return Kt(!1)},onSuccess:function(){ir()}})),Y&&["dsm","dhm"].includes(Y)&&r.createElement(r.Fragment,null,r.createElement(Bw,{open:dn,onClose:function(){return fn(!1)}}),r.createElement(Xw,{open:mn,onClose:function(){return hn(!1)}})),Sn&&_n&&r.createElement(Ew,{open:bn,tenantId:o,object:_n.object||null,objectCategory:"splk-".concat(Sn),keyid:_n.keyid||null,onClose:function(){gn(!1),Mn(null),xn(null)},onSuccess:function(){ir()}})))}function YS(){var e=Ce().colorScheme;r.useEffect(function(){var t=document.body.style.cssText;return"light"===e?(document.body.style.backgroundColor="#ffffff",document.body.style.color="#1a1a1a"):(document.body.style.backgroundColor="#1a1a1a",document.body.style.color="#ffffff"),function(){document.body.style.cssText=t}},[e]);var t=r.useMemo(function(){return"light"===e?{background:"#ffffff",text:"#1a1a1a"}:{background:"#1a1a1a",text:"#ffffff"}},[e]);return r.createElement(a.SplunkThemeProvider,{family:"prisma",colorScheme:e,density:"compact"},r.createElement("style",null,"\n body {\n background-color: ".concat(t.background," !important;\n color: ").concat(t.text," !important;\n }\n ")),r.createElement(BS,null))}function NS(){var e=function(e){var t=ue(r.useState({loading:!0,error:null,tenant:null,meta:null,lastRefresh:new Date,license:null}),2),n=t[0],a=t[1],o=r.useRef(null),i=r.useCallback(se(ne().m(function t(){var n,r,i,l,s,u,c,d,f;return ne().w(function(t){for(;;)switch(t.p=t.n){case 0:if(e){t.n=1;break}return a(function(e){return oe(oe({},e),{},{loading:!1,error:"No tenant_id provided",tenant:null})}),t.a(2);case 1:return t.p=1,a(function(e){return oe(oe({},e),{},{loading:!0,error:null})}),null===(n=o.current)||void 0===n||n.abort(),o.current=new AbortController,t.n=2,Promise.all([Q(),ee()]);case 2:if(i=t.v,l=ue(i,2),s=l[0],u=l[1],c=Array.isArray(null==s||null===(r=s.tenants_json)||void 0===r?void 0:r.tenants)?s.tenants_json.tenants:[],d=c.find(function(t){return t.tenant_id===e})||null){t.n=3;break}return a({loading:!1,error:'Tenant "'.concat(e,'" not found'),tenant:null,meta:{username:s.username,vtenants_count:s.vtenants_count,vtenants_count_active:s.vtenants_count_active,user_level:s.user_level,colorTheme:s.colorTheme,ui_default_theme:s.ui_default_theme,ui_auto_refresh:s.ui_auto_refresh},lastRefresh:new Date,license:u}),t.a(2);case 3:a({loading:!1,error:null,tenant:d,meta:{username:s.username,vtenants_count:s.vtenants_count,vtenants_count_active:s.vtenants_count_active,user_level:s.user_level,colorTheme:s.colorTheme,ui_default_theme:s.ui_default_theme,ui_auto_refresh:s.ui_auto_refresh},lastRefresh:new Date,license:u}),t.n=5;break;case 4:t.p=4,f=t.v,a(function(e){return oe(oe({},e),{},{loading:!1,error:(null==f?void 0:f.message)||String(f)})});case 5:return t.a(2)}},t,null,[[1,4]])})),[e]);return r.useEffect(function(){return i(),function(){var e;null===(e=o.current)||void 0===e||e.abort()}},[i]),oe(oe({},n),{},{reloadTenant:i,lastRefreshHuman:W().unix(Math.floor(n.lastRefresh.getTime()/1e3)).format("YYYY-MM-DD HH:mm:ss")})}(r.useMemo(function(){return{tenant_id:new URLSearchParams(window.location.search).get("tenant_id")}},[]).tenant_id),t=r.useMemo(function(){var t,n=null===(t=e.meta)||void 0===t?void 0:t.ui_default_theme;return"light"===n||"dark"===n?n:"dark"},[e.meta]);return r.createElement(jS.Provider,{value:e},r.createElement(ke,{defaultTheme:t},r.createElement(YS,null)))}const FS=function(){return r.createElement(NS,null)}},11377(e,t,n){var r=n(15849),a=n(48769);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},11387(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(99420))},11402(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(99420))},11454(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(5169),i=n(56777);t.take=function(e){return function(t){return 0===e?new i.EmptyObservable:t.lift(new l(e))}};var l=function(){function e(e){if(this.total=e,this.total<0)throw new o.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){e.call(this,t),this.total=n,this.count=0}return r(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(a.Subscriber)},11482(e,t,n){"use strict";var r=n(91638),a=n(98950);r.Observable.prototype.toArray=a.toArray},11614(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(99420))},11717(e,t,n){var r=n(85100);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},11791(e,t,n){var r=n(311);e.exports=function(e){return"function"==typeof e?e:r}},11819(e){var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{default:()=>l}),e.exports=(t=i,((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))o.call(e,i)||undefined===i||n(e,i,{get:()=>t[i],enumerable:!(l=r(t,i))||l.enumerable});return e})(n({},"__esModule",{value:!0}),t));var l={visualizations_useWebWorkersForDSL:!1,visualizations_enableTrellis:!1,visualizations_enableAcceleratedRender:!1,visualizations_enableEventsViewerTags:!1,visualizations_enableDownsampling:!1,visualizations_lazyLoadingDataFrame:!0,visualizations_bypassCloneDeepOptionScope:!0,visualizations_enableBubbleMapIcon:!1,visualizations_enableTooltipIcon:!1}},12125(e,t,n){"use strict";var r=n(47388);t.findIndex=function(e,t){return r.findIndex(e,t)(this)}},12231(e){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(99420))},13143(e){e.exports=function(e){var t,n;return e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g")),e._compiled}},13257(e,t,n){var r=n(48877),a=n(89862),o=n(54825),i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}},13292(e,t,n){"use strict";var r=n(91638),a=n(92312);r.Observable.prototype.min=a.min},13325(e,t,n){"use strict";var r=n(91638),a=n(90257);r.Observable.merge=a.merge},13339(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>v});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672);var d=u().hr.withConfig({displayName:"DividerStyles__StyledRule",componentId:"gl6kyz-0"})(["",";",";border-color:",";"],c.mixins.reset("block"),(0,c.pickVariant)("$orientation",{horizontal:(0,s.css)(["border-top-style:solid;border-width:1px;"]),vertical:(0,s.css)(["display:inline;border-left-style:solid;border-width:1px;"])}),(0,c.pickVariant)("$appearance",{default:c.variables.borderColor,weak:c.variables.borderColorWeak,strong:c.variables.borderColorStrong}));function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&s>l&&(s=l);for(var u=0;u=0?(c=m.substr(0,h),d=m.substr(h+1)):(c=m,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),t(o,f)?Array.isArray(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o}},13649(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 11.8652C15.5 13.7982 13.933 15.3652 12 15.3652C10.067 15.3652 8.5 13.7982 8.5 11.8652C8.5 9.93224 10.067 8.36523 12 8.36523C13.933 8.36523 15.5 9.93224 15.5 11.8652ZM13.5 11.8652C13.5 12.6937 12.8284 13.3652 12 13.3652C11.1716 13.3652 10.5 12.6937 10.5 11.8652C10.5 11.0368 11.1716 10.3652 12 10.3652C12.8284 10.3652 13.5 11.0368 13.5 11.8652Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.377 1.86523C9.70725 1.86523 9.11867 2.3092 8.93468 2.95315L8.24602 5.36348L5.8143 4.75472C5.16462 4.59208 4.48585 4.87982 4.15099 5.45982L2.52814 8.27067C2.19328 8.85067 2.28348 9.58237 2.74916 10.0637L4.49223 11.8652L2.74916 13.6668C2.28348 14.1481 2.19328 14.8798 2.52814 15.4598L4.15099 18.2707C4.48585 18.8507 5.16463 19.1384 5.8143 18.9758L8.24603 18.367L8.93468 20.7773C9.11867 21.4213 9.70725 21.8652 10.377 21.8652H13.6227C14.2924 21.8652 14.881 21.4213 15.065 20.7773L15.7536 18.367L18.1853 18.9758C18.835 19.1384 19.5138 18.8507 19.8486 18.2707L21.4715 15.4598C21.8064 14.8798 21.7162 14.1481 21.2505 13.6668L19.5074 11.8652L21.2505 10.0637C21.7162 9.58237 21.8064 8.85067 21.4715 8.27067L19.8486 5.45981C19.5138 4.87982 18.835 4.59208 18.1853 4.75472L15.7536 5.36348L15.065 2.95315C14.881 2.3092 14.2924 1.86523 13.6227 1.86523H10.377ZM9.9303 6.74859L10.7541 3.86523H13.2455L14.0693 6.74859L14.4619 6.94548C14.6571 7.04343 14.8459 7.15272 15.0272 7.27252L15.3944 7.51513L18.3052 6.78644L19.5509 8.94405L17.4647 11.1002L17.4903 11.5384C17.4966 11.6465 17.4998 11.7554 17.4998 11.8652C17.4998 11.9751 17.4966 12.084 17.4903 12.192L17.4647 12.6303L19.5509 14.7864L18.3052 16.9441L15.3943 16.2154L15.0272 16.458C14.8459 16.5778 14.6571 16.687 14.4619 16.785L14.0693 16.9819L13.2455 19.8652H10.7541L9.9303 16.9819L9.53778 16.785C9.34251 16.687 9.15379 16.5778 8.97249 16.458L8.6053 16.2154L5.69446 16.944L4.44877 14.7864L6.53494 12.6303L6.50934 12.192C6.50303 12.084 6.49982 11.9751 6.49982 11.8652C6.49982 11.7554 6.50303 11.6465 6.50934 11.5384L6.53494 11.1002L4.44877 8.94405L5.69446 6.78644L8.60528 7.51513L8.97247 7.27252C9.15377 7.15272 9.3425 7.04343 9.53778 6.94548L9.9303 6.74859Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.93493 3.08792C9.11891 2.44397 9.7075 2 10.3772 2H13.6229C14.2926 2 14.8812 2.44397 15.0652 3.08792L15.7539 5.49824L18.1856 4.88948C18.8353 4.72684 19.514 5.01459 19.8489 5.59458L21.4717 8.40544C21.8066 8.98543 21.7164 9.71714 21.2507 10.1985L19.5077 12L21.2507 13.8016C21.7164 14.2829 21.8066 15.0146 21.4717 15.5946L19.8489 18.4054C19.514 18.9854 18.8353 19.2732 18.1856 19.1105L15.7539 18.5018L15.0652 20.9121C14.8812 21.556 14.2926 22 13.6229 22H10.3772C9.70749 22 9.11891 21.556 8.93493 20.9121L8.24627 18.5018L5.81454 19.1105C5.16487 19.2732 4.48609 18.9854 4.15123 18.4054L2.52838 15.5946C2.19353 15.0146 2.28372 14.2829 2.74941 13.8016L4.49247 12L2.74941 10.1985C2.28372 9.71714 2.19352 8.98543 2.52838 8.40544L4.15123 5.59458C4.48609 5.01459 5.16487 4.72684 5.81454 4.88948L8.24626 5.49824L8.93493 3.08792ZM12.0001 15C13.6569 15 15.0001 13.6569 15.0001 12C15.0001 10.3431 13.6569 9 12.0001 9C10.3432 9 9.00006 10.3431 9.00006 12C9.00006 13.6569 10.3432 15 12.0001 15Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>$});const a=n(14041);var o=t.n(a);const i=n(84505);var l=t.n(i);const s=n(36728);var u=t.n(s);const c=n(94241);var d=t.n(c);const f=n(56505);var p=t.n(f);const m=n(39067);var h=t.n(m);const y=n(38282);var b=t.n(y);const g=n(91659);var v=t.n(g);const _=n(53057);var M=t.n(_);const w=n(33199);var S=t.n(w);const x=n(18672);var k=x.variables.spacingSmall,C=(0,x.pick)({comfortable:"5px",compact:"3px"}),E=M()(S()).withConfig({displayName:"TextAreaStyles__StyledBox",componentId:"gfy8yp-0"})(["display:grid;grid-template-columns:[startAdornment] min-content [content] minmax(0,1fr) [endAdornment] min-content;position:relative;min-height:",";overflow:hidden;border:"," solid ",";border-radius:",";background-color:",";box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);align-items:center;padding:"," ",";&:hover:not([disabled]){border-color:",";}&:not([disabled]):has(textarea:focus){box-shadow:",";color:",";}"," "," "," "," ",""],x.variables.inputHeight,x.variables.inputBorderWidth,x.variables.interactiveColorBorder,x.variables.borderRadius,x.variables.interactiveColorBackground,C,k,x.variables.interactiveColorBorderHover,x.variables.focusShadow,x.variables.contentColorActive,function(e){return e.$error&&(0,_.css)(["border-color:",";&:hover:not([disabled]){border-color:",";}"],x.variables.interactiveColorAccentError,x.variables.interactiveColorAccentErrorStrong)},function(e){return e.$append&&(0,_.css)(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"])},function(e){return e.$prepend&&(0,_.css)(["border-top-left-radius:0;border-bottom-left-radius:0;"])},function(e){return e.disabled&&(0,_.css)(["background-color:",";border-color:",";box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);"],x.variables.interactiveColorBackgroundDisabled,x.variables.interactiveColorBorderDisabled)},function(e){return e.$inline&&(0,_.css)(["display:inline-grid;width:",";"],"230px")}),A=M().div.withConfig({displayName:"TextAreaStyles__StyledTextAreaAndShadowWrapper",componentId:"gfy8yp-1"})(["",";position:relative;overflow:hidden;flex-grow:1;grid-column:content;"],x.mixins.reset("inline-flex")),L=M().textarea.withConfig({displayName:"TextAreaStyles__StyledTextArea",componentId:"gfy8yp-2"})(["",";color:",";position:relative;resize:none;overflow:auto;white-space:pre-wrap;width:100%;line-height:20px;&::placeholder{color:",";opacity:1;}&[disabled]{cursor:not-allowed;color:",";&::placeholder{color:",";}}"],x.mixins.reset(),x.variables.contentColorActive,x.variables.contentColorMuted,x.variables.contentColorDisabled,x.variables.contentColorDisabled),O=M()(L).withConfig({displayName:"TextAreaStyles__StyledTextAreaShadow",componentId:"gfy8yp-3"})(["position:absolute;overflow:hidden;left:-10000px;top:-10000px;visibility:hidden;pointer-events:none;"]),T=(0,_.css)(["display:inline-flex;min-height:1lh;align-self:start;align-items:center;justify-content:center;pointer-events:none;color:",";",";"],x.variables.contentColorMuted,function(e){return e.$disabled&&(0,_.css)(["cursor:not-allowed;color:",";"],x.variables.contentColorDisabled)}),D=M().div.withConfig({displayName:"TextAreaStyles__StyledStartAdornment",componentId:"gfy8yp-4"})([""," grid-column:startAdornment;margin-inline-end:",";"],T,x.variables.spacingSmall),z=M().div.withConfig({displayName:"TextAreaStyles__StyledEndAdornment",componentId:"gfy8yp-5"})([""," grid-column:endAdornment;margin-inline-start:",";"],T,x.variables.spacingSmall);"undefined"!=typeof document&&document;var j={document:{body:{appendChild:function(){return[]}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};const P="undefined"!=typeof window?window:j;function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=r){var d=n*l+s+u;c=Math.min(d,c)}var f=r*l+s+u;if(t!==(c=Math.max(f,c)))return c}return!1}({height:ye,rowsMax:ae,rowsMin:ne,shadow:ve.current});!1!==e&&be(e)},[be,ve,ae,ne,ye]),Le=(0,a.useMemo)(function(){return p()(Ae,100)},[Ae]);(0,a.useLayoutEffect)(function(){Ae()});var Oe=I(I({},d()(ce,function(e,t){return"role"===t||0===t.indexOf("aria-")})),{},{"aria-describedby":g,"aria-labelledby":F,"aria-invalid":S||void 0}),Te=u()(ce,["inputRef","onBlur","onChange","onFocus","onKeyDown","onSelect","onInputClick"].concat(N(l()(Oe)))),De={$append:n||void 0,$error:S,$prepend:Q||void 0},ze=I(I({},Oe),{},{"data-test":"textbox",autoCapitalize:r,autoComplete:i,autoCorrect:s,autoFocus:f,className:T,disabled:y,id:j,maxLength:R,name:H,onBlur:Ce,onChange:Ee,onFocus:ke,onKeyDown:we,onSelect:Se,onClick:xe,placeholder:J,ref:Me,required:ee,spellCheck:oe,style:{height:ye},tabIndex:se,value:_e,$error:S});return o().createElement(o().Fragment,null,o().createElement(E,Y({tabIndex:-1,"data-test":"text-area","data-test-value":_e,"data-test-disabled":y?"disabled":void 0,elementRef:M,$inline:C,disabled:y},Te,De),ie&&o().createElement(D,{$disabled:!!y},ie),o().createElement(A,null,o().createElement(O,{"aria-hidden":"true",tabIndex:-1,onChange:V,rows:ne,ref:ve,value:J&&!_e?J:_e}),o().createElement(L,ze)),m,x&&o().createElement(z,{$disabled:!!y},x)),o().createElement(b(),{target:P,eventType:"resize",listener:Le}))}U.propTypes=X,U.componentType="TextArea";const $=U;e.exports=r})()},13937(e,t,n){"use strict";var r=n(86119);t.combineAll=function(e){return function(t){return t.lift(new r.CombineLatestOperator(e))}}},13953(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"})},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(99420))},13957(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 3H18.5C19.8807 3 21 4.11929 21 5.5V18.5C21 19.8807 19.8807 21 18.5 21H5.5C4.11929 21 3 19.8807 3 18.5V5.5C3 4.11929 4.11929 3 5.5 3ZM5.5 5C5.22386 5 5 5.22386 5 5.5V18.5C5 18.7761 5.22386 19 5.5 19H18.5C18.7761 19 19 18.7761 19 18.5V5.5C19 5.22386 18.7761 5 18.5 5H5.5Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M18.28 2.86548H5.28003C3.89932 2.86548 2.78003 3.98477 2.78003 5.36548V18.3655C2.78003 19.7462 3.89932 20.8655 5.28003 20.8655H18.28C19.6607 20.8655 20.78 19.7462 20.78 18.3655V5.36548C20.78 3.98477 19.6607 2.86548 18.28 2.86548Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rt.focus()),t}return e.hasAttribute("tabIndex")?((0,r.defer)(()=>e.focus()),e):null},t.handleFocus=function(e,n,r,{enableLoop:a=!1,orientation:o="horizontal",enableTab:i=!1,enableHomeEnd:l=!0}={}){var s,u;const c=n.length;if(!i&&"Tab"===e)return void(0,t.updateTabIndex)(0,n);const d=(0,t.getNewIndex)(e,c,r,{enableLoop:a,orientation:o,enableTab:i,enableHomeEnd:l});d>=0&&d{const r=e,a=n||r.tabIndex>=0;return!(0,t.isHidden)(r)&&a||r===document.activeElement}).reduce((e,t)=>{const n=e[e.length-1],r="radio"===(null==n?void 0:n.getAttribute("type")),a="radio"===t.getAttribute("type"),o=t.getAttribute("name")===(null==n?void 0:n.getAttribute("name"));return r&&a&&o?t.checked&&(e.pop(),e.push(t)):e.push(t),e},[]);return(0,r.sortBy)(s,e=>e.tabIndex>0?-1/e.tabIndex:0)}function l(e){return!("Tab"!==e.key||e.metaKey||e.altKey||e.ctrlKey)}t.isHidden=e=>e.getClientRects().length>0&&(0===e.offsetWidth||0===e.offsetHeight)||!(e=>{const t=(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})(e),n=(e=>!e.hasAttribute("hidden")&&!e.hasAttribute("inert"))(e);return t&&n})(e);const s=Object.freeze({NONE:"none",NEXT:"next",PREVIOUS:"previous"});t.calculateIndex=({itemsLength:e,currentIndex:t,direction:n,enableLoop:r})=>{if(n===s.NONE||![s.NONE,s.NEXT,s.PREVIOUS].includes(n))return t;const a=n===s.NEXT?1:-1;if(!r){const n=t+a;return n>=e||n<0?t:n}return(t+a+e)%e},t.getNewIndex=(e,n,r,{enableLoop:a,orientation:o,enableTab:i,enableHomeEnd:l})=>{if(r<0||r>=n)return 0;if("Home"===e)return l?0:-1;if("End"===e)return l?n-1:-1;let u=s.NONE;return"horizontal"===o?("ArrowLeft"===e&&(u=s.PREVIOUS),"ArrowRight"===e&&(u=s.NEXT)):"vertical"===o&&("ArrowUp"===e&&(u=s.PREVIOUS),"ArrowDown"===e&&(u=s.NEXT)),i&&("tabShift"===e&&(u=s.PREVIOUS),"Tab"===e&&(u=s.NEXT)),u!==s.NONE?(0,t.calculateIndex)({itemsLength:n,currentIndex:r,direction:u,enableLoop:a}):-1},t.updateTabIndex=(e,t)=>{t.forEach((t,n)=>t.setAttribute("tabindex",n===e?"0":"-1"))}},14512(e,t,n){"use strict";var r=n(91638),a=n(27540);r.Observable.prototype.buffer=a.buffer},14530(e,t,n){"use strict";var r=n(90885);t.distinct=function(e,t){return r.distinct(e,t)(this)}},14729(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>P});const a=n(14041);var o=t.n(a);const i=n(94241);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(66115),d=n(53057);var f=t.n(d);const p=n(99716);var m=t.n(p);const h=n(41166);var y=t.n(h);const b=n(18672);var g="5 5 16 16",v="20px",_=f().input.attrs({type:"checkbox"}).withConfig({displayName:"CheckboxStyles__StyledCheckbox",componentId:"sc-1yo50j-0"})(["height:100%;margin:0;opacity:0;position:absolute;width:100%;cursor:pointer;&:disabled{cursor:not-allowed;}"]),M=(0,d.css)(["display:none;height:",";width:",";"],v,v),w=f()(m()).attrs({viewBox:g}).withConfig({displayName:"CheckboxStyles__StyledCheckIcon",componentId:"sc-1yo50j-1"})(["",""],M),S=f()(y()).attrs({viewBox:g}).withConfig({displayName:"CheckboxStyles__StyledIndeterminateIcon",componentId:"sc-1yo50j-2"})(["",""],M),x=f().div.withConfig({displayName:"CheckboxStyles__StyledCheckboxWrapper",componentId:"sc-1yo50j-3"})(["display:inline-block;box-sizing:border-box;position:relative;width:",";height:",";line-height:",";border-radius:",";border:"," solid ",";background-color:",";cursor:pointer;flex:0 0 auto;&:has(",":checked){","{display:block;}}&:has(",":indeterminate){","{display:block;}}&:has(",":focus){box-shadow:",";}color:",";"," &:has(",":disabled){border-color:",";background-color:",";color:",";cursor:not-allowed;&:has(",":where(:checked,:indeterminate)){background-color:",";border-color:",";}}"],v,v,v,b.variables.borderRadius,b.variables.inputBorderWidth,b.variables.interactiveColorBorder,b.variables.interactiveColorBackground,_,w,_,S,_,b.variables.focusShadow,(0,b.pick)({light:b.variables.white,dark:b.variables.black}),function(e){return e.$error?(0,d.css)(["border-color:",";&:has(",":where(:checked,:indeterminate)){background-color:",";}"],b.variables.interactiveColorAccentError,_,b.variables.interactiveColorAccentError):(0,d.css)(["&:has(",":where(:checked,:indeterminate)){background-color:",";border-color:",";}"],_,b.variables.interactiveColorAccent,b.variables.interactiveColorAccent)},_,b.variables.interactiveColorBorderDisabled,b.variables.interactiveColorBackgroundDisabled,b.variables.contentColorDisabled,_,b.variables.neutral100,b.variables.interactiveColorBackgroundDisabled),k=f().label.withConfig({displayName:"CheckboxStyles__StyledLabel",componentId:"sc-1yo50j-4"})(["cursor:inherit;"]),C=f().div.withConfig({displayName:"CheckboxStyles__StyledWrapper",componentId:"sc-1yo50j-5"})(["",";position:relative;flex-shrink:0;gap:",";min-height:",";align-items:center;color:",";cursor:pointer;:has(",":disabled){color:",";cursor:not-allowed;}&:not(:has(",":disabled)){&:hover ","{","}}"],b.mixins.reset("flex"),b.variables.spacingSmall,b.variables.inputHeight,b.variables.contentColorActive,_,b.variables.contentColorDisabled,_,x,function(e){return e.$error?(0,d.css)([":has(",":where(:checked,:indeterminate)){background-color:",";border-color:",";}border-color:",";background-color:",";"],_,b.variables.interactiveColorAccentError,b.variables.interactiveColorAccentError,b.mixins.overlayColors(b.variables.interactiveColorAccentError,b.variables.interactiveColorBorderHover),b.mixins.overlayColors(b.variables.interactiveColorBackground,b.variables.interactiveColorOverlayHover)):(0,d.css)([":has(",":where(:checked,:indeterminate)){background-color:",";border-color:",";}border-color:",";background-color:",";"],_,b.mixins.overlayColors(b.variables.interactiveColorAccent,b.variables.interactiveColorOverlayHover),b.variables.interactiveColorAccent,b.variables.interactiveColorBorderHover,b.mixins.overlayColors(b.variables.interactiveColorBackground,b.variables.interactiveColorOverlayHover))});function E(e,t){e&&("function"==typeof e?e(t):e.current=t)}function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(99420))},15457(e,t,n){"use strict";var r=n(54980);t.bufferCount=function(e,t){return void 0===t&&(t=null),r.bufferCount(e,t)(this)}},15462(e,t,n){"use strict";var r=n(91638),a=n(58474);r.Observable.if=a._if},15471(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741);t.map=function(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}};var o=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new i(e,this.project,this.thisArg))},e}();t.MapOperator=o;var i=function(e){function t(t,n,r){e.call(this,t),this.project=n,this.count=0,this.thisArg=r||this}return r(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(a.Subscriber)},15751(e,t,n){var r=n(68999);e.exports=function(e,t){return e&&e.length&&t&&t.length?r(e,t):e}},15788(e,t,n){"use strict";var r=n(68229);t.pairs=r.PairsObservable.create},15849(e,t,n){var r=n(85484),a=n(98048),o=n(38183),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},15937(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function m(){var e={line:d,column:f};return function(t){return t.position=new h(e),v(),t}}function h(e){this.start=e,this.end={line:d,column:f},this.source=s.source}h.prototype.content=e;var y=[];function b(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n;y.push(n)}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(){g(r)}function _(e){var t;for(e=e||[];t=M();)!1!==t&&e.push(t);return e}function M(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return b("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function w(){var e=m(),n=g(a);if(n){if(M(),!g(o))return b("property missing ':'");var r=g(i),s=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return g(l),s}}return v(),function(){var e,t=[];for(_(t);e=w();)!1!==e&&(t.push(e),_(t));return t}()}},16090(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{SingleOpenPanelGroup:()=>V,default:()=>ne});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(33623);var u=t.n(s);const c=n(91659);var d=t.n(c);const f=n(50824);var p=t.n(f);const m=n(66115),h=n(53057);var y=t.n(h);const b=n(38315);var g=t.n(b);const v=n(33199);var _=t.n(v);const M=n(8710);var w=t.n(M);const S=n(43594);var x=t.n(S);const k=n(18672);var C=y()(_()).withConfig({displayName:"CollapsiblePanelStyles__StyledBox",componentId:"sc-1phikbp-0"})(["display:flex;flex-direction:column;flex-shrink:1;min-height:28px;background-color:",";& + &{margin-top:1px;}"],(0,k.pickVariant)("$appearance",{default:{prisma:k.variables.backgroundColorSection,enterprise:{dark:k.variables.gray22,light:k.variables.white}},subtle:k.variables.transparent})),E=y()(_()).withConfig({displayName:"CollapsiblePanelStyles__StyledSingleOpenPanelGroupBox",componentId:"sc-1phikbp-1"})(["",";flex-direction:column;margin-bottom:0;"],k.mixins.reset("flex")),A=(0,h.css)(["min-width:16px;"]),L=y().span.withConfig({displayName:"CollapsiblePanelStyles__StyledIconWrapper",componentId:"sc-1phikbp-2"})(["display:inline-block;flex:0 auto;",""],A),O=y().div.withConfig({displayName:"CollapsiblePanelStyles__StyledActions",componentId:"sc-1phikbp-3"})(["display:flex;flex-shrink:0;border-bottom:0;gap:",";position:relative;padding:"," ",";transition:background-color 0.2s,border 0.2s,box-shadow 0.2s;color:",";background-color:",";",""],k.variables.spacingSmall,k.variables.spacingXSmall,k.variables.spacingLarge,k.variables.contentColorActive,(0,k.pickVariant)("$appearance",{default:k.variables.neutral100,subtle:k.variables.transparent}),function(e){return e.$disabled&&(0,h.css)(["color:",";"],k.variables.contentColorDisabled)}),T=y()(w()).withConfig({displayName:"CollapsiblePanelStyles__StyledToggleButton",componentId:"sc-1phikbp-4"})(["flex:0 auto;padding:0;min-width:28px;line-height:",";"],k.variables.lineHeight),D=y()(x()).withConfig({displayName:"CollapsiblePanelStyles__StyledTitleClickable",componentId:"sc-1phikbp-5"})(["width:100%;flex-shrink:0;border-bottom:0;gap:",";cursor:pointer;position:relative;display:flex;transition:background-color 0.2s,border 0.2s,box-shadow 0.2s;padding:"," ",";color:",";background-color:",";&[disabled],&[aria-disabled='true']{cursor:not-allowed;color:",";}&:focus:not([disabled]),&:active:not([disabled],[aria-disabled='true']){box-shadow:",";z-index:1;}&:hover:not([disabled],[aria-disabled='true']){background-color:",";}"],k.variables.spacingSmall,k.variables.spacingXSmall,k.variables.spacingLarge,k.variables.contentColorActive,(0,k.pickVariant)("$appearance",{default:k.variables.neutral100,subtle:k.variables.transparent}),k.variables.contentColorDisabled,k.variables.focusShadowInset,k.mixins.overlayColors(k.variables.neutral100,k.variables.interactiveColorOverlayHover)),z=y().span.withConfig({displayName:"CollapsiblePanelStyles__StyledHeadingContent",componentId:"sc-1phikbp-6"})(["display:flex;justify-content:space-between;flex:1 1 auto;font-weight:",";line-height:",";",""],k.variables.fontWeightSemiBold,k.variables.lineHeight,function(e){return e.$disabled&&(0,h.css)(["color:",";"],k.variables.contentColorDisabled)}),j=y().span.withConfig({displayName:"CollapsiblePanelStyles__StyledHeadingActions",componentId:"sc-1phikbp-7"})(["min-height:",";"],k.variables.inputHeight),P=y().span.withConfig({displayName:"CollapsiblePanelStyles__StyledDescription",componentId:"sc-1phikbp-8"})(["color:",";font-size:",";margin-left:",";line-height:1.8;",""],k.variables.contentColorDefault,k.variables.fontSizeSmall,k.variables.spacingSmall,function(e){return e.$disabled&&(0,h.css)(["color:",";"],k.variables.contentColorDisabled)}),B=y().div.withConfig({displayName:"CollapsiblePanelStyles__StyledInsetWrapper",componentId:"sc-1phikbp-9"})(["",";gap:",";",""],k.mixins.reset("block"),k.variables.spacingSmall,function(e){return e.$inset&&(0,h.css)(["padding:",";"],k.variables.spacingLarge)}),Y=y()(g()).withConfig({displayName:"CollapsiblePanelStyles__StyledExpandPanelIcon",componentId:"sc-1phikbp-10"})(["transition:transform 200ms;"," width:100%;vertical-align:text-bottom;"],function(e){return e.$open&&(0,h.css)(["transform:rotate(90deg);"])});const N=n(36728);var F=t.n(N);const I=(0,a.createContext)({});function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(99420))},16230(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(99420))},16410(e,t,n){var r=n(54825);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},16699(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},16716(e,t,n){"use strict";var r=n(91638),a=n(32112);r.Observable.prototype.zipAll=a.zipAll},16732(e,t,n){"use strict";var r=n(20798),a=n(10155);t.asap=new a.AsapScheduler(r.AsapAction)},16878(e,t,n){"use strict";var r=n(52266);t.audit=r.audit;var a=n(49103);t.auditTime=a.auditTime;var o=n(54319);t.buffer=o.buffer;var i=n(54980);t.bufferCount=i.bufferCount;var l=n(82826);t.bufferTime=l.bufferTime;var s=n(48579);t.bufferToggle=s.bufferToggle;var u=n(39247);t.bufferWhen=u.bufferWhen;var c=n(35606);t.catchError=c.catchError;var d=n(13937);t.combineAll=d.combineAll;var f=n(86119);t.combineLatest=f.combineLatest;var p=n(18177);t.concat=p.concat;var m=n(17646);t.concatAll=m.concatAll;var h=n(99599);t.concatMap=h.concatMap;var y=n(82498);t.concatMapTo=y.concatMapTo;var b=n(39985);t.count=b.count;var g=n(96586);t.debounce=g.debounce;var v=n(69039);t.debounceTime=v.debounceTime;var _=n(73258);t.defaultIfEmpty=_.defaultIfEmpty;var M=n(63506);t.delay=M.delay;var w=n(43454);t.delayWhen=w.delayWhen;var S=n(74049);t.dematerialize=S.dematerialize;var x=n(90885);t.distinct=x.distinct;var k=n(90937);t.distinctUntilChanged=k.distinctUntilChanged;var C=n(92188);t.distinctUntilKeyChanged=C.distinctUntilKeyChanged;var E=n(27176);t.elementAt=E.elementAt;var A=n(89046);t.every=A.every;var L=n(1823);t.exhaust=L.exhaust;var O=n(93281);t.exhaustMap=O.exhaustMap;var T=n(27325);t.expand=T.expand;var D=n(3103);t.filter=D.filter;var z=n(82259);t.finalize=z.finalize;var j=n(58114);t.find=j.find;var P=n(47388);t.findIndex=P.findIndex;var B=n(62131);t.first=B.first;var Y=n(45479);t.groupBy=Y.groupBy;var N=n(10714);t.ignoreElements=N.ignoreElements;var F=n(68028);t.isEmpty=F.isEmpty;var I=n(40221);t.last=I.last;var R=n(15471);t.map=R.map;var W=n(6242);t.mapTo=W.mapTo;var H=n(56504);t.materialize=H.materialize;var q=n(93799);t.max=q.max;var X=n(1769);t.merge=X.merge;var V=n(57638);t.mergeAll=V.mergeAll;var U=n(35671);t.mergeMap=U.mergeMap;var $=n(35671);t.flatMap=$.mergeMap;var G=n(20154);t.mergeMapTo=G.mergeMapTo;var K=n(62552);t.mergeScan=K.mergeScan;var J=n(41565);t.min=J.min;var Z=n(77375);t.multicast=Z.multicast;var Q=n(84176);t.observeOn=Q.observeOn;var ee=n(89662);t.onErrorResumeNext=ee.onErrorResumeNext;var te=n(8945);t.pairwise=te.pairwise;var ne=n(92043);t.partition=ne.partition;var re=n(42704);t.pluck=re.pluck;var ae=n(93902);t.publish=ae.publish;var oe=n(17924);t.publishBehavior=oe.publishBehavior;var ie=n(75450);t.publishLast=ie.publishLast;var le=n(83821);t.publishReplay=le.publishReplay;var se=n(79896);t.race=se.race;var ue=n(80147);t.reduce=ue.reduce;var ce=n(84794);t.repeat=ce.repeat;var de=n(28358);t.repeatWhen=de.repeatWhen;var fe=n(32616);t.retry=fe.retry;var pe=n(8147);t.retryWhen=pe.retryWhen;var me=n(54361);t.refCount=me.refCount;var he=n(75715);t.sample=he.sample;var ye=n(6182);t.sampleTime=ye.sampleTime;var be=n(83392);t.scan=be.scan;var ge=n(1542);t.sequenceEqual=ge.sequenceEqual;var ve=n(92590);t.share=ve.share;var _e=n(92621);t.shareReplay=_e.shareReplay;var Me=n(28153);t.single=Me.single;var we=n(286);t.skip=we.skip;var Se=n(73194);t.skipLast=Se.skipLast;var xe=n(80284);t.skipUntil=xe.skipUntil;var ke=n(90241);t.skipWhile=ke.skipWhile;var Ce=n(66253);t.startWith=Ce.startWith;var Ee=n(9510);t.switchAll=Ee.switchAll;var Ae=n(87543);t.switchMap=Ae.switchMap;var Le=n(44250);t.switchMapTo=Le.switchMapTo;var Oe=n(11454);t.take=Oe.take;var Te=n(50314);t.takeLast=Te.takeLast;var De=n(2748);t.takeUntil=De.takeUntil;var ze=n(67617);t.takeWhile=ze.takeWhile;var je=n(55324);t.tap=je.tap;var Pe=n(69613);t.throttle=Pe.throttle;var Be=n(90808);t.throttleTime=Be.throttleTime;var Ye=n(44169);t.timeInterval=Ye.timeInterval;var Ne=n(99858);t.timeout=Ne.timeout;var Fe=n(52334);t.timeoutWith=Fe.timeoutWith;var Ie=n(20153);t.timestamp=Ie.timestamp;var Re=n(68068);t.toArray=Re.toArray;var We=n(71861);t.window=We.window;var He=n(34154);t.windowCount=He.windowCount;var qe=n(53600);t.windowTime=qe.windowTime;var Xe=n(21341);t.windowToggle=Xe.windowToggle;var Ve=n(99589);t.windowWhen=Ve.windowWhen;var Ue=n(95250);t.withLatestFrom=Ue.withLatestFrom;var $e=n(98702);t.zip=$e.zip;var Ge=n(93195);t.zipAll=Ge.zipAll},16951(e){var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{CATEGORICAL:()=>u,ENTERPRISE_CATEGORICAL:()=>s,SCP_CATEGORICAL:()=>l,VIZ_CATEGORICAL:()=>c}),e.exports=(t=i,((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))o.call(e,i)||undefined===i||n(e,i,{get:()=>t[i],enumerable:!(l=r(t,i))||l.enumerable});return e})(n({},"__esModule",{value:!0}),t));var l=["#A9F5E7","#A870EF","#1E6271","#45D4BA","#602CA1","#9AE6F7","#6CD0F0","#2F8AA7","#422879","#F29BAC","#E85B79","#C6335F","#FDAF93","#FB865C","#E9643A","#7EEFDA","#26AA92","#207865","#C093F9","#8747DA","#4EB2D2","#912344","#AD3F20","#D44C20","#FFC34E","#95651D","#C0891E","#ECAE11","#FCD9A4","#78062A"],s=["#1E93C6","#F2B827","#D6563C","#6A5C9E","#31A35F"],u=["#7B56DB","#0089CF","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"],c=["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]},17048(e,t,n){var r=n(16699),a=n(95726),o=n(59540),i=n(75800),l=n(4686),s=n(71918),u=n(22696);function c(){"use strict";var t=a(),n=t.m(c),d=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function f(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))}var p={throw:1,return:2,break:3,continue:3};function m(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,a,o){return t.resultName=a,n(r.d,u(e),o)},finish:function(e){return n(r.f,e)}},n=function(e,n,a){r.p=t.prev,r.n=t.next;try{return e(n,a)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=c=function(){return{wrap:function(e,n,r,a){return t.w(m(e),n,r,a&&a.reverse())},isGeneratorFunction:f,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:l,async:function(e,t,n,r,a){return(f(t)?i:o)(m(e),t,n,r,a)},keys:s,values:u}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=c,e.exports.__esModule=!0,e.exports.default=e.exports},17072(e,t,n){e.exports=n(5189)},17173(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearVariablesCache=t.default=void 0;var r=i(n(85741)),a=i(n(2895)),o=n(30281);function i(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t(s=(i=Math.ceil(f/7))>s?i+1:s+1)&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((s=u.length)-(o=c.length)<0&&(o=s,r=c,c=u,u=r),n=0;o;)n=(u[--o]=u[o]+c[o]+n)/m|0,u[o]%=m;for(n&&(u.unshift(n),++a),s=u.length;0==u[--s];)u.pop();return t.d=u,t.e=a,l?E(t,f):t}function g(e,t,n){if(e!==~~e||en)throw Error(u+e)}function v(e){var t,n,r,a=e.length-1,o="",i=e[0];if(a>0){for(o+=i,t=1;te.e^o.s<0?1:-1;for(t=0,n=(r=o.d.length)<(a=e.d.length)?r:a;te.d[t]^o.s<0?1:-1;return r===a?0:r>a^o.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},y.dividedBy=y.div=function(e){return _(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return E(_(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return w(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(e){return this.cmp(e)<0},y.lessThanOrEqualTo=y.lte=function(e){return this.cmp(e)<1},y.logarithm=y.log=function(e){var t,n=this,r=n.constructor,o=r.precision,i=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(a))throw Error(s+"NaN");if(n.s<1)throw Error(s+(n.s?"NaN":"-Infinity"));return n.eq(a)?new r(0):(l=!1,t=_(k(n,i),k(e,i),i),l=!0,E(t,o))},y.minus=y.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?A(t,e):b(t,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,n=this,r=n.constructor,a=r.precision;if(!(e=new r(e)).s)throw Error(s+"NaN");return n.s?(l=!1,t=_(n,e,0,1).times(e),l=!0,n.minus(t)):E(new r(n),a)},y.naturalExponential=y.exp=function(){return M(this)},y.naturalLogarithm=y.ln=function(){return k(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):A(t,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,n,r,a=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=w(a)+1,n=7*(r=a.d.length-1)+1,r=a.d[r]){for(;r%10==0;r/=10)n--;for(r=a.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},y.squareRoot=y.sqrt=function(){var e,t,n,r,a,o,i,u=this,c=u.constructor;if(u.s<1){if(!u.s)return new c(0);throw Error(s+"NaN")}for(e=w(u),l=!1,0==(a=Math.sqrt(+u))||a==1/0?(((t=v(u.d)).length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),r=new c(t=a==1/0?"5e"+e:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new c(a.toString()),a=i=(n=c.precision)+3;;)if(r=(o=r).plus(_(u,o,i+2)).times(.5),v(o.d).slice(0,i)===(t=v(r.d)).slice(0,i)){if(t=t.slice(i-3,i+1),a==i&&"4999"==t){if(E(o,n+1,0),o.times(o).eq(u)){r=o;break}}else if("9999"!=t)break;i+=4}return l=!0,E(r,n)},y.times=y.mul=function(e){var t,n,r,a,o,i,s,u,c,d=this,f=d.constructor,p=d.d,h=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(u=p.length)<(c=h.length)&&(o=p,p=h,h=o,i=u,u=c,c=i),o=[],r=i=u+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,a=u+r;a>r;)s=o[a]+h[r]*p[a-r-1]+t,o[a--]=s%m|0,t=s/m|0;o[a]=(o[a]+t)%m|0}for(;!o[--i];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,l?E(e,f.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(g(e,0,o),void 0===t?t=r.rounding:g(t,0,8),E(n,e+w(n)+1,t))},y.toExponential=function(e,t){var n,r=this,a=r.constructor;return void 0===e?n=L(r,!0):(g(e,0,o),void 0===t?t=a.rounding:g(t,0,8),n=L(r=E(new a(r),e+1,t),!0,e+1)),n},y.toFixed=function(e,t){var n,r,a=this,i=a.constructor;return void 0===e?L(a):(g(e,0,o),void 0===t?t=i.rounding:g(t,0,8),n=L((r=E(new i(a),e+w(a)+1,t)).abs(),!1,e+w(r)+1),a.isneg()&&!a.isZero()?"-"+n:n)},y.toInteger=y.toint=function(){var e=this,t=e.constructor;return E(new t(e),w(e)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,n,r,o,i,u,c=this,f=c.constructor,p=+(e=new f(e));if(!e.s)return new f(a);if(!(c=new f(c)).s){if(e.s<1)throw Error(s+"Infinity");return c}if(c.eq(a))return c;if(r=f.precision,e.eq(a))return E(c,r);if(u=(t=e.e)>=(n=e.d.length-1),i=c.s,u){if((n=p<0?-p:p)<=9007199254740991){for(o=new f(a),t=Math.ceil(r/7+4),l=!1;n%2&&O((o=o.times(c)).d,t),0!==(n=d(n/2));)O((c=c.times(c)).d,t);return l=!0,e.s<0?new f(a).div(o):E(o,r)}}else if(i<0)throw Error(s+"NaN");return i=i<0&&1&e.d[Math.max(t,n)]?-1:1,c.s=1,l=!1,o=e.times(k(c,r+12)),l=!0,(o=M(o)).s=i,o},y.toPrecision=function(e,t){var n,r,a=this,i=a.constructor;return void 0===e?r=L(a,(n=w(a))<=i.toExpNeg||n>=i.toExpPos):(g(e,1,o),void 0===t?t=i.rounding:g(t,0,8),r=L(a=E(new i(a),e,t),e<=(n=w(a))||n<=i.toExpNeg,e)),r},y.toSignificantDigits=y.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(g(e,1,o),void 0===t?t=n.rounding:g(t,0,8)),E(new n(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=this,t=w(e),n=e.constructor;return L(e,t<=n.toExpNeg||t>=n.toExpPos)};var _=function(){function e(e,t){var n,r=0,a=e.length;for(e=e.slice();a--;)n=e[a]*t+r,e[a]=n%m|0,r=n/m|0;return r&&e.unshift(r),e}function t(e,t,n,r){var a,o;if(n!=r)o=n>r?1:-1;else for(a=o=0;at[a]?1:-1;break}return o}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,a,o,i){var l,u,c,d,f,p,h,y,b,g,v,_,M,S,x,k,C,A,L=r.constructor,O=r.s==a.s?1:-1,T=r.d,D=a.d;if(!r.s)return new L(r);if(!a.s)throw Error(s+"Division by zero");for(u=r.e-a.e,C=D.length,x=T.length,y=(h=new L(O)).d=[],c=0;D[c]==(T[c]||0);)++c;if(D[c]>(T[c]||0)&&--u,(_=null==o?o=L.precision:i?o+(w(r)-w(a))+1:o)<0)return new L(0);if(_=_/7+2|0,c=0,1==C)for(d=0,D=D[0],_++;(c1&&(D=e(D,d),T=e(T,d),C=D.length,x=T.length),S=C,g=(b=T.slice(0,C)).length;g=m/2&&++k;do{d=0,(l=t(D,b,C,g))<0?(v=b[0],C!=g&&(v=v*m+(b[1]||0)),(d=v/k|0)>1?(d>=m&&(d=m-1),1==(l=t(f=e(D,d),b,p=f.length,g=b.length))&&(d--,n(f,C16)throw Error(c+w(e));if(!e.s)return new p(a);for(null==t?(l=!1,s=m):s=t,i=new p(.03125);e.abs().gte(.1);)e=e.times(i),d+=5;for(s+=Math.log(f(2,d))/Math.LN10*2+5|0,n=r=o=new p(a),p.precision=s;;){if(r=E(r.times(e),s),n=n.times(++u),v((i=o.plus(_(r,n,s))).d).slice(0,s)===v(o.d).slice(0,s)){for(;d--;)o=E(o.times(o),s);return p.precision=m,null==t?(l=!0,E(o,m)):o}o=i}}function w(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function S(e,t,n){if(t>e.LN10.sd())throw l=!0,n&&(e.precision=n),Error(s+"LN10 precision limit exceeded");return E(new e(e.LN10),t)}function x(e){for(var t="";e--;)t+="0";return t}function k(e,t){var n,r,o,i,u,c,d,f,p,m=1,h=e,y=h.d,b=h.constructor,g=b.precision;if(h.s<1)throw Error(s+(h.s?"NaN":"-Infinity"));if(h.eq(a))return new b(0);if(null==t?(l=!1,f=g):f=t,h.eq(10))return null==t&&(l=!0),S(b,f);if(f+=10,b.precision=f,r=(n=v(y)).charAt(0),i=w(h),!(Math.abs(i)<15e14))return d=S(b,f+2,g).times(i+""),h=k(new b(r+"."+n.slice(1)),f-10).plus(d),b.precision=g,null==t?(l=!0,E(h,g)):h;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=v((h=h.times(e)).d)).charAt(0),m++;for(i=w(h),r>1?(h=new b("0."+n),i++):h=new b(r+"."+n.slice(1)),c=u=h=_(h.minus(a),h.plus(a),f),p=E(h.times(h),f),o=3;;){if(u=E(u.times(p),f),v((d=c.plus(_(u,new b(o),f))).d).slice(0,f)===v(c.d).slice(0,f))return c=c.times(2),0!==i&&(c=c.plus(S(b,f+2,g).times(i+""))),c=_(c,new b(m),f),b.precision=g,null==t?(l=!0,E(c,g)):c;c=d,o+=2}}function C(e,t){var n,r,a;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(a=t.length;48===t.charCodeAt(a-1);)--a;if(t=t.slice(r,a)){if(a-=r,n=n-r-1,e.e=d(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),rh||e.e<-h))throw Error(c+n)}else e.s=0,e.e=0,e.d=[0];return e}function E(e,t,n){var r,a,o,i,s,u,p,y,b=e.d;for(i=1,o=b[0];o>=10;o/=10)i++;if((r=t-i)<0)r+=7,a=t,p=b[y=0];else{if((y=Math.ceil((r+1)/7))>=(o=b.length))return e;for(p=o=b[y],i=1;o>=10;o/=10)i++;a=(r%=7)-7+i}if(void 0!==n&&(s=p/(o=f(10,i-a-1))%10|0,u=t<0||void 0!==b[y+1]||p%o,u=n<4?(s||u)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||u||6==n&&(r>0?a>0?p/f(10,i-a):0:b[y-1])%10&1||n==(e.s<0?8:7))),t<1||!b[0])return u?(o=w(e),b.length=1,t=t-o-1,b[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(b.length=1,b[0]=e.e=e.s=0),e;if(0==r?(b.length=y,o=1,y--):(b.length=y+1,o=f(10,7-r),b[y]=a>0?(p/f(10,i-a)%f(10,a)|0)*o:0),u)for(;;){if(0==y){(b[0]+=o)==m&&(b[0]=1,++e.e);break}if(b[y]+=o,b[y]!=m)break;b[y--]=0,o=1}for(r=b.length;0===b[--r];)b.pop();if(l&&(e.e>h||e.e<-h))throw Error(c+w(e));return e}function A(e,t){var n,r,a,o,i,s,u,c,d,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),l?E(t,h):t;if(u=e.d,f=t.d,r=t.e,c=e.e,u=u.slice(),i=c-r){for((d=i<0)?(n=u,i=-i,s=f.length):(n=f,r=c,s=u.length),i>(a=Math.max(Math.ceil(h/7),s)+2)&&(i=a,n.length=1),n.reverse(),a=i;a--;)n.push(0);n.reverse()}else{for((d=(a=u.length)<(s=f.length))&&(s=a),a=0;a0;--a)u[s++]=0;for(a=f.length;a>i;){if(u[--a]0?o=o.charAt(0)+"."+o.slice(1)+x(r):i>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(a<0?"e":"e+")+a):a<0?(o="0."+x(-a-1)+o,n&&(r=n-i)>0&&(o+=x(r))):a>=i?(o+=x(a+1-i),n&&(r=n-a-1)>0&&(o=o+"."+x(r))):((r=a+1)0&&(a+1===i&&(o+="."),o+=x(r))),e.s<0?"-"+o:o}function O(e,t){if(e.length>t)return e.length=t,!0}function T(e){if(!e||"object"!=typeof e)throw Error(s+"Object expected");var t,n,r,a=["precision",1,o,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=a[t+1]&&r<=a[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}(i=function e(t){var n,r,a;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):C(t,e.toString())}if("string"!=typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(u+e);C(t,e)}if(o.prototype=y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=T,void 0===t&&(t={}),t)for(a=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(59243);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(80305);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(80305);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2822 11.3036C11.6786 10.9072 12.3214 10.9072 12.7178 11.3036L20.6817 19.2674C21.321 19.9069 20.8681 20.9998 19.9639 20.9998H4.03614C3.13216 20.9995 2.68003 19.9067 3.31934 19.2674L11.2822 11.3036ZM6.41505 18.9998H17.5859L12 13.4139L6.41505 18.9998Z"}),o().createElement("path",{d:"M10.5859 3.58579C11.367 2.80474 12.633 2.80474 13.4141 3.58579L20.707 10.8788C21.0975 11.2693 21.0975 11.9023 20.707 12.2928C20.3165 12.6832 19.6835 12.6832 19.293 12.2928L12 4.99985L4.70704 12.2928C4.31653 12.6832 3.68348 12.6832 3.29298 12.2928C2.90248 11.9023 2.90253 11.2693 3.29298 10.8788L10.5859 3.58579Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M11.2831 11.3031C11.6793 10.9071 12.3213 10.9071 12.7176 11.3031L20.6815 19.2669C21.3209 19.9064 20.8679 20.9994 19.9637 20.9994H4.03696C3.13269 20.9994 2.67977 19.9063 3.31919 19.2669L11.2831 11.3031Z"}),o().createElement("path",{d:"M11.2821 3.2972C11.6784 2.90089 12.3212 2.90097 12.7176 3.2972L20.6815 11.2611C21.3205 11.9005 20.8677 12.9934 19.9637 12.9935H17.9139L12.7176 7.7972C12.3212 7.40097 11.6784 7.40089 11.2821 7.7972L6.08579 12.9935H4.03598C3.132 12.9933 2.67925 11.9005 3.31821 11.2611L11.2821 3.2972Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Controls:()=>Ie,Divider:()=>x.Divider,Heading:()=>x.Heading,Option:()=>X,SelectAllOption:()=>Q,default:()=>Xe,isOption:()=>ze});const a=n(14041);var o=t.n(a);const i=n(11717);var l=t.n(i);const s=n(28541);var u=t.n(s);const c=n(85741);var d=t.n(c);const f=n(91344);var p=t.n(f);const m=n(39067);var h=t.n(m);const y=n(90274);var b=t.n(y);const g=n(81570);var v=t.n(g);const _=n(33689);var M=t.n(_);const w=n(49912);var S=t.n(w);const x=n(7343),k=n(583);var C=t.n(k);const E=n(30762);var A=t.n(E);const L=n(44111);var O=t.n(L);const T=n(91659);var D=t.n(T);const z=n(50824);var j=t.n(z);const P=n(73432),B=n(41454),Y=n(66115),N=n(51111);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.value?(oa)&&(n=e):a>o&&(n=e):n=e}return!1});return 0===a.length&&n?[n]:a};"undefined"!=typeof document&&document;var be={document:{body:{appendChild:function(){return[]}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function ge(){return"undefined"!=typeof window?window:be}function ve(e){return function(e){if(Array.isArray(e))return Se(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||we(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);nO?Math.max(1,O):u.length,n=0;nt&&e.label.length&&e.label.push((0,B._)("...")),e.label.length>0&&(e.ariaLabel=Re({prefixLabel:w,label:e.label.length>1?["".concat(u.length," items selected")]:e.ariaLabel,suffixLabel:C}),e.label=Re({prefixLabel:w,label:e.label,suffixLabel:C})),(!e.label.length||!v&&e.label.every(function(e){return""===e}))&&(e.label=Oe(M),e.ariaLabel=e.label),e},[u,O,v,D,M,w,C,A]),j=z.label,P=z.ariaLabel,Y=z.icon,N=Ee({"aria-describedby":c,"aria-label":g||"aria-labelledby"in T?void 0:"".concat(y?"".concat(y,", "):"").concat(P.join("")),"aria-labelledby":g,"aria-required":k,"data-select-appearance":r,append:i,prepend:x,onClick:_,role:"combobox",disabled:d?"disabled":void 0,elementRef:f,error:m,ref:t},T);if(v)N["data-test-values"]=JSON.stringify(u);else{var F=Me(u,1)[0];N["data-test-value"]=F}if(E)return(0,a.cloneElement)(E,N);if("link"===r)return o().createElement(S(),_e({tag:"button",appearance:"standalone"},N,{"data-select-appearance":"link"}),!!Y&&o().createElement(se,null,Y),j||M,o().createElement(ue,null,o().createElement(b(),null)));var I="default"===r?"secondary":r;return o().createElement(le,_e({},N,{$multiple:v,appearance:I,label:j,error:m,icon:Y,inline:h,isMenu:!0,onClick:_},p()(T,Pe)),!!u.length&&v&&o().createElement(de,{"data-role":"count"},"(",u.length,")"))});function qe(e){var t=e.allowKeyMatching,n=void 0===t||t,r=e.animateLoading,i=e.appearance,l=void 0===i?"default":i,s=e.append,u=e.allowNewValues,c=e.children,d=e.defaultPlacement,f=void 0===d?"vertical":d,p=e.defaultValues,m=e.describedBy,h=e.disabled,y=e.elementRef,b=e.error,g=e.filter,v=e.footerMessage,_=e.inline,w=e.inputId,S=e.inputRef,E=e.isLoadingOptions,A=e.labelledBy,L=e.labelText,O=e.loadingMessage,T=e.menuStyle,z=void 0===T?Ne:T,F=e.multiple,I=e.name,R=e.noOptionsMessage,W=void 0===R?Be:R,H=e.onChange,q=e.onScroll,V=e.onScrollBottom,U=e.onFilterChange,$=e.onClick,G=e.onClose,K=e.onOpen,J=e.required,Z=e.placeholder,ee=void 0===Z?Ye:Z,te=e.prefixLabel,ne=e.prepend,re=e.repositionMode,ae=void 0===re?"flip":re,oe=e.selectAllAppearance,ie=void 0===oe?"buttongroup":oe,le=e.showSelectedValuesFirst,se=e.suffixLabel,ue=e.tabConfirmsNewValue,ce=e.values,de=e.virtualization,fe=e.toggle,pe=e.toggleContent,me=void 0===pe?"optionChildren":pe,he=e.maxLabelItems,be=void 0===he?30:he,we=xe(e,["allowKeyMatching","animateLoading","appearance","append","allowNewValues","children","defaultPlacement","defaultValues","describedBy","disabled","elementRef","error","filter","footerMessage","inline","inputId","inputRef","isLoadingOptions","labelledBy","labelText","loadingMessage","menuStyle","multiple","name","noOptionsMessage","onChange","onScroll","onScrollBottom","onFilterChange","onClick","onClose","onOpen","required","placeholder","prefixLabel","prepend","repositionMode","selectAllAppearance","showSelectedValuesFirst","suffixLabel","tabConfirmsNewValue","values","virtualization","toggle","toggleContent","maxLabelItems"]),Se=D()({componentName:"SelectBase",componentProps:arguments[0],defaultValuePropName:"defaultValues",valuePropName:"values"}),ke=Me((0,a.useState)(function(){return{activeItemId:(0,Y.createDOMID)("active-item"),menuListboxId:(0,Y.createDOMID)("menu-listbox")}}),1)[0],Ce=ke.activeItemId,Ee=ke.menuListboxId,Ae=Me((0,a.useState)(0),2),Le=Ae[0],Oe=Ae[1],Pe=Me((0,a.useState)(""),2),Fe=Pe[0],Re=Pe[1],We=Me((0,a.useState)(!1),2),qe=We[0],Xe=We[1],Ve=Me((0,a.useState)(!1),2),Ue=Ve[0],$e=Ve[1],Ge=Me((0,a.useState)([]),2),Ke=Ge[0],Je=Ge[1],Ze=Me((0,a.useState)(p||[]),2),Qe=Ze[0],et=Ze[1],tt=j()(Le),nt=(0,a.useRef)(null),rt=(0,a.useRef)(null),at=(0,a.useRef)(null),ot=(0,a.useRef)([]),it=(0,a.useRef)([]),lt=(0,a.useRef)(tt),st=(0,a.useRef)(),ut=(0,a.useRef)({}),ct=(0,a.useRef)(0),dt=(0,a.useRef)([]),ft=(0,a.useRef)(null),pt=(0,a.useRef)(),mt=(0,a.useRef)(0),ht=(0,a.useRef)("none"),yt=Me((0,a.useState)(g?(0,Y.createDOMID)("filter"):void 0),1)[0];(0,a.useEffect)(function(){},[l,s,b,ne]);var bt=(0,a.useMemo)(function(){for(var e=o().Children.toArray(c),t=new Map,n=0;n1&&(a.index=rt.current.index+1,r=ye(ot.current,a));else{if(" "===n)return void Et();r=ye(it.current,a)}if(r.length){var o,i=0;if(0===a.index&&r.length>1){var l=r.indexOf(it.current[t]);l>=0&&(i=l===r.length-1?0:l+1)}var s=r[i],u=s.value,c=s.label,d=ut.current[je(u,c)];null==d||null===(o=d.focus)||void 0===o||o.call(d)}ot.current=r,rt.current=a,at.current&&clearTimeout(at.current),at.current=setTimeout(Et,500),e.preventDefault(),e.stopPropagation()}},[]),jt=(0,a.useCallback)(function(e,t){var n=t.value;Re(n),Xe(!0),Oe(0),null==U||U(e,{keyword:n})},[U]),Pt=(0,a.useCallback)(function(){$e(!0)},[]),Bt=(0,a.useCallback)(function(){$e(!1)},[]),Yt=(0,a.useCallback)(function(e){lt.current!==Le&&(0,N.scrollIntoViewIfNeeded)(e)},[Le]),Nt=(0,a.useCallback)(function(e,t,n){n&&(ft.current=e),null==e?delete ut.current[t]:ut.current[t]=e},[ut]),Ft=(0,a.useCallback)(function(e){nt.current=e,function(e,t){e&&("function"==typeof e?e(t):e.current=t)}(y,e)},[y,nt]),It=Mt.some(function(e){var t=_t.get(e);return t&&!t.props.disabled}),Rt="immediately"===le?St():Ke,Wt=(0,a.useMemo)(function(){ct.current=0,pt.current=void 0,mt.current=0,st.current=void 0,it.current=[];var e,t,r=function(e,t){return function(n){return Nt(n,e,t)}},i=0,l=!1,s=new Set(Mt),c=new Set(null!=Rt?Rt:[]),d=vt.reduce(function(u,d,f){if(!ze(d))return u.push(d),u;var p=d.props,m=p.disabled,h=p.hidden,y=p.label,b=p.value;b===Fe&&(e=!0);var v=s.has(b),_=!!v&&!m&&!t,M=n&&!F&&!g&&!E&&!V,w=je(b,y),S=-1;!M||m||h||(it.current.push({label:y,value:b}),S=it.current.length-1);var k=(0,a.cloneElement)(d,{elementRef:r(w,_),key:d.key||f,onClick:Dt,onKeyDown:M?function(e){return zt(e,S)}:void 0,selected:v,multiple:F,role:"option"});return _&&(t=!0),c.has(b)?(0===i&&(u.splice(i,0,o().createElement(x.Divider,{key:"topDivider"})),l=!0),u.splice(i,0,k),i+=1):u.push(k),u},[]);if(F)for(var f=Mt.length-1;f>=0;f-=1){var p=Mt[f];if(!_t.get(p)){p===Fe&&(e=!0);var m=c.has(p),h=Rt.length;0===i&&(d.splice(0,0,o().createElement(x.Divider,{key:"topDivider"})),i+=1,l=!0);var y=String(p),b=je(p,y);d.splice(m?0:h+1,0,o().createElement(X,{elementRef:r(b),label:y,value:p,key:"missing-value-".concat(p),onClick:Dt,multiple:F,selected:!0})),m&&(i+=1)}}var v="controlled"===g,_=(0,P.stringToKeywords)(Fe);if(d=v?d:d.filter(function(e){return!ze(e)||(0,P.testPhrase)(e.props.label,_)}).map(function(e){if(!ze(e))return e;var t=_&&(0,P.keywordLocations)(e.props.label,_);return(0,a.cloneElement)(e,{matchRanges:t||void 0})}),u&&!e&&Fe){var M=l?i+1:i,w="".concat(Fe," (new value)"),S=je(Fe,w);d.splice(M,0,o().createElement(X,{elementRef:r(S),label:w,value:Fe,key:"newValue",multiple:F,onClick:Dt}))}var k="checkbox"===ie&&F&&d.length>1?1:0,C=!0;if(d=d.reduce(function(e,t){if(!ze(t))return e.push(t),e;if(t.props&&t.props.hidden)return e;t.props.selected&&!t.props.disabled&&null==pt.current&&(pt.current=ct.current);var n=k===Le;if(k+=1,ct.current+=1,mt.current+=t.props.selected?1:0,"newValue"===t.key||t.props.disabled||t.props.selected||(C=!1),!n||!Ue)return e.push(t),e;t.props.disabled||(st.current=t.props.value);var r=(0,a.cloneElement)(t,{active:n,elementRef:Yt,id:Ce});return e.push(r),e},[]),ht.current=(0===mt.current?"none":C&&"all")||"some","checkbox"===ie&&F&&ct.current>0){var A,L=0===Le&&!!g;A="all"===ht.current?""===Fe?(0,B._)("Clear all"):(0,B._)("Clear all matches"):""===Fe?(0,B._)("Select all"):(0,B._)("Select all matches"),L&&(st.current="selectAll"),d.unshift(o().createElement(Q,{key:"select-all-option",active:L,elementRef:Yt,id:L?Ce:void 0,onClick:"all"===ht.current?Lt:At,label:A,selected:"all"===ht.current||"none"!==ht.current&&"some",totalCount:!!fe&&Mt.length||void 0,tabIndex:g?-1:void 0}),o().createElement(x.Divider,{key:"selectAllDivider"}))}return dt.current=d.reduce(function(e,t){return ze(t)&&e.push(t.props.value),e},[]),d},[Le,Ce,n,u,vt,_t,Mt,g,Fe,Yt,Lt,Dt,zt,Nt,At,E,F,Rt,V,ie,Ue,fe]),Ht=(0,a.useMemo)(function(){return o().createElement(He,_e({appearance:l,append:s,currentValues:Mt,"data-test":F?"multiselect":"select",describedBy:m,disabled:h,elementRef:Ft,error:b,inline:_,labelText:L,labelledBy:A,multiple:F,onClick:$,placeholder:ee,prefixLabel:te,prepend:ne,required:J,suffixLabel:se,toggle:fe,toggleContent:me,maxLabelItems:be},we),c)},[l,s,Mt,F,m,h,Ft,b,_,L,A,$,ee,te,ne,J,se,fe,me,be,we,c]);return o().createElement(M(),{closeReasons:De,inputId:w,"aria-labelledby":yt,toggle:Ht,onRequestOpen:xt,onRequestClose:kt,open:qe,openWithArrowKeys:!0,repositionMode:ae,defaultPlacement:f,canCoverAnchor:ge().innerHeight<500,retainFocus:!1,takeFocus:0===Mt.length||Mt.length>0&&!It||!!g},function(e){var t=e.anchorWidth,n=e.maxHeight,a=e.placement,i=e.toggleId,l=Te({anchorWidth:t,isMultiple:F,maxHeight:n,menuStyle:z}),s=Mt.length>0&&!It&&!g?0:void 0,u={"aria-multiselectable":F||void 0,childrenStart:!!g&&o().createElement(Ie,{activeItemId:Ce,filterA11yId:yt,filterKeyword:Fe,hasChildren:Wt.some(function(e){return ze(e)}),inputId:w,inputRef:S,menuListboxId:Ee,multiple:F,onClearAll:Lt,onSelectAll:At,onTextBlur:Bt,onTextChange:jt,onTextFocus:Pt,onTextKeyDown:Tt,optionSelection:ht,placement:a,selectAllAppearance:ie,textHasFocus:Ue}),focusMode:g?"never":void 0,isLoading:E,labelledBy:"".concat(null!=yt?yt:""," ").concat(null!=i?i:"").trim(),menuId:Ee,onScrollBottom:V?Ot:void 0,placement:null!=a?a:void 0,noOptionsMessage:W,footerMessage:v,animateLoading:r,loadingMessage:O,onScroll:q,style:l,tabIndex:s};return de?o().createElement(k.VirtualizedResultsMenu,_e({virtualization:de},u),Wt):o().createElement(C(),u,Wt)})}qe.propTypes=Le,qe.componentType="SelectBase",qe.Option=X,qe.Divider=x.Divider,qe.Heading=x.Heading;const Xe=qe;e.exports=r})()},19397(e,t,n){"use strict";var r=n(91638),a=n(26433);r.Observable.webSocket=a.webSocket},19466(e,t,n){"use strict";var r=n(91638),a=n(29806);r.Observable.prototype.switch=a._switch,r.Observable.prototype._switch=a._switch},19469(e,t){"use strict";t.isObject=function(e){return null!=e&&"object"==typeof e}},19524(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n}return r(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(n(94787).AsyncAction);t.QueueAction=a},19530(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6001 2C17.1524 2 17.6001 2.44772 17.6001 3V4H19C20.1046 4 21 4.89543 21 6V19.5C21 19.7761 20.7761 20 20.5 20H3.5C3.22386 20 3 19.7761 3 19.5V6C3 4.89543 3.89543 4 5 4H6.6001V3C6.6001 2.44772 7.04781 2 7.6001 2C8.15238 2 8.6001 2.44772 8.6001 3V4H15.6001V3C15.6001 2.44772 16.0478 2 16.6001 2ZM6.6001 6C6.6001 6.55228 7.04781 7 7.6001 7C8.15238 7 8.6001 6.55228 8.6001 6H15.6001C15.6001 6.55228 16.0478 7 16.6001 7C17.1524 7 17.6001 6.55228 17.6001 6H19V8H5L5 6H6.6001ZM19 10H5V18H19V10Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6001 2C17.1524 2 17.6001 2.44772 17.6001 3V4H19C20.1046 4 21 4.89543 21 6V19.5C21 19.7761 20.7761 20 20.5 20H3.5C3.22386 20 3 19.7761 3 19.5V6C3 4.89543 3.89543 4 5 4H6.6001V3C6.6001 2.44772 7.04781 2 7.6001 2C8.15238 2 8.6001 2.44772 8.6001 3V4H15.6001V3C15.6001 2.44772 16.0478 2 16.6001 2ZM6.6001 6C6.6001 6.55228 7.04781 7 7.6001 7C8.15238 7 8.6001 6.55228 8.6001 6H15.6001C15.6001 6.55228 16.0478 7 16.6001 7C17.1524 7 17.6001 6.55228 17.6001 6H19V8H5L5 6H6.6001Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>h});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672);var d=u().div.withConfig({displayName:"StaticContentStyles__StyledDiv",componentId:"sxqyrp-0"})([""," position:relative;margin:0;font-weight:",";word-wrap:break-word;min-height:",";padding:0 ",";align-items:center;"],function(e){return e.$inline?c.mixins.reset("inline-flex"):c.mixins.reset("flex")},c.variables.fontWeightSemiBold,c.variables.inputHeight,c.variables.spacingXSmall);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(99420))},20089(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},20100(e,t,n){var r=n(49892),a=n(43673),o=n(27124),i=n(16410);e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[i(a(t))]}},20153(e,t,n){"use strict";var r=n(19545),a=n(15471);t.timestamp=function(e){return void 0===e&&(e=r.async),a.map(function(t){return new o(t,e.now())})};var o=function(e,t){this.value=e,this.timestamp=t};t.Timestamp=o},20154(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(234),o=n(740);t.mergeMapTo=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof t&&(n=t,t=null),function(r){return r.lift(new i(e,t,n))}};var i=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.ish,this.resultSelector,this.concurrent))},e}();t.MergeMapToOperator=i;var l=function(e){function t(t,n,r,a){void 0===a&&(a=Number.POSITIVE_INFINITY),e.call(this,t),this.ish=n,this.resultSelector=r,this.concurrent=a,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(t,e),t.prototype._next=function(e){if(this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(a.OuterSubscriber);t.MergeMapToSubscriber=l},20246(e,t,n){"use strict";var r=n(28153);t.single=function(e){return r.single(e)(this)}},20402(e,t,n){"use strict";var r=n(91638),a=n(67070);r.Observable.prototype.combineLatest=a.combineLatest},20584(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>j,validateValue:()=>D});const a=n(14041);var o=t.n(a);const i=n(36728);var l=t.n(i);const s=n(99420);var u=t.n(s);const c=n(39067);var d=t.n(c);const f=n(5070);var p=t.n(f);const m=n(57959);var h=t.n(m);const y=n(91659);var b=t.n(y);const g=n(66115),v=n(53057);var _=t.n(v);const M=n(19530);var w=t.n(M);const S=n(44111);var x=t.n(S),k=_()(x()).withConfig({displayName:"DateStyles__StyledText",componentId:"kacgdc-0"})(["&[data-inline]{width:160px;}"]),C=_()(w()).withConfig({displayName:"DateStyles__StyledCalendarIcon",componentId:"kacgdc-1"})(["transform:translateY(1px);"]);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);nt in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},v={};b(v,{enterprise:()=>C,enterpriseDark:()=>E,scp:()=>A}),e.exports=(r=v,g(o({},"__esModule",{value:!0}),r));var _={};b(_,{default:()=>w});var M=((e,t,n)=>(n=null!=e?a(d(e)):{},g(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(2895));((e,t)=>{g(e,t,"default")})(_,n(2895));var w="default"in M?M.default:M,S=w({family:"enterprise",colorScheme:"light",density:"comfortable"}),x=w({family:"enterprise",colorScheme:"dark",density:"comfortable"}),k=w({family:"prisma",colorScheme:"dark",density:"comfortable"}),C=y(h({},S),{headerTextColor:"#171D21",textColor:"#000000",defaultBackgroundColor:S.defaultBackgroundColor,descriptionOpacity:.6,sidebarBackgroundColor:S.defaultBackgroundColor,defaultToolTipBackgroundColor:"#000000",defaultToolTipFontColor:"#ffffff",defaultToolTipFontColorSoft:"#cccccc",defaultToolTipBorderColor:"#ffffff"}),E=y(h({},x),{headerTextColor:x.textColor,textColor:x.textColor,backgroundColor:x.black,defaultBackgroundColor:x.black,descriptionOpacity:.7,sidebarBackgroundColor:x.gray25,defaultToolTipBackgroundColor:"#ffffff",defaultToolTipFontColor:x.gray20,defaultToolTipFontColorSoft:x.gray45,defaultToolTipBorderColor:"none"}),A=y(h({},k),{headerTextColor:x.textColor,textColor:x.textColor,defaultBackgroundColor:k.backgroundColorSidebar,descriptionOpacity:.7,sidebarBackgroundColor:"#0B0C0E",defaultToolTipBackgroundColor:"#2B2C33",defaultToolTipFontColor:"#ffffff",defaultToolTipFontColorSoft:"#cccccc",defaultToolTipBorderColor:"#ffffff"})},20798(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(73037),o=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n}return r(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=a.Immediate.setImmediate(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(a.Immediate.clearImmediate(n),t.scheduled=void 0)},t}(n(94787).AsyncAction);t.AsapAction=o},21021(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},21070(e,t,n){var r=n(72676);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},21121(e){var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var n in t||(t={}))i.call(t,n)&&s(e,n,t[n]);if(o)for(var n of o(t))l.call(t,n)&&s(e,n,t[n]);return e},c={};function d(){const e=URL.createObjectURL(new Blob(['var z_=Object.create;var Mi=Object.defineProperty;var w_=Object.getOwnPropertyDescriptor;var T_=Object.getOwnPropertyNames;var S_=Object.getPrototypeOf,O_=Object.prototype.hasOwnProperty;var yl=(i,o)=>()=>(i&&(o=i(i=0)),o);var Xe=(i,o)=>()=>(o||i((o={exports:{}}).exports,o),o.exports),Y_=(i,o)=>{for(var d in o)Mi(i,d,{get:o[d],enumerable:!0})},gl=(i,o,d,z)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of T_(o))!O_.call(i,p)&&p!==d&&Mi(i,p,{get:()=>o[p],enumerable:!(z=w_(o,p))||z.enumerable});return i};var k_=(i,o,d)=>(d=i!=null?z_(S_(i)):{},gl(o||!i||!i.__esModule?Mi(d,"default",{value:i,enumerable:!0}):d,i)),Ll=i=>gl(Mi({},"__esModule",{value:!0}),i);var ke,ue=yl(()=>{ke={}});var Ns=Xe((Ia,Sr)=>{ue();(function(){var i,o="4.17.21",d=200,z="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",p="Expected a function",v="Invalid `variable` option passed into `_.template`",_="__lodash_hash_undefined__",g=500,a="__lodash_placeholder__",r=1,c=2,h=4,A=1,S=2,q=1,E=2,K=4,fe=8,he=16,Se=32,Te=64,me=128,R=256,se=512,le=30,Ye="...",ye=800,Ne=16,Re=1,je=2,t0=3,$e=1/0,We=9007199254740991,Ie=17976931348623157e292,l0=NaN,Ve=4294967295,A0=Ve-1,Q0=Ve>>>1,C0=[["ary",me],["bind",q],["bindKey",E],["curry",fe],["curryRight",he],["flip",se],["partial",Se],["partialRight",Te],["rearg",R]],n0="[object Arguments]",Le="[object Array]",De="[object AsyncFunction]",l1="[object Boolean]",h1="[object Date]",D0="[object DOMException]",Q="[object Error]",w="[object Function]",x="[object GeneratorFunction]",W="[object Map]",P="[object Number]",F="[object Null]",I="[object Object]",J="[object Promise]",$="[object Proxy]",te="[object RegExp]",re="[object Set]",ie="[object String]",pe="[object Symbol]",Oe="[object Undefined]",Ce="[object WeakMap]",Ke="[object WeakSet]",f0="[object ArrayBuffer]",Fe="[object DataView]",Qe="[object Float32Array]",u0="[object Float64Array]",x0="[object Int8Array]",$0="[object Int16Array]",P0="[object Int32Array]",i1="[object Uint8Array]",v0="[object Uint8ClampedArray]",u1="[object Uint16Array]",X0="[object Uint32Array]",N0=/\\b__p \\+= \'\';/g,ve=/\\b(__p \\+=) \'\' \\+/g,ca=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n\'\';/g,s1=/&(?:amp|lt|gt|quot|#39);/g,Bt=/[&<>"\']/g,g0=RegExp(s1.source),yt=RegExp(Bt.source),la=/<%-([\\s\\S]+?)%>/g,H0=/<%([\\s\\S]+?)%>/g,V0=/<%=([\\s\\S]+?)%>/g,Y1=/\\.|\\[(?:[^[\\]]*|(["\'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,z1=/^\\w*$/,j0=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,U0=/[\\\\^$.*+?()[\\]{}|]/g,z0=RegExp(U0.source),q0=/^\\s+/,On=/\\s/,ua=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Ct=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,Qa=/,? & /,da=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,fa=/[()=,{}\\[\\]\\/\\s]/,pa=/\\\\(\\\\)?/g,er=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,ha=/\\w*$/,Yn=/^[-+]0x[0-9a-f]+$/i,Et=/^0b[01]+$/i,kn=/^\\[object .+?Constructor\\]$/,gt=/^0o[0-7]+$/i,ot=/^(?:0|[1-9]\\d*)$/,tr=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,G1=/($^)/,cn=/[\'\\n\\r\\u2028\\u2029\\\\]/g,Xt="\\\\ud800-\\\\udfff",Ht="\\\\u0300-\\\\u036f",k1="\\\\ufe20-\\\\ufe2f",ln="\\\\u20d0-\\\\u20ff",Ma=Ht+k1+ln,Dn="\\\\u2700-\\\\u27bf",ma="a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff",nr="\\\\xac\\\\xb1\\\\xd7\\\\xf7",ar="\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf",_a="\\\\u2000-\\\\u206f",ba=" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000",un="A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde",Pt="\\\\ufe0e\\\\ufe0f",dn=nr+ar+_a+ba,fn="[\'\\u2019]",rr="["+Xt+"]",ct="["+dn+"]",Lt="["+Ma+"]",O0="\\\\d+",J1="["+Dn+"]",xn="["+ma+"]",Nn="[^"+Xt+dn+O0+Dn+ma+un+"]",At="\\\\ud83c[\\\\udffb-\\\\udfff]",M1="(?:"+Lt+"|"+At+")",jt="[^"+Xt+"]",L1="(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}",D1="[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]",vt="["+un+"]",ya="\\\\u200d",ga="(?:"+xn+"|"+Nn+")",pn="(?:"+vt+"|"+Nn+")",zt="(?:"+fn+"(?:d|ll|m|re|s|t|ve))?",e1="(?:"+fn+"(?:D|LL|M|RE|S|T|VE))?",lt=M1+"?",La="["+Pt+"]?",hn="(?:"+ya+"(?:"+[jt,L1,D1].join("|")+")"+La+lt+")*",wt="\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])",Aa="\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])",ut=La+lt+hn,K1="(?:"+[J1,L1,D1].join("|")+")"+ut,Mn="(?:"+[jt+Lt+"?",Lt,L1,D1,rr].join("|")+")",va=RegExp(fn,"g"),za=RegExp(Lt,"g"),S0=RegExp(At+"(?="+At+")|"+Mn+ut,"g"),ir=RegExp([vt+"?"+xn+"+"+zt+"(?="+[ct,vt,"$"].join("|")+")",pn+"+"+e1+"(?="+[ct,vt+ga,"$"].join("|")+")",vt+"?"+ga+"+"+zt,vt+"+"+e1,Aa,wt,O0,K1].join("|"),"g"),sr=RegExp("["+ya+Xt+Ma+Pt+"]"),wa=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Tt=-1,_0={};_0[Qe]=_0[u0]=_0[x0]=_0[$0]=_0[P0]=_0[i1]=_0[v0]=_0[u1]=_0[X0]=!0,_0[n0]=_0[Le]=_0[f0]=_0[l1]=_0[Fe]=_0[h1]=_0[Q]=_0[w]=_0[W]=_0[P]=_0[I]=_0[te]=_0[re]=_0[ie]=_0[Ce]=!1;var b0={};b0[n0]=b0[Le]=b0[f0]=b0[Fe]=b0[l1]=b0[h1]=b0[Qe]=b0[u0]=b0[x0]=b0[$0]=b0[P0]=b0[W]=b0[P]=b0[I]=b0[te]=b0[re]=b0[ie]=b0[pe]=b0[i1]=b0[v0]=b0[u1]=b0[X0]=!0,b0[Q]=b0[w]=b0[Ce]=!1;var Wn={\\u00C0:"A",\\u00C1:"A",\\u00C2:"A",\\u00C3:"A",\\u00C4:"A",\\u00C5:"A",\\u00E0:"a",\\u00E1:"a",\\u00E2:"a",\\u00E3:"a",\\u00E4:"a",\\u00E5:"a",\\u00C7:"C",\\u00E7:"c",\\u00D0:"D",\\u00F0:"d",\\u00C8:"E",\\u00C9:"E",\\u00CA:"E",\\u00CB:"E",\\u00E8:"e",\\u00E9:"e",\\u00EA:"e",\\u00EB:"e",\\u00CC:"I",\\u00CD:"I",\\u00CE:"I",\\u00CF:"I",\\u00EC:"i",\\u00ED:"i",\\u00EE:"i",\\u00EF:"i",\\u00D1:"N",\\u00F1:"n",\\u00D2:"O",\\u00D3:"O",\\u00D4:"O",\\u00D5:"O",\\u00D6:"O",\\u00D8:"O",\\u00F2:"o",\\u00F3:"o",\\u00F4:"o",\\u00F5:"o",\\u00F6:"o",\\u00F8:"o",\\u00D9:"U",\\u00DA:"U",\\u00DB:"U",\\u00DC:"U",\\u00F9:"u",\\u00FA:"u",\\u00FB:"u",\\u00FC:"u",\\u00DD:"Y",\\u00FD:"y",\\u00FF:"y",\\u00C6:"Ae",\\u00E6:"ae",\\u00DE:"Th",\\u00FE:"th",\\u00DF:"ss",\\u0100:"A",\\u0102:"A",\\u0104:"A",\\u0101:"a",\\u0103:"a",\\u0105:"a",\\u0106:"C",\\u0108:"C",\\u010A:"C",\\u010C:"C",\\u0107:"c",\\u0109:"c",\\u010B:"c",\\u010D:"c",\\u010E:"D",\\u0110:"D",\\u010F:"d",\\u0111:"d",\\u0112:"E",\\u0114:"E",\\u0116:"E",\\u0118:"E",\\u011A:"E",\\u0113:"e",\\u0115:"e",\\u0117:"e",\\u0119:"e",\\u011B:"e",\\u011C:"G",\\u011E:"G",\\u0120:"G",\\u0122:"G",\\u011D:"g",\\u011F:"g",\\u0121:"g",\\u0123:"g",\\u0124:"H",\\u0126:"H",\\u0125:"h",\\u0127:"h",\\u0128:"I",\\u012A:"I",\\u012C:"I",\\u012E:"I",\\u0130:"I",\\u0129:"i",\\u012B:"i",\\u012D:"i",\\u012F:"i",\\u0131:"i",\\u0134:"J",\\u0135:"j",\\u0136:"K",\\u0137:"k",\\u0138:"k",\\u0139:"L",\\u013B:"L",\\u013D:"L",\\u013F:"L",\\u0141:"L",\\u013A:"l",\\u013C:"l",\\u013E:"l",\\u0140:"l",\\u0142:"l",\\u0143:"N",\\u0145:"N",\\u0147:"N",\\u014A:"N",\\u0144:"n",\\u0146:"n",\\u0148:"n",\\u014B:"n",\\u014C:"O",\\u014E:"O",\\u0150:"O",\\u014D:"o",\\u014F:"o",\\u0151:"o",\\u0154:"R",\\u0156:"R",\\u0158:"R",\\u0155:"r",\\u0157:"r",\\u0159:"r",\\u015A:"S",\\u015C:"S",\\u015E:"S",\\u0160:"S",\\u015B:"s",\\u015D:"s",\\u015F:"s",\\u0161:"s",\\u0162:"T",\\u0164:"T",\\u0166:"T",\\u0163:"t",\\u0165:"t",\\u0167:"t",\\u0168:"U",\\u016A:"U",\\u016C:"U",\\u016E:"U",\\u0170:"U",\\u0172:"U",\\u0169:"u",\\u016B:"u",\\u016D:"u",\\u016F:"u",\\u0171:"u",\\u0173:"u",\\u0174:"W",\\u0175:"w",\\u0176:"Y",\\u0177:"y",\\u0178:"Y",\\u0179:"Z",\\u017B:"Z",\\u017D:"Z",\\u017A:"z",\\u017C:"z",\\u017E:"z",\\u0132:"IJ",\\u0133:"ij",\\u0152:"Oe",\\u0153:"oe",\\u0149:"\'n",\\u017F:"s"},Ta={"&":"&","<":"<",">":">",\'"\':""","\'":"'"},qn={"&":"&","<":"<",">":">",""":\'"\',"'":"\'"},Bn={"\\\\":"\\\\","\'":"\'","\\n":"n","\\r":"r","\\u2028":"u2028","\\u2029":"u2029"},Cn=parseFloat,Sa=parseInt,Ft=typeof ke=="object"&&ke&&ke.Object===Object&&ke,or=typeof self=="object"&&self&&self.Object===Object&&self,w0=Ft||or||Function("return this")(),H1=typeof Ia=="object"&&Ia&&!Ia.nodeType&&Ia,Z1=H1&&typeof Sr=="object"&&Sr&&!Sr.nodeType&&Sr,m1=Z1&&Z1.exports===H1,w1=m1&&Ft.process,R0=function(){try{var b=Z1&&Z1.require&&Z1.require("util").types;return b||w1&&w1.binding&&w1.binding("util")}catch(O){}}(),Oa=R0&&R0.isArrayBuffer,En=R0&&R0.isDate,Ya=R0&&R0.isMap,It=R0&&R0.isRegExp,Xn=R0&&R0.isSet,Hn=R0&&R0.isTypedArray;function d1(b,O,Y){switch(Y.length){case 0:return b.call(O);case 1:return b.call(O,Y[0]);case 2:return b.call(O,Y[0],Y[1]);case 3:return b.call(O,Y[0],Y[1],Y[2])}return b.apply(O,Y)}function Pn(b,O,Y,V){for(var U=-1,Me=b==null?0:b.length;++U-1}function mn(b,O,Y){for(var V=-1,U=b==null?0:b.length;++V-1;);return Y}function $n(b,O){for(var Y=b.length;Y--&&St(O,b[Y],0)>-1;);return Y}function cr(b,O){for(var Y=b.length,V=0;Y--;)b[Y]===O&&++V;return V}var lr=bn(Wn),ur=bn(Ta);function dr(b){return"\\\\"+Bn[b]}function Vn(b,O){return b==null?i:b[O]}function b1(b){return sr.test(b)}function qa(b){return wa.test(b)}function fr(b){for(var O,Y=[];!(O=b.next()).done;)Y.push(O.value);return Y}function u(b){var O=-1,Y=Array(b.size);return b.forEach(function(V,U){Y[++O]=[U,V]}),Y}function m(b,O){return function(Y){return b(O(Y))}}function y(b,O){for(var Y=-1,V=b.length,U=0,Me=[];++Y-1}function Gf(e,t){var s=this.__data__,M=Vr(s,e);return M<0?(++this.size,s.push([e,t])):s[M][1]=t,this}Jt.prototype.clear=If,Jt.prototype.delete=$f,Jt.prototype.get=Vf,Jt.prototype.has=Uf,Jt.prototype.set=Gf;function Kt(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t=t?e:t)),e}function nt(e,t,s,M,T,N){var X,j=t&r,ne=t&c,_e=t&h;if(s&&(X=T?s(e,M,T,N):s(e)),X!==i)return X;if(!F0(e))return e;var be=r0(e);if(be){if(X=Qp(e),!j)return W1(e,X)}else{var ge=v1(e),xe=ge==w||ge==x;if(Sn(e))return uc(e,j);if(ge==I||ge==n0||xe&&!T){if(X=ne||xe?{}:Yc(e),!j)return ne?jp(e,dp(X,e)):Pp(e,Ho(X,e))}else{if(!b0[ge])return T?e:{};X=eh(e,ge,j)}}N||(N=new Mt);var He=N.get(e);if(He)return He;N.set(e,X),rl(e)?e.forEach(function(Je){X.add(nt(Je,t,s,Je,e,N))}):nl(e)&&e.forEach(function(Je,d0){X.set(d0,nt(Je,t,s,d0,e,N))});var Ge=_e?ne?us:ls:ne?B1:f1,o0=be?i:Ge(e);return r1(o0||e,function(Je,d0){o0&&(d0=Je,Je=e[d0]),br(X,d0,nt(Je,t,s,d0,e,N))}),X}function fp(e){var t=f1(e);return function(s){return Po(s,e,t)}}function Po(e,t,s){var M=s.length;if(e==null)return!M;for(e=ae(e);M--;){var T=s[M],N=t[T],X=e[T];if(X===i&&!(T in e)||!N(X))return!1}return!0}function jo(e,t,s){if(typeof e!="function")throw new qe(p);return wr(function(){e.apply(i,s)},t)}function yr(e,t,s,M){var T=-1,N=$t,X=!0,j=e.length,ne=[],_e=t.length;if(!j)return ne;s&&(t=Y0(t,E0(s))),M?(N=mn,X=!1):t.length>=d&&(N=Yt,X=!1,t=new Jn(t));e:for(;++TT?0:T+s),M=M===i||M>T?T:i0(M),M<0&&(M+=T),M=s>M?0:sl(M);s0&&s(j)?t>1?y1(j,t-1,s,M,T):x1(T,j):M||(T[T.length]=j)}return T}var Ii=mc(),Io=mc(!0);function kt(e,t){return e&&Ii(e,t,f1)}function $i(e,t){return e&&Io(e,t,f1)}function Gr(e,t){return _1(t,function(s){return nn(e[s])})}function Zn(e,t){t=wn(t,e);for(var s=0,M=t.length;e!=null&&st}function Mp(e,t){return e!=null&&Pe.call(e,t)}function mp(e,t){return e!=null&&t in ae(e)}function _p(e,t,s){return e>=A1(t,s)&&e=120&&be.length>=120)?new Jn(X&&be):i}be=e[0];var ge=-1,xe=j[0];e:for(;++ge-1;)j!==e&&Hr.call(j,ne,1),Hr.call(e,ne,1);return e}function nc(e,t){for(var s=e?t.length:0,M=s-1;s--;){var T=t[s];if(s==M||T!==N){var N=T;tn(T)?Hr.call(e,T,1):ns(e,T)}}return e}function Qi(e,t){return e+Rr(Bo()*(t-e+1))}function kp(e,t,s,M){for(var T=-1,N=o1(jr((t-e)/(s||1)),0),X=Y(N);N--;)X[M?N:++T]=e,e+=s;return X}function es(e,t){var s="";if(!e||t<1||t>We)return s;do t%2&&(s+=e),t=Rr(t/2),t&&(e+=e);while(t);return s}function c0(e,t){return _s(xc(e,t,C1),e+"")}function Dp(e){return Xo(Fa(e))}function xp(e,t){var s=Fa(e);return si(s,Kn(t,0,s.length))}function Ar(e,t,s,M){if(!F0(e))return e;t=wn(t,e);for(var T=-1,N=t.length,X=N-1,j=e;j!=null&&++TT?0:T+t),s=s>T?T:s,s<0&&(s+=T),T=t>s?0:s-t>>>0,t>>>=0;for(var N=Y(T);++M>>1,X=e[N];X!==null&&!I1(X)&&(s?X<=t:X=d){var _e=t?null:$p(e);if(_e)return k(_e);X=!1,T=Yt,ne=new Jn}else ne=t?[]:j;e:for(;++M=M?e:at(e,t,s)}var lc=vf||function(e){return w0.clearTimeout(e)};function uc(e,t){if(t)return e.slice();var s=e.length,M=Ba?Ba(s):new e.constructor(s);return e.copy(M),M}function ss(e){var t=new e.constructor(e.byteLength);return new et(t).set(new et(e)),t}function Cp(e,t){var s=t?ss(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function Ep(e){var t=new e.constructor(e.source,ha.exec(e));return t.lastIndex=e.lastIndex,t}function Xp(e){return _r?ae(_r.call(e)):{}}function dc(e,t){var s=t?ss(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function fc(e,t){if(e!==t){var s=e!==i,M=e===null,T=e===e,N=I1(e),X=t!==i,j=t===null,ne=t===t,_e=I1(t);if(!j&&!_e&&!N&&e>t||N&&X&&ne&&!j&&!_e||M&&X&&ne||!s&&ne||!T)return 1;if(!M&&!N&&!_e&&e=j)return ne;var _e=s[M];return ne*(_e=="desc"?-1:1)}}return e.index-t.index}function pc(e,t,s,M){for(var T=-1,N=e.length,X=s.length,j=-1,ne=t.length,_e=o1(N-X,0),be=Y(ne+_e),ge=!M;++j1?s[T-1]:i,X=T>2?s[2]:i;for(N=e.length>3&&typeof N=="function"?(T--,N):i,X&&S1(s[0],s[1],X)&&(N=T<3?i:N,T=1),t=ae(t);++M-1?T[N?t[X]:X]:i}}function yc(e){return en(function(t){var s=t.length,M=s,T=tt.prototype.thru;for(e&&t.reverse();M--;){var N=t[M];if(typeof N!="function")throw new qe(p);if(T&&!X&&ri(N)=="wrapper")var X=new tt([],!0)}for(M=X?M:s;++M1&&m0.reverse(),be&&nej))return!1;var _e=N.get(e),be=N.get(t);if(_e&&be)return _e==t&&be==e;var ge=-1,xe=!0,He=s&S?new Jn:i;for(N.set(e,t),N.set(t,e);++ge1?"& ":"")+t[M],t=t.join(s>2?", ":" "),e.replace(ua,`{\n/* [wrapped with `+t+`] */\n`)}function nh(e){return r0(e)||ta(e)||!!(Wo&&e&&e[Wo])}function tn(e,t){var s=typeof e;return t=t==null?We:t,!!t&&(s=="number"||s!="symbol"&&ot.test(e))&&e>-1&&e%1==0&&e0){if(++t>=ye)return arguments[0]}else t=0;return e.apply(i,arguments)}}function si(e,t){var s=-1,M=e.length,T=M-1;for(t=t===i?M:t;++s1?e[t-1]:i;return s=typeof s=="function"?(e.pop(),s):i,Fc(e,s)});function Ic(e){var t=D(e);return t.__chain__=!0,t}function pM(e,t){return t(e),e}function oi(e,t){return t(e)}var hM=en(function(e){var t=e.length,s=t?e[0]:0,M=this.__wrapped__,T=function(N){return Fi(N,e)};return t>1||this.__actions__.length||!(M instanceof h0)||!tn(s)?this.thru(T):(M=M.slice(s,+s+(t?1:0)),M.__actions__.push({func:oi,args:[T],thisArg:i}),new tt(M,this.__chain__).thru(function(N){return t&&!N.length&&N.push(i),N}))});function MM(){return Ic(this)}function mM(){return new tt(this.value(),this.__chain__)}function _M(){this.__values__===i&&(this.__values__=il(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function bM(){return this}function yM(e){for(var t,s=this;s instanceof $r;){var M=Ec(s);M.__index__=0,M.__values__=i,t?T.__wrapped__=M:t=M;var T=M;s=s.__wrapped__}return T.__wrapped__=e,t}function gM(){var e=this.__wrapped__;if(e instanceof h0){var t=e;return this.__actions__.length&&(t=new h0(this)),t=t.reverse(),t.__actions__.push({func:oi,args:[bs],thisArg:i}),new tt(t,this.__chain__)}return this.thru(bs)}function LM(){return oc(this.__wrapped__,this.__actions__)}var AM=Qr(function(e,t,s){Pe.call(e,s)?++e[s]:Zt(e,s,1)});function vM(e,t,s){var M=r0(e)?Rn:pp;return s&&S1(e,t,s)&&(t=i),M(e,Ue(t,3))}function zM(e,t){var s=r0(e)?_1:Fo;return s(e,Ue(t,3))}var wM=bc(Xc),TM=bc(Hc);function SM(e,t){return y1(ci(e,t),1)}function OM(e,t){return y1(ci(e,t),$e)}function YM(e,t,s){return s=s===i?1:i0(s),y1(ci(e,t),s)}function $c(e,t){var s=r0(e)?r1:vn;return s(e,Ue(t,3))}function Vc(e,t){var s=r0(e)?jn:Ro;return s(e,Ue(t,3))}var kM=Qr(function(e,t,s){Pe.call(e,s)?e[s].push(t):Zt(e,s,[t])});function DM(e,t,s,M){e=q1(e)?e:Fa(e),s=s&&!M?i0(s):0;var T=e.length;return s<0&&(s=o1(T+s,0)),pi(e)?s<=T&&e.indexOf(t,s)>-1:!!T&&St(e,t,s)>-1}var xM=c0(function(e,t,s){var M=-1,T=typeof t=="function",N=q1(e)?Y(e.length):[];return vn(e,function(X){N[++M]=T?d1(t,X,s):gr(X,t,s)}),N}),NM=Qr(function(e,t,s){Zt(e,s,t)});function ci(e,t){var s=r0(e)?Y0:Jo;return s(e,Ue(t,3))}function WM(e,t,s,M){return e==null?[]:(r0(t)||(t=t==null?[]:[t]),s=M?i:s,r0(s)||(s=s==null?[]:[s]),ec(e,t,s))}var qM=Qr(function(e,t,s){e[s?0:1].push(t)},function(){return[[],[]]});function BM(e,t,s){var M=r0(e)?dt:Ut,T=arguments.length<3;return M(e,Ue(t,4),s,T,vn)}function CM(e,t,s){var M=r0(e)?ka:Ut,T=arguments.length<3;return M(e,Ue(t,4),s,T,Ro)}function EM(e,t){var s=r0(e)?_1:Fo;return s(e,di(Ue(t,3)))}function XM(e){var t=r0(e)?Xo:Dp;return t(e)}function HM(e,t,s){(s?S1(e,t,s):t===i)?t=1:t=i0(t);var M=r0(e)?cp:xp;return M(e,t)}function PM(e){var t=r0(e)?lp:Wp;return t(e)}function jM(e){if(e==null)return 0;if(q1(e))return pi(e)?G(e):e.length;var t=v1(e);return t==W||t==re?e.size:Ji(e).length}function RM(e,t,s){var M=r0(e)?Fn:qp;return s&&S1(e,t,s)&&(t=i),M(e,Ue(t,3))}var FM=c0(function(e,t){if(e==null)return[];var s=t.length;return s>1&&S1(e,t[0],t[1])?t=[]:s>2&&S1(t[0],t[1],t[2])&&(t=[t[0]]),ec(e,y1(t,1),[])}),li=zf||function(){return w0.Date.now()};function IM(e,t){if(typeof t!="function")throw new qe(p);return e=i0(e),function(){if(--e<1)return t.apply(this,arguments)}}function Uc(e,t,s){return t=s?i:t,t=e&&t==null?e.length:t,Qt(e,me,i,i,i,i,t)}function Gc(e,t){var s;if(typeof t!="function")throw new qe(p);return e=i0(e),function(){return--e>0&&(s=t.apply(this,arguments)),e<=1&&(t=i),s}}var gs=c0(function(e,t,s){var M=q;if(s.length){var T=y(s,ja(gs));M|=Se}return Qt(e,M,t,s,T)}),Jc=c0(function(e,t,s){var M=q|E;if(s.length){var T=y(s,ja(Jc));M|=Se}return Qt(t,M,e,s,T)});function Kc(e,t,s){t=s?i:t;var M=Qt(e,fe,i,i,i,i,i,t);return M.placeholder=Kc.placeholder,M}function Zc(e,t,s){t=s?i:t;var M=Qt(e,he,i,i,i,i,i,t);return M.placeholder=Zc.placeholder,M}function Qc(e,t,s){var M,T,N,X,j,ne,_e=0,be=!1,ge=!1,xe=!0;if(typeof e!="function")throw new qe(p);t=it(t)||0,F0(s)&&(be=!!s.leading,ge="maxWait"in s,N=ge?o1(it(s.maxWait)||0,t):N,xe="trailing"in s?!!s.trailing:xe);function He(a1){var _t=M,rn=T;return M=T=i,_e=a1,X=e.apply(rn,_t),X}function Ge(a1){return _e=a1,j=wr(d0,t),be?He(a1):X}function o0(a1){var _t=a1-ne,rn=a1-_e,bl=t-_t;return ge?A1(bl,N-rn):bl}function Je(a1){var _t=a1-ne,rn=a1-_e;return ne===i||_t>=t||_t<0||ge&&rn>=N}function d0(){var a1=li();if(Je(a1))return m0(a1);j=wr(d0,o0(a1))}function m0(a1){return j=i,xe&&M?He(a1):(M=T=i,X)}function $1(){j!==i&&lc(j),_e=0,M=ne=T=j=i}function O1(){return j===i?X:m0(li())}function V1(){var a1=li(),_t=Je(a1);if(M=arguments,T=this,ne=a1,_t){if(j===i)return Ge(ne);if(ge)return lc(j),j=wr(d0,t),He(ne)}return j===i&&(j=wr(d0,t)),X}return V1.cancel=$1,V1.flush=O1,V1}var $M=c0(function(e,t){return jo(e,1,t)}),VM=c0(function(e,t,s){return jo(e,it(t)||0,s)});function UM(e){return Qt(e,se)}function ui(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new qe(p);var s=function(){var M=arguments,T=t?t.apply(this,M):M[0],N=s.cache;if(N.has(T))return N.get(T);var X=e.apply(this,M);return s.cache=N.set(T,X)||N,X};return s.cache=new(ui.Cache||Kt),s}ui.Cache=Kt;function di(e){if(typeof e!="function")throw new qe(p);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function GM(e){return Gc(2,e)}var JM=Bp(function(e,t){t=t.length==1&&r0(t[0])?Y0(t[0],E0(Ue())):Y0(y1(t,1),E0(Ue()));var s=t.length;return c0(function(M){for(var T=-1,N=A1(M.length,s);++T=t}),ta=Vo(function(){return arguments}())?Vo:function(e){return G0(e)&&Pe.call(e,"callee")&&!No.call(e,"callee")},r0=Y.isArray,dm=Oa?E0(Oa):yp;function q1(e){return e!=null&&fi(e.length)&&!nn(e)}function n1(e){return G0(e)&&q1(e)}function fm(e){return e===!0||e===!1||G0(e)&&T1(e)==l1}var Sn=Tf||xs,pm=En?E0(En):gp;function hm(e){return G0(e)&&e.nodeType===1&&!Tr(e)}function Mm(e){if(e==null)return!0;if(q1(e)&&(r0(e)||typeof e=="string"||typeof e.splice=="function"||Sn(e)||Ra(e)||ta(e)))return!e.length;var t=v1(e);if(t==W||t==re)return!e.size;if(zr(e))return!Ji(e).length;for(var s in e)if(Pe.call(e,s))return!1;return!0}function mm(e,t){return Lr(e,t)}function _m(e,t,s){s=typeof s=="function"?s:i;var M=s?s(e,t):i;return M===i?Lr(e,t,i,s):!!M}function As(e){if(!G0(e))return!1;var t=T1(e);return t==Q||t==D0||typeof e.message=="string"&&typeof e.name=="string"&&!Tr(e)}function bm(e){return typeof e=="number"&&qo(e)}function nn(e){if(!F0(e))return!1;var t=T1(e);return t==w||t==x||t==De||t==$}function tl(e){return typeof e=="number"&&e==i0(e)}function fi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=We}function F0(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function G0(e){return e!=null&&typeof e=="object"}var nl=Ya?E0(Ya):Ap;function ym(e,t){return e===t||Gi(e,t,fs(t))}function gm(e,t,s){return s=typeof s=="function"?s:i,Gi(e,t,fs(t),s)}function Lm(e){return al(e)&&e!=+e}function Am(e){if(ih(e))throw new U(z);return Uo(e)}function vm(e){return e===null}function zm(e){return e==null}function al(e){return typeof e=="number"||G0(e)&&T1(e)==P}function Tr(e){if(!G0(e)||T1(e)!=I)return!1;var t=An(e);if(t===null)return!0;var s=Pe.call(t,"constructor")&&t.constructor;return typeof s=="function"&&s instanceof s&&M0.call(s)==gn}var vs=It?E0(It):vp;function wm(e){return tl(e)&&e>=-We&&e<=We}var rl=Xn?E0(Xn):zp;function pi(e){return typeof e=="string"||!r0(e)&&G0(e)&&T1(e)==ie}function I1(e){return typeof e=="symbol"||G0(e)&&T1(e)==pe}var Ra=Hn?E0(Hn):wp;function Tm(e){return e===i}function Sm(e){return G0(e)&&v1(e)==Ce}function Om(e){return G0(e)&&T1(e)==Ke}var Ym=ai(Ki),km=ai(function(e,t){return e<=t});function il(e){if(!e)return[];if(q1(e))return pi(e)?Z(e):W1(e);if(pr&&e[pr])return fr(e[pr]());var t=v1(e),s=t==W?u:t==re?k:Fa;return s(e)}function an(e){if(!e)return e===0?e:0;if(e=it(e),e===$e||e===-$e){var t=e<0?-1:1;return t*Ie}return e===e?e:0}function i0(e){var t=an(e),s=t%1;return t===t?s?t-s:t:0}function sl(e){return e?Kn(i0(e),0,Ve):0}function it(e){if(typeof e=="number")return e;if(I1(e))return l0;if(F0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=F0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Gt(e);var s=Et.test(e);return s||gt.test(e)?Sa(e.slice(2),s?2:8):Yn.test(e)?l0:+e}function ol(e){return Dt(e,B1(e))}function Dm(e){return e?Kn(i0(e),-We,We):e===0?e:0}function k0(e){return e==null?"":F1(e)}var xm=Ha(function(e,t){if(zr(t)||q1(t)){Dt(t,f1(t),e);return}for(var s in t)Pe.call(t,s)&&br(e,s,t[s])}),cl=Ha(function(e,t){Dt(t,B1(t),e)}),hi=Ha(function(e,t,s,M){Dt(t,B1(t),e,M)}),Nm=Ha(function(e,t,s,M){Dt(t,f1(t),e,M)}),Wm=en(Fi);function qm(e,t){var s=Xa(e);return t==null?s:Ho(s,t)}var Bm=c0(function(e,t){e=ae(e);var s=-1,M=t.length,T=M>2?t[2]:i;for(T&&S1(t[0],t[1],T)&&(M=1);++s1),N}),Dt(e,us(e),s),M&&(s=nt(s,r|c|h,Vp));for(var T=t.length;T--;)ns(s,t[T]);return s});function e2(e,t){return ul(e,di(Ue(t)))}var t2=en(function(e,t){return e==null?{}:Op(e,t)});function ul(e,t){if(e==null)return{};var s=Y0(us(e),function(M){return[M]});return t=Ue(t),tc(e,s,function(M,T){return t(M,T[0])})}function n2(e,t,s){t=wn(t,e);var M=-1,T=t.length;for(T||(T=1,e=i);++Mt){var M=e;e=t,t=M}if(s||e%1||t%1){var T=Bo();return A1(e+T*(t-e+Cn("1e-"+((T+"").length-1))),t)}return Qi(e,t)}var p2=Pa(function(e,t,s){return t=t.toLowerCase(),e+(s?pl(t):t)});function pl(e){return Ts(k0(e).toLowerCase())}function hl(e){return e=k0(e),e&&e.replace(tr,lr).replace(za,"")}function h2(e,t,s){e=k0(e),t=F1(t);var M=e.length;s=s===i?M:Kn(i0(s),0,M);var T=s;return s-=t.length,s>=0&&e.slice(s,T)==t}function M2(e){return e=k0(e),e&&yt.test(e)?e.replace(Bt,ur):e}function m2(e){return e=k0(e),e&&z0.test(e)?e.replace(U0,"\\\\$&"):e}var _2=Pa(function(e,t,s){return e+(s?"-":"")+t.toLowerCase()}),b2=Pa(function(e,t,s){return e+(s?" ":"")+t.toLowerCase()}),y2=_c("toLowerCase");function g2(e,t,s){e=k0(e),t=i0(t);var M=t?G(e):0;if(!t||M>=t)return e;var T=(t-M)/2;return ni(Rr(T),s)+e+ni(jr(T),s)}function L2(e,t,s){e=k0(e),t=i0(t);var M=t?G(e):0;return t&&M>>0,s?(e=k0(e),e&&(typeof t=="string"||t!=null&&!vs(t))&&(t=F1(t),!t&&b1(e))?Tn(Z(e),0,s):e.split(t,s)):[]}var O2=Pa(function(e,t,s){return e+(s?" ":"")+Ts(t)});function Y2(e,t,s){return e=k0(e),s=s==null?0:Kn(i0(s),0,e.length),t=F1(t),e.slice(s,s+t.length)==t}function k2(e,t,s){var M=D.templateSettings;s&&S1(e,t,s)&&(t=i),e=k0(e),t=hi({},t,M,zc);var T=hi({},t.imports,M.imports,zc),N=f1(T),X=Ot(T,N),j,ne,_e=0,be=t.interpolate||G1,ge="__p += \'",xe=ze((t.escape||G1).source+"|"+be.source+"|"+(be===V0?er:G1).source+"|"+(t.evaluate||G1).source+"|$","g"),He="//# sourceURL="+(Pe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\\s/g," "):"lodash.templateSources["+ ++Tt+"]")+`\n`;e.replace(xe,function(Je,d0,m0,$1,O1,V1){return m0||(m0=$1),ge+=e.slice(_e,V1).replace(cn,dr),d0&&(j=!0,ge+=`\' +\n__e(`+d0+`) +\n\'`),O1&&(ne=!0,ge+=`\';\n`+O1+`;\n__p += \'`),m0&&(ge+=`\' +\n((__t = (`+m0+`)) == null ? \'\' : __t) +\n\'`),_e=V1+Je.length,Je}),ge+=`\';\n`;var Ge=Pe.call(t,"variable")&&t.variable;if(!Ge)ge=`with (obj) {\n`+ge+`\n}\n`;else if(fa.test(Ge))throw new U(v);ge=(ne?ge.replace(N0,""):ge).replace(ve,"$1").replace(ca,"$1;"),ge="function("+(Ge||"obj")+`) {\n`+(Ge?"":`obj || (obj = {});\n`)+"var __t, __p = \'\'"+(j?", __e = _.escape":"")+(ne?`, __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, \'\') }\n`:`;\n`)+ge+`return __p\n}`;var o0=ml(function(){return Me(N,He+"return "+ge).apply(i,X)});if(o0.source=ge,As(o0))throw o0;return o0}function D2(e){return k0(e).toLowerCase()}function x2(e){return k0(e).toUpperCase()}function N2(e,t,s){if(e=k0(e),e&&(s||t===i))return Gt(e);if(!e||!(t=F1(t)))return e;var M=Z(e),T=Z(t),N=Wa(M,T),X=$n(M,T)+1;return Tn(M,N,X).join("")}function W2(e,t,s){if(e=k0(e),e&&(s||t===i))return e.slice(0,oe(e)+1);if(!e||!(t=F1(t)))return e;var M=Z(e),T=$n(M,Z(t))+1;return Tn(M,0,T).join("")}function q2(e,t,s){if(e=k0(e),e&&(s||t===i))return e.replace(q0,"");if(!e||!(t=F1(t)))return e;var M=Z(e),T=Wa(M,Z(t));return Tn(M,T).join("")}function B2(e,t){var s=le,M=Ye;if(F0(t)){var T="separator"in t?t.separator:T;s="length"in t?i0(t.length):s,M="omission"in t?F1(t.omission):M}e=k0(e);var N=e.length;if(b1(e)){var X=Z(e);N=X.length}if(s>=N)return e;var j=s-G(M);if(j<1)return M;var ne=X?Tn(X,0,j).join(""):e.slice(0,j);if(T===i)return ne+M;if(X&&(j+=ne.length-j),vs(T)){if(e.slice(j).search(T)){var _e,be=ne;for(T.global||(T=ze(T.source,k0(ha.exec(T))+"g")),T.lastIndex=0;_e=T.exec(be);)var ge=_e.index;ne=ne.slice(0,ge===i?j:ge)}}else if(e.indexOf(F1(T),j)!=j){var xe=ne.lastIndexOf(T);xe>-1&&(ne=ne.slice(0,xe))}return ne+M}function C2(e){return e=k0(e),e&&g0.test(e)?e.replace(s1,de):e}var E2=Pa(function(e,t,s){return e+(s?" ":"")+t.toUpperCase()}),Ts=_c("toUpperCase");function Ml(e,t,s){return e=k0(e),t=s?i:t,t===i?qa(e)?l(e):P1(e):e.match(t)||[]}var ml=c0(function(e,t){try{return d1(e,i,t)}catch(s){return As(s)?s:new U(s)}}),X2=en(function(e,t){return r1(t,function(s){s=xt(s),Zt(e,s,gs(e[s],e))}),e});function H2(e){var t=e==null?0:e.length,s=Ue();return e=t?Y0(e,function(M){if(typeof M[1]!="function")throw new qe(p);return[s(M[0]),M[1]]}):[],c0(function(M){for(var T=-1;++TWe)return[];var s=Ve,M=A1(e,Ve);t=Ue(t),e-=Ve;for(var T=yn(M,t);++s0||t<0)?new h0(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),t!==i&&(t=i0(t),s=t<0?s.dropRight(-t):s.take(t-e)),s)},h0.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},h0.prototype.toArray=function(){return this.take(Ve)},kt(h0.prototype,function(e,t){var s=/^(?:filter|find|map|reject)|While$/.test(t),M=/^(?:head|last)$/.test(t),T=D[M?"take"+(t=="last"?"Right":""):t],N=M||/^find/.test(t);T&&(D.prototype[t]=function(){var X=this.__wrapped__,j=M?[1]:arguments,ne=X instanceof h0,_e=j[0],be=ne||r0(X),ge=function(d0){var m0=T.apply(D,x1([d0],j));return M&&xe?m0[0]:m0};be&&s&&typeof _e=="function"&&_e.length!=1&&(ne=be=!1);var xe=this.__chain__,He=!!this.__actions__.length,Ge=N&&!xe,o0=ne&&!He;if(!N&&be){X=o0?X:new h0(this);var Je=e.apply(X,j);return Je.__actions__.push({func:oi,args:[ge],thisArg:i}),new tt(Je,xe)}return Ge&&o0?e.apply(this,j):(Je=this.thru(ge),Ge?M?Je.value()[0]:Je.value():Je)})}),r1(["pop","push","shift","sort","splice","unshift"],function(e){var t=y0[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",M=/^(?:pop|shift)$/.test(e);D.prototype[e]=function(){var T=arguments;if(M&&!this.__chain__){var N=this.value();return t.apply(r0(N)?N:[],T)}return this[s](function(X){return t.apply(r0(X)?X:[],T)})}}),kt(h0.prototype,function(e,t){var s=D[t];if(s){var M=s.name+"";Pe.call(Ea,M)||(Ea[M]=[]),Ea[M].push({name:t,func:s})}}),Ea[ei(i,E).name]=[{name:"wrapper",func:i}],h0.prototype.clone=Cf,h0.prototype.reverse=Ef,h0.prototype.value=Xf,D.prototype.at=hM,D.prototype.chain=MM,D.prototype.commit=mM,D.prototype.next=_M,D.prototype.plant=yM,D.prototype.reverse=gM,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=LM,D.prototype.first=D.prototype.head,pr&&(D.prototype[pr]=bM),D},L=f();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(w0._=L,define(function(){return L})):Z1?((Z1.exports=L)._=L,H1._=L):w0._=L}).call(Ia)});var vl=Xe(mi=>{"use strict";ue();Object.defineProperty(mi,"__esModule",{value:!0});mi.createGUID=Al;mi.createDOMID=x_;function Al(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,o=>{let d=Math.floor(Math.random()*16);return(o==="x"?d:d%4+8).toString(16)})}function x_(i="id"){if(i.match(/^[a-zA-Z][\\w-]*$/))return`${i}-${Al()}`;throw new Error("createDOMID: Prefix must start with a letter and may only contain letters, digits, hyphens and underscores")}});var _i=Xe((C3,zl)=>{ue();var N_=Array.isArray;zl.exports=N_});var Tl=Xe((X3,wl)=>{ue();var W_=typeof ke=="object"&&ke&&ke.Object===Object&&ke;wl.exports=W_});var bi=Xe((P3,Sl)=>{ue();var q_=Tl(),B_=typeof self=="object"&&self&&self.Object===Object&&self,C_=q_||B_||Function("return this")();Sl.exports=C_});var yi=Xe((R3,Ol)=>{ue();var E_=bi(),X_=E_.Symbol;Ol.exports=X_});var xl=Xe((I3,Dl)=>{ue();var Yl=yi(),kl=Object.prototype,H_=kl.hasOwnProperty,P_=kl.toString,Or=Yl?Yl.toStringTag:void 0;function j_(i){var o=H_.call(i,Or),d=i[Or];try{i[Or]=void 0;var z=!0}catch(v){}var p=P_.call(i);return z&&(o?i[Or]=d:delete i[Or]),p}Dl.exports=j_});var Wl=Xe((V3,Nl)=>{ue();var R_=Object.prototype,F_=R_.toString;function I_(i){return F_.call(i)}Nl.exports=I_});var Ws=Xe((G3,Cl)=>{ue();var ql=yi(),$_=xl(),V_=Wl(),U_="[object Null]",G_="[object Undefined]",Bl=ql?ql.toStringTag:void 0;function J_(i){return i==null?i===void 0?G_:U_:Bl&&Bl in Object(i)?$_(i):V_(i)}Cl.exports=J_});var Xl=Xe((K3,El)=>{ue();function K_(i){return i!=null&&typeof i=="object"}El.exports=K_});var gi=Xe((Q3,Hl)=>{ue();var Z_=Ws(),Q_=Xl(),eb="[object Symbol]";function tb(i){return typeof i=="symbol"||Q_(i)&&Z_(i)==eb}Hl.exports=tb});var jl=Xe((tv,Pl)=>{ue();var nb=_i(),ab=gi(),rb=/\\.|\\[(?:[^[\\]]*|(["\'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,ib=/^\\w*$/;function sb(i,o){if(nb(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||ab(i)?!0:ib.test(i)||!rb.test(i)||o!=null&&i in Object(o)}Pl.exports=sb});var qs=Xe((av,Rl)=>{ue();function ob(i){var o=typeof i;return i!=null&&(o=="object"||o=="function")}Rl.exports=ob});var Il=Xe((iv,Fl)=>{ue();var cb=Ws(),lb=qs(),ub="[object AsyncFunction]",db="[object Function]",fb="[object GeneratorFunction]",pb="[object Proxy]";function hb(i){if(!lb(i))return!1;var o=cb(i);return o==db||o==fb||o==ub||o==pb}Fl.exports=hb});var Vl=Xe((ov,$l)=>{ue();var Mb=bi(),mb=Mb["__core-js_shared__"];$l.exports=mb});var Jl=Xe((lv,Gl)=>{ue();var Bs=Vl(),Ul=function(){var i=/[^.]+$/.exec(Bs&&Bs.keys&&Bs.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function _b(i){return!!Ul&&Ul in i}Gl.exports=_b});var Zl=Xe((dv,Kl)=>{ue();var bb=Function.prototype,yb=bb.toString;function gb(i){if(i!=null){try{return yb.call(i)}catch(o){}try{return i+""}catch(o){}}return""}Kl.exports=gb});var eu=Xe((pv,Ql)=>{ue();var Lb=Il(),Ab=Jl(),vb=qs(),zb=Zl(),wb=/[\\\\^$.*+?()[\\]{}|]/g,Tb=/^\\[object .+?Constructor\\]$/,Sb=Function.prototype,Ob=Object.prototype,Yb=Sb.toString,kb=Ob.hasOwnProperty,Db=RegExp("^"+Yb.call(kb).replace(wb,"\\\\$&").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$");function xb(i){if(!vb(i)||Ab(i))return!1;var o=Lb(i)?Db:Tb;return o.test(zb(i))}Ql.exports=xb});var nu=Xe((Mv,tu)=>{ue();function Nb(i,o){return i==null?void 0:i[o]}tu.exports=Nb});var Cs=Xe((_v,au)=>{ue();var Wb=eu(),qb=nu();function Bb(i,o){var d=qb(i,o);return Wb(d)?d:void 0}au.exports=Bb});var Yr=Xe((yv,ru)=>{ue();var Cb=Cs(),Eb=Cb(Object,"create");ru.exports=Eb});var ou=Xe((Lv,su)=>{ue();var iu=Yr();function Xb(){this.__data__=iu?iu(null):{},this.size=0}su.exports=Xb});var lu=Xe((vv,cu)=>{ue();function Hb(i){var o=this.has(i)&&delete this.__data__[i];return this.size-=o?1:0,o}cu.exports=Hb});var du=Xe((wv,uu)=>{ue();var Pb=Yr(),jb="__lodash_hash_undefined__",Rb=Object.prototype,Fb=Rb.hasOwnProperty;function Ib(i){var o=this.__data__;if(Pb){var d=o[i];return d===jb?void 0:d}return Fb.call(o,i)?o[i]:void 0}uu.exports=Ib});var pu=Xe((Sv,fu)=>{ue();var $b=Yr(),Vb=Object.prototype,Ub=Vb.hasOwnProperty;function Gb(i){var o=this.__data__;return $b?o[i]!==void 0:Ub.call(o,i)}fu.exports=Gb});var Mu=Xe((Yv,hu)=>{ue();var Jb=Yr(),Kb="__lodash_hash_undefined__";function Zb(i,o){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Jb&&o===void 0?Kb:o,this}hu.exports=Zb});var _u=Xe((Dv,mu)=>{ue();var Qb=ou(),ey=lu(),ty=du(),ny=pu(),ay=Mu();function $a(i){var o=-1,d=i==null?0:i.length;for(this.clear();++o{ue();function ry(){this.__data__=[],this.size=0}bu.exports=ry});var Lu=Xe((qv,gu)=>{ue();function iy(i,o){return i===o||i!==i&&o!==o}gu.exports=iy});var kr=Xe((Cv,Au)=>{ue();var sy=Lu();function oy(i,o){for(var d=i.length;d--;)if(sy(i[d][0],o))return d;return-1}Au.exports=oy});var zu=Xe((Xv,vu)=>{ue();var cy=kr(),ly=Array.prototype,uy=ly.splice;function dy(i){var o=this.__data__,d=cy(o,i);if(d<0)return!1;var z=o.length-1;return d==z?o.pop():uy.call(o,d,1),--this.size,!0}vu.exports=dy});var Tu=Xe((Pv,wu)=>{ue();var fy=kr();function py(i){var o=this.__data__,d=fy(o,i);return d<0?void 0:o[d][1]}wu.exports=py});var Ou=Xe((Rv,Su)=>{ue();var hy=kr();function My(i){return hy(this.__data__,i)>-1}Su.exports=My});var ku=Xe((Iv,Yu)=>{ue();var my=kr();function _y(i,o){var d=this.__data__,z=my(d,i);return z<0?(++this.size,d.push([i,o])):d[z][1]=o,this}Yu.exports=_y});var xu=Xe((Vv,Du)=>{ue();var by=yu(),yy=zu(),gy=Tu(),Ly=Ou(),Ay=ku();function Va(i){var o=-1,d=i==null?0:i.length;for(this.clear();++o{ue();var vy=Cs(),zy=bi(),wy=vy(zy,"Map");Nu.exports=wy});var Cu=Xe((Kv,Bu)=>{ue();var qu=_u(),Ty=xu(),Sy=Wu();function Oy(){this.size=0,this.__data__={hash:new qu,map:new(Sy||Ty),string:new qu}}Bu.exports=Oy});var Xu=Xe((Qv,Eu)=>{ue();function Yy(i){var o=typeof i;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?i!=="__proto__":i===null}Eu.exports=Yy});var Dr=Xe((t4,Hu)=>{ue();var ky=Xu();function Dy(i,o){var d=i.__data__;return ky(o)?d[typeof o=="string"?"string":"hash"]:d.map}Hu.exports=Dy});var ju=Xe((a4,Pu)=>{ue();var xy=Dr();function Ny(i){var o=xy(this,i).delete(i);return this.size-=o?1:0,o}Pu.exports=Ny});var Fu=Xe((i4,Ru)=>{ue();var Wy=Dr();function qy(i){return Wy(this,i).get(i)}Ru.exports=qy});var $u=Xe((o4,Iu)=>{ue();var By=Dr();function Cy(i){return By(this,i).has(i)}Iu.exports=Cy});var Uu=Xe((l4,Vu)=>{ue();var Ey=Dr();function Xy(i,o){var d=Ey(this,i),z=d.size;return d.set(i,o),this.size+=d.size==z?0:1,this}Vu.exports=Xy});var Ju=Xe((d4,Gu)=>{ue();var Hy=Cu(),Py=ju(),jy=Fu(),Ry=$u(),Fy=Uu();function Ua(i){var o=-1,d=i==null?0:i.length;for(this.clear();++o{ue();var Ku=Ju(),Iy="Expected a function";function Es(i,o){if(typeof i!="function"||o!=null&&typeof o!="function")throw new TypeError(Iy);var d=function(){var z=arguments,p=o?o.apply(this,z):z[0],v=d.cache;if(v.has(p))return v.get(p);var _=i.apply(this,z);return d.cache=v.set(p,_)||v,_};return d.cache=new(Es.Cache||Ku),d}Es.Cache=Ku;Zu.exports=Es});var td=Xe((M4,ed)=>{ue();var $y=Qu(),Vy=500;function Uy(i){var o=$y(i,function(z){return d.size===Vy&&d.clear(),z}),d=o.cache;return o}ed.exports=Uy});var ad=Xe((_4,nd)=>{ue();var Gy=td(),Jy=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Ky=/\\\\(\\\\)?/g,Zy=Gy(function(i){var o=[];return i.charCodeAt(0)===46&&o.push(""),i.replace(Jy,function(d,z,p,v){o.push(p?v.replace(Ky,"$1"):z||d)}),o});nd.exports=Zy});var id=Xe((y4,rd)=>{ue();function Qy(i,o){for(var d=-1,z=i==null?0:i.length,p=Array(z);++d{ue();var sd=yi(),eg=id(),tg=_i(),ng=gi(),ag=1/0,od=sd?sd.prototype:void 0,cd=od?od.toString:void 0;function ld(i){if(typeof i=="string")return i;if(tg(i))return eg(i,ld)+"";if(ng(i))return cd?cd.call(i):"";var o=i+"";return o=="0"&&1/i==-ag?"-0":o}ud.exports=ld});var pd=Xe((v4,fd)=>{ue();var rg=dd();function ig(i){return i==null?"":rg(i)}fd.exports=ig});var Md=Xe((w4,hd)=>{ue();var sg=_i(),og=jl(),cg=ad(),lg=pd();function ug(i,o){return sg(i)?i:og(i,o)?[i]:cg(lg(i))}hd.exports=ug});var _d=Xe((S4,md)=>{ue();var dg=gi(),fg=1/0;function pg(i){if(typeof i=="string"||dg(i))return i;var o=i+"";return o=="0"&&1/i==-fg?"-0":o}md.exports=pg});var yd=Xe((Y4,bd)=>{ue();var hg=Md(),Mg=_d();function mg(i,o){o=hg(o,i);for(var d=0,z=o.length;i!=null&&d{ue();var _g=yd();function bg(i,o,d){var z=i==null?void 0:_g(i,o);return z===void 0?d:z}gd.exports=bg});var Ad=Xe(Xs=>{"use strict";ue();Object.defineProperty(Xs,"__esModule",{value:!0});Xs.getEntry=yg;function yg(i){if(typeof document=="undefined")return null;let o=new RegExp(`(^|; ?)${i}=([^;]+)`),d=null;try{let z=document.cookie.match(o);d=z?z[2]:null}catch(z){}return d}});var wd=Xe(T0=>{"use strict";ue();Object.defineProperty(T0,"__esModule",{value:!0});T0.getCSRFToken=Ag;T0.extractAppName=zd;T0.versionLabel=T0.username=T0.splunkdPath=T0.serverTimezoneInfo=T0.rootPath=T0.portNumber=T0.locale=T0.config=T0.buildPushNumber=T0.buildNumber=T0.appBuild=T0.app=T0.isAvailable=T0.CSRFToken=void 0;var Hs=gg(Ld()),vd=Ad();function gg(i){return i&&i.__esModule?i:{default:i}}var Ps=typeof window=="undefined"?ke:window;function U1(i){return(0,Hs.default)(Ps,["$C",i])}var Lg=(0,vd.getEntry)("splunkweb_csrf_token_".concat(U1("MRSPARKLE_PORT_NUMBER")));T0.CSRFToken=Lg;function Ag(){return(0,vd.getEntry)("splunkweb_csrf_token_".concat(U1("MRSPARKLE_PORT_NUMBER")))}var vg=!!U1("SPLUNKD_PATH");T0.isAvailable=vg;function zd(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,Hs.default)(Ps,["document","location","pathname"],""),o=i.match(/\\w\\w.\\w\\w\\/(app|manager)\\/([^/]+)/);return o?o[2]:void 0}var zg=zd();T0.app=zg;var wg=U1("APP_BUILD");T0.appBuild=wg;var Tg=U1("BUILD_NUMBER");T0.buildNumber=Tg;var Sg=U1("BUILD_PUSH_NUMBER");T0.buildPushNumber=Sg;var Og=(0,Hs.default)(Ps,"$C");T0.config=Og;var Yg=U1("LOCALE");T0.locale=Yg;var kg=U1("MRSPARKLE_PORT_NUMBER");T0.portNumber=kg;var Dg=U1("MRSPARKLE_ROOT_PATH");T0.rootPath=Dg;var xg=U1("SERVER_ZONEINFO");T0.serverTimezoneInfo=xg;var Ng=U1("SPLUNKD_PATH");T0.splunkdPath=Ng;var Wg=U1("USERNAME");T0.username=Wg;var qg=U1("VERSION_LABEL");T0.versionLabel=qg});var js=Xe((C4,Td)=>{ue();(()=>{var i={2153:(p,v,_)=>{"use strict";_.d(v,{default:()=>A});var g=_(316),a=_.n(g);function r(S,q){var E=Object.keys(S);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(S);q&&(K=K.filter(function(fe){return Object.getOwnPropertyDescriptor(S,fe).enumerable})),E.push.apply(E,K)}return E}function c(S){for(var q=1;q=me.offsets.length?me:c(c({},me),{},{starts:me.starts.concat([{time:1e3*se,abbr:me.abbrs[le],offset:me.offsets[le]}])})}(Se.substring(1,Se.length),E)}});var K={name:q,abbrs:[],offsets:[],untils:[]};if(E.starts.length===0)return K.abbrs.push(E.abbrs[0]),K.offsets.push(E.offsets[0]),K.untils.push(null),K;var fe=E.starts[0],he=E.starts[E.starts.length-1];return E.starts.forEach(function(Se,Te){Se===fe?(K.abbrs.push(he.abbr),K.offsets.push(he.offset),K.untils.push(Se.time)):(K.abbrs.push(E.starts[Te-1].abbr),K.offsets.push(E.starts[Te-1].offset),K.untils.push(Se.time)),Se===he&&(K.abbrs.push(Se.abbr),K.offsets.push(Se.offset),K.untils.push(null))}),K}},4253:(p,v,_)=>{var g=_(7554),a=_(6772),r=_(1616),c=_(8099),h=_(2673);function A(S){var q=-1,E=S==null?0:S.length;for(this.clear();++q{var g=_(5698),a=_(7688),r=_(2640),c=_(8406),h=_(2070);function A(S){var q=-1,E=S==null?0:S.length;for(this.clear();++q{var g=_(4061)(_(5126),"Map");p.exports=g},9794:(p,v,_)=>{var g=_(6807),a=_(2770),r=_(893),c=_(2461),h=_(8476);function A(S){var q=-1,E=S==null?0:S.length;for(this.clear();++q{var g=_(5126).Symbol;p.exports=g},5285:(p,v,_)=>{var g=_(2537);p.exports=function(a,r){for(var c=a.length;c--;)if(g(a[c][0],r))return c;return-1}},7030:(p,v,_)=>{var g=_(7887),a=_(3490),r=_(6275),c=g?g.toStringTag:void 0;p.exports=function(h){return h==null?h===void 0?"[object Undefined]":"[object Null]":c&&c in Object(h)?a(h):r(h)}},5849:(p,v,_)=>{var g=_(8626),a=_(9650),r=_(5600),c=_(339),h=/^\\[object .+?Constructor\\]$/,A=Function.prototype,S=Object.prototype,q=A.toString,E=S.hasOwnProperty,K=RegExp("^"+q.call(E).replace(/[\\\\^$.*+?()[\\]{}|]/g,"\\\\$&").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$");p.exports=function(fe){return!(!r(fe)||a(fe))&&(g(fe)?K:h).test(c(fe))}},6832:(p,v,_)=>{var g=_(5126)["__core-js_shared__"];p.exports=g},9876:(p,v,_)=>{var g=typeof _.g=="object"&&_.g&&_.g.Object===Object&&_.g;p.exports=g},3291:(p,v,_)=>{var g=_(4246);p.exports=function(a,r){var c=a.__data__;return g(r)?c[typeof r=="string"?"string":"hash"]:c.map}},4061:(p,v,_)=>{var g=_(5849),a=_(6692);p.exports=function(r,c){var h=a(r,c);return g(h)?h:void 0}},3490:(p,v,_)=>{var g=_(7887),a=Object.prototype,r=a.hasOwnProperty,c=a.toString,h=g?g.toStringTag:void 0;p.exports=function(A){var S=r.call(A,h),q=A[h];try{A[h]=void 0;var E=!0}catch(fe){}var K=c.call(A);return E&&(S?A[h]=q:delete A[h]),K}},6692:p=>{p.exports=function(v,_){return v==null?void 0:v[_]}},7554:(p,v,_)=>{var g=_(290);p.exports=function(){this.__data__=g?g(null):{},this.size=0}},6772:p=>{p.exports=function(v){var _=this.has(v)&&delete this.__data__[v];return this.size-=_?1:0,_}},1616:(p,v,_)=>{var g=_(290),a=Object.prototype.hasOwnProperty;p.exports=function(r){var c=this.__data__;if(g){var h=c[r];return h==="__lodash_hash_undefined__"?void 0:h}return a.call(c,r)?c[r]:void 0}},8099:(p,v,_)=>{var g=_(290),a=Object.prototype.hasOwnProperty;p.exports=function(r){var c=this.__data__;return g?c[r]!==void 0:a.call(c,r)}},2673:(p,v,_)=>{var g=_(290);p.exports=function(a,r){var c=this.__data__;return this.size+=this.has(a)?0:1,c[a]=g&&r===void 0?"__lodash_hash_undefined__":r,this}},4246:p=>{p.exports=function(v){var _=typeof v;return _=="string"||_=="number"||_=="symbol"||_=="boolean"?v!=="__proto__":v===null}},9650:(p,v,_)=>{var g,a=_(6832),r=(g=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"";p.exports=function(c){return!!r&&r in c}},5698:p=>{p.exports=function(){this.__data__=[],this.size=0}},7688:(p,v,_)=>{var g=_(5285),a=Array.prototype.splice;p.exports=function(r){var c=this.__data__,h=g(c,r);return!(h<0||(h==c.length-1?c.pop():a.call(c,h,1),--this.size,0))}},2640:(p,v,_)=>{var g=_(5285);p.exports=function(a){var r=this.__data__,c=g(r,a);return c<0?void 0:r[c][1]}},8406:(p,v,_)=>{var g=_(5285);p.exports=function(a){return g(this.__data__,a)>-1}},2070:(p,v,_)=>{var g=_(5285);p.exports=function(a,r){var c=this.__data__,h=g(c,a);return h<0?(++this.size,c.push([a,r])):c[h][1]=r,this}},6807:(p,v,_)=>{var g=_(4253),a=_(9849),r=_(6619);p.exports=function(){this.size=0,this.__data__={hash:new g,map:new(r||a),string:new g}}},2770:(p,v,_)=>{var g=_(3291);p.exports=function(a){var r=g(this,a).delete(a);return this.size-=r?1:0,r}},893:(p,v,_)=>{var g=_(3291);p.exports=function(a){return g(this,a).get(a)}},2461:(p,v,_)=>{var g=_(3291);p.exports=function(a){return g(this,a).has(a)}},8476:(p,v,_)=>{var g=_(3291);p.exports=function(a,r){var c=g(this,a),h=c.size;return c.set(a,r),this.size+=c.size==h?0:1,this}},290:(p,v,_)=>{var g=_(4061)(Object,"create");p.exports=g},6275:p=>{var v=Object.prototype.toString;p.exports=function(_){return v.call(_)}},5126:(p,v,_)=>{var g=_(9876),a=typeof self=="object"&&self&&self.Object===Object&&self,r=g||a||Function("return this")();p.exports=r},339:p=>{var v=Function.prototype.toString;p.exports=function(_){if(_!=null){try{return v.call(_)}catch(g){}try{return _+""}catch(g){}}return""}},2537:p=>{p.exports=function(v,_){return v===_||v!=v&&_!=_}},316:(p,v,_)=>{var g=_(5126).isFinite;p.exports=function(a){return typeof a=="number"&&g(a)}},8626:(p,v,_)=>{var g=_(7030),a=_(5600);p.exports=function(r){if(!a(r))return!1;var c=g(r);return c=="[object Function]"||c=="[object GeneratorFunction]"||c=="[object AsyncFunction]"||c=="[object Proxy]"}},5600:p=>{p.exports=function(v){var _=typeof v;return v!=null&&(_=="object"||_=="function")}},7097:(p,v,_)=>{var g=_(9794);function a(r,c){if(typeof r!="function"||c!=null&&typeof c!="function")throw new TypeError("Expected a function");var h=function(){var A=arguments,S=c?c.apply(this,A):A[0],q=h.cache;if(q.has(S))return q.get(S);var E=r.apply(this,A);return h.cache=q.set(S,E)||q,E};return h.cache=new(a.Cache||g),h}a.Cache=g,p.exports=a},4764:(p,v,_)=>{(p.exports=_(2428)).tz.load(_(1175))},6337:function(p,v,_){var g,a,r;(function(c,h){"use strict";p.exports?p.exports=h(_(4764)):(a=[_(9034)],(r=typeof(g=h)=="function"?g.apply(v,a):g)===void 0||(p.exports=r))})(0,function(c){"use strict";if(!c.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var h="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX",A=1e-6;function S(se,le){for(var Ye="",ye=Math.abs(se),Ne=Math.floor(ye),Re=function(je,t0){for(var $e,We=".",Ie="";t0>0;)t0-=1,je*=60,$e=Math.floor(je+A),We+=h[$e],je-=$e,$e&&(Ie+=We,We="");return Ie}(ye-Ne,Math.min(~~le,10));Ne>0;)Ye=h[Ne%60]+Ye,Ne=Math.floor(Ne/60);return se<0&&(Ye="-"+Ye),Ye&&Re?Ye+Re:(Re||Ye!=="-")&&(Ye||Re)||"0"}function q(se){var le,Ye=[],ye=0;for(le=0;lel0.population||Ie.population===l0.population&&t0&&t0[Ie.name]?Ve.unshift(Ie):Ve.push(Ie),A0=!0);A0||Q0.push([Ie])}for($e=0;$e$e&&(Ie=t0,t0=$e,$e=Ie),Ie=0;Ie$e&&(Ve=Math.min(Ve,Ie+1)));return[l0,Ve]}(se.untils,le,Ye),Re=ye.apply(se.untils,Ne);return Re[Re.length-1]=null,{name:se.name,abbrs:ye.apply(se.abbrs,Ne),untils:Re,offsets:ye.apply(se.offsets,Ne),population:se.population,countries:se.countries}}return c.tz.pack=fe,c.tz.packBase60=S,c.tz.createLinks=me,c.tz.filterYears=R,c.tz.filterLinkPack=function(se,le,Ye,ye){var Ne,Re,je=se.zones,t0=[];for(Ne=0;Ne96?Q-87:Q>64?Q-29:Q-48}function me(Q){var w=0,x=Q.split("."),W=x[0],P=x[1]||"",F=1,I=0,J=1;for(Q.charCodeAt(0)===45&&(w=1,J=-1);w= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),Ye.prototype={_set:function(Q){this.name=Q.name,this.abbrs=Q.abbrs,this.untils=Q.untils,this.offsets=Q.offsets,this.population=Q.population},_index:function(Q){var w,x=+Q,W=this.untils;for(w=0;wW&&n0.moveInvalidForward&&(w=W),F3){var x=E[Ie(w)];if(x)return x;C0("Moment Timezone found "+w+" from the Intl api, but did not have that data loaded.")}}catch(re){}var W,P,F,I=function(){var re,ie,pe,Oe=new Date().getFullYear()-2,Ce=new Ne(new Date(Oe,0,1)),Ke=[Ce];for(pe=1;pe<48;pe++)(ie=new Ne(new Date(Oe,pe,1))).offset!==Ce.offset&&(re=je(Ce,ie),Ke.push(re),Ke.push(new Ne(new Date(re.at+6e4)))),Ce=ie;for(pe=0;pe<4;pe++)Ke.push(new Ne(new Date(Oe+pe,0,1))),Ke.push(new Ne(new Date(Oe+pe,6,1)));return Ke}(),J=I.length,$=We(I),te=[];for(P=0;P<$.length;P++){for(W=new Re(Ve($[P]),J),F=0;F0?te[0].zone.name:void 0}()),h},n0.names=function(){var Q,w=[];for(Q in E)E.hasOwnProperty(Q)&&(A[Q]||A[S[Q]])&&E[Q]&&w.push(E[Q]);return w.sort()},n0.Zone=Ye,n0.unpack=le,n0.unpackBase60=me,n0.needsOffset=Q0,n0.moveInvalidForward=!0,n0.moveAmbiguousForward=!1,n0.countries=function(){return Object.keys(q)},n0.zonesForCountry=function(Q,w){var x;if(x=(x=Q).toUpperCase(),!(Q=q[x]||null))return null;var W=Q.zones.sort();return w?W.map(function(P){return{name:P,offset:Ve(P).utcOffset(new Date)}}):W};var Le,De=c.fn;function l1(Q){return function(){return this._z?this._z.abbr(this):Q.call(this)}}function h1(Q){return function(){return this._z=null,Q.apply(this,arguments)}}c.tz=n0,c.defaultZone=null,c.updateOffset=function(Q,w){var x,W=c.defaultZone;if(Q._z===void 0&&(W&&Q0(Q)&&!Q._isUTC&&(Q._d=c.utc(Q._a)._d,Q.utc().add(W.parse(Q),"minutes")),Q._z=W),Q._z)if(x=Q._z.utcOffset(Q),Math.abs(x)<16&&(x/=60),Q.utcOffset!==void 0){var P=Q._z;Q.utcOffset(-x,w),Q._z=P}else Q.zone(x,w)},De.tz=function(Q,w){if(Q){if(typeof Q!="string")throw new Error("Time zone name must be a string, got "+Q+" ["+typeof Q+"]");return this._z=Ve(Q),this._z?c.updateOffset(this,w):C0("Moment Timezone has no data for "+Q+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},De.zoneName=l1(De.zoneName),De.zoneAbbr=l1(De.zoneAbbr),De.utc=h1(De.utc),De.local=h1(De.local),De.utcOffset=(Le=De.utcOffset,function(){return arguments.length>0&&(this._z=null),Le.apply(this,arguments)}),c.tz.setDefault=function(Q){return(he<2||he===2&&Se<9)&&C0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=Q?Ve(Q):null,c};var D0=c.momentProperties;return Object.prototype.toString.call(D0)==="[object Array]"?(D0.push("_z"),D0.push("_a")):D0&&(D0._z=null),c})},5191:function(p,v,_){(function(g){"use strict";g.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(a){return/^nm$/i.test(a)},meridiem:function(a,r,c){return a<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\\xF4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"\'n paar sekondes",ss:"%d sekondes",m:"\'n minuut",mm:"%d minute",h:"\'n uur",hh:"%d ure",d:"\'n dag",dd:"%d dae",M:"\'n maand",MM:"%d maande",y:"\'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(a){return a+(a===1||a===8||a>=20?"ste":"de")},week:{dow:1,doy:4}})})(_(9034))},1727:function(p,v,_){(function(g){"use strict";var a=function(A){return A===0?0:A===1?1:A===2?2:A%100>=3&&A%100<=10?3:A%100>=11?4:5},r={s:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062B\\u0627\\u0646\\u064A\\u0629","\\u062B\\u0627\\u0646\\u064A\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u062B\\u0627\\u0646\\u064A\\u062A\\u0627\\u0646","\\u062B\\u0627\\u0646\\u064A\\u062A\\u064A\\u0646"],"%d \\u062B\\u0648\\u0627\\u0646","%d \\u062B\\u0627\\u0646\\u064A\\u0629","%d \\u062B\\u0627\\u0646\\u064A\\u0629"],m:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062F\\u0642\\u064A\\u0642\\u0629","\\u062F\\u0642\\u064A\\u0642\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u062F\\u0642\\u064A\\u0642\\u062A\\u0627\\u0646","\\u062F\\u0642\\u064A\\u0642\\u062A\\u064A\\u0646"],"%d \\u062F\\u0642\\u0627\\u0626\\u0642","%d \\u062F\\u0642\\u064A\\u0642\\u0629","%d \\u062F\\u0642\\u064A\\u0642\\u0629"],h:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0633\\u0627\\u0639\\u0629","\\u0633\\u0627\\u0639\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u0633\\u0627\\u0639\\u062A\\u0627\\u0646","\\u0633\\u0627\\u0639\\u062A\\u064A\\u0646"],"%d \\u0633\\u0627\\u0639\\u0627\\u062A","%d \\u0633\\u0627\\u0639\\u0629","%d \\u0633\\u0627\\u0639\\u0629"],d:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u064A\\u0648\\u0645","\\u064A\\u0648\\u0645 \\u0648\\u0627\\u062D\\u062F",["\\u064A\\u0648\\u0645\\u0627\\u0646","\\u064A\\u0648\\u0645\\u064A\\u0646"],"%d \\u0623\\u064A\\u0627\\u0645","%d \\u064A\\u0648\\u0645\\u064B\\u0627","%d \\u064A\\u0648\\u0645"],M:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0634\\u0647\\u0631","\\u0634\\u0647\\u0631 \\u0648\\u0627\\u062D\\u062F",["\\u0634\\u0647\\u0631\\u0627\\u0646","\\u0634\\u0647\\u0631\\u064A\\u0646"],"%d \\u0623\\u0634\\u0647\\u0631","%d \\u0634\\u0647\\u0631\\u0627","%d \\u0634\\u0647\\u0631"],y:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0639\\u0627\\u0645","\\u0639\\u0627\\u0645 \\u0648\\u0627\\u062D\\u062F",["\\u0639\\u0627\\u0645\\u0627\\u0646","\\u0639\\u0627\\u0645\\u064A\\u0646"],"%d \\u0623\\u0639\\u0648\\u0627\\u0645","%d \\u0639\\u0627\\u0645\\u064B\\u0627","%d \\u0639\\u0627\\u0645"]},c=function(A){return function(S,q,E,K){var fe=a(S),he=r[A][a(S)];return fe===2&&(he=he[q?0:1]),he.replace(/%d/i,S)}},h=["\\u062C\\u0627\\u0646\\u0641\\u064A","\\u0641\\u064A\\u0641\\u0631\\u064A","\\u0645\\u0627\\u0631\\u0633","\\u0623\\u0641\\u0631\\u064A\\u0644","\\u0645\\u0627\\u064A","\\u062C\\u0648\\u0627\\u0646","\\u062C\\u0648\\u064A\\u0644\\u064A\\u0629","\\u0623\\u0648\\u062A","\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631","\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631","\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631","\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631"];g.defineLocale("ar-dz",{months:h,monthsShort:h,weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062B\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0623\\u062D\\u062F_\\u0625\\u062B\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\\u200FM/\\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(A){return A==="\\u0645"},meridiem:function(A,S,q){return A<12?"\\u0635":"\\u0645"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u064B\\u0627 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0628\\u0639\\u062F %s",past:"\\u0645\\u0646\\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},postformat:function(A){return A.replace(/,/g,"\\u060C")},week:{dow:0,doy:4}})})(_(9034))},8279:function(p,v,_){(function(g){"use strict";g.defineLocale("ar-kw",{months:"\\u064A\\u0646\\u0627\\u064A\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A_\\u064A\\u0648\\u0646\\u064A\\u0648_\\u064A\\u0648\\u0644\\u064A\\u0648\\u0632_\\u063A\\u0634\\u062A_\\u0634\\u062A\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062F\\u062C\\u0646\\u0628\\u0631".split("_"),monthsShort:"\\u064A\\u0646\\u0627\\u064A\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A_\\u064A\\u0648\\u0646\\u064A\\u0648_\\u064A\\u0648\\u0644\\u064A\\u0648\\u0632_\\u063A\\u0634\\u062A_\\u0634\\u062A\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062F\\u062C\\u0646\\u0628\\u0631".split("_"),weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062A\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0627\\u062D\\u062F_\\u0627\\u062A\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0641\\u064A %s",past:"\\u0645\\u0646\\u0630 %s",s:"\\u062B\\u0648\\u0627\\u0646",ss:"%d \\u062B\\u0627\\u0646\\u064A\\u0629",m:"\\u062F\\u0642\\u064A\\u0642\\u0629",mm:"%d \\u062F\\u0642\\u0627\\u0626\\u0642",h:"\\u0633\\u0627\\u0639\\u0629",hh:"%d \\u0633\\u0627\\u0639\\u0627\\u062A",d:"\\u064A\\u0648\\u0645",dd:"%d \\u0623\\u064A\\u0627\\u0645",M:"\\u0634\\u0647\\u0631",MM:"%d \\u0623\\u0634\\u0647\\u0631",y:"\\u0633\\u0646\\u0629",yy:"%d \\u0633\\u0646\\u0648\\u0627\\u062A"},week:{dow:0,doy:12}})})(_(9034))},7895:function(p,v,_){(function(g){"use strict";var a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(S){return S===0?0:S===1?1:S===2?2:S%100>=3&&S%100<=10?3:S%100>=11?4:5},c={s:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062B\\u0627\\u0646\\u064A\\u0629","\\u062B\\u0627\\u0646\\u064A\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u062B\\u0627\\u0646\\u064A\\u062A\\u0627\\u0646","\\u062B\\u0627\\u0646\\u064A\\u062A\\u064A\\u0646"],"%d \\u062B\\u0648\\u0627\\u0646","%d \\u062B\\u0627\\u0646\\u064A\\u0629","%d \\u062B\\u0627\\u0646\\u064A\\u0629"],m:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062F\\u0642\\u064A\\u0642\\u0629","\\u062F\\u0642\\u064A\\u0642\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u062F\\u0642\\u064A\\u0642\\u062A\\u0627\\u0646","\\u062F\\u0642\\u064A\\u0642\\u062A\\u064A\\u0646"],"%d \\u062F\\u0642\\u0627\\u0626\\u0642","%d \\u062F\\u0642\\u064A\\u0642\\u0629","%d \\u062F\\u0642\\u064A\\u0642\\u0629"],h:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0633\\u0627\\u0639\\u0629","\\u0633\\u0627\\u0639\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u0633\\u0627\\u0639\\u062A\\u0627\\u0646","\\u0633\\u0627\\u0639\\u062A\\u064A\\u0646"],"%d \\u0633\\u0627\\u0639\\u0627\\u062A","%d \\u0633\\u0627\\u0639\\u0629","%d \\u0633\\u0627\\u0639\\u0629"],d:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u064A\\u0648\\u0645","\\u064A\\u0648\\u0645 \\u0648\\u0627\\u062D\\u062F",["\\u064A\\u0648\\u0645\\u0627\\u0646","\\u064A\\u0648\\u0645\\u064A\\u0646"],"%d \\u0623\\u064A\\u0627\\u0645","%d \\u064A\\u0648\\u0645\\u064B\\u0627","%d \\u064A\\u0648\\u0645"],M:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0634\\u0647\\u0631","\\u0634\\u0647\\u0631 \\u0648\\u0627\\u062D\\u062F",["\\u0634\\u0647\\u0631\\u0627\\u0646","\\u0634\\u0647\\u0631\\u064A\\u0646"],"%d \\u0623\\u0634\\u0647\\u0631","%d \\u0634\\u0647\\u0631\\u0627","%d \\u0634\\u0647\\u0631"],y:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0639\\u0627\\u0645","\\u0639\\u0627\\u0645 \\u0648\\u0627\\u062D\\u062F",["\\u0639\\u0627\\u0645\\u0627\\u0646","\\u0639\\u0627\\u0645\\u064A\\u0646"],"%d \\u0623\\u0639\\u0648\\u0627\\u0645","%d \\u0639\\u0627\\u0645\\u064B\\u0627","%d \\u0639\\u0627\\u0645"]},h=function(S){return function(q,E,K,fe){var he=r(q),Se=c[S][r(q)];return he===2&&(Se=Se[E?0:1]),Se.replace(/%d/i,q)}},A=["\\u064A\\u0646\\u0627\\u064A\\u0631","\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631","\\u0645\\u0627\\u0631\\u0633","\\u0623\\u0628\\u0631\\u064A\\u0644","\\u0645\\u0627\\u064A\\u0648","\\u064A\\u0648\\u0646\\u064A\\u0648","\\u064A\\u0648\\u0644\\u064A\\u0648","\\u0623\\u063A\\u0633\\u0637\\u0633","\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631","\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631","\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631","\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631"];g.defineLocale("ar-ly",{months:A,monthsShort:A,weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062B\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0623\\u062D\\u062F_\\u0625\\u062B\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\\u200FM/\\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(S){return S==="\\u0645"},meridiem:function(S,q,E){return S<12?"\\u0635":"\\u0645"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u064B\\u0627 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0628\\u0639\\u062F %s",past:"\\u0645\\u0646\\u0630 %s",s:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(S){return S.replace(/،/g,",")},postformat:function(S){return S.replace(/\\d/g,function(q){return a[q]}).replace(/,/g,"\\u060C")},week:{dow:6,doy:12}})})(_(9034))},1987:function(p,v,_){(function(g){"use strict";g.defineLocale("ar-ma",{months:"\\u064A\\u0646\\u0627\\u064A\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A_\\u064A\\u0648\\u0646\\u064A\\u0648_\\u064A\\u0648\\u0644\\u064A\\u0648\\u0632_\\u063A\\u0634\\u062A_\\u0634\\u062A\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062F\\u062C\\u0646\\u0628\\u0631".split("_"),monthsShort:"\\u064A\\u0646\\u0627\\u064A\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A_\\u064A\\u0648\\u0646\\u064A\\u0648_\\u064A\\u0648\\u0644\\u064A\\u0648\\u0632_\\u063A\\u0634\\u062A_\\u0634\\u062A\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062F\\u062C\\u0646\\u0628\\u0631".split("_"),weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062B\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0627\\u062D\\u062F_\\u0627\\u062B\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0641\\u064A %s",past:"\\u0645\\u0646\\u0630 %s",s:"\\u062B\\u0648\\u0627\\u0646",ss:"%d \\u062B\\u0627\\u0646\\u064A\\u0629",m:"\\u062F\\u0642\\u064A\\u0642\\u0629",mm:"%d \\u062F\\u0642\\u0627\\u0626\\u0642",h:"\\u0633\\u0627\\u0639\\u0629",hh:"%d \\u0633\\u0627\\u0639\\u0627\\u062A",d:"\\u064A\\u0648\\u0645",dd:"%d \\u0623\\u064A\\u0627\\u0645",M:"\\u0634\\u0647\\u0631",MM:"%d \\u0623\\u0634\\u0647\\u0631",y:"\\u0633\\u0646\\u0629",yy:"%d \\u0633\\u0646\\u0648\\u0627\\u062A"},week:{dow:1,doy:4}})})(_(9034))},2796:function(p,v,_){(function(g){"use strict";var a={1:"\\u0661",2:"\\u0662",3:"\\u0663",4:"\\u0664",5:"\\u0665",6:"\\u0666",7:"\\u0667",8:"\\u0668",9:"\\u0669",0:"\\u0660"},r={"\\u0661":"1","\\u0662":"2","\\u0663":"3","\\u0664":"4","\\u0665":"5","\\u0666":"6","\\u0667":"7","\\u0668":"8","\\u0669":"9","\\u0660":"0"};g.defineLocale("ar-sa",{months:"\\u064A\\u0646\\u0627\\u064A\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A\\u0648_\\u064A\\u0648\\u0646\\u064A\\u0648_\\u064A\\u0648\\u0644\\u064A\\u0648_\\u0623\\u063A\\u0633\\u0637\\u0633_\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631".split("_"),monthsShort:"\\u064A\\u0646\\u0627\\u064A\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A\\u0648_\\u064A\\u0648\\u0646\\u064A\\u0648_\\u064A\\u0648\\u0644\\u064A\\u0648_\\u0623\\u063A\\u0633\\u0637\\u0633_\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631".split("_"),weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062B\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0623\\u062D\\u062F_\\u0625\\u062B\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(c){return c==="\\u0645"},meridiem:function(c,h,A){return c<12?"\\u0635":"\\u0645"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0641\\u064A %s",past:"\\u0645\\u0646\\u0630 %s",s:"\\u062B\\u0648\\u0627\\u0646",ss:"%d \\u062B\\u0627\\u0646\\u064A\\u0629",m:"\\u062F\\u0642\\u064A\\u0642\\u0629",mm:"%d \\u062F\\u0642\\u0627\\u0626\\u0642",h:"\\u0633\\u0627\\u0639\\u0629",hh:"%d \\u0633\\u0627\\u0639\\u0627\\u062A",d:"\\u064A\\u0648\\u0645",dd:"%d \\u0623\\u064A\\u0627\\u0645",M:"\\u0634\\u0647\\u0631",MM:"%d \\u0623\\u0634\\u0647\\u0631",y:"\\u0633\\u0646\\u0629",yy:"%d \\u0633\\u0646\\u0648\\u0627\\u062A"},preparse:function(c){return c.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(h){return r[h]}).replace(/،/g,",")},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]}).replace(/,/g,"\\u060C")},week:{dow:0,doy:6}})})(_(9034))},2386:function(p,v,_){(function(g){"use strict";g.defineLocale("ar-tn",{months:"\\u062C\\u0627\\u0646\\u0641\\u064A_\\u0641\\u064A\\u0641\\u0631\\u064A_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0641\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A_\\u062C\\u0648\\u0627\\u0646_\\u062C\\u0648\\u064A\\u0644\\u064A\\u0629_\\u0623\\u0648\\u062A_\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631".split("_"),monthsShort:"\\u062C\\u0627\\u0646\\u0641\\u064A_\\u0641\\u064A\\u0641\\u0631\\u064A_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0641\\u0631\\u064A\\u0644_\\u0645\\u0627\\u064A_\\u062C\\u0648\\u0627\\u0646_\\u062C\\u0648\\u064A\\u0644\\u064A\\u0629_\\u0623\\u0648\\u062A_\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631".split("_"),weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062B\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0623\\u062D\\u062F_\\u0625\\u062B\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0641\\u064A %s",past:"\\u0645\\u0646\\u0630 %s",s:"\\u062B\\u0648\\u0627\\u0646",ss:"%d \\u062B\\u0627\\u0646\\u064A\\u0629",m:"\\u062F\\u0642\\u064A\\u0642\\u0629",mm:"%d \\u062F\\u0642\\u0627\\u0626\\u0642",h:"\\u0633\\u0627\\u0639\\u0629",hh:"%d \\u0633\\u0627\\u0639\\u0627\\u062A",d:"\\u064A\\u0648\\u0645",dd:"%d \\u0623\\u064A\\u0627\\u0645",M:"\\u0634\\u0647\\u0631",MM:"%d \\u0623\\u0634\\u0647\\u0631",y:"\\u0633\\u0646\\u0629",yy:"%d \\u0633\\u0646\\u0648\\u0627\\u062A"},week:{dow:1,doy:4}})})(_(9034))},4358:function(p,v,_){(function(g){"use strict";var a={1:"\\u0661",2:"\\u0662",3:"\\u0663",4:"\\u0664",5:"\\u0665",6:"\\u0666",7:"\\u0667",8:"\\u0668",9:"\\u0669",0:"\\u0660"},r={"\\u0661":"1","\\u0662":"2","\\u0663":"3","\\u0664":"4","\\u0665":"5","\\u0666":"6","\\u0667":"7","\\u0668":"8","\\u0669":"9","\\u0660":"0"},c=function(q){return q===0?0:q===1?1:q===2?2:q%100>=3&&q%100<=10?3:q%100>=11?4:5},h={s:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062B\\u0627\\u0646\\u064A\\u0629","\\u062B\\u0627\\u0646\\u064A\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u062B\\u0627\\u0646\\u064A\\u062A\\u0627\\u0646","\\u062B\\u0627\\u0646\\u064A\\u062A\\u064A\\u0646"],"%d \\u062B\\u0648\\u0627\\u0646","%d \\u062B\\u0627\\u0646\\u064A\\u0629","%d \\u062B\\u0627\\u0646\\u064A\\u0629"],m:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062F\\u0642\\u064A\\u0642\\u0629","\\u062F\\u0642\\u064A\\u0642\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u062F\\u0642\\u064A\\u0642\\u062A\\u0627\\u0646","\\u062F\\u0642\\u064A\\u0642\\u062A\\u064A\\u0646"],"%d \\u062F\\u0642\\u0627\\u0626\\u0642","%d \\u062F\\u0642\\u064A\\u0642\\u0629","%d \\u062F\\u0642\\u064A\\u0642\\u0629"],h:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0633\\u0627\\u0639\\u0629","\\u0633\\u0627\\u0639\\u0629 \\u0648\\u0627\\u062D\\u062F\\u0629",["\\u0633\\u0627\\u0639\\u062A\\u0627\\u0646","\\u0633\\u0627\\u0639\\u062A\\u064A\\u0646"],"%d \\u0633\\u0627\\u0639\\u0627\\u062A","%d \\u0633\\u0627\\u0639\\u0629","%d \\u0633\\u0627\\u0639\\u0629"],d:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u064A\\u0648\\u0645","\\u064A\\u0648\\u0645 \\u0648\\u0627\\u062D\\u062F",["\\u064A\\u0648\\u0645\\u0627\\u0646","\\u064A\\u0648\\u0645\\u064A\\u0646"],"%d \\u0623\\u064A\\u0627\\u0645","%d \\u064A\\u0648\\u0645\\u064B\\u0627","%d \\u064A\\u0648\\u0645"],M:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0634\\u0647\\u0631","\\u0634\\u0647\\u0631 \\u0648\\u0627\\u062D\\u062F",["\\u0634\\u0647\\u0631\\u0627\\u0646","\\u0634\\u0647\\u0631\\u064A\\u0646"],"%d \\u0623\\u0634\\u0647\\u0631","%d \\u0634\\u0647\\u0631\\u0627","%d \\u0634\\u0647\\u0631"],y:["\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0639\\u0627\\u0645","\\u0639\\u0627\\u0645 \\u0648\\u0627\\u062D\\u062F",["\\u0639\\u0627\\u0645\\u0627\\u0646","\\u0639\\u0627\\u0645\\u064A\\u0646"],"%d \\u0623\\u0639\\u0648\\u0627\\u0645","%d \\u0639\\u0627\\u0645\\u064B\\u0627","%d \\u0639\\u0627\\u0645"]},A=function(q){return function(E,K,fe,he){var Se=c(E),Te=h[q][c(E)];return Se===2&&(Te=Te[K?0:1]),Te.replace(/%d/i,E)}},S=["\\u064A\\u0646\\u0627\\u064A\\u0631","\\u0641\\u0628\\u0631\\u0627\\u064A\\u0631","\\u0645\\u0627\\u0631\\u0633","\\u0623\\u0628\\u0631\\u064A\\u0644","\\u0645\\u0627\\u064A\\u0648","\\u064A\\u0648\\u0646\\u064A\\u0648","\\u064A\\u0648\\u0644\\u064A\\u0648","\\u0623\\u063A\\u0633\\u0637\\u0633","\\u0633\\u0628\\u062A\\u0645\\u0628\\u0631","\\u0623\\u0643\\u062A\\u0648\\u0628\\u0631","\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631","\\u062F\\u064A\\u0633\\u0645\\u0628\\u0631"];g.defineLocale("ar",{months:S,monthsShort:S,weekdays:"\\u0627\\u0644\\u0623\\u062D\\u062F_\\u0627\\u0644\\u0625\\u062B\\u0646\\u064A\\u0646_\\u0627\\u0644\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062E\\u0645\\u064A\\u0633_\\u0627\\u0644\\u062C\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062A".split("_"),weekdaysShort:"\\u0623\\u062D\\u062F_\\u0625\\u062B\\u0646\\u064A\\u0646_\\u062B\\u0644\\u0627\\u062B\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062E\\u0645\\u064A\\u0633_\\u062C\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062A".split("_"),weekdaysMin:"\\u062D_\\u0646_\\u062B_\\u0631_\\u062E_\\u062C_\\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\\u200FM/\\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(q){return q==="\\u0645"},meridiem:function(q,E,K){return q<12?"\\u0635":"\\u0645"},calendar:{sameDay:"[\\u0627\\u0644\\u064A\\u0648\\u0645 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextDay:"[\\u063A\\u062F\\u064B\\u0627 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",nextWeek:"dddd [\\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastDay:"[\\u0623\\u0645\\u0633 \\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",lastWeek:"dddd [\\u0639\\u0646\\u062F \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT",sameElse:"L"},relativeTime:{future:"\\u0628\\u0639\\u062F %s",past:"\\u0645\\u0646\\u0630 %s",s:A("s"),ss:A("s"),m:A("m"),mm:A("m"),h:A("h"),hh:A("h"),d:A("d"),dd:A("d"),M:A("M"),MM:A("M"),y:A("y"),yy:A("y")},preparse:function(q){return q.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(E){return r[E]}).replace(/،/g,",")},postformat:function(q){return q.replace(/\\d/g,function(E){return a[E]}).replace(/,/g,"\\u060C")},week:{dow:6,doy:12}})})(_(9034))},7452:function(p,v,_){(function(g){"use strict";var a={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\\xFCnc\\xFC",4:"-\\xFCnc\\xFC",100:"-\\xFCnc\\xFC",6:"-nc\\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\\u0131nc\\u0131",90:"-\\u0131nc\\u0131"};g.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\\u0259si_\\xC7\\u0259r\\u015F\\u0259nb\\u0259 ax\\u015Fam\\u0131_\\xC7\\u0259r\\u015F\\u0259nb\\u0259_C\\xFCm\\u0259 ax\\u015Fam\\u0131_C\\xFCm\\u0259_\\u015E\\u0259nb\\u0259".split("_"),weekdaysShort:"Baz_BzE_\\xC7Ax_\\xC7\\u0259r_CAx_C\\xFCm_\\u015E\\u0259n".split("_"),weekdaysMin:"Bz_BE_\\xC7A_\\xC7\\u0259_CA_C\\xFC_\\u015E\\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\\xFCn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\\u0259l\\u0259n h\\u0259ft\\u0259] dddd [saat] LT",lastDay:"[d\\xFCn\\u0259n] LT",lastWeek:"[ke\\xE7\\u0259n h\\u0259ft\\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \\u0259vv\\u0259l",s:"bir ne\\xE7\\u0259 saniy\\u0259",ss:"%d saniy\\u0259",m:"bir d\\u0259qiq\\u0259",mm:"%d d\\u0259qiq\\u0259",h:"bir saat",hh:"%d saat",d:"bir g\\xFCn",dd:"%d g\\xFCn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(r){return/^(gündüz|axşam)$/.test(r)},meridiem:function(r,c,h){return r<4?"gec\\u0259":r<12?"s\\u0259h\\u0259r":r<17?"g\\xFCnd\\xFCz":"ax\\u015Fam"},dayOfMonthOrdinalParse:/\\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(r){if(r===0)return r+"-\\u0131nc\\u0131";var c=r%10;return r+(a[c]||a[r%100-c]||a[r>=100?100:null])},week:{dow:1,doy:7}})})(_(9034))},9053:function(p,v,_){(function(g){"use strict";function a(r,c,h){return h==="m"?c?"\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D\\u0430":"\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D\\u0443":h==="h"?c?"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D\\u0430":"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D\\u0443":r+" "+(A=+r,S={ss:c?"\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0430_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u044B_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434":"\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0443_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u044B_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",mm:c?"\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D\\u0430_\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D\\u044B_\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D":"\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D\\u0443_\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D\\u044B_\\u0445\\u0432\\u0456\\u043B\\u0456\\u043D",hh:c?"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D\\u0430_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D\\u044B_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D":"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D\\u0443_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D\\u044B_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043D",dd:"\\u0434\\u0437\\u0435\\u043D\\u044C_\\u0434\\u043D\\u0456_\\u0434\\u0437\\u0451\\u043D",MM:"\\u043C\\u0435\\u0441\\u044F\\u0446_\\u043C\\u0435\\u0441\\u044F\\u0446\\u044B_\\u043C\\u0435\\u0441\\u044F\\u0446\\u0430\\u045E",yy:"\\u0433\\u043E\\u0434_\\u0433\\u0430\\u0434\\u044B_\\u0433\\u0430\\u0434\\u043E\\u045E"}[h].split("_"),A%10==1&&A%100!=11?S[0]:A%10>=2&&A%10<=4&&(A%100<10||A%100>=20)?S[1]:S[2]);var A,S}g.defineLocale("be",{months:{format:"\\u0441\\u0442\\u0443\\u0434\\u0437\\u0435\\u043D\\u044F_\\u043B\\u044E\\u0442\\u0430\\u0433\\u0430_\\u0441\\u0430\\u043A\\u0430\\u0432\\u0456\\u043A\\u0430_\\u043A\\u0440\\u0430\\u0441\\u0430\\u0432\\u0456\\u043A\\u0430_\\u0442\\u0440\\u0430\\u045E\\u043D\\u044F_\\u0447\\u044D\\u0440\\u0432\\u0435\\u043D\\u044F_\\u043B\\u0456\\u043F\\u0435\\u043D\\u044F_\\u0436\\u043D\\u0456\\u045E\\u043D\\u044F_\\u0432\\u0435\\u0440\\u0430\\u0441\\u043D\\u044F_\\u043A\\u0430\\u0441\\u0442\\u0440\\u044B\\u0447\\u043D\\u0456\\u043A\\u0430_\\u043B\\u0456\\u0441\\u0442\\u0430\\u043F\\u0430\\u0434\\u0430_\\u0441\\u043D\\u0435\\u0436\\u043D\\u044F".split("_"),standalone:"\\u0441\\u0442\\u0443\\u0434\\u0437\\u0435\\u043D\\u044C_\\u043B\\u044E\\u0442\\u044B_\\u0441\\u0430\\u043A\\u0430\\u0432\\u0456\\u043A_\\u043A\\u0440\\u0430\\u0441\\u0430\\u0432\\u0456\\u043A_\\u0442\\u0440\\u0430\\u0432\\u0435\\u043D\\u044C_\\u0447\\u044D\\u0440\\u0432\\u0435\\u043D\\u044C_\\u043B\\u0456\\u043F\\u0435\\u043D\\u044C_\\u0436\\u043D\\u0456\\u0432\\u0435\\u043D\\u044C_\\u0432\\u0435\\u0440\\u0430\\u0441\\u0435\\u043D\\u044C_\\u043A\\u0430\\u0441\\u0442\\u0440\\u044B\\u0447\\u043D\\u0456\\u043A_\\u043B\\u0456\\u0441\\u0442\\u0430\\u043F\\u0430\\u0434_\\u0441\\u043D\\u0435\\u0436\\u0430\\u043D\\u044C".split("_")},monthsShort:"\\u0441\\u0442\\u0443\\u0434_\\u043B\\u044E\\u0442_\\u0441\\u0430\\u043A_\\u043A\\u0440\\u0430\\u0441_\\u0442\\u0440\\u0430\\u0432_\\u0447\\u044D\\u0440\\u0432_\\u043B\\u0456\\u043F_\\u0436\\u043D\\u0456\\u0432_\\u0432\\u0435\\u0440_\\u043A\\u0430\\u0441\\u0442_\\u043B\\u0456\\u0441\\u0442_\\u0441\\u043D\\u0435\\u0436".split("_"),weekdays:{format:"\\u043D\\u044F\\u0434\\u0437\\u0435\\u043B\\u044E_\\u043F\\u0430\\u043D\\u044F\\u0434\\u0437\\u0435\\u043B\\u0430\\u043A_\\u0430\\u045E\\u0442\\u043E\\u0440\\u0430\\u043A_\\u0441\\u0435\\u0440\\u0430\\u0434\\u0443_\\u0447\\u0430\\u0446\\u0432\\u0435\\u0440_\\u043F\\u044F\\u0442\\u043D\\u0456\\u0446\\u0443_\\u0441\\u0443\\u0431\\u043E\\u0442\\u0443".split("_"),standalone:"\\u043D\\u044F\\u0434\\u0437\\u0435\\u043B\\u044F_\\u043F\\u0430\\u043D\\u044F\\u0434\\u0437\\u0435\\u043B\\u0430\\u043A_\\u0430\\u045E\\u0442\\u043E\\u0440\\u0430\\u043A_\\u0441\\u0435\\u0440\\u0430\\u0434\\u0430_\\u0447\\u0430\\u0446\\u0432\\u0435\\u0440_\\u043F\\u044F\\u0442\\u043D\\u0456\\u0446\\u0430_\\u0441\\u0443\\u0431\\u043E\\u0442\\u0430".split("_"),isFormat:/\\[ ?[Ууў] ?(?:мінулую|наступную)? ?\\] ?dddd/},weekdaysShort:"\\u043D\\u0434_\\u043F\\u043D_\\u0430\\u0442_\\u0441\\u0440_\\u0447\\u0446_\\u043F\\u0442_\\u0441\\u0431".split("_"),weekdaysMin:"\\u043D\\u0434_\\u043F\\u043D_\\u0430\\u0442_\\u0441\\u0440_\\u0447\\u0446_\\u043F\\u0442_\\u0441\\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \\u0433.",LLL:"D MMMM YYYY \\u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \\u0433., HH:mm"},calendar:{sameDay:"[\\u0421\\u0451\\u043D\\u043D\\u044F \\u045E] LT",nextDay:"[\\u0417\\u0430\\u045E\\u0442\\u0440\\u0430 \\u045E] LT",lastDay:"[\\u0423\\u0447\\u043E\\u0440\\u0430 \\u045E] LT",nextWeek:function(){return"[\\u0423] dddd [\\u045E] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\\u0423 \\u043C\\u0456\\u043D\\u0443\\u043B\\u0443\\u044E] dddd [\\u045E] LT";case 1:case 2:case 4:return"[\\u0423 \\u043C\\u0456\\u043D\\u0443\\u043B\\u044B] dddd [\\u045E] LT"}},sameElse:"L"},relativeTime:{future:"\\u043F\\u0440\\u0430\\u0437 %s",past:"%s \\u0442\\u0430\\u043C\\u0443",s:"\\u043D\\u0435\\u043A\\u0430\\u043B\\u044C\\u043A\\u0456 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",m:a,mm:a,h:a,hh:a,d:"\\u0434\\u0437\\u0435\\u043D\\u044C",dd:a,M:"\\u043C\\u0435\\u0441\\u044F\\u0446",MM:a,y:"\\u0433\\u043E\\u0434",yy:a},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(r){return/^(дня|вечара)$/.test(r)},meridiem:function(r,c,h){return r<4?"\\u043D\\u043E\\u0447\\u044B":r<12?"\\u0440\\u0430\\u043D\\u0456\\u0446\\u044B":r<17?"\\u0434\\u043D\\u044F":"\\u0432\\u0435\\u0447\\u0430\\u0440\\u0430"},dayOfMonthOrdinalParse:/\\d{1,2}-(і|ы|га)/,ordinal:function(r,c){switch(c){case"M":case"d":case"DDD":case"w":case"W":return r%10!=2&&r%10!=3||r%100==12||r%100==13?r+"-\\u044B":r+"-\\u0456";case"D":return r+"-\\u0433\\u0430";default:return r}},week:{dow:1,doy:7}})})(_(9034))},5428:function(p,v,_){(function(g){"use strict";g.defineLocale("bg",{months:"\\u044F\\u043D\\u0443\\u0430\\u0440\\u0438_\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0438\\u043B_\\u043C\\u0430\\u0439_\\u044E\\u043D\\u0438_\\u044E\\u043B\\u0438_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043F\\u0442\\u0435\\u043C\\u0432\\u0440\\u0438_\\u043E\\u043A\\u0442\\u043E\\u043C\\u0432\\u0440\\u0438_\\u043D\\u043E\\u0435\\u043C\\u0432\\u0440\\u0438_\\u0434\\u0435\\u043A\\u0435\\u043C\\u0432\\u0440\\u0438".split("_"),monthsShort:"\\u044F\\u043D\\u0443_\\u0444\\u0435\\u0432_\\u043C\\u0430\\u0440_\\u0430\\u043F\\u0440_\\u043C\\u0430\\u0439_\\u044E\\u043D\\u0438_\\u044E\\u043B\\u0438_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043F_\\u043E\\u043A\\u0442_\\u043D\\u043E\\u0435_\\u0434\\u0435\\u043A".split("_"),weekdays:"\\u043D\\u0435\\u0434\\u0435\\u043B\\u044F_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0435\\u043B\\u043D\\u0438\\u043A_\\u0432\\u0442\\u043E\\u0440\\u043D\\u0438\\u043A_\\u0441\\u0440\\u044F\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u044A\\u0440\\u0442\\u044A\\u043A_\\u043F\\u0435\\u0442\\u044A\\u043A_\\u0441\\u044A\\u0431\\u043E\\u0442\\u0430".split("_"),weekdaysShort:"\\u043D\\u0435\\u0434_\\u043F\\u043E\\u043D_\\u0432\\u0442\\u043E_\\u0441\\u0440\\u044F_\\u0447\\u0435\\u0442_\\u043F\\u0435\\u0442_\\u0441\\u044A\\u0431".split("_"),weekdaysMin:"\\u043D\\u0434_\\u043F\\u043D_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043F\\u0442_\\u0441\\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\\u0414\\u043D\\u0435\\u0441 \\u0432] LT",nextDay:"[\\u0423\\u0442\\u0440\\u0435 \\u0432] LT",nextWeek:"dddd [\\u0432] LT",lastDay:"[\\u0412\\u0447\\u0435\\u0440\\u0430 \\u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\\u041C\\u0438\\u043D\\u0430\\u043B\\u0430\\u0442\\u0430] dddd [\\u0432] LT";case 1:case 2:case 4:case 5:return"[\\u041C\\u0438\\u043D\\u0430\\u043B\\u0438\\u044F] dddd [\\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\\u0441\\u043B\\u0435\\u0434 %s",past:"\\u043F\\u0440\\u0435\\u0434\\u0438 %s",s:"\\u043D\\u044F\\u043A\\u043E\\u043B\\u043A\\u043E \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438",ss:"%d \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438",m:"\\u043C\\u0438\\u043D\\u0443\\u0442\\u0430",mm:"%d \\u043C\\u0438\\u043D\\u0443\\u0442\\u0438",h:"\\u0447\\u0430\\u0441",hh:"%d \\u0447\\u0430\\u0441\\u0430",d:"\\u0434\\u0435\\u043D",dd:"%d \\u0434\\u0435\\u043D\\u0430",w:"\\u0441\\u0435\\u0434\\u043C\\u0438\\u0446\\u0430",ww:"%d \\u0441\\u0435\\u0434\\u043C\\u0438\\u0446\\u0438",M:"\\u043C\\u0435\\u0441\\u0435\\u0446",MM:"%d \\u043C\\u0435\\u0441\\u0435\\u0446\\u0430",y:"\\u0433\\u043E\\u0434\\u0438\\u043D\\u0430",yy:"%d \\u0433\\u043E\\u0434\\u0438\\u043D\\u0438"},dayOfMonthOrdinalParse:/\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var r=a%10,c=a%100;return a===0?a+"-\\u0435\\u0432":c===0?a+"-\\u0435\\u043D":c>10&&c<20?a+"-\\u0442\\u0438":r===1?a+"-\\u0432\\u0438":r===2?a+"-\\u0440\\u0438":r===7||r===8?a+"-\\u043C\\u0438":a+"-\\u0442\\u0438"},week:{dow:1,doy:7}})})(_(9034))},1569:function(p,v,_){(function(g){"use strict";g.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\\u025Bkalo_Zuw\\u025Bnkalo_Zuluyekalo_Utikalo_S\\u025Btanburukalo_\\u0254kut\\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\\u025B_Zuw_Zul_Uti_S\\u025Bt_\\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\\u025Bn\\u025Bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\\u025B_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\\u025Br\\u025B] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\\u025Br\\u025B] HH:mm"},calendar:{sameDay:"[Bi l\\u025Br\\u025B] LT",nextDay:"[Sini l\\u025Br\\u025B] LT",nextWeek:"dddd [don l\\u025Br\\u025B] LT",lastDay:"[Kunu l\\u025Br\\u025B] LT",lastWeek:"dddd [t\\u025Bm\\u025Bnen l\\u025Br\\u025B] LT",sameElse:"L"},relativeTime:{future:"%s k\\u0254n\\u0254",past:"a b\\u025B %s b\\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\\u025Br\\u025B kelen",hh:"l\\u025Br\\u025B %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})})(_(9034))},4635:function(p,v,_){(function(g){"use strict";var a={1:"\\u09E7",2:"\\u09E8",3:"\\u09E9",4:"\\u09EA",5:"\\u09EB",6:"\\u09EC",7:"\\u09ED",8:"\\u09EE",9:"\\u09EF",0:"\\u09E6"},r={"\\u09E7":"1","\\u09E8":"2","\\u09E9":"3","\\u09EA":"4","\\u09EB":"5","\\u09EC":"6","\\u09ED":"7","\\u09EE":"8","\\u09EF":"9","\\u09E6":"0"};g.defineLocale("bn-bd",{months:"\\u099C\\u09BE\\u09A8\\u09C1\\u09DF\\u09BE\\u09B0\\u09BF_\\u09AB\\u09C7\\u09AC\\u09CD\\u09B0\\u09C1\\u09DF\\u09BE\\u09B0\\u09BF_\\u09AE\\u09BE\\u09B0\\u09CD\\u099A_\\u098F\\u09AA\\u09CD\\u09B0\\u09BF\\u09B2_\\u09AE\\u09C7_\\u099C\\u09C1\\u09A8_\\u099C\\u09C1\\u09B2\\u09BE\\u0987_\\u0986\\u0997\\u09B8\\u09CD\\u099F_\\u09B8\\u09C7\\u09AA\\u09CD\\u099F\\u09C7\\u09AE\\u09CD\\u09AC\\u09B0_\\u0985\\u0995\\u09CD\\u099F\\u09CB\\u09AC\\u09B0_\\u09A8\\u09AD\\u09C7\\u09AE\\u09CD\\u09AC\\u09B0_\\u09A1\\u09BF\\u09B8\\u09C7\\u09AE\\u09CD\\u09AC\\u09B0".split("_"),monthsShort:"\\u099C\\u09BE\\u09A8\\u09C1_\\u09AB\\u09C7\\u09AC\\u09CD\\u09B0\\u09C1_\\u09AE\\u09BE\\u09B0\\u09CD\\u099A_\\u098F\\u09AA\\u09CD\\u09B0\\u09BF\\u09B2_\\u09AE\\u09C7_\\u099C\\u09C1\\u09A8_\\u099C\\u09C1\\u09B2\\u09BE\\u0987_\\u0986\\u0997\\u09B8\\u09CD\\u099F_\\u09B8\\u09C7\\u09AA\\u09CD\\u099F_\\u0985\\u0995\\u09CD\\u099F\\u09CB_\\u09A8\\u09AD\\u09C7_\\u09A1\\u09BF\\u09B8\\u09C7".split("_"),weekdays:"\\u09B0\\u09AC\\u09BF\\u09AC\\u09BE\\u09B0_\\u09B8\\u09CB\\u09AE\\u09AC\\u09BE\\u09B0_\\u09AE\\u0999\\u09CD\\u0997\\u09B2\\u09AC\\u09BE\\u09B0_\\u09AC\\u09C1\\u09A7\\u09AC\\u09BE\\u09B0_\\u09AC\\u09C3\\u09B9\\u09B8\\u09CD\\u09AA\\u09A4\\u09BF\\u09AC\\u09BE\\u09B0_\\u09B6\\u09C1\\u0995\\u09CD\\u09B0\\u09AC\\u09BE\\u09B0_\\u09B6\\u09A8\\u09BF\\u09AC\\u09BE\\u09B0".split("_"),weekdaysShort:"\\u09B0\\u09AC\\u09BF_\\u09B8\\u09CB\\u09AE_\\u09AE\\u0999\\u09CD\\u0997\\u09B2_\\u09AC\\u09C1\\u09A7_\\u09AC\\u09C3\\u09B9\\u09B8\\u09CD\\u09AA\\u09A4\\u09BF_\\u09B6\\u09C1\\u0995\\u09CD\\u09B0_\\u09B6\\u09A8\\u09BF".split("_"),weekdaysMin:"\\u09B0\\u09AC\\u09BF_\\u09B8\\u09CB\\u09AE_\\u09AE\\u0999\\u09CD\\u0997\\u09B2_\\u09AC\\u09C1\\u09A7_\\u09AC\\u09C3\\u09B9_\\u09B6\\u09C1\\u0995\\u09CD\\u09B0_\\u09B6\\u09A8\\u09BF".split("_"),longDateFormat:{LT:"A h:mm \\u09B8\\u09AE\\u09DF",LTS:"A h:mm:ss \\u09B8\\u09AE\\u09DF",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \\u09B8\\u09AE\\u09DF",LLLL:"dddd, D MMMM YYYY, A h:mm \\u09B8\\u09AE\\u09DF"},calendar:{sameDay:"[\\u0986\\u099C] LT",nextDay:"[\\u0986\\u0997\\u09BE\\u09AE\\u09C0\\u0995\\u09BE\\u09B2] LT",nextWeek:"dddd, LT",lastDay:"[\\u0997\\u09A4\\u0995\\u09BE\\u09B2] LT",lastWeek:"[\\u0997\\u09A4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u09AA\\u09B0\\u09C7",past:"%s \\u0986\\u0997\\u09C7",s:"\\u0995\\u09DF\\u09C7\\u0995 \\u09B8\\u09C7\\u0995\\u09C7\\u09A8\\u09CD\\u09A1",ss:"%d \\u09B8\\u09C7\\u0995\\u09C7\\u09A8\\u09CD\\u09A1",m:"\\u098F\\u0995 \\u09AE\\u09BF\\u09A8\\u09BF\\u099F",mm:"%d \\u09AE\\u09BF\\u09A8\\u09BF\\u099F",h:"\\u098F\\u0995 \\u0998\\u09A8\\u09CD\\u099F\\u09BE",hh:"%d \\u0998\\u09A8\\u09CD\\u099F\\u09BE",d:"\\u098F\\u0995 \\u09A6\\u09BF\\u09A8",dd:"%d \\u09A6\\u09BF\\u09A8",M:"\\u098F\\u0995 \\u09AE\\u09BE\\u09B8",MM:"%d \\u09AE\\u09BE\\u09B8",y:"\\u098F\\u0995 \\u09AC\\u099B\\u09B0",yy:"%d \\u09AC\\u099B\\u09B0"},preparse:function(c){return c.replace(/[১২৩৪৫৬৭৮৯০]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u09B0\\u09BE\\u09A4"?c<4?c:c+12:h==="\\u09AD\\u09CB\\u09B0"||h==="\\u09B8\\u0995\\u09BE\\u09B2"?c:h==="\\u09A6\\u09C1\\u09AA\\u09C1\\u09B0"?c>=3?c:c+12:h==="\\u09AC\\u09BF\\u0995\\u09BE\\u09B2"||h==="\\u09B8\\u09A8\\u09CD\\u09A7\\u09CD\\u09AF\\u09BE"?c+12:void 0},meridiem:function(c,h,A){return c<4?"\\u09B0\\u09BE\\u09A4":c<6?"\\u09AD\\u09CB\\u09B0":c<12?"\\u09B8\\u0995\\u09BE\\u09B2":c<15?"\\u09A6\\u09C1\\u09AA\\u09C1\\u09B0":c<18?"\\u09AC\\u09BF\\u0995\\u09BE\\u09B2":c<20?"\\u09B8\\u09A8\\u09CD\\u09A7\\u09CD\\u09AF\\u09BE":"\\u09B0\\u09BE\\u09A4"},week:{dow:0,doy:6}})})(_(9034))},6212:function(p,v,_){(function(g){"use strict";var a={1:"\\u09E7",2:"\\u09E8",3:"\\u09E9",4:"\\u09EA",5:"\\u09EB",6:"\\u09EC",7:"\\u09ED",8:"\\u09EE",9:"\\u09EF",0:"\\u09E6"},r={"\\u09E7":"1","\\u09E8":"2","\\u09E9":"3","\\u09EA":"4","\\u09EB":"5","\\u09EC":"6","\\u09ED":"7","\\u09EE":"8","\\u09EF":"9","\\u09E6":"0"};g.defineLocale("bn",{months:"\\u099C\\u09BE\\u09A8\\u09C1\\u09DF\\u09BE\\u09B0\\u09BF_\\u09AB\\u09C7\\u09AC\\u09CD\\u09B0\\u09C1\\u09DF\\u09BE\\u09B0\\u09BF_\\u09AE\\u09BE\\u09B0\\u09CD\\u099A_\\u098F\\u09AA\\u09CD\\u09B0\\u09BF\\u09B2_\\u09AE\\u09C7_\\u099C\\u09C1\\u09A8_\\u099C\\u09C1\\u09B2\\u09BE\\u0987_\\u0986\\u0997\\u09B8\\u09CD\\u099F_\\u09B8\\u09C7\\u09AA\\u09CD\\u099F\\u09C7\\u09AE\\u09CD\\u09AC\\u09B0_\\u0985\\u0995\\u09CD\\u099F\\u09CB\\u09AC\\u09B0_\\u09A8\\u09AD\\u09C7\\u09AE\\u09CD\\u09AC\\u09B0_\\u09A1\\u09BF\\u09B8\\u09C7\\u09AE\\u09CD\\u09AC\\u09B0".split("_"),monthsShort:"\\u099C\\u09BE\\u09A8\\u09C1_\\u09AB\\u09C7\\u09AC\\u09CD\\u09B0\\u09C1_\\u09AE\\u09BE\\u09B0\\u09CD\\u099A_\\u098F\\u09AA\\u09CD\\u09B0\\u09BF\\u09B2_\\u09AE\\u09C7_\\u099C\\u09C1\\u09A8_\\u099C\\u09C1\\u09B2\\u09BE\\u0987_\\u0986\\u0997\\u09B8\\u09CD\\u099F_\\u09B8\\u09C7\\u09AA\\u09CD\\u099F_\\u0985\\u0995\\u09CD\\u099F\\u09CB_\\u09A8\\u09AD\\u09C7_\\u09A1\\u09BF\\u09B8\\u09C7".split("_"),weekdays:"\\u09B0\\u09AC\\u09BF\\u09AC\\u09BE\\u09B0_\\u09B8\\u09CB\\u09AE\\u09AC\\u09BE\\u09B0_\\u09AE\\u0999\\u09CD\\u0997\\u09B2\\u09AC\\u09BE\\u09B0_\\u09AC\\u09C1\\u09A7\\u09AC\\u09BE\\u09B0_\\u09AC\\u09C3\\u09B9\\u09B8\\u09CD\\u09AA\\u09A4\\u09BF\\u09AC\\u09BE\\u09B0_\\u09B6\\u09C1\\u0995\\u09CD\\u09B0\\u09AC\\u09BE\\u09B0_\\u09B6\\u09A8\\u09BF\\u09AC\\u09BE\\u09B0".split("_"),weekdaysShort:"\\u09B0\\u09AC\\u09BF_\\u09B8\\u09CB\\u09AE_\\u09AE\\u0999\\u09CD\\u0997\\u09B2_\\u09AC\\u09C1\\u09A7_\\u09AC\\u09C3\\u09B9\\u09B8\\u09CD\\u09AA\\u09A4\\u09BF_\\u09B6\\u09C1\\u0995\\u09CD\\u09B0_\\u09B6\\u09A8\\u09BF".split("_"),weekdaysMin:"\\u09B0\\u09AC\\u09BF_\\u09B8\\u09CB\\u09AE_\\u09AE\\u0999\\u09CD\\u0997\\u09B2_\\u09AC\\u09C1\\u09A7_\\u09AC\\u09C3\\u09B9_\\u09B6\\u09C1\\u0995\\u09CD\\u09B0_\\u09B6\\u09A8\\u09BF".split("_"),longDateFormat:{LT:"A h:mm \\u09B8\\u09AE\\u09DF",LTS:"A h:mm:ss \\u09B8\\u09AE\\u09DF",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \\u09B8\\u09AE\\u09DF",LLLL:"dddd, D MMMM YYYY, A h:mm \\u09B8\\u09AE\\u09DF"},calendar:{sameDay:"[\\u0986\\u099C] LT",nextDay:"[\\u0986\\u0997\\u09BE\\u09AE\\u09C0\\u0995\\u09BE\\u09B2] LT",nextWeek:"dddd, LT",lastDay:"[\\u0997\\u09A4\\u0995\\u09BE\\u09B2] LT",lastWeek:"[\\u0997\\u09A4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u09AA\\u09B0\\u09C7",past:"%s \\u0986\\u0997\\u09C7",s:"\\u0995\\u09DF\\u09C7\\u0995 \\u09B8\\u09C7\\u0995\\u09C7\\u09A8\\u09CD\\u09A1",ss:"%d \\u09B8\\u09C7\\u0995\\u09C7\\u09A8\\u09CD\\u09A1",m:"\\u098F\\u0995 \\u09AE\\u09BF\\u09A8\\u09BF\\u099F",mm:"%d \\u09AE\\u09BF\\u09A8\\u09BF\\u099F",h:"\\u098F\\u0995 \\u0998\\u09A8\\u09CD\\u099F\\u09BE",hh:"%d \\u0998\\u09A8\\u09CD\\u099F\\u09BE",d:"\\u098F\\u0995 \\u09A6\\u09BF\\u09A8",dd:"%d \\u09A6\\u09BF\\u09A8",M:"\\u098F\\u0995 \\u09AE\\u09BE\\u09B8",MM:"%d \\u09AE\\u09BE\\u09B8",y:"\\u098F\\u0995 \\u09AC\\u099B\\u09B0",yy:"%d \\u09AC\\u099B\\u09B0"},preparse:function(c){return c.replace(/[১২৩৪৫৬৭৮৯০]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u09B0\\u09BE\\u09A4"&&c>=4||h==="\\u09A6\\u09C1\\u09AA\\u09C1\\u09B0"&&c<5||h==="\\u09AC\\u09BF\\u0995\\u09BE\\u09B2"?c+12:c},meridiem:function(c,h,A){return c<4?"\\u09B0\\u09BE\\u09A4":c<10?"\\u09B8\\u0995\\u09BE\\u09B2":c<17?"\\u09A6\\u09C1\\u09AA\\u09C1\\u09B0":c<20?"\\u09AC\\u09BF\\u0995\\u09BE\\u09B2":"\\u09B0\\u09BE\\u09A4"},week:{dow:0,doy:6}})})(_(9034))},3667:function(p,v,_){(function(g){"use strict";var a={1:"\\u0F21",2:"\\u0F22",3:"\\u0F23",4:"\\u0F24",5:"\\u0F25",6:"\\u0F26",7:"\\u0F27",8:"\\u0F28",9:"\\u0F29",0:"\\u0F20"},r={"\\u0F21":"1","\\u0F22":"2","\\u0F23":"3","\\u0F24":"4","\\u0F25":"5","\\u0F26":"6","\\u0F27":"7","\\u0F28":"8","\\u0F29":"9","\\u0F20":"0"};g.defineLocale("bo",{months:"\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F51\\u0F44\\u0F0B\\u0F54\\u0F7C_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F42\\u0F49\\u0F72\\u0F66\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F42\\u0F66\\u0F74\\u0F58\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F56\\u0F5E\\u0F72\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F63\\u0F94\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F51\\u0FB2\\u0F74\\u0F42\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F56\\u0F51\\u0F74\\u0F53\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F56\\u0F62\\u0F92\\u0FB1\\u0F51\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F51\\u0F42\\u0F74\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F56\\u0F45\\u0F74\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F56\\u0F45\\u0F74\\u0F0B\\u0F42\\u0F45\\u0F72\\u0F42\\u0F0B\\u0F54_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F56\\u0F45\\u0F74\\u0F0B\\u0F42\\u0F49\\u0F72\\u0F66\\u0F0B\\u0F54".split("_"),monthsShort:"\\u0F5F\\u0FB3\\u0F0B1_\\u0F5F\\u0FB3\\u0F0B2_\\u0F5F\\u0FB3\\u0F0B3_\\u0F5F\\u0FB3\\u0F0B4_\\u0F5F\\u0FB3\\u0F0B5_\\u0F5F\\u0FB3\\u0F0B6_\\u0F5F\\u0FB3\\u0F0B7_\\u0F5F\\u0FB3\\u0F0B8_\\u0F5F\\u0FB3\\u0F0B9_\\u0F5F\\u0FB3\\u0F0B10_\\u0F5F\\u0FB3\\u0F0B11_\\u0F5F\\u0FB3\\u0F0B12".split("_"),monthsShortRegex:/^(ཟླ་\\d{1,2})/,monthsParseExact:!0,weekdays:"\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F49\\u0F72\\u0F0B\\u0F58\\u0F0B_\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B_\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F58\\u0F72\\u0F42\\u0F0B\\u0F51\\u0F58\\u0F62\\u0F0B_\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F63\\u0FB7\\u0F42\\u0F0B\\u0F54\\u0F0B_\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F55\\u0F74\\u0F62\\u0F0B\\u0F56\\u0F74_\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F54\\u0F0B\\u0F66\\u0F44\\u0F66\\u0F0B_\\u0F42\\u0F5F\\u0F60\\u0F0B\\u0F66\\u0FA4\\u0F7A\\u0F53\\u0F0B\\u0F54\\u0F0B".split("_"),weekdaysShort:"\\u0F49\\u0F72\\u0F0B\\u0F58\\u0F0B_\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B_\\u0F58\\u0F72\\u0F42\\u0F0B\\u0F51\\u0F58\\u0F62\\u0F0B_\\u0F63\\u0FB7\\u0F42\\u0F0B\\u0F54\\u0F0B_\\u0F55\\u0F74\\u0F62\\u0F0B\\u0F56\\u0F74_\\u0F54\\u0F0B\\u0F66\\u0F44\\u0F66\\u0F0B_\\u0F66\\u0FA4\\u0F7A\\u0F53\\u0F0B\\u0F54\\u0F0B".split("_"),weekdaysMin:"\\u0F49\\u0F72_\\u0F5F\\u0FB3_\\u0F58\\u0F72\\u0F42_\\u0F63\\u0FB7\\u0F42_\\u0F55\\u0F74\\u0F62_\\u0F66\\u0F44\\u0F66_\\u0F66\\u0FA4\\u0F7A\\u0F53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\\u0F51\\u0F72\\u0F0B\\u0F62\\u0F72\\u0F44] LT",nextDay:"[\\u0F66\\u0F44\\u0F0B\\u0F49\\u0F72\\u0F53] LT",nextWeek:"[\\u0F56\\u0F51\\u0F74\\u0F53\\u0F0B\\u0F55\\u0FB2\\u0F42\\u0F0B\\u0F62\\u0F97\\u0F7A\\u0F66\\u0F0B\\u0F58], LT",lastDay:"[\\u0F41\\u0F0B\\u0F66\\u0F44] LT",lastWeek:"[\\u0F56\\u0F51\\u0F74\\u0F53\\u0F0B\\u0F55\\u0FB2\\u0F42\\u0F0B\\u0F58\\u0F50\\u0F60\\u0F0B\\u0F58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0F63\\u0F0B",past:"%s \\u0F66\\u0F94\\u0F53\\u0F0B\\u0F63",s:"\\u0F63\\u0F58\\u0F0B\\u0F66\\u0F44",ss:"%d \\u0F66\\u0F90\\u0F62\\u0F0B\\u0F46\\u0F0D",m:"\\u0F66\\u0F90\\u0F62\\u0F0B\\u0F58\\u0F0B\\u0F42\\u0F45\\u0F72\\u0F42",mm:"%d \\u0F66\\u0F90\\u0F62\\u0F0B\\u0F58",h:"\\u0F46\\u0F74\\u0F0B\\u0F5A\\u0F7C\\u0F51\\u0F0B\\u0F42\\u0F45\\u0F72\\u0F42",hh:"%d \\u0F46\\u0F74\\u0F0B\\u0F5A\\u0F7C\\u0F51",d:"\\u0F49\\u0F72\\u0F53\\u0F0B\\u0F42\\u0F45\\u0F72\\u0F42",dd:"%d \\u0F49\\u0F72\\u0F53\\u0F0B",M:"\\u0F5F\\u0FB3\\u0F0B\\u0F56\\u0F0B\\u0F42\\u0F45\\u0F72\\u0F42",MM:"%d \\u0F5F\\u0FB3\\u0F0B\\u0F56",y:"\\u0F63\\u0F7C\\u0F0B\\u0F42\\u0F45\\u0F72\\u0F42",yy:"%d \\u0F63\\u0F7C"},preparse:function(c){return c.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u0F58\\u0F5A\\u0F53\\u0F0B\\u0F58\\u0F7C"&&c>=4||h==="\\u0F49\\u0F72\\u0F53\\u0F0B\\u0F42\\u0F74\\u0F44"&&c<5||h==="\\u0F51\\u0F42\\u0F7C\\u0F44\\u0F0B\\u0F51\\u0F42"?c+12:c},meridiem:function(c,h,A){return c<4?"\\u0F58\\u0F5A\\u0F53\\u0F0B\\u0F58\\u0F7C":c<10?"\\u0F5E\\u0F7C\\u0F42\\u0F66\\u0F0B\\u0F40\\u0F66":c<17?"\\u0F49\\u0F72\\u0F53\\u0F0B\\u0F42\\u0F74\\u0F44":c<20?"\\u0F51\\u0F42\\u0F7C\\u0F44\\u0F0B\\u0F51\\u0F42":"\\u0F58\\u0F5A\\u0F53\\u0F0B\\u0F58\\u0F7C"},week:{dow:0,doy:6}})})(_(9034))},192:function(p,v,_){(function(g){"use strict";function a(S,q,E){return S+" "+function(K,fe){return fe===2?function(he){var Se={m:"v",b:"v",d:"z"};return Se[he.charAt(0)]===void 0?he:Se[he.charAt(0)]+he.substring(1)}(K):K}({mm:"munutenn",MM:"miz",dd:"devezh"}[E],S)}function r(S){return S>9?r(S%10):S}var c=[/^gen/i,/^c[ʼ\\\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],h=/^(genver|c[ʼ\\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,A=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];g.defineLocale("br",{months:"Genver_C\\u02BChwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\\u02BChwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\\u02BCher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:A,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\\\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:A,monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(genver|c[ʼ\\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\\u02BChoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\\u02BCh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \\u02BCzo",s:"un nebeud segondenno\\xF9",ss:"%d eilenn",m:"ur vunutenn",mm:a,h:"un eur",hh:"%d eur",d:"un devezh",dd:a,M:"ur miz",MM:a,y:"ur bloaz",yy:function(S){switch(r(S)){case 1:case 3:case 4:case 5:case 9:return S+" bloaz";default:return S+" vloaz"}}},dayOfMonthOrdinalParse:/\\d{1,2}(añ|vet)/,ordinal:function(S){return S+(S===1?"a\\xF1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(S){return S==="g.m."},meridiem:function(S,q,E){return S<12?"a.m.":"g.m."}})})(_(9034))},1802:function(p,v,_){(function(g){"use strict";function a(r,c,h){var A=r+" ";switch(h){case"ss":return A+(r===1?"sekunda":r===2||r===3||r===4?"sekunde":"sekundi");case"m":return c?"jedna minuta":"jedne minute";case"mm":return A+(r===1?"minuta":r===2||r===3||r===4?"minute":"minuta");case"h":return c?"jedan sat":"jednog sata";case"hh":return A+(r===1?"sat":r===2||r===3||r===4?"sata":"sati");case"dd":return A+(r===1?"dan":"dana");case"MM":return A+(r===1?"mjesec":r===2||r===3||r===4?"mjeseca":"mjeseci");case"yy":return A+(r===1?"godina":r===2||r===3||r===4?"godine":"godina")}}g.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\\u010De_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\\u010Der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\\u0161lu] dddd [u] LT";case 6:return"[pro\\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},9118:function(p,v,_){(function(g){"use strict";g.defineLocale("ca",{months:{standalone:"gener_febrer_mar\\xE7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\\xE7_d\'abril_de maig_de juny_de juliol_d\'agost_de setembre_d\'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\\s)+MMMM/},monthsShort:"gen._febr._mar\\xE7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[dem\\xE0 a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d\'aqu\\xED %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\\d{1,2}(r|n|t|è|a)/,ordinal:function(a,r){var c=a===1?"r":a===2?"n":a===3?"r":a===4?"t":"\\xE8";return r!=="w"&&r!=="W"||(c="a"),a+c},week:{dow:1,doy:4}})})(_(9034))},9990:function(p,v,_){(function(g){"use strict";var a={format:"leden_\\xFAnor_b\\u0159ezen_duben_kv\\u011Bten_\\u010Derven_\\u010Dervenec_srpen_z\\xE1\\u0159\\xED_\\u0159\\xEDjen_listopad_prosinec".split("_"),standalone:"ledna_\\xFAnora_b\\u0159ezna_dubna_kv\\u011Btna_\\u010Dervna_\\u010Dervence_srpna_z\\xE1\\u0159\\xED_\\u0159\\xEDjna_listopadu_prosince".split("_")},r="led_\\xFAno_b\\u0159e_dub_kv\\u011B_\\u010Dvn_\\u010Dvc_srp_z\\xE1\\u0159_\\u0159\\xEDj_lis_pro".split("_"),c=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],h=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function A(q){return q>1&&q<5&&~~(q/10)!=1}function S(q,E,K,fe){var he=q+" ";switch(K){case"s":return E||fe?"p\\xE1r sekund":"p\\xE1r sekundami";case"ss":return E||fe?he+(A(q)?"sekundy":"sekund"):he+"sekundami";case"m":return E?"minuta":fe?"minutu":"minutou";case"mm":return E||fe?he+(A(q)?"minuty":"minut"):he+"minutami";case"h":return E?"hodina":fe?"hodinu":"hodinou";case"hh":return E||fe?he+(A(q)?"hodiny":"hodin"):he+"hodinami";case"d":return E||fe?"den":"dnem";case"dd":return E||fe?he+(A(q)?"dny":"dn\\xED"):he+"dny";case"M":return E||fe?"m\\u011Bs\\xEDc":"m\\u011Bs\\xEDcem";case"MM":return E||fe?he+(A(q)?"m\\u011Bs\\xEDce":"m\\u011Bs\\xEDc\\u016F"):he+"m\\u011Bs\\xEDci";case"y":return E||fe?"rok":"rokem";case"yy":return E||fe?he+(A(q)?"roky":"let"):he+"lety"}}g.defineLocale("cs",{months:a,monthsShort:r,monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"ned\\u011Ble_pond\\u011Bl\\xED_\\xFAter\\xFD_st\\u0159eda_\\u010Dtvrtek_p\\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\\xFAt_st_\\u010Dt_p\\xE1_so".split("_"),weekdaysMin:"ne_po_\\xFAt_st_\\u010Dt_p\\xE1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\\xEDtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\\u011Bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\\u0159edu v] LT";case 4:return"[ve \\u010Dtvrtek v] LT";case 5:return"[v p\\xE1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\\u010Dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\\u011Bli v] LT";case 1:case 2:return"[minul\\xE9] dddd [v] LT";case 3:return"[minulou st\\u0159edu v] LT";case 4:case 5:return"[minul\\xFD] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\\u0159ed %s",s:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},557:function(p,v,_){(function(g){"use strict";g.defineLocale("cv",{months:"\\u043A\\u04D1\\u0440\\u043B\\u0430\\u0447_\\u043D\\u0430\\u0440\\u04D1\\u0441_\\u043F\\u0443\\u0448_\\u0430\\u043A\\u0430_\\u043C\\u0430\\u0439_\\u04AB\\u04D7\\u0440\\u0442\\u043C\\u0435_\\u0443\\u0442\\u04D1_\\u04AB\\u0443\\u0440\\u043B\\u0430_\\u0430\\u0432\\u04D1\\u043D_\\u044E\\u043F\\u0430_\\u0447\\u04F3\\u043A_\\u0440\\u0430\\u0448\\u0442\\u0430\\u0432".split("_"),monthsShort:"\\u043A\\u04D1\\u0440_\\u043D\\u0430\\u0440_\\u043F\\u0443\\u0448_\\u0430\\u043A\\u0430_\\u043C\\u0430\\u0439_\\u04AB\\u04D7\\u0440_\\u0443\\u0442\\u04D1_\\u04AB\\u0443\\u0440_\\u0430\\u0432\\u043D_\\u044E\\u043F\\u0430_\\u0447\\u04F3\\u043A_\\u0440\\u0430\\u0448".split("_"),weekdays:"\\u0432\\u044B\\u0440\\u0441\\u0430\\u0440\\u043D\\u0438\\u043A\\u0443\\u043D_\\u0442\\u0443\\u043D\\u0442\\u0438\\u043A\\u0443\\u043D_\\u044B\\u0442\\u043B\\u0430\\u0440\\u0438\\u043A\\u0443\\u043D_\\u044E\\u043D\\u043A\\u0443\\u043D_\\u043A\\u04D7\\u04AB\\u043D\\u0435\\u0440\\u043D\\u0438\\u043A\\u0443\\u043D_\\u044D\\u0440\\u043D\\u0435\\u043A\\u0443\\u043D_\\u0448\\u04D1\\u043C\\u0430\\u0442\\u043A\\u0443\\u043D".split("_"),weekdaysShort:"\\u0432\\u044B\\u0440_\\u0442\\u0443\\u043D_\\u044B\\u0442\\u043B_\\u044E\\u043D_\\u043A\\u04D7\\u04AB_\\u044D\\u0440\\u043D_\\u0448\\u04D1\\u043C".split("_"),weekdaysMin:"\\u0432\\u0440_\\u0442\\u043D_\\u044B\\u0442_\\u044E\\u043D_\\u043A\\u04AB_\\u044D\\u0440_\\u0448\\u043C".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\\u04AB\\u0443\\u043B\\u0445\\u0438] MMMM [\\u0443\\u0439\\u04D1\\u0445\\u04D7\\u043D] D[-\\u043C\\u04D7\\u0448\\u04D7]",LLL:"YYYY [\\u04AB\\u0443\\u043B\\u0445\\u0438] MMMM [\\u0443\\u0439\\u04D1\\u0445\\u04D7\\u043D] D[-\\u043C\\u04D7\\u0448\\u04D7], HH:mm",LLLL:"dddd, YYYY [\\u04AB\\u0443\\u043B\\u0445\\u0438] MMMM [\\u0443\\u0439\\u04D1\\u0445\\u04D7\\u043D] D[-\\u043C\\u04D7\\u0448\\u04D7], HH:mm"},calendar:{sameDay:"[\\u041F\\u0430\\u044F\\u043D] LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]",nextDay:"[\\u042B\\u0440\\u0430\\u043D] LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]",lastDay:"[\\u04D6\\u043D\\u0435\\u0440] LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]",nextWeek:"[\\u04AA\\u0438\\u0442\\u0435\\u0441] dddd LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]",lastWeek:"[\\u0418\\u0440\\u0442\\u043D\\u04D7] dddd LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]",sameElse:"L"},relativeTime:{future:function(a){return a+(/сехет$/i.exec(a)?"\\u0440\\u0435\\u043D":/ҫул$/i.exec(a)?"\\u0442\\u0430\\u043D":"\\u0440\\u0430\\u043D")},past:"%s \\u043A\\u0430\\u044F\\u043B\\u043B\\u0430",s:"\\u043F\\u04D7\\u0440-\\u0438\\u043A \\u04AB\\u0435\\u043A\\u043A\\u0443\\u043D\\u0442",ss:"%d \\u04AB\\u0435\\u043A\\u043A\\u0443\\u043D\\u0442",m:"\\u043F\\u04D7\\u0440 \\u043C\\u0438\\u043D\\u0443\\u0442",mm:"%d \\u043C\\u0438\\u043D\\u0443\\u0442",h:"\\u043F\\u04D7\\u0440 \\u0441\\u0435\\u0445\\u0435\\u0442",hh:"%d \\u0441\\u0435\\u0445\\u0435\\u0442",d:"\\u043F\\u04D7\\u0440 \\u043A\\u0443\\u043D",dd:"%d \\u043A\\u0443\\u043D",M:"\\u043F\\u04D7\\u0440 \\u0443\\u0439\\u04D1\\u0445",MM:"%d \\u0443\\u0439\\u04D1\\u0445",y:"\\u043F\\u04D7\\u0440 \\u04AB\\u0443\\u043B",yy:"%d \\u04AB\\u0443\\u043B"},dayOfMonthOrdinalParse:/\\d{1,2}-мӗш/,ordinal:"%d-\\u043C\\u04D7\\u0448",week:{dow:1,doy:7}})})(_(9034))},4227:function(p,v,_){(function(g){"use strict";g.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \\xF4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var r="";return a>20?r=a===40||a===50||a===60||a===80||a===100?"fed":"ain":a>0&&(r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][a]),a+r},week:{dow:1,doy:4}})})(_(9034))},5406:function(p,v,_){(function(g){"use strict";g.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\\xF8rdag".split("_"),weekdaysShort:"s\\xF8n_man_tir_ons_tor_fre_l\\xF8r".split("_"),weekdaysMin:"s\\xF8_ma_ti_on_to_fr_l\\xF8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\\xE5 dddd [kl.] LT",lastDay:"[i g\\xE5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\\xE5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\\xE5ned",MM:"%d m\\xE5neder",y:"et \\xE5r",yy:"%d \\xE5r"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},4139:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[r+" Tage",r+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[r+" Monate",r+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[r+" Jahre",r+" Jahren"]};return c?S[h][0]:S[h][1]}g.defineLocale("de-at",{months:"J\\xE4nner_Februar_M\\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\\xE4n._Feb._M\\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},6591:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[r+" Tage",r+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[r+" Monate",r+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[r+" Jahre",r+" Jahren"]};return c?S[h][0]:S[h][1]}g.defineLocale("de-ch",{months:"Januar_Februar_M\\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},7994:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[r+" Tage",r+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[r+" Monate",r+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[r+" Jahre",r+" Jahren"]};return c?S[h][0]:S[h][1]}g.defineLocale("de",{months:"Januar_Februar_M\\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},4649:function(p,v,_){(function(g){"use strict";var a=["\\u0796\\u07AC\\u0782\\u07AA\\u0787\\u07A6\\u0783\\u07A9","\\u078A\\u07AC\\u0784\\u07B0\\u0783\\u07AA\\u0787\\u07A6\\u0783\\u07A9","\\u0789\\u07A7\\u0783\\u07A8\\u0797\\u07AA","\\u0787\\u07AD\\u0795\\u07B0\\u0783\\u07A9\\u078D\\u07AA","\\u0789\\u07AD","\\u0796\\u07AB\\u0782\\u07B0","\\u0796\\u07AA\\u078D\\u07A6\\u0787\\u07A8","\\u0787\\u07AF\\u078E\\u07A6\\u0790\\u07B0\\u0793\\u07AA","\\u0790\\u07AC\\u0795\\u07B0\\u0793\\u07AC\\u0789\\u07B0\\u0784\\u07A6\\u0783\\u07AA","\\u0787\\u07AE\\u0786\\u07B0\\u0793\\u07AF\\u0784\\u07A6\\u0783\\u07AA","\\u0782\\u07AE\\u0788\\u07AC\\u0789\\u07B0\\u0784\\u07A6\\u0783\\u07AA","\\u0791\\u07A8\\u0790\\u07AC\\u0789\\u07B0\\u0784\\u07A6\\u0783\\u07AA"],r=["\\u0787\\u07A7\\u078B\\u07A8\\u0787\\u07B0\\u078C\\u07A6","\\u0780\\u07AF\\u0789\\u07A6","\\u0787\\u07A6\\u0782\\u07B0\\u078E\\u07A7\\u0783\\u07A6","\\u0784\\u07AA\\u078B\\u07A6","\\u0784\\u07AA\\u0783\\u07A7\\u0790\\u07B0\\u078A\\u07A6\\u078C\\u07A8","\\u0780\\u07AA\\u0786\\u07AA\\u0783\\u07AA","\\u0780\\u07AE\\u0782\\u07A8\\u0780\\u07A8\\u0783\\u07AA"];g.defineLocale("dv",{months:a,monthsShort:a,weekdays:r,weekdaysShort:r,weekdaysMin:"\\u0787\\u07A7\\u078B\\u07A8_\\u0780\\u07AF\\u0789\\u07A6_\\u0787\\u07A6\\u0782\\u07B0_\\u0784\\u07AA\\u078B\\u07A6_\\u0784\\u07AA\\u0783\\u07A7_\\u0780\\u07AA\\u0786\\u07AA_\\u0780\\u07AE\\u0782\\u07A8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(c){return c==="\\u0789\\u078A"},meridiem:function(c,h,A){return c<12?"\\u0789\\u0786":"\\u0789\\u078A"},calendar:{sameDay:"[\\u0789\\u07A8\\u0787\\u07A6\\u078B\\u07AA] LT",nextDay:"[\\u0789\\u07A7\\u078B\\u07A6\\u0789\\u07A7] LT",nextWeek:"dddd LT",lastDay:"[\\u0787\\u07A8\\u0787\\u07B0\\u0794\\u07AC] LT",lastWeek:"[\\u078A\\u07A7\\u0787\\u07A8\\u078C\\u07AA\\u0788\\u07A8] dddd LT",sameElse:"L"},relativeTime:{future:"\\u078C\\u07AC\\u0783\\u07AD\\u078E\\u07A6\\u0787\\u07A8 %s",past:"\\u0786\\u07AA\\u0783\\u07A8\\u0782\\u07B0 %s",s:"\\u0790\\u07A8\\u0786\\u07AA\\u0782\\u07B0\\u078C\\u07AA\\u0786\\u07AE\\u0785\\u07AC\\u0787\\u07B0",ss:"d% \\u0790\\u07A8\\u0786\\u07AA\\u0782\\u07B0\\u078C\\u07AA",m:"\\u0789\\u07A8\\u0782\\u07A8\\u0793\\u07AC\\u0787\\u07B0",mm:"\\u0789\\u07A8\\u0782\\u07A8\\u0793\\u07AA %d",h:"\\u078E\\u07A6\\u0791\\u07A8\\u0787\\u07A8\\u0783\\u07AC\\u0787\\u07B0",hh:"\\u078E\\u07A6\\u0791\\u07A8\\u0787\\u07A8\\u0783\\u07AA %d",d:"\\u078B\\u07AA\\u0788\\u07A6\\u0780\\u07AC\\u0787\\u07B0",dd:"\\u078B\\u07AA\\u0788\\u07A6\\u0790\\u07B0 %d",M:"\\u0789\\u07A6\\u0780\\u07AC\\u0787\\u07B0",MM:"\\u0789\\u07A6\\u0790\\u07B0 %d",y:"\\u0787\\u07A6\\u0780\\u07A6\\u0783\\u07AC\\u0787\\u07B0",yy:"\\u0787\\u07A6\\u0780\\u07A6\\u0783\\u07AA %d"},preparse:function(c){return c.replace(/،/g,",")},postformat:function(c){return c.replace(/,/g,"\\u060C")},week:{dow:7,doy:12}})})(_(9034))},4453:function(p,v,_){(function(g){"use strict";g.defineLocale("el",{monthsNominativeEl:"\\u0399\\u03B1\\u03BD\\u03BF\\u03C5\\u03AC\\u03C1\\u03B9\\u03BF\\u03C2_\\u03A6\\u03B5\\u03B2\\u03C1\\u03BF\\u03C5\\u03AC\\u03C1\\u03B9\\u03BF\\u03C2_\\u039C\\u03AC\\u03C1\\u03C4\\u03B9\\u03BF\\u03C2_\\u0391\\u03C0\\u03C1\\u03AF\\u03BB\\u03B9\\u03BF\\u03C2_\\u039C\\u03AC\\u03B9\\u03BF\\u03C2_\\u0399\\u03BF\\u03CD\\u03BD\\u03B9\\u03BF\\u03C2_\\u0399\\u03BF\\u03CD\\u03BB\\u03B9\\u03BF\\u03C2_\\u0391\\u03CD\\u03B3\\u03BF\\u03C5\\u03C3\\u03C4\\u03BF\\u03C2_\\u03A3\\u03B5\\u03C0\\u03C4\\u03AD\\u03BC\\u03B2\\u03C1\\u03B9\\u03BF\\u03C2_\\u039F\\u03BA\\u03C4\\u03CE\\u03B2\\u03C1\\u03B9\\u03BF\\u03C2_\\u039D\\u03BF\\u03AD\\u03BC\\u03B2\\u03C1\\u03B9\\u03BF\\u03C2_\\u0394\\u03B5\\u03BA\\u03AD\\u03BC\\u03B2\\u03C1\\u03B9\\u03BF\\u03C2".split("_"),monthsGenitiveEl:"\\u0399\\u03B1\\u03BD\\u03BF\\u03C5\\u03B1\\u03C1\\u03AF\\u03BF\\u03C5_\\u03A6\\u03B5\\u03B2\\u03C1\\u03BF\\u03C5\\u03B1\\u03C1\\u03AF\\u03BF\\u03C5_\\u039C\\u03B1\\u03C1\\u03C4\\u03AF\\u03BF\\u03C5_\\u0391\\u03C0\\u03C1\\u03B9\\u03BB\\u03AF\\u03BF\\u03C5_\\u039C\\u03B1\\u0390\\u03BF\\u03C5_\\u0399\\u03BF\\u03C5\\u03BD\\u03AF\\u03BF\\u03C5_\\u0399\\u03BF\\u03C5\\u03BB\\u03AF\\u03BF\\u03C5_\\u0391\\u03C5\\u03B3\\u03BF\\u03CD\\u03C3\\u03C4\\u03BF\\u03C5_\\u03A3\\u03B5\\u03C0\\u03C4\\u03B5\\u03BC\\u03B2\\u03C1\\u03AF\\u03BF\\u03C5_\\u039F\\u03BA\\u03C4\\u03C9\\u03B2\\u03C1\\u03AF\\u03BF\\u03C5_\\u039D\\u03BF\\u03B5\\u03BC\\u03B2\\u03C1\\u03AF\\u03BF\\u03C5_\\u0394\\u03B5\\u03BA\\u03B5\\u03BC\\u03B2\\u03C1\\u03AF\\u03BF\\u03C5".split("_"),months:function(a,r){return a?typeof r=="string"&&/D/.test(r.substring(0,r.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"\\u0399\\u03B1\\u03BD_\\u03A6\\u03B5\\u03B2_\\u039C\\u03B1\\u03C1_\\u0391\\u03C0\\u03C1_\\u039C\\u03B1\\u03CA_\\u0399\\u03BF\\u03C5\\u03BD_\\u0399\\u03BF\\u03C5\\u03BB_\\u0391\\u03C5\\u03B3_\\u03A3\\u03B5\\u03C0_\\u039F\\u03BA\\u03C4_\\u039D\\u03BF\\u03B5_\\u0394\\u03B5\\u03BA".split("_"),weekdays:"\\u039A\\u03C5\\u03C1\\u03B9\\u03B1\\u03BA\\u03AE_\\u0394\\u03B5\\u03C5\\u03C4\\u03AD\\u03C1\\u03B1_\\u03A4\\u03C1\\u03AF\\u03C4\\u03B7_\\u03A4\\u03B5\\u03C4\\u03AC\\u03C1\\u03C4\\u03B7_\\u03A0\\u03AD\\u03BC\\u03C0\\u03C4\\u03B7_\\u03A0\\u03B1\\u03C1\\u03B1\\u03C3\\u03BA\\u03B5\\u03C5\\u03AE_\\u03A3\\u03AC\\u03B2\\u03B2\\u03B1\\u03C4\\u03BF".split("_"),weekdaysShort:"\\u039A\\u03C5\\u03C1_\\u0394\\u03B5\\u03C5_\\u03A4\\u03C1\\u03B9_\\u03A4\\u03B5\\u03C4_\\u03A0\\u03B5\\u03BC_\\u03A0\\u03B1\\u03C1_\\u03A3\\u03B1\\u03B2".split("_"),weekdaysMin:"\\u039A\\u03C5_\\u0394\\u03B5_\\u03A4\\u03C1_\\u03A4\\u03B5_\\u03A0\\u03B5_\\u03A0\\u03B1_\\u03A3\\u03B1".split("_"),meridiem:function(a,r,c){return a>11?c?"\\u03BC\\u03BC":"\\u039C\\u039C":c?"\\u03C0\\u03BC":"\\u03A0\\u039C"},isPM:function(a){return(a+"").toLowerCase()[0]==="\\u03BC"},meridiemParse:/[ΠΜ]\\.?Μ?\\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\\u03A3\\u03AE\\u03BC\\u03B5\\u03C1\\u03B1 {}] LT",nextDay:"[\\u0391\\u03CD\\u03C1\\u03B9\\u03BF {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\\u03A7\\u03B8\\u03B5\\u03C2 {}] LT",lastWeek:function(){return this.day()===6?"[\\u03C4\\u03BF \\u03C0\\u03C1\\u03BF\\u03B7\\u03B3\\u03BF\\u03CD\\u03BC\\u03B5\\u03BD\\u03BF] dddd [{}] LT":"[\\u03C4\\u03B7\\u03BD \\u03C0\\u03C1\\u03BF\\u03B7\\u03B3\\u03BF\\u03CD\\u03BC\\u03B5\\u03BD\\u03B7] dddd [{}] LT"},sameElse:"L"},calendar:function(a,r){var c,h=this._calendarEl[a],A=r&&r.hours();return c=h,(typeof Function!="undefined"&&c instanceof Function||Object.prototype.toString.call(c)==="[object Function]")&&(h=h.apply(r)),h.replace("{}",A%12==1?"\\u03C3\\u03C4\\u03B7":"\\u03C3\\u03C4\\u03B9\\u03C2")},relativeTime:{future:"\\u03C3\\u03B5 %s",past:"%s \\u03C0\\u03C1\\u03B9\\u03BD",s:"\\u03BB\\u03AF\\u03B3\\u03B1 \\u03B4\\u03B5\\u03C5\\u03C4\\u03B5\\u03C1\\u03CC\\u03BB\\u03B5\\u03C0\\u03C4\\u03B1",ss:"%d \\u03B4\\u03B5\\u03C5\\u03C4\\u03B5\\u03C1\\u03CC\\u03BB\\u03B5\\u03C0\\u03C4\\u03B1",m:"\\u03AD\\u03BD\\u03B1 \\u03BB\\u03B5\\u03C0\\u03C4\\u03CC",mm:"%d \\u03BB\\u03B5\\u03C0\\u03C4\\u03AC",h:"\\u03BC\\u03AF\\u03B1 \\u03CE\\u03C1\\u03B1",hh:"%d \\u03CE\\u03C1\\u03B5\\u03C2",d:"\\u03BC\\u03AF\\u03B1 \\u03BC\\u03AD\\u03C1\\u03B1",dd:"%d \\u03BC\\u03AD\\u03C1\\u03B5\\u03C2",M:"\\u03AD\\u03BD\\u03B1\\u03C2 \\u03BC\\u03AE\\u03BD\\u03B1\\u03C2",MM:"%d \\u03BC\\u03AE\\u03BD\\u03B5\\u03C2",y:"\\u03AD\\u03BD\\u03B1\\u03C2 \\u03C7\\u03C1\\u03CC\\u03BD\\u03BF\\u03C2",yy:"%d \\u03C7\\u03C1\\u03CC\\u03BD\\u03B9\\u03B1"},dayOfMonthOrdinalParse:/\\d{1,2}η/,ordinal:"%d\\u03B7",week:{dow:1,doy:4}})})(_(9034))},8428:function(p,v,_){(function(g){"use strict";g.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:0,doy:4}})})(_(9034))},6972:function(p,v,_){(function(g){"use strict";g.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")}})})(_(9034))},3224:function(p,v,_){(function(g){"use strict";g.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:1,doy:4}})})(_(9034))},8843:function(p,v,_){(function(g){"use strict";g.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:1,doy:4}})})(_(9034))},2732:function(p,v,_){(function(g){"use strict";g.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")}})})(_(9034))},6579:function(p,v,_){(function(g){"use strict";g.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:0,doy:6}})})(_(9034))},9851:function(p,v,_){(function(g){"use strict";g.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:1,doy:4}})})(_(9034))},442:function(p,v,_){(function(g){"use strict";g.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:1,doy:4}})})(_(9034))},654:function(p,v,_){(function(g){"use strict";g.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\\u016Dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\\u016Dg_sept_okt_nov_dec".split("_"),weekdays:"diman\\u0109o_lundo_mardo_merkredo_\\u0135a\\u016Ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\\u0135a\\u016D_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\\.t\\.m/i,isPM:function(a){return a.charAt(0).toLowerCase()==="p"},meridiem:function(a,r,c){return a>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\\u016D je] LT",nextDay:"[Morga\\u016D je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\\u016D je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\\u016D %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})})(_(9034))},8791:function(p,v,_){(function(g){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;g.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(A,S){return A?/-MMM-/.test(S)?r[A.month()]:a[A.month()]:a},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\\xE9rcoles_jueves_viernes_s\\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\\xE9._jue._vie._s\\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[ma\\xF1ana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\\xEDa",dd:"%d d\\xEDas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\\xF1o",yy:"%d a\\xF1os"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},7278:function(p,v,_){(function(g){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;g.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(A,S){return A?/-MMM-/.test(S)?r[A.month()]:a[A.month()]:a},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\\xE9rcoles_jueves_viernes_s\\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\\xE9._jue._vie._s\\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[ma\\xF1ana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\\xEDa",dd:"%d d\\xEDas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\\xF1o",yy:"%d a\\xF1os"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:0,doy:4},invalidDate:"Fecha inv\\xE1lida"})})(_(9034))},717:function(p,v,_){(function(g){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;g.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(A,S){return A?/-MMM-/.test(S)?r[A.month()]:a[A.month()]:a},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\\xE9rcoles_jueves_viernes_s\\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\\xE9._jue._vie._s\\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[ma\\xF1ana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\\xEDa",dd:"%d d\\xEDas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\\xF1o",yy:"%d a\\xF1os"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:0,doy:6}})})(_(9034))},3621:function(p,v,_){(function(g){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;g.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(A,S){return A?/-MMM-/.test(S)?r[A.month()]:a[A.month()]:a},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\\xE9rcoles_jueves_viernes_s\\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\\xE9._jue._vie._s\\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[ma\\xF1ana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\\xEDa",dd:"%d d\\xEDas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\\xF1o",yy:"%d a\\xF1os"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4},invalidDate:"Fecha inv\\xE1lida"})})(_(9034))},2404:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={s:["m\\xF5ne sekundi","m\\xF5ni sekund","paar sekundit"],ss:[r+"sekundi",r+"sekundit"],m:["\\xFChe minuti","\\xFCks minut"],mm:[r+" minuti",r+" minutit"],h:["\\xFChe tunni","tund aega","\\xFCks tund"],hh:[r+" tunni",r+" tundi"],d:["\\xFChe p\\xE4eva","\\xFCks p\\xE4ev"],M:["kuu aja","kuu aega","\\xFCks kuu"],MM:[r+" kuu",r+" kuud"],y:["\\xFChe aasta","aasta","\\xFCks aasta"],yy:[r+" aasta",r+" aastat"]};return c?S[h][2]?S[h][2]:S[h][1]:A?S[h][0]:S[h][1]}g.defineLocale("et",{months:"jaanuar_veebruar_m\\xE4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\\xE4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\\xFChap\\xE4ev_esmasp\\xE4ev_teisip\\xE4ev_kolmap\\xE4ev_neljap\\xE4ev_reede_laup\\xE4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\\xE4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\\xE4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\\xE4rast",past:"%s tagasi",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d p\\xE4eva",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},2944:function(p,v,_){(function(g){"use strict";g.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},496:function(p,v,_){(function(g){"use strict";var a={1:"\\u06F1",2:"\\u06F2",3:"\\u06F3",4:"\\u06F4",5:"\\u06F5",6:"\\u06F6",7:"\\u06F7",8:"\\u06F8",9:"\\u06F9",0:"\\u06F0"},r={"\\u06F1":"1","\\u06F2":"2","\\u06F3":"3","\\u06F4":"4","\\u06F5":"5","\\u06F6":"6","\\u06F7":"7","\\u06F8":"8","\\u06F9":"9","\\u06F0":"0"};g.defineLocale("fa",{months:"\\u0698\\u0627\\u0646\\u0648\\u06CC\\u0647_\\u0641\\u0648\\u0631\\u06CC\\u0647_\\u0645\\u0627\\u0631\\u0633_\\u0622\\u0648\\u0631\\u06CC\\u0644_\\u0645\\u0647_\\u0698\\u0648\\u0626\\u0646_\\u0698\\u0648\\u0626\\u06CC\\u0647_\\u0627\\u0648\\u062A_\\u0633\\u067E\\u062A\\u0627\\u0645\\u0628\\u0631_\\u0627\\u06A9\\u062A\\u0628\\u0631_\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631_\\u062F\\u0633\\u0627\\u0645\\u0628\\u0631".split("_"),monthsShort:"\\u0698\\u0627\\u0646\\u0648\\u06CC\\u0647_\\u0641\\u0648\\u0631\\u06CC\\u0647_\\u0645\\u0627\\u0631\\u0633_\\u0622\\u0648\\u0631\\u06CC\\u0644_\\u0645\\u0647_\\u0698\\u0648\\u0626\\u0646_\\u0698\\u0648\\u0626\\u06CC\\u0647_\\u0627\\u0648\\u062A_\\u0633\\u067E\\u062A\\u0627\\u0645\\u0628\\u0631_\\u0627\\u06A9\\u062A\\u0628\\u0631_\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631_\\u062F\\u0633\\u0627\\u0645\\u0628\\u0631".split("_"),weekdays:"\\u06CC\\u06A9\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067E\\u0646\\u062C\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062C\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647".split("_"),weekdaysShort:"\\u06CC\\u06A9\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067E\\u0646\\u062C\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062C\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647".split("_"),weekdaysMin:"\\u06CC_\\u062F_\\u0633_\\u0686_\\u067E_\\u062C_\\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(c){return/بعد از ظهر/.test(c)},meridiem:function(c,h,A){return c<12?"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0638\\u0647\\u0631":"\\u0628\\u0639\\u062F \\u0627\\u0632 \\u0638\\u0647\\u0631"},calendar:{sameDay:"[\\u0627\\u0645\\u0631\\u0648\\u0632 \\u0633\\u0627\\u0639\\u062A] LT",nextDay:"[\\u0641\\u0631\\u062F\\u0627 \\u0633\\u0627\\u0639\\u062A] LT",nextWeek:"dddd [\\u0633\\u0627\\u0639\\u062A] LT",lastDay:"[\\u062F\\u06CC\\u0631\\u0648\\u0632 \\u0633\\u0627\\u0639\\u062A] LT",lastWeek:"dddd [\\u067E\\u06CC\\u0634] [\\u0633\\u0627\\u0639\\u062A] LT",sameElse:"L"},relativeTime:{future:"\\u062F\\u0631 %s",past:"%s \\u067E\\u06CC\\u0634",s:"\\u0686\\u0646\\u062F \\u062B\\u0627\\u0646\\u06CC\\u0647",ss:"%d \\u062B\\u0627\\u0646\\u06CC\\u0647",m:"\\u06CC\\u06A9 \\u062F\\u0642\\u06CC\\u0642\\u0647",mm:"%d \\u062F\\u0642\\u06CC\\u0642\\u0647",h:"\\u06CC\\u06A9 \\u0633\\u0627\\u0639\\u062A",hh:"%d \\u0633\\u0627\\u0639\\u062A",d:"\\u06CC\\u06A9 \\u0631\\u0648\\u0632",dd:"%d \\u0631\\u0648\\u0632",M:"\\u06CC\\u06A9 \\u0645\\u0627\\u0647",MM:"%d \\u0645\\u0627\\u0647",y:"\\u06CC\\u06A9 \\u0633\\u0627\\u0644",yy:"%d \\u0633\\u0627\\u0644"},preparse:function(c){return c.replace(/[۰-۹]/g,function(h){return r[h]}).replace(/،/g,",")},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]}).replace(/,/g,"\\u060C")},dayOfMonthOrdinalParse:/\\d{1,2}م/,ordinal:"%d\\u0645",week:{dow:6,doy:12}})})(_(9034))},8137:function(p,v,_){(function(g){"use strict";var a="nolla yksi kaksi kolme nelj\\xE4 viisi kuusi seitsem\\xE4n kahdeksan yhdeks\\xE4n".split(" "),r=["nolla","yhden","kahden","kolmen","nelj\\xE4n","viiden","kuuden",a[7],a[8],a[9]];function c(h,A,S,q){var E="";switch(S){case"s":return q?"muutaman sekunnin":"muutama sekunti";case"ss":E=q?"sekunnin":"sekuntia";break;case"m":return q?"minuutin":"minuutti";case"mm":E=q?"minuutin":"minuuttia";break;case"h":return q?"tunnin":"tunti";case"hh":E=q?"tunnin":"tuntia";break;case"d":return q?"p\\xE4iv\\xE4n":"p\\xE4iv\\xE4";case"dd":E=q?"p\\xE4iv\\xE4n":"p\\xE4iv\\xE4\\xE4";break;case"M":return q?"kuukauden":"kuukausi";case"MM":E=q?"kuukauden":"kuukautta";break;case"y":return q?"vuoden":"vuosi";case"yy":E=q?"vuoden":"vuotta"}return function(K,fe){return K<10?fe?r[K]:a[K]:K}(h,q)+" "+E}g.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\\xE4kuu_hein\\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\\xE4_hein\\xE4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\\xE4n\\xE4\\xE4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\\xE4\\xE4st\\xE4",past:"%s sitten",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},2872:function(p,v,_){(function(g){"use strict";g.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}})})(_(9034))},6545:function(p,v,_){(function(g){"use strict";g.defineLocale("fo",{months:"januar_februar_mars_apr\\xEDl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\\xE1nadagur_t\\xFDsdagur_mikudagur_h\\xF3sdagur_fr\\xEDggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\\xE1n_t\\xFDs_mik_h\\xF3s_fr\\xED_ley".split("_"),weekdaysMin:"su_m\\xE1_t\\xFD_mi_h\\xF3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\\xCD dag kl.] LT",nextDay:"[\\xCD morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\\xCD gj\\xE1r kl.] LT",lastWeek:"[s\\xED\\xF0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\\xED\\xF0ani",s:"f\\xE1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\\xEDmi",hh:"%d t\\xEDmar",d:"ein dagur",dd:"%d dagar",M:"ein m\\xE1na\\xF0ur",MM:"%d m\\xE1na\\xF0ir",y:"eitt \\xE1r",yy:"%d \\xE1r"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},3049:function(p,v,_){(function(g){"use strict";g.defineLocale("fr-ca",{months:"janvier_f\\xE9vrier_mars_avril_mai_juin_juillet_ao\\xFBt_septembre_octobre_novembre_d\\xE9cembre".split("_"),monthsShort:"janv._f\\xE9vr._mars_avr._mai_juin_juil._ao\\xFBt_sept._oct._nov._d\\xE9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\\u2019hui \\xE0] LT",nextDay:"[Demain \\xE0] LT",nextWeek:"dddd [\\xE0] LT",lastDay:"[Hier \\xE0] LT",lastWeek:"dddd [dernier \\xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\\d{1,2}(er|e)/,ordinal:function(a,r){switch(r){default:case"M":case"Q":case"D":case"DDD":case"d":return a+(a===1?"er":"e");case"w":case"W":return a+(a===1?"re":"e")}}})})(_(9034))},2338:function(p,v,_){(function(g){"use strict";g.defineLocale("fr-ch",{months:"janvier_f\\xE9vrier_mars_avril_mai_juin_juillet_ao\\xFBt_septembre_octobre_novembre_d\\xE9cembre".split("_"),monthsShort:"janv._f\\xE9vr._mars_avr._mai_juin_juil._ao\\xFBt_sept._oct._nov._d\\xE9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\\u2019hui \\xE0] LT",nextDay:"[Demain \\xE0] LT",nextWeek:"dddd [\\xE0] LT",lastDay:"[Hier \\xE0] LT",lastWeek:"dddd [dernier \\xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\\d{1,2}(er|e)/,ordinal:function(a,r){switch(r){default:case"M":case"Q":case"D":case"DDD":case"d":return a+(a===1?"er":"e");case"w":case"W":return a+(a===1?"re":"e")}},week:{dow:1,doy:4}})})(_(9034))},9090:function(p,v,_){(function(g){"use strict";var a=/(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];g.defineLocale("fr",{months:"janvier_f\\xE9vrier_mars_avril_mai_juin_juillet_ao\\xFBt_septembre_octobre_novembre_d\\xE9cembre".split("_"),monthsShort:"janv._f\\xE9vr._mars_avr._mai_juin_juil._ao\\xFBt_sept._oct._nov._d\\xE9c.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\\u2019hui \\xE0] LT",nextDay:"[Demain \\xE0] LT",nextWeek:"dddd [\\xE0] LT",lastDay:"[Hier \\xE0] LT",lastWeek:"dddd [dernier \\xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\\d{1,2}(er|)/,ordinal:function(c,h){switch(h){case"D":return c+(c===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return c+(c===1?"er":"e");case"w":case"W":return c+(c===1?"re":"e")}},week:{dow:1,doy:4}})})(_(9034))},5088:function(p,v,_){(function(g){"use strict";var a="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");g.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,h){return c?/-MMM-/.test(h)?r[c.month()]:a[c.month()]:a},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\\xF4fr\\xFBne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\\xFAt",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(c){return c+(c===1||c===8||c>=20?"ste":"de")},week:{dow:1,doy:4}})})(_(9034))},7812:function(p,v,_){(function(g){"use strict";g.defineLocale("ga",{months:["Ean\\xE1ir","Feabhra","M\\xE1rta","Aibre\\xE1n","Bealtaine","Meitheamh","I\\xFAil","L\\xFAnasa","Me\\xE1n F\\xF3mhair","Deireadh F\\xF3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\\xE1rt","Aib","Beal","Meith","I\\xFAil","L\\xFAn","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\\xE9 Domhnaigh","D\\xE9 Luain","D\\xE9 M\\xE1irt","D\\xE9 C\\xE9adaoin","D\\xE9ardaoin","D\\xE9 hAoine","D\\xE9 Sathairn"],weekdaysShort:["Domh","Luan","M\\xE1irt","C\\xE9ad","D\\xE9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\\xE1","C\\xE9","D\\xE9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\\xE1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\\xE9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \\xF3 shin",s:"c\\xFApla soicind",ss:"%d soicind",m:"n\\xF3im\\xE9ad",mm:"%d n\\xF3im\\xE9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\\xE1",dd:"%d l\\xE1",M:"m\\xED",MM:"%d m\\xEDonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\\d{1,2}(d|na|mh)/,ordinal:function(a){return a+(a===1?"d":a%10==2?"na":"mh")},week:{dow:1,doy:4}})})(_(9034))},8374:function(p,v,_){(function(g){"use strict";g.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\\xE0rt","An Giblean","An C\\xE8itean","An t-\\xD2gmhios","An t-Iuchar","An L\\xF9nastal","An t-Sultain","An D\\xE0mhair","An t-Samhain","An D\\xF9bhlachd"],monthsShort:["Faoi","Gear","M\\xE0rt","Gibl","C\\xE8it","\\xD2gmh","Iuch","L\\xF9n","Sult","D\\xE0mh","Samh","D\\xF9bh"],monthsParseExact:!0,weekdays:["Did\\xF2mhnaich","Diluain","Dim\\xE0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\\xF2","Lu","M\\xE0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\\xE0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\\xE8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\\xECos",MM:"%d m\\xECosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\\d{1,2}(d|na|mh)/,ordinal:function(a){return a+(a===1?"d":a%10==2?"na":"mh")},week:{dow:1,doy:4}})})(_(9034))},3649:function(p,v,_){(function(g){"use strict";g.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\\xF1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\\xF1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\\xE9rcores_xoves_venres_s\\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._m\\xE9r._xov._ven._s\\xE1b.".split("_"),weekdaysMin:"do_lu_ma_m\\xE9_xo_ve_s\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"\\xE1s":"\\xE1")+"] LT"},nextDay:function(){return"[ma\\xF1\\xE1 "+(this.hours()!==1?"\\xE1s":"\\xE1")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"\\xE1s":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"\\xE1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"\\xE1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(a){return a.indexOf("un")===0?"n"+a:"en "+a},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\\xEDa",dd:"%d d\\xEDas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},2674:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={s:["\\u0925\\u094B\\u0921\\u092F\\u093E \\u0938\\u0945\\u0915\\u0902\\u0921\\u093E\\u0902\\u0928\\u0940","\\u0925\\u094B\\u0921\\u0947 \\u0938\\u0945\\u0915\\u0902\\u0921"],ss:[r+" \\u0938\\u0945\\u0915\\u0902\\u0921\\u093E\\u0902\\u0928\\u0940",r+" \\u0938\\u0945\\u0915\\u0902\\u0921"],m:["\\u090F\\u0915\\u093E \\u092E\\u093F\\u0923\\u091F\\u093E\\u0928","\\u090F\\u0915 \\u092E\\u093F\\u0928\\u0942\\u091F"],mm:[r+" \\u092E\\u093F\\u0923\\u091F\\u093E\\u0902\\u0928\\u0940",r+" \\u092E\\u093F\\u0923\\u091F\\u093E\\u0902"],h:["\\u090F\\u0915\\u093E \\u0935\\u0930\\u093E\\u0928","\\u090F\\u0915 \\u0935\\u0930"],hh:[r+" \\u0935\\u0930\\u093E\\u0902\\u0928\\u0940",r+" \\u0935\\u0930\\u093E\\u0902"],d:["\\u090F\\u0915\\u093E \\u0926\\u093F\\u0938\\u093E\\u0928","\\u090F\\u0915 \\u0926\\u0940\\u0938"],dd:[r+" \\u0926\\u093F\\u0938\\u093E\\u0902\\u0928\\u0940",r+" \\u0926\\u0940\\u0938"],M:["\\u090F\\u0915\\u093E \\u092E\\u094D\\u0939\\u092F\\u0928\\u094D\\u092F\\u093E\\u0928","\\u090F\\u0915 \\u092E\\u094D\\u0939\\u092F\\u0928\\u094B"],MM:[r+" \\u092E\\u094D\\u0939\\u092F\\u0928\\u094D\\u092F\\u093E\\u0928\\u0940",r+" \\u092E\\u094D\\u0939\\u092F\\u0928\\u0947"],y:["\\u090F\\u0915\\u093E \\u0935\\u0930\\u094D\\u0938\\u093E\\u0928","\\u090F\\u0915 \\u0935\\u0930\\u094D\\u0938"],yy:[r+" \\u0935\\u0930\\u094D\\u0938\\u093E\\u0902\\u0928\\u0940",r+" \\u0935\\u0930\\u094D\\u0938\\u093E\\u0902"]};return A?S[h][0]:S[h][1]}g.defineLocale("gom-deva",{months:{standalone:"\\u091C\\u093E\\u0928\\u0947\\u0935\\u093E\\u0930\\u0940_\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941\\u0935\\u093E\\u0930\\u0940_\\u092E\\u093E\\u0930\\u094D\\u091A_\\u090F\\u092A\\u094D\\u0930\\u0940\\u0932_\\u092E\\u0947_\\u091C\\u0942\\u0928_\\u091C\\u0941\\u0932\\u092F_\\u0911\\u0917\\u0938\\u094D\\u091F_\\u0938\\u092A\\u094D\\u091F\\u0947\\u0902\\u092C\\u0930_\\u0911\\u0915\\u094D\\u091F\\u094B\\u092C\\u0930_\\u0928\\u094B\\u0935\\u094D\\u0939\\u0947\\u0902\\u092C\\u0930_\\u0921\\u093F\\u0938\\u0947\\u0902\\u092C\\u0930".split("_"),format:"\\u091C\\u093E\\u0928\\u0947\\u0935\\u093E\\u0930\\u0940\\u091A\\u094D\\u092F\\u093E_\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941\\u0935\\u093E\\u0930\\u0940\\u091A\\u094D\\u092F\\u093E_\\u092E\\u093E\\u0930\\u094D\\u091A\\u093E\\u091A\\u094D\\u092F\\u093E_\\u090F\\u092A\\u094D\\u0930\\u0940\\u0932\\u093E\\u091A\\u094D\\u092F\\u093E_\\u092E\\u0947\\u092F\\u093E\\u091A\\u094D\\u092F\\u093E_\\u091C\\u0942\\u0928\\u093E\\u091A\\u094D\\u092F\\u093E_\\u091C\\u0941\\u0932\\u092F\\u093E\\u091A\\u094D\\u092F\\u093E_\\u0911\\u0917\\u0938\\u094D\\u091F\\u093E\\u091A\\u094D\\u092F\\u093E_\\u0938\\u092A\\u094D\\u091F\\u0947\\u0902\\u092C\\u0930\\u093E\\u091A\\u094D\\u092F\\u093E_\\u0911\\u0915\\u094D\\u091F\\u094B\\u092C\\u0930\\u093E\\u091A\\u094D\\u092F\\u093E_\\u0928\\u094B\\u0935\\u094D\\u0939\\u0947\\u0902\\u092C\\u0930\\u093E\\u091A\\u094D\\u092F\\u093E_\\u0921\\u093F\\u0938\\u0947\\u0902\\u092C\\u0930\\u093E\\u091A\\u094D\\u092F\\u093E".split("_"),isFormat:/MMMM(\\s)+D[oD]?/},monthsShort:"\\u091C\\u093E\\u0928\\u0947._\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941._\\u092E\\u093E\\u0930\\u094D\\u091A_\\u090F\\u092A\\u094D\\u0930\\u0940._\\u092E\\u0947_\\u091C\\u0942\\u0928_\\u091C\\u0941\\u0932._\\u0911\\u0917._\\u0938\\u092A\\u094D\\u091F\\u0947\\u0902._\\u0911\\u0915\\u094D\\u091F\\u094B._\\u0928\\u094B\\u0935\\u094D\\u0939\\u0947\\u0902._\\u0921\\u093F\\u0938\\u0947\\u0902.".split("_"),monthsParseExact:!0,weekdays:"\\u0906\\u092F\\u0924\\u093E\\u0930_\\u0938\\u094B\\u092E\\u093E\\u0930_\\u092E\\u0902\\u0917\\u0933\\u093E\\u0930_\\u092C\\u0941\\u0927\\u0935\\u093E\\u0930_\\u092C\\u093F\\u0930\\u0947\\u0938\\u094D\\u0924\\u093E\\u0930_\\u0938\\u0941\\u0915\\u094D\\u0930\\u093E\\u0930_\\u0936\\u0947\\u0928\\u0935\\u093E\\u0930".split("_"),weekdaysShort:"\\u0906\\u092F\\u0924._\\u0938\\u094B\\u092E._\\u092E\\u0902\\u0917\\u0933._\\u092C\\u0941\\u0927._\\u092C\\u094D\\u0930\\u0947\\u0938\\u094D\\u0924._\\u0938\\u0941\\u0915\\u094D\\u0930._\\u0936\\u0947\\u0928.".split("_"),weekdaysMin:"\\u0906_\\u0938\\u094B_\\u092E\\u0902_\\u092C\\u0941_\\u092C\\u094D\\u0930\\u0947_\\u0938\\u0941_\\u0936\\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\\u0935\\u093E\\u091C\\u0924\\u093E\\u0902]",LTS:"A h:mm:ss [\\u0935\\u093E\\u091C\\u0924\\u093E\\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\\u0935\\u093E\\u091C\\u0924\\u093E\\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\\u0935\\u093E\\u091C\\u0924\\u093E\\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\\u0935\\u093E\\u091C\\u0924\\u093E\\u0902]"},calendar:{sameDay:"[\\u0906\\u092F\\u091C] LT",nextDay:"[\\u092B\\u093E\\u0932\\u094D\\u092F\\u093E\\u0902] LT",nextWeek:"[\\u092B\\u0941\\u0921\\u0932\\u094B] dddd[,] LT",lastDay:"[\\u0915\\u093E\\u0932] LT",lastWeek:"[\\u092B\\u093E\\u091F\\u0932\\u094B] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \\u0906\\u0926\\u0940\\u0902",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}(वेर)/,ordinal:function(r,c){return c==="D"?r+"\\u0935\\u0947\\u0930":r},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(r,c){return r===12&&(r=0),c==="\\u0930\\u093E\\u0924\\u0940"?r<4?r:r+12:c==="\\u0938\\u0915\\u093E\\u0933\\u0940\\u0902"?r:c==="\\u0926\\u0928\\u092A\\u093E\\u0930\\u093E\\u0902"?r>12?r:r+12:c==="\\u0938\\u093E\\u0902\\u091C\\u0947"?r+12:void 0},meridiem:function(r,c,h){return r<4?"\\u0930\\u093E\\u0924\\u0940":r<12?"\\u0938\\u0915\\u093E\\u0933\\u0940\\u0902":r<16?"\\u0926\\u0928\\u092A\\u093E\\u0930\\u093E\\u0902":r<20?"\\u0938\\u093E\\u0902\\u091C\\u0947":"\\u0930\\u093E\\u0924\\u0940"}})})(_(9034))},4948:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={s:["thoddea sekondamni","thodde sekond"],ss:[r+" sekondamni",r+" sekond"],m:["eka mintan","ek minut"],mm:[r+" mintamni",r+" mintam"],h:["eka voran","ek vor"],hh:[r+" voramni",r+" voram"],d:["eka disan","ek dis"],dd:[r+" disamni",r+" dis"],M:["eka mhoinean","ek mhoino"],MM:[r+" mhoineamni",r+" mhoine"],y:["eka vorsan","ek voros"],yy:[r+" vorsamni",r+" vorsam"]};return A?S[h][0]:S[h][1]}g.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son\'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}(er)/,ordinal:function(r,c){return c==="D"?r+"er":r},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(r,c){return r===12&&(r=0),c==="rati"?r<4?r:r+12:c==="sokallim"?r:c==="donparam"?r>12?r:r+12:c==="sanje"?r+12:void 0},meridiem:function(r,c,h){return r<4?"rati":r<12?"sokallim":r<16?"donparam":r<20?"sanje":"rati"}})})(_(9034))},4033:function(p,v,_){(function(g){"use strict";var a={1:"\\u0AE7",2:"\\u0AE8",3:"\\u0AE9",4:"\\u0AEA",5:"\\u0AEB",6:"\\u0AEC",7:"\\u0AED",8:"\\u0AEE",9:"\\u0AEF",0:"\\u0AE6"},r={"\\u0AE7":"1","\\u0AE8":"2","\\u0AE9":"3","\\u0AEA":"4","\\u0AEB":"5","\\u0AEC":"6","\\u0AED":"7","\\u0AEE":"8","\\u0AEF":"9","\\u0AE6":"0"};g.defineLocale("gu",{months:"\\u0A9C\\u0ABE\\u0AA8\\u0ACD\\u0AAF\\u0AC1\\u0A86\\u0AB0\\u0AC0_\\u0AAB\\u0AC7\\u0AAC\\u0ACD\\u0AB0\\u0AC1\\u0A86\\u0AB0\\u0AC0_\\u0AAE\\u0ABE\\u0AB0\\u0ACD\\u0A9A_\\u0A8F\\u0AAA\\u0ACD\\u0AB0\\u0ABF\\u0AB2_\\u0AAE\\u0AC7_\\u0A9C\\u0AC2\\u0AA8_\\u0A9C\\u0AC1\\u0AB2\\u0ABE\\u0A88_\\u0A91\\u0A97\\u0AB8\\u0ACD\\u0A9F_\\u0AB8\\u0AAA\\u0ACD\\u0A9F\\u0AC7\\u0AAE\\u0ACD\\u0AAC\\u0AB0_\\u0A91\\u0A95\\u0ACD\\u0A9F\\u0ACD\\u0AAC\\u0AB0_\\u0AA8\\u0AB5\\u0AC7\\u0AAE\\u0ACD\\u0AAC\\u0AB0_\\u0AA1\\u0ABF\\u0AB8\\u0AC7\\u0AAE\\u0ACD\\u0AAC\\u0AB0".split("_"),monthsShort:"\\u0A9C\\u0ABE\\u0AA8\\u0ACD\\u0AAF\\u0AC1._\\u0AAB\\u0AC7\\u0AAC\\u0ACD\\u0AB0\\u0AC1._\\u0AAE\\u0ABE\\u0AB0\\u0ACD\\u0A9A_\\u0A8F\\u0AAA\\u0ACD\\u0AB0\\u0ABF._\\u0AAE\\u0AC7_\\u0A9C\\u0AC2\\u0AA8_\\u0A9C\\u0AC1\\u0AB2\\u0ABE._\\u0A91\\u0A97._\\u0AB8\\u0AAA\\u0ACD\\u0A9F\\u0AC7._\\u0A91\\u0A95\\u0ACD\\u0A9F\\u0ACD._\\u0AA8\\u0AB5\\u0AC7._\\u0AA1\\u0ABF\\u0AB8\\u0AC7.".split("_"),monthsParseExact:!0,weekdays:"\\u0AB0\\u0AB5\\u0ABF\\u0AB5\\u0ABE\\u0AB0_\\u0AB8\\u0ACB\\u0AAE\\u0AB5\\u0ABE\\u0AB0_\\u0AAE\\u0A82\\u0A97\\u0AB3\\u0AB5\\u0ABE\\u0AB0_\\u0AAC\\u0AC1\\u0AA7\\u0ACD\\u0AB5\\u0ABE\\u0AB0_\\u0A97\\u0AC1\\u0AB0\\u0AC1\\u0AB5\\u0ABE\\u0AB0_\\u0AB6\\u0AC1\\u0A95\\u0ACD\\u0AB0\\u0AB5\\u0ABE\\u0AB0_\\u0AB6\\u0AA8\\u0ABF\\u0AB5\\u0ABE\\u0AB0".split("_"),weekdaysShort:"\\u0AB0\\u0AB5\\u0ABF_\\u0AB8\\u0ACB\\u0AAE_\\u0AAE\\u0A82\\u0A97\\u0AB3_\\u0AAC\\u0AC1\\u0AA7\\u0ACD_\\u0A97\\u0AC1\\u0AB0\\u0AC1_\\u0AB6\\u0AC1\\u0A95\\u0ACD\\u0AB0_\\u0AB6\\u0AA8\\u0ABF".split("_"),weekdaysMin:"\\u0AB0_\\u0AB8\\u0ACB_\\u0AAE\\u0A82_\\u0AAC\\u0AC1_\\u0A97\\u0AC1_\\u0AB6\\u0AC1_\\u0AB6".split("_"),longDateFormat:{LT:"A h:mm \\u0AB5\\u0ABE\\u0A97\\u0ACD\\u0AAF\\u0AC7",LTS:"A h:mm:ss \\u0AB5\\u0ABE\\u0A97\\u0ACD\\u0AAF\\u0AC7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \\u0AB5\\u0ABE\\u0A97\\u0ACD\\u0AAF\\u0AC7",LLLL:"dddd, D MMMM YYYY, A h:mm \\u0AB5\\u0ABE\\u0A97\\u0ACD\\u0AAF\\u0AC7"},calendar:{sameDay:"[\\u0A86\\u0A9C] LT",nextDay:"[\\u0A95\\u0ABE\\u0AB2\\u0AC7] LT",nextWeek:"dddd, LT",lastDay:"[\\u0A97\\u0A87\\u0A95\\u0ABE\\u0AB2\\u0AC7] LT",lastWeek:"[\\u0AAA\\u0ABE\\u0A9B\\u0AB2\\u0ABE] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0AAE\\u0ABE",past:"%s \\u0AAA\\u0AB9\\u0AC7\\u0AB2\\u0ABE",s:"\\u0A85\\u0AAE\\u0AC1\\u0A95 \\u0AAA\\u0AB3\\u0ACB",ss:"%d \\u0AB8\\u0AC7\\u0A95\\u0A82\\u0AA1",m:"\\u0A8F\\u0A95 \\u0AAE\\u0ABF\\u0AA8\\u0ABF\\u0A9F",mm:"%d \\u0AAE\\u0ABF\\u0AA8\\u0ABF\\u0A9F",h:"\\u0A8F\\u0A95 \\u0A95\\u0AB2\\u0ABE\\u0A95",hh:"%d \\u0A95\\u0AB2\\u0ABE\\u0A95",d:"\\u0A8F\\u0A95 \\u0AA6\\u0ABF\\u0AB5\\u0AB8",dd:"%d \\u0AA6\\u0ABF\\u0AB5\\u0AB8",M:"\\u0A8F\\u0A95 \\u0AAE\\u0AB9\\u0ABF\\u0AA8\\u0ACB",MM:"%d \\u0AAE\\u0AB9\\u0ABF\\u0AA8\\u0ACB",y:"\\u0A8F\\u0A95 \\u0AB5\\u0AB0\\u0ACD\\u0AB7",yy:"%d \\u0AB5\\u0AB0\\u0ACD\\u0AB7"},preparse:function(c){return c.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u0AB0\\u0ABE\\u0AA4"?c<4?c:c+12:h==="\\u0AB8\\u0AB5\\u0ABE\\u0AB0"?c:h==="\\u0AAC\\u0AAA\\u0ACB\\u0AB0"?c>=10?c:c+12:h==="\\u0AB8\\u0ABE\\u0A82\\u0A9C"?c+12:void 0},meridiem:function(c,h,A){return c<4?"\\u0AB0\\u0ABE\\u0AA4":c<10?"\\u0AB8\\u0AB5\\u0ABE\\u0AB0":c<17?"\\u0AAC\\u0AAA\\u0ACB\\u0AB0":c<20?"\\u0AB8\\u0ABE\\u0A82\\u0A9C":"\\u0AB0\\u0ABE\\u0AA4"},week:{dow:0,doy:6}})})(_(9034))},175:function(p,v,_){(function(g){"use strict";g.defineLocale("he",{months:"\\u05D9\\u05E0\\u05D5\\u05D0\\u05E8_\\u05E4\\u05D1\\u05E8\\u05D5\\u05D0\\u05E8_\\u05DE\\u05E8\\u05E5_\\u05D0\\u05E4\\u05E8\\u05D9\\u05DC_\\u05DE\\u05D0\\u05D9_\\u05D9\\u05D5\\u05E0\\u05D9_\\u05D9\\u05D5\\u05DC\\u05D9_\\u05D0\\u05D5\\u05D2\\u05D5\\u05E1\\u05D8_\\u05E1\\u05E4\\u05D8\\u05DE\\u05D1\\u05E8_\\u05D0\\u05D5\\u05E7\\u05D8\\u05D5\\u05D1\\u05E8_\\u05E0\\u05D5\\u05D1\\u05DE\\u05D1\\u05E8_\\u05D3\\u05E6\\u05DE\\u05D1\\u05E8".split("_"),monthsShort:"\\u05D9\\u05E0\\u05D5\\u05F3_\\u05E4\\u05D1\\u05E8\\u05F3_\\u05DE\\u05E8\\u05E5_\\u05D0\\u05E4\\u05E8\\u05F3_\\u05DE\\u05D0\\u05D9_\\u05D9\\u05D5\\u05E0\\u05D9_\\u05D9\\u05D5\\u05DC\\u05D9_\\u05D0\\u05D5\\u05D2\\u05F3_\\u05E1\\u05E4\\u05D8\\u05F3_\\u05D0\\u05D5\\u05E7\\u05F3_\\u05E0\\u05D5\\u05D1\\u05F3_\\u05D3\\u05E6\\u05DE\\u05F3".split("_"),weekdays:"\\u05E8\\u05D0\\u05E9\\u05D5\\u05DF_\\u05E9\\u05E0\\u05D9_\\u05E9\\u05DC\\u05D9\\u05E9\\u05D9_\\u05E8\\u05D1\\u05D9\\u05E2\\u05D9_\\u05D7\\u05DE\\u05D9\\u05E9\\u05D9_\\u05E9\\u05D9\\u05E9\\u05D9_\\u05E9\\u05D1\\u05EA".split("_"),weekdaysShort:"\\u05D0\\u05F3_\\u05D1\\u05F3_\\u05D2\\u05F3_\\u05D3\\u05F3_\\u05D4\\u05F3_\\u05D5\\u05F3_\\u05E9\\u05F3".split("_"),weekdaysMin:"\\u05D0_\\u05D1_\\u05D2_\\u05D3_\\u05D4_\\u05D5_\\u05E9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\\u05D1]MMMM YYYY",LLL:"D [\\u05D1]MMMM YYYY HH:mm",LLLL:"dddd, D [\\u05D1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\\u05D4\\u05D9\\u05D5\\u05DD \\u05D1\\u05BE]LT",nextDay:"[\\u05DE\\u05D7\\u05E8 \\u05D1\\u05BE]LT",nextWeek:"dddd [\\u05D1\\u05E9\\u05E2\\u05D4] LT",lastDay:"[\\u05D0\\u05EA\\u05DE\\u05D5\\u05DC \\u05D1\\u05BE]LT",lastWeek:"[\\u05D1\\u05D9\\u05D5\\u05DD] dddd [\\u05D4\\u05D0\\u05D7\\u05E8\\u05D5\\u05DF \\u05D1\\u05E9\\u05E2\\u05D4] LT",sameElse:"L"},relativeTime:{future:"\\u05D1\\u05E2\\u05D5\\u05D3 %s",past:"\\u05DC\\u05E4\\u05E0\\u05D9 %s",s:"\\u05DE\\u05E1\\u05E4\\u05E8 \\u05E9\\u05E0\\u05D9\\u05D5\\u05EA",ss:"%d \\u05E9\\u05E0\\u05D9\\u05D5\\u05EA",m:"\\u05D3\\u05E7\\u05D4",mm:"%d \\u05D3\\u05E7\\u05D5\\u05EA",h:"\\u05E9\\u05E2\\u05D4",hh:function(a){return a===2?"\\u05E9\\u05E2\\u05EA\\u05D9\\u05D9\\u05DD":a+" \\u05E9\\u05E2\\u05D5\\u05EA"},d:"\\u05D9\\u05D5\\u05DD",dd:function(a){return a===2?"\\u05D9\\u05D5\\u05DE\\u05D9\\u05D9\\u05DD":a+" \\u05D9\\u05DE\\u05D9\\u05DD"},M:"\\u05D7\\u05D5\\u05D3\\u05E9",MM:function(a){return a===2?"\\u05D7\\u05D5\\u05D3\\u05E9\\u05D9\\u05D9\\u05DD":a+" \\u05D7\\u05D5\\u05D3\\u05E9\\u05D9\\u05DD"},y:"\\u05E9\\u05E0\\u05D4",yy:function(a){return a===2?"\\u05E9\\u05E0\\u05EA\\u05D9\\u05D9\\u05DD":a%10==0&&a!==10?a+" \\u05E9\\u05E0\\u05D4":a+" \\u05E9\\u05E0\\u05D9\\u05DD"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(a){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(a)},meridiem:function(a,r,c){return a<5?"\\u05DC\\u05E4\\u05E0\\u05D5\\u05EA \\u05D1\\u05D5\\u05E7\\u05E8":a<10?"\\u05D1\\u05D1\\u05D5\\u05E7\\u05E8":a<12?c?\'\\u05DC\\u05E4\\u05E0\\u05D4"\\u05E6\':"\\u05DC\\u05E4\\u05E0\\u05D9 \\u05D4\\u05E6\\u05D4\\u05E8\\u05D9\\u05D9\\u05DD":a<18?c?\'\\u05D0\\u05D7\\u05D4"\\u05E6\':"\\u05D0\\u05D7\\u05E8\\u05D9 \\u05D4\\u05E6\\u05D4\\u05E8\\u05D9\\u05D9\\u05DD":"\\u05D1\\u05E2\\u05E8\\u05D1"}})})(_(9034))},8055:function(p,v,_){(function(g){"use strict";var a={1:"\\u0967",2:"\\u0968",3:"\\u0969",4:"\\u096A",5:"\\u096B",6:"\\u096C",7:"\\u096D",8:"\\u096E",9:"\\u096F",0:"\\u0966"},r={"\\u0967":"1","\\u0968":"2","\\u0969":"3","\\u096A":"4","\\u096B":"5","\\u096C":"6","\\u096D":"7","\\u096E":"8","\\u096F":"9","\\u0966":"0"},c=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];g.defineLocale("hi",{months:{format:"\\u091C\\u0928\\u0935\\u0930\\u0940_\\u092B\\u093C\\u0930\\u0935\\u0930\\u0940_\\u092E\\u093E\\u0930\\u094D\\u091A_\\u0905\\u092A\\u094D\\u0930\\u0948\\u0932_\\u092E\\u0908_\\u091C\\u0942\\u0928_\\u091C\\u0941\\u0932\\u093E\\u0908_\\u0905\\u0917\\u0938\\u094D\\u0924_\\u0938\\u093F\\u0924\\u092E\\u094D\\u092C\\u0930_\\u0905\\u0915\\u094D\\u091F\\u0942\\u092C\\u0930_\\u0928\\u0935\\u092E\\u094D\\u092C\\u0930_\\u0926\\u093F\\u0938\\u092E\\u094D\\u092C\\u0930".split("_"),standalone:"\\u091C\\u0928\\u0935\\u0930\\u0940_\\u092B\\u0930\\u0935\\u0930\\u0940_\\u092E\\u093E\\u0930\\u094D\\u091A_\\u0905\\u092A\\u094D\\u0930\\u0948\\u0932_\\u092E\\u0908_\\u091C\\u0942\\u0928_\\u091C\\u0941\\u0932\\u093E\\u0908_\\u0905\\u0917\\u0938\\u094D\\u0924_\\u0938\\u093F\\u0924\\u0902\\u092C\\u0930_\\u0905\\u0915\\u094D\\u091F\\u0942\\u092C\\u0930_\\u0928\\u0935\\u0902\\u092C\\u0930_\\u0926\\u093F\\u0938\\u0902\\u092C\\u0930".split("_")},monthsShort:"\\u091C\\u0928._\\u092B\\u093C\\u0930._\\u092E\\u093E\\u0930\\u094D\\u091A_\\u0905\\u092A\\u094D\\u0930\\u0948._\\u092E\\u0908_\\u091C\\u0942\\u0928_\\u091C\\u0941\\u0932._\\u0905\\u0917._\\u0938\\u093F\\u0924._\\u0905\\u0915\\u094D\\u091F\\u0942._\\u0928\\u0935._\\u0926\\u093F\\u0938.".split("_"),weekdays:"\\u0930\\u0935\\u093F\\u0935\\u093E\\u0930_\\u0938\\u094B\\u092E\\u0935\\u093E\\u0930_\\u092E\\u0902\\u0917\\u0932\\u0935\\u093E\\u0930_\\u092C\\u0941\\u0927\\u0935\\u093E\\u0930_\\u0917\\u0941\\u0930\\u0942\\u0935\\u093E\\u0930_\\u0936\\u0941\\u0915\\u094D\\u0930\\u0935\\u093E\\u0930_\\u0936\\u0928\\u093F\\u0935\\u093E\\u0930".split("_"),weekdaysShort:"\\u0930\\u0935\\u093F_\\u0938\\u094B\\u092E_\\u092E\\u0902\\u0917\\u0932_\\u092C\\u0941\\u0927_\\u0917\\u0941\\u0930\\u0942_\\u0936\\u0941\\u0915\\u094D\\u0930_\\u0936\\u0928\\u093F".split("_"),weekdaysMin:"\\u0930_\\u0938\\u094B_\\u092E\\u0902_\\u092C\\u0941_\\u0917\\u0941_\\u0936\\u0941_\\u0936".split("_"),longDateFormat:{LT:"A h:mm \\u092C\\u091C\\u0947",LTS:"A h:mm:ss \\u092C\\u091C\\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \\u092C\\u091C\\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \\u092C\\u091C\\u0947"},monthsParse:c,longMonthsParse:c,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,monthsShortRegex:/^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\\.?|फ़र\\.?|मार्च?|अप्रै\\.?|मई?|जून?|जुल\\.?|अग\\.?|सित\\.?|अक्टू\\.?|नव\\.?|दिस\\.?)/i,calendar:{sameDay:"[\\u0906\\u091C] LT",nextDay:"[\\u0915\\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\\u0915\\u0932] LT",lastWeek:"[\\u092A\\u093F\\u091B\\u0932\\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u092E\\u0947\\u0902",past:"%s \\u092A\\u0939\\u0932\\u0947",s:"\\u0915\\u0941\\u091B \\u0939\\u0940 \\u0915\\u094D\\u0937\\u0923",ss:"%d \\u0938\\u0947\\u0915\\u0902\\u0921",m:"\\u090F\\u0915 \\u092E\\u093F\\u0928\\u091F",mm:"%d \\u092E\\u093F\\u0928\\u091F",h:"\\u090F\\u0915 \\u0918\\u0902\\u091F\\u093E",hh:"%d \\u0918\\u0902\\u091F\\u0947",d:"\\u090F\\u0915 \\u0926\\u093F\\u0928",dd:"%d \\u0926\\u093F\\u0928",M:"\\u090F\\u0915 \\u092E\\u0939\\u0940\\u0928\\u0947",MM:"%d \\u092E\\u0939\\u0940\\u0928\\u0947",y:"\\u090F\\u0915 \\u0935\\u0930\\u094D\\u0937",yy:"%d \\u0935\\u0930\\u094D\\u0937"},preparse:function(h){return h.replace(/[१२३४५६७८९०]/g,function(A){return r[A]})},postformat:function(h){return h.replace(/\\d/g,function(A){return a[A]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(h,A){return h===12&&(h=0),A==="\\u0930\\u093E\\u0924"?h<4?h:h+12:A==="\\u0938\\u0941\\u092C\\u0939"?h:A==="\\u0926\\u094B\\u092A\\u0939\\u0930"?h>=10?h:h+12:A==="\\u0936\\u093E\\u092E"?h+12:void 0},meridiem:function(h,A,S){return h<4?"\\u0930\\u093E\\u0924":h<10?"\\u0938\\u0941\\u092C\\u0939":h<17?"\\u0926\\u094B\\u092A\\u0939\\u0930":h<20?"\\u0936\\u093E\\u092E":"\\u0930\\u093E\\u0924"},week:{dow:0,doy:6}})})(_(9034))},1678:function(p,v,_){(function(g){"use strict";function a(r,c,h){var A=r+" ";switch(h){case"ss":return A+(r===1?"sekunda":r===2||r===3||r===4?"sekunde":"sekundi");case"m":return c?"jedna minuta":"jedne minute";case"mm":return A+(r===1?"minuta":r===2||r===3||r===4?"minute":"minuta");case"h":return c?"jedan sat":"jednog sata";case"hh":return A+(r===1?"sat":r===2||r===3||r===4?"sata":"sati");case"dd":return A+(r===1?"dan":"dana");case"MM":return A+(r===1?"mjesec":r===2||r===3||r===4?"mjeseca":"mjeseci");case"yy":return A+(r===1?"godina":r===2||r===3||r===4?"godine":"godina")}}g.defineLocale("hr",{months:{format:"sije\\u010Dnja_velja\\u010De_o\\u017Eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\\u010Danj_velja\\u010Da_o\\u017Eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\\u017Eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\\u010De_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\\u010Der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\\u0161lu] [srijedu] [u] LT";case 6:return"[pro\\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},5111:function(p,v,_){(function(g){"use strict";var a="vas\\xE1rnap h\\xE9tf\\u0151n kedden szerd\\xE1n cs\\xFCt\\xF6rt\\xF6k\\xF6n p\\xE9nteken szombaton".split(" ");function r(h,A,S,q){var E=h;switch(S){case"s":return q||A?"n\\xE9h\\xE1ny m\\xE1sodperc":"n\\xE9h\\xE1ny m\\xE1sodperce";case"ss":return E+(q||A)?" m\\xE1sodperc":" m\\xE1sodperce";case"m":return"egy"+(q||A?" perc":" perce");case"mm":return E+(q||A?" perc":" perce");case"h":return"egy"+(q||A?" \\xF3ra":" \\xF3r\\xE1ja");case"hh":return E+(q||A?" \\xF3ra":" \\xF3r\\xE1ja");case"d":return"egy"+(q||A?" nap":" napja");case"dd":return E+(q||A?" nap":" napja");case"M":return"egy"+(q||A?" h\\xF3nap":" h\\xF3napja");case"MM":return E+(q||A?" h\\xF3nap":" h\\xF3napja");case"y":return"egy"+(q||A?" \\xE9v":" \\xE9ve");case"yy":return E+(q||A?" \\xE9v":" \\xE9ve")}return""}function c(h){return(h?"":"[m\\xFAlt] ")+"["+a[this.day()]+"] LT[-kor]"}g.defineLocale("hu",{months:"janu\\xE1r_febru\\xE1r_m\\xE1rcius_\\xE1prilis_m\\xE1jus_j\\xFAnius_j\\xFAlius_augusztus_szeptember_okt\\xF3ber_november_december".split("_"),monthsShort:"jan._feb._m\\xE1rc._\\xE1pr._m\\xE1j._j\\xFAn._j\\xFAl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\\xE1rnap_h\\xE9tf\\u0151_kedd_szerda_cs\\xFCt\\xF6rt\\xF6k_p\\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\\xE9t_kedd_sze_cs\\xFCt_p\\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(h){return h.charAt(1).toLowerCase()==="u"},meridiem:function(h,A,S){return h<12?S===!0?"de":"DE":S===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return c.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return c.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\\xFAlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},6530:function(p,v,_){(function(g){"use strict";g.defineLocale("hy-am",{months:{format:"\\u0570\\u0578\\u0582\\u0576\\u057E\\u0561\\u0580\\u056B_\\u0583\\u0565\\u057F\\u0580\\u057E\\u0561\\u0580\\u056B_\\u0574\\u0561\\u0580\\u057F\\u056B_\\u0561\\u057A\\u0580\\u056B\\u056C\\u056B_\\u0574\\u0561\\u0575\\u056B\\u057D\\u056B_\\u0570\\u0578\\u0582\\u0576\\u056B\\u057D\\u056B_\\u0570\\u0578\\u0582\\u056C\\u056B\\u057D\\u056B_\\u0585\\u0563\\u0578\\u057D\\u057F\\u0578\\u057D\\u056B_\\u057D\\u0565\\u057A\\u057F\\u0565\\u0574\\u0562\\u0565\\u0580\\u056B_\\u0570\\u0578\\u056F\\u057F\\u0565\\u0574\\u0562\\u0565\\u0580\\u056B_\\u0576\\u0578\\u0575\\u0565\\u0574\\u0562\\u0565\\u0580\\u056B_\\u0564\\u0565\\u056F\\u057F\\u0565\\u0574\\u0562\\u0565\\u0580\\u056B".split("_"),standalone:"\\u0570\\u0578\\u0582\\u0576\\u057E\\u0561\\u0580_\\u0583\\u0565\\u057F\\u0580\\u057E\\u0561\\u0580_\\u0574\\u0561\\u0580\\u057F_\\u0561\\u057A\\u0580\\u056B\\u056C_\\u0574\\u0561\\u0575\\u056B\\u057D_\\u0570\\u0578\\u0582\\u0576\\u056B\\u057D_\\u0570\\u0578\\u0582\\u056C\\u056B\\u057D_\\u0585\\u0563\\u0578\\u057D\\u057F\\u0578\\u057D_\\u057D\\u0565\\u057A\\u057F\\u0565\\u0574\\u0562\\u0565\\u0580_\\u0570\\u0578\\u056F\\u057F\\u0565\\u0574\\u0562\\u0565\\u0580_\\u0576\\u0578\\u0575\\u0565\\u0574\\u0562\\u0565\\u0580_\\u0564\\u0565\\u056F\\u057F\\u0565\\u0574\\u0562\\u0565\\u0580".split("_")},monthsShort:"\\u0570\\u0576\\u057E_\\u0583\\u057F\\u0580_\\u0574\\u0580\\u057F_\\u0561\\u057A\\u0580_\\u0574\\u0575\\u057D_\\u0570\\u0576\\u057D_\\u0570\\u056C\\u057D_\\u0585\\u0563\\u057D_\\u057D\\u057A\\u057F_\\u0570\\u056F\\u057F_\\u0576\\u0574\\u0562_\\u0564\\u056F\\u057F".split("_"),weekdays:"\\u056F\\u056B\\u0580\\u0561\\u056F\\u056B_\\u0565\\u0580\\u056F\\u0578\\u0582\\u0577\\u0561\\u0562\\u0569\\u056B_\\u0565\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056B_\\u0579\\u0578\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056B_\\u0570\\u056B\\u0576\\u0563\\u0577\\u0561\\u0562\\u0569\\u056B_\\u0578\\u0582\\u0580\\u0562\\u0561\\u0569_\\u0577\\u0561\\u0562\\u0561\\u0569".split("_"),weekdaysShort:"\\u056F\\u0580\\u056F_\\u0565\\u0580\\u056F_\\u0565\\u0580\\u0584_\\u0579\\u0580\\u0584_\\u0570\\u0576\\u0563_\\u0578\\u0582\\u0580\\u0562_\\u0577\\u0562\\u0569".split("_"),weekdaysMin:"\\u056F\\u0580\\u056F_\\u0565\\u0580\\u056F_\\u0565\\u0580\\u0584_\\u0579\\u0580\\u0584_\\u0570\\u0576\\u0563_\\u0578\\u0582\\u0580\\u0562_\\u0577\\u0562\\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \\u0569.",LLL:"D MMMM YYYY \\u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \\u0569., HH:mm"},calendar:{sameDay:"[\\u0561\\u0575\\u057D\\u0585\\u0580] LT",nextDay:"[\\u057E\\u0561\\u0572\\u0568] LT",lastDay:"[\\u0565\\u0580\\u0565\\u056F] LT",nextWeek:function(){return"dddd [\\u0585\\u0580\\u0568 \\u056A\\u0561\\u0574\\u0568] LT"},lastWeek:function(){return"[\\u0561\\u0576\\u0581\\u0561\\u056E] dddd [\\u0585\\u0580\\u0568 \\u056A\\u0561\\u0574\\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \\u0570\\u0565\\u057F\\u0578",past:"%s \\u0561\\u057C\\u0561\\u057B",s:"\\u0574\\u056B \\u0584\\u0561\\u0576\\u056B \\u057E\\u0561\\u0575\\u0580\\u056F\\u0575\\u0561\\u0576",ss:"%d \\u057E\\u0561\\u0575\\u0580\\u056F\\u0575\\u0561\\u0576",m:"\\u0580\\u0578\\u057A\\u0565",mm:"%d \\u0580\\u0578\\u057A\\u0565",h:"\\u056A\\u0561\\u0574",hh:"%d \\u056A\\u0561\\u0574",d:"\\u0585\\u0580",dd:"%d \\u0585\\u0580",M:"\\u0561\\u0574\\u056B\\u057D",MM:"%d \\u0561\\u0574\\u056B\\u057D",y:"\\u057F\\u0561\\u0580\\u056B",yy:"%d \\u057F\\u0561\\u0580\\u056B"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return a<4?"\\u0563\\u056B\\u0577\\u0565\\u0580\\u057E\\u0561":a<12?"\\u0561\\u057C\\u0561\\u057E\\u0578\\u057F\\u057E\\u0561":a<17?"\\u0581\\u0565\\u0580\\u0565\\u056F\\u057E\\u0561":"\\u0565\\u0580\\u0565\\u056F\\u0578\\u0575\\u0561\\u0576"},dayOfMonthOrdinalParse:/\\d{1,2}|\\d{1,2}-(ին|րդ)/,ordinal:function(a,r){switch(r){case"DDD":case"w":case"W":case"DDDo":return a===1?a+"-\\u056B\\u0576":a+"-\\u0580\\u0564";default:return a}},week:{dow:1,doy:7}})})(_(9034))},9126:function(p,v,_){(function(g){"use strict";g.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(a,r){return a===12&&(a=0),r==="pagi"?a:r==="siang"?a>=11?a:a+12:r==="sore"||r==="malam"?a+12:void 0},meridiem:function(a,r,c){return a<11?"pagi":a<15?"siang":a<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})})(_(9034))},1696:function(p,v,_){(function(g){"use strict";function a(c){return c%100==11||c%10!=1}function r(c,h,A,S){var q=c+" ";switch(A){case"s":return h||S?"nokkrar sek\\xFAndur":"nokkrum sek\\xFAndum";case"ss":return a(c)?q+(h||S?"sek\\xFAndur":"sek\\xFAndum"):q+"sek\\xFAnda";case"m":return h?"m\\xEDn\\xFAta":"m\\xEDn\\xFAtu";case"mm":return a(c)?q+(h||S?"m\\xEDn\\xFAtur":"m\\xEDn\\xFAtum"):h?q+"m\\xEDn\\xFAta":q+"m\\xEDn\\xFAtu";case"hh":return a(c)?q+(h||S?"klukkustundir":"klukkustundum"):q+"klukkustund";case"d":return h?"dagur":S?"dag":"degi";case"dd":return a(c)?h?q+"dagar":q+(S?"daga":"d\\xF6gum"):h?q+"dagur":q+(S?"dag":"degi");case"M":return h?"m\\xE1nu\\xF0ur":S?"m\\xE1nu\\xF0":"m\\xE1nu\\xF0i";case"MM":return a(c)?h?q+"m\\xE1nu\\xF0ir":q+(S?"m\\xE1nu\\xF0i":"m\\xE1nu\\xF0um"):h?q+"m\\xE1nu\\xF0ur":q+(S?"m\\xE1nu\\xF0":"m\\xE1nu\\xF0i");case"y":return h||S?"\\xE1r":"\\xE1ri";case"yy":return a(c)?q+(h||S?"\\xE1r":"\\xE1rum"):q+(h||S?"\\xE1r":"\\xE1ri")}}g.defineLocale("is",{months:"jan\\xFAar_febr\\xFAar_mars_apr\\xEDl_ma\\xED_j\\xFAn\\xED_j\\xFAl\\xED_\\xE1g\\xFAst_september_okt\\xF3ber_n\\xF3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\\xED_j\\xFAn_j\\xFAl_\\xE1g\\xFA_sep_okt_n\\xF3v_des".split("_"),weekdays:"sunnudagur_m\\xE1nudagur_\\xFEri\\xF0judagur_mi\\xF0vikudagur_fimmtudagur_f\\xF6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\\xE1n_\\xFEri_mi\\xF0_fim_f\\xF6s_lau".split("_"),weekdaysMin:"Su_M\\xE1_\\xDEr_Mi_Fi_F\\xF6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\\xED dag kl.] LT",nextDay:"[\\xE1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\\xED g\\xE6r kl.] LT",lastWeek:"[s\\xED\\xF0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\\xED\\xF0an",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},8821:function(p,v,_){(function(g){"use strict";g.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\\xEC_marted\\xEC_mercoled\\xEC_gioved\\xEC_venerd\\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return this.day()===0?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?"tra":"in")+" "+a},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un\'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},8710:function(p,v,_){(function(g){"use strict";g.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\\xEC_marted\\xEC_mercoled\\xEC_gioved\\xEC_venerd\\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll\'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll\'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll\'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll\'")+"]LT"},lastWeek:function(){return this.day()===0?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll\'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll\'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un\'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},3974:function(p,v,_){(function(g){"use strict";g.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\\u4EE4\\u548C",narrow:"\\u32FF",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\\u5E73\\u6210",narrow:"\\u337B",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\\u662D\\u548C",narrow:"\\u337C",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\\u5927\\u6B63",narrow:"\\u337D",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\\u660E\\u6CBB",narrow:"\\u337E",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\\u897F\\u66A6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\\u7D00\\u5143\\u524D",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\\d+)年/,eraYearOrdinalParse:function(a,r){return r[1]==="\\u5143"?1:parseInt(r[1]||a,10)},months:"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708".split("_"),monthsShort:"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708".split("_"),weekdays:"\\u65E5\\u66DC\\u65E5_\\u6708\\u66DC\\u65E5_\\u706B\\u66DC\\u65E5_\\u6C34\\u66DC\\u65E5_\\u6728\\u66DC\\u65E5_\\u91D1\\u66DC\\u65E5_\\u571F\\u66DC\\u65E5".split("_"),weekdaysShort:"\\u65E5_\\u6708_\\u706B_\\u6C34_\\u6728_\\u91D1_\\u571F".split("_"),weekdaysMin:"\\u65E5_\\u6708_\\u706B_\\u6C34_\\u6728_\\u91D1_\\u571F".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\\u5E74M\\u6708D\\u65E5",LLL:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",LLLL:"YYYY\\u5E74M\\u6708D\\u65E5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\\u5E74M\\u6708D\\u65E5",lll:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",llll:"YYYY\\u5E74M\\u6708D\\u65E5(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(a){return a==="\\u5348\\u5F8C"},meridiem:function(a,r,c){return a<12?"\\u5348\\u524D":"\\u5348\\u5F8C"},calendar:{sameDay:"[\\u4ECA\\u65E5] LT",nextDay:"[\\u660E\\u65E5] LT",nextWeek:function(a){return a.week()!==this.week()?"[\\u6765\\u9031]dddd LT":"dddd LT"},lastDay:"[\\u6628\\u65E5] LT",lastWeek:function(a){return this.week()!==a.week()?"[\\u5148\\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\\d{1,2}日/,ordinal:function(a,r){switch(r){case"y":return a===1?"\\u5143\\u5E74":a+"\\u5E74";case"d":case"D":case"DDD":return a+"\\u65E5";default:return a}},relativeTime:{future:"%s\\u5F8C",past:"%s\\u524D",s:"\\u6570\\u79D2",ss:"%d\\u79D2",m:"1\\u5206",mm:"%d\\u5206",h:"1\\u6642\\u9593",hh:"%d\\u6642\\u9593",d:"1\\u65E5",dd:"%d\\u65E5",M:"1\\u30F6\\u6708",MM:"%d\\u30F6\\u6708",y:"1\\u5E74",yy:"%d\\u5E74"}})})(_(9034))},648:function(p,v,_){(function(g){"use strict";g.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(a,r){return a===12&&(a=0),r==="enjing"?a:r==="siyang"?a>=11?a:a+12:r==="sonten"||r==="ndalu"?a+12:void 0},meridiem:function(a,r,c){return a<11?"enjing":a<15?"siyang":a<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})})(_(9034))},4731:function(p,v,_){(function(g){"use strict";g.defineLocale("ka",{months:"\\u10D8\\u10D0\\u10DC\\u10D5\\u10D0\\u10E0\\u10D8_\\u10D7\\u10D4\\u10D1\\u10D4\\u10E0\\u10D5\\u10D0\\u10DA\\u10D8_\\u10DB\\u10D0\\u10E0\\u10E2\\u10D8_\\u10D0\\u10DE\\u10E0\\u10D8\\u10DA\\u10D8_\\u10DB\\u10D0\\u10D8\\u10E1\\u10D8_\\u10D8\\u10D5\\u10DC\\u10D8\\u10E1\\u10D8_\\u10D8\\u10D5\\u10DA\\u10D8\\u10E1\\u10D8_\\u10D0\\u10D2\\u10D5\\u10D8\\u10E1\\u10E2\\u10DD_\\u10E1\\u10D4\\u10E5\\u10E2\\u10D4\\u10DB\\u10D1\\u10D4\\u10E0\\u10D8_\\u10DD\\u10E5\\u10E2\\u10DD\\u10DB\\u10D1\\u10D4\\u10E0\\u10D8_\\u10DC\\u10DD\\u10D4\\u10DB\\u10D1\\u10D4\\u10E0\\u10D8_\\u10D3\\u10D4\\u10D9\\u10D4\\u10DB\\u10D1\\u10D4\\u10E0\\u10D8".split("_"),monthsShort:"\\u10D8\\u10D0\\u10DC_\\u10D7\\u10D4\\u10D1_\\u10DB\\u10D0\\u10E0_\\u10D0\\u10DE\\u10E0_\\u10DB\\u10D0\\u10D8_\\u10D8\\u10D5\\u10DC_\\u10D8\\u10D5\\u10DA_\\u10D0\\u10D2\\u10D5_\\u10E1\\u10D4\\u10E5_\\u10DD\\u10E5\\u10E2_\\u10DC\\u10DD\\u10D4_\\u10D3\\u10D4\\u10D9".split("_"),weekdays:{standalone:"\\u10D9\\u10D5\\u10D8\\u10E0\\u10D0_\\u10DD\\u10E0\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10D8_\\u10E1\\u10D0\\u10DB\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10D8_\\u10DD\\u10D7\\u10EE\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10D8_\\u10EE\\u10E3\\u10D7\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10D8_\\u10DE\\u10D0\\u10E0\\u10D0\\u10E1\\u10D9\\u10D4\\u10D5\\u10D8_\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10D8".split("_"),format:"\\u10D9\\u10D5\\u10D8\\u10E0\\u10D0\\u10E1_\\u10DD\\u10E0\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10E1_\\u10E1\\u10D0\\u10DB\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10E1_\\u10DD\\u10D7\\u10EE\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10E1_\\u10EE\\u10E3\\u10D7\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10E1_\\u10DE\\u10D0\\u10E0\\u10D0\\u10E1\\u10D9\\u10D4\\u10D5\\u10E1_\\u10E8\\u10D0\\u10D1\\u10D0\\u10D7\\u10E1".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"\\u10D9\\u10D5\\u10D8_\\u10DD\\u10E0\\u10E8_\\u10E1\\u10D0\\u10DB_\\u10DD\\u10D7\\u10EE_\\u10EE\\u10E3\\u10D7_\\u10DE\\u10D0\\u10E0_\\u10E8\\u10D0\\u10D1".split("_"),weekdaysMin:"\\u10D9\\u10D5_\\u10DD\\u10E0_\\u10E1\\u10D0_\\u10DD\\u10D7_\\u10EE\\u10E3_\\u10DE\\u10D0_\\u10E8\\u10D0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u10D3\\u10E6\\u10D4\\u10E1] LT[-\\u10D6\\u10D4]",nextDay:"[\\u10EE\\u10D5\\u10D0\\u10DA] LT[-\\u10D6\\u10D4]",lastDay:"[\\u10D2\\u10E3\\u10E8\\u10D8\\u10DC] LT[-\\u10D6\\u10D4]",nextWeek:"[\\u10E8\\u10D4\\u10DB\\u10D3\\u10D4\\u10D2] dddd LT[-\\u10D6\\u10D4]",lastWeek:"[\\u10EC\\u10D8\\u10DC\\u10D0] dddd LT-\\u10D6\\u10D4",sameElse:"L"},relativeTime:{future:function(a){return a.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(r,c,h){return h==="\\u10D8"?c+"\\u10E8\\u10D8":c+h+"\\u10E8\\u10D8"})},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"\\u10D8\\u10E1 \\u10EC\\u10D8\\u10DC"):/წელი/.test(a)?a.replace(/წელი$/,"\\u10EC\\u10DA\\u10D8\\u10E1 \\u10EC\\u10D8\\u10DC"):a},s:"\\u10E0\\u10D0\\u10DB\\u10D3\\u10D4\\u10DC\\u10D8\\u10DB\\u10D4 \\u10EC\\u10D0\\u10DB\\u10D8",ss:"%d \\u10EC\\u10D0\\u10DB\\u10D8",m:"\\u10EC\\u10E3\\u10D7\\u10D8",mm:"%d \\u10EC\\u10E3\\u10D7\\u10D8",h:"\\u10E1\\u10D0\\u10D0\\u10D7\\u10D8",hh:"%d \\u10E1\\u10D0\\u10D0\\u10D7\\u10D8",d:"\\u10D3\\u10E6\\u10D4",dd:"%d \\u10D3\\u10E6\\u10D4",M:"\\u10D7\\u10D5\\u10D4",MM:"%d \\u10D7\\u10D5\\u10D4",y:"\\u10EC\\u10D4\\u10DA\\u10D8",yy:"%d \\u10EC\\u10D4\\u10DA\\u10D8"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,ordinal:function(a){return a===0?a:a===1?a+"-\\u10DA\\u10D8":a<20||a<=100&&a%20==0||a%100==0?"\\u10DB\\u10D4-"+a:a+"-\\u10D4"},week:{dow:1,doy:7}})})(_(9034))},3501:function(p,v,_){(function(g){"use strict";var a={0:"-\\u0448\\u0456",1:"-\\u0448\\u0456",2:"-\\u0448\\u0456",3:"-\\u0448\\u0456",4:"-\\u0448\\u0456",5:"-\\u0448\\u0456",6:"-\\u0448\\u044B",7:"-\\u0448\\u0456",8:"-\\u0448\\u0456",9:"-\\u0448\\u044B",10:"-\\u0448\\u044B",20:"-\\u0448\\u044B",30:"-\\u0448\\u044B",40:"-\\u0448\\u044B",50:"-\\u0448\\u0456",60:"-\\u0448\\u044B",70:"-\\u0448\\u0456",80:"-\\u0448\\u0456",90:"-\\u0448\\u044B",100:"-\\u0448\\u0456"};g.defineLocale("kk",{months:"\\u049B\\u0430\\u04A3\\u0442\\u0430\\u0440_\\u0430\\u049B\\u043F\\u0430\\u043D_\\u043D\\u0430\\u0443\\u0440\\u044B\\u0437_\\u0441\\u04D9\\u0443\\u0456\\u0440_\\u043C\\u0430\\u043C\\u044B\\u0440_\\u043C\\u0430\\u0443\\u0441\\u044B\\u043C_\\u0448\\u0456\\u043B\\u0434\\u0435_\\u0442\\u0430\\u043C\\u044B\\u0437_\\u049B\\u044B\\u0440\\u043A\\u04AF\\u0439\\u0435\\u043A_\\u049B\\u0430\\u0437\\u0430\\u043D_\\u049B\\u0430\\u0440\\u0430\\u0448\\u0430_\\u0436\\u0435\\u043B\\u0442\\u043E\\u049B\\u0441\\u0430\\u043D".split("_"),monthsShort:"\\u049B\\u0430\\u04A3_\\u0430\\u049B\\u043F_\\u043D\\u0430\\u0443_\\u0441\\u04D9\\u0443_\\u043C\\u0430\\u043C_\\u043C\\u0430\\u0443_\\u0448\\u0456\\u043B_\\u0442\\u0430\\u043C_\\u049B\\u044B\\u0440_\\u049B\\u0430\\u0437_\\u049B\\u0430\\u0440_\\u0436\\u0435\\u043B".split("_"),weekdays:"\\u0436\\u0435\\u043A\\u0441\\u0435\\u043D\\u0431\\u0456_\\u0434\\u04AF\\u0439\\u0441\\u0435\\u043D\\u0431\\u0456_\\u0441\\u0435\\u0439\\u0441\\u0435\\u043D\\u0431\\u0456_\\u0441\\u04D9\\u0440\\u0441\\u0435\\u043D\\u0431\\u0456_\\u0431\\u0435\\u0439\\u0441\\u0435\\u043D\\u0431\\u0456_\\u0436\\u04B1\\u043C\\u0430_\\u0441\\u0435\\u043D\\u0431\\u0456".split("_"),weekdaysShort:"\\u0436\\u0435\\u043A_\\u0434\\u04AF\\u0439_\\u0441\\u0435\\u0439_\\u0441\\u04D9\\u0440_\\u0431\\u0435\\u0439_\\u0436\\u04B1\\u043C_\\u0441\\u0435\\u043D".split("_"),weekdaysMin:"\\u0436\\u043A_\\u0434\\u0439_\\u0441\\u0439_\\u0441\\u0440_\\u0431\\u0439_\\u0436\\u043C_\\u0441\\u043D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u0411\\u04AF\\u0433\\u0456\\u043D \\u0441\\u0430\\u0493\\u0430\\u0442] LT",nextDay:"[\\u0415\\u0440\\u0442\\u0435\\u04A3 \\u0441\\u0430\\u0493\\u0430\\u0442] LT",nextWeek:"dddd [\\u0441\\u0430\\u0493\\u0430\\u0442] LT",lastDay:"[\\u041A\\u0435\\u0448\\u0435 \\u0441\\u0430\\u0493\\u0430\\u0442] LT",lastWeek:"[\\u04E8\\u0442\\u043A\\u0435\\u043D \\u0430\\u043F\\u0442\\u0430\\u043D\\u044B\\u04A3] dddd [\\u0441\\u0430\\u0493\\u0430\\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \\u0456\\u0448\\u0456\\u043D\\u0434\\u0435",past:"%s \\u0431\\u04B1\\u0440\\u044B\\u043D",s:"\\u0431\\u0456\\u0440\\u043D\\u0435\\u0448\\u0435 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",ss:"%d \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",m:"\\u0431\\u0456\\u0440 \\u043C\\u0438\\u043D\\u0443\\u0442",mm:"%d \\u043C\\u0438\\u043D\\u0443\\u0442",h:"\\u0431\\u0456\\u0440 \\u0441\\u0430\\u0493\\u0430\\u0442",hh:"%d \\u0441\\u0430\\u0493\\u0430\\u0442",d:"\\u0431\\u0456\\u0440 \\u043A\\u04AF\\u043D",dd:"%d \\u043A\\u04AF\\u043D",M:"\\u0431\\u0456\\u0440 \\u0430\\u0439",MM:"%d \\u0430\\u0439",y:"\\u0431\\u0456\\u0440 \\u0436\\u044B\\u043B",yy:"%d \\u0436\\u044B\\u043B"},dayOfMonthOrdinalParse:/\\d{1,2}-(ші|шы)/,ordinal:function(r){return r+(a[r]||a[r%10]||a[r>=100?100:null])},week:{dow:1,doy:7}})})(_(9034))},4398:function(p,v,_){(function(g){"use strict";var a={1:"\\u17E1",2:"\\u17E2",3:"\\u17E3",4:"\\u17E4",5:"\\u17E5",6:"\\u17E6",7:"\\u17E7",8:"\\u17E8",9:"\\u17E9",0:"\\u17E0"},r={"\\u17E1":"1","\\u17E2":"2","\\u17E3":"3","\\u17E4":"4","\\u17E5":"5","\\u17E6":"6","\\u17E7":"7","\\u17E8":"8","\\u17E9":"9","\\u17E0":"0"};g.defineLocale("km",{months:"\\u1798\\u1780\\u179A\\u17B6_\\u1780\\u17BB\\u1798\\u17D2\\u1797\\u17C8_\\u1798\\u17B8\\u1793\\u17B6_\\u1798\\u17C1\\u179F\\u17B6_\\u17A7\\u179F\\u1797\\u17B6_\\u1798\\u17B7\\u1790\\u17BB\\u1793\\u17B6_\\u1780\\u1780\\u17D2\\u1780\\u178A\\u17B6_\\u179F\\u17B8\\u17A0\\u17B6_\\u1780\\u1789\\u17D2\\u1789\\u17B6_\\u178F\\u17BB\\u179B\\u17B6_\\u179C\\u17B7\\u1785\\u17D2\\u1786\\u17B7\\u1780\\u17B6_\\u1792\\u17D2\\u1793\\u17BC".split("_"),monthsShort:"\\u1798\\u1780\\u179A\\u17B6_\\u1780\\u17BB\\u1798\\u17D2\\u1797\\u17C8_\\u1798\\u17B8\\u1793\\u17B6_\\u1798\\u17C1\\u179F\\u17B6_\\u17A7\\u179F\\u1797\\u17B6_\\u1798\\u17B7\\u1790\\u17BB\\u1793\\u17B6_\\u1780\\u1780\\u17D2\\u1780\\u178A\\u17B6_\\u179F\\u17B8\\u17A0\\u17B6_\\u1780\\u1789\\u17D2\\u1789\\u17B6_\\u178F\\u17BB\\u179B\\u17B6_\\u179C\\u17B7\\u1785\\u17D2\\u1786\\u17B7\\u1780\\u17B6_\\u1792\\u17D2\\u1793\\u17BC".split("_"),weekdays:"\\u17A2\\u17B6\\u1791\\u17B7\\u178F\\u17D2\\u1799_\\u1785\\u17D0\\u1793\\u17D2\\u1791_\\u17A2\\u1784\\u17D2\\u1782\\u17B6\\u179A_\\u1796\\u17BB\\u1792_\\u1796\\u17D2\\u179A\\u17A0\\u179F\\u17D2\\u1794\\u178F\\u17B7\\u17CD_\\u179F\\u17BB\\u1780\\u17D2\\u179A_\\u179F\\u17C5\\u179A\\u17CD".split("_"),weekdaysShort:"\\u17A2\\u17B6_\\u1785_\\u17A2_\\u1796_\\u1796\\u17D2\\u179A_\\u179F\\u17BB_\\u179F".split("_"),weekdaysMin:"\\u17A2\\u17B6_\\u1785_\\u17A2_\\u1796_\\u1796\\u17D2\\u179A_\\u179F\\u17BB_\\u179F".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(c){return c==="\\u179B\\u17D2\\u1784\\u17B6\\u1785"},meridiem:function(c,h,A){return c<12?"\\u1796\\u17D2\\u179A\\u17B9\\u1780":"\\u179B\\u17D2\\u1784\\u17B6\\u1785"},calendar:{sameDay:"[\\u1790\\u17D2\\u1784\\u17C3\\u1793\\u17C1\\u17C7 \\u1798\\u17C9\\u17C4\\u1784] LT",nextDay:"[\\u179F\\u17D2\\u17A2\\u17C2\\u1780 \\u1798\\u17C9\\u17C4\\u1784] LT",nextWeek:"dddd [\\u1798\\u17C9\\u17C4\\u1784] LT",lastDay:"[\\u1798\\u17D2\\u179F\\u17B7\\u179B\\u1798\\u17B7\\u1789 \\u1798\\u17C9\\u17C4\\u1784] LT",lastWeek:"dddd [\\u179F\\u1794\\u17D2\\u178F\\u17B6\\u17A0\\u17CD\\u1798\\u17BB\\u1793] [\\u1798\\u17C9\\u17C4\\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\\u1791\\u17C0\\u178F",past:"%s\\u1798\\u17BB\\u1793",s:"\\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u1798\\u17B6\\u1793\\u179C\\u17B7\\u1793\\u17B6\\u1791\\u17B8",ss:"%d \\u179C\\u17B7\\u1793\\u17B6\\u1791\\u17B8",m:"\\u1798\\u17BD\\u1799\\u1793\\u17B6\\u1791\\u17B8",mm:"%d \\u1793\\u17B6\\u1791\\u17B8",h:"\\u1798\\u17BD\\u1799\\u1798\\u17C9\\u17C4\\u1784",hh:"%d \\u1798\\u17C9\\u17C4\\u1784",d:"\\u1798\\u17BD\\u1799\\u1790\\u17D2\\u1784\\u17C3",dd:"%d \\u1790\\u17D2\\u1784\\u17C3",M:"\\u1798\\u17BD\\u1799\\u1781\\u17C2",MM:"%d \\u1781\\u17C2",y:"\\u1798\\u17BD\\u1799\\u1786\\u17D2\\u1793\\u17B6\\u17C6",yy:"%d \\u1786\\u17D2\\u1793\\u17B6\\u17C6"},dayOfMonthOrdinalParse:/ទី\\d{1,2}/,ordinal:"\\u1791\\u17B8%d",preparse:function(c){return c.replace(/[១២៣៤៥៦៧៨៩០]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},week:{dow:1,doy:4}})})(_(9034))},1825:function(p,v,_){(function(g){"use strict";var a={1:"\\u0CE7",2:"\\u0CE8",3:"\\u0CE9",4:"\\u0CEA",5:"\\u0CEB",6:"\\u0CEC",7:"\\u0CED",8:"\\u0CEE",9:"\\u0CEF",0:"\\u0CE6"},r={"\\u0CE7":"1","\\u0CE8":"2","\\u0CE9":"3","\\u0CEA":"4","\\u0CEB":"5","\\u0CEC":"6","\\u0CED":"7","\\u0CEE":"8","\\u0CEF":"9","\\u0CE6":"0"};g.defineLocale("kn",{months:"\\u0C9C\\u0CA8\\u0CB5\\u0CB0\\u0CBF_\\u0CAB\\u0CC6\\u0CAC\\u0CCD\\u0CB0\\u0CB5\\u0CB0\\u0CBF_\\u0CAE\\u0CBE\\u0CB0\\u0CCD\\u0C9A\\u0CCD_\\u0C8F\\u0CAA\\u0CCD\\u0CB0\\u0CBF\\u0CB2\\u0CCD_\\u0CAE\\u0CC6\\u0CD5_\\u0C9C\\u0CC2\\u0CA8\\u0CCD_\\u0C9C\\u0CC1\\u0CB2\\u0CC6\\u0CD6_\\u0C86\\u0C97\\u0CB8\\u0CCD\\u0C9F\\u0CCD_\\u0CB8\\u0CC6\\u0CAA\\u0CCD\\u0C9F\\u0CC6\\u0C82\\u0CAC\\u0CB0\\u0CCD_\\u0C85\\u0C95\\u0CCD\\u0C9F\\u0CC6\\u0CC2\\u0CD5\\u0CAC\\u0CB0\\u0CCD_\\u0CA8\\u0CB5\\u0CC6\\u0C82\\u0CAC\\u0CB0\\u0CCD_\\u0CA1\\u0CBF\\u0CB8\\u0CC6\\u0C82\\u0CAC\\u0CB0\\u0CCD".split("_"),monthsShort:"\\u0C9C\\u0CA8_\\u0CAB\\u0CC6\\u0CAC\\u0CCD\\u0CB0_\\u0CAE\\u0CBE\\u0CB0\\u0CCD\\u0C9A\\u0CCD_\\u0C8F\\u0CAA\\u0CCD\\u0CB0\\u0CBF\\u0CB2\\u0CCD_\\u0CAE\\u0CC6\\u0CD5_\\u0C9C\\u0CC2\\u0CA8\\u0CCD_\\u0C9C\\u0CC1\\u0CB2\\u0CC6\\u0CD6_\\u0C86\\u0C97\\u0CB8\\u0CCD\\u0C9F\\u0CCD_\\u0CB8\\u0CC6\\u0CAA\\u0CCD\\u0C9F\\u0CC6\\u0C82_\\u0C85\\u0C95\\u0CCD\\u0C9F\\u0CC6\\u0CC2\\u0CD5_\\u0CA8\\u0CB5\\u0CC6\\u0C82_\\u0CA1\\u0CBF\\u0CB8\\u0CC6\\u0C82".split("_"),monthsParseExact:!0,weekdays:"\\u0CAD\\u0CBE\\u0CA8\\u0CC1\\u0CB5\\u0CBE\\u0CB0_\\u0CB8\\u0CC6\\u0CC2\\u0CD5\\u0CAE\\u0CB5\\u0CBE\\u0CB0_\\u0CAE\\u0C82\\u0C97\\u0CB3\\u0CB5\\u0CBE\\u0CB0_\\u0CAC\\u0CC1\\u0CA7\\u0CB5\\u0CBE\\u0CB0_\\u0C97\\u0CC1\\u0CB0\\u0CC1\\u0CB5\\u0CBE\\u0CB0_\\u0CB6\\u0CC1\\u0C95\\u0CCD\\u0CB0\\u0CB5\\u0CBE\\u0CB0_\\u0CB6\\u0CA8\\u0CBF\\u0CB5\\u0CBE\\u0CB0".split("_"),weekdaysShort:"\\u0CAD\\u0CBE\\u0CA8\\u0CC1_\\u0CB8\\u0CC6\\u0CC2\\u0CD5\\u0CAE_\\u0CAE\\u0C82\\u0C97\\u0CB3_\\u0CAC\\u0CC1\\u0CA7_\\u0C97\\u0CC1\\u0CB0\\u0CC1_\\u0CB6\\u0CC1\\u0C95\\u0CCD\\u0CB0_\\u0CB6\\u0CA8\\u0CBF".split("_"),weekdaysMin:"\\u0CAD\\u0CBE_\\u0CB8\\u0CC6\\u0CC2\\u0CD5_\\u0CAE\\u0C82_\\u0CAC\\u0CC1_\\u0C97\\u0CC1_\\u0CB6\\u0CC1_\\u0CB6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\\u0C87\\u0C82\\u0CA6\\u0CC1] LT",nextDay:"[\\u0CA8\\u0CBE\\u0CB3\\u0CC6] LT",nextWeek:"dddd, LT",lastDay:"[\\u0CA8\\u0CBF\\u0CA8\\u0CCD\\u0CA8\\u0CC6] LT",lastWeek:"[\\u0C95\\u0CC6\\u0CC2\\u0CA8\\u0CC6\\u0CAF] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0CA8\\u0C82\\u0CA4\\u0CB0",past:"%s \\u0CB9\\u0CBF\\u0C82\\u0CA6\\u0CC6",s:"\\u0C95\\u0CC6\\u0CB2\\u0CB5\\u0CC1 \\u0C95\\u0CCD\\u0CB7\\u0CA3\\u0C97\\u0CB3\\u0CC1",ss:"%d \\u0CB8\\u0CC6\\u0C95\\u0CC6\\u0C82\\u0CA1\\u0CC1\\u0C97\\u0CB3\\u0CC1",m:"\\u0C92\\u0C82\\u0CA6\\u0CC1 \\u0CA8\\u0CBF\\u0CAE\\u0CBF\\u0CB7",mm:"%d \\u0CA8\\u0CBF\\u0CAE\\u0CBF\\u0CB7",h:"\\u0C92\\u0C82\\u0CA6\\u0CC1 \\u0C97\\u0C82\\u0C9F\\u0CC6",hh:"%d \\u0C97\\u0C82\\u0C9F\\u0CC6",d:"\\u0C92\\u0C82\\u0CA6\\u0CC1 \\u0CA6\\u0CBF\\u0CA8",dd:"%d \\u0CA6\\u0CBF\\u0CA8",M:"\\u0C92\\u0C82\\u0CA6\\u0CC1 \\u0CA4\\u0CBF\\u0C82\\u0C97\\u0CB3\\u0CC1",MM:"%d \\u0CA4\\u0CBF\\u0C82\\u0C97\\u0CB3\\u0CC1",y:"\\u0C92\\u0C82\\u0CA6\\u0CC1 \\u0CB5\\u0CB0\\u0CCD\\u0CB7",yy:"%d \\u0CB5\\u0CB0\\u0CCD\\u0CB7"},preparse:function(c){return c.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u0CB0\\u0CBE\\u0CA4\\u0CCD\\u0CB0\\u0CBF"?c<4?c:c+12:h==="\\u0CAC\\u0CC6\\u0CB3\\u0CBF\\u0C97\\u0CCD\\u0C97\\u0CC6"?c:h==="\\u0CAE\\u0CA7\\u0CCD\\u0CAF\\u0CBE\\u0CB9\\u0CCD\\u0CA8"?c>=10?c:c+12:h==="\\u0CB8\\u0C82\\u0C9C\\u0CC6"?c+12:void 0},meridiem:function(c,h,A){return c<4?"\\u0CB0\\u0CBE\\u0CA4\\u0CCD\\u0CB0\\u0CBF":c<10?"\\u0CAC\\u0CC6\\u0CB3\\u0CBF\\u0C97\\u0CCD\\u0C97\\u0CC6":c<17?"\\u0CAE\\u0CA7\\u0CCD\\u0CAF\\u0CBE\\u0CB9\\u0CCD\\u0CA8":c<20?"\\u0CB8\\u0C82\\u0C9C\\u0CC6":"\\u0CB0\\u0CBE\\u0CA4\\u0CCD\\u0CB0\\u0CBF"},dayOfMonthOrdinalParse:/\\d{1,2}(ನೇ)/,ordinal:function(c){return c+"\\u0CA8\\u0CC6\\u0CD5"},week:{dow:0,doy:6}})})(_(9034))},3729:function(p,v,_){(function(g){"use strict";g.defineLocale("ko",{months:"1\\uC6D4_2\\uC6D4_3\\uC6D4_4\\uC6D4_5\\uC6D4_6\\uC6D4_7\\uC6D4_8\\uC6D4_9\\uC6D4_10\\uC6D4_11\\uC6D4_12\\uC6D4".split("_"),monthsShort:"1\\uC6D4_2\\uC6D4_3\\uC6D4_4\\uC6D4_5\\uC6D4_6\\uC6D4_7\\uC6D4_8\\uC6D4_9\\uC6D4_10\\uC6D4_11\\uC6D4_12\\uC6D4".split("_"),weekdays:"\\uC77C\\uC694\\uC77C_\\uC6D4\\uC694\\uC77C_\\uD654\\uC694\\uC77C_\\uC218\\uC694\\uC77C_\\uBAA9\\uC694\\uC77C_\\uAE08\\uC694\\uC77C_\\uD1A0\\uC694\\uC77C".split("_"),weekdaysShort:"\\uC77C_\\uC6D4_\\uD654_\\uC218_\\uBAA9_\\uAE08_\\uD1A0".split("_"),weekdaysMin:"\\uC77C_\\uC6D4_\\uD654_\\uC218_\\uBAA9_\\uAE08_\\uD1A0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\\uB144 MMMM D\\uC77C",LLL:"YYYY\\uB144 MMMM D\\uC77C A h:mm",LLLL:"YYYY\\uB144 MMMM D\\uC77C dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\\uB144 MMMM D\\uC77C",lll:"YYYY\\uB144 MMMM D\\uC77C A h:mm",llll:"YYYY\\uB144 MMMM D\\uC77C dddd A h:mm"},calendar:{sameDay:"\\uC624\\uB298 LT",nextDay:"\\uB0B4\\uC77C LT",nextWeek:"dddd LT",lastDay:"\\uC5B4\\uC81C LT",lastWeek:"\\uC9C0\\uB09C\\uC8FC dddd LT",sameElse:"L"},relativeTime:{future:"%s \\uD6C4",past:"%s \\uC804",s:"\\uBA87 \\uCD08",ss:"%d\\uCD08",m:"1\\uBD84",mm:"%d\\uBD84",h:"\\uD55C \\uC2DC\\uAC04",hh:"%d\\uC2DC\\uAC04",d:"\\uD558\\uB8E8",dd:"%d\\uC77C",M:"\\uD55C \\uB2EC",MM:"%d\\uB2EC",y:"\\uC77C \\uB144",yy:"%d\\uB144"},dayOfMonthOrdinalParse:/\\d{1,2}(일|월|주)/,ordinal:function(a,r){switch(r){case"d":case"D":case"DDD":return a+"\\uC77C";case"M":return a+"\\uC6D4";case"w":case"W":return a+"\\uC8FC";default:return a}},meridiemParse:/오전|오후/,isPM:function(a){return a==="\\uC624\\uD6C4"},meridiem:function(a,r,c){return a<12?"\\uC624\\uC804":"\\uC624\\uD6C4"}})})(_(9034))},9670:function(p,v,_){(function(g){"use strict";var a={1:"\\u0661",2:"\\u0662",3:"\\u0663",4:"\\u0664",5:"\\u0665",6:"\\u0666",7:"\\u0667",8:"\\u0668",9:"\\u0669",0:"\\u0660"},r={"\\u0661":"1","\\u0662":"2","\\u0663":"3","\\u0664":"4","\\u0665":"5","\\u0666":"6","\\u0667":"7","\\u0668":"8","\\u0669":"9","\\u0660":"0"},c=["\\u06A9\\u0627\\u0646\\u0648\\u0646\\u06CC \\u062F\\u0648\\u0648\\u06D5\\u0645","\\u0634\\u0648\\u0628\\u0627\\u062A","\\u0626\\u0627\\u0632\\u0627\\u0631","\\u0646\\u06CC\\u0633\\u0627\\u0646","\\u0626\\u0627\\u06CC\\u0627\\u0631","\\u062D\\u0648\\u0632\\u06D5\\u06CC\\u0631\\u0627\\u0646","\\u062A\\u06D5\\u0645\\u0645\\u0648\\u0632","\\u0626\\u0627\\u0628","\\u0626\\u06D5\\u06CC\\u0644\\u0648\\u0648\\u0644","\\u062A\\u0634\\u0631\\u06CC\\u0646\\u06CC \\u06CC\\u06D5\\u0643\\u06D5\\u0645","\\u062A\\u0634\\u0631\\u06CC\\u0646\\u06CC \\u062F\\u0648\\u0648\\u06D5\\u0645","\\u0643\\u0627\\u0646\\u0648\\u0646\\u06CC \\u06CC\\u06D5\\u06A9\\u06D5\\u0645"];g.defineLocale("ku",{months:c,monthsShort:c,weekdays:"\\u06CC\\u0647\\u200C\\u0643\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C_\\u062F\\u0648\\u0648\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C_\\u0633\\u06CE\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C_\\u0686\\u0648\\u0627\\u0631\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C_\\u067E\\u06CE\\u0646\\u062C\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C_\\u0647\\u0647\\u200C\\u06CC\\u0646\\u06CC_\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C".split("_"),weekdaysShort:"\\u06CC\\u0647\\u200C\\u0643\\u0634\\u0647\\u200C\\u0645_\\u062F\\u0648\\u0648\\u0634\\u0647\\u200C\\u0645_\\u0633\\u06CE\\u0634\\u0647\\u200C\\u0645_\\u0686\\u0648\\u0627\\u0631\\u0634\\u0647\\u200C\\u0645_\\u067E\\u06CE\\u0646\\u062C\\u0634\\u0647\\u200C\\u0645_\\u0647\\u0647\\u200C\\u06CC\\u0646\\u06CC_\\u0634\\u0647\\u200C\\u0645\\u0645\\u0647\\u200C".split("_"),weekdaysMin:"\\u06CC_\\u062F_\\u0633_\\u0686_\\u067E_\\u0647_\\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(h){return/ئێواره‌/.test(h)},meridiem:function(h,A,S){return h<12?"\\u0628\\u0647\\u200C\\u06CC\\u0627\\u0646\\u06CC":"\\u0626\\u06CE\\u0648\\u0627\\u0631\\u0647\\u200C"},calendar:{sameDay:"[\\u0626\\u0647\\u200C\\u0645\\u0631\\u06C6 \\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631] LT",nextDay:"[\\u0628\\u0647\\u200C\\u06CC\\u0627\\u0646\\u06CC \\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631] LT",nextWeek:"dddd [\\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631] LT",lastDay:"[\\u062F\\u0648\\u06CE\\u0646\\u06CE \\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631] LT",lastWeek:"dddd [\\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631] LT",sameElse:"L"},relativeTime:{future:"\\u0644\\u0647\\u200C %s",past:"%s",s:"\\u0686\\u0647\\u200C\\u0646\\u062F \\u0686\\u0631\\u0643\\u0647\\u200C\\u06CC\\u0647\\u200C\\u0643",ss:"\\u0686\\u0631\\u0643\\u0647\\u200C %d",m:"\\u06CC\\u0647\\u200C\\u0643 \\u062E\\u0648\\u0644\\u0647\\u200C\\u0643",mm:"%d \\u062E\\u0648\\u0644\\u0647\\u200C\\u0643",h:"\\u06CC\\u0647\\u200C\\u0643 \\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631",hh:"%d \\u0643\\u0627\\u062A\\u0698\\u0645\\u06CE\\u0631",d:"\\u06CC\\u0647\\u200C\\u0643 \\u0695\\u06C6\\u0698",dd:"%d \\u0695\\u06C6\\u0698",M:"\\u06CC\\u0647\\u200C\\u0643 \\u0645\\u0627\\u0646\\u06AF",MM:"%d \\u0645\\u0627\\u0646\\u06AF",y:"\\u06CC\\u0647\\u200C\\u0643 \\u0633\\u0627\\u06B5",yy:"%d \\u0633\\u0627\\u06B5"},preparse:function(h){return h.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(A){return r[A]}).replace(/،/g,",")},postformat:function(h){return h.replace(/\\d/g,function(A){return a[A]}).replace(/,/g,"\\u060C")},week:{dow:6,doy:12}})})(_(9034))},8797:function(p,v,_){(function(g){"use strict";var a={0:"-\\u0447\\u04AF",1:"-\\u0447\\u0438",2:"-\\u0447\\u0438",3:"-\\u0447\\u04AF",4:"-\\u0447\\u04AF",5:"-\\u0447\\u0438",6:"-\\u0447\\u044B",7:"-\\u0447\\u0438",8:"-\\u0447\\u0438",9:"-\\u0447\\u0443",10:"-\\u0447\\u0443",20:"-\\u0447\\u044B",30:"-\\u0447\\u0443",40:"-\\u0447\\u044B",50:"-\\u0447\\u04AF",60:"-\\u0447\\u044B",70:"-\\u0447\\u0438",80:"-\\u0447\\u0438",90:"-\\u0447\\u0443",100:"-\\u0447\\u04AF"};g.defineLocale("ky",{months:"\\u044F\\u043D\\u0432\\u0430\\u0440\\u044C_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043B\\u044C_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0435\\u043B\\u044C_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D\\u044C_\\u0438\\u044E\\u043B\\u044C_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043D\\u0442\\u044F\\u0431\\u0440\\u044C_\\u043E\\u043A\\u0442\\u044F\\u0431\\u0440\\u044C_\\u043D\\u043E\\u044F\\u0431\\u0440\\u044C_\\u0434\\u0435\\u043A\\u0430\\u0431\\u0440\\u044C".split("_"),monthsShort:"\\u044F\\u043D\\u0432_\\u0444\\u0435\\u0432_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D\\u044C_\\u0438\\u044E\\u043B\\u044C_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043D_\\u043E\\u043A\\u0442_\\u043D\\u043E\\u044F_\\u0434\\u0435\\u043A".split("_"),weekdays:"\\u0416\\u0435\\u043A\\u0448\\u0435\\u043C\\u0431\\u0438_\\u0414\\u04AF\\u0439\\u0448\\u04E9\\u043C\\u0431\\u04AF_\\u0428\\u0435\\u0439\\u0448\\u0435\\u043C\\u0431\\u0438_\\u0428\\u0430\\u0440\\u0448\\u0435\\u043C\\u0431\\u0438_\\u0411\\u0435\\u0439\\u0448\\u0435\\u043C\\u0431\\u0438_\\u0416\\u0443\\u043C\\u0430_\\u0418\\u0448\\u0435\\u043C\\u0431\\u0438".split("_"),weekdaysShort:"\\u0416\\u0435\\u043A_\\u0414\\u04AF\\u0439_\\u0428\\u0435\\u0439_\\u0428\\u0430\\u0440_\\u0411\\u0435\\u0439_\\u0416\\u0443\\u043C_\\u0418\\u0448\\u0435".split("_"),weekdaysMin:"\\u0416\\u043A_\\u0414\\u0439_\\u0428\\u0439_\\u0428\\u0440_\\u0411\\u0439_\\u0416\\u043C_\\u0418\\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u0411\\u04AF\\u0433\\u04AF\\u043D \\u0441\\u0430\\u0430\\u0442] LT",nextDay:"[\\u042D\\u0440\\u0442\\u0435\\u04A3 \\u0441\\u0430\\u0430\\u0442] LT",nextWeek:"dddd [\\u0441\\u0430\\u0430\\u0442] LT",lastDay:"[\\u041A\\u0435\\u0447\\u044D\\u044D \\u0441\\u0430\\u0430\\u0442] LT",lastWeek:"[\\u04E8\\u0442\\u043A\\u04E9\\u043D \\u0430\\u043F\\u0442\\u0430\\u043D\\u044B\\u043D] dddd [\\u043A\\u04AF\\u043D\\u04AF] [\\u0441\\u0430\\u0430\\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \\u0438\\u0447\\u0438\\u043D\\u0434\\u0435",past:"%s \\u043C\\u0443\\u0440\\u0443\\u043D",s:"\\u0431\\u0438\\u0440\\u043D\\u0435\\u0447\\u0435 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",ss:"%d \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",m:"\\u0431\\u0438\\u0440 \\u043C\\u04AF\\u043D\\u04E9\\u0442",mm:"%d \\u043C\\u04AF\\u043D\\u04E9\\u0442",h:"\\u0431\\u0438\\u0440 \\u0441\\u0430\\u0430\\u0442",hh:"%d \\u0441\\u0430\\u0430\\u0442",d:"\\u0431\\u0438\\u0440 \\u043A\\u04AF\\u043D",dd:"%d \\u043A\\u04AF\\u043D",M:"\\u0431\\u0438\\u0440 \\u0430\\u0439",MM:"%d \\u0430\\u0439",y:"\\u0431\\u0438\\u0440 \\u0436\\u044B\\u043B",yy:"%d \\u0436\\u044B\\u043B"},dayOfMonthOrdinalParse:/\\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(r){return r+(a[r]||a[r%10]||a[r>=100?100:null])},week:{dow:1,doy:7}})})(_(9034))},627:function(p,v,_){(function(g){"use strict";function a(c,h,A,S){var q={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return h?q[A][0]:q[A][1]}function r(c){if(c=parseInt(c,10),isNaN(c))return!1;if(c<0)return!0;if(c<10)return 4<=c&&c<=7;if(c<100){var h=c%10;return r(h===0?c/10:h)}if(c<1e4){for(;c>=10;)c/=10;return r(c)}return r(c/=1e3)}g.defineLocale("lb",{months:"Januar_Februar_M\\xE4erz_Abr\\xEBll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\\xE9indeg_D\\xEBnschdeg_M\\xEBttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\\xE9._D\\xEB._M\\xEB._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\\xE9_D\\xEB_M\\xEB_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\\xEBschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(c){return r(c.substr(0,c.indexOf(" ")))?"a "+c:"an "+c},past:function(c){return r(c.substr(0,c.indexOf(" ")))?"viru "+c:"virun "+c},s:"e puer Sekonnen",ss:"%d Sekonnen",m:a,mm:"%d Minutten",h:a,hh:"%d Stonnen",d:a,dd:"%d Deeg",M:a,MM:"%d M\\xE9int",y:a,yy:"%d Joer"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},5859:function(p,v,_){(function(g){"use strict";g.defineLocale("lo",{months:"\\u0EA1\\u0EB1\\u0E87\\u0E81\\u0EAD\\u0E99_\\u0E81\\u0EB8\\u0EA1\\u0E9E\\u0EB2_\\u0EA1\\u0EB5\\u0E99\\u0EB2_\\u0EC0\\u0EA1\\u0EAA\\u0EB2_\\u0E9E\\u0EB6\\u0E94\\u0EAA\\u0EB0\\u0E9E\\u0EB2_\\u0EA1\\u0EB4\\u0E96\\u0EB8\\u0E99\\u0EB2_\\u0E81\\u0ECD\\u0EA5\\u0EB0\\u0E81\\u0EBB\\u0E94_\\u0EAA\\u0EB4\\u0E87\\u0EAB\\u0EB2_\\u0E81\\u0EB1\\u0E99\\u0E8D\\u0EB2_\\u0E95\\u0EB8\\u0EA5\\u0EB2_\\u0E9E\\u0EB0\\u0E88\\u0EB4\\u0E81_\\u0E97\\u0EB1\\u0E99\\u0EA7\\u0EB2".split("_"),monthsShort:"\\u0EA1\\u0EB1\\u0E87\\u0E81\\u0EAD\\u0E99_\\u0E81\\u0EB8\\u0EA1\\u0E9E\\u0EB2_\\u0EA1\\u0EB5\\u0E99\\u0EB2_\\u0EC0\\u0EA1\\u0EAA\\u0EB2_\\u0E9E\\u0EB6\\u0E94\\u0EAA\\u0EB0\\u0E9E\\u0EB2_\\u0EA1\\u0EB4\\u0E96\\u0EB8\\u0E99\\u0EB2_\\u0E81\\u0ECD\\u0EA5\\u0EB0\\u0E81\\u0EBB\\u0E94_\\u0EAA\\u0EB4\\u0E87\\u0EAB\\u0EB2_\\u0E81\\u0EB1\\u0E99\\u0E8D\\u0EB2_\\u0E95\\u0EB8\\u0EA5\\u0EB2_\\u0E9E\\u0EB0\\u0E88\\u0EB4\\u0E81_\\u0E97\\u0EB1\\u0E99\\u0EA7\\u0EB2".split("_"),weekdays:"\\u0EAD\\u0EB2\\u0E97\\u0EB4\\u0E94_\\u0E88\\u0EB1\\u0E99_\\u0EAD\\u0EB1\\u0E87\\u0E84\\u0EB2\\u0E99_\\u0E9E\\u0EB8\\u0E94_\\u0E9E\\u0EB0\\u0EAB\\u0EB1\\u0E94_\\u0EAA\\u0EB8\\u0E81_\\u0EC0\\u0EAA\\u0EBB\\u0EB2".split("_"),weekdaysShort:"\\u0E97\\u0EB4\\u0E94_\\u0E88\\u0EB1\\u0E99_\\u0EAD\\u0EB1\\u0E87\\u0E84\\u0EB2\\u0E99_\\u0E9E\\u0EB8\\u0E94_\\u0E9E\\u0EB0\\u0EAB\\u0EB1\\u0E94_\\u0EAA\\u0EB8\\u0E81_\\u0EC0\\u0EAA\\u0EBB\\u0EB2".split("_"),weekdaysMin:"\\u0E97_\\u0E88_\\u0EAD\\u0E84_\\u0E9E_\\u0E9E\\u0EAB_\\u0EAA\\u0E81_\\u0EAA".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\\u0EA7\\u0EB1\\u0E99dddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(a){return a==="\\u0E95\\u0EAD\\u0E99\\u0EC1\\u0EA5\\u0E87"},meridiem:function(a,r,c){return a<12?"\\u0E95\\u0EAD\\u0E99\\u0EC0\\u0E8A\\u0EBB\\u0EC9\\u0EB2":"\\u0E95\\u0EAD\\u0E99\\u0EC1\\u0EA5\\u0E87"},calendar:{sameDay:"[\\u0EA1\\u0EB7\\u0EC9\\u0E99\\u0EB5\\u0EC9\\u0EC0\\u0EA7\\u0EA5\\u0EB2] LT",nextDay:"[\\u0EA1\\u0EB7\\u0EC9\\u0EAD\\u0EB7\\u0EC8\\u0E99\\u0EC0\\u0EA7\\u0EA5\\u0EB2] LT",nextWeek:"[\\u0EA7\\u0EB1\\u0E99]dddd[\\u0EDC\\u0EC9\\u0EB2\\u0EC0\\u0EA7\\u0EA5\\u0EB2] LT",lastDay:"[\\u0EA1\\u0EB7\\u0EC9\\u0EA7\\u0EB2\\u0E99\\u0E99\\u0EB5\\u0EC9\\u0EC0\\u0EA7\\u0EA5\\u0EB2] LT",lastWeek:"[\\u0EA7\\u0EB1\\u0E99]dddd[\\u0EC1\\u0EA5\\u0EC9\\u0EA7\\u0E99\\u0EB5\\u0EC9\\u0EC0\\u0EA7\\u0EA5\\u0EB2] LT",sameElse:"L"},relativeTime:{future:"\\u0EAD\\u0EB5\\u0E81 %s",past:"%s\\u0E9C\\u0EC8\\u0EB2\\u0E99\\u0EA1\\u0EB2",s:"\\u0E9A\\u0ECD\\u0EC8\\u0EC0\\u0E97\\u0EBB\\u0EC8\\u0EB2\\u0EC3\\u0E94\\u0EA7\\u0EB4\\u0E99\\u0EB2\\u0E97\\u0EB5",ss:"%d \\u0EA7\\u0EB4\\u0E99\\u0EB2\\u0E97\\u0EB5",m:"1 \\u0E99\\u0EB2\\u0E97\\u0EB5",mm:"%d \\u0E99\\u0EB2\\u0E97\\u0EB5",h:"1 \\u0E8A\\u0EBB\\u0EC8\\u0EA7\\u0EC2\\u0EA1\\u0E87",hh:"%d \\u0E8A\\u0EBB\\u0EC8\\u0EA7\\u0EC2\\u0EA1\\u0E87",d:"1 \\u0EA1\\u0EB7\\u0EC9",dd:"%d \\u0EA1\\u0EB7\\u0EC9",M:"1 \\u0EC0\\u0E94\\u0EB7\\u0EAD\\u0E99",MM:"%d \\u0EC0\\u0E94\\u0EB7\\u0EAD\\u0E99",y:"1 \\u0E9B\\u0EB5",yy:"%d \\u0E9B\\u0EB5"},dayOfMonthOrdinalParse:/(ທີ່)\\d{1,2}/,ordinal:function(a){return"\\u0E97\\u0EB5\\u0EC8"+a}})})(_(9034))},355:function(p,v,_){(function(g){"use strict";var a={ss:"sekund\\u0117_sekund\\u017Ei\\u0173_sekundes",m:"minut\\u0117_minut\\u0117s_minut\\u0119",mm:"minut\\u0117s_minu\\u010Di\\u0173_minutes",h:"valanda_valandos_valand\\u0105",hh:"valandos_valand\\u0173_valandas",d:"diena_dienos_dien\\u0105",dd:"dienos_dien\\u0173_dienas",M:"m\\u0117nuo_m\\u0117nesio_m\\u0117nes\\u012F",MM:"m\\u0117nesiai_m\\u0117nesi\\u0173_m\\u0117nesius",y:"metai_met\\u0173_metus",yy:"metai_met\\u0173_metus"};function r(S,q,E,K){return q?h(E)[0]:K?h(E)[1]:h(E)[2]}function c(S){return S%10==0||S>10&&S<20}function h(S){return a[S].split("_")}function A(S,q,E,K){var fe=S+" ";return S===1?fe+r(0,q,E[0],K):q?fe+(c(S)?h(E)[1]:h(E)[0]):K?fe+h(E)[1]:fe+(c(S)?h(E)[1]:h(E)[2])}g.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\\u017Eio_gegu\\u017E\\u0117s_bir\\u017Eelio_liepos_rugpj\\u016B\\u010Dio_rugs\\u0117jo_spalio_lapkri\\u010Dio_gruod\\u017Eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\\u017E\\u0117_bir\\u017Eelis_liepa_rugpj\\u016Btis_rugs\\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\\u012F_pirmadien\\u012F_antradien\\u012F_tre\\u010Diadien\\u012F_ketvirtadien\\u012F_penktadien\\u012F_\\u0161e\\u0161tadien\\u012F".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\\u010Diadienis_ketvirtadienis_penktadienis_\\u0161e\\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\\u0160e\\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\\u0117jus\\u012F] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\\u0161 %s",s:function(S,q,E,K){return q?"kelios sekund\\u0117s":K?"keli\\u0173 sekund\\u017Ei\\u0173":"kelias sekundes"},ss:A,m:r,mm:A,h:r,hh:A,d:r,dd:A,M:r,MM:A,y:r,yy:A},dayOfMonthOrdinalParse:/\\d{1,2}-oji/,ordinal:function(S){return S+"-oji"},week:{dow:1,doy:4}})})(_(9034))},6594:function(p,v,_){(function(g){"use strict";var a={ss:"sekundes_sekund\\u0113m_sekunde_sekundes".split("_"),m:"min\\u016Btes_min\\u016Bt\\u0113m_min\\u016Bte_min\\u016Btes".split("_"),mm:"min\\u016Btes_min\\u016Bt\\u0113m_min\\u016Bte_min\\u016Btes".split("_"),h:"stundas_stund\\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\\u0101m_stunda_stundas".split("_"),d:"dienas_dien\\u0101m_diena_dienas".split("_"),dd:"dienas_dien\\u0101m_diena_dienas".split("_"),M:"m\\u0113ne\\u0161a_m\\u0113ne\\u0161iem_m\\u0113nesis_m\\u0113ne\\u0161i".split("_"),MM:"m\\u0113ne\\u0161a_m\\u0113ne\\u0161iem_m\\u0113nesis_m\\u0113ne\\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(A,S,q){return q?S%10==1&&S%100!=11?A[2]:A[3]:S%10==1&&S%100!=11?A[0]:A[1]}function c(A,S,q){return A+" "+r(a[q],A,S)}function h(A,S,q){return r(a[q],A,S)}g.defineLocale("lv",{months:"janv\\u0101ris_febru\\u0101ris_marts_apr\\u012Blis_maijs_j\\u016Bnijs_j\\u016Blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\\u016Bn_j\\u016Bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\\u0113tdiena_pirmdiena_otrdiena_tre\\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\\u0160odien pulksten] LT",nextDay:"[R\\u012Bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\\u0101ju\\u0161\\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\\u0113c %s",past:"pirms %s",s:function(A,S){return S?"da\\u017Eas sekundes":"da\\u017E\\u0101m sekund\\u0113m"},ss:c,m:h,mm:c,h,hh:c,d:h,dd:c,M:h,MM:c,y:h,yy:c},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},5324:function(p,v,_){(function(g){"use strict";var a={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(r,c){return r===1?c[0]:r>=2&&r<=4?c[1]:c[2]},translate:function(r,c,h){var A=a.words[h];return h.length===1?c?A[0]:A[1]:r+" "+a.correctGrammaticalCase(r,A)}};g.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\\u010De_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\\u010De u] LT",lastWeek:function(){return["[pro\\u0161le] [nedjelje] [u] LT","[pro\\u0161log] [ponedjeljka] [u] LT","[pro\\u0161log] [utorka] [u] LT","[pro\\u0161le] [srijede] [u] LT","[pro\\u0161log] [\\u010Detvrtka] [u] LT","[pro\\u0161log] [petka] [u] LT","[pro\\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},1689:function(p,v,_){(function(g){"use strict";g.defineLocale("mi",{months:"Kohi-t\\u0101te_Hui-tanguru_Pout\\u016B-te-rangi_Paenga-wh\\u0101wh\\u0101_Haratua_Pipiri_H\\u014Dngoingoi_Here-turi-k\\u014Dk\\u0101_Mahuru_Whiringa-\\u0101-nuku_Whiringa-\\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\\u014Dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:[\'a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,monthsStrictRegex:/(?:[\'a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,monthsShortRegex:/(?:[\'a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,monthsShortStrictRegex:/(?:[\'a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,weekdays:"R\\u0101tapu_Mane_T\\u016Brei_Wenerei_T\\u0101ite_Paraire_H\\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\\u016B_We_T\\u0101i_Pa_H\\u0101".split("_"),weekdaysMin:"Ta_Ma_T\\u016B_We_T\\u0101i_Pa_H\\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\\u0113kona ruarua",ss:"%d h\\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},1308:function(p,v,_){(function(g){"use strict";g.defineLocale("mk",{months:"\\u0458\\u0430\\u043D\\u0443\\u0430\\u0440\\u0438_\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0438\\u043B_\\u043C\\u0430\\u0458_\\u0458\\u0443\\u043D\\u0438_\\u0458\\u0443\\u043B\\u0438_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043F\\u0442\\u0435\\u043C\\u0432\\u0440\\u0438_\\u043E\\u043A\\u0442\\u043E\\u043C\\u0432\\u0440\\u0438_\\u043D\\u043E\\u0435\\u043C\\u0432\\u0440\\u0438_\\u0434\\u0435\\u043A\\u0435\\u043C\\u0432\\u0440\\u0438".split("_"),monthsShort:"\\u0458\\u0430\\u043D_\\u0444\\u0435\\u0432_\\u043C\\u0430\\u0440_\\u0430\\u043F\\u0440_\\u043C\\u0430\\u0458_\\u0458\\u0443\\u043D_\\u0458\\u0443\\u043B_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043F_\\u043E\\u043A\\u0442_\\u043D\\u043E\\u0435_\\u0434\\u0435\\u043A".split("_"),weekdays:"\\u043D\\u0435\\u0434\\u0435\\u043B\\u0430_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0435\\u043B\\u043D\\u0438\\u043A_\\u0432\\u0442\\u043E\\u0440\\u043D\\u0438\\u043A_\\u0441\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u043E\\u043A_\\u043F\\u0435\\u0442\\u043E\\u043A_\\u0441\\u0430\\u0431\\u043E\\u0442\\u0430".split("_"),weekdaysShort:"\\u043D\\u0435\\u0434_\\u043F\\u043E\\u043D_\\u0432\\u0442\\u043E_\\u0441\\u0440\\u0435_\\u0447\\u0435\\u0442_\\u043F\\u0435\\u0442_\\u0441\\u0430\\u0431".split("_"),weekdaysMin:"\\u043De_\\u043Fo_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0435_\\u043F\\u0435_\\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\\u0414\\u0435\\u043D\\u0435\\u0441 \\u0432\\u043E] LT",nextDay:"[\\u0423\\u0442\\u0440\\u0435 \\u0432\\u043E] LT",nextWeek:"[\\u0412\\u043E] dddd [\\u0432\\u043E] LT",lastDay:"[\\u0412\\u0447\\u0435\\u0440\\u0430 \\u0432\\u043E] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\\u0418\\u0437\\u043C\\u0438\\u043D\\u0430\\u0442\\u0430\\u0442\\u0430] dddd [\\u0432\\u043E] LT";case 1:case 2:case 4:case 5:return"[\\u0418\\u0437\\u043C\\u0438\\u043D\\u0430\\u0442\\u0438\\u043E\\u0442] dddd [\\u0432\\u043E] LT"}},sameElse:"L"},relativeTime:{future:"\\u0437\\u0430 %s",past:"\\u043F\\u0440\\u0435\\u0434 %s",s:"\\u043D\\u0435\\u043A\\u043E\\u043B\\u043A\\u0443 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438",ss:"%d \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438",m:"\\u0435\\u0434\\u043D\\u0430 \\u043C\\u0438\\u043D\\u0443\\u0442\\u0430",mm:"%d \\u043C\\u0438\\u043D\\u0443\\u0442\\u0438",h:"\\u0435\\u0434\\u0435\\u043D \\u0447\\u0430\\u0441",hh:"%d \\u0447\\u0430\\u0441\\u0430",d:"\\u0435\\u0434\\u0435\\u043D \\u0434\\u0435\\u043D",dd:"%d \\u0434\\u0435\\u043D\\u0430",M:"\\u0435\\u0434\\u0435\\u043D \\u043C\\u0435\\u0441\\u0435\\u0446",MM:"%d \\u043C\\u0435\\u0441\\u0435\\u0446\\u0438",y:"\\u0435\\u0434\\u043D\\u0430 \\u0433\\u043E\\u0434\\u0438\\u043D\\u0430",yy:"%d \\u0433\\u043E\\u0434\\u0438\\u043D\\u0438"},dayOfMonthOrdinalParse:/\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var r=a%10,c=a%100;return a===0?a+"-\\u0435\\u0432":c===0?a+"-\\u0435\\u043D":c>10&&c<20?a+"-\\u0442\\u0438":r===1?a+"-\\u0432\\u0438":r===2?a+"-\\u0440\\u0438":r===7||r===8?a+"-\\u043C\\u0438":a+"-\\u0442\\u0438"},week:{dow:1,doy:7}})})(_(9034))},5241:function(p,v,_){(function(g){"use strict";g.defineLocale("ml",{months:"\\u0D1C\\u0D28\\u0D41\\u0D35\\u0D30\\u0D3F_\\u0D2B\\u0D46\\u0D2C\\u0D4D\\u0D30\\u0D41\\u0D35\\u0D30\\u0D3F_\\u0D2E\\u0D3E\\u0D7C\\u0D1A\\u0D4D\\u0D1A\\u0D4D_\\u0D0F\\u0D2A\\u0D4D\\u0D30\\u0D3F\\u0D7D_\\u0D2E\\u0D47\\u0D2F\\u0D4D_\\u0D1C\\u0D42\\u0D7A_\\u0D1C\\u0D42\\u0D32\\u0D48_\\u0D13\\u0D17\\u0D38\\u0D4D\\u0D31\\u0D4D\\u0D31\\u0D4D_\\u0D38\\u0D46\\u0D2A\\u0D4D\\u0D31\\u0D4D\\u0D31\\u0D02\\u0D2C\\u0D7C_\\u0D12\\u0D15\\u0D4D\\u0D1F\\u0D4B\\u0D2C\\u0D7C_\\u0D28\\u0D35\\u0D02\\u0D2C\\u0D7C_\\u0D21\\u0D3F\\u0D38\\u0D02\\u0D2C\\u0D7C".split("_"),monthsShort:"\\u0D1C\\u0D28\\u0D41._\\u0D2B\\u0D46\\u0D2C\\u0D4D\\u0D30\\u0D41._\\u0D2E\\u0D3E\\u0D7C._\\u0D0F\\u0D2A\\u0D4D\\u0D30\\u0D3F._\\u0D2E\\u0D47\\u0D2F\\u0D4D_\\u0D1C\\u0D42\\u0D7A_\\u0D1C\\u0D42\\u0D32\\u0D48._\\u0D13\\u0D17._\\u0D38\\u0D46\\u0D2A\\u0D4D\\u0D31\\u0D4D\\u0D31._\\u0D12\\u0D15\\u0D4D\\u0D1F\\u0D4B._\\u0D28\\u0D35\\u0D02._\\u0D21\\u0D3F\\u0D38\\u0D02.".split("_"),monthsParseExact:!0,weekdays:"\\u0D1E\\u0D3E\\u0D2F\\u0D31\\u0D3E\\u0D34\\u0D4D\\u0D1A_\\u0D24\\u0D3F\\u0D19\\u0D4D\\u0D15\\u0D33\\u0D3E\\u0D34\\u0D4D\\u0D1A_\\u0D1A\\u0D4A\\u0D35\\u0D4D\\u0D35\\u0D3E\\u0D34\\u0D4D\\u0D1A_\\u0D2C\\u0D41\\u0D27\\u0D28\\u0D3E\\u0D34\\u0D4D\\u0D1A_\\u0D35\\u0D4D\\u0D2F\\u0D3E\\u0D34\\u0D3E\\u0D34\\u0D4D\\u0D1A_\\u0D35\\u0D46\\u0D33\\u0D4D\\u0D33\\u0D3F\\u0D2F\\u0D3E\\u0D34\\u0D4D\\u0D1A_\\u0D36\\u0D28\\u0D3F\\u0D2F\\u0D3E\\u0D34\\u0D4D\\u0D1A".split("_"),weekdaysShort:"\\u0D1E\\u0D3E\\u0D2F\\u0D7C_\\u0D24\\u0D3F\\u0D19\\u0D4D\\u0D15\\u0D7E_\\u0D1A\\u0D4A\\u0D35\\u0D4D\\u0D35_\\u0D2C\\u0D41\\u0D27\\u0D7B_\\u0D35\\u0D4D\\u0D2F\\u0D3E\\u0D34\\u0D02_\\u0D35\\u0D46\\u0D33\\u0D4D\\u0D33\\u0D3F_\\u0D36\\u0D28\\u0D3F".split("_"),weekdaysMin:"\\u0D1E\\u0D3E_\\u0D24\\u0D3F_\\u0D1A\\u0D4A_\\u0D2C\\u0D41_\\u0D35\\u0D4D\\u0D2F\\u0D3E_\\u0D35\\u0D46_\\u0D36".split("_"),longDateFormat:{LT:"A h:mm -\\u0D28\\u0D41",LTS:"A h:mm:ss -\\u0D28\\u0D41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\\u0D28\\u0D41",LLLL:"dddd, D MMMM YYYY, A h:mm -\\u0D28\\u0D41"},calendar:{sameDay:"[\\u0D07\\u0D28\\u0D4D\\u0D28\\u0D4D] LT",nextDay:"[\\u0D28\\u0D3E\\u0D33\\u0D46] LT",nextWeek:"dddd, LT",lastDay:"[\\u0D07\\u0D28\\u0D4D\\u0D28\\u0D32\\u0D46] LT",lastWeek:"[\\u0D15\\u0D34\\u0D3F\\u0D1E\\u0D4D\\u0D1E] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0D15\\u0D34\\u0D3F\\u0D1E\\u0D4D\\u0D1E\\u0D4D",past:"%s \\u0D2E\\u0D41\\u0D7B\\u0D2A\\u0D4D",s:"\\u0D05\\u0D7D\\u0D2A \\u0D28\\u0D3F\\u0D2E\\u0D3F\\u0D37\\u0D19\\u0D4D\\u0D19\\u0D7E",ss:"%d \\u0D38\\u0D46\\u0D15\\u0D4D\\u0D15\\u0D7B\\u0D21\\u0D4D",m:"\\u0D12\\u0D30\\u0D41 \\u0D2E\\u0D3F\\u0D28\\u0D3F\\u0D31\\u0D4D\\u0D31\\u0D4D",mm:"%d \\u0D2E\\u0D3F\\u0D28\\u0D3F\\u0D31\\u0D4D\\u0D31\\u0D4D",h:"\\u0D12\\u0D30\\u0D41 \\u0D2E\\u0D23\\u0D3F\\u0D15\\u0D4D\\u0D15\\u0D42\\u0D7C",hh:"%d \\u0D2E\\u0D23\\u0D3F\\u0D15\\u0D4D\\u0D15\\u0D42\\u0D7C",d:"\\u0D12\\u0D30\\u0D41 \\u0D26\\u0D3F\\u0D35\\u0D38\\u0D02",dd:"%d \\u0D26\\u0D3F\\u0D35\\u0D38\\u0D02",M:"\\u0D12\\u0D30\\u0D41 \\u0D2E\\u0D3E\\u0D38\\u0D02",MM:"%d \\u0D2E\\u0D3E\\u0D38\\u0D02",y:"\\u0D12\\u0D30\\u0D41 \\u0D35\\u0D7C\\u0D37\\u0D02",yy:"%d \\u0D35\\u0D7C\\u0D37\\u0D02"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u0D30\\u0D3E\\u0D24\\u0D4D\\u0D30\\u0D3F"&&a>=4||r==="\\u0D09\\u0D1A\\u0D4D\\u0D1A \\u0D15\\u0D34\\u0D3F\\u0D1E\\u0D4D\\u0D1E\\u0D4D"||r==="\\u0D35\\u0D48\\u0D15\\u0D41\\u0D28\\u0D4D\\u0D28\\u0D47\\u0D30\\u0D02"?a+12:a},meridiem:function(a,r,c){return a<4?"\\u0D30\\u0D3E\\u0D24\\u0D4D\\u0D30\\u0D3F":a<12?"\\u0D30\\u0D3E\\u0D35\\u0D3F\\u0D32\\u0D46":a<17?"\\u0D09\\u0D1A\\u0D4D\\u0D1A \\u0D15\\u0D34\\u0D3F\\u0D1E\\u0D4D\\u0D1E\\u0D4D":a<20?"\\u0D35\\u0D48\\u0D15\\u0D41\\u0D28\\u0D4D\\u0D28\\u0D47\\u0D30\\u0D02":"\\u0D30\\u0D3E\\u0D24\\u0D4D\\u0D30\\u0D3F"}})})(_(9034))},6320:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){switch(h){case"s":return c?"\\u0445\\u044D\\u0434\\u0445\\u044D\\u043D \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434":"\\u0445\\u044D\\u0434\\u0445\\u044D\\u043D \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u044B\\u043D";case"ss":return r+(c?" \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434":" \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u044B\\u043D");case"m":case"mm":return r+(c?" \\u043C\\u0438\\u043D\\u0443\\u0442":" \\u043C\\u0438\\u043D\\u0443\\u0442\\u044B\\u043D");case"h":case"hh":return r+(c?" \\u0446\\u0430\\u0433":" \\u0446\\u0430\\u0433\\u0438\\u0439\\u043D");case"d":case"dd":return r+(c?" \\u04E9\\u0434\\u04E9\\u0440":" \\u04E9\\u0434\\u0440\\u0438\\u0439\\u043D");case"M":case"MM":return r+(c?" \\u0441\\u0430\\u0440":" \\u0441\\u0430\\u0440\\u044B\\u043D");case"y":case"yy":return r+(c?" \\u0436\\u0438\\u043B":" \\u0436\\u0438\\u043B\\u0438\\u0439\\u043D");default:return r}}g.defineLocale("mn",{months:"\\u041D\\u044D\\u0433\\u0434\\u04AF\\u0433\\u044D\\u044D\\u0440 \\u0441\\u0430\\u0440_\\u0425\\u043E\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0413\\u0443\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0414\\u04E9\\u0440\\u04E9\\u0432\\u0434\\u04AF\\u0433\\u044D\\u044D\\u0440 \\u0441\\u0430\\u0440_\\u0422\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0417\\u0443\\u0440\\u0433\\u0430\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0414\\u043E\\u043B\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u041D\\u0430\\u0439\\u043C\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0415\\u0441\\u0434\\u04AF\\u0433\\u044D\\u044D\\u0440 \\u0441\\u0430\\u0440_\\u0410\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0410\\u0440\\u0432\\u0430\\u043D \\u043D\\u044D\\u0433\\u0434\\u04AF\\u0433\\u044D\\u044D\\u0440 \\u0441\\u0430\\u0440_\\u0410\\u0440\\u0432\\u0430\\u043D \\u0445\\u043E\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440".split("_"),monthsShort:"1 \\u0441\\u0430\\u0440_2 \\u0441\\u0430\\u0440_3 \\u0441\\u0430\\u0440_4 \\u0441\\u0430\\u0440_5 \\u0441\\u0430\\u0440_6 \\u0441\\u0430\\u0440_7 \\u0441\\u0430\\u0440_8 \\u0441\\u0430\\u0440_9 \\u0441\\u0430\\u0440_10 \\u0441\\u0430\\u0440_11 \\u0441\\u0430\\u0440_12 \\u0441\\u0430\\u0440".split("_"),monthsParseExact:!0,weekdays:"\\u041D\\u044F\\u043C_\\u0414\\u0430\\u0432\\u0430\\u0430_\\u041C\\u044F\\u0433\\u043C\\u0430\\u0440_\\u041B\\u0445\\u0430\\u0433\\u0432\\u0430_\\u041F\\u04AF\\u0440\\u044D\\u0432_\\u0411\\u0430\\u0430\\u0441\\u0430\\u043D_\\u0411\\u044F\\u043C\\u0431\\u0430".split("_"),weekdaysShort:"\\u041D\\u044F\\u043C_\\u0414\\u0430\\u0432_\\u041C\\u044F\\u0433_\\u041B\\u0445\\u0430_\\u041F\\u04AF\\u0440_\\u0411\\u0430\\u0430_\\u0411\\u044F\\u043C".split("_"),weekdaysMin:"\\u041D\\u044F_\\u0414\\u0430_\\u041C\\u044F_\\u041B\\u0445_\\u041F\\u04AF_\\u0411\\u0430_\\u0411\\u044F".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \\u043E\\u043D\\u044B MMMM\\u044B\\u043D D",LLL:"YYYY \\u043E\\u043D\\u044B MMMM\\u044B\\u043D D HH:mm",LLLL:"dddd, YYYY \\u043E\\u043D\\u044B MMMM\\u044B\\u043D D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(r){return r==="\\u04AE\\u0425"},meridiem:function(r,c,h){return r<12?"\\u04AE\\u04E8":"\\u04AE\\u0425"},calendar:{sameDay:"[\\u04E8\\u043D\\u04E9\\u04E9\\u0434\\u04E9\\u0440] LT",nextDay:"[\\u041C\\u0430\\u0440\\u0433\\u0430\\u0430\\u0448] LT",nextWeek:"[\\u0418\\u0440\\u044D\\u0445] dddd LT",lastDay:"[\\u04E8\\u0447\\u0438\\u0433\\u0434\\u04E9\\u0440] LT",lastWeek:"[\\u04E8\\u043D\\u0433\\u04E9\\u0440\\u0441\\u04E9\\u043D] dddd LT",sameElse:"L"},relativeTime:{future:"%s \\u0434\\u0430\\u0440\\u0430\\u0430",past:"%s \\u04E9\\u043C\\u043D\\u04E9",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2} өдөр/,ordinal:function(r,c){switch(c){case"d":case"D":case"DDD":return r+" \\u04E9\\u0434\\u04E9\\u0440";default:return r}}})})(_(9034))},6771:function(p,v,_){(function(g){"use strict";var a={1:"\\u0967",2:"\\u0968",3:"\\u0969",4:"\\u096A",5:"\\u096B",6:"\\u096C",7:"\\u096D",8:"\\u096E",9:"\\u096F",0:"\\u0966"},r={"\\u0967":"1","\\u0968":"2","\\u0969":"3","\\u096A":"4","\\u096B":"5","\\u096C":"6","\\u096D":"7","\\u096E":"8","\\u096F":"9","\\u0966":"0"};function c(h,A,S,q){var E="";if(A)switch(S){case"s":E="\\u0915\\u093E\\u0939\\u0940 \\u0938\\u0947\\u0915\\u0902\\u0926";break;case"ss":E="%d \\u0938\\u0947\\u0915\\u0902\\u0926";break;case"m":E="\\u090F\\u0915 \\u092E\\u093F\\u0928\\u093F\\u091F";break;case"mm":E="%d \\u092E\\u093F\\u0928\\u093F\\u091F\\u0947";break;case"h":E="\\u090F\\u0915 \\u0924\\u093E\\u0938";break;case"hh":E="%d \\u0924\\u093E\\u0938";break;case"d":E="\\u090F\\u0915 \\u0926\\u093F\\u0935\\u0938";break;case"dd":E="%d \\u0926\\u093F\\u0935\\u0938";break;case"M":E="\\u090F\\u0915 \\u092E\\u0939\\u093F\\u0928\\u093E";break;case"MM":E="%d \\u092E\\u0939\\u093F\\u0928\\u0947";break;case"y":E="\\u090F\\u0915 \\u0935\\u0930\\u094D\\u0937";break;case"yy":E="%d \\u0935\\u0930\\u094D\\u0937\\u0947"}else switch(S){case"s":E="\\u0915\\u093E\\u0939\\u0940 \\u0938\\u0947\\u0915\\u0902\\u0926\\u093E\\u0902";break;case"ss":E="%d \\u0938\\u0947\\u0915\\u0902\\u0926\\u093E\\u0902";break;case"m":E="\\u090F\\u0915\\u093E \\u092E\\u093F\\u0928\\u093F\\u091F\\u093E";break;case"mm":E="%d \\u092E\\u093F\\u0928\\u093F\\u091F\\u093E\\u0902";break;case"h":E="\\u090F\\u0915\\u093E \\u0924\\u093E\\u0938\\u093E";break;case"hh":E="%d \\u0924\\u093E\\u0938\\u093E\\u0902";break;case"d":E="\\u090F\\u0915\\u093E \\u0926\\u093F\\u0935\\u0938\\u093E";break;case"dd":E="%d \\u0926\\u093F\\u0935\\u0938\\u093E\\u0902";break;case"M":E="\\u090F\\u0915\\u093E \\u092E\\u0939\\u093F\\u0928\\u094D\\u092F\\u093E";break;case"MM":E="%d \\u092E\\u0939\\u093F\\u0928\\u094D\\u092F\\u093E\\u0902";break;case"y":E="\\u090F\\u0915\\u093E \\u0935\\u0930\\u094D\\u0937\\u093E";break;case"yy":E="%d \\u0935\\u0930\\u094D\\u0937\\u093E\\u0902"}return E.replace(/%d/i,h)}g.defineLocale("mr",{months:"\\u091C\\u093E\\u0928\\u0947\\u0935\\u093E\\u0930\\u0940_\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941\\u0935\\u093E\\u0930\\u0940_\\u092E\\u093E\\u0930\\u094D\\u091A_\\u090F\\u092A\\u094D\\u0930\\u093F\\u0932_\\u092E\\u0947_\\u091C\\u0942\\u0928_\\u091C\\u0941\\u0932\\u0948_\\u0911\\u0917\\u0938\\u094D\\u091F_\\u0938\\u092A\\u094D\\u091F\\u0947\\u0902\\u092C\\u0930_\\u0911\\u0915\\u094D\\u091F\\u094B\\u092C\\u0930_\\u0928\\u094B\\u0935\\u094D\\u0939\\u0947\\u0902\\u092C\\u0930_\\u0921\\u093F\\u0938\\u0947\\u0902\\u092C\\u0930".split("_"),monthsShort:"\\u091C\\u093E\\u0928\\u0947._\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941._\\u092E\\u093E\\u0930\\u094D\\u091A._\\u090F\\u092A\\u094D\\u0930\\u093F._\\u092E\\u0947._\\u091C\\u0942\\u0928._\\u091C\\u0941\\u0932\\u0948._\\u0911\\u0917._\\u0938\\u092A\\u094D\\u091F\\u0947\\u0902._\\u0911\\u0915\\u094D\\u091F\\u094B._\\u0928\\u094B\\u0935\\u094D\\u0939\\u0947\\u0902._\\u0921\\u093F\\u0938\\u0947\\u0902.".split("_"),monthsParseExact:!0,weekdays:"\\u0930\\u0935\\u093F\\u0935\\u093E\\u0930_\\u0938\\u094B\\u092E\\u0935\\u093E\\u0930_\\u092E\\u0902\\u0917\\u0933\\u0935\\u093E\\u0930_\\u092C\\u0941\\u0927\\u0935\\u093E\\u0930_\\u0917\\u0941\\u0930\\u0942\\u0935\\u093E\\u0930_\\u0936\\u0941\\u0915\\u094D\\u0930\\u0935\\u093E\\u0930_\\u0936\\u0928\\u093F\\u0935\\u093E\\u0930".split("_"),weekdaysShort:"\\u0930\\u0935\\u093F_\\u0938\\u094B\\u092E_\\u092E\\u0902\\u0917\\u0933_\\u092C\\u0941\\u0927_\\u0917\\u0941\\u0930\\u0942_\\u0936\\u0941\\u0915\\u094D\\u0930_\\u0936\\u0928\\u093F".split("_"),weekdaysMin:"\\u0930_\\u0938\\u094B_\\u092E\\u0902_\\u092C\\u0941_\\u0917\\u0941_\\u0936\\u0941_\\u0936".split("_"),longDateFormat:{LT:"A h:mm \\u0935\\u093E\\u091C\\u0924\\u093E",LTS:"A h:mm:ss \\u0935\\u093E\\u091C\\u0924\\u093E",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \\u0935\\u093E\\u091C\\u0924\\u093E",LLLL:"dddd, D MMMM YYYY, A h:mm \\u0935\\u093E\\u091C\\u0924\\u093E"},calendar:{sameDay:"[\\u0906\\u091C] LT",nextDay:"[\\u0909\\u0926\\u094D\\u092F\\u093E] LT",nextWeek:"dddd, LT",lastDay:"[\\u0915\\u093E\\u0932] LT",lastWeek:"[\\u092E\\u093E\\u0917\\u0940\\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\\u092E\\u0927\\u094D\\u092F\\u0947",past:"%s\\u092A\\u0942\\u0930\\u094D\\u0935\\u0940",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},preparse:function(h){return h.replace(/[१२३४५६७८९०]/g,function(A){return r[A]})},postformat:function(h){return h.replace(/\\d/g,function(A){return a[A]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(h,A){return h===12&&(h=0),A==="\\u092A\\u0939\\u093E\\u091F\\u0947"||A==="\\u0938\\u0915\\u093E\\u0933\\u0940"?h:A==="\\u0926\\u0941\\u092A\\u093E\\u0930\\u0940"||A==="\\u0938\\u093E\\u092F\\u0902\\u0915\\u093E\\u0933\\u0940"||A==="\\u0930\\u093E\\u0924\\u094D\\u0930\\u0940"?h>=12?h:h+12:void 0},meridiem:function(h,A,S){return h>=0&&h<6?"\\u092A\\u0939\\u093E\\u091F\\u0947":h<12?"\\u0938\\u0915\\u093E\\u0933\\u0940":h<17?"\\u0926\\u0941\\u092A\\u093E\\u0930\\u0940":h<20?"\\u0938\\u093E\\u092F\\u0902\\u0915\\u093E\\u0933\\u0940":"\\u0930\\u093E\\u0924\\u094D\\u0930\\u0940"},week:{dow:0,doy:6}})})(_(9034))},7748:function(p,v,_){(function(g){"use strict";g.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,r){return a===12&&(a=0),r==="pagi"?a:r==="tengahari"?a>=11?a:a+12:r==="petang"||r==="malam"?a+12:void 0},meridiem:function(a,r,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(_(9034))},503:function(p,v,_){(function(g){"use strict";g.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,r){return a===12&&(a=0),r==="pagi"?a:r==="tengahari"?a>=11?a:a+12:r==="petang"||r==="malam"?a+12:void 0},meridiem:function(a,r,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(_(9034))},5534:function(p,v,_){(function(g){"use strict";g.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\\u010Bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\\u0120un_Lul_Aww_Set_Ott_Nov_Di\\u010B".split("_"),weekdays:"Il-\\u0126add_It-Tnejn_It-Tlieta_L-Erbg\\u0127a_Il-\\u0126amis_Il-\\u0120img\\u0127a_Is-Sibt".split("_"),weekdaysShort:"\\u0126ad_Tne_Tli_Erb_\\u0126am_\\u0120im_Sib".split("_"),weekdaysMin:"\\u0126a_Tn_Tl_Er_\\u0126a_\\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\\u0127 fil-]LT",lastWeek:"dddd [li g\\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\\u0127a",hh:"%d sieg\\u0127at",d:"\\u0121urnata",dd:"%d \\u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},2727:function(p,v,_){(function(g){"use strict";var a={1:"\\u1041",2:"\\u1042",3:"\\u1043",4:"\\u1044",5:"\\u1045",6:"\\u1046",7:"\\u1047",8:"\\u1048",9:"\\u1049",0:"\\u1040"},r={"\\u1041":"1","\\u1042":"2","\\u1043":"3","\\u1044":"4","\\u1045":"5","\\u1046":"6","\\u1047":"7","\\u1048":"8","\\u1049":"9","\\u1040":"0"};g.defineLocale("my",{months:"\\u1007\\u1014\\u103A\\u1014\\u101D\\u102B\\u101B\\u102E_\\u1016\\u1031\\u1016\\u1031\\u102C\\u103A\\u101D\\u102B\\u101B\\u102E_\\u1019\\u1010\\u103A_\\u1027\\u1015\\u103C\\u102E_\\u1019\\u1031_\\u1007\\u103D\\u1014\\u103A_\\u1007\\u1030\\u101C\\u102D\\u102F\\u1004\\u103A_\\u101E\\u103C\\u1002\\u102F\\u1010\\u103A_\\u1005\\u1000\\u103A\\u1010\\u1004\\u103A\\u1018\\u102C_\\u1021\\u1031\\u102C\\u1000\\u103A\\u1010\\u102D\\u102F\\u1018\\u102C_\\u1014\\u102D\\u102F\\u101D\\u1004\\u103A\\u1018\\u102C_\\u1012\\u102E\\u1007\\u1004\\u103A\\u1018\\u102C".split("_"),monthsShort:"\\u1007\\u1014\\u103A_\\u1016\\u1031_\\u1019\\u1010\\u103A_\\u1015\\u103C\\u102E_\\u1019\\u1031_\\u1007\\u103D\\u1014\\u103A_\\u101C\\u102D\\u102F\\u1004\\u103A_\\u101E\\u103C_\\u1005\\u1000\\u103A_\\u1021\\u1031\\u102C\\u1000\\u103A_\\u1014\\u102D\\u102F_\\u1012\\u102E".split("_"),weekdays:"\\u1010\\u1014\\u1004\\u103A\\u1039\\u1002\\u1014\\u103D\\u1031_\\u1010\\u1014\\u1004\\u103A\\u1039\\u101C\\u102C_\\u1021\\u1004\\u103A\\u1039\\u1002\\u102B_\\u1017\\u102F\\u1012\\u1039\\u1013\\u101F\\u1030\\u1038_\\u1000\\u103C\\u102C\\u101E\\u1015\\u1010\\u1031\\u1038_\\u101E\\u1031\\u102C\\u1000\\u103C\\u102C_\\u1005\\u1014\\u1031".split("_"),weekdaysShort:"\\u1014\\u103D\\u1031_\\u101C\\u102C_\\u1002\\u102B_\\u101F\\u1030\\u1038_\\u1000\\u103C\\u102C_\\u101E\\u1031\\u102C_\\u1014\\u1031".split("_"),weekdaysMin:"\\u1014\\u103D\\u1031_\\u101C\\u102C_\\u1002\\u102B_\\u101F\\u1030\\u1038_\\u1000\\u103C\\u102C_\\u101E\\u1031\\u102C_\\u1014\\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u101A\\u1014\\u1031.] LT [\\u1019\\u103E\\u102C]",nextDay:"[\\u1019\\u1014\\u1000\\u103A\\u1016\\u103C\\u1014\\u103A] LT [\\u1019\\u103E\\u102C]",nextWeek:"dddd LT [\\u1019\\u103E\\u102C]",lastDay:"[\\u1019\\u1014\\u1031.\\u1000] LT [\\u1019\\u103E\\u102C]",lastWeek:"[\\u1015\\u103C\\u102E\\u1038\\u1001\\u1032\\u1037\\u101E\\u1031\\u102C] dddd LT [\\u1019\\u103E\\u102C]",sameElse:"L"},relativeTime:{future:"\\u101C\\u102C\\u1019\\u100A\\u103A\\u1037 %s \\u1019\\u103E\\u102C",past:"\\u101C\\u103D\\u1014\\u103A\\u1001\\u1032\\u1037\\u101E\\u1031\\u102C %s \\u1000",s:"\\u1005\\u1000\\u1039\\u1000\\u1014\\u103A.\\u1021\\u1014\\u100A\\u103A\\u1038\\u1004\\u101A\\u103A",ss:"%d \\u1005\\u1000\\u1039\\u1000\\u1014\\u1037\\u103A",m:"\\u1010\\u1005\\u103A\\u1019\\u102D\\u1014\\u1005\\u103A",mm:"%d \\u1019\\u102D\\u1014\\u1005\\u103A",h:"\\u1010\\u1005\\u103A\\u1014\\u102C\\u101B\\u102E",hh:"%d \\u1014\\u102C\\u101B\\u102E",d:"\\u1010\\u1005\\u103A\\u101B\\u1000\\u103A",dd:"%d \\u101B\\u1000\\u103A",M:"\\u1010\\u1005\\u103A\\u101C",MM:"%d \\u101C",y:"\\u1010\\u1005\\u103A\\u1014\\u103E\\u1005\\u103A",yy:"%d \\u1014\\u103E\\u1005\\u103A"},preparse:function(c){return c.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},week:{dow:1,doy:4}})})(_(9034))},7550:function(p,v,_){(function(g){"use strict";g.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\\xF8rdag".split("_"),weekdaysShort:"s\\xF8._ma._ti._on._to._fr._l\\xF8.".split("_"),weekdaysMin:"s\\xF8_ma_ti_on_to_fr_l\\xF8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\\xE5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\\xE5ned",MM:"%d m\\xE5neder",y:"ett \\xE5r",yy:"%d \\xE5r"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},9899:function(p,v,_){(function(g){"use strict";var a={1:"\\u0967",2:"\\u0968",3:"\\u0969",4:"\\u096A",5:"\\u096B",6:"\\u096C",7:"\\u096D",8:"\\u096E",9:"\\u096F",0:"\\u0966"},r={"\\u0967":"1","\\u0968":"2","\\u0969":"3","\\u096A":"4","\\u096B":"5","\\u096C":"6","\\u096D":"7","\\u096E":"8","\\u096F":"9","\\u0966":"0"};g.defineLocale("ne",{months:"\\u091C\\u0928\\u0935\\u0930\\u0940_\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941\\u0935\\u0930\\u0940_\\u092E\\u093E\\u0930\\u094D\\u091A_\\u0905\\u092A\\u094D\\u0930\\u093F\\u0932_\\u092E\\u0908_\\u091C\\u0941\\u0928_\\u091C\\u0941\\u0932\\u093E\\u0908_\\u0905\\u0917\\u0937\\u094D\\u091F_\\u0938\\u0947\\u092A\\u094D\\u091F\\u0947\\u092E\\u094D\\u092C\\u0930_\\u0905\\u0915\\u094D\\u091F\\u094B\\u092C\\u0930_\\u0928\\u094B\\u092D\\u0947\\u092E\\u094D\\u092C\\u0930_\\u0921\\u093F\\u0938\\u0947\\u092E\\u094D\\u092C\\u0930".split("_"),monthsShort:"\\u091C\\u0928._\\u092B\\u0947\\u092C\\u094D\\u0930\\u0941._\\u092E\\u093E\\u0930\\u094D\\u091A_\\u0905\\u092A\\u094D\\u0930\\u093F._\\u092E\\u0908_\\u091C\\u0941\\u0928_\\u091C\\u0941\\u0932\\u093E\\u0908._\\u0905\\u0917._\\u0938\\u0947\\u092A\\u094D\\u091F._\\u0905\\u0915\\u094D\\u091F\\u094B._\\u0928\\u094B\\u092D\\u0947._\\u0921\\u093F\\u0938\\u0947.".split("_"),monthsParseExact:!0,weekdays:"\\u0906\\u0907\\u0924\\u092C\\u093E\\u0930_\\u0938\\u094B\\u092E\\u092C\\u093E\\u0930_\\u092E\\u0919\\u094D\\u0917\\u0932\\u092C\\u093E\\u0930_\\u092C\\u0941\\u0927\\u092C\\u093E\\u0930_\\u092C\\u093F\\u0939\\u093F\\u092C\\u093E\\u0930_\\u0936\\u0941\\u0915\\u094D\\u0930\\u092C\\u093E\\u0930_\\u0936\\u0928\\u093F\\u092C\\u093E\\u0930".split("_"),weekdaysShort:"\\u0906\\u0907\\u0924._\\u0938\\u094B\\u092E._\\u092E\\u0919\\u094D\\u0917\\u0932._\\u092C\\u0941\\u0927._\\u092C\\u093F\\u0939\\u093F._\\u0936\\u0941\\u0915\\u094D\\u0930._\\u0936\\u0928\\u093F.".split("_"),weekdaysMin:"\\u0906._\\u0938\\u094B._\\u092E\\u0902._\\u092C\\u0941._\\u092C\\u093F._\\u0936\\u0941._\\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\\u0915\\u094B h:mm \\u092C\\u091C\\u0947",LTS:"A\\u0915\\u094B h:mm:ss \\u092C\\u091C\\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\\u0915\\u094B h:mm \\u092C\\u091C\\u0947",LLLL:"dddd, D MMMM YYYY, A\\u0915\\u094B h:mm \\u092C\\u091C\\u0947"},preparse:function(c){return c.replace(/[१२३४५६७८९०]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u0930\\u093E\\u0924\\u093F"?c<4?c:c+12:h==="\\u092C\\u093F\\u0939\\u093E\\u0928"?c:h==="\\u0926\\u093F\\u0909\\u0901\\u0938\\u094B"?c>=10?c:c+12:h==="\\u0938\\u093E\\u0901\\u091D"?c+12:void 0},meridiem:function(c,h,A){return c<3?"\\u0930\\u093E\\u0924\\u093F":c<12?"\\u092C\\u093F\\u0939\\u093E\\u0928":c<16?"\\u0926\\u093F\\u0909\\u0901\\u0938\\u094B":c<20?"\\u0938\\u093E\\u0901\\u091D":"\\u0930\\u093E\\u0924\\u093F"},calendar:{sameDay:"[\\u0906\\u091C] LT",nextDay:"[\\u092D\\u094B\\u0932\\u093F] LT",nextWeek:"[\\u0906\\u0909\\u0901\\u0926\\u094B] dddd[,] LT",lastDay:"[\\u0939\\u093F\\u091C\\u094B] LT",lastWeek:"[\\u0917\\u090F\\u0915\\u094B] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\\u092E\\u093E",past:"%s \\u0905\\u0917\\u093E\\u0921\\u093F",s:"\\u0915\\u0947\\u0939\\u0940 \\u0915\\u094D\\u0937\\u0923",ss:"%d \\u0938\\u0947\\u0915\\u0947\\u0923\\u094D\\u0921",m:"\\u090F\\u0915 \\u092E\\u093F\\u0928\\u0947\\u091F",mm:"%d \\u092E\\u093F\\u0928\\u0947\\u091F",h:"\\u090F\\u0915 \\u0918\\u0923\\u094D\\u091F\\u093E",hh:"%d \\u0918\\u0923\\u094D\\u091F\\u093E",d:"\\u090F\\u0915 \\u0926\\u093F\\u0928",dd:"%d \\u0926\\u093F\\u0928",M:"\\u090F\\u0915 \\u092E\\u0939\\u093F\\u0928\\u093E",MM:"%d \\u092E\\u0939\\u093F\\u0928\\u093E",y:"\\u090F\\u0915 \\u092C\\u0930\\u094D\\u0937",yy:"%d \\u092C\\u0930\\u094D\\u0937"},week:{dow:0,doy:6}})})(_(9034))},1225:function(p,v,_){(function(g){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;g.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(A,S){return A?/-MMM-/.test(S)?r[A.month()]:a[A.month()]:a},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\\xE9\\xE9n minuut",mm:"%d minuten",h:"\\xE9\\xE9n uur",hh:"%d uur",d:"\\xE9\\xE9n dag",dd:"%d dagen",M:"\\xE9\\xE9n maand",MM:"%d maanden",y:"\\xE9\\xE9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(A){return A+(A===1||A===8||A>=20?"ste":"de")},week:{dow:1,doy:4}})})(_(9034))},1228:function(p,v,_){(function(g){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;g.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(A,S){return A?/-MMM-/.test(S)?r[A.month()]:a[A.month()]:a},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\\xE9\\xE9n minuut",mm:"%d minuten",h:"\\xE9\\xE9n uur",hh:"%d uur",d:"\\xE9\\xE9n dag",dd:"%d dagen",w:"\\xE9\\xE9n week",ww:"%d weken",M:"\\xE9\\xE9n maand",MM:"%d maanden",y:"\\xE9\\xE9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(A){return A+(A===1||A===8||A>=20?"ste":"de")},week:{dow:1,doy:4}})})(_(9034))},7130:function(p,v,_){(function(g){"use strict";g.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\\xE5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\\xE5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\\xE5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\\xE5r klokka] LT",lastWeek:"[F\\xF8reg\\xE5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\\xE5nad",MM:"%d m\\xE5nader",y:"eit \\xE5r",yy:"%d \\xE5r"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},3130:function(p,v,_){(function(g){"use strict";g.defineLocale("oc-lnc",{months:{standalone:"geni\\xE8r_febri\\xE8r_mar\\xE7_abril_mai_junh_julhet_agost_setembre_oct\\xF2bre_novembre_decembre".split("_"),format:"de geni\\xE8r_de febri\\xE8r_de mar\\xE7_d\'abril_de mai_de junh_de julhet_d\'agost_de setembre_d\'oct\\xF2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\\s)+MMMM/},monthsShort:"gen._febr._mar\\xE7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\\xE8cres_dij\\xF2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\\xE8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\\xE8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d\'aqu\\xED %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\\d{1,2}(r|n|t|è|a)/,ordinal:function(a,r){var c=a===1?"r":a===2?"n":a===3?"r":a===4?"t":"\\xE8";return r!=="w"&&r!=="W"||(c="a"),a+c},week:{dow:1,doy:4}})})(_(9034))},1282:function(p,v,_){(function(g){"use strict";var a={1:"\\u0A67",2:"\\u0A68",3:"\\u0A69",4:"\\u0A6A",5:"\\u0A6B",6:"\\u0A6C",7:"\\u0A6D",8:"\\u0A6E",9:"\\u0A6F",0:"\\u0A66"},r={"\\u0A67":"1","\\u0A68":"2","\\u0A69":"3","\\u0A6A":"4","\\u0A6B":"5","\\u0A6C":"6","\\u0A6D":"7","\\u0A6E":"8","\\u0A6F":"9","\\u0A66":"0"};g.defineLocale("pa-in",{months:"\\u0A1C\\u0A28\\u0A35\\u0A30\\u0A40_\\u0A2B\\u0A3C\\u0A30\\u0A35\\u0A30\\u0A40_\\u0A2E\\u0A3E\\u0A30\\u0A1A_\\u0A05\\u0A2A\\u0A4D\\u0A30\\u0A48\\u0A32_\\u0A2E\\u0A08_\\u0A1C\\u0A42\\u0A28_\\u0A1C\\u0A41\\u0A32\\u0A3E\\u0A08_\\u0A05\\u0A17\\u0A38\\u0A24_\\u0A38\\u0A24\\u0A70\\u0A2C\\u0A30_\\u0A05\\u0A15\\u0A24\\u0A42\\u0A2C\\u0A30_\\u0A28\\u0A35\\u0A70\\u0A2C\\u0A30_\\u0A26\\u0A38\\u0A70\\u0A2C\\u0A30".split("_"),monthsShort:"\\u0A1C\\u0A28\\u0A35\\u0A30\\u0A40_\\u0A2B\\u0A3C\\u0A30\\u0A35\\u0A30\\u0A40_\\u0A2E\\u0A3E\\u0A30\\u0A1A_\\u0A05\\u0A2A\\u0A4D\\u0A30\\u0A48\\u0A32_\\u0A2E\\u0A08_\\u0A1C\\u0A42\\u0A28_\\u0A1C\\u0A41\\u0A32\\u0A3E\\u0A08_\\u0A05\\u0A17\\u0A38\\u0A24_\\u0A38\\u0A24\\u0A70\\u0A2C\\u0A30_\\u0A05\\u0A15\\u0A24\\u0A42\\u0A2C\\u0A30_\\u0A28\\u0A35\\u0A70\\u0A2C\\u0A30_\\u0A26\\u0A38\\u0A70\\u0A2C\\u0A30".split("_"),weekdays:"\\u0A10\\u0A24\\u0A35\\u0A3E\\u0A30_\\u0A38\\u0A4B\\u0A2E\\u0A35\\u0A3E\\u0A30_\\u0A2E\\u0A70\\u0A17\\u0A32\\u0A35\\u0A3E\\u0A30_\\u0A2C\\u0A41\\u0A27\\u0A35\\u0A3E\\u0A30_\\u0A35\\u0A40\\u0A30\\u0A35\\u0A3E\\u0A30_\\u0A38\\u0A3C\\u0A41\\u0A71\\u0A15\\u0A30\\u0A35\\u0A3E\\u0A30_\\u0A38\\u0A3C\\u0A28\\u0A40\\u0A1A\\u0A30\\u0A35\\u0A3E\\u0A30".split("_"),weekdaysShort:"\\u0A10\\u0A24_\\u0A38\\u0A4B\\u0A2E_\\u0A2E\\u0A70\\u0A17\\u0A32_\\u0A2C\\u0A41\\u0A27_\\u0A35\\u0A40\\u0A30_\\u0A38\\u0A3C\\u0A41\\u0A15\\u0A30_\\u0A38\\u0A3C\\u0A28\\u0A40".split("_"),weekdaysMin:"\\u0A10\\u0A24_\\u0A38\\u0A4B\\u0A2E_\\u0A2E\\u0A70\\u0A17\\u0A32_\\u0A2C\\u0A41\\u0A27_\\u0A35\\u0A40\\u0A30_\\u0A38\\u0A3C\\u0A41\\u0A15\\u0A30_\\u0A38\\u0A3C\\u0A28\\u0A40".split("_"),longDateFormat:{LT:"A h:mm \\u0A35\\u0A1C\\u0A47",LTS:"A h:mm:ss \\u0A35\\u0A1C\\u0A47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \\u0A35\\u0A1C\\u0A47",LLLL:"dddd, D MMMM YYYY, A h:mm \\u0A35\\u0A1C\\u0A47"},calendar:{sameDay:"[\\u0A05\\u0A1C] LT",nextDay:"[\\u0A15\\u0A32] LT",nextWeek:"[\\u0A05\\u0A17\\u0A32\\u0A3E] dddd, LT",lastDay:"[\\u0A15\\u0A32] LT",lastWeek:"[\\u0A2A\\u0A3F\\u0A1B\\u0A32\\u0A47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0A35\\u0A3F\\u0A71\\u0A1A",past:"%s \\u0A2A\\u0A3F\\u0A1B\\u0A32\\u0A47",s:"\\u0A15\\u0A41\\u0A1D \\u0A38\\u0A15\\u0A3F\\u0A70\\u0A1F",ss:"%d \\u0A38\\u0A15\\u0A3F\\u0A70\\u0A1F",m:"\\u0A07\\u0A15 \\u0A2E\\u0A3F\\u0A70\\u0A1F",mm:"%d \\u0A2E\\u0A3F\\u0A70\\u0A1F",h:"\\u0A07\\u0A71\\u0A15 \\u0A18\\u0A70\\u0A1F\\u0A3E",hh:"%d \\u0A18\\u0A70\\u0A1F\\u0A47",d:"\\u0A07\\u0A71\\u0A15 \\u0A26\\u0A3F\\u0A28",dd:"%d \\u0A26\\u0A3F\\u0A28",M:"\\u0A07\\u0A71\\u0A15 \\u0A2E\\u0A39\\u0A40\\u0A28\\u0A3E",MM:"%d \\u0A2E\\u0A39\\u0A40\\u0A28\\u0A47",y:"\\u0A07\\u0A71\\u0A15 \\u0A38\\u0A3E\\u0A32",yy:"%d \\u0A38\\u0A3E\\u0A32"},preparse:function(c){return c.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u0A30\\u0A3E\\u0A24"?c<4?c:c+12:h==="\\u0A38\\u0A35\\u0A47\\u0A30"?c:h==="\\u0A26\\u0A41\\u0A2A\\u0A39\\u0A3F\\u0A30"?c>=10?c:c+12:h==="\\u0A38\\u0A3C\\u0A3E\\u0A2E"?c+12:void 0},meridiem:function(c,h,A){return c<4?"\\u0A30\\u0A3E\\u0A24":c<10?"\\u0A38\\u0A35\\u0A47\\u0A30":c<17?"\\u0A26\\u0A41\\u0A2A\\u0A39\\u0A3F\\u0A30":c<20?"\\u0A38\\u0A3C\\u0A3E\\u0A2E":"\\u0A30\\u0A3E\\u0A24"},week:{dow:0,doy:6}})})(_(9034))},8190:function(p,v,_){(function(g){"use strict";var a="stycze\\u0144_luty_marzec_kwiecie\\u0144_maj_czerwiec_lipiec_sierpie\\u0144_wrzesie\\u0144_pa\\u017Adziernik_listopad_grudzie\\u0144".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\\u015Bnia_pa\\u017Adziernika_listopada_grudnia".split("_"),c=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function h(S){return S%10<5&&S%10>1&&~~(S/10)%10!=1}function A(S,q,E){var K=S+" ";switch(E){case"ss":return K+(h(S)?"sekundy":"sekund");case"m":return q?"minuta":"minut\\u0119";case"mm":return K+(h(S)?"minuty":"minut");case"h":return q?"godzina":"godzin\\u0119";case"hh":return K+(h(S)?"godziny":"godzin");case"ww":return K+(h(S)?"tygodnie":"tygodni");case"MM":return K+(h(S)?"miesi\\u0105ce":"miesi\\u0119cy");case"yy":return K+(h(S)?"lata":"lat")}}g.defineLocale("pl",{months:function(S,q){return S?/D MMMM/.test(q)?r[S.month()]:a[S.month()]:a},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\\u017A_lis_gru".split("_"),monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"niedziela_poniedzia\\u0142ek_wtorek_\\u015Broda_czwartek_pi\\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\\u015Br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\\u015Ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\\u015B o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \\u015Brod\\u0119 o] LT";case 6:return"[W sobot\\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\\u0142\\u0105 niedziel\\u0119 o] LT";case 3:return"[W zesz\\u0142\\u0105 \\u015Brod\\u0119 o] LT";case 6:return"[W zesz\\u0142\\u0105 sobot\\u0119 o] LT";default:return"[W zesz\\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:A,m:A,mm:A,h:A,hh:A,d:"1 dzie\\u0144",dd:"%d dni",w:"tydzie\\u0144",ww:A,M:"miesi\\u0105c",MM:A,y:"rok",yy:A},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},8135:function(p,v,_){(function(g){"use strict";g.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\\xE1b".split("_"),weekdaysMin:"do_2\\xAA_3\\xAA_4\\xAA_5\\xAA_6\\xAA_s\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\\xE0s] HH:mm"},calendar:{sameDay:"[Hoje \\xE0s] LT",nextDay:"[Amanh\\xE3 \\xE0s] LT",nextWeek:"dddd [\\xE0s] LT",lastDay:"[Ontem \\xE0s] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[\\xDAltimo] dddd [\\xE0s] LT":"[\\xDAltima] dddd [\\xE0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\\xE1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",invalidDate:"Data inv\\xE1lida"})})(_(9034))},1549:function(p,v,_){(function(g){"use strict";g.defineLocale("pt",{months:"janeiro_fevereiro_mar\\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\\xE7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\\xE1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\\xE1b".split("_"),weekdaysMin:"Do_2\\xAA_3\\xAA_4\\xAA_5\\xAA_6\\xAA_S\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \\xE0s] LT",nextDay:"[Amanh\\xE3 \\xE0s] LT",nextWeek:"dddd [\\xE0s] LT",lastDay:"[Ontem \\xE0s] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[\\xDAltimo] dddd [\\xE0s] LT":"[\\xDAltima] dddd [\\xE0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\\xE1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\\d{1,2}º/,ordinal:"%d\\xBA",week:{dow:1,doy:4}})})(_(9034))},307:function(p,v,_){(function(g){"use strict";function a(r,c,h){var A=" ";return(r%100>=20||r>=100&&r%100==0)&&(A=" de "),r+A+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\\u0103pt\\u0103m\\xE2ni",MM:"luni",yy:"ani"}[h]}g.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\\u0103_luni_mar\\u021Bi_miercuri_joi_vineri_s\\xE2mb\\u0103t\\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\\xE2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\\xE2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\\xE2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \\xEEn urm\\u0103",s:"c\\xE2teva secunde",ss:a,m:"un minut",mm:a,h:"o or\\u0103",hh:a,d:"o zi",dd:a,w:"o s\\u0103pt\\u0103m\\xE2n\\u0103",ww:a,M:"o lun\\u0103",MM:a,y:"un an",yy:a},week:{dow:1,doy:7}})})(_(9034))},9272:function(p,v,_){(function(g){"use strict";function a(c,h,A){return A==="m"?h?"\\u043C\\u0438\\u043D\\u0443\\u0442\\u0430":"\\u043C\\u0438\\u043D\\u0443\\u0442\\u0443":c+" "+(S=+c,q={ss:h?"\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0430_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u044B_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434":"\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0443_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u044B_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",mm:h?"\\u043C\\u0438\\u043D\\u0443\\u0442\\u0430_\\u043C\\u0438\\u043D\\u0443\\u0442\\u044B_\\u043C\\u0438\\u043D\\u0443\\u0442":"\\u043C\\u0438\\u043D\\u0443\\u0442\\u0443_\\u043C\\u0438\\u043D\\u0443\\u0442\\u044B_\\u043C\\u0438\\u043D\\u0443\\u0442",hh:"\\u0447\\u0430\\u0441_\\u0447\\u0430\\u0441\\u0430_\\u0447\\u0430\\u0441\\u043E\\u0432",dd:"\\u0434\\u0435\\u043D\\u044C_\\u0434\\u043D\\u044F_\\u0434\\u043D\\u0435\\u0439",ww:"\\u043D\\u0435\\u0434\\u0435\\u043B\\u044F_\\u043D\\u0435\\u0434\\u0435\\u043B\\u0438_\\u043D\\u0435\\u0434\\u0435\\u043B\\u044C",MM:"\\u043C\\u0435\\u0441\\u044F\\u0446_\\u043C\\u0435\\u0441\\u044F\\u0446\\u0430_\\u043C\\u0435\\u0441\\u044F\\u0446\\u0435\\u0432",yy:"\\u0433\\u043E\\u0434_\\u0433\\u043E\\u0434\\u0430_\\u043B\\u0435\\u0442"}[A].split("_"),S%10==1&&S%100!=11?q[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?q[1]:q[2]);var S,q}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];g.defineLocale("ru",{months:{format:"\\u044F\\u043D\\u0432\\u0430\\u0440\\u044F_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043B\\u044F_\\u043C\\u0430\\u0440\\u0442\\u0430_\\u0430\\u043F\\u0440\\u0435\\u043B\\u044F_\\u043C\\u0430\\u044F_\\u0438\\u044E\\u043D\\u044F_\\u0438\\u044E\\u043B\\u044F_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430_\\u0441\\u0435\\u043D\\u0442\\u044F\\u0431\\u0440\\u044F_\\u043E\\u043A\\u0442\\u044F\\u0431\\u0440\\u044F_\\u043D\\u043E\\u044F\\u0431\\u0440\\u044F_\\u0434\\u0435\\u043A\\u0430\\u0431\\u0440\\u044F".split("_"),standalone:"\\u044F\\u043D\\u0432\\u0430\\u0440\\u044C_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043B\\u044C_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0435\\u043B\\u044C_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D\\u044C_\\u0438\\u044E\\u043B\\u044C_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043D\\u0442\\u044F\\u0431\\u0440\\u044C_\\u043E\\u043A\\u0442\\u044F\\u0431\\u0440\\u044C_\\u043D\\u043E\\u044F\\u0431\\u0440\\u044C_\\u0434\\u0435\\u043A\\u0430\\u0431\\u0440\\u044C".split("_")},monthsShort:{format:"\\u044F\\u043D\\u0432._\\u0444\\u0435\\u0432\\u0440._\\u043C\\u0430\\u0440._\\u0430\\u043F\\u0440._\\u043C\\u0430\\u044F_\\u0438\\u044E\\u043D\\u044F_\\u0438\\u044E\\u043B\\u044F_\\u0430\\u0432\\u0433._\\u0441\\u0435\\u043D\\u0442._\\u043E\\u043A\\u0442._\\u043D\\u043E\\u044F\\u0431._\\u0434\\u0435\\u043A.".split("_"),standalone:"\\u044F\\u043D\\u0432._\\u0444\\u0435\\u0432\\u0440._\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440._\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D\\u044C_\\u0438\\u044E\\u043B\\u044C_\\u0430\\u0432\\u0433._\\u0441\\u0435\\u043D\\u0442._\\u043E\\u043A\\u0442._\\u043D\\u043E\\u044F\\u0431._\\u0434\\u0435\\u043A.".split("_")},weekdays:{standalone:"\\u0432\\u043E\\u0441\\u043A\\u0440\\u0435\\u0441\\u0435\\u043D\\u044C\\u0435_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0435\\u043B\\u044C\\u043D\\u0438\\u043A_\\u0432\\u0442\\u043E\\u0440\\u043D\\u0438\\u043A_\\u0441\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433_\\u043F\\u044F\\u0442\\u043D\\u0438\\u0446\\u0430_\\u0441\\u0443\\u0431\\u0431\\u043E\\u0442\\u0430".split("_"),format:"\\u0432\\u043E\\u0441\\u043A\\u0440\\u0435\\u0441\\u0435\\u043D\\u044C\\u0435_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0435\\u043B\\u044C\\u043D\\u0438\\u043A_\\u0432\\u0442\\u043E\\u0440\\u043D\\u0438\\u043A_\\u0441\\u0440\\u0435\\u0434\\u0443_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433_\\u043F\\u044F\\u0442\\u043D\\u0438\\u0446\\u0443_\\u0441\\u0443\\u0431\\u0431\\u043E\\u0442\\u0443".split("_"),isFormat:/\\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"\\u0432\\u0441_\\u043F\\u043D_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043F\\u0442_\\u0441\\u0431".split("_"),weekdaysMin:"\\u0432\\u0441_\\u043F\\u043D_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043F\\u0442_\\u0441\\u0431".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,monthsShortRegex:/^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\\.|февр?\\.|мар[т.]|апр\\.|ма[яй]|июн[ья.]|июл[ья.]|авг\\.|сент?\\.|окт\\.|нояб?\\.|дек\\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \\u0433.",LLL:"D MMMM YYYY \\u0433., H:mm",LLLL:"dddd, D MMMM YYYY \\u0433., H:mm"},calendar:{sameDay:"[\\u0421\\u0435\\u0433\\u043E\\u0434\\u043D\\u044F, \\u0432] LT",nextDay:"[\\u0417\\u0430\\u0432\\u0442\\u0440\\u0430, \\u0432] LT",lastDay:"[\\u0412\\u0447\\u0435\\u0440\\u0430, \\u0432] LT",nextWeek:function(c){if(c.week()===this.week())return this.day()===2?"[\\u0412\\u043E] dddd, [\\u0432] LT":"[\\u0412] dddd, [\\u0432] LT";switch(this.day()){case 0:return"[\\u0412 \\u0441\\u043B\\u0435\\u0434\\u0443\\u044E\\u0449\\u0435\\u0435] dddd, [\\u0432] LT";case 1:case 2:case 4:return"[\\u0412 \\u0441\\u043B\\u0435\\u0434\\u0443\\u044E\\u0449\\u0438\\u0439] dddd, [\\u0432] LT";case 3:case 5:case 6:return"[\\u0412 \\u0441\\u043B\\u0435\\u0434\\u0443\\u044E\\u0449\\u0443\\u044E] dddd, [\\u0432] LT"}},lastWeek:function(c){if(c.week()===this.week())return this.day()===2?"[\\u0412\\u043E] dddd, [\\u0432] LT":"[\\u0412] dddd, [\\u0432] LT";switch(this.day()){case 0:return"[\\u0412 \\u043F\\u0440\\u043E\\u0448\\u043B\\u043E\\u0435] dddd, [\\u0432] LT";case 1:case 2:case 4:return"[\\u0412 \\u043F\\u0440\\u043E\\u0448\\u043B\\u044B\\u0439] dddd, [\\u0432] LT";case 3:case 5:case 6:return"[\\u0412 \\u043F\\u0440\\u043E\\u0448\\u043B\\u0443\\u044E] dddd, [\\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\\u0447\\u0435\\u0440\\u0435\\u0437 %s",past:"%s \\u043D\\u0430\\u0437\\u0430\\u0434",s:"\\u043D\\u0435\\u0441\\u043A\\u043E\\u043B\\u044C\\u043A\\u043E \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",ss:a,m:a,mm:a,h:"\\u0447\\u0430\\u0441",hh:a,d:"\\u0434\\u0435\\u043D\\u044C",dd:a,w:"\\u043D\\u0435\\u0434\\u0435\\u043B\\u044F",ww:a,M:"\\u043C\\u0435\\u0441\\u044F\\u0446",MM:a,y:"\\u0433\\u043E\\u0434",yy:a},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(c){return/^(дня|вечера)$/.test(c)},meridiem:function(c,h,A){return c<4?"\\u043D\\u043E\\u0447\\u0438":c<12?"\\u0443\\u0442\\u0440\\u0430":c<17?"\\u0434\\u043D\\u044F":"\\u0432\\u0435\\u0447\\u0435\\u0440\\u0430"},dayOfMonthOrdinalParse:/\\d{1,2}-(й|го|я)/,ordinal:function(c,h){switch(h){case"M":case"d":case"DDD":return c+"-\\u0439";case"D":return c+"-\\u0433\\u043E";case"w":case"W":return c+"-\\u044F";default:return c}},week:{dow:1,doy:4}})})(_(9034))},9248:function(p,v,_){(function(g){"use strict";var a=["\\u062C\\u0646\\u0648\\u0631\\u064A","\\u0641\\u064A\\u0628\\u0631\\u0648\\u0631\\u064A","\\u0645\\u0627\\u0631\\u0686","\\u0627\\u067E\\u0631\\u064A\\u0644","\\u0645\\u0626\\u064A","\\u062C\\u0648\\u0646","\\u062C\\u0648\\u0644\\u0627\\u0621\\u0650","\\u0622\\u06AF\\u0633\\u067D","\\u0633\\u064A\\u067E\\u067D\\u0645\\u0628\\u0631","\\u0622\\u06AA\\u067D\\u0648\\u0628\\u0631","\\u0646\\u0648\\u0645\\u0628\\u0631","\\u068A\\u0633\\u0645\\u0628\\u0631"],r=["\\u0622\\u0686\\u0631","\\u0633\\u0648\\u0645\\u0631","\\u0627\\u06B1\\u0627\\u0631\\u0648","\\u0627\\u0631\\u0628\\u0639","\\u062E\\u0645\\u064A\\u0633","\\u062C\\u0645\\u0639","\\u0687\\u0646\\u0687\\u0631"];g.defineLocale("sd",{months:a,monthsShort:a,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\\u060C D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(c){return c==="\\u0634\\u0627\\u0645"},meridiem:function(c,h,A){return c<12?"\\u0635\\u0628\\u062D":"\\u0634\\u0627\\u0645"},calendar:{sameDay:"[\\u0627\\u0684] LT",nextDay:"[\\u0633\\u0680\\u0627\\u06BB\\u064A] LT",nextWeek:"dddd [\\u0627\\u06B3\\u064A\\u0646 \\u0647\\u0641\\u062A\\u064A \\u062A\\u064A] LT",lastDay:"[\\u06AA\\u0627\\u0644\\u0647\\u0647] LT",lastWeek:"[\\u06AF\\u0632\\u0631\\u064A\\u0644 \\u0647\\u0641\\u062A\\u064A] dddd [\\u062A\\u064A] LT",sameElse:"L"},relativeTime:{future:"%s \\u067E\\u0648\\u0621",past:"%s \\u0627\\u06B3",s:"\\u0686\\u0646\\u062F \\u0633\\u064A\\u06AA\\u0646\\u068A",ss:"%d \\u0633\\u064A\\u06AA\\u0646\\u068A",m:"\\u0647\\u06AA \\u0645\\u0646\\u067D",mm:"%d \\u0645\\u0646\\u067D",h:"\\u0647\\u06AA \\u06AA\\u0644\\u0627\\u06AA",hh:"%d \\u06AA\\u0644\\u0627\\u06AA",d:"\\u0647\\u06AA \\u068F\\u064A\\u0646\\u0647\\u0646",dd:"%d \\u068F\\u064A\\u0646\\u0647\\u0646",M:"\\u0647\\u06AA \\u0645\\u0647\\u064A\\u0646\\u0648",MM:"%d \\u0645\\u0647\\u064A\\u0646\\u0627",y:"\\u0647\\u06AA \\u0633\\u0627\\u0644",yy:"%d \\u0633\\u0627\\u0644"},preparse:function(c){return c.replace(/،/g,",")},postformat:function(c){return c.replace(/,/g,"\\u060C")},week:{dow:1,doy:4}})})(_(9034))},4969:function(p,v,_){(function(g){"use strict";g.defineLocale("se",{months:"o\\u0111\\u0111ajagem\\xE1nnu_guovvam\\xE1nnu_njuk\\u010Dam\\xE1nnu_cuo\\u014Bom\\xE1nnu_miessem\\xE1nnu_geassem\\xE1nnu_suoidnem\\xE1nnu_borgem\\xE1nnu_\\u010Dak\\u010Dam\\xE1nnu_golggotm\\xE1nnu_sk\\xE1bmam\\xE1nnu_juovlam\\xE1nnu".split("_"),monthsShort:"o\\u0111\\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\\u010Dak\\u010D_golg_sk\\xE1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\\xE1rga_ma\\u014B\\u014Beb\\xE1rga_gaskavahkku_duorastat_bearjadat_l\\xE1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\\u014B_gask_duor_bear_l\\xE1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\\u017Ees",past:"ma\\u014Bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\\xE1nnu",MM:"%d m\\xE1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},5522:function(p,v,_){(function(g){"use strict";g.defineLocale("si",{months:"\\u0DA2\\u0DB1\\u0DC0\\u0DCF\\u0DBB\\u0DD2_\\u0DB4\\u0DD9\\u0DB6\\u0DBB\\u0DC0\\u0DCF\\u0DBB\\u0DD2_\\u0DB8\\u0DCF\\u0DBB\\u0DCA\\u0DAD\\u0DD4_\\u0D85\\u0DB4\\u0DCA\\u200D\\u0DBB\\u0DDA\\u0DBD\\u0DCA_\\u0DB8\\u0DD0\\u0DBA\\u0DD2_\\u0DA2\\u0DD6\\u0DB1\\u0DD2_\\u0DA2\\u0DD6\\u0DBD\\u0DD2_\\u0D85\\u0D9C\\u0DDD\\u0DC3\\u0DCA\\u0DAD\\u0DD4_\\u0DC3\\u0DD0\\u0DB4\\u0DCA\\u0DAD\\u0DD0\\u0DB8\\u0DCA\\u0DB6\\u0DBB\\u0DCA_\\u0D94\\u0D9A\\u0DCA\\u0DAD\\u0DDD\\u0DB6\\u0DBB\\u0DCA_\\u0DB1\\u0DDC\\u0DC0\\u0DD0\\u0DB8\\u0DCA\\u0DB6\\u0DBB\\u0DCA_\\u0DAF\\u0DD9\\u0DC3\\u0DD0\\u0DB8\\u0DCA\\u0DB6\\u0DBB\\u0DCA".split("_"),monthsShort:"\\u0DA2\\u0DB1_\\u0DB4\\u0DD9\\u0DB6_\\u0DB8\\u0DCF\\u0DBB\\u0DCA_\\u0D85\\u0DB4\\u0DCA_\\u0DB8\\u0DD0\\u0DBA\\u0DD2_\\u0DA2\\u0DD6\\u0DB1\\u0DD2_\\u0DA2\\u0DD6\\u0DBD\\u0DD2_\\u0D85\\u0D9C\\u0DDD_\\u0DC3\\u0DD0\\u0DB4\\u0DCA_\\u0D94\\u0D9A\\u0DCA_\\u0DB1\\u0DDC\\u0DC0\\u0DD0_\\u0DAF\\u0DD9\\u0DC3\\u0DD0".split("_"),weekdays:"\\u0D89\\u0DBB\\u0DD2\\u0DAF\\u0DCF_\\u0DC3\\u0DB3\\u0DD4\\u0DAF\\u0DCF_\\u0D85\\u0D9F\\u0DC4\\u0DBB\\u0DD4\\u0DC0\\u0DCF\\u0DAF\\u0DCF_\\u0DB6\\u0DAF\\u0DCF\\u0DAF\\u0DCF_\\u0DB6\\u0DCA\\u200D\\u0DBB\\u0DC4\\u0DC3\\u0DCA\\u0DB4\\u0DAD\\u0DD2\\u0DB1\\u0DCA\\u0DAF\\u0DCF_\\u0DC3\\u0DD2\\u0D9A\\u0DD4\\u0DBB\\u0DCF\\u0DAF\\u0DCF_\\u0DC3\\u0DD9\\u0DB1\\u0DC3\\u0DD4\\u0DBB\\u0DCF\\u0DAF\\u0DCF".split("_"),weekdaysShort:"\\u0D89\\u0DBB\\u0DD2_\\u0DC3\\u0DB3\\u0DD4_\\u0D85\\u0D9F_\\u0DB6\\u0DAF\\u0DCF_\\u0DB6\\u0DCA\\u200D\\u0DBB\\u0DC4_\\u0DC3\\u0DD2\\u0D9A\\u0DD4_\\u0DC3\\u0DD9\\u0DB1".split("_"),weekdaysMin:"\\u0D89_\\u0DC3_\\u0D85_\\u0DB6_\\u0DB6\\u0DCA\\u200D\\u0DBB_\\u0DC3\\u0DD2_\\u0DC3\\u0DD9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\\u0DC0\\u0DD0\\u0DB1\\u0DD2] dddd, a h:mm:ss"},calendar:{sameDay:"[\\u0D85\\u0DAF] LT[\\u0DA7]",nextDay:"[\\u0DC4\\u0DD9\\u0DA7] LT[\\u0DA7]",nextWeek:"dddd LT[\\u0DA7]",lastDay:"[\\u0D8A\\u0DBA\\u0DDA] LT[\\u0DA7]",lastWeek:"[\\u0DB4\\u0DC3\\u0DD4\\u0D9C\\u0DD2\\u0DBA] dddd LT[\\u0DA7]",sameElse:"L"},relativeTime:{future:"%s\\u0D9A\\u0DD2\\u0DB1\\u0DCA",past:"%s\\u0D9A\\u0DA7 \\u0DB4\\u0DD9\\u0DBB",s:"\\u0DAD\\u0DAD\\u0DCA\\u0DB4\\u0DBB \\u0D9A\\u0DD2\\u0DC4\\u0DD2\\u0DB4\\u0DBA",ss:"\\u0DAD\\u0DAD\\u0DCA\\u0DB4\\u0DBB %d",m:"\\u0DB8\\u0DD2\\u0DB1\\u0DD2\\u0DAD\\u0DCA\\u0DAD\\u0DD4\\u0DC0",mm:"\\u0DB8\\u0DD2\\u0DB1\\u0DD2\\u0DAD\\u0DCA\\u0DAD\\u0DD4 %d",h:"\\u0DB4\\u0DD0\\u0DBA",hh:"\\u0DB4\\u0DD0\\u0DBA %d",d:"\\u0DAF\\u0DD2\\u0DB1\\u0DBA",dd:"\\u0DAF\\u0DD2\\u0DB1 %d",M:"\\u0DB8\\u0DCF\\u0DC3\\u0DBA",MM:"\\u0DB8\\u0DCF\\u0DC3 %d",y:"\\u0DC0\\u0DC3\\u0DBB",yy:"\\u0DC0\\u0DC3\\u0DBB %d"},dayOfMonthOrdinalParse:/\\d{1,2} වැනි/,ordinal:function(a){return a+" \\u0DC0\\u0DD0\\u0DB1\\u0DD2"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(a){return a==="\\u0DB4.\\u0DC0."||a==="\\u0DB4\\u0DC3\\u0DCA \\u0DC0\\u0DBB\\u0DD4"},meridiem:function(a,r,c){return a>11?c?"\\u0DB4.\\u0DC0.":"\\u0DB4\\u0DC3\\u0DCA \\u0DC0\\u0DBB\\u0DD4":c?"\\u0DB4\\u0DD9.\\u0DC0.":"\\u0DB4\\u0DD9\\u0DBB \\u0DC0\\u0DBB\\u0DD4"}})})(_(9034))},1581:function(p,v,_){(function(g){"use strict";var a="janu\\xE1r_febru\\xE1r_marec_apr\\xEDl_m\\xE1j_j\\xFAn_j\\xFAl_august_september_okt\\xF3ber_november_december".split("_"),r="jan_feb_mar_apr_m\\xE1j_j\\xFAn_j\\xFAl_aug_sep_okt_nov_dec".split("_");function c(A){return A>1&&A<5}function h(A,S,q,E){var K=A+" ";switch(q){case"s":return S||E?"p\\xE1r sek\\xFAnd":"p\\xE1r sekundami";case"ss":return S||E?K+(c(A)?"sekundy":"sek\\xFAnd"):K+"sekundami";case"m":return S?"min\\xFAta":E?"min\\xFAtu":"min\\xFAtou";case"mm":return S||E?K+(c(A)?"min\\xFAty":"min\\xFAt"):K+"min\\xFAtami";case"h":return S?"hodina":E?"hodinu":"hodinou";case"hh":return S||E?K+(c(A)?"hodiny":"hod\\xEDn"):K+"hodinami";case"d":return S||E?"de\\u0148":"d\\u0148om";case"dd":return S||E?K+(c(A)?"dni":"dn\\xED"):K+"d\\u0148ami";case"M":return S||E?"mesiac":"mesiacom";case"MM":return S||E?K+(c(A)?"mesiace":"mesiacov"):K+"mesiacmi";case"y":return S||E?"rok":"rokom";case"yy":return S||E?K+(c(A)?"roky":"rokov"):K+"rokmi"}}g.defineLocale("sk",{months:a,monthsShort:r,weekdays:"nede\\u013Ea_pondelok_utorok_streda_\\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\\u013Eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \\u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\\u010Dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\\xFA nede\\u013Eu o] LT";case 1:case 2:case 4:case 5:return"[minul\\xFD] dddd [o] LT";case 3:return"[minul\\xFA stredu o] LT";case 6:return"[minul\\xFA sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},6428:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S=r+" ";switch(h){case"s":return c||A?"nekaj sekund":"nekaj sekundami";case"ss":return S+(r===1?c?"sekundo":"sekundi":r===2?c||A?"sekundi":"sekundah":r<5?c||A?"sekunde":"sekundah":"sekund");case"m":return c?"ena minuta":"eno minuto";case"mm":return S+(r===1?c?"minuta":"minuto":r===2?c||A?"minuti":"minutama":r<5?c||A?"minute":"minutami":c||A?"minut":"minutami");case"h":return c?"ena ura":"eno uro";case"hh":return S+(r===1?c?"ura":"uro":r===2?c||A?"uri":"urama":r<5?c||A?"ure":"urami":c||A?"ur":"urami");case"d":return c||A?"en dan":"enim dnem";case"dd":return S+(r===1?c||A?"dan":"dnem":r===2?c||A?"dni":"dnevoma":c||A?"dni":"dnevi");case"M":return c||A?"en mesec":"enim mesecem";case"MM":return S+(r===1?c||A?"mesec":"mesecem":r===2?c||A?"meseca":"mesecema":r<5?c||A?"mesece":"meseci":c||A?"mesecev":"meseci");case"y":return c||A?"eno leto":"enim letom";case"yy":return S+(r===1?c||A?"leto":"letom":r===2?c||A?"leti":"letoma":r<5?c||A?"leta":"leti":c||A?"let":"leti")}}g.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\\u010Detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\\u010Det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\\u010De_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\\u010Deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\\u0161njo] [sredo] [ob] LT";case 6:return"[prej\\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\\u010Dez %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},4611:function(p,v,_){(function(g){"use strict";g.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\\xEBntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\\xEBn_Dhj".split("_"),weekdays:"E Diel_E H\\xEBn\\xEB_E Mart\\xEB_E M\\xEBrkur\\xEB_E Enjte_E Premte_E Shtun\\xEB".split("_"),weekdaysShort:"Die_H\\xEBn_Mar_M\\xEBr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\\xEB_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(a){return a.charAt(0)==="M"},meridiem:function(a,r,c){return a<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\\xEB] LT",nextDay:"[Nes\\xEBr n\\xEB] LT",nextWeek:"dddd [n\\xEB] LT",lastDay:"[Dje n\\xEB] LT",lastWeek:"dddd [e kaluar n\\xEB] LT",sameElse:"L"},relativeTime:{future:"n\\xEB %s",past:"%s m\\xEB par\\xEB",s:"disa sekonda",ss:"%d sekonda",m:"nj\\xEB minut\\xEB",mm:"%d minuta",h:"nj\\xEB or\\xEB",hh:"%d or\\xEB",d:"nj\\xEB dit\\xEB",dd:"%d dit\\xEB",M:"nj\\xEB muaj",MM:"%d muaj",y:"nj\\xEB vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},185:function(p,v,_){(function(g){"use strict";var a={words:{ss:["\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0430","\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0435","\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438"],m:["\\u0458\\u0435\\u0434\\u0430\\u043D \\u043C\\u0438\\u043D\\u0443\\u0442","\\u0458\\u0435\\u0434\\u043D\\u043E\\u0433 \\u043C\\u0438\\u043D\\u0443\\u0442\\u0430"],mm:["\\u043C\\u0438\\u043D\\u0443\\u0442","\\u043C\\u0438\\u043D\\u0443\\u0442\\u0430","\\u043C\\u0438\\u043D\\u0443\\u0442\\u0430"],h:["\\u0458\\u0435\\u0434\\u0430\\u043D \\u0441\\u0430\\u0442","\\u0458\\u0435\\u0434\\u043D\\u043E\\u0433 \\u0441\\u0430\\u0442\\u0430"],hh:["\\u0441\\u0430\\u0442","\\u0441\\u0430\\u0442\\u0430","\\u0441\\u0430\\u0442\\u0438"],d:["\\u0458\\u0435\\u0434\\u0430\\u043D \\u0434\\u0430\\u043D","\\u0458\\u0435\\u0434\\u043D\\u043E\\u0433 \\u0434\\u0430\\u043D\\u0430"],dd:["\\u0434\\u0430\\u043D","\\u0434\\u0430\\u043D\\u0430","\\u0434\\u0430\\u043D\\u0430"],M:["\\u0458\\u0435\\u0434\\u0430\\u043D \\u043C\\u0435\\u0441\\u0435\\u0446","\\u0458\\u0435\\u0434\\u043D\\u043E\\u0433 \\u043C\\u0435\\u0441\\u0435\\u0446\\u0430"],MM:["\\u043C\\u0435\\u0441\\u0435\\u0446","\\u043C\\u0435\\u0441\\u0435\\u0446\\u0430","\\u043C\\u0435\\u0441\\u0435\\u0446\\u0438"],y:["\\u0458\\u0435\\u0434\\u043D\\u0443 \\u0433\\u043E\\u0434\\u0438\\u043D\\u0443","\\u0458\\u0435\\u0434\\u043D\\u0435 \\u0433\\u043E\\u0434\\u0438\\u043D\\u0435"],yy:["\\u0433\\u043E\\u0434\\u0438\\u043D\\u0443","\\u0433\\u043E\\u0434\\u0438\\u043D\\u0435","\\u0433\\u043E\\u0434\\u0438\\u043D\\u0430"]},correctGrammaticalCase:function(r,c){return r%10>=1&&r%10<=4&&(r%100<10||r%100>=20)?r%10==1?c[0]:c[1]:c[2]},translate:function(r,c,h,A){var S,q=a.words[h];return h.length===1?h==="y"&&c?"\\u0458\\u0435\\u0434\\u043D\\u0430 \\u0433\\u043E\\u0434\\u0438\\u043D\\u0430":A||c?q[0]:q[1]:(S=a.correctGrammaticalCase(r,q),h==="yy"&&c&&S==="\\u0433\\u043E\\u0434\\u0438\\u043D\\u0443"?r+" \\u0433\\u043E\\u0434\\u0438\\u043D\\u0430":r+" "+S)}};g.defineLocale("sr-cyrl",{months:"\\u0458\\u0430\\u043D\\u0443\\u0430\\u0440_\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0438\\u043B_\\u043C\\u0430\\u0458_\\u0458\\u0443\\u043D_\\u0458\\u0443\\u043B_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043F\\u0442\\u0435\\u043C\\u0431\\u0430\\u0440_\\u043E\\u043A\\u0442\\u043E\\u0431\\u0430\\u0440_\\u043D\\u043E\\u0432\\u0435\\u043C\\u0431\\u0430\\u0440_\\u0434\\u0435\\u0446\\u0435\\u043C\\u0431\\u0430\\u0440".split("_"),monthsShort:"\\u0458\\u0430\\u043D._\\u0444\\u0435\\u0431._\\u043C\\u0430\\u0440._\\u0430\\u043F\\u0440._\\u043C\\u0430\\u0458_\\u0458\\u0443\\u043D_\\u0458\\u0443\\u043B_\\u0430\\u0432\\u0433._\\u0441\\u0435\\u043F._\\u043E\\u043A\\u0442._\\u043D\\u043E\\u0432._\\u0434\\u0435\\u0446.".split("_"),monthsParseExact:!0,weekdays:"\\u043D\\u0435\\u0434\\u0435\\u0459\\u0430_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0435\\u0459\\u0430\\u043A_\\u0443\\u0442\\u043E\\u0440\\u0430\\u043A_\\u0441\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043A_\\u043F\\u0435\\u0442\\u0430\\u043A_\\u0441\\u0443\\u0431\\u043E\\u0442\\u0430".split("_"),weekdaysShort:"\\u043D\\u0435\\u0434._\\u043F\\u043E\\u043D._\\u0443\\u0442\\u043E._\\u0441\\u0440\\u0435._\\u0447\\u0435\\u0442._\\u043F\\u0435\\u0442._\\u0441\\u0443\\u0431.".split("_"),weekdaysMin:"\\u043D\\u0435_\\u043F\\u043E_\\u0443\\u0442_\\u0441\\u0440_\\u0447\\u0435_\\u043F\\u0435_\\u0441\\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\\u0434\\u0430\\u043D\\u0430\\u0441 \\u0443] LT",nextDay:"[\\u0441\\u0443\\u0442\\u0440\\u0430 \\u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\\u0443] [\\u043D\\u0435\\u0434\\u0435\\u0459\\u0443] [\\u0443] LT";case 3:return"[\\u0443] [\\u0441\\u0440\\u0435\\u0434\\u0443] [\\u0443] LT";case 6:return"[\\u0443] [\\u0441\\u0443\\u0431\\u043E\\u0442\\u0443] [\\u0443] LT";case 1:case 2:case 4:case 5:return"[\\u0443] dddd [\\u0443] LT"}},lastDay:"[\\u0458\\u0443\\u0447\\u0435 \\u0443] LT",lastWeek:function(){return["[\\u043F\\u0440\\u043E\\u0448\\u043B\\u0435] [\\u043D\\u0435\\u0434\\u0435\\u0459\\u0435] [\\u0443] LT","[\\u043F\\u0440\\u043E\\u0448\\u043B\\u043E\\u0433] [\\u043F\\u043E\\u043D\\u0435\\u0434\\u0435\\u0459\\u043A\\u0430] [\\u0443] LT","[\\u043F\\u0440\\u043E\\u0448\\u043B\\u043E\\u0433] [\\u0443\\u0442\\u043E\\u0440\\u043A\\u0430] [\\u0443] LT","[\\u043F\\u0440\\u043E\\u0448\\u043B\\u0435] [\\u0441\\u0440\\u0435\\u0434\\u0435] [\\u0443] LT","[\\u043F\\u0440\\u043E\\u0448\\u043B\\u043E\\u0433] [\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u043A\\u0430] [\\u0443] LT","[\\u043F\\u0440\\u043E\\u0448\\u043B\\u043E\\u0433] [\\u043F\\u0435\\u0442\\u043A\\u0430] [\\u0443] LT","[\\u043F\\u0440\\u043E\\u0448\\u043B\\u0435] [\\u0441\\u0443\\u0431\\u043E\\u0442\\u0435] [\\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\\u0437\\u0430 %s",past:"\\u043F\\u0440\\u0435 %s",s:"\\u043D\\u0435\\u043A\\u043E\\u043B\\u0438\\u043A\\u043E \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},9821:function(p,v,_){(function(g){"use strict";var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(r,c){return r%10>=1&&r%10<=4&&(r%100<10||r%100>=20)?r%10==1?c[0]:c[1]:c[2]},translate:function(r,c,h,A){var S,q=a.words[h];return h.length===1?h==="y"&&c?"jedna godina":A||c?q[0]:q[1]:(S=a.correctGrammaticalCase(r,q),h==="yy"&&c&&S==="godinu"?r+" godina":r+" "+S)}};g.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\\u010De_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\\u010De u] LT",lastWeek:function(){return["[pro\\u0161le] [nedelje] [u] LT","[pro\\u0161log] [ponedeljka] [u] LT","[pro\\u0161log] [utorka] [u] LT","[pro\\u0161le] [srede] [u] LT","[pro\\u0161log] [\\u010Detvrtka] [u] LT","[pro\\u0161log] [petka] [u] LT","[pro\\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:7}})})(_(9034))},5029:function(p,v,_){(function(g){"use strict";g.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov\'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(a,r,c){return a<11?"ekuseni":a<15?"emini":a<19?"entsambama":"ebusuku"},meridiemHour:function(a,r){return a===12&&(a=0),r==="ekuseni"?a:r==="emini"?a>=11?a:a+12:r==="entsambama"||r==="ebusuku"?a===0?0:a+12:void 0},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})})(_(9034))},939:function(p,v,_){(function(g){"use strict";g.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\\xF6ndag_m\\xE5ndag_tisdag_onsdag_torsdag_fredag_l\\xF6rdag".split("_"),weekdaysShort:"s\\xF6n_m\\xE5n_tis_ons_tor_fre_l\\xF6r".split("_"),weekdaysMin:"s\\xF6_m\\xE5_ti_on_to_fr_l\\xF6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\\xE5r] LT",nextWeek:"[P\\xE5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\\xF6r %s sedan",s:"n\\xE5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\\xE5nad",MM:"%d m\\xE5nader",y:"ett \\xE5r",yy:"%d \\xE5r"},dayOfMonthOrdinalParse:/\\d{1,2}(\\:e|\\:a)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?":e":r===1||r===2?":a":":e")},week:{dow:1,doy:4}})})(_(9034))},3107:function(p,v,_){(function(g){"use strict";g.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})})(_(9034))},2304:function(p,v,_){(function(g){"use strict";var a={1:"\\u0BE7",2:"\\u0BE8",3:"\\u0BE9",4:"\\u0BEA",5:"\\u0BEB",6:"\\u0BEC",7:"\\u0BED",8:"\\u0BEE",9:"\\u0BEF",0:"\\u0BE6"},r={"\\u0BE7":"1","\\u0BE8":"2","\\u0BE9":"3","\\u0BEA":"4","\\u0BEB":"5","\\u0BEC":"6","\\u0BED":"7","\\u0BEE":"8","\\u0BEF":"9","\\u0BE6":"0"};g.defineLocale("ta",{months:"\\u0B9C\\u0BA9\\u0BB5\\u0BB0\\u0BBF_\\u0BAA\\u0BBF\\u0BAA\\u0BCD\\u0BB0\\u0BB5\\u0BB0\\u0BBF_\\u0BAE\\u0BBE\\u0BB0\\u0BCD\\u0B9A\\u0BCD_\\u0B8F\\u0BAA\\u0BCD\\u0BB0\\u0BB2\\u0BCD_\\u0BAE\\u0BC7_\\u0B9C\\u0BC2\\u0BA9\\u0BCD_\\u0B9C\\u0BC2\\u0BB2\\u0BC8_\\u0B86\\u0B95\\u0BB8\\u0BCD\\u0B9F\\u0BCD_\\u0B9A\\u0BC6\\u0BAA\\u0BCD\\u0B9F\\u0BC6\\u0BAE\\u0BCD\\u0BAA\\u0BB0\\u0BCD_\\u0B85\\u0B95\\u0BCD\\u0B9F\\u0BC7\\u0BBE\\u0BAA\\u0BB0\\u0BCD_\\u0BA8\\u0BB5\\u0BAE\\u0BCD\\u0BAA\\u0BB0\\u0BCD_\\u0B9F\\u0BBF\\u0B9A\\u0BAE\\u0BCD\\u0BAA\\u0BB0\\u0BCD".split("_"),monthsShort:"\\u0B9C\\u0BA9\\u0BB5\\u0BB0\\u0BBF_\\u0BAA\\u0BBF\\u0BAA\\u0BCD\\u0BB0\\u0BB5\\u0BB0\\u0BBF_\\u0BAE\\u0BBE\\u0BB0\\u0BCD\\u0B9A\\u0BCD_\\u0B8F\\u0BAA\\u0BCD\\u0BB0\\u0BB2\\u0BCD_\\u0BAE\\u0BC7_\\u0B9C\\u0BC2\\u0BA9\\u0BCD_\\u0B9C\\u0BC2\\u0BB2\\u0BC8_\\u0B86\\u0B95\\u0BB8\\u0BCD\\u0B9F\\u0BCD_\\u0B9A\\u0BC6\\u0BAA\\u0BCD\\u0B9F\\u0BC6\\u0BAE\\u0BCD\\u0BAA\\u0BB0\\u0BCD_\\u0B85\\u0B95\\u0BCD\\u0B9F\\u0BC7\\u0BBE\\u0BAA\\u0BB0\\u0BCD_\\u0BA8\\u0BB5\\u0BAE\\u0BCD\\u0BAA\\u0BB0\\u0BCD_\\u0B9F\\u0BBF\\u0B9A\\u0BAE\\u0BCD\\u0BAA\\u0BB0\\u0BCD".split("_"),weekdays:"\\u0B9E\\u0BBE\\u0BAF\\u0BBF\\u0BB1\\u0BCD\\u0BB1\\u0BC1\\u0B95\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8_\\u0BA4\\u0BBF\\u0B99\\u0BCD\\u0B95\\u0B9F\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8_\\u0B9A\\u0BC6\\u0BB5\\u0BCD\\u0BB5\\u0BBE\\u0BAF\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8_\\u0BAA\\u0BC1\\u0BA4\\u0BA9\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8_\\u0BB5\\u0BBF\\u0BAF\\u0BBE\\u0BB4\\u0B95\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8_\\u0BB5\\u0BC6\\u0BB3\\u0BCD\\u0BB3\\u0BBF\\u0B95\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8_\\u0B9A\\u0BA9\\u0BBF\\u0B95\\u0BCD\\u0B95\\u0BBF\\u0BB4\\u0BAE\\u0BC8".split("_"),weekdaysShort:"\\u0B9E\\u0BBE\\u0BAF\\u0BBF\\u0BB1\\u0BC1_\\u0BA4\\u0BBF\\u0B99\\u0BCD\\u0B95\\u0BB3\\u0BCD_\\u0B9A\\u0BC6\\u0BB5\\u0BCD\\u0BB5\\u0BBE\\u0BAF\\u0BCD_\\u0BAA\\u0BC1\\u0BA4\\u0BA9\\u0BCD_\\u0BB5\\u0BBF\\u0BAF\\u0BBE\\u0BB4\\u0BA9\\u0BCD_\\u0BB5\\u0BC6\\u0BB3\\u0BCD\\u0BB3\\u0BBF_\\u0B9A\\u0BA9\\u0BBF".split("_"),weekdaysMin:"\\u0B9E\\u0BBE_\\u0BA4\\u0BBF_\\u0B9A\\u0BC6_\\u0BAA\\u0BC1_\\u0BB5\\u0BBF_\\u0BB5\\u0BC6_\\u0B9A".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\\u0B87\\u0BA9\\u0BCD\\u0BB1\\u0BC1] LT",nextDay:"[\\u0BA8\\u0BBE\\u0BB3\\u0BC8] LT",nextWeek:"dddd, LT",lastDay:"[\\u0BA8\\u0BC7\\u0BB1\\u0BCD\\u0BB1\\u0BC1] LT",lastWeek:"[\\u0B95\\u0B9F\\u0BA8\\u0BCD\\u0BA4 \\u0BB5\\u0BBE\\u0BB0\\u0BAE\\u0BCD] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0B87\\u0BB2\\u0BCD",past:"%s \\u0BAE\\u0BC1\\u0BA9\\u0BCD",s:"\\u0B92\\u0BB0\\u0BC1 \\u0B9A\\u0BBF\\u0BB2 \\u0BB5\\u0BBF\\u0BA8\\u0BBE\\u0B9F\\u0BBF\\u0B95\\u0BB3\\u0BCD",ss:"%d \\u0BB5\\u0BBF\\u0BA8\\u0BBE\\u0B9F\\u0BBF\\u0B95\\u0BB3\\u0BCD",m:"\\u0B92\\u0BB0\\u0BC1 \\u0BA8\\u0BBF\\u0BAE\\u0BBF\\u0B9F\\u0BAE\\u0BCD",mm:"%d \\u0BA8\\u0BBF\\u0BAE\\u0BBF\\u0B9F\\u0B99\\u0BCD\\u0B95\\u0BB3\\u0BCD",h:"\\u0B92\\u0BB0\\u0BC1 \\u0BAE\\u0BA3\\u0BBF \\u0BA8\\u0BC7\\u0BB0\\u0BAE\\u0BCD",hh:"%d \\u0BAE\\u0BA3\\u0BBF \\u0BA8\\u0BC7\\u0BB0\\u0BAE\\u0BCD",d:"\\u0B92\\u0BB0\\u0BC1 \\u0BA8\\u0BBE\\u0BB3\\u0BCD",dd:"%d \\u0BA8\\u0BBE\\u0B9F\\u0BCD\\u0B95\\u0BB3\\u0BCD",M:"\\u0B92\\u0BB0\\u0BC1 \\u0BAE\\u0BBE\\u0BA4\\u0BAE\\u0BCD",MM:"%d \\u0BAE\\u0BBE\\u0BA4\\u0B99\\u0BCD\\u0B95\\u0BB3\\u0BCD",y:"\\u0B92\\u0BB0\\u0BC1 \\u0BB5\\u0BB0\\u0BC1\\u0B9F\\u0BAE\\u0BCD",yy:"%d \\u0B86\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0B95\\u0BB3\\u0BCD"},dayOfMonthOrdinalParse:/\\d{1,2}வது/,ordinal:function(c){return c+"\\u0BB5\\u0BA4\\u0BC1"},preparse:function(c){return c.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(h){return r[h]})},postformat:function(c){return c.replace(/\\d/g,function(h){return a[h]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(c,h,A){return c<2?" \\u0BAF\\u0BBE\\u0BAE\\u0BAE\\u0BCD":c<6?" \\u0BB5\\u0BC8\\u0B95\\u0BB1\\u0BC8":c<10?" \\u0B95\\u0BBE\\u0BB2\\u0BC8":c<14?" \\u0BA8\\u0BA3\\u0BCD\\u0BAA\\u0B95\\u0BB2\\u0BCD":c<18?" \\u0B8E\\u0BB1\\u0BCD\\u0BAA\\u0BBE\\u0B9F\\u0BC1":c<22?" \\u0BAE\\u0BBE\\u0BB2\\u0BC8":" \\u0BAF\\u0BBE\\u0BAE\\u0BAE\\u0BCD"},meridiemHour:function(c,h){return c===12&&(c=0),h==="\\u0BAF\\u0BBE\\u0BAE\\u0BAE\\u0BCD"?c<2?c:c+12:h==="\\u0BB5\\u0BC8\\u0B95\\u0BB1\\u0BC8"||h==="\\u0B95\\u0BBE\\u0BB2\\u0BC8"||h==="\\u0BA8\\u0BA3\\u0BCD\\u0BAA\\u0B95\\u0BB2\\u0BCD"&&c>=10?c:c+12},week:{dow:0,doy:6}})})(_(9034))},2550:function(p,v,_){(function(g){"use strict";g.defineLocale("te",{months:"\\u0C1C\\u0C28\\u0C35\\u0C30\\u0C3F_\\u0C2B\\u0C3F\\u0C2C\\u0C4D\\u0C30\\u0C35\\u0C30\\u0C3F_\\u0C2E\\u0C3E\\u0C30\\u0C4D\\u0C1A\\u0C3F_\\u0C0F\\u0C2A\\u0C4D\\u0C30\\u0C3F\\u0C32\\u0C4D_\\u0C2E\\u0C47_\\u0C1C\\u0C42\\u0C28\\u0C4D_\\u0C1C\\u0C41\\u0C32\\u0C48_\\u0C06\\u0C17\\u0C38\\u0C4D\\u0C1F\\u0C41_\\u0C38\\u0C46\\u0C2A\\u0C4D\\u0C1F\\u0C46\\u0C02\\u0C2C\\u0C30\\u0C4D_\\u0C05\\u0C15\\u0C4D\\u0C1F\\u0C4B\\u0C2C\\u0C30\\u0C4D_\\u0C28\\u0C35\\u0C02\\u0C2C\\u0C30\\u0C4D_\\u0C21\\u0C3F\\u0C38\\u0C46\\u0C02\\u0C2C\\u0C30\\u0C4D".split("_"),monthsShort:"\\u0C1C\\u0C28._\\u0C2B\\u0C3F\\u0C2C\\u0C4D\\u0C30._\\u0C2E\\u0C3E\\u0C30\\u0C4D\\u0C1A\\u0C3F_\\u0C0F\\u0C2A\\u0C4D\\u0C30\\u0C3F._\\u0C2E\\u0C47_\\u0C1C\\u0C42\\u0C28\\u0C4D_\\u0C1C\\u0C41\\u0C32\\u0C48_\\u0C06\\u0C17._\\u0C38\\u0C46\\u0C2A\\u0C4D._\\u0C05\\u0C15\\u0C4D\\u0C1F\\u0C4B._\\u0C28\\u0C35._\\u0C21\\u0C3F\\u0C38\\u0C46.".split("_"),monthsParseExact:!0,weekdays:"\\u0C06\\u0C26\\u0C3F\\u0C35\\u0C3E\\u0C30\\u0C02_\\u0C38\\u0C4B\\u0C2E\\u0C35\\u0C3E\\u0C30\\u0C02_\\u0C2E\\u0C02\\u0C17\\u0C33\\u0C35\\u0C3E\\u0C30\\u0C02_\\u0C2C\\u0C41\\u0C27\\u0C35\\u0C3E\\u0C30\\u0C02_\\u0C17\\u0C41\\u0C30\\u0C41\\u0C35\\u0C3E\\u0C30\\u0C02_\\u0C36\\u0C41\\u0C15\\u0C4D\\u0C30\\u0C35\\u0C3E\\u0C30\\u0C02_\\u0C36\\u0C28\\u0C3F\\u0C35\\u0C3E\\u0C30\\u0C02".split("_"),weekdaysShort:"\\u0C06\\u0C26\\u0C3F_\\u0C38\\u0C4B\\u0C2E_\\u0C2E\\u0C02\\u0C17\\u0C33_\\u0C2C\\u0C41\\u0C27_\\u0C17\\u0C41\\u0C30\\u0C41_\\u0C36\\u0C41\\u0C15\\u0C4D\\u0C30_\\u0C36\\u0C28\\u0C3F".split("_"),weekdaysMin:"\\u0C06_\\u0C38\\u0C4B_\\u0C2E\\u0C02_\\u0C2C\\u0C41_\\u0C17\\u0C41_\\u0C36\\u0C41_\\u0C36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\\u0C28\\u0C47\\u0C21\\u0C41] LT",nextDay:"[\\u0C30\\u0C47\\u0C2A\\u0C41] LT",nextWeek:"dddd, LT",lastDay:"[\\u0C28\\u0C3F\\u0C28\\u0C4D\\u0C28] LT",lastWeek:"[\\u0C17\\u0C24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \\u0C32\\u0C4B",past:"%s \\u0C15\\u0C4D\\u0C30\\u0C3F\\u0C24\\u0C02",s:"\\u0C15\\u0C4A\\u0C28\\u0C4D\\u0C28\\u0C3F \\u0C15\\u0C4D\\u0C37\\u0C23\\u0C3E\\u0C32\\u0C41",ss:"%d \\u0C38\\u0C46\\u0C15\\u0C28\\u0C4D\\u0C32\\u0C41",m:"\\u0C12\\u0C15 \\u0C28\\u0C3F\\u0C2E\\u0C3F\\u0C37\\u0C02",mm:"%d \\u0C28\\u0C3F\\u0C2E\\u0C3F\\u0C37\\u0C3E\\u0C32\\u0C41",h:"\\u0C12\\u0C15 \\u0C17\\u0C02\\u0C1F",hh:"%d \\u0C17\\u0C02\\u0C1F\\u0C32\\u0C41",d:"\\u0C12\\u0C15 \\u0C30\\u0C4B\\u0C1C\\u0C41",dd:"%d \\u0C30\\u0C4B\\u0C1C\\u0C41\\u0C32\\u0C41",M:"\\u0C12\\u0C15 \\u0C28\\u0C46\\u0C32",MM:"%d \\u0C28\\u0C46\\u0C32\\u0C32\\u0C41",y:"\\u0C12\\u0C15 \\u0C38\\u0C02\\u0C35\\u0C24\\u0C4D\\u0C38\\u0C30\\u0C02",yy:"%d \\u0C38\\u0C02\\u0C35\\u0C24\\u0C4D\\u0C38\\u0C30\\u0C3E\\u0C32\\u0C41"},dayOfMonthOrdinalParse:/\\d{1,2}వ/,ordinal:"%d\\u0C35",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u0C30\\u0C3E\\u0C24\\u0C4D\\u0C30\\u0C3F"?a<4?a:a+12:r==="\\u0C09\\u0C26\\u0C2F\\u0C02"?a:r==="\\u0C2E\\u0C27\\u0C4D\\u0C2F\\u0C3E\\u0C39\\u0C4D\\u0C28\\u0C02"?a>=10?a:a+12:r==="\\u0C38\\u0C3E\\u0C2F\\u0C02\\u0C24\\u0C4D\\u0C30\\u0C02"?a+12:void 0},meridiem:function(a,r,c){return a<4?"\\u0C30\\u0C3E\\u0C24\\u0C4D\\u0C30\\u0C3F":a<10?"\\u0C09\\u0C26\\u0C2F\\u0C02":a<17?"\\u0C2E\\u0C27\\u0C4D\\u0C2F\\u0C3E\\u0C39\\u0C4D\\u0C28\\u0C02":a<20?"\\u0C38\\u0C3E\\u0C2F\\u0C02\\u0C24\\u0C4D\\u0C30\\u0C02":"\\u0C30\\u0C3E\\u0C24\\u0C4D\\u0C30\\u0C3F"},week:{dow:0,doy:6}})})(_(9034))},9717:function(p,v,_){(function(g){"use strict";g.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\\xF1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:1,doy:4}})})(_(9034))},7669:function(p,v,_){(function(g){"use strict";var a={0:"-\\u0443\\u043C",1:"-\\u0443\\u043C",2:"-\\u044E\\u043C",3:"-\\u044E\\u043C",4:"-\\u0443\\u043C",5:"-\\u0443\\u043C",6:"-\\u0443\\u043C",7:"-\\u0443\\u043C",8:"-\\u0443\\u043C",9:"-\\u0443\\u043C",10:"-\\u0443\\u043C",12:"-\\u0443\\u043C",13:"-\\u0443\\u043C",20:"-\\u0443\\u043C",30:"-\\u044E\\u043C",40:"-\\u0443\\u043C",50:"-\\u0443\\u043C",60:"-\\u0443\\u043C",70:"-\\u0443\\u043C",80:"-\\u0443\\u043C",90:"-\\u0443\\u043C",100:"-\\u0443\\u043C"};g.defineLocale("tg",{months:{format:"\\u044F\\u043D\\u0432\\u0430\\u0440\\u0438_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043B\\u0438_\\u043C\\u0430\\u0440\\u0442\\u0438_\\u0430\\u043F\\u0440\\u0435\\u043B\\u0438_\\u043C\\u0430\\u0439\\u0438_\\u0438\\u044E\\u043D\\u0438_\\u0438\\u044E\\u043B\\u0438_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0438_\\u0441\\u0435\\u043D\\u0442\\u044F\\u0431\\u0440\\u0438_\\u043E\\u043A\\u0442\\u044F\\u0431\\u0440\\u0438_\\u043D\\u043E\\u044F\\u0431\\u0440\\u0438_\\u0434\\u0435\\u043A\\u0430\\u0431\\u0440\\u0438".split("_"),standalone:"\\u044F\\u043D\\u0432\\u0430\\u0440_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043B_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0435\\u043B_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D_\\u0438\\u044E\\u043B_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043D\\u0442\\u044F\\u0431\\u0440_\\u043E\\u043A\\u0442\\u044F\\u0431\\u0440_\\u043D\\u043E\\u044F\\u0431\\u0440_\\u0434\\u0435\\u043A\\u0430\\u0431\\u0440".split("_")},monthsShort:"\\u044F\\u043D\\u0432_\\u0444\\u0435\\u0432_\\u043C\\u0430\\u0440_\\u0430\\u043F\\u0440_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D_\\u0438\\u044E\\u043B_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043D_\\u043E\\u043A\\u0442_\\u043D\\u043E\\u044F_\\u0434\\u0435\\u043A".split("_"),weekdays:"\\u044F\\u043A\\u0448\\u0430\\u043D\\u0431\\u0435_\\u0434\\u0443\\u0448\\u0430\\u043D\\u0431\\u0435_\\u0441\\u0435\\u0448\\u0430\\u043D\\u0431\\u0435_\\u0447\\u043E\\u0440\\u0448\\u0430\\u043D\\u0431\\u0435_\\u043F\\u0430\\u043D\\u04B7\\u0448\\u0430\\u043D\\u0431\\u0435_\\u04B7\\u0443\\u043C\\u044A\\u0430_\\u0448\\u0430\\u043D\\u0431\\u0435".split("_"),weekdaysShort:"\\u044F\\u0448\\u0431_\\u0434\\u0448\\u0431_\\u0441\\u0448\\u0431_\\u0447\\u0448\\u0431_\\u043F\\u0448\\u0431_\\u04B7\\u0443\\u043C_\\u0448\\u043D\\u0431".split("_"),weekdaysMin:"\\u044F\\u0448_\\u0434\\u0448_\\u0441\\u0448_\\u0447\\u0448_\\u043F\\u0448_\\u04B7\\u043C_\\u0448\\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u0418\\u043C\\u0440\\u04EF\\u0437 \\u0441\\u043E\\u0430\\u0442\\u0438] LT",nextDay:"[\\u0424\\u0430\\u0440\\u0434\\u043E \\u0441\\u043E\\u0430\\u0442\\u0438] LT",lastDay:"[\\u0414\\u0438\\u0440\\u04EF\\u0437 \\u0441\\u043E\\u0430\\u0442\\u0438] LT",nextWeek:"dddd[\\u0438] [\\u04B3\\u0430\\u0444\\u0442\\u0430\\u0438 \\u043E\\u044F\\u043D\\u0434\\u0430 \\u0441\\u043E\\u0430\\u0442\\u0438] LT",lastWeek:"dddd[\\u0438] [\\u04B3\\u0430\\u0444\\u0442\\u0430\\u0438 \\u0433\\u0443\\u0437\\u0430\\u0448\\u0442\\u0430 \\u0441\\u043E\\u0430\\u0442\\u0438] LT",sameElse:"L"},relativeTime:{future:"\\u0431\\u0430\\u044A\\u0434\\u0438 %s",past:"%s \\u043F\\u0435\\u0448",s:"\\u044F\\u043A\\u0447\\u0430\\u043D\\u0434 \\u0441\\u043E\\u043D\\u0438\\u044F",m:"\\u044F\\u043A \\u0434\\u0430\\u049B\\u0438\\u049B\\u0430",mm:"%d \\u0434\\u0430\\u049B\\u0438\\u049B\\u0430",h:"\\u044F\\u043A \\u0441\\u043E\\u0430\\u0442",hh:"%d \\u0441\\u043E\\u0430\\u0442",d:"\\u044F\\u043A \\u0440\\u04EF\\u0437",dd:"%d \\u0440\\u04EF\\u0437",M:"\\u044F\\u043A \\u043C\\u043E\\u04B3",MM:"%d \\u043C\\u043E\\u04B3",y:"\\u044F\\u043A \\u0441\\u043E\\u043B",yy:"%d \\u0441\\u043E\\u043B"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(r,c){return r===12&&(r=0),c==="\\u0448\\u0430\\u0431"?r<4?r:r+12:c==="\\u0441\\u0443\\u0431\\u04B3"?r:c==="\\u0440\\u04EF\\u0437"?r>=11?r:r+12:c==="\\u0431\\u0435\\u0433\\u043E\\u04B3"?r+12:void 0},meridiem:function(r,c,h){return r<4?"\\u0448\\u0430\\u0431":r<11?"\\u0441\\u0443\\u0431\\u04B3":r<16?"\\u0440\\u04EF\\u0437":r<19?"\\u0431\\u0435\\u0433\\u043E\\u04B3":"\\u0448\\u0430\\u0431"},dayOfMonthOrdinalParse:/\\d{1,2}-(ум|юм)/,ordinal:function(r){return r+(a[r]||a[r%10]||a[r>=100?100:null])},week:{dow:1,doy:7}})})(_(9034))},4959:function(p,v,_){(function(g){"use strict";g.defineLocale("th",{months:"\\u0E21\\u0E01\\u0E23\\u0E32\\u0E04\\u0E21_\\u0E01\\u0E38\\u0E21\\u0E20\\u0E32\\u0E1E\\u0E31\\u0E19\\u0E18\\u0E4C_\\u0E21\\u0E35\\u0E19\\u0E32\\u0E04\\u0E21_\\u0E40\\u0E21\\u0E29\\u0E32\\u0E22\\u0E19_\\u0E1E\\u0E24\\u0E29\\u0E20\\u0E32\\u0E04\\u0E21_\\u0E21\\u0E34\\u0E16\\u0E38\\u0E19\\u0E32\\u0E22\\u0E19_\\u0E01\\u0E23\\u0E01\\u0E0E\\u0E32\\u0E04\\u0E21_\\u0E2A\\u0E34\\u0E07\\u0E2B\\u0E32\\u0E04\\u0E21_\\u0E01\\u0E31\\u0E19\\u0E22\\u0E32\\u0E22\\u0E19_\\u0E15\\u0E38\\u0E25\\u0E32\\u0E04\\u0E21_\\u0E1E\\u0E24\\u0E28\\u0E08\\u0E34\\u0E01\\u0E32\\u0E22\\u0E19_\\u0E18\\u0E31\\u0E19\\u0E27\\u0E32\\u0E04\\u0E21".split("_"),monthsShort:"\\u0E21.\\u0E04._\\u0E01.\\u0E1E._\\u0E21\\u0E35.\\u0E04._\\u0E40\\u0E21.\\u0E22._\\u0E1E.\\u0E04._\\u0E21\\u0E34.\\u0E22._\\u0E01.\\u0E04._\\u0E2A.\\u0E04._\\u0E01.\\u0E22._\\u0E15.\\u0E04._\\u0E1E.\\u0E22._\\u0E18.\\u0E04.".split("_"),monthsParseExact:!0,weekdays:"\\u0E2D\\u0E32\\u0E17\\u0E34\\u0E15\\u0E22\\u0E4C_\\u0E08\\u0E31\\u0E19\\u0E17\\u0E23\\u0E4C_\\u0E2D\\u0E31\\u0E07\\u0E04\\u0E32\\u0E23_\\u0E1E\\u0E38\\u0E18_\\u0E1E\\u0E24\\u0E2B\\u0E31\\u0E2A\\u0E1A\\u0E14\\u0E35_\\u0E28\\u0E38\\u0E01\\u0E23\\u0E4C_\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C".split("_"),weekdaysShort:"\\u0E2D\\u0E32\\u0E17\\u0E34\\u0E15\\u0E22\\u0E4C_\\u0E08\\u0E31\\u0E19\\u0E17\\u0E23\\u0E4C_\\u0E2D\\u0E31\\u0E07\\u0E04\\u0E32\\u0E23_\\u0E1E\\u0E38\\u0E18_\\u0E1E\\u0E24\\u0E2B\\u0E31\\u0E2A_\\u0E28\\u0E38\\u0E01\\u0E23\\u0E4C_\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C".split("_"),weekdaysMin:"\\u0E2D\\u0E32._\\u0E08._\\u0E2D._\\u0E1E._\\u0E1E\\u0E24._\\u0E28._\\u0E2A.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \\u0E40\\u0E27\\u0E25\\u0E32 H:mm",LLLL:"\\u0E27\\u0E31\\u0E19dddd\\u0E17\\u0E35\\u0E48 D MMMM YYYY \\u0E40\\u0E27\\u0E25\\u0E32 H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(a){return a==="\\u0E2B\\u0E25\\u0E31\\u0E07\\u0E40\\u0E17\\u0E35\\u0E48\\u0E22\\u0E07"},meridiem:function(a,r,c){return a<12?"\\u0E01\\u0E48\\u0E2D\\u0E19\\u0E40\\u0E17\\u0E35\\u0E48\\u0E22\\u0E07":"\\u0E2B\\u0E25\\u0E31\\u0E07\\u0E40\\u0E17\\u0E35\\u0E48\\u0E22\\u0E07"},calendar:{sameDay:"[\\u0E27\\u0E31\\u0E19\\u0E19\\u0E35\\u0E49 \\u0E40\\u0E27\\u0E25\\u0E32] LT",nextDay:"[\\u0E1E\\u0E23\\u0E38\\u0E48\\u0E07\\u0E19\\u0E35\\u0E49 \\u0E40\\u0E27\\u0E25\\u0E32] LT",nextWeek:"dddd[\\u0E2B\\u0E19\\u0E49\\u0E32 \\u0E40\\u0E27\\u0E25\\u0E32] LT",lastDay:"[\\u0E40\\u0E21\\u0E37\\u0E48\\u0E2D\\u0E27\\u0E32\\u0E19\\u0E19\\u0E35\\u0E49 \\u0E40\\u0E27\\u0E25\\u0E32] LT",lastWeek:"[\\u0E27\\u0E31\\u0E19]dddd[\\u0E17\\u0E35\\u0E48\\u0E41\\u0E25\\u0E49\\u0E27 \\u0E40\\u0E27\\u0E25\\u0E32] LT",sameElse:"L"},relativeTime:{future:"\\u0E2D\\u0E35\\u0E01 %s",past:"%s\\u0E17\\u0E35\\u0E48\\u0E41\\u0E25\\u0E49\\u0E27",s:"\\u0E44\\u0E21\\u0E48\\u0E01\\u0E35\\u0E48\\u0E27\\u0E34\\u0E19\\u0E32\\u0E17\\u0E35",ss:"%d \\u0E27\\u0E34\\u0E19\\u0E32\\u0E17\\u0E35",m:"1 \\u0E19\\u0E32\\u0E17\\u0E35",mm:"%d \\u0E19\\u0E32\\u0E17\\u0E35",h:"1 \\u0E0A\\u0E31\\u0E48\\u0E27\\u0E42\\u0E21\\u0E07",hh:"%d \\u0E0A\\u0E31\\u0E48\\u0E27\\u0E42\\u0E21\\u0E07",d:"1 \\u0E27\\u0E31\\u0E19",dd:"%d \\u0E27\\u0E31\\u0E19",w:"1 \\u0E2A\\u0E31\\u0E1B\\u0E14\\u0E32\\u0E2B\\u0E4C",ww:"%d \\u0E2A\\u0E31\\u0E1B\\u0E14\\u0E32\\u0E2B\\u0E4C",M:"1 \\u0E40\\u0E14\\u0E37\\u0E2D\\u0E19",MM:"%d \\u0E40\\u0E14\\u0E37\\u0E2D\\u0E19",y:"1 \\u0E1B\\u0E35",yy:"%d \\u0E1B\\u0E35"}})})(_(9034))},2661:function(p,v,_){(function(g){"use strict";var a={1:"\'inji",5:"\'inji",8:"\'inji",70:"\'inji",80:"\'inji",2:"\'nji",7:"\'nji",20:"\'nji",50:"\'nji",3:"\'\\xFCnji",4:"\'\\xFCnji",100:"\'\\xFCnji",6:"\'njy",9:"\'unjy",10:"\'unjy",30:"\'unjy",60:"\'ynjy",90:"\'ynjy"};g.defineLocale("tk",{months:"\\xDDanwar_Fewral_Mart_Aprel_Ma\\xFD_I\\xFDun_I\\xFDul_Awgust_Sent\\xFDabr_Okt\\xFDabr_No\\xFDabr_Dekabr".split("_"),monthsShort:"\\xDDan_Few_Mar_Apr_Ma\\xFD_I\\xFDn_I\\xFDl_Awg_Sen_Okt_No\\xFD_Dek".split("_"),weekdays:"\\xDDek\\u015Fenbe_Du\\u015Fenbe_Si\\u015Fenbe_\\xC7ar\\u015Fenbe_Pen\\u015Fenbe_Anna_\\u015Eenbe".split("_"),weekdaysShort:"\\xDDek_Du\\u015F_Si\\u015F_\\xC7ar_Pen_Ann_\\u015Een".split("_"),weekdaysMin:"\\xDDk_D\\u015F_S\\u015F_\\xC7r_Pn_An_\\u015En".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\\xFCn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\\xFC\\xFDn] LT",lastWeek:"[ge\\xE7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\\u0148",past:"%s \\xF6\\u0148",s:"birn\\xE4\\xE7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\\xFCn",dd:"%d g\\xFCn",M:"bir a\\xFD",MM:"%d a\\xFD",y:"bir \\xFDyl",yy:"%d \\xFDyl"},ordinal:function(r,c){switch(c){case"d":case"D":case"Do":case"DD":return r;default:if(r===0)return r+"\'unjy";var h=r%10;return r+(a[h]||a[r%100-h]||a[r>=100?100:null])}},week:{dow:1,doy:7}})})(_(9034))},2234:function(p,v,_){(function(g){"use strict";g.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}})})(_(9034))},4120:function(p,v,_){(function(g){"use strict";var a="pagh_wa\\u2019_cha\\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(c,h,A,S){var q=function(E){var K=Math.floor(E%1e3/100),fe=Math.floor(E%100/10),he=E%10,Se="";return K>0&&(Se+=a[K]+"vatlh"),fe>0&&(Se+=(Se!==""?" ":"")+a[fe]+"maH"),he>0&&(Se+=(Se!==""?" ":"")+a[he]),Se===""?"pagh":Se}(c);switch(A){case"ss":return q+" lup";case"mm":return q+" tup";case"hh":return q+" rep";case"dd":return q+" jaj";case"MM":return q+" jar";case"yy":return q+" DIS"}}g.defineLocale("tlh",{months:"tera\\u2019 jar wa\\u2019_tera\\u2019 jar cha\\u2019_tera\\u2019 jar wej_tera\\u2019 jar loS_tera\\u2019 jar vagh_tera\\u2019 jar jav_tera\\u2019 jar Soch_tera\\u2019 jar chorgh_tera\\u2019 jar Hut_tera\\u2019 jar wa\\u2019maH_tera\\u2019 jar wa\\u2019maH wa\\u2019_tera\\u2019 jar wa\\u2019maH cha\\u2019".split("_"),monthsShort:"jar wa\\u2019_jar cha\\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\\u2019maH_jar wa\\u2019maH wa\\u2019_jar wa\\u2019maH cha\\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\\u2019Hu\\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(c){var h=c;return c.indexOf("jaj")!==-1?h.slice(0,-3)+"leS":c.indexOf("jar")!==-1?h.slice(0,-3)+"waQ":c.indexOf("DIS")!==-1?h.slice(0,-3)+"nem":h+" pIq"},past:function(c){var h=c;return c.indexOf("jaj")!==-1?h.slice(0,-3)+"Hu\\u2019":c.indexOf("jar")!==-1?h.slice(0,-3)+"wen":c.indexOf("DIS")!==-1?h.slice(0,-3)+"ben":h+" ret"},s:"puS lup",ss:r,m:"wa\\u2019 tup",mm:r,h:"wa\\u2019 rep",hh:r,d:"wa\\u2019 jaj",dd:r,M:"wa\\u2019 jar",MM:r,y:"wa\\u2019 DIS",yy:r},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},1111:function(p,v,_){(function(g){"use strict";var a={1:"\'inci",5:"\'inci",8:"\'inci",70:"\'inci",80:"\'inci",2:"\'nci",7:"\'nci",20:"\'nci",50:"\'nci",3:"\'\\xFCnc\\xFC",4:"\'\\xFCnc\\xFC",100:"\'\\xFCnc\\xFC",6:"\'nc\\u0131",9:"\'uncu",10:"\'uncu",30:"\'uncu",60:"\'\\u0131nc\\u0131",90:"\'\\u0131nc\\u0131"};g.defineLocale("tr",{months:"Ocak_\\u015Eubat_Mart_Nisan_May\\u0131s_Haziran_Temmuz_A\\u011Fustos_Eyl\\xFCl_Ekim_Kas\\u0131m_Aral\\u0131k".split("_"),monthsShort:"Oca_\\u015Eub_Mar_Nis_May_Haz_Tem_A\\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\\u0131_\\xC7ar\\u015Famba_Per\\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\\xC7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\\xC7a_Pe_Cu_Ct".split("_"),meridiem:function(r,c,h){return r<12?h?"\\xF6\\xF6":"\\xD6\\xD6":h?"\\xF6s":"\\xD6S"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(r){return r==="\\xF6s"||r==="\\xD6S"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\\xFCn saat] LT",nextDay:"[yar\\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\\xFCn] LT",lastWeek:"[ge\\xE7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \\xF6nce",s:"birka\\xE7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\\xFCn",dd:"%d g\\xFCn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\\u0131l",yy:"%d y\\u0131l"},ordinal:function(r,c){switch(c){case"d":case"D":case"Do":case"DD":return r;default:if(r===0)return r+"\'\\u0131nc\\u0131";var h=r%10;return r+(a[h]||a[r%100-h]||a[r>=100?100:null])}},week:{dow:1,doy:7}})})(_(9034))},3080:function(p,v,_){(function(g){"use strict";function a(r,c,h,A){var S={s:["viensas secunds","\'iensas secunds"],ss:[r+" secunds",r+" secunds"],m:["\'n m\\xEDut","\'iens m\\xEDut"],mm:[r+" m\\xEDuts",r+" m\\xEDuts"],h:["\'n \\xFEora","\'iensa \\xFEora"],hh:[r+" \\xFEoras",r+" \\xFEoras"],d:["\'n ziua","\'iensa ziua"],dd:[r+" ziuas",r+" ziuas"],M:["\'n mes","\'iens mes"],MM:[r+" mesen",r+" mesen"],y:["\'n ar","\'iens ar"],yy:[r+" ars",r+" ars"]};return A||c?S[h][0]:S[h][1]}g.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\\xE7_Avr\\xEFu_Mai_G\\xFCn_Julia_Guscht_Setemvar_Listop\\xE4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\\xFCn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\\xFAladi_L\\xFAne\\xE7i_Maitzi_M\\xE1rcuri_Xh\\xFAadi_Vi\\xE9ner\\xE7i_S\\xE1turi".split("_"),weekdaysShort:"S\\xFAl_L\\xFAn_Mai_M\\xE1r_Xh\\xFA_Vi\\xE9_S\\xE1t".split("_"),weekdaysMin:"S\\xFA_L\\xFA_Ma_M\\xE1_Xh_Vi_S\\xE1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\\\'o|d\\\'a/i,isPM:function(r){return r.toLowerCase()==="d\'o"},meridiem:function(r,c,h){return r>11?h?"d\'o":"D\'O":h?"d\'a":"D\'A"},calendar:{sameDay:"[oxhi \\xE0] LT",nextDay:"[dem\\xE0 \\xE0] LT",nextWeek:"dddd [\\xE0] LT",lastDay:"[ieiri \\xE0] LT",lastWeek:"[s\\xFCr el] dddd [lasteu \\xE0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:"%d.",week:{dow:1,doy:4}})})(_(9034))},5385:function(p,v,_){(function(g){"use strict";g.defineLocale("tzm-latn",{months:"innayr_br\\u02E4ayr\\u02E4_mar\\u02E4s\\u02E4_ibrir_mayyw_ywnyw_ywlywz_\\u0263w\\u0161t_\\u0161wtanbir_kt\\u02E4wbr\\u02E4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\\u02E4ayr\\u02E4_mar\\u02E4s\\u02E4_ibrir_mayyw_ywnyw_ywlywz_\\u0263w\\u0161t_\\u0161wtanbir_kt\\u02E4wbr\\u02E4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\\u1E0Dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\\u1E0Dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\\u1E0Dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\\u1E0D",mm:"%d minu\\u1E0D",h:"sa\\u025Ba",hh:"%d tassa\\u025Bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})})(_(9034))},8246:function(p,v,_){(function(g){"use strict";g.defineLocale("tzm",{months:"\\u2D49\\u2D4F\\u2D4F\\u2D30\\u2D62\\u2D54_\\u2D31\\u2D55\\u2D30\\u2D62\\u2D55_\\u2D4E\\u2D30\\u2D55\\u2D5A_\\u2D49\\u2D31\\u2D54\\u2D49\\u2D54_\\u2D4E\\u2D30\\u2D62\\u2D62\\u2D53_\\u2D62\\u2D53\\u2D4F\\u2D62\\u2D53_\\u2D62\\u2D53\\u2D4D\\u2D62\\u2D53\\u2D63_\\u2D56\\u2D53\\u2D5B\\u2D5C_\\u2D5B\\u2D53\\u2D5C\\u2D30\\u2D4F\\u2D31\\u2D49\\u2D54_\\u2D3D\\u2D5F\\u2D53\\u2D31\\u2D55_\\u2D4F\\u2D53\\u2D61\\u2D30\\u2D4F\\u2D31\\u2D49\\u2D54_\\u2D37\\u2D53\\u2D4A\\u2D4F\\u2D31\\u2D49\\u2D54".split("_"),monthsShort:"\\u2D49\\u2D4F\\u2D4F\\u2D30\\u2D62\\u2D54_\\u2D31\\u2D55\\u2D30\\u2D62\\u2D55_\\u2D4E\\u2D30\\u2D55\\u2D5A_\\u2D49\\u2D31\\u2D54\\u2D49\\u2D54_\\u2D4E\\u2D30\\u2D62\\u2D62\\u2D53_\\u2D62\\u2D53\\u2D4F\\u2D62\\u2D53_\\u2D62\\u2D53\\u2D4D\\u2D62\\u2D53\\u2D63_\\u2D56\\u2D53\\u2D5B\\u2D5C_\\u2D5B\\u2D53\\u2D5C\\u2D30\\u2D4F\\u2D31\\u2D49\\u2D54_\\u2D3D\\u2D5F\\u2D53\\u2D31\\u2D55_\\u2D4F\\u2D53\\u2D61\\u2D30\\u2D4F\\u2D31\\u2D49\\u2D54_\\u2D37\\u2D53\\u2D4A\\u2D4F\\u2D31\\u2D49\\u2D54".split("_"),weekdays:"\\u2D30\\u2D59\\u2D30\\u2D4E\\u2D30\\u2D59_\\u2D30\\u2D62\\u2D4F\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D4F\\u2D30\\u2D59_\\u2D30\\u2D3D\\u2D54\\u2D30\\u2D59_\\u2D30\\u2D3D\\u2D61\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D4E\\u2D61\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D39\\u2D62\\u2D30\\u2D59".split("_"),weekdaysShort:"\\u2D30\\u2D59\\u2D30\\u2D4E\\u2D30\\u2D59_\\u2D30\\u2D62\\u2D4F\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D4F\\u2D30\\u2D59_\\u2D30\\u2D3D\\u2D54\\u2D30\\u2D59_\\u2D30\\u2D3D\\u2D61\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D4E\\u2D61\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D39\\u2D62\\u2D30\\u2D59".split("_"),weekdaysMin:"\\u2D30\\u2D59\\u2D30\\u2D4E\\u2D30\\u2D59_\\u2D30\\u2D62\\u2D4F\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D4F\\u2D30\\u2D59_\\u2D30\\u2D3D\\u2D54\\u2D30\\u2D59_\\u2D30\\u2D3D\\u2D61\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D4E\\u2D61\\u2D30\\u2D59_\\u2D30\\u2D59\\u2D49\\u2D39\\u2D62\\u2D30\\u2D59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\\u2D30\\u2D59\\u2D37\\u2D45 \\u2D34] LT",nextDay:"[\\u2D30\\u2D59\\u2D3D\\u2D30 \\u2D34] LT",nextWeek:"dddd [\\u2D34] LT",lastDay:"[\\u2D30\\u2D5A\\u2D30\\u2D4F\\u2D5C \\u2D34] LT",lastWeek:"dddd [\\u2D34] LT",sameElse:"L"},relativeTime:{future:"\\u2D37\\u2D30\\u2D37\\u2D45 \\u2D59 \\u2D62\\u2D30\\u2D4F %s",past:"\\u2D62\\u2D30\\u2D4F %s",s:"\\u2D49\\u2D4E\\u2D49\\u2D3D",ss:"%d \\u2D49\\u2D4E\\u2D49\\u2D3D",m:"\\u2D4E\\u2D49\\u2D4F\\u2D53\\u2D3A",mm:"%d \\u2D4E\\u2D49\\u2D4F\\u2D53\\u2D3A",h:"\\u2D59\\u2D30\\u2D44\\u2D30",hh:"%d \\u2D5C\\u2D30\\u2D59\\u2D59\\u2D30\\u2D44\\u2D49\\u2D4F",d:"\\u2D30\\u2D59\\u2D59",dd:"%d o\\u2D59\\u2D59\\u2D30\\u2D4F",M:"\\u2D30\\u2D62o\\u2D53\\u2D54",MM:"%d \\u2D49\\u2D62\\u2D62\\u2D49\\u2D54\\u2D4F",y:"\\u2D30\\u2D59\\u2D33\\u2D30\\u2D59",yy:"%d \\u2D49\\u2D59\\u2D33\\u2D30\\u2D59\\u2D4F"},week:{dow:6,doy:12}})})(_(9034))},8777:function(p,v,_){(function(g){"use strict";g.defineLocale("ug-cn",{months:"\\u064A\\u0627\\u0646\\u06CB\\u0627\\u0631_\\u0641\\u06D0\\u06CB\\u0631\\u0627\\u0644_\\u0645\\u0627\\u0631\\u062A_\\u0626\\u0627\\u067E\\u0631\\u06D0\\u0644_\\u0645\\u0627\\u064A_\\u0626\\u0649\\u064A\\u06C7\\u0646_\\u0626\\u0649\\u064A\\u06C7\\u0644_\\u0626\\u0627\\u06CB\\u063A\\u06C7\\u0633\\u062A_\\u0633\\u06D0\\u0646\\u062A\\u06D5\\u0628\\u0649\\u0631_\\u0626\\u06C6\\u0643\\u062A\\u06D5\\u0628\\u0649\\u0631_\\u0646\\u0648\\u064A\\u0627\\u0628\\u0649\\u0631_\\u062F\\u06D0\\u0643\\u0627\\u0628\\u0649\\u0631".split("_"),monthsShort:"\\u064A\\u0627\\u0646\\u06CB\\u0627\\u0631_\\u0641\\u06D0\\u06CB\\u0631\\u0627\\u0644_\\u0645\\u0627\\u0631\\u062A_\\u0626\\u0627\\u067E\\u0631\\u06D0\\u0644_\\u0645\\u0627\\u064A_\\u0626\\u0649\\u064A\\u06C7\\u0646_\\u0626\\u0649\\u064A\\u06C7\\u0644_\\u0626\\u0627\\u06CB\\u063A\\u06C7\\u0633\\u062A_\\u0633\\u06D0\\u0646\\u062A\\u06D5\\u0628\\u0649\\u0631_\\u0626\\u06C6\\u0643\\u062A\\u06D5\\u0628\\u0649\\u0631_\\u0646\\u0648\\u064A\\u0627\\u0628\\u0649\\u0631_\\u062F\\u06D0\\u0643\\u0627\\u0628\\u0649\\u0631".split("_"),weekdays:"\\u064A\\u06D5\\u0643\\u0634\\u06D5\\u0646\\u0628\\u06D5_\\u062F\\u06C8\\u0634\\u06D5\\u0646\\u0628\\u06D5_\\u0633\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5_\\u0686\\u0627\\u0631\\u0634\\u06D5\\u0646\\u0628\\u06D5_\\u067E\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5_\\u062C\\u06C8\\u0645\\u06D5_\\u0634\\u06D5\\u0646\\u0628\\u06D5".split("_"),weekdaysShort:"\\u064A\\u06D5_\\u062F\\u06C8_\\u0633\\u06D5_\\u0686\\u0627_\\u067E\\u06D5_\\u062C\\u06C8_\\u0634\\u06D5".split("_"),weekdaysMin:"\\u064A\\u06D5_\\u062F\\u06C8_\\u0633\\u06D5_\\u0686\\u0627_\\u067E\\u06D5_\\u062C\\u06C8_\\u0634\\u06D5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\\u064A\\u0649\\u0644\\u0649M-\\u0626\\u0627\\u064A\\u0646\\u0649\\u06ADD-\\u0643\\u06C8\\u0646\\u0649",LLL:"YYYY-\\u064A\\u0649\\u0644\\u0649M-\\u0626\\u0627\\u064A\\u0646\\u0649\\u06ADD-\\u0643\\u06C8\\u0646\\u0649\\u060C HH:mm",LLLL:"dddd\\u060C YYYY-\\u064A\\u0649\\u0644\\u0649M-\\u0626\\u0627\\u064A\\u0646\\u0649\\u06ADD-\\u0643\\u06C8\\u0646\\u0649\\u060C HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u064A\\u06D0\\u0631\\u0649\\u0645 \\u0643\\u06D0\\u0686\\u06D5"||r==="\\u0633\\u06D5\\u06BE\\u06D5\\u0631"||r==="\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0628\\u06C7\\u0631\\u06C7\\u0646"?a:r==="\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u06D0\\u064A\\u0649\\u0646"||r==="\\u0643\\u06D5\\u0686"?a+12:a>=11?a:a+12},meridiem:function(a,r,c){var h=100*a+r;return h<600?"\\u064A\\u06D0\\u0631\\u0649\\u0645 \\u0643\\u06D0\\u0686\\u06D5":h<900?"\\u0633\\u06D5\\u06BE\\u06D5\\u0631":h<1130?"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0628\\u06C7\\u0631\\u06C7\\u0646":h<1230?"\\u0686\\u06C8\\u0634":h<1800?"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u06D0\\u064A\\u0649\\u0646":"\\u0643\\u06D5\\u0686"},calendar:{sameDay:"[\\u0628\\u06C8\\u06AF\\u06C8\\u0646 \\u0633\\u0627\\u0626\\u06D5\\u062A] LT",nextDay:"[\\u0626\\u06D5\\u062A\\u06D5 \\u0633\\u0627\\u0626\\u06D5\\u062A] LT",nextWeek:"[\\u0643\\u06D0\\u0644\\u06D5\\u0631\\u0643\\u0649] dddd [\\u0633\\u0627\\u0626\\u06D5\\u062A] LT",lastDay:"[\\u062A\\u06C6\\u0646\\u06C8\\u06AF\\u06C8\\u0646] LT",lastWeek:"[\\u0626\\u0627\\u0644\\u062F\\u0649\\u0646\\u0642\\u0649] dddd [\\u0633\\u0627\\u0626\\u06D5\\u062A] LT",sameElse:"L"},relativeTime:{future:"%s \\u0643\\u06D0\\u064A\\u0649\\u0646",past:"%s \\u0628\\u06C7\\u0631\\u06C7\\u0646",s:"\\u0646\\u06D5\\u0686\\u0686\\u06D5 \\u0633\\u06D0\\u0643\\u0648\\u0646\\u062A",ss:"%d \\u0633\\u06D0\\u0643\\u0648\\u0646\\u062A",m:"\\u0628\\u0649\\u0631 \\u0645\\u0649\\u0646\\u06C7\\u062A",mm:"%d \\u0645\\u0649\\u0646\\u06C7\\u062A",h:"\\u0628\\u0649\\u0631 \\u0633\\u0627\\u0626\\u06D5\\u062A",hh:"%d \\u0633\\u0627\\u0626\\u06D5\\u062A",d:"\\u0628\\u0649\\u0631 \\u0643\\u06C8\\u0646",dd:"%d \\u0643\\u06C8\\u0646",M:"\\u0628\\u0649\\u0631 \\u0626\\u0627\\u064A",MM:"%d \\u0626\\u0627\\u064A",y:"\\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644",yy:"%d \\u064A\\u0649\\u0644"},dayOfMonthOrdinalParse:/\\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(a,r){switch(r){case"d":case"D":case"DDD":return a+"-\\u0643\\u06C8\\u0646\\u0649";case"w":case"W":return a+"-\\u06BE\\u06D5\\u067E\\u062A\\u06D5";default:return a}},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"\\u060C")},week:{dow:1,doy:7}})})(_(9034))},2014:function(p,v,_){(function(g){"use strict";function a(c,h,A){return A==="m"?h?"\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D\\u0430":"\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D\\u0443":A==="h"?h?"\\u0433\\u043E\\u0434\\u0438\\u043D\\u0430":"\\u0433\\u043E\\u0434\\u0438\\u043D\\u0443":c+" "+(S=+c,q={ss:h?"\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0430_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434":"\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0443_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434\\u0438_\\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",mm:h?"\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D\\u0430_\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D\\u0438_\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D":"\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D\\u0443_\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D\\u0438_\\u0445\\u0432\\u0438\\u043B\\u0438\\u043D",hh:h?"\\u0433\\u043E\\u0434\\u0438\\u043D\\u0430_\\u0433\\u043E\\u0434\\u0438\\u043D\\u0438_\\u0433\\u043E\\u0434\\u0438\\u043D":"\\u0433\\u043E\\u0434\\u0438\\u043D\\u0443_\\u0433\\u043E\\u0434\\u0438\\u043D\\u0438_\\u0433\\u043E\\u0434\\u0438\\u043D",dd:"\\u0434\\u0435\\u043D\\u044C_\\u0434\\u043D\\u0456_\\u0434\\u043D\\u0456\\u0432",MM:"\\u043C\\u0456\\u0441\\u044F\\u0446\\u044C_\\u043C\\u0456\\u0441\\u044F\\u0446\\u0456_\\u043C\\u0456\\u0441\\u044F\\u0446\\u0456\\u0432",yy:"\\u0440\\u0456\\u043A_\\u0440\\u043E\\u043A\\u0438_\\u0440\\u043E\\u043A\\u0456\\u0432"}[A].split("_"),S%10==1&&S%100!=11?q[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?q[1]:q[2]);var S,q}function r(c){return function(){return c+"\\u043E"+(this.hours()===11?"\\u0431":"")+"] LT"}}g.defineLocale("uk",{months:{format:"\\u0441\\u0456\\u0447\\u043D\\u044F_\\u043B\\u044E\\u0442\\u043E\\u0433\\u043E_\\u0431\\u0435\\u0440\\u0435\\u0437\\u043D\\u044F_\\u043A\\u0432\\u0456\\u0442\\u043D\\u044F_\\u0442\\u0440\\u0430\\u0432\\u043D\\u044F_\\u0447\\u0435\\u0440\\u0432\\u043D\\u044F_\\u043B\\u0438\\u043F\\u043D\\u044F_\\u0441\\u0435\\u0440\\u043F\\u043D\\u044F_\\u0432\\u0435\\u0440\\u0435\\u0441\\u043D\\u044F_\\u0436\\u043E\\u0432\\u0442\\u043D\\u044F_\\u043B\\u0438\\u0441\\u0442\\u043E\\u043F\\u0430\\u0434\\u0430_\\u0433\\u0440\\u0443\\u0434\\u043D\\u044F".split("_"),standalone:"\\u0441\\u0456\\u0447\\u0435\\u043D\\u044C_\\u043B\\u044E\\u0442\\u0438\\u0439_\\u0431\\u0435\\u0440\\u0435\\u0437\\u0435\\u043D\\u044C_\\u043A\\u0432\\u0456\\u0442\\u0435\\u043D\\u044C_\\u0442\\u0440\\u0430\\u0432\\u0435\\u043D\\u044C_\\u0447\\u0435\\u0440\\u0432\\u0435\\u043D\\u044C_\\u043B\\u0438\\u043F\\u0435\\u043D\\u044C_\\u0441\\u0435\\u0440\\u043F\\u0435\\u043D\\u044C_\\u0432\\u0435\\u0440\\u0435\\u0441\\u0435\\u043D\\u044C_\\u0436\\u043E\\u0432\\u0442\\u0435\\u043D\\u044C_\\u043B\\u0438\\u0441\\u0442\\u043E\\u043F\\u0430\\u0434_\\u0433\\u0440\\u0443\\u0434\\u0435\\u043D\\u044C".split("_")},monthsShort:"\\u0441\\u0456\\u0447_\\u043B\\u044E\\u0442_\\u0431\\u0435\\u0440_\\u043A\\u0432\\u0456\\u0442_\\u0442\\u0440\\u0430\\u0432_\\u0447\\u0435\\u0440\\u0432_\\u043B\\u0438\\u043F_\\u0441\\u0435\\u0440\\u043F_\\u0432\\u0435\\u0440_\\u0436\\u043E\\u0432\\u0442_\\u043B\\u0438\\u0441\\u0442_\\u0433\\u0440\\u0443\\u0434".split("_"),weekdays:function(c,h){var A={nominative:"\\u043D\\u0435\\u0434\\u0456\\u043B\\u044F_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0456\\u043B\\u043E\\u043A_\\u0432\\u0456\\u0432\\u0442\\u043E\\u0440\\u043E\\u043A_\\u0441\\u0435\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440_\\u043F\\u2019\\u044F\\u0442\\u043D\\u0438\\u0446\\u044F_\\u0441\\u0443\\u0431\\u043E\\u0442\\u0430".split("_"),accusative:"\\u043D\\u0435\\u0434\\u0456\\u043B\\u044E_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0456\\u043B\\u043E\\u043A_\\u0432\\u0456\\u0432\\u0442\\u043E\\u0440\\u043E\\u043A_\\u0441\\u0435\\u0440\\u0435\\u0434\\u0443_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440_\\u043F\\u2019\\u044F\\u0442\\u043D\\u0438\\u0446\\u044E_\\u0441\\u0443\\u0431\\u043E\\u0442\\u0443".split("_"),genitive:"\\u043D\\u0435\\u0434\\u0456\\u043B\\u0456_\\u043F\\u043E\\u043D\\u0435\\u0434\\u0456\\u043B\\u043A\\u0430_\\u0432\\u0456\\u0432\\u0442\\u043E\\u0440\\u043A\\u0430_\\u0441\\u0435\\u0440\\u0435\\u0434\\u0438_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\\u0430_\\u043F\\u2019\\u044F\\u0442\\u043D\\u0438\\u0446\\u0456_\\u0441\\u0443\\u0431\\u043E\\u0442\\u0438".split("_")};return c===!0?A.nominative.slice(1,7).concat(A.nominative.slice(0,1)):c?A[/(\\[[ВвУу]\\]) ?dddd/.test(h)?"accusative":/\\[?(?:минулої|наступної)? ?\\] ?dddd/.test(h)?"genitive":"nominative"][c.day()]:A.nominative},weekdaysShort:"\\u043D\\u0434_\\u043F\\u043D_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043F\\u0442_\\u0441\\u0431".split("_"),weekdaysMin:"\\u043D\\u0434_\\u043F\\u043D_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043F\\u0442_\\u0441\\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \\u0440.",LLL:"D MMMM YYYY \\u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \\u0440., HH:mm"},calendar:{sameDay:r("[\\u0421\\u044C\\u043E\\u0433\\u043E\\u0434\\u043D\\u0456 "),nextDay:r("[\\u0417\\u0430\\u0432\\u0442\\u0440\\u0430 "),lastDay:r("[\\u0412\\u0447\\u043E\\u0440\\u0430 "),nextWeek:r("[\\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[\\u041C\\u0438\\u043D\\u0443\\u043B\\u043E\\u0457] dddd [").call(this);case 1:case 2:case 4:return r("[\\u041C\\u0438\\u043D\\u0443\\u043B\\u043E\\u0433\\u043E] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\\u0437\\u0430 %s",past:"%s \\u0442\\u043E\\u043C\\u0443",s:"\\u0434\\u0435\\u043A\\u0456\\u043B\\u044C\\u043A\\u0430 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434",ss:a,m:a,mm:a,h:"\\u0433\\u043E\\u0434\\u0438\\u043D\\u0443",hh:a,d:"\\u0434\\u0435\\u043D\\u044C",dd:a,M:"\\u043C\\u0456\\u0441\\u044F\\u0446\\u044C",MM:a,y:"\\u0440\\u0456\\u043A",yy:a},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(c){return/^(дня|вечора)$/.test(c)},meridiem:function(c,h,A){return c<4?"\\u043D\\u043E\\u0447\\u0456":c<12?"\\u0440\\u0430\\u043D\\u043A\\u0443":c<17?"\\u0434\\u043D\\u044F":"\\u0432\\u0435\\u0447\\u043E\\u0440\\u0430"},dayOfMonthOrdinalParse:/\\d{1,2}-(й|го)/,ordinal:function(c,h){switch(h){case"M":case"d":case"DDD":case"w":case"W":return c+"-\\u0439";case"D":return c+"-\\u0433\\u043E";default:return c}},week:{dow:1,doy:7}})})(_(9034))},5953:function(p,v,_){(function(g){"use strict";var a=["\\u062C\\u0646\\u0648\\u0631\\u06CC","\\u0641\\u0631\\u0648\\u0631\\u06CC","\\u0645\\u0627\\u0631\\u0686","\\u0627\\u067E\\u0631\\u06CC\\u0644","\\u0645\\u0626\\u06CC","\\u062C\\u0648\\u0646","\\u062C\\u0648\\u0644\\u0627\\u0626\\u06CC","\\u0627\\u06AF\\u0633\\u062A","\\u0633\\u062A\\u0645\\u0628\\u0631","\\u0627\\u06A9\\u062A\\u0648\\u0628\\u0631","\\u0646\\u0648\\u0645\\u0628\\u0631","\\u062F\\u0633\\u0645\\u0628\\u0631"],r=["\\u0627\\u062A\\u0648\\u0627\\u0631","\\u067E\\u06CC\\u0631","\\u0645\\u0646\\u06AF\\u0644","\\u0628\\u062F\\u06BE","\\u062C\\u0645\\u0639\\u0631\\u0627\\u062A","\\u062C\\u0645\\u0639\\u06C1","\\u06C1\\u0641\\u062A\\u06C1"];g.defineLocale("ur",{months:a,monthsShort:a,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\\u060C D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(c){return c==="\\u0634\\u0627\\u0645"},meridiem:function(c,h,A){return c<12?"\\u0635\\u0628\\u062D":"\\u0634\\u0627\\u0645"},calendar:{sameDay:"[\\u0622\\u062C \\u0628\\u0648\\u0642\\u062A] LT",nextDay:"[\\u06A9\\u0644 \\u0628\\u0648\\u0642\\u062A] LT",nextWeek:"dddd [\\u0628\\u0648\\u0642\\u062A] LT",lastDay:"[\\u06AF\\u0630\\u0634\\u062A\\u06C1 \\u0631\\u0648\\u0632 \\u0628\\u0648\\u0642\\u062A] LT",lastWeek:"[\\u06AF\\u0630\\u0634\\u062A\\u06C1] dddd [\\u0628\\u0648\\u0642\\u062A] LT",sameElse:"L"},relativeTime:{future:"%s \\u0628\\u0639\\u062F",past:"%s \\u0642\\u0628\\u0644",s:"\\u0686\\u0646\\u062F \\u0633\\u06CC\\u06A9\\u0646\\u0688",ss:"%d \\u0633\\u06CC\\u06A9\\u0646\\u0688",m:"\\u0627\\u06CC\\u06A9 \\u0645\\u0646\\u0679",mm:"%d \\u0645\\u0646\\u0679",h:"\\u0627\\u06CC\\u06A9 \\u06AF\\u06BE\\u0646\\u0679\\u06C1",hh:"%d \\u06AF\\u06BE\\u0646\\u0679\\u06D2",d:"\\u0627\\u06CC\\u06A9 \\u062F\\u0646",dd:"%d \\u062F\\u0646",M:"\\u0627\\u06CC\\u06A9 \\u0645\\u0627\\u06C1",MM:"%d \\u0645\\u0627\\u06C1",y:"\\u0627\\u06CC\\u06A9 \\u0633\\u0627\\u0644",yy:"%d \\u0633\\u0627\\u0644"},preparse:function(c){return c.replace(/،/g,",")},postformat:function(c){return c.replace(/,/g,"\\u060C")},week:{dow:1,doy:4}})})(_(9034))},7791:function(p,v,_){(function(g){"use strict";g.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O\'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})})(_(9034))},9716:function(p,v,_){(function(g){"use strict";g.defineLocale("uz",{months:"\\u044F\\u043D\\u0432\\u0430\\u0440_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043B_\\u043C\\u0430\\u0440\\u0442_\\u0430\\u043F\\u0440\\u0435\\u043B_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D_\\u0438\\u044E\\u043B_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043D\\u0442\\u044F\\u0431\\u0440_\\u043E\\u043A\\u0442\\u044F\\u0431\\u0440_\\u043D\\u043E\\u044F\\u0431\\u0440_\\u0434\\u0435\\u043A\\u0430\\u0431\\u0440".split("_"),monthsShort:"\\u044F\\u043D\\u0432_\\u0444\\u0435\\u0432_\\u043C\\u0430\\u0440_\\u0430\\u043F\\u0440_\\u043C\\u0430\\u0439_\\u0438\\u044E\\u043D_\\u0438\\u044E\\u043B_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043D_\\u043E\\u043A\\u0442_\\u043D\\u043E\\u044F_\\u0434\\u0435\\u043A".split("_"),weekdays:"\\u042F\\u043A\\u0448\\u0430\\u043D\\u0431\\u0430_\\u0414\\u0443\\u0448\\u0430\\u043D\\u0431\\u0430_\\u0421\\u0435\\u0448\\u0430\\u043D\\u0431\\u0430_\\u0427\\u043E\\u0440\\u0448\\u0430\\u043D\\u0431\\u0430_\\u041F\\u0430\\u0439\\u0448\\u0430\\u043D\\u0431\\u0430_\\u0416\\u0443\\u043C\\u0430_\\u0428\\u0430\\u043D\\u0431\\u0430".split("_"),weekdaysShort:"\\u042F\\u043A\\u0448_\\u0414\\u0443\\u0448_\\u0421\\u0435\\u0448_\\u0427\\u043E\\u0440_\\u041F\\u0430\\u0439_\\u0416\\u0443\\u043C_\\u0428\\u0430\\u043D".split("_"),weekdaysMin:"\\u042F\\u043A_\\u0414\\u0443_\\u0421\\u0435_\\u0427\\u043E_\\u041F\\u0430_\\u0416\\u0443_\\u0428\\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\\u0411\\u0443\\u0433\\u0443\\u043D \\u0441\\u043E\\u0430\\u0442] LT [\\u0434\\u0430]",nextDay:"[\\u042D\\u0440\\u0442\\u0430\\u0433\\u0430] LT [\\u0434\\u0430]",nextWeek:"dddd [\\u043A\\u0443\\u043D\\u0438 \\u0441\\u043E\\u0430\\u0442] LT [\\u0434\\u0430]",lastDay:"[\\u041A\\u0435\\u0447\\u0430 \\u0441\\u043E\\u0430\\u0442] LT [\\u0434\\u0430]",lastWeek:"[\\u0423\\u0442\\u0433\\u0430\\u043D] dddd [\\u043A\\u0443\\u043D\\u0438 \\u0441\\u043E\\u0430\\u0442] LT [\\u0434\\u0430]",sameElse:"L"},relativeTime:{future:"\\u042F\\u043A\\u0438\\u043D %s \\u0438\\u0447\\u0438\\u0434\\u0430",past:"\\u0411\\u0438\\u0440 \\u043D\\u0435\\u0447\\u0430 %s \\u043E\\u043B\\u0434\\u0438\\u043D",s:"\\u0444\\u0443\\u0440\\u0441\\u0430\\u0442",ss:"%d \\u0444\\u0443\\u0440\\u0441\\u0430\\u0442",m:"\\u0431\\u0438\\u0440 \\u0434\\u0430\\u043A\\u0438\\u043A\\u0430",mm:"%d \\u0434\\u0430\\u043A\\u0438\\u043A\\u0430",h:"\\u0431\\u0438\\u0440 \\u0441\\u043E\\u0430\\u0442",hh:"%d \\u0441\\u043E\\u0430\\u0442",d:"\\u0431\\u0438\\u0440 \\u043A\\u0443\\u043D",dd:"%d \\u043A\\u0443\\u043D",M:"\\u0431\\u0438\\u0440 \\u043E\\u0439",MM:"%d \\u043E\\u0439",y:"\\u0431\\u0438\\u0440 \\u0439\\u0438\\u043B",yy:"%d \\u0439\\u0438\\u043B"},week:{dow:1,doy:7}})})(_(9034))},9816:function(p,v,_){(function(g){"use strict";g.defineLocale("vi",{months:"th\\xE1ng 1_th\\xE1ng 2_th\\xE1ng 3_th\\xE1ng 4_th\\xE1ng 5_th\\xE1ng 6_th\\xE1ng 7_th\\xE1ng 8_th\\xE1ng 9_th\\xE1ng 10_th\\xE1ng 11_th\\xE1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\\u1EE7 nh\\u1EADt_th\\u1EE9 hai_th\\u1EE9 ba_th\\u1EE9 t\\u01B0_th\\u1EE9 n\\u0103m_th\\u1EE9 s\\xE1u_th\\u1EE9 b\\u1EA3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(a){return/^ch$/i.test(a)},meridiem:function(a,r,c){return a<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\\u0103m] YYYY",LLL:"D MMMM [n\\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\\xF4m nay l\\xFAc] LT",nextDay:"[Ng\\xE0y mai l\\xFAc] LT",nextWeek:"dddd [tu\\u1EA7n t\\u1EDBi l\\xFAc] LT",lastDay:"[H\\xF4m qua l\\xFAc] LT",lastWeek:"dddd [tu\\u1EA7n tr\\u01B0\\u1EDBc l\\xFAc] LT",sameElse:"L"},relativeTime:{future:"%s t\\u1EDBi",past:"%s tr\\u01B0\\u1EDBc",s:"v\\xE0i gi\\xE2y",ss:"%d gi\\xE2y",m:"m\\u1ED9t ph\\xFAt",mm:"%d ph\\xFAt",h:"m\\u1ED9t gi\\u1EDD",hh:"%d gi\\u1EDD",d:"m\\u1ED9t ng\\xE0y",dd:"%d ng\\xE0y",w:"m\\u1ED9t tu\\u1EA7n",ww:"%d tu\\u1EA7n",M:"m\\u1ED9t th\\xE1ng",MM:"%d th\\xE1ng",y:"m\\u1ED9t n\\u0103m",yy:"%d n\\u0103m"},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}})})(_(9034))},4450:function(p,v,_){(function(g){"use strict";g.defineLocale("x-pseudo",{months:"J~\\xE1\\xF1\\xFA\\xE1~r\\xFD_F~\\xE9br\\xFA~\\xE1r\\xFD_~M\\xE1rc~h_\\xC1p~r\\xEDl_~M\\xE1\\xFD_~J\\xFA\\xF1\\xE9~_J\\xFAl~\\xFD_\\xC1\\xFA~g\\xFAst~_S\\xE9p~t\\xE9mb~\\xE9r_\\xD3~ct\\xF3b~\\xE9r_\\xD1~\\xF3v\\xE9m~b\\xE9r_~D\\xE9c\\xE9~mb\\xE9r".split("_"),monthsShort:"J~\\xE1\\xF1_~F\\xE9b_~M\\xE1r_~\\xC1pr_~M\\xE1\\xFD_~J\\xFA\\xF1_~J\\xFAl_~\\xC1\\xFAg_~S\\xE9p_~\\xD3ct_~\\xD1\\xF3v_~D\\xE9c".split("_"),monthsParseExact:!0,weekdays:"S~\\xFA\\xF1d\\xE1~\\xFD_M\\xF3~\\xF1d\\xE1\\xFD~_T\\xFA\\xE9~sd\\xE1\\xFD~_W\\xE9d~\\xF1\\xE9sd~\\xE1\\xFD_T~h\\xFArs~d\\xE1\\xFD_~Fr\\xEDd~\\xE1\\xFD_S~\\xE1t\\xFAr~d\\xE1\\xFD".split("_"),weekdaysShort:"S~\\xFA\\xF1_~M\\xF3\\xF1_~T\\xFA\\xE9_~W\\xE9d_~Th\\xFA_~Fr\\xED_~S\\xE1t".split("_"),weekdaysMin:"S~\\xFA_M\\xF3~_T\\xFA_~W\\xE9_T~h_Fr~_S\\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\\xF3d\\xE1~\\xFD \\xE1t] LT",nextDay:"[T~\\xF3m\\xF3~rr\\xF3~w \\xE1t] LT",nextWeek:"dddd [\\xE1t] LT",lastDay:"[\\xDD~\\xE9st~\\xE9rd\\xE1~\\xFD \\xE1t] LT",lastWeek:"[L~\\xE1st] dddd [\\xE1t] LT",sameElse:"L"},relativeTime:{future:"\\xED~\\xF1 %s",past:"%s \\xE1~g\\xF3",s:"\\xE1 ~f\\xE9w ~s\\xE9c\\xF3~\\xF1ds",ss:"%d s~\\xE9c\\xF3\\xF1~ds",m:"\\xE1 ~m\\xED\\xF1~\\xFAt\\xE9",mm:"%d m~\\xED\\xF1\\xFA~t\\xE9s",h:"\\xE1~\\xF1 h\\xF3~\\xFAr",hh:"%d h~\\xF3\\xFArs",d:"\\xE1 ~d\\xE1\\xFD",dd:"%d d~\\xE1\\xFDs",M:"\\xE1 ~m\\xF3\\xF1~th",MM:"%d m~\\xF3\\xF1t~hs",y:"\\xE1 ~\\xFD\\xE9\\xE1r",yy:"%d \\xFD~\\xE9\\xE1rs"},dayOfMonthOrdinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var r=a%10;return a+(~~(a%100/10)==1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th")},week:{dow:1,doy:4}})})(_(9034))},2556:function(p,v,_){(function(g){"use strict";g.defineLocale("yo",{months:"S\\u1EB9\\u0301r\\u1EB9\\u0301_E\\u0300re\\u0300le\\u0300_\\u1EB8r\\u1EB9\\u0300na\\u0300_I\\u0300gbe\\u0301_E\\u0300bibi_O\\u0300ku\\u0300du_Ag\\u1EB9mo_O\\u0300gu\\u0301n_Owewe_\\u1ECC\\u0300wa\\u0300ra\\u0300_Be\\u0301lu\\u0301_\\u1ECC\\u0300p\\u1EB9\\u0300\\u0300".split("_"),monthsShort:"S\\u1EB9\\u0301r_E\\u0300rl_\\u1EB8rn_I\\u0300gb_E\\u0300bi_O\\u0300ku\\u0300_Ag\\u1EB9_O\\u0300gu\\u0301_Owe_\\u1ECC\\u0300wa\\u0300_Be\\u0301l_\\u1ECC\\u0300p\\u1EB9\\u0300\\u0300".split("_"),weekdays:"A\\u0300i\\u0300ku\\u0301_Aje\\u0301_I\\u0300s\\u1EB9\\u0301gun_\\u1ECCj\\u1ECD\\u0301ru\\u0301_\\u1ECCj\\u1ECD\\u0301b\\u1ECD_\\u1EB8ti\\u0300_A\\u0300ba\\u0301m\\u1EB9\\u0301ta".split("_"),weekdaysShort:"A\\u0300i\\u0300k_Aje\\u0301_I\\u0300s\\u1EB9\\u0301_\\u1ECCjr_\\u1ECCjb_\\u1EB8ti\\u0300_A\\u0300ba\\u0301".split("_"),weekdaysMin:"A\\u0300i\\u0300_Aj_I\\u0300s_\\u1ECCr_\\u1ECCb_\\u1EB8t_A\\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\\u0300ni\\u0300 ni] LT",nextDay:"[\\u1ECC\\u0300la ni] LT",nextWeek:"dddd [\\u1ECCs\\u1EB9\\u0300 to\\u0301n\'b\\u1ECD] [ni] LT",lastDay:"[A\\u0300na ni] LT",lastWeek:"dddd [\\u1ECCs\\u1EB9\\u0300 to\\u0301l\\u1ECD\\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\\u0301 %s",past:"%s k\\u1ECDja\\u0301",s:"i\\u0300s\\u1EB9ju\\u0301 aaya\\u0301 die",ss:"aaya\\u0301 %d",m:"i\\u0300s\\u1EB9ju\\u0301 kan",mm:"i\\u0300s\\u1EB9ju\\u0301 %d",h:"wa\\u0301kati kan",hh:"wa\\u0301kati %d",d:"\\u1ECDj\\u1ECD\\u0301 kan",dd:"\\u1ECDj\\u1ECD\\u0301 %d",M:"osu\\u0300 kan",MM:"osu\\u0300 %d",y:"\\u1ECDdu\\u0301n kan",yy:"\\u1ECDdu\\u0301n %d"},dayOfMonthOrdinalParse:/ọjọ́\\s\\d{1,2}/,ordinal:"\\u1ECDj\\u1ECD\\u0301 %d",week:{dow:1,doy:4}})})(_(9034))},7414:function(p,v,_){(function(g){"use strict";g.defineLocale("zh-cn",{months:"\\u4E00\\u6708_\\u4E8C\\u6708_\\u4E09\\u6708_\\u56DB\\u6708_\\u4E94\\u6708_\\u516D\\u6708_\\u4E03\\u6708_\\u516B\\u6708_\\u4E5D\\u6708_\\u5341\\u6708_\\u5341\\u4E00\\u6708_\\u5341\\u4E8C\\u6708".split("_"),monthsShort:"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708".split("_"),weekdays:"\\u661F\\u671F\\u65E5_\\u661F\\u671F\\u4E00_\\u661F\\u671F\\u4E8C_\\u661F\\u671F\\u4E09_\\u661F\\u671F\\u56DB_\\u661F\\u671F\\u4E94_\\u661F\\u671F\\u516D".split("_"),weekdaysShort:"\\u5468\\u65E5_\\u5468\\u4E00_\\u5468\\u4E8C_\\u5468\\u4E09_\\u5468\\u56DB_\\u5468\\u4E94_\\u5468\\u516D".split("_"),weekdaysMin:"\\u65E5_\\u4E00_\\u4E8C_\\u4E09_\\u56DB_\\u4E94_\\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\\u5E74M\\u6708D\\u65E5",LLL:"YYYY\\u5E74M\\u6708D\\u65E5Ah\\u70B9mm\\u5206",LLLL:"YYYY\\u5E74M\\u6708D\\u65E5ddddAh\\u70B9mm\\u5206",l:"YYYY/M/D",ll:"YYYY\\u5E74M\\u6708D\\u65E5",lll:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",llll:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u51CC\\u6668"||r==="\\u65E9\\u4E0A"||r==="\\u4E0A\\u5348"?a:r==="\\u4E0B\\u5348"||r==="\\u665A\\u4E0A"?a+12:a>=11?a:a+12},meridiem:function(a,r,c){var h=100*a+r;return h<600?"\\u51CC\\u6668":h<900?"\\u65E9\\u4E0A":h<1130?"\\u4E0A\\u5348":h<1230?"\\u4E2D\\u5348":h<1800?"\\u4E0B\\u5348":"\\u665A\\u4E0A"},calendar:{sameDay:"[\\u4ECA\\u5929]LT",nextDay:"[\\u660E\\u5929]LT",nextWeek:function(a){return a.week()!==this.week()?"[\\u4E0B]dddLT":"[\\u672C]dddLT"},lastDay:"[\\u6628\\u5929]LT",lastWeek:function(a){return this.week()!==a.week()?"[\\u4E0A]dddLT":"[\\u672C]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\\d{1,2}(日|月|周)/,ordinal:function(a,r){switch(r){case"d":case"D":case"DDD":return a+"\\u65E5";case"M":return a+"\\u6708";case"w":case"W":return a+"\\u5468";default:return a}},relativeTime:{future:"%s\\u540E",past:"%s\\u524D",s:"\\u51E0\\u79D2",ss:"%d \\u79D2",m:"1 \\u5206\\u949F",mm:"%d \\u5206\\u949F",h:"1 \\u5C0F\\u65F6",hh:"%d \\u5C0F\\u65F6",d:"1 \\u5929",dd:"%d \\u5929",w:"1 \\u5468",ww:"%d \\u5468",M:"1 \\u4E2A\\u6708",MM:"%d \\u4E2A\\u6708",y:"1 \\u5E74",yy:"%d \\u5E74"},week:{dow:1,doy:4}})})(_(9034))},824:function(p,v,_){(function(g){"use strict";g.defineLocale("zh-hk",{months:"\\u4E00\\u6708_\\u4E8C\\u6708_\\u4E09\\u6708_\\u56DB\\u6708_\\u4E94\\u6708_\\u516D\\u6708_\\u4E03\\u6708_\\u516B\\u6708_\\u4E5D\\u6708_\\u5341\\u6708_\\u5341\\u4E00\\u6708_\\u5341\\u4E8C\\u6708".split("_"),monthsShort:"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708".split("_"),weekdays:"\\u661F\\u671F\\u65E5_\\u661F\\u671F\\u4E00_\\u661F\\u671F\\u4E8C_\\u661F\\u671F\\u4E09_\\u661F\\u671F\\u56DB_\\u661F\\u671F\\u4E94_\\u661F\\u671F\\u516D".split("_"),weekdaysShort:"\\u9031\\u65E5_\\u9031\\u4E00_\\u9031\\u4E8C_\\u9031\\u4E09_\\u9031\\u56DB_\\u9031\\u4E94_\\u9031\\u516D".split("_"),weekdaysMin:"\\u65E5_\\u4E00_\\u4E8C_\\u4E09_\\u56DB_\\u4E94_\\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\\u5E74M\\u6708D\\u65E5",LLL:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",LLLL:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\\u5E74M\\u6708D\\u65E5",lll:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",llll:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u51CC\\u6668"||r==="\\u65E9\\u4E0A"||r==="\\u4E0A\\u5348"?a:r==="\\u4E2D\\u5348"?a>=11?a:a+12:r==="\\u4E0B\\u5348"||r==="\\u665A\\u4E0A"?a+12:void 0},meridiem:function(a,r,c){var h=100*a+r;return h<600?"\\u51CC\\u6668":h<900?"\\u65E9\\u4E0A":h<1200?"\\u4E0A\\u5348":h===1200?"\\u4E2D\\u5348":h<1800?"\\u4E0B\\u5348":"\\u665A\\u4E0A"},calendar:{sameDay:"[\\u4ECA\\u5929]LT",nextDay:"[\\u660E\\u5929]LT",nextWeek:"[\\u4E0B]ddddLT",lastDay:"[\\u6628\\u5929]LT",lastWeek:"[\\u4E0A]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\\d{1,2}(日|月|週)/,ordinal:function(a,r){switch(r){case"d":case"D":case"DDD":return a+"\\u65E5";case"M":return a+"\\u6708";case"w":case"W":return a+"\\u9031";default:return a}},relativeTime:{future:"%s\\u5F8C",past:"%s\\u524D",s:"\\u5E7E\\u79D2",ss:"%d \\u79D2",m:"1 \\u5206\\u9418",mm:"%d \\u5206\\u9418",h:"1 \\u5C0F\\u6642",hh:"%d \\u5C0F\\u6642",d:"1 \\u5929",dd:"%d \\u5929",M:"1 \\u500B\\u6708",MM:"%d \\u500B\\u6708",y:"1 \\u5E74",yy:"%d \\u5E74"}})})(_(9034))},8589:function(p,v,_){(function(g){"use strict";g.defineLocale("zh-mo",{months:"\\u4E00\\u6708_\\u4E8C\\u6708_\\u4E09\\u6708_\\u56DB\\u6708_\\u4E94\\u6708_\\u516D\\u6708_\\u4E03\\u6708_\\u516B\\u6708_\\u4E5D\\u6708_\\u5341\\u6708_\\u5341\\u4E00\\u6708_\\u5341\\u4E8C\\u6708".split("_"),monthsShort:"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708".split("_"),weekdays:"\\u661F\\u671F\\u65E5_\\u661F\\u671F\\u4E00_\\u661F\\u671F\\u4E8C_\\u661F\\u671F\\u4E09_\\u661F\\u671F\\u56DB_\\u661F\\u671F\\u4E94_\\u661F\\u671F\\u516D".split("_"),weekdaysShort:"\\u9031\\u65E5_\\u9031\\u4E00_\\u9031\\u4E8C_\\u9031\\u4E09_\\u9031\\u56DB_\\u9031\\u4E94_\\u9031\\u516D".split("_"),weekdaysMin:"\\u65E5_\\u4E00_\\u4E8C_\\u4E09_\\u56DB_\\u4E94_\\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\\u5E74M\\u6708D\\u65E5",LLL:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",LLLL:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\\u5E74M\\u6708D\\u65E5",lll:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",llll:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u51CC\\u6668"||r==="\\u65E9\\u4E0A"||r==="\\u4E0A\\u5348"?a:r==="\\u4E2D\\u5348"?a>=11?a:a+12:r==="\\u4E0B\\u5348"||r==="\\u665A\\u4E0A"?a+12:void 0},meridiem:function(a,r,c){var h=100*a+r;return h<600?"\\u51CC\\u6668":h<900?"\\u65E9\\u4E0A":h<1130?"\\u4E0A\\u5348":h<1230?"\\u4E2D\\u5348":h<1800?"\\u4E0B\\u5348":"\\u665A\\u4E0A"},calendar:{sameDay:"[\\u4ECA\\u5929] LT",nextDay:"[\\u660E\\u5929] LT",nextWeek:"[\\u4E0B]dddd LT",lastDay:"[\\u6628\\u5929] LT",lastWeek:"[\\u4E0A]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\\d{1,2}(日|月|週)/,ordinal:function(a,r){switch(r){case"d":case"D":case"DDD":return a+"\\u65E5";case"M":return a+"\\u6708";case"w":case"W":return a+"\\u9031";default:return a}},relativeTime:{future:"%s\\u5167",past:"%s\\u524D",s:"\\u5E7E\\u79D2",ss:"%d \\u79D2",m:"1 \\u5206\\u9418",mm:"%d \\u5206\\u9418",h:"1 \\u5C0F\\u6642",hh:"%d \\u5C0F\\u6642",d:"1 \\u5929",dd:"%d \\u5929",M:"1 \\u500B\\u6708",MM:"%d \\u500B\\u6708",y:"1 \\u5E74",yy:"%d \\u5E74"}})})(_(9034))},3285:function(p,v,_){(function(g){"use strict";g.defineLocale("zh-tw",{months:"\\u4E00\\u6708_\\u4E8C\\u6708_\\u4E09\\u6708_\\u56DB\\u6708_\\u4E94\\u6708_\\u516D\\u6708_\\u4E03\\u6708_\\u516B\\u6708_\\u4E5D\\u6708_\\u5341\\u6708_\\u5341\\u4E00\\u6708_\\u5341\\u4E8C\\u6708".split("_"),monthsShort:"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708".split("_"),weekdays:"\\u661F\\u671F\\u65E5_\\u661F\\u671F\\u4E00_\\u661F\\u671F\\u4E8C_\\u661F\\u671F\\u4E09_\\u661F\\u671F\\u56DB_\\u661F\\u671F\\u4E94_\\u661F\\u671F\\u516D".split("_"),weekdaysShort:"\\u9031\\u65E5_\\u9031\\u4E00_\\u9031\\u4E8C_\\u9031\\u4E09_\\u9031\\u56DB_\\u9031\\u4E94_\\u9031\\u516D".split("_"),weekdaysMin:"\\u65E5_\\u4E00_\\u4E8C_\\u4E09_\\u56DB_\\u4E94_\\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\\u5E74M\\u6708D\\u65E5",LLL:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",LLLL:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\\u5E74M\\u6708D\\u65E5",lll:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm",llll:"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,r){return a===12&&(a=0),r==="\\u51CC\\u6668"||r==="\\u65E9\\u4E0A"||r==="\\u4E0A\\u5348"?a:r==="\\u4E2D\\u5348"?a>=11?a:a+12:r==="\\u4E0B\\u5348"||r==="\\u665A\\u4E0A"?a+12:void 0},meridiem:function(a,r,c){var h=100*a+r;return h<600?"\\u51CC\\u6668":h<900?"\\u65E9\\u4E0A":h<1130?"\\u4E0A\\u5348":h<1230?"\\u4E2D\\u5348":h<1800?"\\u4E0B\\u5348":"\\u665A\\u4E0A"},calendar:{sameDay:"[\\u4ECA\\u5929] LT",nextDay:"[\\u660E\\u5929] LT",nextWeek:"[\\u4E0B]dddd LT",lastDay:"[\\u6628\\u5929] LT",lastWeek:"[\\u4E0A]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\\d{1,2}(日|月|週)/,ordinal:function(a,r){switch(r){case"d":case"D":case"DDD":return a+"\\u65E5";case"M":return a+"\\u6708";case"w":case"W":return a+"\\u9031";default:return a}},relativeTime:{future:"%s\\u5F8C",past:"%s\\u524D",s:"\\u5E7E\\u79D2",ss:"%d \\u79D2",m:"1 \\u5206\\u9418",mm:"%d \\u5206\\u9418",h:"1 \\u5C0F\\u6642",hh:"%d \\u5C0F\\u6642",d:"1 \\u5929",dd:"%d \\u5929",M:"1 \\u500B\\u6708",MM:"%d \\u500B\\u6708",y:"1 \\u5E74",yy:"%d \\u5E74"}})})(_(9034))},6616:(p,v,_)=>{var g={"./af":5191,"./af.js":5191,"./ar":4358,"./ar-dz":1727,"./ar-dz.js":1727,"./ar-kw":8279,"./ar-kw.js":8279,"./ar-ly":7895,"./ar-ly.js":7895,"./ar-ma":1987,"./ar-ma.js":1987,"./ar-sa":2796,"./ar-sa.js":2796,"./ar-tn":2386,"./ar-tn.js":2386,"./ar.js":4358,"./az":7452,"./az.js":7452,"./be":9053,"./be.js":9053,"./bg":5428,"./bg.js":5428,"./bm":1569,"./bm.js":1569,"./bn":6212,"./bn-bd":4635,"./bn-bd.js":4635,"./bn.js":6212,"./bo":3667,"./bo.js":3667,"./br":192,"./br.js":192,"./bs":1802,"./bs.js":1802,"./ca":9118,"./ca.js":9118,"./cs":9990,"./cs.js":9990,"./cv":557,"./cv.js":557,"./cy":4227,"./cy.js":4227,"./da":5406,"./da.js":5406,"./de":7994,"./de-at":4139,"./de-at.js":4139,"./de-ch":6591,"./de-ch.js":6591,"./de.js":7994,"./dv":4649,"./dv.js":4649,"./el":4453,"./el.js":4453,"./en-au":8428,"./en-au.js":8428,"./en-ca":6972,"./en-ca.js":6972,"./en-gb":3224,"./en-gb.js":3224,"./en-ie":8843,"./en-ie.js":8843,"./en-il":2732,"./en-il.js":2732,"./en-in":6579,"./en-in.js":6579,"./en-nz":9851,"./en-nz.js":9851,"./en-sg":442,"./en-sg.js":442,"./eo":654,"./eo.js":654,"./es":3621,"./es-do":8791,"./es-do.js":8791,"./es-mx":7278,"./es-mx.js":7278,"./es-us":717,"./es-us.js":717,"./es.js":3621,"./et":2404,"./et.js":2404,"./eu":2944,"./eu.js":2944,"./fa":496,"./fa.js":496,"./fi":8137,"./fi.js":8137,"./fil":2872,"./fil.js":2872,"./fo":6545,"./fo.js":6545,"./fr":9090,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2338,"./fr-ch.js":2338,"./fr.js":9090,"./fy":5088,"./fy.js":5088,"./ga":7812,"./ga.js":7812,"./gd":8374,"./gd.js":8374,"./gl":3649,"./gl.js":3649,"./gom-deva":2674,"./gom-deva.js":2674,"./gom-latn":4948,"./gom-latn.js":4948,"./gu":4033,"./gu.js":4033,"./he":175,"./he.js":175,"./hi":8055,"./hi.js":8055,"./hr":1678,"./hr.js":1678,"./hu":5111,"./hu.js":5111,"./hy-am":6530,"./hy-am.js":6530,"./id":9126,"./id.js":9126,"./is":1696,"./is.js":1696,"./it":8710,"./it-ch":8821,"./it-ch.js":8821,"./it.js":8710,"./ja":3974,"./ja.js":3974,"./jv":648,"./jv.js":648,"./ka":4731,"./ka.js":4731,"./kk":3501,"./kk.js":3501,"./km":4398,"./km.js":4398,"./kn":1825,"./kn.js":1825,"./ko":3729,"./ko.js":3729,"./ku":9670,"./ku.js":9670,"./ky":8797,"./ky.js":8797,"./lb":627,"./lb.js":627,"./lo":5859,"./lo.js":5859,"./lt":355,"./lt.js":355,"./lv":6594,"./lv.js":6594,"./me":5324,"./me.js":5324,"./mi":1689,"./mi.js":1689,"./mk":1308,"./mk.js":1308,"./ml":5241,"./ml.js":5241,"./mn":6320,"./mn.js":6320,"./mr":6771,"./mr.js":6771,"./ms":503,"./ms-my":7748,"./ms-my.js":7748,"./ms.js":503,"./mt":5534,"./mt.js":5534,"./my":2727,"./my.js":2727,"./nb":7550,"./nb.js":7550,"./ne":9899,"./ne.js":9899,"./nl":1228,"./nl-be":1225,"./nl-be.js":1225,"./nl.js":1228,"./nn":7130,"./nn.js":7130,"./oc-lnc":3130,"./oc-lnc.js":3130,"./pa-in":1282,"./pa-in.js":1282,"./pl":8190,"./pl.js":8190,"./pt":1549,"./pt-br":8135,"./pt-br.js":8135,"./pt.js":1549,"./ro":307,"./ro.js":307,"./ru":9272,"./ru.js":9272,"./sd":9248,"./sd.js":9248,"./se":4969,"./se.js":4969,"./si":5522,"./si.js":5522,"./sk":1581,"./sk.js":1581,"./sl":6428,"./sl.js":6428,"./sq":4611,"./sq.js":4611,"./sr":9821,"./sr-cyrl":185,"./sr-cyrl.js":185,"./sr.js":9821,"./ss":5029,"./ss.js":5029,"./sv":939,"./sv.js":939,"./sw":3107,"./sw.js":3107,"./ta":2304,"./ta.js":2304,"./te":2550,"./te.js":2550,"./tet":9717,"./tet.js":9717,"./tg":7669,"./tg.js":7669,"./th":4959,"./th.js":4959,"./tk":2661,"./tk.js":2661,"./tl-ph":2234,"./tl-ph.js":2234,"./tlh":4120,"./tlh.js":4120,"./tr":1111,"./tr.js":1111,"./tzl":3080,"./tzl.js":3080,"./tzm":8246,"./tzm-latn":5385,"./tzm-latn.js":5385,"./tzm.js":8246,"./ug-cn":8777,"./ug-cn.js":8777,"./uk":2014,"./uk.js":2014,"./ur":5953,"./ur.js":5953,"./uz":9716,"./uz-latn":7791,"./uz-latn.js":7791,"./uz.js":9716,"./vi":9816,"./vi.js":9816,"./x-pseudo":4450,"./x-pseudo.js":4450,"./yo":2556,"./yo.js":2556,"./zh-cn":7414,"./zh-cn.js":7414,"./zh-hk":824,"./zh-hk.js":824,"./zh-mo":8589,"./zh-mo.js":8589,"./zh-tw":3285,"./zh-tw.js":3285};function a(c){var h=r(c);return _(h)}function r(c){if(!_.o(g,c)){var h=new Error("Cannot find module \'"+c+"\'");throw h.code="MODULE_NOT_FOUND",h}return g[c]}a.keys=function(){return Object.keys(g)},a.resolve=r,p.exports=a,a.id=6616},9034:function(p,v,_){(p=_.nmd(p)).exports=function(){"use strict";var g,a;function r(){return g.apply(null,arguments)}function c(n){return n instanceof Array||Object.prototype.toString.call(n)==="[object Array]"}function h(n){return n!=null&&Object.prototype.toString.call(n)==="[object Object]"}function A(n,l){return Object.prototype.hasOwnProperty.call(n,l)}function S(n){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(n).length===0;var l;for(l in n)if(A(n,l))return!1;return!0}function q(n){return n===void 0}function E(n){return typeof n=="number"||Object.prototype.toString.call(n)==="[object Number]"}function K(n){return n instanceof Date||Object.prototype.toString.call(n)==="[object Date]"}function fe(n,l){var f,L=[],b=n.length;for(f=0;f>>0;for(l=0;l0)for(f=0;f=0?f?"+":"":"-")+Math.pow(10,Math.max(0,b)).toString().substr(1)+L}var Q0=/(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C0=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,n0={},Le={};function De(n,l,f,L){var b=L;typeof L=="string"&&(b=function(){return this[L]()}),n&&(Le[n]=b),l&&(Le[l[0]]=function(){return A0(b.apply(this,arguments),l[1],l[2])}),f&&(Le[f]=function(){return this.localeData().ordinal(b.apply(this,arguments),n)})}function l1(n,l){return n.isValid()?(l=h1(l,n.localeData()),n0[l]=n0[l]||function(f){var L,b,O,Y=f.match(Q0);for(L=0,b=Y.length;L=0&&C0.test(n);)n=n.replace(C0,L),C0.lastIndex=0,f-=1;return n}var D0={};function Q(n,l){var f=n.toLowerCase();D0[f]=D0[f+"s"]=D0[l]=n}function w(n){return typeof n=="string"?D0[n]||D0[n.toLowerCase()]:void 0}function x(n){var l,f,L={};for(f in n)A(n,f)&&(l=w(f))&&(L[l]=n[f]);return L}var W={};function P(n,l){W[n]=l}function F(n){return n%4==0&&n%100!=0||n%400==0}function I(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function J(n){var l=+n,f=0;return l!==0&&isFinite(l)&&(f=I(l)),f}function $(n,l){return function(f){return f!=null?(re(this,n,f),r.updateOffset(this,l),this):te(this,n)}}function te(n,l){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+l]():NaN}function re(n,l,f){n.isValid()&&!isNaN(f)&&(l==="FullYear"&&F(n.year())&&n.month()===1&&n.date()===29?(f=J(f),n._d["set"+(n._isUTC?"UTC":"")+l](f,n.month(),Ct(f,n.month()))):n._d["set"+(n._isUTC?"UTC":"")+l](f))}var ie,pe=/\\d/,Oe=/\\d\\d/,Ce=/\\d{3}/,Ke=/\\d{4}/,f0=/[+-]?\\d{6}/,Fe=/\\d\\d?/,Qe=/\\d\\d\\d\\d?/,u0=/\\d\\d\\d\\d\\d\\d?/,x0=/\\d{1,3}/,$0=/\\d{1,4}/,P0=/[+-]?\\d{1,6}/,i1=/\\d+/,v0=/[+-]?\\d+/,u1=/Z|[+-]\\d\\d:?\\d\\d/gi,X0=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,N0=/[0-9]{0,256}[\'a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i;function ve(n,l,f){ie[n]=Ie(l)?l:function(L,b){return L&&f?f:l}}function ca(n,l){return A(ie,n)?ie[n](l._strict,l._locale):new RegExp(s1(n.replace("\\\\","").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(f,L,b,O,Y){return L||b||O||Y})))}function s1(n){return n.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,"\\\\$&")}ie={};var Bt={};function g0(n,l){var f,L,b=l;for(typeof n=="string"&&(n=[n]),E(l)&&(b=function(O,Y){Y[l]=J(O)}),L=n.length,f=0;f68?1900:2e3)};var ot=$("FullYear",!0);function tr(n,l,f,L,b,O,Y){var V;return n<100&&n>=0?(V=new Date(n+400,l,f,L,b,O,Y),isFinite(V.getFullYear())&&V.setFullYear(n)):V=new Date(n,l,f,L,b,O,Y),V}function G1(n){var l,f;return n<100&&n>=0?((f=Array.prototype.slice.call(arguments))[0]=n+400,l=new Date(Date.UTC.apply(null,f)),isFinite(l.getUTCFullYear())&&l.setUTCFullYear(n)):l=new Date(Date.UTC.apply(null,arguments)),l}function cn(n,l,f){var L=7+l-f;return-(7+G1(n,0,L).getUTCDay()-l)%7+L-1}function Xt(n,l,f,L,b){var O,Y,V=1+7*(l-1)+(7+f-L)%7+cn(n,L,b);return V<=0?Y=gt(O=n-1)+V:V>gt(n)?(O=n+1,Y=V-gt(n)):(O=n,Y=V),{year:O,dayOfYear:Y}}function Ht(n,l,f){var L,b,O=cn(n.year(),l,f),Y=Math.floor((n.dayOfYear()-O-1)/7)+1;return Y<1?L=Y+k1(b=n.year()-1,l,f):Y>k1(n.year(),l,f)?(L=Y-k1(n.year(),l,f),b=n.year()+1):(b=n.year(),L=Y),{week:L,year:b}}function k1(n,l,f){var L=cn(n,l,f),b=cn(n+1,l,f);return(gt(n)-L+b)/7}De("w",["ww",2],"wo","week"),De("W",["WW",2],"Wo","isoWeek"),Q("week","w"),Q("isoWeek","W"),P("week",5),P("isoWeek",5),ve("w",Fe),ve("ww",Fe,Oe),ve("W",Fe),ve("WW",Fe,Oe),yt(["w","ww","W","WW"],function(n,l,f,L){l[L.substr(0,1)]=J(n)});function ln(n,l){return n.slice(l,7).concat(n.slice(0,l))}De("d",0,"do","day"),De("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)}),De("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)}),De("dddd",0,0,function(n){return this.localeData().weekdays(this,n)}),De("e",0,0,"weekday"),De("E",0,0,"isoWeekday"),Q("day","d"),Q("weekday","e"),Q("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),ve("d",Fe),ve("e",Fe),ve("E",Fe),ve("dd",function(n,l){return l.weekdaysMinRegex(n)}),ve("ddd",function(n,l){return l.weekdaysShortRegex(n)}),ve("dddd",function(n,l){return l.weekdaysRegex(n)}),yt(["dd","ddd","dddd"],function(n,l,f,L){var b=f._locale.weekdaysParse(n,L,f._strict);b!=null?l.d=b:Te(f).invalidWeekday=n}),yt(["d","e","E"],function(n,l,f,L){l[L]=J(n)});var Ma="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ma="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nr=N0,ar=N0,_a=N0;function ba(n,l,f){var L,b,O,Y=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],L=0;L<7;++L)O=Se([2e3,1]).day(L),this._minWeekdaysParse[L]=this.weekdaysMin(O,"").toLocaleLowerCase(),this._shortWeekdaysParse[L]=this.weekdaysShort(O,"").toLocaleLowerCase(),this._weekdaysParse[L]=this.weekdays(O,"").toLocaleLowerCase();return f?l==="dddd"?(b=H0.call(this._weekdaysParse,Y))!==-1?b:null:l==="ddd"?(b=H0.call(this._shortWeekdaysParse,Y))!==-1?b:null:(b=H0.call(this._minWeekdaysParse,Y))!==-1?b:null:l==="dddd"?(b=H0.call(this._weekdaysParse,Y))!==-1||(b=H0.call(this._shortWeekdaysParse,Y))!==-1||(b=H0.call(this._minWeekdaysParse,Y))!==-1?b:null:l==="ddd"?(b=H0.call(this._shortWeekdaysParse,Y))!==-1||(b=H0.call(this._weekdaysParse,Y))!==-1||(b=H0.call(this._minWeekdaysParse,Y))!==-1?b:null:(b=H0.call(this._minWeekdaysParse,Y))!==-1||(b=H0.call(this._weekdaysParse,Y))!==-1||(b=H0.call(this._shortWeekdaysParse,Y))!==-1?b:null}function un(){function n(Ae,ae){return ae.length-Ae.length}var l,f,L,b,O,Y=[],V=[],U=[],Me=[];for(l=0;l<7;l++)f=Se([2e3,1]).day(l),L=s1(this.weekdaysMin(f,"")),b=s1(this.weekdaysShort(f,"")),O=s1(this.weekdays(f,"")),Y.push(L),V.push(b),U.push(O),Me.push(L),Me.push(b),Me.push(O);Y.sort(n),V.sort(n),U.sort(n),Me.sort(n),this._weekdaysRegex=new RegExp("^("+Me.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+U.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Y.join("|")+")","i")}function Pt(){return this.hours()%12||12}function dn(n,l){De(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}function fn(n,l){return l._meridiemParse}De("H",["HH",2],0,"hour"),De("h",["hh",2],0,Pt),De("k",["kk",2],0,function(){return this.hours()||24}),De("hmm",0,0,function(){return""+Pt.apply(this)+A0(this.minutes(),2)}),De("hmmss",0,0,function(){return""+Pt.apply(this)+A0(this.minutes(),2)+A0(this.seconds(),2)}),De("Hmm",0,0,function(){return""+this.hours()+A0(this.minutes(),2)}),De("Hmmss",0,0,function(){return""+this.hours()+A0(this.minutes(),2)+A0(this.seconds(),2)}),dn("a",!0),dn("A",!1),Q("hour","h"),P("hour",13),ve("a",fn),ve("A",fn),ve("H",Fe),ve("h",Fe),ve("k",Fe),ve("HH",Fe,Oe),ve("hh",Fe,Oe),ve("kk",Fe,Oe),ve("hmm",Qe),ve("hmmss",u0),ve("Hmm",Qe),ve("Hmmss",u0),g0(["H","HH"],j0),g0(["k","kk"],function(n,l,f){var L=J(n);l[j0]=L===24?0:L}),g0(["a","A"],function(n,l,f){f._isPm=f._locale.isPM(n),f._meridiem=n}),g0(["h","hh"],function(n,l,f){l[j0]=J(n),Te(f).bigHour=!0}),g0("hmm",function(n,l,f){var L=n.length-2;l[j0]=J(n.substr(0,L)),l[U0]=J(n.substr(L)),Te(f).bigHour=!0}),g0("hmmss",function(n,l,f){var L=n.length-4,b=n.length-2;l[j0]=J(n.substr(0,L)),l[U0]=J(n.substr(L,2)),l[z0]=J(n.substr(b)),Te(f).bigHour=!0}),g0("Hmm",function(n,l,f){var L=n.length-2;l[j0]=J(n.substr(0,L)),l[U0]=J(n.substr(L))}),g0("Hmmss",function(n,l,f){var L=n.length-4,b=n.length-2;l[j0]=J(n.substr(0,L)),l[U0]=J(n.substr(L,2)),l[z0]=J(n.substr(b))});var rr=$("Hours",!0),ct,Lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Qa,monthsShort:da,week:{dow:0,doy:6},weekdays:Ma,weekdaysMin:ma,weekdaysShort:Dn,meridiemParse:/[ap]\\.?m?\\.?/i},O0={},J1={};function xn(n,l){var f,L=Math.min(n.length,l.length);for(f=0;f0;){if(O=At(Y.slice(0,L).join("-")))return O;if(b&&b.length>=L&&xn(Y,b)>=L-1)break;L--}V++}return ct}(n)}function D1(n){var l,f=n._a;return f&&Te(n).overflow===-2&&(l=f[Y1]<0||f[Y1]>11?Y1:f[z1]<1||f[z1]>Ct(f[V0],f[Y1])?z1:f[j0]<0||f[j0]>24||f[j0]===24&&(f[U0]!==0||f[z0]!==0||f[q0]!==0)?j0:f[U0]<0||f[U0]>59?U0:f[z0]<0||f[z0]>59?z0:f[q0]<0||f[q0]>999?q0:-1,Te(n)._overflowDayOfYear&&(lz1)&&(l=z1),Te(n)._overflowWeeks&&l===-1&&(l=On),Te(n)._overflowWeekday&&l===-1&&(l=ua),Te(n).overflow=l),n}var vt=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,ya=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,ga=/Z|[+-]\\d\\d(?::?\\d\\d)?/,pn=[["YYYYYY-MM-DD",/[+-]\\d{6}-\\d\\d-\\d\\d/],["YYYY-MM-DD",/\\d{4}-\\d\\d-\\d\\d/],["GGGG-[W]WW-E",/\\d{4}-W\\d\\d-\\d/],["GGGG-[W]WW",/\\d{4}-W\\d\\d/,!1],["YYYY-DDD",/\\d{4}-\\d{3}/],["YYYY-MM",/\\d{4}-\\d\\d/,!1],["YYYYYYMMDD",/[+-]\\d{10}/],["YYYYMMDD",/\\d{8}/],["GGGG[W]WWE",/\\d{4}W\\d{3}/],["GGGG[W]WW",/\\d{4}W\\d{2}/,!1],["YYYYDDD",/\\d{7}/],["YYYYMM",/\\d{6}/,!1],["YYYY",/\\d{4}/,!1]],zt=[["HH:mm:ss.SSSS",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],["HH:mm:ss,SSSS",/\\d\\d:\\d\\d:\\d\\d,\\d+/],["HH:mm:ss",/\\d\\d:\\d\\d:\\d\\d/],["HH:mm",/\\d\\d:\\d\\d/],["HHmmss.SSSS",/\\d\\d\\d\\d\\d\\d\\.\\d+/],["HHmmss,SSSS",/\\d\\d\\d\\d\\d\\d,\\d+/],["HHmmss",/\\d\\d\\d\\d\\d\\d/],["HHmm",/\\d\\d\\d\\d/],["HH",/\\d\\d/]],e1=/^\\/?Date\\((-?\\d+)/i,lt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,La={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function hn(n){var l,f,L,b,O,Y,V=n._i,U=vt.exec(V)||ya.exec(V),Me=pn.length,Ae=zt.length;if(U){for(Te(n).iso=!0,l=0,f=Me;l7)&&(y0=!0)):(ze=V._locale._week.dow,Ee=V._locale._week.doy,p0=Ht(S0(),ze,Ee),Me=ut(U.gg,V._a[V0],p0.year),Ae=ut(U.w,p0.week),U.d!=null?((ae=U.d)<0||ae>6)&&(y0=!0):U.e!=null?(ae=U.e+ze,(U.e<0||U.e>6)&&(y0=!0)):ae=ze),Ae<1||Ae>k1(Me,ze,Ee)?Te(V)._overflowWeeks=!0:y0!=null?Te(V)._overflowWeekday=!0:(qe=Xt(Me,Ae,ae,ze,Ee),V._a[V0]=qe.year,V._dayOfYear=qe.dayOfYear)}(n),n._dayOfYear!=null&&(O=ut(n._a[V0],L[V0]),(n._dayOfYear>gt(O)||n._dayOfYear===0)&&(Te(n)._overflowDayOfYear=!0),f=G1(O,0,n._dayOfYear),n._a[Y1]=f.getUTCMonth(),n._a[z1]=f.getUTCDate()),l=0;l<3&&n._a[l]==null;++l)n._a[l]=Y[l]=L[l];for(;l<7;l++)n._a[l]=Y[l]=n._a[l]==null?l===2?1:0:n._a[l];n._a[j0]===24&&n._a[U0]===0&&n._a[z0]===0&&n._a[q0]===0&&(n._nextDay=!0,n._a[j0]=0),n._d=(n._useUTC?G1:tr).apply(null,Y),b=n._useUTC?n._d.getUTCDay():n._d.getDay(),n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),n._nextDay&&(n._a[j0]=24),n._w&&n._w.d!==void 0&&n._w.d!==b&&(Te(n).weekdayMismatch=!0)}}function Mn(n){if(n._f!==r.ISO_8601)if(n._f!==r.RFC_2822){n._a=[],Te(n).empty=!0;var l,f,L,b,O,Y,V,U=""+n._i,Me=U.length,Ae=0;for(V=(L=h1(n._f,n._locale).match(Q0)||[]).length,l=0;l0&&Te(n).unusedInput.push(O),U=U.slice(U.indexOf(f)+f.length),Ae+=f.length),Le[b]?(f?Te(n).empty=!1:Te(n).unusedTokens.push(b),la(b,f,n)):n._strict&&!f&&Te(n).unusedTokens.push(b);Te(n).charsLeftOver=Me-Ae,U.length>0&&Te(n).unusedInput.push(U),n._a[j0]<=12&&Te(n).bigHour===!0&&n._a[j0]>0&&(Te(n).bigHour=void 0),Te(n).parsedDateParts=n._a.slice(0),Te(n).meridiem=n._meridiem,n._a[j0]=function(ae,ze,Ee){var qe;return Ee==null?ze:ae.meridiemHour!=null?ae.meridiemHour(ze,Ee):(ae.isPM!=null&&((qe=ae.isPM(Ee))&&ze<12&&(ze+=12),qe||ze!==12||(ze=0)),ze)}(n._locale,n._a[j0],n._meridiem),(Y=Te(n).era)!==null&&(n._a[V0]=n._locale.erasConvertYear(Y,n._a[V0])),K1(n),D1(n)}else Aa(n);else hn(n)}function va(n){var l=n._i,f=n._f;return n._locale=n._locale||L1(n._l),l===null||f===void 0&&l===""?R({nullInput:!0}):(typeof l=="string"&&(n._i=l=n._locale.preparse(l)),Ne(l)?new ye(D1(l)):(K(l)?n._d=l:c(f)?function(L){var b,O,Y,V,U,Me,Ae=!1,ae=L._f.length;if(ae===0)return Te(L).invalidFormat=!0,void(L._d=new Date(NaN));for(V=0;Vthis?this:n:R()});function wa(n,l){var f,L;if(l.length===1&&c(l[0])&&(l=l[0]),!l.length)return S0();for(f=l[0],L=1;L=0?new Date(n+400,l,f)-Rn:new Date(n,l,f).valueOf()}function mn(n,l,f){return n<100&&n>=0?Date.UTC(n+400,l,f)-Rn:Date.UTC(n,l,f)}function Y0(n,l){return l.erasAbbrRegex(n)}function x1(){var n,l,f=[],L=[],b=[],O=[],Y=this.eras();for(n=0,l=Y.length;n(O=k1(n,L,b))&&(l=O),Fn.call(this,n,l,f,L,b))}function Fn(n,l,f,L,b){var O=Xt(n,l,f,L,b),Y=G1(O.year,0,O.dayOfYear);return this.year(Y.getUTCFullYear()),this.month(Y.getUTCMonth()),this.date(Y.getUTCDate()),this}De("N",0,0,"eraAbbr"),De("NN",0,0,"eraAbbr"),De("NNN",0,0,"eraAbbr"),De("NNNN",0,0,"eraName"),De("NNNNN",0,0,"eraNarrow"),De("y",["y",1],"yo","eraYear"),De("y",["yy",2],0,"eraYear"),De("y",["yyy",3],0,"eraYear"),De("y",["yyyy",4],0,"eraYear"),ve("N",Y0),ve("NN",Y0),ve("NNN",Y0),ve("NNNN",function(n,l){return l.erasNameRegex(n)}),ve("NNNNN",function(n,l){return l.erasNarrowRegex(n)}),g0(["N","NN","NNN","NNNN","NNNNN"],function(n,l,f,L){var b=f._locale.erasParse(n,L,f._strict);b?Te(f).era=b:Te(f).invalidEra=n}),ve("y",i1),ve("yy",i1),ve("yyy",i1),ve("yyyy",i1),ve("yo",function(n,l){return l._eraYearOrdinalRegex||i1}),g0(["y","yy","yyy","yyyy"],V0),g0(["yo"],function(n,l,f,L){var b;f._locale._eraYearOrdinalRegex&&(b=n.match(f._locale._eraYearOrdinalRegex)),f._locale.eraYearOrdinalParse?l[V0]=f._locale.eraYearOrdinalParse(n,b):l[V0]=parseInt(n,10)}),De(0,["gg",2],0,function(){return this.weekYear()%100}),De(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dt("gggg","weekYear"),dt("ggggg","weekYear"),dt("GGGG","isoWeekYear"),dt("GGGGG","isoWeekYear"),Q("weekYear","gg"),Q("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),ve("G",v0),ve("g",v0),ve("GG",Fe,Oe),ve("gg",Fe,Oe),ve("GGGG",$0,Ke),ve("gggg",$0,Ke),ve("GGGGG",P0,f0),ve("ggggg",P0,f0),yt(["gggg","ggggg","GGGG","GGGGG"],function(n,l,f,L){l[L.substr(0,2)]=J(n)}),yt(["gg","GG"],function(n,l,f,L){l[L]=r.parseTwoDigitYear(n)}),De("Q",0,"Qo","quarter"),Q("quarter","Q"),P("quarter",7),ve("Q",pe),g0("Q",function(n,l){l[Y1]=3*(J(n)-1)}),De("D",["DD",2],"Do","date"),Q("date","D"),P("date",9),ve("D",Fe),ve("DD",Fe,Oe),ve("Do",function(n,l){return n?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),g0(["D","DD"],z1),g0("Do",function(n,l){l[z1]=J(n.match(Fe)[0])});var Da=$("Date",!0);De("DDD",["DDDD",3],"DDDo","dayOfYear"),Q("dayOfYear","DDD"),P("dayOfYear",4),ve("DDD",x0),ve("DDDD",Ce),g0(["DDD","DDDD"],function(n,l,f){f._dayOfYear=J(n)}),De("m",["mm",2],0,"minute"),Q("minute","m"),P("minute",14),ve("m",Fe),ve("mm",Fe,Oe),g0(["m","mm"],U0);var xa=$("Minutes",!1);De("s",["ss",2],0,"second"),Q("second","s"),P("second",15),ve("s",Fe),ve("ss",Fe,Oe),g0(["s","ss"],z0);var P1,In,Vt=$("Seconds",!1);for(De("S",0,0,function(){return~~(this.millisecond()/100)}),De(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),De(0,["SSS",3],0,"millisecond"),De(0,["SSSS",4],0,function(){return 10*this.millisecond()}),De(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),De(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),De(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),De(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),De(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Q("millisecond","ms"),P("millisecond",16),ve("S",x0,pe),ve("SS",x0,Oe),ve("SSS",x0,Ce),P1="SSSS";P1.length<=9;P1+="S")ve(P1,i1);function St(n,l){l[q0]=J(1e3*("0."+n))}for(P1="S";P1.length<=9;P1+="S")g0(P1,St);In=$("Milliseconds",!1),De("z",0,0,"zoneAbbr"),De("zz",0,0,"zoneName");var we=ye.prototype;function _n(n){return n}we.add=R0,we.calendar=function(n,l){arguments.length===1&&(arguments[0]?Ya(arguments[0])?(n=arguments[0],l=void 0):function(Y){var V,U=h(Y)&&!S(Y),Me=!1,Ae=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(V=0;Vf.valueOf():f.valueOf()9999?l1(f,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ie(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",l1(f,"Z")):l1(f,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},we.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var n,l,f,L="moment",b="";return this.isLocal()||(L=this.utcOffset()===0?"moment.utc":"moment.parseZone",b="Z"),n="["+L+\'("]\',l=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",f=b+\'[")]\',this.format(n+l+"-MM-DD[T]HH:mm:ss.SSS"+f)},typeof Symbol!="undefined"&&Symbol.for!=null&&(we[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),we.toJSON=function(){return this.isValid()?this.toISOString():null},we.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},we.unix=function(){return Math.floor(this.valueOf()/1e3)},we.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},we.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},we.eraName=function(){var n,l,f,L=this.localeData().eras();for(n=0,l=L.length;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},we.isLocal=function(){return!!this.isValid()&&!this._isUTC},we.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},we.isUtc=Sa,we.isUTC=Sa,we.zoneAbbr=function(){return this._isUTC?"UTC":""},we.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},we.dates=je("dates accessor is deprecated. Use date instead.",Da),we.months=je("months accessor is deprecated. Use month instead",Et),we.years=je("years accessor is deprecated. Use year instead",ot),we.zone=je("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(n,l){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,l),this):-this.utcOffset()}),we.isDSTShifted=je("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!q(this._isDSTShifted))return this._isDSTShifted;var n,l={};return Ye(l,this),(l=va(l))._a?(n=l._isUTC?Se(l._a):S0(l._a),this._isDSTShifted=this.isValid()&&function(f,L,b){var O,Y=Math.min(f.length,L.length),V=Math.abs(f.length-L.length),U=0;for(O=0;O0):this._isDSTShifted=!1,this._isDSTShifted});var s0=Ve.prototype;function ft(n,l,f,L){var b=L1(),O=Se().set(L,l);return b[f](O,n)}function bn(n,l,f){if(E(n)&&(l=n,n=void 0),n=n||"",l!=null)return ft(n,l,f,"month");var L,b=[];for(L=0;L<12;L++)b[L]=ft(n,L,f,"month");return b}function Ut(n,l,f,L){typeof n=="boolean"?(E(l)&&(f=l,l=void 0),l=l||""):(f=l=n,n=!1,E(l)&&(f=l,l=void 0),l=l||"");var b,O=L1(),Y=n?O._week.dow:0,V=[];if(f!=null)return ft(l,(f+Y)%7,L,"day");for(b=0;b<7;b++)V[b]=ft(l,(b+Y)%7,L,"day");return V}s0.calendar=function(n,l,f){var L=this._calendar[n]||this._calendar.sameElse;return Ie(L)?L.call(l,f):L},s0.longDateFormat=function(n){var l=this._longDateFormat[n],f=this._longDateFormat[n.toUpperCase()];return l||!f?l:(this._longDateFormat[n]=f.match(Q0).map(function(L){return L==="MMMM"||L==="MM"||L==="DD"||L==="dddd"?L.slice(1):L}).join(""),this._longDateFormat[n])},s0.invalidDate=function(){return this._invalidDate},s0.ordinal=function(n){return this._ordinal.replace("%d",n)},s0.preparse=_n,s0.postformat=_n,s0.relativeTime=function(n,l,f,L){var b=this._relativeTime[f];return Ie(b)?b(n,l,f,L):b.replace(/%d/i,n)},s0.pastFuture=function(n,l){var f=this._relativeTime[n>0?"future":"past"];return Ie(f)?f(l):f.replace(/%s/i,l)},s0.set=function(n){var l,f;for(f in n)A(n,f)&&(Ie(l=n[f])?this[f]=l:this["_"+f]=l);this._config=n,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\\d{1,2}/.source)},s0.eras=function(n,l){var f,L,b,O=this._eras||L1("en")._eras;for(f=0,L=O.length;f=0)return U[L]},s0.erasConvertYear=function(n,l){var f=n.since<=n.until?1:-1;return l===void 0?r(n.since).year():r(n.since).year()+(l-n.offset)*f},s0.erasAbbrRegex=function(n){return A(this,"_erasAbbrRegex")||x1.call(this),n?this._erasAbbrRegex:this._erasRegex},s0.erasNameRegex=function(n){return A(this,"_erasNameRegex")||x1.call(this),n?this._erasNameRegex:this._erasRegex},s0.erasNarrowRegex=function(n){return A(this,"_erasNarrowRegex")||x1.call(this),n?this._erasNarrowRegex:this._erasRegex},s0.months=function(n,l){return n?c(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||fa).test(l)?"format":"standalone"][n.month()]:c(this._months)?this._months:this._months.standalone},s0.monthsShort=function(n,l){return n?c(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[fa.test(l)?"format":"standalone"][n.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},s0.monthsParse=function(n,l,f){var L,b,O;if(this._monthsParseExact)return ha.call(this,n,l,f);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),L=0;L<12;L++)if(b=Se([2e3,L]),f&&!this._longMonthsParse[L]&&(this._longMonthsParse[L]=new RegExp("^"+this.months(b,"").replace(".","")+"$","i"),this._shortMonthsParse[L]=new RegExp("^"+this.monthsShort(b,"").replace(".","")+"$","i")),f||this._monthsParse[L]||(O="^"+this.months(b,"")+"|^"+this.monthsShort(b,""),this._monthsParse[L]=new RegExp(O.replace(".",""),"i")),f&&l==="MMMM"&&this._longMonthsParse[L].test(n)||f&&l==="MMM"&&this._shortMonthsParse[L].test(n)||!f&&this._monthsParse[L].test(n))return L},s0.monthsRegex=function(n){return this._monthsParseExact?(A(this,"_monthsRegex")||kn.call(this),n?this._monthsStrictRegex:this._monthsRegex):(A(this,"_monthsRegex")||(this._monthsRegex=er),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)},s0.monthsShortRegex=function(n){return this._monthsParseExact?(A(this,"_monthsRegex")||kn.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(A(this,"_monthsShortRegex")||(this._monthsShortRegex=pa),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)},s0.week=function(n){return Ht(n,this._week.dow,this._week.doy).week},s0.firstDayOfYear=function(){return this._week.doy},s0.firstDayOfWeek=function(){return this._week.dow},s0.weekdays=function(n,l){var f=c(this._weekdays)?this._weekdays:this._weekdays[n&&n!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return n===!0?ln(f,this._week.dow):n?f[n.day()]:f},s0.weekdaysMin=function(n){return n===!0?ln(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin},s0.weekdaysShort=function(n){return n===!0?ln(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort},s0.weekdaysParse=function(n,l,f){var L,b,O;if(this._weekdaysParseExact)return ba.call(this,n,l,f);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),L=0;L<7;L++)if(b=Se([2e3,1]).day(L),f&&!this._fullWeekdaysParse[L]&&(this._fullWeekdaysParse[L]=new RegExp("^"+this.weekdays(b,"").replace(".","\\\\.?")+"$","i"),this._shortWeekdaysParse[L]=new RegExp("^"+this.weekdaysShort(b,"").replace(".","\\\\.?")+"$","i"),this._minWeekdaysParse[L]=new RegExp("^"+this.weekdaysMin(b,"").replace(".","\\\\.?")+"$","i")),this._weekdaysParse[L]||(O="^"+this.weekdays(b,"")+"|^"+this.weekdaysShort(b,"")+"|^"+this.weekdaysMin(b,""),this._weekdaysParse[L]=new RegExp(O.replace(".",""),"i")),f&&l==="dddd"&&this._fullWeekdaysParse[L].test(n)||f&&l==="ddd"&&this._shortWeekdaysParse[L].test(n)||f&&l==="dd"&&this._minWeekdaysParse[L].test(n)||!f&&this._weekdaysParse[L].test(n))return L},s0.weekdaysRegex=function(n){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||un.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(A(this,"_weekdaysRegex")||(this._weekdaysRegex=nr),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)},s0.weekdaysShortRegex=function(n){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||un.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(A(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ar),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},s0.weekdaysMinRegex=function(n){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||un.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(A(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_a),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},s0.isPM=function(n){return(n+"").toLowerCase().charAt(0)==="p"},s0.meridiem=function(n,l,f){return n>11?f?"pm":"PM":f?"am":"AM"},M1("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var l=n%10;return n+(J(n%100/10)===1?"th":l===1?"st":l===2?"nd":l===3?"rd":"th")}}),r.lang=je("moment.lang is deprecated. Use moment.locale instead.",M1),r.langData=je("moment.langData is deprecated. Use moment.localeData instead.",L1);var t1=Math.abs;function B0(n,l,f,L){var b=w0(l,f);return n._milliseconds+=L*b._milliseconds,n._days+=L*b._days,n._months+=L*b._months,n._bubble()}function yn(n){return n<0?Math.floor(n):Math.ceil(n)}function Na(n){return 4800*n/146097}function Gt(n){return 146097*n/4800}function E0(n){return function(){return this.as(n)}}var Ot=E0("ms"),Yt=E0("s"),Wa=E0("m"),$n=E0("h"),cr=E0("d"),lr=E0("w"),ur=E0("M"),dr=E0("Q"),Vn=E0("y");function b1(n){return function(){return this.isValid()?this._data[n]:NaN}}var qa=b1("milliseconds"),fr=b1("seconds"),u=b1("minutes"),m=b1("hours"),y=b1("days"),k=b1("months"),C=b1("years"),H=Math.round,B={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function G(n,l,f,L,b){return b.relativeTime(l||1,!!f,n,L)}var Z=Math.abs;function oe(n){return(n>0)-(n<0)||+n}function de(){if(!this.isValid())return this.localeData().invalidDate();var n,l,f,L,b,O,Y,V,U=Z(this._milliseconds)/1e3,Me=Z(this._days),Ae=Z(this._months),ae=this.asSeconds();return ae?(n=I(U/60),l=I(n/60),U%=60,n%=60,f=I(Ae/12),Ae%=12,L=U?U.toFixed(3).replace(/\\.?0+$/,""):"",b=ae<0?"-":"",O=oe(this._months)!==oe(ae)?"-":"",Y=oe(this._days)!==oe(ae)?"-":"",V=oe(this._milliseconds)!==oe(ae)?"-":"",b+"P"+(f?O+f+"Y":"")+(Ae?O+Ae+"M":"")+(Me?Y+Me+"D":"")+(l||n||U?"T":"")+(l?V+l+"H":"")+(n?V+n+"M":"")+(U?V+L+"S":"")):"P0D"}var ce=Tt.prototype;return ce.isValid=function(){return this._isValid},ce.abs=function(){var n=this._data;return this._milliseconds=t1(this._milliseconds),this._days=t1(this._days),this._months=t1(this._months),n.milliseconds=t1(n.milliseconds),n.seconds=t1(n.seconds),n.minutes=t1(n.minutes),n.hours=t1(n.hours),n.months=t1(n.months),n.years=t1(n.years),this},ce.add=function(n,l){return B0(this,n,l,1)},ce.subtract=function(n,l){return B0(this,n,l,-1)},ce.as=function(n){if(!this.isValid())return NaN;var l,f,L=this._milliseconds;if((n=w(n))==="month"||n==="quarter"||n==="year")switch(l=this._days+L/864e5,f=this._months+Na(l),n){case"month":return f;case"quarter":return f/3;case"year":return f/12}else switch(l=this._days+Math.round(Gt(this._months)),n){case"week":return l/7+L/6048e5;case"day":return l+L/864e5;case"hour":return 24*l+L/36e5;case"minute":return 1440*l+L/6e4;case"second":return 86400*l+L/1e3;case"millisecond":return Math.floor(864e5*l)+L;default:throw new Error("Unknown unit "+n)}},ce.asMilliseconds=Ot,ce.asSeconds=Yt,ce.asMinutes=Wa,ce.asHours=$n,ce.asDays=cr,ce.asWeeks=lr,ce.asMonths=ur,ce.asQuarters=dr,ce.asYears=Vn,ce.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*J(this._months/12):NaN},ce._bubble=function(){var n,l,f,L,b,O=this._milliseconds,Y=this._days,V=this._months,U=this._data;return O>=0&&Y>=0&&V>=0||O<=0&&Y<=0&&V<=0||(O+=864e5*yn(Gt(V)+Y),Y=0,V=0),U.milliseconds=O%1e3,n=I(O/1e3),U.seconds=n%60,l=I(n/60),U.minutes=l%60,f=I(l/60),U.hours=f%24,Y+=I(f/24),V+=b=I(Na(Y)),Y-=yn(Gt(b)),L=I(V/12),V%=12,U.days=Y,U.months=V,U.years=L,this},ce.clone=function(){return w0(this)},ce.get=function(n){return n=w(n),this.isValid()?this[n+"s"]():NaN},ce.milliseconds=qa,ce.seconds=fr,ce.minutes=u,ce.hours=m,ce.days=y,ce.weeks=function(){return I(this.days()/7)},ce.months=k,ce.years=C,ce.humanize=function(n,l){if(!this.isValid())return this.localeData().invalidDate();var f,L,b=!1,O=B;return typeof n=="object"&&(l=n,n=!1),typeof n=="boolean"&&(b=n),typeof l=="object"&&(O=Object.assign({},B,l),l.s!=null&&l.ss==null&&(O.ss=l.s-1)),L=function(Y,V,U,Me){var Ae=w0(Y).abs(),ae=H(Ae.as("s")),ze=H(Ae.as("m")),Ee=H(Ae.as("h")),qe=H(Ae.as("d")),y0=H(Ae.as("M")),p0=H(Ae.as("w")),e0=H(Ae.as("y")),a0=ae<=U.ss&&["s",ae]||ae0,a0[4]=Me,G.apply(null,a0)}(this,!b,O,f=this.localeData()),b&&(L=f.pastFuture(+this,L)),f.postformat(L)},ce.toISOString=de,ce.toString=de,ce.toJSON=de,ce.locale=Xn,ce.localeData=d1,ce.toIsoString=je("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",de),ce.lang=Hn,De("X",0,0,"unix"),De("x",0,0,"valueOf"),ve("x",v0),ve("X",/[+-]?\\d+(\\.\\d{1,3})?/),g0("X",function(n,l,f){f._d=new Date(1e3*parseFloat(n))}),g0("x",function(n,l,f){f._d=new Date(J(n))}),r.version="2.29.4",g=S0,r.fn=we,r.min=function(){return wa("isBefore",[].slice.call(arguments,0))},r.max=function(){return wa("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=Se,r.unix=function(n){return S0(1e3*n)},r.months=function(n,l){return bn(n,l,"months")},r.isDate=K,r.locale=M1,r.invalid=R,r.duration=w0,r.isMoment=Ne,r.weekdays=function(n,l,f){return Ut(n,l,f,"weekdays")},r.parseZone=function(){return S0.apply(null,arguments).parseZone()},r.localeData=L1,r.isDuration=_0,r.monthsShort=function(n,l){return bn(n,l,"monthsShort")},r.weekdaysMin=function(n,l,f){return Ut(n,l,f,"weekdaysMin")},r.defineLocale=jt,r.updateLocale=function(n,l){if(l!=null){var f,L,b=Lt;O0[n]!=null&&O0[n].parentLocale!=null?O0[n].set(l0(O0[n]._config,l)):((L=At(n))!=null&&(b=L._config),l=l0(b,l),L==null&&(l.abbr=n),(f=new Ve(l)).parentLocale=O0[n],O0[n]=f),M1(n)}else O0[n]!=null&&(O0[n].parentLocale!=null?(O0[n]=O0[n].parentLocale,n===M1()&&M1(n)):O0[n]!=null&&delete O0[n]);return O0[n]},r.locales=function(){return t0(O0)},r.weekdaysShort=function(n,l,f){return Ut(n,l,f,"weekdaysShort")},r.normalizeUnits=w,r.relativeTimeRounding=function(n){return n===void 0?H:typeof n=="function"&&(H=n,!0)},r.relativeTimeThreshold=function(n,l){return B[n]!==void 0&&(l===void 0?B[n]:(B[n]=l,n==="s"&&(B.ss=l-1),!0))},r.calendarFormat=function(n,l){var f=n.diff(l,"days",!0);return f<-6?"sameElse":f<-1?"lastWeek":f<0?"lastDay":f<1?"sameDay":f<2?"nextDay":f<7?"nextWeek":"sameElse"},r.prototype=we,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},1175:p=>{"use strict";p.exports=JSON.parse(\'{"version":"2019c","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|010101010101010101010101010|-1c2w0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Pacific/Port_Moresby|+10|-a0|0||25e4","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Currie Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Vancouver America/Whitehorse America/Dawson","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Godthab America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Astrakhan Europe/Volgograd Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}\')}},o={};function d(p){var v=o[p];if(v!==void 0)return v.exports;var _=o[p]={id:p,loaded:!1,exports:{}};return i[p].call(_.exports,_,_.exports,d),_.loaded=!0,_.exports}d.n=p=>{var v=p&&p.__esModule?()=>p.default:()=>p;return d.d(v,{a:v}),v},d.d=(p,v)=>{for(var _ in v)d.o(v,_)&&!d.o(p,_)&&Object.defineProperty(p,_,{enumerable:!0,get:v[_]})},d.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(p){if(typeof window=="object")return window}}(),d.o=(p,v)=>Object.prototype.hasOwnProperty.call(p,v),d.r=p=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},d.nmd=p=>(p.paths=[],p.children||(p.children=[]),p);var z={};(()=>{"use strict";d.r(z),d.d(z,{default:()=>E});var p=d(9034),v=d.n(p);let _={de:{LTMS:"HH:mm:ss,SSS",ls:"D.M.YYYY HH:mm:ss",lms:"D.M.YYYY HH:mm:ss,SSS",lls:"D. MMM YYYY HH:mm:ss",llms:"D. MMM YYYY HH:mm:ss,SSS",LLS:"D. MMMM YYYY HH:mm:ss",LLMS:"D. MMMM YYYY HH:mm:ss,SSS"},"en-gb":{LTMS:"HH:mm:ss.SSS",ls:"D/M/YYYY HH:mm:ss",lms:"D/M/YYYY HH:mm:ss.SSS",lls:"D MMM YYYY HH:mm:ss",llms:"D MMM YYYY HH:mm:ss.SSS",LLS:"D MMMM YYYY HH:mm:ss",LLMS:"D MMMM YYYY HH:mm:ss.SSS"},en:{LTMS:"h:mm:ss.SSS A",ls:"M/D/YYYY h:mm:ss A",lms:"M/D/YYYY h:mm:ss.SSS A",lls:"MMM D, YYYY h:mm:ss A",llms:"MMM D, YYYY h:mm:ss.SSS A",LLS:"MMMM D, YYYY h:mm:ss A",LLMS:"MMMM D, YYYY h:mm:ss.SSS A"},fr:{LTMS:"HH:mm:ss,SSS",ls:"D/M/YYYY HH:mm:ss",lms:"D/M/YYYY HH:mm:ss,SSS",lls:"D MMM YYYY HH:mm:ss",llms:"D MMM YYYY HH:mm:ss,SSS",LLS:"D MMMM YYYY HH:mm:ss",LLMS:"D MMMM YYYY HH:mm:ss,SSS"},it:{LTMS:"HH:mm:ss,SSS",ls:"D/M/YYYY HH:mm:ss",lms:"D/M/YYYY HH:mm:ss,SSS",lls:"D MMM YYYY HH:mm:ss",llms:"D MMM YYYY HH:mm:ss,SSS",LLS:"D MMMM YYYY HH:mm:ss",LLMS:"D MMMM YYYY HH:mm:ss,SSS"},ja:{LTMS:"HH:mm:ss.SSS",ls:"YYYY/MM/DD HH:mm:ss",lms:"YYYY/MM/DD HH:mm:ss.SSS",lls:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm:ss",llms:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm:ss.SSS",LLS:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm:ss",LLMS:"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm:ss.SSS"},ko:{LTMS:"A h:mm:ss.SSS",ls:"YYYY.MM.DD A h:mm:ss",lms:"YYYY.MM.DD A h:mm:ss.SSS",lls:"YYYY\\uB144 MMMM D\\uC77C A h:mm:ss",llms:"YYYY\\uB144 MMMM D\\uC77C A h:mm:ss.SSS",LLS:"YYYY\\uB144 MMMM D\\uC77C A h:mm:ss",LLMS:"YYYY\\uB144 MMMM D\\uC77C A h:mm:ss.SSS"},"zh-cn":{LTMS:"HH:mm:ss.SSS",ls:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss",lms:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss.SSS",lls:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss",llms:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss.SSS",LLS:"YYYY\\u5E74MMMD\\u65E5Ah\\u70B9mm\\u5206s\\u79D2",LLMS:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss.SSS"},"zh-tw":{LTMS:"HH:mm:ss.SSS",ls:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss",lms:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss.SSS",lls:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss",llms:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss.SSS",LLS:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss",LLMS:"YYYY\\u5E74MMMD\\u65E5 HH:mm:ss.SSS"}};d(2428),d(6337);var g=d(7097),a=d.n(g);let r=vl(),c=wd();var h,A=d(2153),S=a()(function(K,fe){if(!K)throw new Error("Serialized Splunk timezone is required when adding or setting time zones.");var he=fe||(0,r.createGUID)();return v().tz.add(v().tz.pack((0,A.default)(K,he))),he}),q=a()(function(K){return h=S(K)});c.serverTimezoneInfo&&q(c.serverTimezoneInfo),v().newSplunkTime=function(K){var fe=K||{},he=fe.time,Se=fe.format,Te=fe.strict,me=Te!==void 0&&Te,R=K&&K.locale||c.locale;if(!h)throw new Error("The Splunk server timezone data is not available.");return v().tz(he,Se,R,me,h)},v().addSplunkTimezone=S,v().setDefaultSplunkTimezone=q,v().getDefaultSplunkTimezone=function(){return h},v().fn.splunkFormat=function(K){var fe=this,he=this.locale(),Se=_[he],Te=K||"";if(!Se)throw new Error("moment().splunkFormat() does not support the locale ".concat(he));return["LLMS","LLS","lls","ls","llms","lms","LTMS"].some(function(me){var R=K.indexOf(me);if(R>-1){var se=fe.format(Se[me]);return Te="".concat(Te.substring(0,R),"[").concat(se,"]").concat(Te.substring(R+me.length)),!0}return!1}),this.format(Te)};let E=v()})(),Td.exports=z})()});var Fs=Xe((X4,Od)=>{ue();var Rs=Object.defineProperty,Bg=Object.getOwnPropertyDescriptor,Cg=Object.getOwnPropertyNames,Eg=Object.prototype.hasOwnProperty,Xg=(i,o)=>{for(var d in o)Rs(i,d,{get:o[d],enumerable:!0})},Hg=(i,o,d,z)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of Cg(o))!Eg.call(i,p)&&p!==d&&Rs(i,p,{get:()=>o[p],enumerable:!(z=Bg(o,p))||z.enumerable});return i},Pg=i=>Hg(Rs({},"__esModule",{value:!0}),i),Sd={};Xg(Sd,{CATEGORICAL:()=>Fg,ENTERPRISE_CATEGORICAL:()=>Rg,SCP_CATEGORICAL:()=>jg,VIZ_CATEGORICAL:()=>Ig});Od.exports=Pg(Sd);var jg=["#A9F5E7","#A870EF","#1E6271","#45D4BA","#602CA1","#9AE6F7","#6CD0F0","#2F8AA7","#422879","#F29BAC","#E85B79","#C6335F","#FDAF93","#FB865C","#E9643A","#7EEFDA","#26AA92","#207865","#C093F9","#8747DA","#4EB2D2","#912344","#AD3F20","#D44C20","#FFC34E","#95651D","#C0891E","#ECAE11","#FCD9A4","#78062A"],Rg=["#1E93C6","#F2B827","#D6563C","#6A5C9E","#31A35F"],Fg=["#7B56DB","#0089CF","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"],Ig=["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]});var ro=Xe((P4,Pd)=>{ue();var $g=Object.create,xr=Object.defineProperty,Vg=Object.defineProperties,Ug=Object.getOwnPropertyDescriptor,Gg=Object.getOwnPropertyDescriptors,Jg=Object.getOwnPropertyNames,Li=Object.getOwnPropertySymbols,Kg=Object.getPrototypeOf,Zs=Object.prototype.hasOwnProperty,Dd=Object.prototype.propertyIsEnumerable,Yd=(i,o,d)=>o in i?xr(i,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):i[o]=d,E1=(i,o)=>{for(var d in o||(o={}))Zs.call(o,d)&&Yd(i,d,o[d]);if(Li)for(var d of Li(o))Dd.call(o,d)&&Yd(i,d,o[d]);return i},kd=(i,o)=>Vg(i,Gg(o)),Zg=(i,o)=>{var d={};for(var z in i)Zs.call(i,z)&&o.indexOf(z)<0&&(d[z]=i[z]);if(i!=null&&Li)for(var z of Li(i))o.indexOf(z)<0&&Dd.call(i,z)&&(d[z]=i[z]);return d},Qs=(i,o)=>{for(var d in o)xr(i,d,{get:o[d],enumerable:!0})},Ai=(i,o,d,z)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of Jg(o))!Zs.call(i,p)&&p!==d&&xr(i,p,{get:()=>o[p],enumerable:!(z=Ug(o,p))||z.enumerable});return i},Qg=(i,o,d)=>(Ai(i,o,"default"),d&&Ai(d,o,"default")),eL=(i,o,d)=>(d=i!=null?$g(Kg(i)):{},Ai(o||!i||!i.__esModule?xr(d,"default",{value:i,enumerable:!0}):d,i)),tL=i=>Ai(xr({},"__esModule",{value:!0}),i),xd={};Qs(xd,{COLOR_OR_TOKEN_PATTERN:()=>Hd,COLOR_OR_TOKEN_PATTERN_WITH_RGBA:()=>Be,DYNAMIC_OPTIONS_DSL_PATTERN:()=>ao,LAYER_TYPE:()=>Wd,LAYOUT_TYPE:()=>qd,SchemaUtils:()=>Cd,TOKEN_PATTERN:()=>Nr,areaOptionsSchema:()=>sL,barOptionsSchema:()=>oL,bubbleOptionsSchema:()=>cL,choroplethSvgOptionsSchema:()=>lL,colorPattern:()=>vi,colorPatternWithRGBA:()=>no,columnOptionsSchema:()=>uL,createTestSchema:()=>Xd,ellipseOptionsSchema:()=>dL,enhanceOptionsSchemaWithDynamicOptions:()=>W0,eventsOptionsSchema:()=>fL,fillerGaugeOptionsSchema:()=>pL,getPattern:()=>ee,imageOptionsSchema:()=>hL,lineOptionsSchema:()=>ML,linkGraphOptionsSchema:()=>mL,mapOptionsSchema:()=>_L,markdownOptionsSchema:()=>bL,markerGaugeOptionsSchema:()=>yL,parallelCoordinatesOptionsSchema:()=>gL,pieOptionsSchema:()=>LL,punchcardOptionsSchema:()=>AL,rectangleOptionsSchema:()=>vL,rgbColorPattern:()=>eo,rgbaColorPattern:()=>to,sankeyOptionsSchema:()=>zL,scatterOptionsSchema:()=>wL,schemaDraft07:()=>Ed,singleValueIconOptionsSchema:()=>SL,singleValueOptionsSchema:()=>TL,singleValueRadialOptionsSchema:()=>OL,tableOptionsSchema:()=>YL,timelineOptionsSchema:()=>kL,validAlignments:()=>Gs,validCellRenderers:()=>$s,validColumnAlignments:()=>Js,validFontSizes:()=>Bd,validHeaderVisibilities:()=>Us,validSegmentationModes:()=>Nd,validSparklineTypes:()=>Vs,validTextOverflows:()=>Ks});Pd.exports=tL(xd);var c1={};Qs(c1,{default:()=>nL});var Is=eL(Fs());Qg(c1,Fs());var nL="default"in Is?Is.default:Is,Nd=["none","inner"],Wd=(i=>(i.Marker="marker",i.Bubble="bubble",i.Choropleth="choropleth",i))(Wd||{}),qd=(i=>(i.Off="off",i.Trellis="trellis",i))(qd||{}),$s=["TextCell","ArrayCell","SparklineCell"],Vs=["line","area"],Us=["none","fixed","inline"],Gs=["left","center","right"],Js=["left","center","right","auto"],Ks=["anywhere","break-word","ellipsis"],Bd=["extraSmall","small","default","large"],Cd={};Qs(Cd,{COLOR_OR_TOKEN_PATTERN:()=>Hd,COLOR_OR_TOKEN_PATTERN_WITH_RGBA:()=>Be,DYNAMIC_OPTIONS_DSL_PATTERN:()=>ao,TOKEN_PATTERN:()=>Nr,colorPattern:()=>vi,colorPatternWithRGBA:()=>no,createTestSchema:()=>Xd,getPattern:()=>ee,rgbColorPattern:()=>eo,rgbaColorPattern:()=>to,schemaDraft07:()=>Ed});var Ed={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0},Xd=i=>({$schema:"http://json-schema.org/draft-07/schema#",$id:"http://www.splunk.com/dashboard.schema.json",title:"Dashboard Definition",description:"Dashboard Definition",type:"object",properties:i}),aL=/(\\w+:)?/.source,rL=/([^$|:]+?)(\\|[|\\w]+)?/.source,Nr=/\\$/.source+aL+rL+/\\$/.source,eo=/^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/,to=/^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$/,vi="^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$|^transparent$",no=`${vi}|${eo.source}|${to.source}`,Hd=`${vi}|${Nr}`,Be=`${no}|${Nr}`,ao=/^>.*/.source,ee=i=>i.reduce((o,d)=>`${o}|^${d}$`,Nr),iL={type:"string",pattern:ao},W0=i=>{let o={};return Object.keys(i).forEach(d=>{let z=i[d],{title:p,description:v,readOnly:_,writeOnly:g,examples:a,default:r,type:c,properties:h,patternProperties:A}=z,S=Zg(z,["title","description","readOnly","writeOnly","examples","default","type","properties","patternProperties"]),q=E1(E1(E1(E1(E1(E1({},p!==void 0&&{title:p}),v!==void 0&&{description:v}),_!==void 0&&{readOnly:_}),g!==void 0&&{writeOnly:g}),a!==void 0&&{examples:a}),r!==void 0&&{default:r});if(c==="object"){if(o[d]=E1(kd(E1(E1({},S),q),{type:c}),h&&{properties:W0(h)}),A){let E={};Object.keys(A).forEach(K=>{E=E1(E1({},E),W0({[K]:A[K]}))}),o[d].patternProperties=E}}else o[d]=kd(E1({},q),{anyOf:[E1(E1({},c!==void 0&&{type:c}),S),iL]})}),o},sL=W0({x:{default:"> primary | seriesByIndex(0)",description:"Specify the data source to apply to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify the data source to apply to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify the data source to apply to the second y-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field to map to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify the field to map to the y-axis.",type:"string"},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},annotationColor:{description:\'Specify the annotation colors. For example, [\\u201C#FF0000\\u201D, \\u201C#0000FF", \\u201C#008000\\u201D]. You can use a data source or a hexadecimal code to apply the color.\',type:"array",items:{type:"string"}},annotationLabel:{description:"Specify a list of labels to use for annotations. For example, [\\u201CSales\\u201D, \\u201CRevenue\\u201D, \\u201COrders\\u201D]. You might use a data source to apply the labels.",type:"array",items:{type:"string"}},annotationX:{description:"Specify a data source field to apply to the event annotation on the x-axis.",type:"array",items:{type:["string","number"]}},areaOpacity:{description:"Specify the opacity of the area chart. Values can range from 0 (transparent) to 1 (opaque).",type:"number",default:.75},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color to use for the background. You can use a data source or hexadecimal code to apply the color.",pattern:Be,type:"string"},dataValuesDisplay:{description:\'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.\',type:"string",pattern:ee(["off","all","minmax"]),default:"off"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. You must select the Standard legend mode to make this change.",pattern:ee(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:\'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].\',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:\'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.\',pattern:ee(["standard","seriesCompare"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},lineDashStyle:{default:"solid",description:"Specify a dash style for all overlay field lines.",pattern:ee(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:`Specify a dash style to use for overlay lines for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".`,type:"object"},lineWidth:{default:2,description:"Specify the line width (px) for overlay field lines.",type:"number"},nullValueDisplay:{default:"gaps",description:"Specify the handling of null values for area and line charts .",pattern:ee(["gaps","zero","connect"]),type:"string"},resultLimit:{default:5e4,description:"Specify the number of data points to render in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors to use for specific fields in a series. For example, {\\u201Ccount\\u201D: \\u201C#008000\\u201D, \\u201Cpercent\\u201D: \\u201C#FFA500\\u201D}.",type:"object"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},stackMode:{description:"Specify stack mode.",type:"string",pattern:ee(["auto","stacked","stacked100"]),default:"auto"},showIndependentYRanges:{description:"Specify whether split series charts have independent y-ranges.",type:"boolean",default:!1},showSplitSeries:{description:"Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom; use one chart for each series.",type:"boolean",default:!1},showLines:{description:"Specify whether to show lines in area charts.",default:!0,type:"boolean"},showXMajorGridLines:{description:"Specify whether to show major grid lines on the x-axis.",type:"boolean",default:!1},showYMajorGridLines:{description:"Specify whether to show major grid lines on the y-axis.",type:"boolean",default:!0},showY2MajorGridLines:{description:"Specify whether to show major grid lines on the second y-axis.",type:"boolean",default:!1},showYMinorGridLines:{description:"Specify whether to show minor grid lines on the y-axis.",type:"boolean",default:!1},showY2MinorGridLines:{description:"Specify whether to show minor grid lines on the second y-axis.",type:"boolean",default:!1},showYAxisExtendedRange:{description:"Specify whether to extend the y-axis to include whole major tick marks.",type:"boolean",default:!0},showYAxisWithZero:{description:"Specify whether to include zero in the y-axis range.",type:"boolean",default:!1},showY2AxisWithZero:{description:"Specify whether to include zero in the second y-axis range.",type:"boolean",default:!1},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{description:"Specify the rotation of the x-axis label in degrees.",enum:[-90,-45,0,45,90],type:"number",default:0},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show the second y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},xAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the second y-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the second y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{default:3,minimum:1,maximum:3,description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number"},yAxisScale:{type:"string",pattern:ee(["linear","log"]),description:"Specify the type of scale that applies to a numerical y-axis.",default:"linear"},y2AxisScale:{type:"string",pattern:ee(["linear","log"]),description:"Specify the type of scale that applies to a numerical second y-axis.",default:"linear"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the second y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the x-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the second y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:ee(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:ee(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric second y-axis.",type:["string","number"]},yAxisMax:{type:["string","number"],description:"Specify the largest value for the visible y-axis range.",default:"auto"},y2AxisMax:{type:["string","number"],description:"Specify the largest value for the visible second y-axis range.",default:"auto"},yAxisMin:{type:["string","number"],description:"Specify the smallest value for the visible y-axis range.",default:"auto"},y2AxisMin:{type:["string","number"],description:"Specify the smallest value for the visible second y-axis range.",default:"auto"},overlayFields:{description:"Specify one or more fields to differentiate on the chart and display as chart overlays.",type:["array","string"],items:{type:"string"}},showOverlayY2Axis:{default:!1,description:"Enable a second y-axis for chart overlays. All overlay fields will map to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round second y-axis values to the nearest integer.",type:"boolean"},y2Fields:{default:"> y2 | getField()",description:"Specify one or more fields to map to the second y-axis.",type:["array","string"],items:{type:"string"}}}),oL=W0({x:{default:"> primary | seriesByIndex(0)",description:"Specify the data source to apply to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify the data source to apply to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify the data source to apply to the second y-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field to map to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify the field to map to the y-axis.",type:"string"},y2Fields:{default:"> y2 | getField()",description:"Specify one or more fields to map to a second y-axis.",type:["array","string"],items:{type:"string"}},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.",pattern:Be,type:"string"},barSpacing:{description:"Specify the spacing (px) between columns in a bar chart.",type:"number"},dataValuesDisplay:{default:"off",description:\'Specify the labels to display. Enter "all" to show lables for all data points, "off" to show no labels, or "minmax to show high and low values".\',pattern:ee(["off","all","minmax"]),type:"string"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",pattern:ee(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:\'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].\',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:\'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.\',pattern:ee(["standard","seriesCompare"]),type:"string"},legendReversed:{default:"false",description:"Specify whether to reverse the order of the legend items.",type:"boolean"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},lineDashStyle:{default:"solid",description:"Specify a dash style for all overlay field lines.",pattern:ee(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:`Specify a dash style to use for overlay lines for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".`,type:"object"},lineWidth:{default:2,description:"Specify the line width (px) for overlay field lines.",type:"number"},resultLimit:{default:5e4,description:"Specify the number of data points to render in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors to use for specific fields in a series. For example, {\\u201Ccount\\u201D: \\u201C#008000\\u201D, \\u201Cpercent\\u201D: \\u201C#FFA500\\u201D}.",type:"object"},seriesSpacing:{description:"Specify the spacing (px) between clustered series in column and bar charts.",type:"number"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},stackMode:{default:"auto",description:"Specify stack mode.",pattern:ee(["auto","stacked","stacked100"]),type:"string"},showIndependentYRanges:{default:!1,description:"Specify whether split series charts have independent y-ranges.",type:"boolean"},showSplitSeries:{default:!1,description:"Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom, one for each series.",type:"boolean"},showXMajorGridLines:{default:!1,description:"Specify whether to show major grid lines on the x-axis.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether to show major grid lines on the y-axis.",type:"boolean"},showY2MajorGridLines:{default:!1,description:"Specify whether to show major grid lines on the second y-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether to show minor grid lines on the y-axis.",type:"boolean"},showY2MinorGridLines:{default:!1,description:"Specify whether to show minor grid lines on the second y-axis.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether to extend the y-axis to include whole major tick marks.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether to include zero in the y-axis range.",type:"boolean"},showY2AxisWithZero:{default:!1,description:"Specify whether to include zero the second y-axis range .",type:"boolean"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show the second y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},xAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the second y-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the second y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{default:3,minimum:1,maximum:3,description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number"},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:ee(["linear","log"]),type:"string"},y2AxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical second y-axis.",pattern:ee(["linear","log"]),type:"string"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the second y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the x-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the second y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:ee(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y2-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:ee(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric second y-axis.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the largest value to display in the visible y-axis range.",type:["string","number"]},y2AxisMax:{default:"auto",description:"Specify the largest value to display in the visible second y-axis range.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the smallest value for the visible y-axis range.",type:["string","number"]},y2AxisMin:{default:"auto",description:"Specify the smallest value for the visible second y-axis range.",type:["string","number"]},overlayFields:{description:"Specify one or more fields to differentiate on the chart and display as chart overlays.",type:["array","string"]},showOverlayY2Axis:{default:!1,description:"Enable a second y-axis for chart overlays. All overlay fields map to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round second y-axis values to the nearest integer.",type:"boolean"}}),cL=W0({x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | seriesByIndex(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},category:{description:"Specify a sequence of dataSource events to be plotted on the chart.",type:"array",items:{type:["string","number"]}},size:{default:"> primary | seriesByIndex(2)",description:"Specify the dataSource events that are represented by the bubble size in the chart.",type:"array",items:{type:"number"}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the series categories.",type:"string"},sizeField:{default:"> size | getField()",description:"Specify the field that should be mapped to the bubble size in the chart.",type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the chart background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},bubbleSizeMax:{default:50,description:"Specify, in pixels, the maximum size of each bubble.",type:"number"},bubbleSizeMin:{default:10,description:"Specify, in pixels, the minimum size of each bubble.",type:"number"},bubbleSizeMethod:{default:"area",description:"Specify how bubble size is measured.",pattern:ee(["area","diameter"]),type:"string"},legendDisplay:{default:"right",description:"Specify the location of the legend on the panel.",pattern:ee(["right","left","top","bottom","off"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify where to use ellipsis to replace legend labels that overflow the layout.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the hexadecimal color codes for the bubble order from largest to smallest. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:\'Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}.\',type:"object"},showXAxisExtendedRange:{default:!0,description:"Specify whether the x-axis should be extended to snap to whole major tick marks.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether the y-axis should be extended to snap to whole major tick marks.",type:"boolean"},showXAxisWithZero:{default:!1,description:"Specify whether the x-axis range includes zero.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether the y-axis range includes zero.",type:"boolean"},showRoundedXAxisLabels:{default:!1,description:"Specify whether to round x-axis values to the nearest integer.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether major grid lines are visible on the y-axis.",type:"boolean"},showXMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the x-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the y-axis.",type:"boolean"},xAxisLabelRotation:{default:0,description:"Specify the rotation of the x-axis labels in degrees.",type:"number",enum:[-90,-45,0,45,90]},xAxisAbbreviation:{default:"off",description:"Specify whether to abbreviate large x-axis values with the closest International System of Units (SI) prefix.",enum:["off","auto"],pattern:ee(["auto","off"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["off","auto"],pattern:ee(["auto","off"]),type:"string"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},xAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval between major tick marks along the x-axis. By default, the spacing value is automatically calculated based on the scale of the related axis.",type:["string","number"]},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval between major tick marks along the y-axis. By default, the spacing value is automatically calculated based on the scale of the related axis.",type:["string","number"]},xAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y-axis.",type:"number"},xAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the x-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the x-axis .",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMax:{default:"auto",description:"Specify the maximum value for the visible x-axis range.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the maximum value for the visible y-axis range.",type:["string","number"]},xAxisMin:{default:"auto",description:"Specify the minimum value for the visible x-axis range.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the minimum value for the visible y-axis range.",type:["string","number"]},xAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical x-axis.",pattern:ee(["linear","log"]),type:"string"},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:ee(["linear","log"]),type:"string"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to hide the title of the x-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to hide the title of the y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"}}),lL=W0({areaColors:{default:"> areaValues|rangeValue(areaColorsRangeConfig)",description:"Specify the dataSource field that should be used to set the svg fill attribute of identified areas.",type:"array",items:{type:"string",pattern:Be}},areaIds:{default:\'> primary|seriesByType("string")\',description:"Specify the dataSource field that should be used to identify each area in the Choropleth svg, where the area has been tagged with an id field.",type:"array",items:{type:"string"}},areaValues:{default:\'> primary|seriesByType("number")\',description:"Specify the dataSource field that indicates the values for the areas.",type:"array",items:{type:"number"}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"the background color behind the SVG, title, and description.",type:"string",pattern:Be},svg:{description:"Literal svg, or svg data URI.",type:"string"}}),uL=W0({x:{default:"> primary | seriesByIndex(0)",description:"Specify a data source to apply to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify a data source to apply to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify a data source to apply to the second y-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify a field to map to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify a field to map to the y-axis.",type:"string"},y2Fields:{default:"> y2 | getField()",description:"Specify one or more fields to map to a second y-axis.",type:["array","string"],items:{type:"string"}},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},annotationColor:{description:\'Specify the annotation colors. For example, [\\u201C#FF0000\\u201D, \\u201C#0000FF", \\u201C#008000\\u201D]. You can use a data source or hexadecimal code to apply the color.\',type:"array",items:{type:"string"}},annotationLabel:{description:"Specify a list of labels to use for annotations. For example, [\\u201CSales\\u201D, \\u201CRevenue\\u201D, \\u201COrders\\u201D].You can use a data source to apply the labels. ",type:"array",items:{type:"string"}},annotationX:{description:"Specify a data source field to apply to the event annotation on the x-axis.",type:"array",items:{type:["string","number"]}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color to use for the background. You can use a data source or a hexadecimal code to apply the color.",pattern:Be,type:"string"},columnGrouping:{default:"auto",description:"Specify a column grouping mode. If chart.stackMode is defined, it overrides grouping mode settings.",pattern:ee(["auto","overlay"]),type:"string"},columnSpacing:{description:"Specifies the spacing (px) between columns in a column chart.",type:"number"},dataValuesDisplay:{description:\'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.\',type:"string",pattern:ee(["off","all","minmax"]),default:"off"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",pattern:ee(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:\'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].\',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:\'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.\',pattern:ee(["standard","seriesCompare"]),type:"string"},legendTruncation:{description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string",default:"ellipsisEnd"},lineDashStyle:{default:"solid",description:"Specify a dash style for all overlay field lines.",pattern:ee(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:`Specify a dash style to use for overlay lines for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".`,type:"object"},lineWidth:{default:2,description:"Specify the line width (px) for overlay field lines.",type:"number"},resultLimit:{default:5e4,description:"Specify the number of data points to render in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors to use for specific fields in a series. For example, {\\u201Ccount\\u201D: \\u201C#008000\\u201D, \\u201Cpercent\\u201D: \\u201C#FFA500\\u201D}.",type:"object"},seriesSpacing:{description:"Specify the spacing (px) between clustered series in column and bar charts.",type:"number"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},stackMode:{description:"Specify stack mode.",type:"string",pattern:ee(["auto","stacked","stacked100"]),default:"auto"},showIndependentYRanges:{description:"Specify whether split series charts have independent y-ranges.",type:"boolean",default:!1},showSplitSeries:{description:"Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom; uses one chart for each series.",type:"boolean",default:!1},showTooltip:{description:"Specify whether to make a tooltip visible on hover",type:"boolean",default:!0},showXMajorGridLines:{description:"Specify whether to show major grid lines on the x-axis.",type:"boolean",default:!1},showYMajorGridLines:{description:"Specify whether to show major grid lines on the y-axis.",type:"boolean",default:!0},showY2MajorGridLines:{description:"Specify whether to show major grid lines on the second y-axis.",type:"boolean",default:!1},showYMinorGridLines:{description:"Specify whether to show minor grid lines on the y-axis.",type:"boolean",default:!1},showY2MinorGridLines:{description:"Specify whether to show minor grid lines on the second y-axis.",type:"boolean",default:!1},showYAxisExtendedRange:{description:"Specify whether to extend the y-axis to include whole major tick marks.",type:"boolean",default:!0},showYAxisWithZero:{description:"Specify whether to include zero in the y-axis range.",type:"boolean",default:!1},showY2AxisWithZero:{description:"Specify whether to include zero in the second y-axis range.",type:"boolean",default:!1},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{description:"Specify the rotation of the x-axis label in degrees.",enum:[-90,-45,0,45,90],type:"number",default:0},xAxisLabelVisibility:{description:"Specify whether to show labels on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string",default:"auto"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show labels on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show the x-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show the y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show the second y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},xAxisMajorTickSize:{description:"Specify the size (px) of major tick marks on the x-axis.",type:"number",default:6},yAxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size (px) of major tick marks on the second y-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size (px) of minor tick marks on the second y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show major tick marks on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show minor tick marks on the second y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number",default:3,minimum:1,maximum:3},yAxisScale:{type:"string",pattern:ee(["linear","log"]),description:"Specify the type of scale that applies to a numerical y-axis.",default:"linear"},y2AxisScale:{type:"string",pattern:ee(["linear","log"]),description:"Specify the type of scale that applies to a numerical second y-axis.",default:"linear"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the second y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the x-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show the title of the second y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:ee(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.",enum:["auto","off"],pattern:ee(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric second y-axis.",type:["string","number"]},yAxisMax:{type:["string","number"],description:"Specify the largest value for the visible y-axis range.",default:"auto"},y2AxisMax:{type:["string","number"],description:"Specify the largest value for the visible second y-axis range.",default:"auto"},yAxisMin:{type:["string","number"],description:"Specify the smallest value for the visible y-axis range.",default:"auto"},y2AxisMin:{type:["string","number"],description:"Specify the smallest value for the visible second y-axis range.",default:"auto"},overlayFields:{description:"Specify one or more fields to differentiate on the chart and display as chart overlays.",type:["array","string"],items:{type:"string"}},showOverlayY2Axis:{default:!1,description:"Enable a second y-axis for chart overlays. All overlay fields will map to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round the second y-axis values to the nearest integer.",type:"boolean"}}),dL=W0({fillColor:{default:"> themes.defaultFillColor",description:\'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#C3CBD4". The default for enterprise dark is "#31373E". The default for prisma dark is "#0B0C0E".\',type:"string"},fillOpacity:{default:1,description:\'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.\',type:"number"},strokeColor:{default:"> themes.defaultStrokeColor",description:\'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#3C444D". The default for enterprise dark is "#C3CBD4". The default for prisma dark is "#ACACAD".\',type:"string"},strokeDashStyle:{default:0,description:"Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.",type:"number"},strokeOpacity:{default:1,description:\'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.\',type:"number"},strokeWidth:{default:1,description:"Specify the width of the stroke, in pixels. The minimum value is 0.",type:"number"}}),fL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},eventActions:{default:[],description:\'Specify the available actions to take for an event. For example, `[{ "eventType": "eventAction.buildEventType.click", "label": "Build Event Type" }]`. Event types should end in `.click` if utilizing event handlers. Note that both `eventtypeValues` and `fieldFilters` keys support wildcard values.\',type:"array",items:{anyOf:[{type:"object",properties:{eventType:{description:"The distinct type for the event emitted upon event action click.",type:"string",pattern:".click$",default:""},label:{description:"The label for the event action.",type:"string",default:""},eventtypeValues:{description:"An array of string values that all need to match against the value(s) of the `eventtype` field if it exists in the event in order to be shown.",items:{type:"string"},type:"array",default:[]},fieldFilters:{description:"An array of string values for fields that need to exist in the event in order for the given event action in order to be shown.",items:{type:"string"},type:"array",default:[]}},required:["eventType","label"]}]}},fieldActions:{description:\'Specify the available actions for this field. For example, `{ *: [{ "eventType": "fieldAction.sharedAction1.click", "label": "Shared Action 1", "eventtypeValues": ["*"], "fieldFilters": ["*"] }] }`. Event types should end in `.click` if utilizing event handlers. Actions under the `*` key are shared across all field dropdowns. Note that both `eventtypeValues` and `fieldFilters` keys, as well as the field names, support wildcard values.\',type:"object",patternProperties:{".*":{description:"Specify the available actions for this field.",type:"array",items:{anyOf:[{type:"object",properties:{eventType:{description:"The distinct type for the event emitted upon event action click.",type:"string",pattern:".click$",default:""},label:{description:"The label for the event action.",type:"string",default:""},eventtypeValues:{description:"An array of string values that all need to match against the value(s) of the `eventtype` field if it exists in the event in order to be shown.",items:{type:"string"},type:"array",default:[]},fieldFilters:{description:"An array of string values for fields that need to exist in the event in order for the given event action in order to be shown.",items:{type:"string"},type:"array",default:[]}},required:["eventType","label"]}]}}}},footerFields:{description:\'Specify field(s) that should be displayed in the footer component. Specify one or more fields to display in the footer component. For example, specify ["source", "dest"] to display the source and destination fields.\',type:"array",items:{type:"string"},default:[]},highlightValuesByField:{description:\'Specify the field and value pairs for manual highlighting. For example, `{"source": "$srcToken$", "dest": "12.21.1.11", "tag": ["tag1", "tag2"]}`.\',type:"object"},highlightFromSource:{description:\'Specify a segmentation mode to use for search based highlighting. Specifying "none" will turn search based highlighting off. For more about segmentation, search for "event segmentation" in the Getting Data In manual in the Splunk Docs.\',type:"string",pattern:ee(Nd),default:"none"},showFieldSummary:{description:"Specify that a field summary popup appears when a field is selected. To show field summaries for a search, configure an additional datasource called `fieldsummary` using the original search followed by the `... | fieldsummary maxvals=10` SPL command.",type:"boolean",default:!0}}),pL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},gaugeColor:{default:c1.CATEGORICAL[0],description:\'Specify the color for the gauge color of the filler gauge. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF".\',type:"string"},labelDisplay:{default:"number",description:"Specify whether to display the labels as numbers, percentages, or off. The label right aligns to the value for horizontal orientation, and top aligns for vertical.",pattern:ee(["number","percentage","off"]),type:"string"},majorTickInterval:{description:"Specify, in pixels, the spacing between major tick marks.",default:"auto",type:["string","number"]},orientation:{default:"vertical",description:"Specify the axis orientation of the gauge.",pattern:ee(["vertical","horizontal"]),type:"string"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:200,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:200,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},value:{default:\'> primary | seriesByType("number") | lastPoint()\',description:"Specify the dataSource applied to the value of the filler gauge.",type:"number"},valueDisplay:{default:"number",description:"Specify whether to display the value as a number, percentage, or off.",pattern:ee(["number","percentage","off"]),type:"string"}}),hL=W0({src:{description:"URL of an image file. All browser-supported image formats are acceptable.",type:"string"},preserveAspectRatio:{default:!1,description:"Set to true to maintain the aspect ratio of an image when the screen is resized.",type:"boolean"}}),ML=W0({acceleratedRender:{default:!1,description:"Specify whether to switch rendering from SVG to Canvas for faster performance with large datasets. Some options may not be supported in this mode.",type:"boolean"},x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | frameBySeriesIndexRange(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},y2:{description:"Specify the dataSource applied to the y2-axis",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yFields:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},annotationColor:{description:\'Specify the annotation colors. You may use a dataSource to apply the color. For example, [\\u201C#FF0000\\u201D, \\u201C#0000FF", \\u201C#008000\\u201D].\',type:"array",items:{type:"string"}},annotationLabel:{description:"Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [\\u201Chouston, we have a problem\\u201D, \\u201Cjust close the jira\\u201D, \\u201Clooking good now\\u201D].",type:"array",items:{type:"string"}},annotationX:{description:"Specify the dataSource field applied to the event annotation on the x-axis.",type:"array",items:{type:["string","number"]}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},dataValuesDisplay:{default:"off",description:"Specify whether chart should display no labels, all labels, or only the min and max labels.",pattern:ee(["off","all","minmax"]),type:"string"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. You must select the Standard legend mode to make this change.",pattern:ee(["right","left","top","bottom","off"]),type:"string"},legendLabels:{description:\'Specify a list of labels to pre-populate the legend. For example, ["percent", "count"].\',type:"array",items:{type:"string"}},legendMode:{default:"standard",description:\'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.\',pattern:ee(["standard","seriesCompare"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},lineDashStyle:{default:"solid",description:"Specify a dash style for all line series in the chart.",pattern:ee(["solid","shortDash","shortDot","shortDashDot","shortDashDotDot","dot","dash","longDash","dashDot","longDashDot","longDashDotDot"]),type:"string"},lineDashStylesByField:{description:`Specify a dash style to use for each field. For example, {"count": "longDashDot", "percent": "longDashDotDot"}.\n Valid values: "solid", "shortDash", "shortDot", "shortDashDot", "shortDashDotDot", "dot", "dash",\n "longDash", "dashDot", "longDashDot", "longDashDotDot".`,type:"object"},lineWidth:{default:2,description:"Specify the line width (px), for all line series.",type:"number"},markerDisplay:{default:"off",description:"Specify the marker display style for data points.",pattern:ee(["off","filled","outlined"]),enum:["off","filled","outlined"],type:"string"},nullValueDisplay:{default:"gaps",description:"Specify how area and line charts handle null values.",pattern:ee(["gaps","zero","connect"]),type:"string"},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:"Specify the colors used for specific fields in a series. For example, {\\u201Ccount\\u201D: \\u201C#008000\\u201D, \\u201Cpercent\\u201D: \\u201C#FFA500\\u201D}.",type:"object"},showLineSmoothing:{default:!1,description:"Specify whether lines are straight or smoothed using curves.",type:"boolean"},showIndependentYRanges:{default:!1,description:"Specify whether split series charts have independent y-ranges.",type:"boolean"},showSplitSeries:{default:!1,description:\'Set to "true" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.\',type:"boolean"},showXMajorGridLines:{default:!1,description:"Specify whether major grid lines are visible on the x-axis.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether major grid lines are visible on the y-axis.",type:"boolean"},showY2MajorGridLines:{default:!1,description:"Specify whether major grid lines are visible on the y2-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the y-axis.",type:"boolean"},showY2MinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on y2-axis.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether the y-axis should be extended to include whole major tick marks.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether the y-axis range includes zero.",type:"boolean"},showY2AxisWithZero:{default:!1,description:"Specify whether the y2-axis range includes zero.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{default:0,description:"Specify the rotation of the x-axis label in degrees.",enum:[-90,-45,0,45,90],type:"number"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y2-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",enum:["hide","show"],description:"Specify whether to show or hide the x-axis line.",pattern:ee(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the y2-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},xAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y-axis.",type:"number"},y2AxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y2-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y-axis.",type:"number"},y2AxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y2-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y2-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},y2AxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y2-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMaxLabelParts:{default:3,minimum:1,maximum:3,description:"Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.",type:"number"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},y2AxisTitleText:{description:"Specify the title of the y2-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the x-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},y2AxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the y2-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest SI prefix.",enum:["off","auto"],pattern:ee(["off","auto"]),type:"string"},y2AxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y2-axis values with the closest SI prefix.",enum:["off","auto"],pattern:ee(["off","auto"]),type:"string"},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y-axis.",type:["string","number"]},y2AxisMajorTickInterval:{default:"auto",description:"Specify the spacing unit between major tick marks along the numeric y2-axis.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the maximum number for the visible y-axis range.",type:["string","number"]},y2AxisMax:{default:"auto",description:"Specify the maximum number for the visible y2-axis range.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the minimum number for the visible y-axis range.",type:["string","number"]},y2AxisMin:{default:"auto",description:"Specify the minimum number for the visible y2-axis range.",type:["string","number"]},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:ee(["linear","log"]),type:"string"},y2AxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y2-axis.",pattern:ee(["linear","log"]),type:"string"},overlayFields:{description:"Specify field(s) that should be differentiated on the chart and displayed as chart overlays.",type:["array","string"],items:{type:"string"}},showOverlayY2Axis:{default:!1,description:"Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.",type:"boolean"},showRoundedY2AxisLabels:{default:!0,description:"Specify whether to round y2-axis values to the nearest integer.",type:"boolean"},y2Fields:{default:"> y2 | getField()",description:"Specify field(s) that should be mapped to a second y-axis.",type:["array","string"],items:{type:"string"}}}),mL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},fieldOrder:{default:"> primary | getField()",description:"Specify the order of fields to be displayed in the link graph from left to right when loaded. Unspecified fields will be excluded from the graph.",type:"array",items:{type:"string"}},linkColor:{default:"#6d6f76",description:"Specify the color used for highlighted links. Non-highlighted links will be displayed at 20% opacity.",pattern:Be,type:"string"},linkWidth:{default:1,description:"Specify, in pixels, the stroke width of each link.",type:"number"},nodeColor:{default:"> themes.defaultNodeColor",description:"Specify the color used for unhighlighted nodes.",pattern:Be,type:"string"},nodeTextColor:{description:"Specify the color used for unhighlighted nodes text.",pattern:Be,type:"string",default:"> nodeColor | maxContrast(nodeTextColorMaxContrast)"},nodeHeight:{default:21,description:"Specify, in pixels, the height of each node.",type:"number"},nodeHighlightColor:{default:c1.VIZ_CATEGORICAL[0],description:"Specify the color used for highlighted nodes.",pattern:Be,type:"string"},nodeTextHighlightColor:{description:"Specify the color used for highlighted nodes text.",pattern:Be,type:"string",default:"> nodeHighlightColor | maxContrast(nodeHighlightTextColorMaxContrast)"},nodeSpacingX:{default:32,description:"Specify, in pixels, the horizontal spacing between each node.",type:"number"},nodeSpacingY:{default:18,description:"Specify, in pixels, the vertical spacing between each node.",type:"number"},nodeWidth:{default:180,description:"Specify, in pixels, the width of each node.",type:"number"},resultLimit:{default:50,description:"Specify the number of nodes rendered in each column.",type:"number"},showNodeCounts:{default:!0,description:"Specify whether a count is shown for the number of nodes displayed in each column. The number of total nodes is also shown if there are hidden nodes.",type:"boolean"},showValueCounts:{default:!0,description:"Specify whether a count is shown for the frequency of occurrence for each distinct node value.",type:"boolean"}}),_L=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify a color for the background. You might use a dataSource to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".\',pattern:Be,type:"string"},baseLayerTileServer:{type:"string",description:"Specify the URL for the set of tiles that make up the base map."},baseLayerTileServerType:{type:"string",description:"Specify the type of tile set for the base map.",pattern:ee(["vector","raster"])},center:{type:"array",description:"Specify the center of the map in coordinates, in the form of [latitude, longitude]. If you don\\u2019t provide coordinates, the map automatically centers, based on available location data. If there is no available location data, the center of the map defaults to [37.7749, -122.4194].",items:{type:"number"}},layers:{default:[{type:"bubble",latitude:\'> primary | seriesByName("latitude")\',longitude:\'> primary | seriesByName("longitude")\',seriesColors:c1.VIZ_CATEGORICAL,dataValues:\'> primary | seriesByType("number")\',dataColors:"",bubbleSize:\'> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")\',additionalTooltipFields:[],resultLimit:1e3},{type:"marker",latitude:\'> primary | seriesByName("latitude")\',longitude:\'> primary | seriesByName("longitude")\',seriesColors:c1.VIZ_CATEGORICAL,dataValues:\'> primary | seriesByType("number")\',dataColors:"",additionalTooltipFields:[],resultLimit:1e3},{type:"choropleth",areaIds:\'> primary | seriesByType("string")\',areaValues:\'> primary | seriesByType("number")\',dataColors:"> areaValues | gradient()",additionalTooltipFields:[],resultLimit:1e3,choroplethEmptyAreaColor:"> themes.defaultChoroplethEmptyAreaColor",choroplethStrokeColor:"transparent",choroplethOpacity:.8}],type:"array",description:"Specify the optional data visualization layers over the base map. If empty, only the base map appears.",items:{anyOf:[{type:"object",properties:{type:{description:\'Specify the type of data layer method to display points on the map. For example, \\u201Cbubble\\u201D, \\u201Cmarker\\u201D, or "choropleth".\',type:"string",pattern:ee(["marker","bubble","choropleth"]),default:"marker"},latitude:{description:\'Specify a dataSource series to apply latitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".\',type:["string","array"],items:{type:"number"},default:\'> primary | seriesByName("latitude")\'},longitude:{description:\'Specify a dataSource series to apply longitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".\',type:["string","array"],items:{type:"number"},default:\'> primary | seriesByName("longitude")\'},seriesColors:{description:\'Specify the colors to use for data points. If the dataColors option is specified, the seriesColors option is ignored. The seriesColors option applies to layers where type: "bubble" or type: "marker".\',type:"array",items:{type:"string",pattern:Be},default:c1.VIZ_CATEGORICAL},dataColors:{description:\'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, \\u201C> primary | seriesByName("status") | matchValue(colorMatchConfig)\\u201D. When type: "choropleth", dataColors is defined by default, and the opacities are shown at 80% of maximum to allow textual information to be visible in the map. By default, the dataColors option is empty for "bubble" or "marker" layers to prioritize seriesColors. For "bubble" layers, dataColors requires bubbleSize to have a single series configured. If multiple series are set for bubbleSize, only the first pie slice reflects the colors.\',type:["string","array"],items:{type:"string"},default:""},dataValues:{description:\'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".\',type:["string","array"],items:{type:"number"},default:\'> primary | seriesByType("number")\'},additionalTooltipFields:{description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"},default:[]},tooltipHeaderField:{description:"Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",type:"string"},resultLimit:{description:"Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",type:"number",default:1e3}}},{type:"object",properties:{type:{description:\'Specify the type of data layer method to display points on the map. For example, \\u201Cbubble\\u201D, \\u201Cmarker\\u201D, or "choropleth".\',type:"string",pattern:ee(["marker","bubble","choropleth"]),default:"choropleth"},areaIds:{description:\'Specify a dataSource series to identify each area in the choropleth map layer. This applies to layers where type: "choropleth".\',type:"array",items:{type:"string"},default:\'> primary | seriesByType("string")\'},areaValues:{description:\'Specify a dataSource series that indicates the values for the choropleth map areas. This applies to layers where type: "choropleth".\',type:"array",items:{type:"number"},default:\'> primary | seriesByType("number")\'},dataColors:{description:\'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, \\u201C> primary | seriesByName("status") | matchValue(colorMatchConfig)\\u201D. When type: "choropleth", dataColors is defined by default. By default, the dataColors option is not defined for type "bubble" or "marker".\',type:["string","array"],items:{type:"string"},default:"> areaValues | gradient()"},additionalTooltipFields:{description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"},default:[]},tooltipHeaderField:{description:"Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",type:"string"},resultLimit:{description:"Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",type:"number",default:1e3},source:{description:\'Source for the geodata for choropleth layer: "us" or "world", and will override data specified in the SPL geom command.\',pattern:ee(["geo://default/us","geo://default/world"]),type:"string"},choroplethEmptyAreaColor:{description:\'Specify the color used for empty choropleth areas when "type": "choropleth", and will only work when "source" option is correctly configured.\',pattern:Be,type:"string",default:"> themes.defaultChoroplethEmptyAreaColor"},choroplethStrokeColor:{description:\'Specify the stroke color for choropleth area outlines. The hex value format should be "#FFFFFF".\',pattern:Be,type:"string",default:"transparent"},choroplethOpacity:{description:\'Specify the opacity of choropleth areas. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.8" in code or "80%" in UI.\',type:"number",default:.8}}},{type:"object",properties:{type:{description:\'Specify the type of data layer method to display points on the map. For example, \\u201Cbubble\\u201D, \\u201Cmarker\\u201D, or "choropleth".\',type:"string",pattern:ee(["marker","bubble","choropleth"]),default:"bubble"},bubbleSize:{description:\'Specify the data column to encode bubble size. This applies to layers where type: "bubble". If a single data column is specified, each bubble appears as a circle. When multiple columns are provided, bubbles are displayed as pie charts, with each slice representing a different column.\',type:["string","array"],items:{type:"number"},default:\'> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")\'},latitude:{description:\'Specify a dataSource series to apply latitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".\',type:["string","array"],items:{type:"number"},default:\'> primary | seriesByName("latitude")\'},longitude:{description:\'Specify a dataSource series to apply longitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".\',type:["string","array"],items:{type:"number"},default:\'> primary | seriesByName("longitude")\'},seriesColors:{description:\'Specify the colors to use for data points. If the dataColors option is specified, the seriesColors option is ignored. The seriesColors option applies to layers where type: "bubble" or type: "marker".\',type:"array",items:{type:"string",pattern:Be},default:c1.VIZ_CATEGORICAL},dataColors:{description:\'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, \\u201C> primary | seriesByName("status") | matchValue(colorMatchConfig)\\u201D. When type: "choropleth", dataColors is defined by default, and the opacities are shown at 80% of maximum to allow textual information to be visible in the map. By default, the dataColors option is empty for "bubble" or "marker" layers to prioritize seriesColors. For "bubble" layers, dataColors requires bubbleSize to have a single series configured. If multiple series are set for bubbleSize, only the first pie slice reflects the colors.\',type:["string","array"],items:{type:"string"},default:""},dataValues:{description:\'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".\',type:["string","array"],items:{type:"number"},default:\'> primary | seriesByType("number")\'},additionalTooltipFields:{description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"},default:[]},tooltipHeaderField:{description:"Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",type:"string"},resultLimit:{description:"Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",type:"number",default:1e3}}}]}},scaleUnit:{default:"metric",type:"string",description:"Specify the scale unit to use.",pattern:ee(["metric","imperial"])},showBaseLayer:{default:!0,type:"boolean",description:"Specify if showing the base map."},showScale:{default:!0,type:"boolean",description:"Specify whether to display the scale on the bottom left."},showZoomControls:{default:!0,type:"boolean",description:"Specify whether to display the control panel of zoom on the top left."},zoom:{description:"Specify the zoom level of the map.",type:"number"},showCoordinates:{default:!0,type:"boolean",description:"Specify whether to display coordinates (latitude and longitude) in the tooltip."},icon:{default:"",type:"string",description:\'Specify the url for an svg to display an icon inside bubbles for map. This applies to layers where type: "bubble".\'}}),bL=W0({backgroundColor:{description:\'Specify the background color using a Hex code such as "#FF0000".\',type:"string",default:"transparent",pattern:Be},customFontSize:{description:"Specify the font size (in pixels) you would like to use for unformatted text when `fontSize` is set to `custom`. Header elements are calculated with the following formula: h1 = 2 \\xD7 `customFontSize`, h2 = 1.5 \\xD7 `customFontSize`, h3 = 1.25 \\xD7 `customFontSize`",default:14,type:"number"},fontColor:{description:\'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".\',type:"string",default:"> themes.defaultFontColor",pattern:Be},fontFamily:{default:"Splunk Platform Sans",pattern:ee(["Splunk Platform Sans","Splunk Data Sans","Splunk Platform Mono","Arial","Helvetica","Times New Roman","Comic Sans MS"]),description:\'Specify the font family you would like to use for markdown content, such as "Comic Sans MS". Note: the font needs to be available to your end user.\',type:"string"},fontSize:{description:"Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.",type:"string",default:"default",pattern:ee(["extraSmall","small","default","large","extraLarge","custom"])},markdown:{description:"Add text using basic markdown syntax.",type:"string"},rotation:{description:"Specify the angle of rotation of the markdown content in degrees.",type:"number",default:0}}),yL=W0({backgroundColor:{description:\'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',type:"string",pattern:Be,default:"> themes.defaultBackgroundColor"},gaugeRanges:{description:\'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"from": 0, "to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#F4DF7A"}].\',default:[{from:0,to:50,value:"#118832"},{from:50,to:90,value:"#CBA700"},{from:90,to:100,value:"#D41F1F"}],type:"array",items:{type:"object",properties:{from:{type:"number",description:"Starting value for range."},to:{type:"number",description:"Ending value for range."},value:{description:"Color for sub range.",type:"string",pattern:Be}},required:["from","to","value"],additionalProperties:!1}},labelDisplay:{description:"Specify whether to display the labels as numbers, percentages, or off. The label center aligns to the value.",default:"number",type:"string",pattern:ee(["number","percentage","off"])},majorTickInterval:{description:"Specify, in pixels, the spacing between major tick marks.",default:"auto",type:["string","number"]},orientation:{description:"Specify the axis orientation of the gauge.",default:"vertical",type:"string",pattern:ee(["horizontal","vertical"])},value:{description:"Specify the dataSource applied to the value of the marker gauge.",type:"string",default:\'> primary | seriesByType("number") | lastPoint()\'},valueDisplay:{description:"Specify whether to display the value as a number, percentage, or off.",default:"number",type:"string",pattern:ee(["number","percentage","off"])}}),gL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color used for the background. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},lineColor:{default:c1.VIZ_CATEGORICAL[0],description:"Specify the dataSource color for the lines. The hex value format should be #FFFFFF.",pattern:Be,type:"string"},lineOpacity:{default:.5,description:\'Specify the opacity of the lines. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.50" in source or "50%" in UI.\',type:"number"},showNullAxis:{default:!0,description:"Select whether you would like to show or hide the null value axis.",type:"boolean"}}),LL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},collapseExcludeZero:{default:!1,description:"Specify whether to exclude zeros and non-numeric values in the consolidated slice.",type:"boolean"},collapseLabel:{description:"Specify the label for the consolidated slice.",type:"string",default:"other"},collapseThreshold:{description:"Specify the size threshold as a number between 0 and 1 (inclusive), of the whole pie at which slices collapse into one consolidated slice.",type:"number",default:.01},label:{description:"List of string values to display the pie chart labels.",type:"array",items:{type:"string"},default:"> primary | seriesByIndex(0)"},labelField:{default:"> label | getField()",description:"Specify the field that corresponds to the labels.",type:"string"},labelDisplay:{description:"Specify whether to display the labels and/or slice percentages.",type:"string",pattern:ee(["values","valuesAndPercentage","off"]),default:"values"},percentagePrecision:{description:"Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 10.",type:"number",minimum:1,maximum:16,default:0},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:\'Specify the colors used for specific pie slice labels. For example: {"April": "#008000", "May": "#FFA500"}.\',type:"object"},showDonutHole:{default:!1,description:"Specify whether the pie should be a donut.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable.",type:"string"},value:{description:"List of numerical values to power the pie chart.",type:"array",items:{type:"number"},default:"> primary | seriesByIndex(1)"},valueField:{default:"> value | getField()",description:"Specify the field that corresponds to the data powering values.",type:"string"}}),AL=W0({x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | seriesByIndex(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},category:{default:"> primary | seriesByIndex(3)",description:"Specify the dataSource to apply series categories.",type:"array",items:{type:["string","number"]}},size:{default:"> primary | seriesByIndex(2)",description:"Specify the dataSource to apply bubble size in the chart.",type:"array",items:{type:"number"}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the series categories.",type:"string"},sizeField:{default:"> size | getField()",description:"Specify the field that should be mapped to the bubble size in the chart.",type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},bubbleColor:{default:"> size | gradient(bubbleColorConfig)",description:\'Specify the coloring method used for the bubbles when the colorMode \\u201Cdynamic\\u201D is specified. For example \\u201C> size | gradient(bubbleColorConfig)".\',type:["string","array"]},bubbleLabelDisplay:{default:"all",description:"Specify whether all bubble labels, the max value bubble labels, or none of the bubble labels should be displayed.",pattern:ee(["all","max","off"]),type:"string"},bubbleRadiusMax:{default:15,description:"Specify the max radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.",type:"number"},bubbleRadiusMin:{default:1,description:"Specify the min radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.",type:"number"},bubbleRowScale:{default:"global",description:"Specify how bubbles are scaled relative to other rows.",pattern:ee(["global","row"]),type:"string"},bubbleSizeMax:{default:1,description:"Specify the max percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.",type:"number"},bubbleSizeMin:{default:.25,description:"Specify the min percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.",type:"number"},bubbleSizeMethod:{default:"area",description:"Specify whether bubble area or diameter corresponds to the size value.",pattern:ee(["radius","area"]),type:"string"},colorMode:{default:"dynamic",description:"Specify the coloring method used for the bubbles.",pattern:ee(["categorical","dynamic"]),type:"string"},legendDisplay:{default:"right",description:"Specify the location of the legend on the panel.",pattern:ee(["right","off"]),type:"string"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors used for a series. For example, "#FF0000", "#0000FF", "#008000".\',type:"array",items:{type:"string"}},showDefaultSort:{default:!1,description:"Specify whether axes should be sorted based on order of time, digits and strings.",type:"boolean"},showDynamicBubbleSize:{default:!0,description:"Specify whether the bubble size should be dynamic or fixed.",type:"boolean"},showMaxValuePulsation:{default:!0,description:"Specify whether the max value bubble should pulsate.",type:"boolean"}}),vL=W0({fillColor:{default:"> themes.defaultFillColor",description:\'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#C3CBD4". The default for enterprise dark mode is "#31373E". The default for prisma dark mode is "#0B0C0E".\',type:"string"},fillOpacity:{description:\'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.\',type:"number",default:1},rx:{description:"Specify the curvature of the horizontal corner (or border) radius with an integer or a percent greater than or equal to zero.",type:"number",default:0},ry:{description:"Specify the curvature of the vertical corner (or border) radius with an integer or a percent greater than or equal to zero.",type:"number",default:"> rx"},strokeColor:{default:"> themes.defaultStrokeColor",description:\'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#3C444D". The default for enterprise dark mode is "#C3CBD4". The default for prisma dark mode is "#ACACAD".\',type:"string"},strokeDashStyle:{description:"Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.",type:"number",default:0},strokeJoinStyle:{description:"Specifies the shape to be used at the corners of paths when they are joined.",type:"string",default:"miter",pattern:ee(["arcs","bevel","miter","miter-clip","round"])},strokeOpacity:{description:\'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.\',type:"number",default:1},strokeWidth:{description:"Specify the width of the stroke, in pixels. The minimum value is 0.",type:"number",default:1}}),zL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},colorMode:{default:"categorical",description:\'Specify the coloring method used for the links. When set to "categorical" the nodes and links will be colored based on the "seriesColors". When set to "dynamic" the links will be colored based on the dynamic string assigned to "linkColors".\',pattern:ee(["categorical","dynamic"]),type:"string"},labelDisplay:{default:"off",description:"Specify whether to display the values and/or percentages of the nodes. Values are abbreviated to two decimal points, and a magnitude unit will be displayed. Percentages are calculated using the maximum node value as 100%. For very small nodes (with height < 24px) the values/percentage display is automatically turned off. ",pattern:ee(["values","valuesAndPercentage","percentage","off"]),type:"string"},linkColors:{default:"> linkValues | rangeValue(linkColorRangeConfig)",description:"Specify the coloring method used for the links when the colorMode \\u201Cdynamic\\u201D is specified.",type:"array",items:{type:"string",pattern:Be}},linkOpacity:{default:.5,description:"Specify the opacity of the links. Choose a number in the range of 0 - 1 (inclusive).",type:"number"},linkValues:{default:"> primary | seriesByType(\'number\')",description:"Specify the dataSource to apply link width.",type:"string"},resultLimit:{default:1e3,description:"Specify the maximum length of link data points rendered.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},unit:{description:\'Specify text to show on the left of the value in the node label when "labelDisplay" is set to either "values" or "valuesAndPercentage"\',type:"string"}}),wL=W0({x:{default:"> primary | seriesByIndex(0)",description:"Specify the dataSource applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:"> primary | seriesByIndex(1)",description:"Specify the dataSource applied to the y-axis.",type:"array",items:{type:["string","number"]}},category:{description:"Specify a sequence of dataSource events to be plotted on the chart.",type:"array",items:{type:["string","number"]},default:"> primary | seriesByIndex(2)"},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the series categories.",type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},legendDisplay:{description:"Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",pattern:ee(["right","left","top","bottom","off"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},markerSize:{description:"Specify, in pixels, the size of each scatter marker.",type:"number",default:4},resultLimit:{default:5e4,description:"Specify the number of data points rendered in a chart.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},seriesColorsByField:{description:\'Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}.\',type:"object"},showXAxisExtendedRange:{default:!0,description:"Specify whether the x-axis should be extended to snap to whole major tick marks.",type:"boolean"},showYAxisExtendedRange:{default:!0,description:"Specify whether the y-axis should be extended to snap to whole major tick marks.",type:"boolean"},showXAxisWithZero:{default:!1,description:"Specify whether the x-axis range includes zero.",type:"boolean"},showYAxisWithZero:{default:!1,description:"Specify whether the y-axis range includes zero.",type:"boolean"},showRoundedXAxisLabels:{default:!1,description:"Specify whether to round x-axis values to the nearest integer.",type:"boolean"},showYMajorGridLines:{default:!0,description:"Specify whether major grid lines are visible on the y-axis.",type:"boolean"},showXMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the x-axis.",type:"boolean"},showYMinorGridLines:{default:!1,description:"Specify whether minor grid lines are visible on the y-axis.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1,default:3},trellisMinColumnWidth:{default:250,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:180,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSharedScale:{default:!0,type:"boolean",description:"Specify whether all visualizations will share the same scale in the trellis container."},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `stats` command is used, this may default to the first string field.",type:"string"},xAxisLabelRotation:{default:0,description:"Specify the rotation of the x-axis labels in degrees.",type:"number",enum:[-90,-45,0,45,90]},xAxisAbbreviation:{default:"off",description:"Specify whether to abbreviate large x-axis values with the closest SI prefix.",enum:["off","auto"],pattern:ee(["auto","off"]),type:"string"},yAxisAbbreviation:{default:"auto",description:"Specify whether to abbreviate large y-axis values with the closest SI prefix.",enum:["off","auto"],pattern:ee(["auto","off"]),type:"string"},xAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisLabelVisibility:{default:"auto",description:"Specify whether to show or hide labels on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the x-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisLineVisibility:{default:"hide",description:"Specify whether to show or hide the y-axis line.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},xAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis.",type:["string","number"]},yAxisMajorTickInterval:{default:"auto",description:"Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis.",type:["string","number"]},xAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the x-axis.",type:"number"},yAxisMajorTickSize:{default:6,description:"Specify the size, in pixels, of major tick marks on the y-axis.",type:"number"},xAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the x-axis.",type:"number"},yAxisMinorTickSize:{default:6,description:"Specify the size, in pixels, of minor tick marks on the y-axis.",type:"number"},xAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the x-axis.",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMajorTickVisibility:{default:"auto",description:"Specify whether to show or hide major tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the x-axis .",pattern:ee(["auto","show","hide"]),type:"string"},yAxisMinorTickVisibility:{default:"auto",description:"Specify whether to show or hide minor tick marks on the y-axis.",pattern:ee(["auto","show","hide"]),type:"string"},xAxisMax:{default:"auto",description:"Specify the maximum number for the range of the visible x-axis.",type:["string","number"]},yAxisMax:{default:"auto",description:"Specify the maximum number for the range of the visible y-axis.",type:["string","number"]},xAxisMin:{default:"auto",description:"Specify the minimum number for the range of the visible x-axis.",type:["string","number"]},yAxisMin:{default:"auto",description:"Specify the minimum number for the range of the visible y-axis.",type:["string","number"]},xAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical x-axis.",pattern:ee(["linear","log"]),type:"string"},yAxisScale:{default:"linear",description:"Specify the type of scale that applies to a numerical y-axis.",pattern:ee(["linear","log"]),type:"string"},xAxisTitleText:{description:"Specify the title of the x-axis.",type:"string"},yAxisTitleText:{description:"Specify the title of the y-axis.",type:"string"},xAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the x-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"},yAxisTitleVisibility:{default:"show",description:"Specify whether to show or hide the title of the y-axis.",enum:["hide","show"],pattern:ee(["show","hide"]),type:"string"}}),TL=W0({align:{default:"center",description:"Specify how to align the center content.",pattern:ee(["left","center","right"]),type:"string"},backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},majorColor:{default:"> themes.defaultFontColor",description:\'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},majorFontSize:{description:"Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.",type:"number"},majorValue:{default:"> sparklineValues|lastPoint()",description:"The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified.",type:["string","number"]},majorValueDisplay:{default:"> majorValue",description:"The formatted version of majorValue displayed in the visualization.",type:["string","number"]},majorValueField:{default:"> majorValue | getField()",description:"The field name of major value.",type:"string"},numberPrecision:{default:0,maximum:20,minimum:0,description:"Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.",type:"number"},shouldAbbreviateTrendValue:{default:!1,description:"Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldAbbreviateMajorValue:{default:!1,description:"Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldSparklineAcceptNullData:{default:!0,description:"Specify whether to convert null and non-numeric values in the sparkline to 0.",type:"boolean"},shouldUseThousandSeparators:{default:!0,description:"Specify whether numeric values use commas as thousandths separators.",type:"boolean"},showSparklineAreaGraph:{default:!1,description:"Specify whether to show the sparkline as an area graph rather than a line.",type:"boolean"},showSparklineTooltip:{default:!1,description:"Show a tooltip to display values on the sparkline.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},sparklineAreaColor:{default:"> sparklineStrokeColor",description:"Specify the color for the sparkline area fill. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The graph area will have an opacity of 20% and will blend with the background color.",pattern:Be,type:"string"},sparklineDisplay:{default:"below",description:"Specify how to display a sparkline.",pattern:ee(["before","after","below","off"]),type:"string"},sparklineHighlightDots:{default:0,description:"Specify the number of markers, or dots, to display at the top of a sparkline area graph.",type:"number"},sparklineHighlightSegments:{default:0,description:"Specify the number of segments to be highlighted at the top of a sparkline area graph.",type:"number"},sparklineStrokeColor:{default:"> themes.defaultSparklineStrokeColor",description:\'Specify the color for the sparkline stroke. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},sparklineValues:{default:\'> primary|seriesByPrioritizedTypes("number", "string", "time")\',description:"List of numerical values to display on a sparkline. If the values are string type, the sparkline will not be shown.",type:"array",items:{type:["string","number"]}},trendColor:{default:"> themes.defaultFontColor",description:\'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},trendDisplay:{default:"absolute",description:"Specify how to display the trend value.",pattern:ee(["percent","absolute","off"]),type:"string"},trendFontSize:{description:"Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.",type:"number"},trendValue:{default:"> sparklineValues|delta(-2)",description:"The trend value to display in the visualization.",type:"number"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1},trellisMinColumnWidth:{default:100,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:70,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},underLabel:{description:"Specify the text that appears below the major value.",type:"string"},underLabelFontSize:{default:12,description:"Specify the font size (px) for the under label text.",type:"number"},unit:{description:"Specify text to show next to the major value.",type:"string"},unitPosition:{default:"after",description:"Specify whether the unit text should appear before or after the major value.",pattern:ee(["before","after"]),type:"string"}}),SL=W0({align:{default:"center",description:"Specify how to align the center content.",pattern:ee(["left","center","right"]),type:"string"},backgroundColor:{default:"transparent",description:"Specify the color for the background. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D.",pattern:Be,type:"string"},icon:{default:"default",description:"Specify an icon.",type:"string"},iconColor:{default:null,description:\'Specify the color for the icon. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},iconOpacity:{default:1,description:"Specify the opacity for the icon using a number between 0 and 1 (inclusive).",type:"number"},iconPosition:{default:"before",description:"Specify where to display the icon in relation to the major value.",type:"string"},majorColor:{default:"> themes.defaultFontColor",description:\'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},majorFontSize:{description:"Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.",type:"number"},majorValue:{default:\'> primary|seriesByPrioritizedTypes("number", "string", "time")|lastPoint()\',description:"The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified.",type:["string","number"]},majorValueDisplay:{default:"> majorValue",description:"The formatted version of majorValue displayed in the visualization.",type:["string","number"]},majorValueField:{default:"> majorValue | getField()",description:"The field name of major value.",type:"string"},numberPrecision:{default:0,maximum:20,minimum:0,description:"Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.",type:"number"},shouldAbbreviateTrendValue:{default:!1,description:"Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldAbbreviateMajorValue:{default:!1,description:"Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldUseThousandSeparators:{default:!0,description:"Specify whether numeric values use commas as thousandths separators.",type:"boolean"},showValue:{default:!0,description:"Specify whether to enable or disable the value and trend indicator displays.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},trendColor:{default:"> themes.defaultFontColor",description:\'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},trendDisplay:{default:"absolute",description:"Specify whether the trend value is displayed as a percentage or an absolute count.",pattern:ee(["off","percent","absolute"]),type:"string"},trendFontSize:{description:"Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.",type:"number"},trendValue:{default:\'> primary|seriesByPrioritizedTypes("number", "string", "time")|delta(-2)\',description:"The trend value to display in the visualization.",type:"number"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1},trellisMinColumnWidth:{default:100,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:70,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},underLabel:{description:"Specify the text that appears below the major value.",type:"string"},unit:{description:"Specify text to show next to the major value.",type:"string"},unitPosition:{default:"after",description:"Specify whether the unit text should appear before or after the major value.",pattern:ee(["before","after"]),type:"string"}}),OL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. The hex value format should be \\u201C#ffffff\\u201D. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},gaugeRanges:{default:"> majorColorEditorConfig",description:\'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#D41F1F"}, {"from": 50, "value": "#F4DF7A"}]. Must be unbounded, open ranges. Ranges are bound by a separate minValue/maxValue option. Only configured if isGaugeOn is true.\',type:"array",items:{type:"object",properties:{from:{type:"number"},to:{type:"number"},value:{type:"string",pattern:Be}}}},isGaugeOn:{default:!1,description:"Specify if gauge is on.",type:"boolean"},majorColor:{default:"> themes.defaultFontColor",description:\'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be \\u201C#ffffff\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},majorValue:{default:\'> primary | seriesByPrioritizedTypes("number", "string", "time") | lastPoint()\',description:"The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified.",type:["string","number"]},majorValueDisplay:{default:"> majorValue",description:"The formatted version of majorValue displayed in the visualization.",type:["string","number"]},majorValueField:{default:"> majorValue | getField()",description:"Specify the field that should be mapped to the major value.",type:"string"},minValue:{default:0,description:"Specify the min value of the radial.",type:"number"},maxValue:{default:100,description:"Specify the value the radial fills up to.",type:"number"},numberPrecision:{default:0,maximum:20,minimum:0,description:"Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.",type:"number"},radialBackgroundColor:{default:"> themes.defaultRadialBackgroundColor",description:\'Specify the color for the radial background. The hex value format should be \\u201C#ffffff\\u201D. The default for enterprise light is "rgba(0, 0, 0, 0.1)". The default for enterprise dark is "rgba(255, 255, 255, 0.15)". The default for prisma dark is "rgba(255, 255, 255, 0.15)".\',pattern:Be,type:"string"},radialStrokeColor:{default:"> majorColor",description:\'Specify the color for the radial. You may use a dataSource to apply the color. The hex value format should be \\u201C#ffffff\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},shouldAbbreviateTrendValue:{default:!1,description:"Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldAbbreviateMajorValue:{default:!1,description:"Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed.",type:"boolean"},shouldUseThousandSeparators:{default:!0,description:"Specify whether numeric values use commas as thousandths separators.",type:"boolean"},splitByLayout:{default:"off",description:"Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",type:"string",pattern:ee(["off","trellis"]),enum:["off","trellis"]},trendColor:{default:"> themes.defaultFontColor",description:\'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be \\u201C#FFFFFF\\u201D. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".\',pattern:Be,type:"string"},trendDisplay:{default:"absolute",description:"Specify how to display the trend value.",pattern:ee(["percent","absolute","off"]),type:"string"},trendValue:{default:\'> primary | seriesByPrioritizedTypes("number", "string", "time") | delta(-2)\',description:"Specify the dataSource applied to the trend value.",type:"number"},trellisBackgroundColor:{default:"> themes.defaultBackgroundColor",description:"Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",pattern:Be,type:"string"},trellisColumns:{description:"Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.",type:"number",minimum:1},trellisMinColumnWidth:{default:120,minimum:1,description:"Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisPageCount:{default:20,minimum:1,description:"Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.",type:"number"},trellisRowHeight:{default:100,minimum:1,description:"Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",type:"number"},trellisSplitBy:{description:"Specify the field name of the column with categories used, or \\u201Caggregations\\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",type:"string"},underLabel:{description:"Specify the text that appears below the major value.",type:"string"},unit:{description:"Specify text to show next to the major value.",type:"string"},unitPosition:{default:"after",description:"Specify whether the unit text should appear before or after the major value.",pattern:ee(["before","after"]),type:"string"}}),YL=W0({backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".\',pattern:Be,type:"string"},columnFormat:{description:"Lets you format an individual column in a table. Specify a column in a table as a field, followed by a property. For more information, see the Column Format Align - Left example on the Examples page.",type:"object",patternProperties:{".*":{description:"Customization for column property",type:"object",properties:{align:{description:\'Specify the alignment for the whole column. Valid alignments include "left", "center", and "right". You can also pass an array to specify the alignment of each cell. When set to "auto", the column will use the same configuration as tableFormat.align.\',type:["string","array"],items:{type:"string",enum:Js.concat()},default:"auto"},cellTypes:{description:\'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".\',type:"array",items:{type:"string",enum:$s.concat()}},data:{description:"Specify data points to be displayed in the cells of a column.",type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"array",items:{type:["string","number"]}}]}},footer:{description:\'DSL expression to format footer values for this column. Example: "> footer | seriesByName(\\\\"FieldName\\\\") | formatByType(unitConfig)". The footer DataFrame contains a 1D series with [total, percentage] for each column.\',type:"string"},headerAlign:{description:\'Specify the header alignment for the whole column. Valid alignments include "left", "center", and "right". When set to "auto", the column will use the same configuration as tableFormat.headerAlign\',type:"string",default:"auto",pattern:ee(Js)},rowBackgroundColors:{description:\'Specify a list of colors, in hexadecimal code, for the background color of each column of the table. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"string",pattern:Be}},rowColors:{description:\'Specify a list of colors, in hexadecimal code, for the text color of the cells of a column. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"string",pattern:Be}},sparklineAreaColors:{description:\'Specify a list of colors, in hexadecimal code, for the sparkline area of each column. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"string",pattern:Be}},sparklineColors:{description:\'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each column. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"string",pattern:Be}},sparklineTypes:{description:\'Choose either area or line formatting for the Sparkline. Valid sparkline types include "line" and "area".\',type:"array",items:{type:"string",enum:Vs.concat()}},textOverflow:{description:\'Controls how the text should be truncated within a particular column. Valid types include "anywhere", "break-word", "ellipsis". Columns and Headers are "break-word" styled by default when "textOverflow" is not configured.\',type:"string",pattern:ee(Ks)},width:{description:"Specify, in pixels, the width of the column. The default displays a minimum width of at least 90, unless the table needs to filled further. The minimum width is 30px.",type:"number",minimum:30}}}}},count:{description:"Specify the maximum number of rows to display.",type:"number",default:10},font:{default:"proportional",description:"Specify the font style to use for table content.",type:"string",pattern:ee(["proportional","monospace"])},fontSize:{default:"default",description:"Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px.",type:"string",pattern:ee(Bd)},headers:{default:"> table | getField()",description:"Specify an array of headers to display on the table. Though these can be statically listed, it\'s best to use the dynamic default, as it will return the fields of your search.",type:"array",items:{type:"string"}},headerVisibility:{default:"inline",description:"Specify how to display the table header row.",pattern:ee(Us),enum:Us.concat(),type:"string"},paginateDataSourceKey:{default:"primary",description:"Specify the data source key for pagination and sorting.",type:"string"},showFooterPercentages:{default:!1,description:"Specify whether to show a row at the bottom of the table that displays percentage values for applicable columns.",type:"boolean"},showFooterTotals:{default:!1,description:"Specify whether to show a row at the bottom of the table that displays total values for applicable columns.",type:"boolean"},showInternalFields:{default:!0,description:"Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false.",type:"boolean"},showRowNumbers:{default:!1,description:"Show row numbers in the first column.",type:"boolean"},table:{default:"> primary",description:"Two dimensional array of data to be displayed in the table.",type:"array",items:{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"array",items:{type:["string","number"]}}]}}},tableFormat:{description:"Lets you set global options for a table.",type:"object",properties:{align:{default:"> table | type() | matchValue(tableAlignByType)",description:\'Specify alignment for the whole table. Valid alignments include "left", "center", and "right". You can also pass a 2 dimensional array to specify the alignment of each cell. By default, the table will be aligned by type.\',type:["string","array"],items:{type:"array",items:{type:"string",enum:Gs.concat()}}},cellTypes:{default:"> table | type() | matchValue(tableCellTypeByType)",description:\'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".\',type:"array",items:{type:"array",items:{type:"string",enum:$s.concat()}}},data:{description:"Two dimensional data to be displayed in the table. This is usually formatted data instead of raw data from search.",type:"array",items:{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"array",items:{type:["string","number"]}}]}}},headerAlign:{description:\'Specify the header alignment for the whole table. Valid alignments include "left", "center", and "right".\',type:"string",default:"left",pattern:ee(Gs)},headerBackgroundColor:{default:"> themes.defaultHeaderBackgroundColor",description:\'Specify the table header background color using a hexadecimal code. For example, "#FFFFFF".\',pattern:Be,type:"string"},headerColor:{description:\'Specify the table header text color using a hexadecimal code. For example, "#FFFFFF".\',pattern:Be,type:"string"},rowBackgroundColors:{default:"> table | seriesByIndex(0) | pick(tableAltRowBackgroundColorsByTheme)",description:\'Specify a list of colors, in hexadecimal code, for the background color of each row of the table. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"array",items:{type:"string",pattern:Be}}},rowColors:{description:\'Specify a list of colors, in hexadecimal code, for the text color of each row of the table. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"array",items:{type:"string",pattern:Be}}},sparklineAreaColors:{description:\'Specify a list of colors, in hexadecimal code, for the sparkline area of each row of the table. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"array",items:{type:"string",pattern:Be}}},sparklineColors:{description:\'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each row of the table. For example, ["#2C333B", "32373D"].\',type:"array",items:{type:"array",items:{type:"string",pattern:Be}}},sparklineTypes:{description:"Choose either area or line formatting for the Sparkline.",type:"array",items:{type:"array",items:{type:"string",enum:Vs.concat()}}},textOverflow:{description:\'Specify the text overflow for the whole table. Valid overflows include "break-word", "anywhere", and "ellipsis". Default for Column and Headers is "break-word".\',type:"string",pattern:ee(Ks)}}}}),kL=W0({x:{default:\'> primary | seriesByType("time")\',description:"Specify the data source applied to the x-axis.",type:"array",items:{type:["string","number"]}},y:{default:\'> primary | seriesByPrioritizedTypes("string", "number")\',description:"Specify the data source applied to the y-axis.",type:"array",items:{type:["string","number"]}},duration:{default:\'> primary | seriesByPrioritizedTypes("number", "time")\',description:"Specify the data source to apply duration to events. This will display events over a length of time as a bar rather than a circle.",type:"array",items:{type:["string","number"]}},category:{default:\'> primary| seriesByName("category")\',description:"Specify the data source to apply series categories. This will color events in distinct categories.",type:"array",items:{type:["string","number"]}},xField:{default:"> x | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},yField:{default:"> y | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},durationField:{default:"> duration | getField()",description:"Specify the field that should be mapped to the x-axis.",type:"string"},categoryField:{default:"> category | getField()",description:"Specify the field that should be mapped to the y-axis.",type:"string"},additionalTooltipFields:{default:[],description:"Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default.",type:"array",items:{type:"string"}},backgroundColor:{default:"> themes.defaultBackgroundColor",description:\'Specify the color for the background. You may use a data source to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".\',pattern:Be,type:"string"},dataColors:{description:\'Specify the colors to use for events. You can use an array of colors to be picked from, or you can use a data source to apply dynamic coloring. For example, \\u201C> primary | seriesByName("count") | rangeValue(lowToHigh)\\u201D. By default, the dataColors option is not defined and seriesColors is used for categorical coloring.\',type:["string","array"],items:{type:"string"}},legendDisplay:{default:"off",description:"Specify the location of the legend on the panel.",pattern:ee(["right","bottom","off"]),type:"string"},legendTruncation:{default:"ellipsisEnd",description:"Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.",pattern:ee(["ellipsisEnd","ellipsisMiddle","ellipsisStart","ellipsisOff"]),type:"string"},resultLimit:{default:1e4,description:"Specify the maximum number of events to render on the timeline. Adjust the value to improve performance.",type:"number"},seriesColors:{default:c1.VIZ_CATEGORICAL,description:\'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].\',type:"array",items:{type:"string"}},yAxisLabelWidth:{default:100,description:"Specify the width, in pixels, for y-axis labels.",type:"number"}})});var oo=Xe((io,so)=>{ue();(function(i,o){typeof io=="object"&&typeof so!="undefined"?so.exports=o():typeof define=="function"&&define.amd?define(o):(i=typeof globalThis!="undefined"?globalThis:i||self,i.chroma=o())})(io,function(){"use strict";var i=Math.min,o=Math.max;function d(u,m,y){return m===void 0&&(m=0),y===void 0&&(y=1),i(o(m,u),y)}function z(u){u._clipped=!1,u._unclipped=u.slice(0);for(var m=0;m<=3;m++)m<3?((u[m]<0||u[m]>255)&&(u._clipped=!0),u[m]=d(u[m],0,255)):m===3&&(u[m]=d(u[m],0,1));return u}for(var p={},v=0,_=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];v<_.length;v+=1){var g=_[v];p["[object "+g+"]"]=g.toLowerCase()}function a(u){return p[Object.prototype.toString.call(u)]||"object"}function r(u,m){return m===void 0&&(m=null),u.length>=3?Array.prototype.slice.call(u):a(u[0])=="object"&&m?m.split("").filter(function(y){return u[0][y]!==void 0}).map(function(y){return u[0][y]}):u[0].slice(0)}function c(u){if(u.length<2)return null;var m=u.length-1;return a(u[m])=="string"?u[m].toLowerCase():null}var h=Math.PI,A=Math.min,S=Math.max,q=function(u){return Math.round(u*100)/100},E=function(u){return Math.round(u*100)/100},K=h*2,fe=h/3,he=h/180,Se=180/h;function Te(u){return u.slice(0,3).reverse().concat(u.slice(3))}var me={format:{},autodetect:[]},R=function(){for(var m=[],y=arguments.length;y--;)m[y]=arguments[y];var k=this;if(a(m[0])==="object"&&m[0].constructor&&m[0].constructor===this.constructor)return m[0];var C=c(m),H=!1;if(!C){H=!0,me.sorted||(me.autodetect=me.autodetect.sort(function(de,ce){return ce.p-de.p}),me.sorted=!0);for(var B=0,G=me.autodetect;B4?u[4]:1;return H===1?[0,0,0,B]:[y>=1?0:255*(1-y)*(1-H),k>=1?0:255*(1-k)*(1-H),C>=1?0:255*(1-C)*(1-H),B]},ye=Math.max,Ne=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2];k=k/255,C=C/255,H=H/255;var B=1-ye(k,ye(C,H)),G=B<1?1/(1-B):0,Z=(1-k-B)*G,oe=(1-C-B)*G,de=(1-H-B)*G;return[Z,oe,de,B]};R.prototype.cmyk=function(){return Ne(this._rgb)};var Re=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["cmyk"])))};Object.assign(le,{cmyk:Re}),me.format.cmyk=Ye,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"cmyk"),a(u)==="array"&&u.length===4)return"cmyk"}});var je=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"hsla"),k=c(u)||"lsa";return y[0]=q(y[0]||0)+"deg",y[1]=q(y[1]*100)+"%",y[2]=q(y[2]*100)+"%",k==="hsla"||y.length>3&&y[3]<1?(y[3]="/ "+(y.length>3?y[3]:1),k="hsla"):y.length=3,k.substr(0,3)+"("+y.join(" ")+")"},t0=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"rgba");var y=u[0],k=u[1],C=u[2];y/=255,k/=255,C/=255;var H=A(y,k,C),B=S(y,k,C),G=(B+H)/2,Z,oe;return B===H?(Z=0,oe=Number.NaN):Z=G<.5?(B-H)/(B+H):(B-H)/(2-B-H),y==B?oe=(k-C)/(B-H):k==B?oe=2+(C-y)/(B-H):C==B&&(oe=4+(y-k)/(B-H)),oe*=60,oe<0&&(oe+=360),u.length>3&&u[3]!==void 0?[oe,Z,G,u[3]]:[oe,Z,G]},$e=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"lab"),k=c(u)||"lab";return y[0]=q(y[0])+"%",y[1]=q(y[1]),y[2]=q(y[2]),k==="laba"||y.length>3&&y[3]<1?y[3]="/ "+(y.length>3?y[3]:1):y.length=3,"lab("+y.join(" ")+")"},We={Kn:18,labWhitePoint:"d65",Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452,kE:216/24389,kKE:8,kK:24389/27,RefWhiteRGB:{X:.95047,Y:1,Z:1.08883},MtxRGB2XYZ:{m00:.4124564390896922,m01:.21267285140562253,m02:.0193338955823293,m10:.357576077643909,m11:.715152155287818,m12:.11919202588130297,m20:.18043748326639894,m21:.07217499330655958,m22:.9503040785363679},MtxXYZ2RGB:{m00:3.2404541621141045,m01:-.9692660305051868,m02:.055643430959114726,m10:-1.5371385127977166,m11:1.8760108454466942,m12:-.2040259135167538,m20:-.498531409556016,m21:.041556017530349834,m22:1.0572251882231791},As:.9414285350000001,Bs:1.040417467,Cs:1.089532651,MtxAdaptMa:{m00:.8951,m01:-.7502,m02:.0389,m10:.2664,m11:1.7135,m12:-.0685,m20:-.1614,m21:.0367,m22:1.0296},MtxAdaptMaI:{m00:.9869929054667123,m01:.43230526972339456,m02:-.008528664575177328,m10:-.14705425642099013,m11:.5183602715367776,m12:.04004282165408487,m20:.15996265166373125,m21:.0492912282128556,m22:.9684866957875502}},Ie=new Map([["a",[1.0985,.35585]],["b",[1.0985,.35585]],["c",[.98074,1.18232]],["d50",[.96422,.82521]],["d55",[.95682,.92149]],["d65",[.95047,1.08883]],["e",[1,1,1]],["f2",[.99186,.67393]],["f7",[.95041,1.08747]],["f11",[1.00962,.6435]],["icc",[.96422,.82521]]]);function l0(u){var m=Ie.get(String(u).toLowerCase());if(!m)throw new Error("unknown Lab illuminant "+u);We.labWhitePoint=u,We.Xn=m[0],We.Zn=m[1]}function Ve(){return We.labWhitePoint}var A0=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2],B=y.slice(3),G=n0(k,C,H),Z=G[0],oe=G[1],de=G[2],ce=Q0(Z,oe,de),n=ce[0],l=ce[1],f=ce[2];return[n,l,f].concat(B.length>0&&B[0]<1?[B[0]]:[])};function Q0(u,m,y){var k=We.Xn,C=We.Yn,H=We.Zn,B=We.kE,G=We.kK,Z=u/k,oe=m/C,de=y/H,ce=Z>B?Math.pow(Z,1/3):(G*Z+16)/116,n=oe>B?Math.pow(oe,1/3):(G*oe+16)/116,l=de>B?Math.pow(de,1/3):(G*de+16)/116;return[116*n-16,500*(ce-n),200*(n-l)]}function C0(u){var m=Math.sign(u);u=Math.abs(u);var y=u<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4);return y*m}var n0=function(u,m,y){u=C0(u/255),m=C0(m/255),y=C0(y/255);var k=We.MtxRGB2XYZ,C=We.MtxAdaptMa,H=We.MtxAdaptMaI,B=We.Xn,G=We.Yn,Z=We.Zn,oe=We.As,de=We.Bs,ce=We.Cs,n=u*k.m00+m*k.m10+y*k.m20,l=u*k.m01+m*k.m11+y*k.m21,f=u*k.m02+m*k.m12+y*k.m22,L=B*C.m00+G*C.m10+Z*C.m20,b=B*C.m01+G*C.m11+Z*C.m21,O=B*C.m02+G*C.m12+Z*C.m22,Y=n*C.m00+l*C.m10+f*C.m20,V=n*C.m01+l*C.m11+f*C.m21,U=n*C.m02+l*C.m12+f*C.m22;return Y*=L/oe,V*=b/de,U*=O/ce,n=Y*H.m00+V*H.m10+U*H.m20,l=Y*H.m01+V*H.m11+U*H.m21,f=Y*H.m02+V*H.m12+U*H.m22,[n,l,f]},Le=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"lch"),k=c(u)||"lab";return y[0]=q(y[0])+"%",y[1]=q(y[1]),y[2]=isNaN(y[2])?"none":q(y[2])+"deg",k==="lcha"||y.length>3&&y[3]<1?y[3]="/ "+(y.length>3?y[3]:1):y.length=3,"lch("+y.join(" ")+")"},De=Math.sqrt,l1=Math.atan2,h1=Math.round,D0=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"lab"),k=y[0],C=y[1],H=y[2],B=De(C*C+H*H),G=(l1(H,C)*Se+360)%360;return h1(B*1e4)===0&&(G=Number.NaN),[k,B,G]},Q=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2],B=y.slice(3),G=A0(k,C,H),Z=G[0],oe=G[1],de=G[2],ce=D0(Z,oe,de),n=ce[0],l=ce[1],f=ce[2];return[n,l,f].concat(B.length>0&&B[0]<1?[B[0]]:[])};function w(u,m){var y=u.length;Array.isArray(u[0])||(u=[u]),Array.isArray(m[0])||(m=m.map(function(B){return[B]}));var k=m[0].length,C=m[0].map(function(B,G){return m.map(function(Z){return Z[G]})}),H=u.map(function(B){return C.map(function(G){return Array.isArray(B)?B.reduce(function(Z,oe,de){return Z+oe*(G[de]||0)},0):G.reduce(function(Z,oe){return Z+oe*B},0)})});return y===1&&(H=H[0]),k===1?H.map(function(B){return B[0]}):H}var x=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2],B=y.slice(3),G=n0(k,C,H),Z=W(G);return Z.concat(B.length>0&&B[0]<1?[B[0]]:[])};function W(u){var m=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],y=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],k=w(m,u);return w(y,k.map(function(C){return Math.cbrt(C)}))}var P=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"lab");return y[0]=q(y[0]*100)+"%",y[1]=E(y[1]),y[2]=E(y[2]),y.length>3&&y[3]<1?y[3]="/ "+(y.length>3?y[3]:1):y.length=3,"oklab("+y.join(" ")+")"},F=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2],B=y.slice(3),G=x(k,C,H),Z=G[0],oe=G[1],de=G[2],ce=D0(Z,oe,de),n=ce[0],l=ce[1],f=ce[2];return[n,l,f].concat(B.length>0&&B[0]<1?[B[0]]:[])},I=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"lch");return y[0]=q(y[0]*100)+"%",y[1]=E(y[1]),y[2]=isNaN(y[2])?"none":q(y[2])+"deg",y.length>3&&y[3]<1?y[3]="/ "+(y.length>3?y[3]:1):y.length=3,"oklch("+y.join(" ")+")"},J=Math.round,$=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgba"),k=c(u)||"rgb";if(k.substr(0,3)==="hsl")return je(t0(y),k);if(k.substr(0,3)==="lab"){var C=Ve();l0("d50");var H=$e(A0(y),k);return l0(C),H}if(k.substr(0,3)==="lch"){var B=Ve();l0("d50");var G=Le(Q(y),k);return l0(B),G}return k.substr(0,5)==="oklab"?P(x(y)):k.substr(0,5)==="oklch"?I(F(y)):(y[0]=J(y[0]),y[1]=J(y[1]),y[2]=J(y[2]),(k==="rgba"||y.length>3&&y[3]<1)&&(y[3]="/ "+(y.length>3?y[3]:1),k="rgba"),k.substr(0,3)+"("+y.slice(0,k==="rgb"?3:4).join(" ")+")")},te=function(){for(var u,m=[],y=arguments.length;y--;)m[y]=arguments[y];m=r(m,"hsl");var k=m[0],C=m[1],H=m[2],B,G,Z;if(C===0)B=G=Z=H*255;else{var oe=[0,0,0],de=[0,0,0],ce=H<.5?H*(1+C):H+C-H*C,n=2*H-ce,l=k/360;oe[0]=l+1/3,oe[1]=l,oe[2]=l-1/3;for(var f=0;f<3;f++)oe[f]<0&&(oe[f]+=1),oe[f]>1&&(oe[f]-=1),6*oe[f]<1?de[f]=n+(ce-n)*6*oe[f]:2*oe[f]<1?de[f]=ce:3*oe[f]<2?de[f]=n+(ce-n)*(2/3-oe[f])*6:de[f]=n;u=[de[0]*255,de[1]*255,de[2]*255],B=u[0],G=u[1],Z=u[2]}return m.length>3?[B,G,Z,m[3]]:[B,G,Z,1]},re=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"lab");var y=u[0],k=u[1],C=u[2],H=ie(y,k,C),B=H[0],G=H[1],Z=H[2],oe=Oe(B,G,Z),de=oe[0],ce=oe[1],n=oe[2];return[de,ce,n,u.length>3?u[3]:1]},ie=function(u,m,y){var k=We.kE,C=We.kK,H=We.kKE,B=We.Xn,G=We.Yn,Z=We.Zn,oe=(u+16)/116,de=.002*m+oe,ce=oe-.005*y,n=de*de*de,l=ce*ce*ce,f=n>k?n:(116*de-16)/C,L=u>H?Math.pow((u+16)/116,3):u/C,b=l>k?l:(116*ce-16)/C,O=f*B,Y=L*G,V=b*Z;return[O,Y,V]},pe=function(u){var m=Math.sign(u);return u=Math.abs(u),(u<=.0031308?u*12.92:1.055*Math.pow(u,1/2.4)-.055)*m},Oe=function(u,m,y){var k=We.MtxAdaptMa,C=We.MtxAdaptMaI,H=We.MtxXYZ2RGB,B=We.RefWhiteRGB,G=We.Xn,Z=We.Yn,oe=We.Zn,de=G*k.m00+Z*k.m10+oe*k.m20,ce=G*k.m01+Z*k.m11+oe*k.m21,n=G*k.m02+Z*k.m12+oe*k.m22,l=B.X*k.m00+B.Y*k.m10+B.Z*k.m20,f=B.X*k.m01+B.Y*k.m11+B.Z*k.m21,L=B.X*k.m02+B.Y*k.m12+B.Z*k.m22,b=(u*k.m00+m*k.m10+y*k.m20)*(l/de),O=(u*k.m01+m*k.m11+y*k.m21)*(f/ce),Y=(u*k.m02+m*k.m12+y*k.m22)*(L/n),V=b*C.m00+O*C.m10+Y*C.m20,U=b*C.m01+O*C.m11+Y*C.m21,Me=b*C.m02+O*C.m12+Y*C.m22,Ae=pe(V*H.m00+U*H.m10+Me*H.m20),ae=pe(V*H.m01+U*H.m11+Me*H.m21),ze=pe(V*H.m02+U*H.m12+Me*H.m22);return[Ae*255,ae*255,ze*255]},Ce=Math.sin,Ke=Math.cos,f0=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"lch"),k=y[0],C=y[1],H=y[2];return isNaN(H)&&(H=0),H=H*he,[k,Ke(H)*C,Ce(H)*C]},Fe=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"lch");var y=u[0],k=u[1],C=u[2],H=f0(y,k,C),B=H[0],G=H[1],Z=H[2],oe=re(B,G,Z),de=oe[0],ce=oe[1],n=oe[2];return[de,ce,n,u.length>3?u[3]:1]},Qe=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"lab");var y=u[0],k=u[1],C=u[2],H=u.slice(3),B=u0([y,k,C]),G=B[0],Z=B[1],oe=B[2],de=Oe(G,Z,oe),ce=de[0],n=de[1],l=de[2];return[ce,n,l].concat(H.length>0&&H[0]<1?[H[0]]:[])};function u0(u){var m=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],y=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],k=w(y,u);return w(m,k.map(function(C){return Math.pow(C,3)}))}var x0=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"lch");var y=u[0],k=u[1],C=u[2],H=u.slice(3),B=f0(y,k,C),G=B[0],Z=B[1],oe=B[2],de=Qe(G,Z,oe),ce=de[0],n=de[1],l=de[2];return[ce,n,l].concat(H.length>0&&H[0]<1?[H[0]]:[])},$0=/((?:-?\\d+)|(?:-?\\d+(?:\\.\\d+)?)%|none)/.source,P0=/((?:-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)%?)|none)/.source,i1=/((?:-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)%)|none)/.source,v0=/\\s*/.source,u1=/\\s+/.source,X0=/\\s*,\\s*/.source,N0=/((?:-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:deg)?)|none)/.source,ve=/\\s*(?:\\/\\s*((?:[01]|[01]?\\.\\d+)|\\d+(?:\\.\\d+)?%))?/.source,ca=new RegExp("^rgba?\\\\("+v0+[$0,$0,$0].join(u1)+ve+"\\\\)$"),s1=new RegExp("^rgb\\\\("+v0+[$0,$0,$0].join(X0)+v0+"\\\\)$"),Bt=new RegExp("^rgba\\\\("+v0+[$0,$0,$0,P0].join(X0)+v0+"\\\\)$"),g0=new RegExp("^hsla?\\\\("+v0+[N0,i1,i1].join(u1)+ve+"\\\\)$"),yt=new RegExp("^hsl?\\\\("+v0+[N0,i1,i1].join(X0)+v0+"\\\\)$"),la=/^hsla\\(\\s*(-?\\d+(?:\\.\\d+)?),\\s*(-?\\d+(?:\\.\\d+)?)%\\s*,\\s*(-?\\d+(?:\\.\\d+)?)%\\s*,\\s*([01]|[01]?\\.\\d+)\\)$/,H0=new RegExp("^lab\\\\("+v0+[P0,P0,P0].join(u1)+ve+"\\\\)$"),V0=new RegExp("^lch\\\\("+v0+[P0,P0,N0].join(u1)+ve+"\\\\)$"),Y1=new RegExp("^oklab\\\\("+v0+[P0,P0,P0].join(u1)+ve+"\\\\)$"),z1=new RegExp("^oklch\\\\("+v0+[P0,P0,N0].join(u1)+ve+"\\\\)$"),j0=Math.round,U0=function(u){return u.map(function(m,y){return y<=2?d(j0(m),0,255):m})},z0=function(u,m,y,k){return m===void 0&&(m=0),y===void 0&&(y=100),k===void 0&&(k=!1),typeof u=="string"&&u.endsWith("%")&&(u=parseFloat(u.substring(0,u.length-1))/100,k?u=m+(u+1)*.5*(y-m):u=m+u*(y-m)),+u},q0=function(u,m){return u==="none"?m:u},On=function(u){if(u=u.toLowerCase().trim(),u==="transparent")return[0,0,0,0];var m;if(me.format.named)try{return me.format.named(u)}catch(y0){}if((m=u.match(ca))||(m=u.match(s1))){for(var y=m.slice(1,4),k=0;k<3;k++)y[k]=+z0(q0(y[k],0),0,255);y=U0(y);var C=m[4]!==void 0?+z0(m[4],0,1):1;return y[3]=C,y}if(m=u.match(Bt)){for(var H=m.slice(1,5),B=0;B<4;B++)H[B]=+z0(H[B],0,255);return H}if((m=u.match(g0))||(m=u.match(yt))){var G=m.slice(1,4);G[0]=+q0(G[0].replace("deg",""),0),G[1]=+z0(q0(G[1],0),0,100)*.01,G[2]=+z0(q0(G[2],0),0,100)*.01;var Z=U0(te(G)),oe=m[4]!==void 0?+z0(m[4],0,1):1;return Z[3]=oe,Z}if(m=u.match(la)){var de=m.slice(1,4);de[1]*=.01,de[2]*=.01;for(var ce=te(de),n=0;n<3;n++)ce[n]=j0(ce[n]);return ce[3]=+m[4],ce}if(m=u.match(H0)){var l=m.slice(1,4);l[0]=z0(q0(l[0],0),0,100),l[1]=z0(q0(l[1],0),-125,125,!0),l[2]=z0(q0(l[2],0),-125,125,!0);var f=Ve();l0("d50");var L=U0(re(l));l0(f);var b=m[4]!==void 0?+z0(m[4],0,1):1;return L[3]=b,L}if(m=u.match(V0)){var O=m.slice(1,4);O[0]=z0(O[0],0,100),O[1]=z0(q0(O[1],0),0,150,!1),O[2]=+q0(O[2].replace("deg",""),0);var Y=Ve();l0("d50");var V=U0(Fe(O));l0(Y);var U=m[4]!==void 0?+z0(m[4],0,1):1;return V[3]=U,V}if(m=u.match(Y1)){var Me=m.slice(1,4);Me[0]=z0(q0(Me[0],0),0,1),Me[1]=z0(q0(Me[1],0),-.4,.4,!0),Me[2]=z0(q0(Me[2],0),-.4,.4,!0);var Ae=U0(Qe(Me)),ae=m[4]!==void 0?+z0(m[4],0,1):1;return Ae[3]=ae,Ae}if(m=u.match(z1)){var ze=m.slice(1,4);ze[0]=z0(q0(ze[0],0),0,1),ze[1]=z0(q0(ze[1],0),0,.4,!1),ze[2]=+q0(ze[2].replace("deg",""),0);var Ee=U0(x0(ze)),qe=m[4]!==void 0?+z0(m[4],0,1):1;return Ee[3]=qe,Ee}};On.test=function(u){return ca.test(u)||g0.test(u)||H0.test(u)||V0.test(u)||Y1.test(u)||z1.test(u)||s1.test(u)||Bt.test(u)||yt.test(u)||la.test(u)||u==="transparent"},R.prototype.css=function(u){return $(this._rgb,u)};var ua=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["css"])))};le.css=ua,me.format.css=On,me.autodetect.push({p:5,test:function(u){for(var m=[],y=arguments.length-1;y-- >0;)m[y]=arguments[y+1];if(!m.length&&a(u)==="string"&&On.test(u))return"css"}}),me.format.gl=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgba");return y[0]*=255,y[1]*=255,y[2]*=255,y};var Ct=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["gl"])))};le.gl=Ct,R.prototype.gl=function(){var u=this._rgb;return[u[0]/255,u[1]/255,u[2]/255,u[3]]};var Qa=Math.floor,da=function(){for(var u,m,y,k,C,H,B=[],G=arguments.length;G--;)B[G]=arguments[G];B=r(B,"hcg");var Z=B[0],oe=B[1],de=B[2],ce,n,l;de=de*255;var f=oe*255;if(oe===0)ce=n=l=de;else{Z===360&&(Z=0),Z>360&&(Z-=360),Z<0&&(Z+=360),Z/=60;var L=Qa(Z),b=Z-L,O=de*(1-oe),Y=O+f*(1-b),V=O+f*b,U=O+f;switch(L){case 0:u=[U,V,O],ce=u[0],n=u[1],l=u[2];break;case 1:m=[Y,U,O],ce=m[0],n=m[1],l=m[2];break;case 2:y=[O,U,V],ce=y[0],n=y[1],l=y[2];break;case 3:k=[O,Y,U],ce=k[0],n=k[1],l=k[2];break;case 4:C=[V,O,U],ce=C[0],n=C[1],l=C[2];break;case 5:H=[U,O,Y],ce=H[0],n=H[1],l=H[2];break}}return[ce,n,l,B.length>3?B[3]:1]},fa=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2],B=A(k,C,H),G=S(k,C,H),Z=G-B,oe=Z*100/255,de=B/(255-Z)*100,ce;return Z===0?ce=Number.NaN:(k===G&&(ce=(C-H)/Z),C===G&&(ce=2+(H-k)/Z),H===G&&(ce=4+(k-C)/Z),ce*=60,ce<0&&(ce+=360)),[ce,oe,de]};R.prototype.hcg=function(){return fa(this._rgb)};var pa=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["hcg"])))};le.hcg=pa,me.format.hcg=da,me.autodetect.push({p:1,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"hcg"),a(u)==="array"&&u.length===3)return"hcg"}});var er=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ha=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Yn=function(u){if(u.match(er)){(u.length===4||u.length===7)&&(u=u.substr(1)),u.length===3&&(u=u.split(""),u=u[0]+u[0]+u[1]+u[1]+u[2]+u[2]);var m=parseInt(u,16),y=m>>16,k=m>>8&255,C=m&255;return[y,k,C,1]}if(u.match(ha)){(u.length===5||u.length===9)&&(u=u.substr(1)),u.length===4&&(u=u.split(""),u=u[0]+u[0]+u[1]+u[1]+u[2]+u[2]+u[3]+u[3]);var H=parseInt(u,16),B=H>>24&255,G=H>>16&255,Z=H>>8&255,oe=Math.round((H&255)/255*100)/100;return[B,G,Z,oe]}throw new Error("unknown hex color: "+u)},Et=Math.round,kn=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgba"),k=y[0],C=y[1],H=y[2],B=y[3],G=c(u)||"auto";B===void 0&&(B=1),G==="auto"&&(G=B<1?"rgba":"rgb"),k=Et(k),C=Et(C),H=Et(H);var Z=k<<16|C<<8|H,oe="000000"+Z.toString(16);oe=oe.substr(oe.length-6);var de="0"+Et(B*255).toString(16);switch(de=de.substr(de.length-2),G.toLowerCase()){case"rgba":return"#"+oe+de;case"argb":return"#"+de+oe;default:return"#"+oe}};R.prototype.hex=function(u){return kn(this._rgb,u)};var gt=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["hex"])))};le.hex=gt,me.format.hex=Yn,me.autodetect.push({p:4,test:function(u){for(var m=[],y=arguments.length-1;y-- >0;)m[y]=arguments[y+1];if(!m.length&&a(u)==="string"&&[3,4,5,6,7,8,9].indexOf(u.length)>=0)return"hex"}});var ot=Math.cos,tr=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"hsi");var y=u[0],k=u[1],C=u[2],H,B,G;return isNaN(y)&&(y=0),isNaN(k)&&(k=0),y>360&&(y-=360),y<0&&(y+=360),y/=360,y<1/3?(G=(1-k)/3,H=(1+k*ot(K*y)/ot(fe-K*y))/3,B=1-(G+H)):y<2/3?(y-=1/3,H=(1-k)/3,B=(1+k*ot(K*y)/ot(fe-K*y))/3,G=1-(H+B)):(y-=2/3,B=(1-k)/3,G=(1+k*ot(K*y)/ot(fe-K*y))/3,H=1-(B+G)),H=d(C*H*3),B=d(C*B*3),G=d(C*G*3),[H*255,B*255,G*255,u.length>3?u[3]:1]},G1=Math.min,cn=Math.sqrt,Xt=Math.acos,Ht=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2];k/=255,C/=255,H/=255;var B,G=G1(k,C,H),Z=(k+C+H)/3,oe=Z>0?1-G/Z:0;return oe===0?B=NaN:(B=(k-C+(k-H))/2,B/=cn((k-C)*(k-C)+(k-H)*(C-H)),B=Xt(B),H>C&&(B=K-B),B/=K),[B*360,oe,Z]};R.prototype.hsi=function(){return Ht(this._rgb)};var k1=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["hsi"])))};le.hsi=k1,me.format.hsi=tr,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"hsi"),a(u)==="array"&&u.length===3)return"hsi"}}),R.prototype.hsl=function(){return t0(this._rgb)};var ln=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["hsl"])))};le.hsl=ln,me.format.hsl=te,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"hsl"),a(u)==="array"&&u.length===3)return"hsl"}});var Ma=Math.floor,Dn=function(){for(var u,m,y,k,C,H,B=[],G=arguments.length;G--;)B[G]=arguments[G];B=r(B,"hsv");var Z=B[0],oe=B[1],de=B[2],ce,n,l;if(de*=255,oe===0)ce=n=l=de;else{Z===360&&(Z=0),Z>360&&(Z-=360),Z<0&&(Z+=360),Z/=60;var f=Ma(Z),L=Z-f,b=de*(1-oe),O=de*(1-oe*L),Y=de*(1-oe*(1-L));switch(f){case 0:u=[de,Y,b],ce=u[0],n=u[1],l=u[2];break;case 1:m=[O,de,b],ce=m[0],n=m[1],l=m[2];break;case 2:y=[b,de,Y],ce=y[0],n=y[1],l=y[2];break;case 3:k=[b,O,de],ce=k[0],n=k[1],l=k[2];break;case 4:C=[Y,b,de],ce=C[0],n=C[1],l=C[2];break;case 5:H=[de,b,O],ce=H[0],n=H[1],l=H[2];break}}return[ce,n,l,B.length>3?B[3]:1]},ma=Math.min,nr=Math.max,ar=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];u=r(u,"rgb");var y=u[0],k=u[1],C=u[2],H=ma(y,k,C),B=nr(y,k,C),G=B-H,Z,oe,de;return de=B/255,B===0?(Z=Number.NaN,oe=0):(oe=G/B,y===B&&(Z=(k-C)/G),k===B&&(Z=2+(C-y)/G),C===B&&(Z=4+(y-k)/G),Z*=60,Z<0&&(Z+=360)),[Z,oe,de]};R.prototype.hsv=function(){return ar(this._rgb)};var _a=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["hsv"])))};le.hsv=_a,me.format.hsv=Dn,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"hsv"),a(u)==="array"&&u.length===3)return"hsv"}}),R.prototype.lab=function(){return A0(this._rgb)};var ba=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["lab"])))};Object.assign(le,{lab:ba,getLabWhitePoint:Ve,setLabWhitePoint:l0}),me.format.lab=re,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"lab"),a(u)==="array"&&u.length===3)return"lab"}});var un=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=Te(r(u,"hcl"));return Fe.apply(void 0,y)};R.prototype.lch=function(){return Q(this._rgb)},R.prototype.hcl=function(){return Te(Q(this._rgb))};var Pt=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["lch"])))},dn=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["hcl"])))};Object.assign(le,{lch:Pt,hcl:dn}),me.format.lch=Fe,me.format.hcl=un,["lch","hcl"].forEach(function(u){return me.autodetect.push({p:2,test:function(){for(var m=[],y=arguments.length;y--;)m[y]=arguments[y];if(m=r(m,u),a(m)==="array"&&m.length===3)return u}})});var fn=function(u){if(a(u)=="number"&&u>=0&&u<=16777215){var m=u>>16,y=u>>8&255,k=u&255;return[m,y,k,1]}throw new Error("unknown num color: "+u)},rr=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgb"),k=y[0],C=y[1],H=y[2];return(k<<16)+(C<<8)+H};R.prototype.num=function(){return rr(this._rgb)};var ct=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["num"])))};Object.assign(le,{num:ct}),me.format.num=fn,me.autodetect.push({p:5,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u.length===1&&a(u[0])==="number"&&u[0]>=0&&u[0]<=16777215)return"num"}});var Lt=Math.round;R.prototype.rgb=function(u){return u===void 0&&(u=!0),u===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Lt)},R.prototype.rgba=function(u){return u===void 0&&(u=!0),this._rgb.slice(0,4).map(function(m,y){return y<3?u===!1?m:Lt(m):m})};var O0=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["rgb"])))};Object.assign(le,{rgb:O0}),me.format.rgb=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];var y=r(u,"rgba");return y[3]===void 0&&(y[3]=1),y},me.autodetect.push({p:3,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"rgba"),a(u)==="array"&&(u.length===3||u.length===4&&a(u[3])=="number"&&u[3]>=0&&u[3]<=1))return"rgb"}});var J1=Math.log,xn=function(u){var m=u/100,y,k,C;return m<66?(y=255,k=m<6?0:-155.25485562709179-.44596950469579133*(k=m-2)+104.49216199393888*J1(k),C=m<20?0:-254.76935184120902+.8274096064007395*(C=m-10)+115.67994401066147*J1(C)):(y=351.97690566805693+.114206453784165*(y=m-55)-40.25366309332127*J1(y),k=325.4494125711974+.07943456536662342*(k=m-50)-28.0852963507957*J1(k),C=255),[y,k,C,1]},Nn=Math.round,At=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];for(var y=r(u,"rgb"),k=y[0],C=y[2],H=1e3,B=4e4,G=.4,Z;B-H>G;){Z=(B+H)*.5;var oe=xn(Z);oe[2]/oe[0]>=C/k?B=Z:H=Z}return Nn(Z)};R.prototype.temp=R.prototype.kelvin=R.prototype.temperature=function(){return At(this._rgb)};var M1=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["temp"])))};Object.assign(le,{temp:M1,kelvin:M1,temperature:M1}),me.format.temp=me.format.kelvin=me.format.temperature=xn,R.prototype.oklab=function(){return x(this._rgb)};var jt=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["oklab"])))};Object.assign(le,{oklab:jt}),me.format.oklab=Qe,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"oklab"),a(u)==="array"&&u.length===3)return"oklab"}}),R.prototype.oklch=function(){return F(this._rgb)};var L1=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];return new(Function.prototype.bind.apply(R,[null].concat(u,["oklch"])))};Object.assign(le,{oklch:L1}),me.format.oklch=x0,me.autodetect.push({p:2,test:function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];if(u=r(u,"oklch"),a(u)==="array"&&u.length===3)return"oklch"}});var D1={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};R.prototype.name=function(){for(var u=kn(this._rgb,"rgb"),m=0,y=Object.keys(D1);m0;)m[y]=arguments[y+1];if(!m.length&&a(u)==="string"&&D1[u.toLowerCase()])return"named"}}),R.prototype.alpha=function(u,m){return m===void 0&&(m=!1),u!==void 0&&a(u)==="number"?m?(this._rgb[3]=u,this):new R([this._rgb[0],this._rgb[1],this._rgb[2],u],"rgb"):this._rgb[3]},R.prototype.clipped=function(){return this._rgb._clipped||!1},R.prototype.darken=function(u){u===void 0&&(u=1);var m=this,y=m.lab();return y[0]-=We.Kn*u,new R(y,"lab").alpha(m.alpha(),!0)},R.prototype.brighten=function(u){return u===void 0&&(u=1),this.darken(-u)},R.prototype.darker=R.prototype.darken,R.prototype.brighter=R.prototype.brighten,R.prototype.get=function(u){var m=u.split("."),y=m[0],k=m[1],C=this[y]();if(k){var H=y.indexOf(k)-(y.substr(0,2)==="ok"?2:0);if(H>-1)return C[H];throw new Error("unknown channel "+k+" in mode "+y)}else return C};var vt=Math.pow,ya=1e-7,ga=20;R.prototype.luminance=function(u,m){if(m===void 0&&(m="rgb"),u!==void 0&&a(u)==="number"){if(u===0)return new R([0,0,0,this._rgb[3]],"rgb");if(u===1)return new R([255,255,255,this._rgb[3]],"rgb");var y=this.luminance(),k=ga,C=function(B,G){var Z=B.interpolate(G,.5,m),oe=Z.luminance();return Math.abs(u-oe)u?C(B,Z):C(Z,G)},H=(y>u?C(new R([0,0,0]),this):C(this,new R([255,255,255]))).rgb();return new R(H.concat([this._rgb[3]]))}return pn.apply(void 0,this._rgb.slice(0,3))};var pn=function(u,m,y){return u=zt(u),m=zt(m),y=zt(y),.2126*u+.7152*m+.0722*y},zt=function(u){return u/=255,u<=.03928?u/12.92:vt((u+.055)/1.055,2.4)},e1={};function lt(u,m,y){y===void 0&&(y=.5);for(var k=[],C=arguments.length-3;C-- >0;)k[C]=arguments[C+3];var H=k[0]||"lrgb";if(!e1[H]&&!k.length&&(H=Object.keys(e1)[0]),!e1[H])throw new Error("interpolation mode "+H+" is not defined");return a(u)!=="object"&&(u=new R(u)),a(m)!=="object"&&(m=new R(m)),e1[H](u,m,y).alpha(u.alpha()+y*(m.alpha()-u.alpha()))}R.prototype.mix=R.prototype.interpolate=function(u,m){m===void 0&&(m=.5);for(var y=[],k=arguments.length-2;k-- >0;)y[k]=arguments[k+2];return lt.apply(void 0,[this,u,m].concat(y))},R.prototype.premultiply=function(u){u===void 0&&(u=!1);var m=this._rgb,y=m[3];return u?(this._rgb=[m[0]*y,m[1]*y,m[2]*y,y],this):new R([m[0]*y,m[1]*y,m[2]*y,y],"rgb")},R.prototype.saturate=function(u){u===void 0&&(u=1);var m=this,y=m.lch();return y[1]+=We.Kn*u,y[1]<0&&(y[1]=0),new R(y,"lch").alpha(m.alpha(),!0)},R.prototype.desaturate=function(u){return u===void 0&&(u=1),this.saturate(-u)},R.prototype.set=function(u,m,y){y===void 0&&(y=!1);var k=u.split("."),C=k[0],H=k[1],B=this[C]();if(H){var G=C.indexOf(H)-(C.substr(0,2)==="ok"?2:0);if(G>-1){if(a(m)=="string")switch(m.charAt(0)){case"+":B[G]+=+m;break;case"-":B[G]+=+m;break;case"*":B[G]*=+m.substr(1);break;case"/":B[G]/=+m.substr(1);break;default:B[G]=+m}else if(a(m)==="number")B[G]=m;else throw new Error("unsupported value for Color.set");var Z=new R(B,C);return y?(this._rgb=Z._rgb,this):Z}throw new Error("unknown channel "+H+" in mode "+C)}else return B},R.prototype.tint=function(u){u===void 0&&(u=.5);for(var m=[],y=arguments.length-1;y-- >0;)m[y]=arguments[y+1];return lt.apply(void 0,[this,"white",u].concat(m))},R.prototype.shade=function(u){u===void 0&&(u=.5);for(var m=[],y=arguments.length-1;y-- >0;)m[y]=arguments[y+1];return lt.apply(void 0,[this,"black",u].concat(m))};var La=function(u,m,y){var k=u._rgb,C=m._rgb;return new R(k[0]+y*(C[0]-k[0]),k[1]+y*(C[1]-k[1]),k[2]+y*(C[2]-k[2]),"rgb")};e1.rgb=La;var hn=Math.sqrt,wt=Math.pow,Aa=function(u,m,y){var k=u._rgb,C=k[0],H=k[1],B=k[2],G=m._rgb,Z=G[0],oe=G[1],de=G[2];return new R(hn(wt(C,2)*(1-y)+wt(Z,2)*y),hn(wt(H,2)*(1-y)+wt(oe,2)*y),hn(wt(B,2)*(1-y)+wt(de,2)*y),"rgb")};e1.lrgb=Aa;var ut=function(u,m,y){var k=u.lab(),C=m.lab();return new R(k[0]+y*(C[0]-k[0]),k[1]+y*(C[1]-k[1]),k[2]+y*(C[2]-k[2]),"lab")};e1.lab=ut;function K1(u,m,y,k){var C,H,B,G;k==="hsl"?(B=u.hsl(),G=m.hsl()):k==="hsv"?(B=u.hsv(),G=m.hsv()):k==="hcg"?(B=u.hcg(),G=m.hcg()):k==="hsi"?(B=u.hsi(),G=m.hsi()):k==="lch"||k==="hcl"?(k="hcl",B=u.hcl(),G=m.hcl()):k==="oklch"&&(B=u.oklch().reverse(),G=m.oklch().reverse());var Z,oe,de,ce,n,l;(k.substr(0,1)==="h"||k==="oklch")&&(C=B,Z=C[0],de=C[1],n=C[2],H=G,oe=H[0],ce=H[1],l=H[2]);var f,L,b,O;return!isNaN(Z)&&!isNaN(oe)?(oe>Z&&oe-Z>180?O=oe-(Z+360):oe180?O=oe+360-Z:O=oe-Z,L=Z+y*O):isNaN(Z)?isNaN(oe)?L=Number.NaN:(L=oe,(n==1||n==0)&&k!="hsv"&&(f=ce)):(L=Z,(l==1||l==0)&&k!="hsv"&&(f=de)),f===void 0&&(f=de+y*(ce-de)),b=n+y*(l-n),k==="oklch"?new R([b,f,L],k):new R([L,f,b],k)}var Mn=function(u,m,y){return K1(u,m,y,"lch")};e1.lch=Mn,e1.hcl=Mn;var va=function(u,m,y){var k=u.num(),C=m.num();return new R(k+y*(C-k),"num")};e1.num=va;var za=function(u,m,y){return K1(u,m,y,"hcg")};e1.hcg=za;var S0=function(u,m,y){return K1(u,m,y,"hsi")};e1.hsi=S0;var ir=function(u,m,y){return K1(u,m,y,"hsl")};e1.hsl=ir;var sr=function(u,m,y){return K1(u,m,y,"hsv")};e1.hsv=sr;var wa=function(u,m,y){var k=u.oklab(),C=m.oklab();return new R(k[0]+y*(C[0]-k[0]),k[1]+y*(C[1]-k[1]),k[2]+y*(C[2]-k[2]),"oklab")};e1.oklab=wa;var Rt=function(u,m,y){return K1(u,m,y,"oklch")};e1.oklch=Rt;var Tt=Math.pow,_0=Math.sqrt,b0=Math.PI,Wn=Math.cos,Ta=Math.sin,qn=Math.atan2;function Bn(u,m,y){m===void 0&&(m="lrgb"),y===void 0&&(y=null);var k=u.length;y||(y=Array.from(new Array(k)).map(function(){return 1}));var C=k/y.reduce(function(L,b){return L+b});if(y.forEach(function(L,b){y[b]*=C}),u=u.map(function(L){return new R(L)}),m==="lrgb")return Cn(u,y);for(var H=u.shift(),B=H.get(m),G=[],Z=0,oe=0,de=0;de=360;)f-=360;B[l]=f}else B[l]=B[l]/G[l];return n/=k,new R(B,m).alpha(n>.99999?1:n,!0)}var Cn=function(u,m){for(var y=u.length,k=[0,0,0,0],C=0;C.9999999&&(k[3]=1),new R(z(k))},Sa=Math.pow;function Ft(u){var m="rgb",y=le("#ccc"),k=0,C=[0,1],H=[],B=[0,0],G=!1,Z=[],oe=!1,de=0,ce=1,n=!1,l={},f=!0,L=1,b=function(ae){if(ae=ae||["#fff","#000"],ae&&a(ae)==="string"&&le.brewer&&le.brewer[ae.toLowerCase()]&&(ae=le.brewer[ae.toLowerCase()]),a(ae)==="array"){ae.length===1&&(ae=[ae[0],ae[0]]),ae=ae.slice(0);for(var ze=0;ze=G[Ee];)Ee++;return Ee-1}return 0},Y=function(ae){return ae},V=function(ae){return ae},U=function(ae,ze){var Ee,qe;if(ze==null&&(ze=!1),isNaN(ae)||ae===null)return y;if(ze)qe=ae;else if(G&&G.length>2){var y0=O(ae);qe=y0/(G.length-2)}else ce!==de?qe=(ae-de)/(ce-de):qe=1;qe=V(qe),ze||(qe=Y(qe)),L!==1&&(qe=Sa(qe,L)),qe=B[0]+qe*(1-B[0]-B[1]),qe=d(qe,0,1);var p0=Math.floor(qe*1e4);if(f&&l[p0])Ee=l[p0];else{if(a(Z)==="array")for(var e0=0;e0=a0&&e0===H.length-1){Ee=Z[e0];break}if(qe>a0&&qe2){var e0=ae.map(function(M0,Pe){return Pe/(ae.length-1)}),a0=ae.map(function(M0){return(M0-de)/(ce-de)});a0.every(function(M0,Pe){return e0[Pe]===M0})||(V=function(M0){if(M0<=0||M0>=1)return M0;for(var Pe=0;M0>=a0[Pe+1];)Pe++;var j1=(M0-a0[Pe])/(a0[Pe+1]-a0[Pe]),pt=e0[Pe]+j1*(e0[Pe+1]-e0[Pe]);return pt})}}return C=[de,ce],Ae},Ae.mode=function(ae){return arguments.length?(m=ae,Me(),Ae):m},Ae.range=function(ae,ze){return b(ae),Ae},Ae.out=function(ae){return oe=ae,Ae},Ae.spread=function(ae){return arguments.length?(k=ae,Ae):k},Ae.correctLightness=function(ae){return ae==null&&(ae=!0),n=ae,Me(),n?Y=function(ze){for(var Ee=U(0,!0).lab()[0],qe=U(1,!0).lab()[0],y0=Ee>qe,p0=U(ze,!0).lab()[0],e0=Ee+(qe-Ee)*ze,a0=p0-e0,M0=0,Pe=1,j1=20;Math.abs(a0)>.01&&j1-- >0;)(function(){return y0&&(a0*=-1),a0<0?(M0=ze,ze+=(Pe-ze)*.5):(Pe=ze,ze+=(M0-ze)*.5),p0=U(ze,!0).lab()[0],a0=p0-e0})();return ze}:Y=function(ze){return ze},Ae},Ae.padding=function(ae){return ae!=null?(a(ae)==="number"&&(ae=[ae,ae]),B=ae,Ae):B},Ae.colors=function(ae,ze){arguments.length<2&&(ze="hex");var Ee=[];if(arguments.length===0)Ee=Z.slice(0);else if(ae===1)Ee=[Ae(.5)];else if(ae>1){var qe=C[0],y0=C[1]-qe;Ee=or(0,ae).map(function(Pe){return Ae(qe+Pe/(ae-1)*y0)})}else{u=[];var p0=[];if(G&&G.length>2)for(var e0=1,a0=G.length,M0=1<=a0;M0?e0a0;M0?e0++:e0--)p0.push((G[e0-1]+G[e0])*.5);else p0=C;Ee=p0.map(function(Pe){return Ae(Pe)})}return le[ze]&&(Ee=Ee.map(function(Pe){return Pe[ze]()})),Ee},Ae.cache=function(ae){return ae!=null?(f=ae,Ae):f},Ae.gamma=function(ae){return ae!=null?(L=ae,Ae):L},Ae.nodata=function(ae){return ae!=null?(y=le(ae),Ae):y},Ae}function or(u,m,y){for(var k=[],C=uH;C?B++:B--)k.push(B);return k}var w0=function(u){for(var m=[1,1],y=1;y=5){var oe,de,ce;oe=u.map(function(n){return n.lab()}),ce=u.length-1,de=w0(ce),C=function(n){var l=1-n,f=[0,1,2].map(function(L){return oe.reduce(function(b,O,Y){return b+de[Y]*Math.pow(l,ce-Y)*Math.pow(n,Y)*O[L]},0)});return new R(f,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return C};function Z1(u){var m=H1(u);return m.scale=function(){return Ft(m)},m}var m1=function(u,m,y){if(!m1[y])throw new Error("unknown blend mode "+y);return m1[y](u,m)},w1=function(u){return function(m,y){var k=le(y).rgb(),C=le(m).rgb();return le.rgb(u(k,C))}},R0=function(u){return function(m,y){var k=[];return k[0]=u(m[0],y[0]),k[1]=u(m[1],y[1]),k[2]=u(m[2],y[2]),k}},Oa=function(u){return u},En=function(u,m){return u*m/255},Ya=function(u,m){return u>m?m:u},It=function(u,m){return u>m?u:m},Xn=function(u,m){return 255*(1-(1-u/255)*(1-m/255))},Hn=function(u,m){return m<128?2*u*m/255:255*(1-2*(1-u/255)*(1-m/255))},d1=function(u,m){return 255*(1-(1-m/255)/(u/255))},Pn=function(u,m){return u===255?255:(u=255*(m/255)/(1-u/255),u>255?255:u)};m1.normal=w1(R0(Oa)),m1.multiply=w1(R0(En)),m1.screen=w1(R0(Xn)),m1.overlay=w1(R0(Hn)),m1.darken=w1(R0(Ya)),m1.lighten=w1(R0(It)),m1.dodge=w1(R0(Pn)),m1.burn=w1(R0(d1));var r1=Math.pow,jn=Math.sin,Rn=Math.cos;function _1(u,m,y,k,C){u===void 0&&(u=300),m===void 0&&(m=-1.5),y===void 0&&(y=1),k===void 0&&(k=1),C===void 0&&(C=[0,1]);var H=0,B;a(C)==="array"?B=C[1]-C[0]:(B=0,C=[C,C]);var G=function(Z){var oe=K*((u+120)/360+m*Z),de=r1(C[0]+B*Z,k),ce=H!==0?y[0]+Z*H:y,n=ce*de*(1-de)/2,l=Rn(oe),f=jn(oe),L=de+n*(-.14861*l+1.78277*f),b=de+n*(-.29227*l-.90649*f),O=de+n*(1.97294*l);return le(z([L*255,b*255,O*255,1]))};return G.start=function(Z){return Z==null?u:(u=Z,G)},G.rotations=function(Z){return Z==null?m:(m=Z,G)},G.gamma=function(Z){return Z==null?k:(k=Z,G)},G.hue=function(Z){return Z==null?y:(y=Z,a(y)==="array"?(H=y[1]-y[0],H===0&&(y=y[1])):H=0,G)},G.lightness=function(Z){return Z==null?C:(a(Z)==="array"?(C=Z,B=Z[1]-Z[0]):(C=[Z,Z],B=0),G)},G.scale=function(){return le.scale(G)},G.hue(y),G}var $t="0123456789abcdef",mn=Math.floor,Y0=Math.random;function x1(){for(var u="#",m=0;m<6;m++)u+=$t.charAt(mn(Y0()*16));return new R(u,"hex")}var dt=Math.log,ka=Math.pow,Fn=Math.floor,Da=Math.abs;function xa(u,m){m===void 0&&(m=null);var y={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return a(u)==="object"&&(u=Object.values(u)),u.forEach(function(k){m&&a(k)==="object"&&(k=k[m]),k!=null&&!isNaN(k)&&(y.values.push(k),y.sum+=k,ky.max&&(y.max=k),y.count+=1)}),y.domain=[y.min,y.max],y.limits=function(k,C){return P1(y,k,C)},y}function P1(u,m,y){m===void 0&&(m="equal"),y===void 0&&(y=7),a(u)=="array"&&(u=xa(u));var k=u.min,C=u.max,H=u.values.sort(function(Ba,An){return Ba-An});if(y===1)return[k,C];var B=[];if(m.substr(0,1)==="c"&&(B.push(k),B.push(C)),m.substr(0,1)==="e"){B.push(k);for(var G=1;G 0");var Z=Math.LOG10E*dt(k),oe=Math.LOG10E*dt(C);B.push(k);for(var de=1;de200&&(V=!1)}for(var R1={},gn=0;gnk?(y+.05)/(k+.05):(k+.05)/(y+.05)}var Vt=.027,St=5e-4,we=.1,_n=1.14,s0=.022,ft=1.414;function bn(u,m){u=new R(u),m=new R(m),u.alpha()<1&&(u=lt(m,u,u.alpha(),"rgb"));var y=Ut.apply(void 0,u.rgb()),k=Ut.apply(void 0,m.rgb()),C=y>=s0?y:y+Math.pow(s0-y,ft),H=k>=s0?k:k+Math.pow(s0-k,ft),B=Math.pow(H,.56)-Math.pow(C,.57),G=Math.pow(H,.65)-Math.pow(C,.62),Z=Math.abs(H-C)0?Z-Vt:Z+Vt;return oe*100}function Ut(u,m,y){return .2126729*Math.pow(u/255,2.4)+.7151522*Math.pow(m/255,2.4)+.072175*Math.pow(y/255,2.4)}var t1=Math.sqrt,B0=Math.pow,yn=Math.min,Na=Math.max,Gt=Math.atan2,E0=Math.abs,Ot=Math.cos,Yt=Math.sin,Wa=Math.exp,$n=Math.PI;function cr(u,m,y,k,C){y===void 0&&(y=1),k===void 0&&(k=1),C===void 0&&(C=1);var H=function(et){return 360*et/(2*$n)},B=function(et){return 2*$n*et/360};u=new R(u),m=new R(m);var G=Array.from(u.lab()),Z=G[0],oe=G[1],de=G[2],ce=Array.from(m.lab()),n=ce[0],l=ce[1],f=ce[2],L=(Z+n)/2,b=t1(B0(oe,2)+B0(de,2)),O=t1(B0(l,2)+B0(f,2)),Y=(b+O)/2,V=.5*(1-t1(B0(Y,7)/(B0(Y,7)+B0(25,7)))),U=oe*(1+V),Me=l*(1+V),Ae=t1(B0(U,2)+B0(de,2)),ae=t1(B0(Me,2)+B0(f,2)),ze=(Ae+ae)/2,Ee=H(Gt(de,U)),qe=H(Gt(f,Me)),y0=Ee>=0?Ee:Ee+360,p0=qe>=0?qe:qe+360,e0=E0(y0-p0)>180?(y0+p0+360)/2:(y0+p0)/2,a0=1-.17*Ot(B(e0-30))+.24*Ot(B(2*e0))+.32*Ot(B(3*e0+6))-.2*Ot(B(4*e0-63)),M0=p0-y0;M0=E0(M0)<=180?M0:p0<=y0?M0+360:M0-360,M0=2*t1(Ae*ae)*Yt(B(M0)/2);var Pe=n-Z,j1=ae-Ae,pt=1+.015*B0(L-50,2)/t1(20+B0(L-50,2)),R1=1+.045*ze,gn=1+.015*ze*a0,Ln=30*Wa(-B0((e0-275)/25,2)),ht=2*t1(B0(ze,7)/(B0(ze,7)+B0(25,7))),Q1=-ht*Yt(2*B(Ln)),N1=t1(B0(Pe/(y*pt),2)+B0(j1/(k*R1),2)+B0(M0/(C*gn),2)+Q1*(j1/(k*R1))*(M0/(C*gn)));return Na(0,yn(100,N1))}function lr(u,m,y){y===void 0&&(y="lab"),u=new R(u),m=new R(m);var k=u.get(y),C=m.get(y),H=0;for(var B in k){var G=(k[B]||0)-(C[B]||0);H+=G*G}return Math.sqrt(H)}function ur(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];try{return new(Function.prototype.bind.apply(R,[null].concat(u))),!0}catch(y){return!1}}var dr={cool:function(){return Ft([le.hsl(180,1,.9),le.hsl(250,.7,.4)])},hot:function(){return Ft(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Vn={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},b1=Object.keys(Vn),qa=new Map(b1.map(function(u){return[u.toLowerCase(),u]})),fr=typeof Proxy=="function"?new Proxy(Vn,{get:function(m,y){var k=y.toLowerCase();if(qa.has(k))return m[qa.get(k)]},getOwnPropertyNames:function(){return Object.getOwnPropertyNames(b1)}}):Vn;return Object.assign(le,{analyze:xa,average:Bn,bezier:Z1,blend:m1,brewer:fr,Color:R,colors:D1,contrast:In,contrastAPCA:bn,cubehelix:_1,deltaE:cr,distance:lr,input:me,interpolate:lt,limits:P1,mix:lt,random:x1,scale:Ft,scales:dr,valid:ur,cmyk:Re,css:ua,gl:Ct,hcg:pa,hex:gt,hsi:k1,hsl:ln,hsv:_a,lab:ba,lch:Pt,hcl:dn,num:ct,rgb:O0,temp:M1,kelvin:M1,temperature:M1,oklab:jt,oklch:L1,getLabWhitePoint:Ve,setLabWhitePoint:l0}),le})});var _o={};Y_(_o,{default:()=>CA});function xL(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function NL(){return jd||(jd=1,co={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(i){let o=i%10;return~~(i%100/10)===1?"th":o===1?"st":o===2?"nd":o===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),co}function $d(){if(Rd)return lo;Rd=1;let i=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function o(a){return a.replace(/[-/\\\\^$*+?.()|[\\]{}]/g,"\\\\$&")}function d(a,r,c,h,A,S,q){if(!isNaN(+a))return+a;let E="",K=a.replace(/(^[^(]*)\\((.*)\\)([^)]*$)/,"$1$2$3");if(K!==a)return-1*d(K,r,c,h,A,S);for(let R=0;R{Se[S[R]]=R});let Te=Object.keys(Se).sort().reverse(),me=Te.length;for(let R=0;Rfe.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:K=>K.output==="byte"},characteristic:{type:"number",restriction:K=>K>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:z},average:"boolean",lowPrecision:{type:"boolean",restriction:(K,fe)=>fe.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:p},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:K=>K>=0,message:"value must be positive"},{restriction:(K,fe)=>!fe.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:K=>K>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:v},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(K,fe)=>fe.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},c={languageTag:{type:"string",mandatory:!0,restriction:K=>K.match(o),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:_,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function h(K,fe){let he=A(K),Se=q(fe);return he&&Se}function A(K){return i.unformat(K)!==void 0}function S(K,fe,he,Se=!1){let Te=Object.keys(K).map(me=>{if(!fe[me])return console.error(`${he} Invalid key: ${me}`),!1;let R=K[me],se=fe[me];if(typeof se=="string"&&(se={type:se}),se.type==="format"){if(!S(R,r,`[Validate ${me}]`,!0))return!1}else if(typeof R!==se.type)return console.error(`${he} ${me} type mismatched: "${se.type}" expected, "${typeof R}" provided`),!1;if(se.restrictions&&se.restrictions.length){let le=se.restrictions.length;for(let Ye=0;Ye{let R=fe[me];if(typeof R=="string"&&(R={type:R}),R.mandatory){let se=R.mandatory;if(typeof se=="function"&&(se=se(K)),se&&K[me]===void 0)return console.error(`${he} Missing mandatory key "${me}"`),!1}return!0})),Te.reduce((me,R)=>me&&R,!0)}function q(K){return S(K,r,"[Validate format]")}function E(K){return S(K,c,"[Validate language]")}return uo={validate:h,validateFormat:q,validateInput:A,validateLanguage:E},uo}function WL(i,o){let d=i.match(/^{([^}]*)}/);return d?(o.prefix=d[1],i.slice(d[0].length)):i}function qL(i,o){let d=i.match(/{([^}]*)}$/);return d?(o.postfix=d[1],i.slice(0,-d[0].length)):i}function BL(i,o){if(i.indexOf("$")!==-1){o.output="currency";return}if(i.indexOf("%")!==-1){o.output="percent";return}if(i.indexOf("bd")!==-1){o.output="byte",o.base="general";return}if(i.indexOf("b")!==-1){o.output="byte",o.base="binary";return}if(i.indexOf("d")!==-1){o.output="byte",o.base="decimal";return}if(i.indexOf(":")!==-1){o.output="time";return}i.indexOf("o")!==-1&&(o.output="ordinal")}function CL(i,o){i.indexOf(",")!==-1&&(o.thousandSeparated=!0)}function EL(i,o){i.indexOf(" ")!==-1&&(o.spaceSeparated=!0,o.spaceSeparatedCurrency=!0,(o.average||o.forceAverage)&&(o.spaceSeparatedAbbreviation=!0))}function XL(i,o){let d=i.match(/[1-9]+[0-9]*/);d&&(o.totalLength=+d[0])}function HL(i,o){let z=i.split(".")[0].match(/0+/);z&&(o.characteristic=z[0].length)}function PL(i,o){let d=i.split(".")[1];if(d){let z=d.match(/0+/);z&&(o.mantissa=z[0].length)}}function jL(i,o){let d=i.split(".")[1];d&&(o.trimMantissa=d.indexOf("[")!==-1)}function RL(i,o){i.indexOf("a")!==-1&&(o.average=!0)}function FL(i,o){i.indexOf("K")!==-1?o.forceAverage="thousand":i.indexOf("M")!==-1?o.forceAverage="million":i.indexOf("B")!==-1?o.forceAverage="billion":i.indexOf("T")!==-1&&(o.forceAverage="trillion")}function IL(i,o){i.match(/\\[\\.]/)?o.optionalMantissa=!0:i.match(/\\./)&&(o.optionalMantissa=!1)}function $L(i,o){if(i.indexOf(".")!==-1){let d=i.split(".")[0];o.optionalCharacteristic=d.indexOf("0")===-1}}function VL(i,o){i.match(/^\\+?\\([^)]*\\)$/)&&(o.negative="parenthesis"),i.match(/^\\+?-/)&&(o.negative="sign")}function UL(i,o){i.match(/^\\+/)&&(o.forceSign=!0)}function GL(i,o={}){return typeof i!="string"?i:(i=WL(i,o),i=qL(i,o),BL(i,o),XL(i,o),HL(i,o),$L(i,o),RL(i,o),FL(i,o),PL(i,o),IL(i,o),jL(i,o),CL(i,o),EL(i,o),VL(i,o),UL(i,o),o)}function Mo(){if(Id)return fo;Id=1;let i=NL(),o=po(),d=ho,z={},p,v={},_=null,g={};function a(c){p=c}function r(){return v[p]}return z.languages=()=>Object.assign({},v),z.currentLanguage=()=>p,z.currentBytes=()=>r().bytes||{},z.currentCurrency=()=>r().currency,z.currentAbbreviations=()=>r().abbreviations,z.currentDelimiters=()=>r().delimiters,z.currentOrdinal=()=>r().ordinal,z.currentDefaults=()=>Object.assign({},r().defaults,g),z.currentOrdinalDefaultFormat=()=>Object.assign({},z.currentDefaults(),r().ordinalFormat),z.currentByteDefaultFormat=()=>Object.assign({},z.currentDefaults(),r().byteFormat),z.currentPercentageDefaultFormat=()=>Object.assign({},z.currentDefaults(),r().percentageFormat),z.currentCurrencyDefaultFormat=()=>Object.assign({},z.currentDefaults(),r().currencyFormat),z.currentTimeDefaultFormat=()=>Object.assign({},z.currentDefaults(),r().timeFormat),z.setDefaults=c=>{c=d.parseFormat(c),o.validateFormat(c)&&(g=c)},z.getZeroFormat=()=>_,z.setZeroFormat=c=>_=typeof c=="string"?c:null,z.hasZeroFormat=()=>_!==null,z.languageData=c=>{if(c){if(v[c])return v[c];throw new Error(`Unknown tag "${c}"`)}return r()},z.registerLanguage=(c,h=!1)=>{if(!o.validateLanguage(c))throw new Error("Invalid language data");v[c.languageTag]=c,h&&a(c.languageTag)},z.setLanguage=(c,h=i.languageTag)=>{if(!v[c]){let A=c.split("-")[0],S=Object.keys(v).find(q=>q.split("-")[0]===A);if(!v[S]){a(h);return}a(S);return}a(c)},z.registerLanguage(i),p=i.languageTag,fo=z,fo}function JL(i){throw new Error(\'Could not dynamically require "\'+i+\'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\')}function KL(i,o){i.forEach(d=>{let z;try{z=JL(`../languages/${d}`)}catch(p){console.error(`Unable to load "${d}". No matching language file found.`)}z&&o.registerLanguage(z)})}function nA(i,o={},d){if(typeof o=="string"&&(o=eA.parseFormat(o)),!QL.validateFormat(o))return"ERROR: invalid format";let p=o.prefix||"",v=o.postfix||"",_=aA(i,o,d);return _=AA(_,p),_=vA(_,v),_}function aA(i,o,d){switch(o.output){case"currency":return o=Ga(o,bt.currentCurrencyDefaultFormat()),dA(i,o,bt);case"percent":return o=Ga(o,bt.currentPercentageDefaultFormat()),uA(i,o,bt,d);case"byte":return o=Ga(o,bt.currentByteDefaultFormat()),oA(i,o,bt,d);case"time":return o=Ga(o,bt.currentTimeDefaultFormat()),lA(i);case"ordinal":return o=Ga(o,bt.currentOrdinalDefaultFormat()),cA(i,o,bt);case"number":default:return qr({instance:i,providedFormat:o,numbro:d})}}function rA(i){let o=mo.decimal;return Si(i._value,o.suffixes,o.scale).suffix}function iA(i){let o=mo.binary;return Si(i._value,o.suffixes,o.scale).suffix}function sA(i){let o=mo.general;return Si(i._value,o.suffixes,o.scale).suffix}function Si(i,o,d){let z=o[0],p=Math.abs(i);if(p>=d){for(let v=1;v=_&&p0&&v.forceSign?A=`+${g}${c}${A.slice(1)}`:A=c+g+A),(!r||r==="postfix")&&(g=!v.spaceSeparatedAbbreviation&&a?"":g,A=A+g+c),A}function fA({value:i,forceAverage:o,lowPrecision:d=!0,abbreviations:z,spaceSeparated:p=!1,totalLength:v=0,roundingFunction:_=Math.round}){let g="",a=Math.abs(i),r=-1;if(o&&z[o]&&g1[o]?(g=z[o],i=i/g1[o]):a>=g1.trillion||d&&_(a/g1.trillion)===1?(g=z.trillion,i=i/g1.trillion):a=g1.billion||d&&_(a/g1.billion)===1?(g=z.billion,i=i/g1.billion):a=g1.million||d&&_(a/g1.million)===1?(g=z.million,i=i/g1.million):(a=g1.thousand||d&&_(a/g1.thousand)===1)&&(g=z.thousand,i=i/g1.thousand),g&&(g=(p?" ":"")+g),v){let h=i<0,A=i.toString().split(".")[0],S=h?A.length-1:A.length;r=Math.max(v-S,0)}return{value:i,abbreviation:g,mantissaPrecision:r}}function pA({value:i,characteristicPrecision:o}){let[d,z]=i.toExponential().split("e"),p=+d;if(!o)return{value:p,abbreviation:`e${z}`};let v=1;return v=0?`+${z}`:z),{value:p,abbreviation:`e${z}`}}function zi(i){let o="";for(let d=0;d0)d=v+_+zi(p-_.length);else{let g=".";+v<0?g=`-0${g}`:g=`0${g}`;let a=(zi(-p-1)+Math.abs(v)+_).substr(0,o);a.length0&&o>0&&(d+=`.${zi(o)}`),d}function MA(i,o,d=Math.round){return i.toString().indexOf("e")!==-1?hA(i,o):new tA(d(+`${i}e+${o}`)/Math.pow(10,o)).toFixed(o)}function mA(i,o,d,z,p,v){if(z===-1)return i;let _=MA(o,z,v),[g,a=""]=_.toString().split(".");if(a.match(/^0+$/)&&(d||p))return g;let r=a.match(/0+$/);return p&&r?`${g}.${a.toString().slice(0,r.index)}`:_.toString()}function _A(i,o,d,z){let p=i,[v,_]=p.toString().split(".");if(v.match(/^-?0$/)&&d)return _?`${v.replace("0","")}.${_}`:v.replace("0","");let g=o<0&&v.indexOf("-")===0;if(g&&(v=v.slice(1),p=p.slice(1)),v.length0;p--)z===o&&(d.unshift(p),z=0),z++;return d}function yA(i,o,d,z,p){let v=z.currentDelimiters(),_=v.thousands;p=p||v.decimal;let g=v.thousandsSize||3,a=i.toString(),r=a.split(".")[0],c=a.split(".")[1],h=o<0&&r.indexOf("-")===0;return d&&(h&&(r=r.slice(1)),bA(r.length,g).forEach((S,q)=>{r=r.slice(0,S+q)+_+r.slice(S+q)}),h&&(r=`-${r}`)),c?a=r+p+c:a=r,a}function gA(i,o){return i+o}function LA(i,o,d){return o===0?i:+i==0?i.replace("-",""):o>0?`+${i}`:d==="sign"?i:`(${i.replace("-","")})`}function AA(i,o){return o+i}function vA(i,o){return i+o}function qr({instance:i,providedFormat:o,state:d=bt,decimalSeparator:z,defaults:p=d.currentDefaults()}){let v=i._value;if(v===0&&d.hasZeroFormat())return d.getZeroFormat();if(!isFinite(v))return v.toString();let _=Object.assign({},Wr,p,o),g=_.totalLength,a=g?0:_.characteristic,r=_.optionalCharacteristic,c=_.forceAverage,h=_.lowPrecision,A=!!g||!!c||_.average,S=g?-1:A&&o.mantissa===void 0?0:_.mantissa,q=g?!1:o.optionalMantissa===void 0?S===-1:_.optionalMantissa,E=_.trimMantissa,K=_.thousandSeparated,fe=_.spaceSeparated,he=_.negative,Se=_.forceSign,Te=_.exponential,me=_.roundingFunction,R="";if(A){let le=fA({value:v,forceAverage:c,lowPrecision:h,abbreviations:d.currentAbbreviations(),spaceSeparated:fe,roundingFunction:me,totalLength:g});v=le.value,R+=le.abbreviation,g&&(S=le.mantissaPrecision)}if(Te){let le=pA({value:v,characteristicPrecision:a});v=le.value,R=le.abbreviation+R}let se=mA(v.toString(),v,q,S,E,me);return se=_A(se,v,r,a),se=yA(se,v,K,d,z),(A||Te)&&(se=gA(se,R)),(Se||v<0)&&(se=LA(se,v,he)),se}function Ga(i,o){if(!i)return o;let d=Object.keys(i);return d.length===1&&d[0]==="output"?o:i}function wA(i,o,d){let z=new sn(i._value),p=o;return d.isNumbro(o)&&(p=o._value),p=new sn(p),i._value=z.plus(p).toNumber(),i}function Jd(i,o,d){let z=new sn(i._value),p=o;return d.isNumbro(o)&&(p=o._value),p=new sn(p),i._value=z.minus(p).toNumber(),i}function TA(i,o,d){let z=new sn(i._value),p=o;return d.isNumbro(o)&&(p=o._value),p=new sn(p),i._value=z.times(p).toNumber(),i}function SA(i,o,d){let z=new sn(i._value),p=o;return d.isNumbro(o)&&(p=o._value),p=new sn(p),i._value=z.dividedBy(p).toNumber(),i}function OA(i,o,d){let z=o;return d.isNumbro(o)&&(z=o._value),i._value=z,i}function YA(i,o,d){let z=d(i._value);return Jd(z,o,d),Math.abs(z._value)}function Kd(i){let o=i;return J0.isNumbro(i)?o=i._value:typeof i=="string"?o=J0.unformat(i):isNaN(i)&&(o=NaN),o}function J0(i){return new Ti(Kd(i))}var DL,co,jd,lo,Rd,uo,Fd,ho,fo,Id,ZL,Vd,Ud,bt,QL,eA,tA,g1,Wr,Gd,wi,mo,zA,sn,kA,DA,Nt,xA,NA,WA,na,aa,qA,Ti,BA,CA,bo=yl(()=>{ue();DL=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ke!="undefined"?ke:typeof self!="undefined"?self:{};ho={parseFormat:GL};ZL=i=>({loadLanguagesInNode:o=>KL(o,i)}),Vd={exports:{}};(function(i){(function(o){var d,z=/^-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?$/i,p=Math.ceil,v=Math.floor,_="[BigNumber Error] ",g=_+"Number primitive has more than 15 significant digits: ",a=1e14,r=14,c=9007199254740991,h=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],A=1e7,S=1e9;function q(R){var se,le,Ye,ye=Le.prototype={constructor:Le,toString:null,valueOf:null},Ne=new Le(1),Re=20,je=4,t0=-7,$e=21,We=-1e7,Ie=1e7,l0=!1,Ve=1,A0=0,Q0={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\\xA0",suffix:""},C0="0123456789abcdefghijklmnopqrstuvwxyz",n0=!0;function Le(w,x){var W,P,F,I,J,$,te,re,ie=this;if(!(ie instanceof Le))return new Le(w,x);if(x==null){if(w&&w._isBigNumber===!0){ie.s=w.s,!w.c||w.e>Ie?ie.c=ie.e=null:w.e=10;J/=10,I++);I>Ie?ie.c=ie.e=null:(ie.e=I,ie.c=[w]);return}re=String(w)}else{if(!z.test(re=String(w)))return Ye(ie,re,$);ie.s=re.charCodeAt(0)==45?(re=re.slice(1),-1):1}(I=re.indexOf("."))>-1&&(re=re.replace(".","")),(J=re.search(/e/i))>0?(I<0&&(I=J),I+=+re.slice(J+1),re=re.substring(0,J)):I<0&&(I=re.length)}else{if(he(x,2,C0.length,"Base"),x==10&&n0)return ie=new Le(w),D0(ie,Re+ie.e+1,je);if(re=String(w),$=typeof w=="number"){if(w*0!=0)return Ye(ie,re,$,x);if(ie.s=1/w<0?(re=re.slice(1),-1):1,Le.DEBUG&&re.replace(/^0\\.0*|\\./,"").length>15)throw Error(g+w)}else ie.s=re.charCodeAt(0)===45?(re=re.slice(1),-1):1;for(W=C0.slice(0,x),I=J=0,te=re.length;JI){I=te;continue}}else if(!F&&(re==re.toUpperCase()&&(re=re.toLowerCase())||re==re.toLowerCase()&&(re=re.toUpperCase()))){F=!0,J=-1,I=0;continue}return Ye(ie,String(w),$,x)}$=!1,re=le(re,x,10,ie.s),(I=re.indexOf("."))>-1?re=re.replace(".",""):I=re.length}for(J=0;re.charCodeAt(J)===48;J++);for(te=re.length;re.charCodeAt(--te)===48;);if(re=re.slice(J,++te)){if(te-=J,$&&Le.DEBUG&&te>15&&(w>c||w!==v(w)))throw Error(g+ie.s*w);if((I=I-J-1)>Ie)ie.c=ie.e=null;else if(I=-S&&F<=S&&F===v(F)){if(P[0]===0){if(F===0&&P.length===1)return!0;break e}if(x=(F+1)%r,x<1&&(x+=r),String(P[0]).length==x){for(x=0;x=a||W!==v(W))break e;if(W!==0)return!0}}}else if(P===null&&F===null&&(I===null||I===1||I===-1))return!0;throw Error(_+"Invalid BigNumber: "+w)},Le.maximum=Le.max=function(){return l1(arguments,-1)},Le.minimum=Le.min=function(){return l1(arguments,1)},Le.random=function(){var w=9007199254740992,x=Math.random()*w&2097151?function(){return v(Math.random()*w)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(W){var P,F,I,J,$,te=0,re=[],ie=new Le(Ne);if(W==null?W=Re:he(W,0,S),J=p(W/r),l0)if(crypto.getRandomValues){for(P=crypto.getRandomValues(new Uint32Array(J*=2));te>>11),$>=9e15?(F=crypto.getRandomValues(new Uint32Array(2)),P[te]=F[0],P[te+1]=F[1]):(re.push($%1e14),te+=2);te=J/2}else if(crypto.randomBytes){for(P=crypto.randomBytes(J*=7);te=9e15?crypto.randomBytes(7).copy(P,te):(re.push($%1e14),te+=7);te=J/7}else throw l0=!1,Error(_+"crypto unavailable");if(!l0)for(;te=10;$/=10,te++);teF-1&&($[J+1]==null&&($[J+1]=0),$[J+1]+=$[J]/F|0,$[J]%=F)}return $.reverse()}return function(W,P,F,I,J){var $,te,re,ie,pe,Oe,Ce,Ke,f0=W.indexOf("."),Fe=Re,Qe=je;for(f0>=0&&(ie=A0,A0=0,W=W.replace(".",""),Ke=new Le(P),Oe=Ke.pow(W.length-f0),A0=ie,Ke.c=x(me(K(Oe.c),Oe.e,"0"),10,F,w),Ke.e=Ke.c.length),Ce=x(W,P,F,J?($=C0,w):($=w,C0)),re=ie=Ce.length;Ce[--ie]==0;Ce.pop());if(!Ce[0])return $.charAt(0);if(f0<0?--re:(Oe.c=Ce,Oe.e=re,Oe.s=I,Oe=se(Oe,Ke,Fe,Qe,F),Ce=Oe.c,pe=Oe.r,re=Oe.e),te=re+Fe+1,f0=Ce[te],ie=F/2,pe=pe||te<0||Ce[te+1]!=null,pe=Qe<4?(f0!=null||pe)&&(Qe==0||Qe==(Oe.s<0?3:2)):f0>ie||f0==ie&&(Qe==4||pe||Qe==6&&Ce[te-1]&1||Qe==(Oe.s<0?8:7)),te<1||!Ce[0])W=pe?me($.charAt(1),-Fe,$.charAt(0)):$.charAt(0);else{if(Ce.length=te,pe)for(--F;++Ce[--te]>F;)Ce[te]=0,te||(++re,Ce=[1].concat(Ce));for(ie=Ce.length;!Ce[--ie];);for(f0=0,W="";f0<=ie;W+=$.charAt(Ce[f0++]));W=me(W,re,$.charAt(0))}return W}}(),se=function(){function w(P,F,I){var J,$,te,re,ie=0,pe=P.length,Oe=F%A,Ce=F/A|0;for(P=P.slice();pe--;)te=P[pe]%A,re=P[pe]/A|0,J=Ce*te+re*Oe,$=Oe*te+J%A*A+ie,ie=($/I|0)+(J/A|0)+Ce*re,P[pe]=$%I;return ie&&(P=[ie].concat(P)),P}function x(P,F,I,J){var $,te;if(I!=J)te=I>J?1:-1;else for($=te=0;$F[$]?1:-1;break}return te}function W(P,F,I,J){for(var $=0;I--;)P[I]-=$,$=P[I]1;P.splice(0,1));}return function(P,F,I,J,$){var te,re,ie,pe,Oe,Ce,Ke,f0,Fe,Qe,u0,x0,$0,P0,i1,v0,u1,X0=P.s==F.s?1:-1,N0=P.c,ve=F.c;if(!N0||!N0[0]||!ve||!ve[0])return new Le(!P.s||!F.s||(N0?ve&&N0[0]==ve[0]:!ve)?NaN:N0&&N0[0]==0||!ve?X0*0:X0/0);for(f0=new Le(X0),Fe=f0.c=[],re=P.e-F.e,X0=I+re+1,$||($=a,re=E(P.e/r)-E(F.e/r),X0=X0/r|0),ie=0;ve[ie]==(N0[ie]||0);ie++);if(ve[ie]>(N0[ie]||0)&&re--,X0<0)Fe.push(1),pe=!0;else{for(P0=N0.length,v0=ve.length,ie=0,X0+=2,Oe=v($/(ve[0]+1)),Oe>1&&(ve=w(ve,Oe,$),N0=w(N0,Oe,$),v0=ve.length,P0=N0.length),$0=v0,Qe=N0.slice(0,v0),u0=Qe.length;u0=$/2&&i1++;do{if(Oe=0,te=x(ve,Qe,v0,u0),te<0){if(x0=Qe[0],v0!=u0&&(x0=x0*$+(Qe[1]||0)),Oe=v(x0/i1),Oe>1)for(Oe>=$&&(Oe=$-1),Ce=w(ve,Oe,$),Ke=Ce.length,u0=Qe.length;x(Ce,Qe,Ke,u0)==1;)Oe--,W(Ce,v0=10;X0/=10,ie++);D0(f0,I+(f0.e=ie+re*r-1)+1,J,pe)}else f0.e=re,f0.r=+pe;return f0}}();function De(w,x,W,P){var F,I,J,$,te;if(W==null?W=je:he(W,0,8),!w.c)return w.toString();if(F=w.c[0],J=w.e,x==null)te=K(w.c),te=P==1||P==2&&(J<=t0||J>=$e)?Te(te,J):me(te,J,"0");else if(w=D0(new Le(w),x,W),I=w.e,te=K(w.c),$=te.length,P==1||P==2&&(x<=I||I<=t0)){for(;$$){if(--x>0)for(te+=".";x--;te+="0");}else if(x+=I-$,x>0)for(I+1==$&&(te+=".");x--;te+="0");return w.s<0&&F?"-"+te:te}function l1(w,x){for(var W,P,F=1,I=new Le(w[0]);F=10;F/=10,P++);return(W=P+W*r-1)>Ie?w.c=w.e=null:W=10;$/=10,F++);if(I=x-F,I<0)I+=r,J=x,te=pe[re=0],ie=v(te/Oe[F-J-1]%10);else if(re=p((I+1)/r),re>=pe.length)if(P){for(;pe.length<=re;pe.push(0));te=ie=0,F=1,I%=r,J=I-r+1}else break e;else{for(te=$=pe[re],F=1;$>=10;$/=10,F++);I%=r,J=I-r+F,ie=J<0?0:v(te/Oe[F-J-1]%10)}if(P=P||x<0||pe[re+1]!=null||(J<0?te:te%Oe[F-J-1]),P=W<4?(ie||P)&&(W==0||W==(w.s<0?3:2)):ie>5||ie==5&&(W==4||P||W==6&&(I>0?J>0?te/Oe[F-J]:0:pe[re-1])%10&1||W==(w.s<0?8:7)),x<1||!pe[0])return pe.length=0,P?(x-=w.e+1,pe[0]=Oe[(r-x%r)%r],w.e=-x||0):pe[0]=w.e=0,w;if(I==0?(pe.length=re,$=1,re--):(pe.length=re+1,$=Oe[r-I],pe[re]=J>0?v(te/Oe[F-J]%Oe[J])*$:0),P)for(;;)if(re==0){for(I=1,J=pe[0];J>=10;J/=10,I++);for(J=pe[0]+=$,$=1;J>=10;J/=10,$++);I!=$&&(w.e++,pe[0]==a&&(pe[0]=1));break}else{if(pe[re]+=$,pe[re]!=a)break;pe[re--]=0,$=1}for(I=pe.length;pe[--I]===0;pe.pop());}w.e>Ie?w.c=w.e=null:w.e=$e?Te(x,W):me(x,W,"0"),w.s<0?"-"+x:x)}return ye.absoluteValue=ye.abs=function(){var w=new Le(this);return w.s<0&&(w.s=1),w},ye.comparedTo=function(w,x){return fe(this,new Le(w,x))},ye.decimalPlaces=ye.dp=function(w,x){var W,P,F,I=this;if(w!=null)return he(w,0,S),x==null?x=je:he(x,0,8),D0(new Le(I),w+I.e+1,x);if(!(W=I.c))return null;if(P=((F=W.length-1)-E(this.e/r))*r,F=W[F])for(;F%10==0;F/=10,P--);return P<0&&(P=0),P},ye.dividedBy=ye.div=function(w,x){return se(this,new Le(w,x),Re,je)},ye.dividedToIntegerBy=ye.idiv=function(w,x){return se(this,new Le(w,x),0,1)},ye.exponentiatedBy=ye.pow=function(w,x){var W,P,F,I,J,$,te,re,ie,pe=this;if(w=new Le(w),w.c&&!w.isInteger())throw Error(_+"Exponent not an integer: "+Q(w));if(x!=null&&(x=new Le(x)),$=w.e>14,!pe.c||!pe.c[0]||pe.c[0]==1&&!pe.e&&pe.c.length==1||!w.c||!w.c[0])return ie=new Le(Math.pow(+Q(pe),$?w.s*(2-Se(w)):+Q(w))),x?ie.mod(x):ie;if(te=w.s<0,x){if(x.c?!x.c[0]:!x.s)return new Le(NaN);P=!te&&pe.isInteger()&&x.isInteger(),P&&(pe=pe.mod(x))}else{if(w.e>9&&(pe.e>0||pe.e<-1||(pe.e==0?pe.c[0]>1||$&&pe.c[1]>=24e7:pe.c[0]<8e13||$&&pe.c[0]<=9999975e7)))return I=pe.s<0&&Se(w)?-0:0,pe.e>-1&&(I=1/I),new Le(te?1/I:I);A0&&(I=p(A0/r+2))}for($?(W=new Le(.5),te&&(w.s=1),re=Se(w)):(F=Math.abs(+Q(w)),re=F%2),ie=new Le(Ne);;){if(re){if(ie=ie.times(pe),!ie.c)break;I?ie.c.length>I&&(ie.c.length=I):P&&(ie=ie.mod(x))}if(F){if(F=v(F/2),F===0)break;re=F%2}else if(w=w.times(W),D0(w,w.e+1,1),w.e>14)re=Se(w);else{if(F=+Q(w),F===0)break;re=F%2}pe=pe.times(pe),I?pe.c&&pe.c.length>I&&(pe.c.length=I):P&&(pe=pe.mod(x))}return P?ie:(te&&(ie=Ne.div(ie)),x?ie.mod(x):I?D0(ie,A0,je,J):ie)},ye.integerValue=function(w){var x=new Le(this);return w==null?w=je:he(w,0,8),D0(x,x.e+1,w)},ye.isEqualTo=ye.eq=function(w,x){return fe(this,new Le(w,x))===0},ye.isFinite=function(){return!!this.c},ye.isGreaterThan=ye.gt=function(w,x){return fe(this,new Le(w,x))>0},ye.isGreaterThanOrEqualTo=ye.gte=function(w,x){return(x=fe(this,new Le(w,x)))===1||x===0},ye.isInteger=function(){return!!this.c&&E(this.e/r)>this.c.length-2},ye.isLessThan=ye.lt=function(w,x){return fe(this,new Le(w,x))<0},ye.isLessThanOrEqualTo=ye.lte=function(w,x){return(x=fe(this,new Le(w,x)))===-1||x===0},ye.isNaN=function(){return!this.s},ye.isNegative=function(){return this.s<0},ye.isPositive=function(){return this.s>0},ye.isZero=function(){return!!this.c&&this.c[0]==0},ye.minus=function(w,x){var W,P,F,I,J=this,$=J.s;if(w=new Le(w,x),x=w.s,!$||!x)return new Le(NaN);if($!=x)return w.s=-x,J.plus(w);var te=J.e/r,re=w.e/r,ie=J.c,pe=w.c;if(!te||!re){if(!ie||!pe)return ie?(w.s=-x,w):new Le(pe?J:NaN);if(!ie[0]||!pe[0])return pe[0]?(w.s=-x,w):new Le(ie[0]?J:je==3?-0:0)}if(te=E(te),re=E(re),ie=ie.slice(),$=te-re){for((I=$<0)?($=-$,F=ie):(re=te,F=pe),F.reverse(),x=$;x--;F.push(0));F.reverse()}else for(P=(I=($=ie.length)<(x=pe.length))?$:x,$=x=0;x0)for(;x--;ie[W++]=0);for(x=a-1;P>$;){if(ie[--P]=0;){for(W=0,Oe=x0[F]%Fe,Ce=x0[F]/Fe|0,J=te,I=F+J;I>F;)re=u0[--J]%Fe,ie=u0[J]/Fe|0,$=Ce*re+ie*Oe,re=Oe*re+$%Fe*Fe+Ke[I]+W,W=(re/f0|0)+($/Fe|0)+Ce*ie,Ke[I--]=re%f0;Ke[I]=W}return W?++P:Ke.splice(0,1),h1(w,Ke,P)},ye.negated=function(){var w=new Le(this);return w.s=-w.s||null,w},ye.plus=function(w,x){var W,P=this,F=P.s;if(w=new Le(w,x),x=w.s,!F||!x)return new Le(NaN);if(F!=x)return w.s=-x,P.minus(w);var I=P.e/r,J=w.e/r,$=P.c,te=w.c;if(!I||!J){if(!$||!te)return new Le(F/0);if(!$[0]||!te[0])return te[0]?w:new Le($[0]?P:F*0)}if(I=E(I),J=E(J),$=$.slice(),F=I-J){for(F>0?(J=I,W=te):(F=-F,W=$),W.reverse();F--;W.push(0));W.reverse()}for(F=$.length,x=te.length,F-x<0&&(W=te,te=$,$=W,x=F),F=0;x;)F=($[--x]=$[x]+te[x]+F)/a|0,$[x]=a===$[x]?0:$[x]%a;return F&&($=[F].concat($),++J),h1(w,$,J)},ye.precision=ye.sd=function(w,x){var W,P,F,I=this;if(w!=null&&w!==!!w)return he(w,1,S),x==null?x=je:he(x,0,8),D0(new Le(I),w,x);if(!(W=I.c))return null;if(F=W.length-1,P=F*r+1,F=W[F]){for(;F%10==0;F/=10,P--);for(F=W[0];F>=10;F/=10,P++);}return w&&I.e+1>P&&(P=I.e+1),P},ye.shiftedBy=function(w){return he(w,-c,c),this.times("1e"+w)},ye.squareRoot=ye.sqrt=function(){var w,x,W,P,F,I=this,J=I.c,$=I.s,te=I.e,re=Re+4,ie=new Le("0.5");if($!==1||!J||!J[0])return new Le(!$||$<0&&(!J||J[0])?NaN:J?I:1/0);if($=Math.sqrt(+Q(I)),$==0||$==1/0?(x=K(J),(x.length+te)%2==0&&(x+="0"),$=Math.sqrt(+x),te=E((te+1)/2)-(te<0||te%2),$==1/0?x="5e"+te:(x=$.toExponential(),x=x.slice(0,x.indexOf("e")+1)+te),W=new Le(x)):W=new Le($+""),W.c[0]){for(te=W.e,$=te+re,$<3&&($=0);;)if(F=W,W=ie.times(F.plus(se(I,F,re,1))),K(F.c).slice(0,$)===(x=K(W.c)).slice(0,$))if(W.e0&&Ke>0){for(I=Ke%$||$,ie=Ce.substr(0,I);I0&&(ie+=re+Ce.slice(I)),Oe&&(ie="-"+ie)}P=pe?ie+(W.decimalSeparator||"")+((te=+W.fractionGroupSize)?pe.replace(new RegExp("\\\\d{"+te+"}\\\\B","g"),"$&"+(W.fractionGroupSeparator||"")):pe):ie}return(W.prefix||"")+P+(W.suffix||"")},ye.toFraction=function(w){var x,W,P,F,I,J,$,te,re,ie,pe,Oe,Ce=this,Ke=Ce.c;if(w!=null&&($=new Le(w),!$.isInteger()&&($.c||$.s!==1)||$.lt(Ne)))throw Error(_+"Argument "+($.isInteger()?"out of range: ":"not an integer: ")+Q($));if(!Ke)return new Le(Ce);for(x=new Le(Ne),re=W=new Le(Ne),P=te=new Le(Ne),Oe=K(Ke),I=x.e=Oe.length-Ce.e-1,x.c[0]=h[(J=I%r)<0?r+J:J],w=!w||$.comparedTo(x)>0?I>0?x:re:$,J=Ie,Ie=1/0,$=new Le(Oe),te.c[0]=0;ie=se($,x,0,1),F=W.plus(ie.times(P)),F.comparedTo(w)!=1;)W=P,P=F,re=te.plus(ie.times(F=re)),te=F,x=$.minus(ie.times(F=x)),$=F;return F=se(w.minus(W),P,0,1),te=te.plus(F.times(re)),W=W.plus(F.times(P)),te.s=re.s=Ce.s,I=I*2,pe=se(re,P,I,je).minus(Ce).abs().comparedTo(se(te,W,I,je).minus(Ce).abs())<1?[re,P]:[te,W],Ie=J,pe},ye.toNumber=function(){return+Q(this)},ye.toPrecision=function(w,x){return w!=null&&he(w,1,S),De(this,w,x,2)},ye.toString=function(w){var x,W=this,P=W.s,F=W.e;return F===null?P?(x="Infinity",P<0&&(x="-"+x)):x="NaN":(w==null?x=F<=t0||F>=$e?Te(K(W.c),F):me(K(W.c),F,"0"):w===10&&n0?(W=D0(new Le(W),Re+F+1,je),x=me(K(W.c),W.e,"0")):(he(w,2,C0.length,"Base"),x=le(me(K(W.c),F,"0"),10,w,P,!0)),P<0&&W.c[0]&&(x="-"+x)),x},ye.valueOf=ye.toJSON=function(){return Q(this)},ye._isBigNumber=!0,R!=null&&Le.set(R),Le}function E(R){var se=R|0;return R>0||R===se?se:se-1}function K(R){for(var se,le,Ye=1,ye=R.length,Ne=R[0]+"";Ye$e^le?1:-1;for(je=(t0=ye.length)<($e=Ne.length)?t0:$e,Re=0;ReNe[Re]^le?1:-1;return t0==$e?0:t0>$e^le?1:-1}function he(R,se,le,Ye){if(Rle||R!==v(R))throw Error(_+(Ye||"Argument")+(typeof R=="number"?Rle?" out of range: ":" not an integer: ":" not a primitive number: ")+String(R))}function Se(R){var se=R.c.length-1;return E(R.e/r)==se&&R.c[se]%2!=0}function Te(R,se){return(R.length>1?R.charAt(0)+"."+R.slice(1):R)+(se<0?"e":"e+")+se}function me(R,se,le){var Ye,ye;if(se<0){for(ye=le+".";++se;ye+=le);R=ye+R}else if(Ye=R.length,++se>Ye){for(ye=le,se-=Ye;--se;ye+=le);R+=ye}else se({format:(...o)=>nA(...o,i),getByteUnit:(...o)=>sA(...o,i),getBinaryByteUnit:(...o)=>iA(...o,i),getDecimalByteUnit:(...o)=>rA(...o,i),formatOrDefault:Ga});sn=Ud;kA=i=>({add:(o,d)=>wA(o,d,i),subtract:(o,d)=>Jd(o,d,i),multiply:(o,d)=>TA(o,d,i),divide:(o,d)=>SA(o,d,i),set:(o,d)=>OA(o,d,i),difference:(o,d)=>YA(o,d,i),BigNumber:sn});DA="2.5.0",Nt=Mo(),xA=po(),NA=ZL(J0),WA=$d(),na=zA(J0),aa=kA(J0),qA=ho,Ti=class{constructor(o){this._value=o}clone(){return J0(this._value)}format(o={}){return na.format(this,o)}formatCurrency(o){return typeof o=="string"&&(o=qA.parseFormat(o)),o=na.formatOrDefault(o,Nt.currentCurrencyDefaultFormat()),o.output="currency",na.format(this,o)}formatTime(o={}){return o.output="time",na.format(this,o)}binaryByteUnits(){return na.getBinaryByteUnit(this)}decimalByteUnits(){return na.getDecimalByteUnit(this)}byteUnits(){return na.getByteUnit(this)}difference(o){return aa.difference(this,o)}add(o){return aa.add(this,o)}subtract(o){return aa.subtract(this,o)}multiply(o){return aa.multiply(this,o)}divide(o){return aa.divide(this,o)}set(o){return aa.set(this,Kd(o))}value(){return this._value}valueOf(){return this._value}};J0.version=DA;J0.isNumbro=function(i){return i instanceof Ti};J0.language=Nt.currentLanguage;J0.registerLanguage=Nt.registerLanguage;J0.setLanguage=Nt.setLanguage;J0.languages=Nt.languages;J0.languageData=Nt.languageData;J0.zeroFormat=Nt.setZeroFormat;J0.defaultFormat=Nt.currentDefaults;J0.setDefaults=Nt.setDefaults;J0.defaultCurrencyFormat=Nt.currentCurrencyDefaultFormat;J0.validate=xA.validate;J0.loadLanguagesInNode=NA.loadLanguagesInNode;J0.unformat=WA.unformat;J0.BigNumber=aa.BigNumber;BA=J0,CA=xL(BA)});var yo=Xe((Zd,Oi)=>{ue();(function(i,o){typeof Oi=="object"&&Oi.exports?Oi.exports=o():i.nearley=o()})(Zd,function(){function i(a,r,c){return this.id=++i.highestId,this.name=a,this.symbols=r,this.postprocess=c,this}i.highestId=0,i.prototype.toString=function(a){var r=typeof a=="undefined"?this.symbols.map(g).join(" "):this.symbols.slice(0,a).map(g).join(" ")+" \\u25CF "+this.symbols.slice(a).map(g).join(" ");return this.name+" \\u2192 "+r};function o(a,r,c,h){this.rule=a,this.dot=r,this.reference=c,this.data=[],this.wantedBy=h,this.isComplete=this.dot===a.symbols.length}o.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},o.prototype.nextState=function(a){var r=new o(this.rule,this.dot+1,this.reference,this.wantedBy);return r.left=this,r.right=a,r.isComplete&&(r.data=r.build(),r.right=void 0),r},o.prototype.build=function(){var a=[],r=this;do a.push(r.right.data),r=r.left;while(r.left);return a.reverse(),a},o.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,v.fail))};function d(a,r){this.grammar=a,this.index=r,this.states=[],this.wants={},this.scannable=[],this.completed={}}d.prototype.process=function(a){for(var r=this.states,c=this.wants,h=this.completed,A=0;A0&&r.push(" ^ "+h+" more lines identical to this"),h=0,r.push(" "+q)),c=q}},v.prototype.getSymbolDisplay=function(a){return _(a)},v.prototype.buildFirstStateStack=function(a,r){if(r.indexOf(a)!==-1)return null;if(a.wantedBy.length===0)return[a];var c=a.wantedBy[0],h=[a].concat(r),A=this.buildFirstStateStack(c,h);return A===null?null:[a].concat(A)},v.prototype.save=function(){var a=this.table[this.current];return a.lexerState=this.lexerState,a},v.prototype.restore=function(a){var r=a.index;this.current=r,this.table[r]=a,this.table.splice(r+1),this.lexerState=a.lexerState,this.results=this.finish()},v.prototype.rewind=function(a){if(!this.options.keepHistory)throw new Error("set option `keepHistory` to enable rewinding");this.restore(this.table[a])},v.prototype.finish=function(){var a=[],r=this.grammar.start,c=this.table[this.table.length-1];return c.states.forEach(function(h){h.rule.name===r&&h.dot===h.rule.symbols.length&&h.reference===0&&h.data!==v.fail&&a.push(h)}),a.map(function(h){return h.data})};function _(a){var r=typeof a;if(r==="string")return a;if(r==="object"){if(a.literal)return JSON.stringify(a.literal);if(a instanceof RegExp)return"character matching "+a;if(a.type)return a.type+" token";if(a.test)return"token matching "+String(a.test);throw new Error("Unknown symbol type: "+a)}}function g(a){var r=typeof a;if(r==="string")return a;if(r==="object"){if(a.literal)return JSON.stringify(a.literal);if(a instanceof RegExp)return a.toString();if(a.type)return"%"+a.type;if(a.test)return"<"+String(a.test)+">";throw new Error("Unknown symbol type: "+a)}}return{Parser:v,Grammar:z,Rule:i}})});var gf=Xe(($4,yf)=>{ue();var EA=Object.create,Ei=Object.defineProperty,XA=Object.getOwnPropertyDescriptor,Oo=Object.getOwnPropertyNames,HA=Object.getPrototypeOf,PA=Object.prototype.hasOwnProperty,jA=(i,o)=>function(){return i&&(o=(0,i[Oo(i)[0]])(i=0)),o},RA=(i,o)=>function(){return o||(0,i[Oo(i)[0]])((o={exports:{}}).exports,o),o.exports},oa=(i,o)=>{for(var d in o)Ei(i,d,{get:o[d],enumerable:!0})},qi=(i,o,d,z)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of Oo(o))!PA.call(i,p)&&p!==d&&Ei(i,p,{get:()=>o[p],enumerable:!(z=XA(o,p))||z.enumerable});return i},Ka=(i,o,d)=>(qi(i,o,"default"),d&&qi(d,o,"default")),Za=(i,o,d)=>(d=i!=null?EA(HA(i)):{},qi(o||!i||!i.__esModule?Ei(d,"default",{value:i,enumerable:!0}):d,i)),FA=i=>qi(Ei({},"__esModule",{value:!0}),i),Ze=jA({""(){}}),IA=RA({"src/nearley/generated/vizparser.js"(i,o){Ze(),function(){function d(a){return a[0].concat([a[1]])}function z(a){return a[0]}function p(){return null}function v(a){return{type:"string",v:a[0]}}function _(a){return a[1].join("")}var g={Lexer:void 0,ParserRules:[{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","wschar"],postprocess:d},{name:"_",symbols:["_$ebnf$1"],postprocess:p},{name:"__$ebnf$1",symbols:["wschar"]},{name:"__$ebnf$1",symbols:["__$ebnf$1","wschar"],postprocess:d},{name:"__",symbols:["__$ebnf$1"],postprocess:p},{name:"wschar",symbols:[/[ \\t\\n\\v\\f]/],postprocess:z},{name:"dqstring$ebnf$1",symbols:[]},{name:"dqstring$ebnf$1",symbols:["dqstring$ebnf$1","dstrchar"],postprocess:d},{name:"dqstring",symbols:[{literal:\'"\'},"dqstring$ebnf$1",{literal:\'"\'}],postprocess:_},{name:"sqstring$ebnf$1",symbols:[]},{name:"sqstring$ebnf$1",symbols:["sqstring$ebnf$1","sstrchar"],postprocess:d},{name:"sqstring",symbols:[{literal:"\'"},"sqstring$ebnf$1",{literal:"\'"}],postprocess:_},{name:"btstring$ebnf$1",symbols:[]},{name:"btstring$ebnf$1",symbols:["btstring$ebnf$1",/[^`]/],postprocess:d},{name:"btstring",symbols:[{literal:"`"},"btstring$ebnf$1",{literal:"`"}],postprocess:_},{name:"dstrchar",symbols:[/[^\\\\"\\n]/],postprocess:z},{name:"dstrchar",symbols:[{literal:"\\\\"},"strescape"],postprocess:function(a){return JSON.parse(\'"\'+a.join("")+\'"\')}},{name:"sstrchar",symbols:[/[^\\\\\'\\n]/],postprocess:z},{name:"sstrchar",symbols:[{literal:"\\\\"},"strescape"],postprocess:function(a){return JSON.parse(\'"\'+a.join("")+\'"\')}},{name:"sstrchar$string$1",symbols:[{literal:"\\\\"},{literal:"\'"}],postprocess:function(r){return r.join("")}},{name:"sstrchar",symbols:["sstrchar$string$1"],postprocess:function(a){return"\'"}},{name:"strescape",symbols:[/["\\\\/bfnrt]/],postprocess:z},{name:"strescape",symbols:[{literal:"u"},/[a-fA-F0-9]/,/[a-fA-F0-9]/,/[a-fA-F0-9]/,/[a-fA-F0-9]/],postprocess:function(a){return a.join("")}},{name:"unsigned_int$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_int$ebnf$1",symbols:["unsigned_int$ebnf$1",/[0-9]/],postprocess:d},{name:"unsigned_int",symbols:["unsigned_int$ebnf$1"],postprocess:function(a){return parseInt(a[0].join(""))}},{name:"int$ebnf$1$subexpression$1",symbols:[{literal:"-"}]},{name:"int$ebnf$1$subexpression$1",symbols:[{literal:"+"}]},{name:"int$ebnf$1",symbols:["int$ebnf$1$subexpression$1"],postprocess:z},{name:"int$ebnf$1",symbols:[],postprocess:p},{name:"int$ebnf$2",symbols:[/[0-9]/]},{name:"int$ebnf$2",symbols:["int$ebnf$2",/[0-9]/],postprocess:d},{name:"int",symbols:["int$ebnf$1","int$ebnf$2"],postprocess:function(a){return a[0]?parseInt(a[0][0]+a[1].join("")):parseInt(a[1].join(""))}},{name:"unsigned_decimal$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_decimal$ebnf$1",symbols:["unsigned_decimal$ebnf$1",/[0-9]/],postprocess:d},{name:"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",symbols:["unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",/[0-9]/],postprocess:d},{name:"unsigned_decimal$ebnf$2$subexpression$1",symbols:[{literal:"."},"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1"]},{name:"unsigned_decimal$ebnf$2",symbols:["unsigned_decimal$ebnf$2$subexpression$1"],postprocess:z},{name:"unsigned_decimal$ebnf$2",symbols:[],postprocess:p},{name:"unsigned_decimal",symbols:["unsigned_decimal$ebnf$1","unsigned_decimal$ebnf$2"],postprocess:function(a){return parseFloat(a[0].join("")+(a[1]?"."+a[1][1].join(""):""))}},{name:"decimal$ebnf$1",symbols:[{literal:"-"}],postprocess:z},{name:"decimal$ebnf$1",symbols:[],postprocess:p},{name:"decimal$ebnf$2",symbols:[/[0-9]/]},{name:"decimal$ebnf$2",symbols:["decimal$ebnf$2",/[0-9]/],postprocess:d},{name:"decimal$ebnf$3$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"decimal$ebnf$3$subexpression$1$ebnf$1",symbols:["decimal$ebnf$3$subexpression$1$ebnf$1",/[0-9]/],postprocess:d},{name:"decimal$ebnf$3$subexpression$1",symbols:[{literal:"."},"decimal$ebnf$3$subexpression$1$ebnf$1"]},{name:"decimal$ebnf$3",symbols:["decimal$ebnf$3$subexpression$1"],postprocess:z},{name:"decimal$ebnf$3",symbols:[],postprocess:p},{name:"decimal",symbols:["decimal$ebnf$1","decimal$ebnf$2","decimal$ebnf$3"],postprocess:function(a){return parseFloat((a[0]||"")+a[1].join("")+(a[2]?"."+a[2][1].join(""):""))}},{name:"percentage",symbols:["decimal",{literal:"%"}],postprocess:function(a){return a[0]/100}},{name:"jsonfloat$ebnf$1",symbols:[{literal:"-"}],postprocess:z},{name:"jsonfloat$ebnf$1",symbols:[],postprocess:p},{name:"jsonfloat$ebnf$2",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$2",symbols:["jsonfloat$ebnf$2",/[0-9]/],postprocess:d},{name:"jsonfloat$ebnf$3$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$3$subexpression$1$ebnf$1",symbols:["jsonfloat$ebnf$3$subexpression$1$ebnf$1",/[0-9]/],postprocess:d},{name:"jsonfloat$ebnf$3$subexpression$1",symbols:[{literal:"."},"jsonfloat$ebnf$3$subexpression$1$ebnf$1"]},{name:"jsonfloat$ebnf$3",symbols:["jsonfloat$ebnf$3$subexpression$1"],postprocess:z},{name:"jsonfloat$ebnf$3",symbols:[],postprocess:p},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$1",symbols:[/[+-]/],postprocess:z},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$1",symbols:[],postprocess:p},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$2",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$2",symbols:["jsonfloat$ebnf$4$subexpression$1$ebnf$2",/[0-9]/],postprocess:d},{name:"jsonfloat$ebnf$4$subexpression$1",symbols:[/[eE]/,"jsonfloat$ebnf$4$subexpression$1$ebnf$1","jsonfloat$ebnf$4$subexpression$1$ebnf$2"]},{name:"jsonfloat$ebnf$4",symbols:["jsonfloat$ebnf$4$subexpression$1"],postprocess:z},{name:"jsonfloat$ebnf$4",symbols:[],postprocess:p},{name:"jsonfloat",symbols:["jsonfloat$ebnf$1","jsonfloat$ebnf$2","jsonfloat$ebnf$3","jsonfloat$ebnf$4"],postprocess:function(a){return parseFloat((a[0]||"")+a[1].join("")+(a[2]?"."+a[2][1].join(""):"")+(a[3]?"e"+(a[3][1]||"+")+a[3][2].join(""):""))}},{name:"Pipeline$ebnf$1",symbols:[]},{name:"Pipeline$ebnf$1$subexpression$1",symbols:[{literal:"|"},"Expr"]},{name:"Pipeline$ebnf$1",symbols:["Pipeline$ebnf$1","Pipeline$ebnf$1$subexpression$1"],postprocess:d},{name:"Pipeline",symbols:["Expr","Pipeline$ebnf$1"],postprocess:a=>[a[0],...a[1].map(r=>r[1])]},{name:"Expr",symbols:["_","Identifier","_"],postprocess:a=>a[1]},{name:"Expr",symbols:["_","Method","_"],postprocess:a=>a[1]},{name:"Expr",symbols:["_","Literal","_"],postprocess:a=>a[1]},{name:"Method$ebnf$1",symbols:["Arg"],postprocess:z},{name:"Method$ebnf$1",symbols:[],postprocess:p},{name:"Method$ebnf$2",symbols:[]},{name:"Method$ebnf$2$subexpression$1",symbols:["_",{literal:","},"_","Arg"]},{name:"Method$ebnf$2",symbols:["Method$ebnf$2","Method$ebnf$2$subexpression$1"],postprocess:d},{name:"Method",symbols:["Identifier",{literal:"("},"_","Method$ebnf$1","Method$ebnf$2","_",{literal:")"}],postprocess:a=>{let r=a[3],c=a[4],h=[];return r&&h.push(r),c&&(h=h.concat(c.map(S=>S[3]))),{type:"method",name:a[0].v,args:h}}},{name:"Arg",symbols:["Identifier"],postprocess:a=>a[0]},{name:"Arg",symbols:["Literal"],postprocess:a=>a[0]},{name:"Identifier$subexpression$1",symbols:["Letter"]},{name:"Identifier$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$1",symbols:[]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$1",symbols:["Identifier$ebnf$1","Identifier$ebnf$1$subexpression$1"],postprocess:d},{name:"Identifier",symbols:["Identifier$subexpression$1","Identifier$ebnf$1"],postprocess:a=>({type:"identifier",v:a[0]+a[1].join("")})},{name:"Identifier$subexpression$2",symbols:["Letter"]},{name:"Identifier$subexpression$2",symbols:["Star"]},{name:"Identifier$ebnf$2",symbols:[]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$2",symbols:["Identifier$ebnf$2","Identifier$ebnf$2$subexpression$1"],postprocess:d},{name:"Identifier$ebnf$3$subexpression$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1",symbols:[]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1",symbols:["Identifier$ebnf$3$subexpression$1$ebnf$1","Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1"],postprocess:d},{name:"Identifier$ebnf$3$subexpression$1",symbols:["Dot","Identifier$ebnf$3$subexpression$1$subexpression$1","Identifier$ebnf$3$subexpression$1$ebnf$1"]},{name:"Identifier$ebnf$3",symbols:["Identifier$ebnf$3$subexpression$1"]},{name:"Identifier$ebnf$3$subexpression$2$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$2$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1",symbols:[]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1",symbols:["Identifier$ebnf$3$subexpression$2$ebnf$1","Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1"],postprocess:d},{name:"Identifier$ebnf$3$subexpression$2",symbols:["Dot","Identifier$ebnf$3$subexpression$2$subexpression$1","Identifier$ebnf$3$subexpression$2$ebnf$1"]},{name:"Identifier$ebnf$3",symbols:["Identifier$ebnf$3","Identifier$ebnf$3$subexpression$2"],postprocess:d},{name:"Identifier",symbols:["Identifier$subexpression$2","Identifier$ebnf$2","Identifier$ebnf$3"],postprocess:a=>{function r(h,A=1,S=[]){for(let q of h)q instanceof Array&&A>0?r(q,A-1,S):S.push(q);return S}return{type:"identifier",v:r(a,1/0).join("")}}},{name:"Literal",symbols:["jsonfloat"],postprocess:a=>({type:"number",v:a[0]})},{name:"Literal",symbols:["dqstring"],postprocess:v},{name:"Literal",symbols:["sqstring"],postprocess:v},{name:"Literal",symbols:["btstring"],postprocess:v},{name:"Letter",symbols:[/[a-zA-Z_]/],postprocess:a=>a[0]},{name:"Digit",symbols:[/[0-9]/],postprocess:a=>a[0]},{name:"Dot",symbols:[/[\\.]/],postprocess:a=>a[0]},{name:"Star",symbols:[{literal:"*"}]}],ParserStart:"Pipeline"};typeof o!="undefined"&&typeof o.exports!="undefined"?o.exports=g:window.grammar=g}()}}),nf={};oa(nf,{Options:()=>O3});yf.exports=FA(nf);Ze();var L0={};oa(L0,{default:()=>$A});Ze();var go=Za(Ns());Ka(L0,Ns());var $A="default"in go?go.default:go;Ze();Ze();Ze();Ze();var af={};oa(af,{default:()=>on});Ze();var Lo=Za(js());Ka(af,js());var on="default"in Lo?Lo.default:Lo;Ze();var Bi={};oa(Bi,{default:()=>VA});Ze();var Ao=Za(ro());Ka(Bi,ro());var VA="default"in Ao?Ao.default:Ao;Ze();var UA=["transparent","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];function Er(i=""){if(typeof i!="string")return!1;if(i.startsWith("#"))return i=i.substring(1),[3,4,6,8].indexOf(i.length)>-1&&!Number.isNaN(parseInt(i,16));let o=i.trim();return Bi.rgbColorPattern.test(o)||Bi.rgbaColorPattern.test(o)?!0:UA.includes(i.toLowerCase())}var GA=["YYYY-MM-DD",on.ISO_8601,"YYYY-MM-DDTHH:mm","YYYY-MM-DDTHH:mm:ss.SSS","YYYY-MM-DDTHH:mm:ss","YYYY-MM-DD HH:MM","YYYY-MM-DD HH:MM:SS","YYYY-MM-DD HH:MM:SS.SSS"],Qd=["geojson","sparkline","array","string","color","number","time","null","unknown"];function sa(i){return i!==null&&!(0,L0.isBoolean)(i)&&i!==""&&(0,L0.isFinite)(+i)&&(0,L0.isNumber)(+i)}function JA(i){if(!i)return!1;let o;try{o=(0,L0.isObject)(i)?i:JSON.parse(i)}catch(d){return!1}return o==null?!1:Object.prototype.hasOwnProperty.call(o,"coordinates")&&o.coordinates!=null&&Array.isArray(o.coordinates)&&Object.prototype.hasOwnProperty.call(o,"type")&&o.type==="MultiPolygon"}function rf(i){return i?typeof i=="string"?on(i,GA,!0).isValid():on(i).isValid():!1}function ef(i){return typeof i=="string"&&i.length>0}var Xr=(i,o)=>QA(o)?of(o):ZA(i),KA=i=>Array.isArray(i)?i.length>1&&i[0]==="##__SPARKLINE__##"?"sparkline":"array":JA(i)?"geojson":(0,L0.isObject)(i)?"unknown":sa(i)?"number":ef(i)&&Er(i)?"color":rf(i)?"time":ef(i)?"string":i===null?"null":"unknown",ZA=(0,L0.memoize)(KA),sf={str:"string",num:"number"},QA=(i={})=>{let{name:o,type:d=""}=i;return sf[d]!==void 0||o==="_time"},of=(i={})=>{let{name:o,type:d}=i;if(o==="_time")return"time";let z=sf[d];return z!==void 0?z:"unknown"},e3=i=>{let o=Object.keys(i).filter(d=>i[d]>0);if(o.length===0)return"unknown";if(o.length===1)return o[0];for(let d=0;dp===z))return z}return"unknown"},cf=i=>{if(!i)return"unknown";let o={time:0,number:0,string:0,color:0,unknown:0,array:0,sparkline:0,null:0,geojson:0};return i.forEach(d=>{o[d.getType()]+=1}),e3(o)};Ze();var lf=i=>sa(i)?i:i||"",t3=i=>on.getDefaultSplunkTimezone()?on.newSplunkTime({time:i}):on(i),uf=(i,o=on.defaultFormat)=>{let d=on.parseZone(i).utcOffset();return t3(i).utcOffset(d).format(o)},qt=class ki{constructor(o,d,z){this.isTypeSafe=!0,this.type=o,this.value=d,this.coercedValue=z}static from(o){if(o.isTypeSafe)return o;let{value:d,type:z}=o,[p]=ki.coerceValue(o);return new ki(z,d,p)}static fromRaw(o){let d=Xr(o);return new ki(d,o,o)}static coerceValue(o){let{type:d,value:z}=o,p=null;try{switch(d){case"number":{p=Number(z);break}case"time":{let v=rf(z);z instanceof Date?p=z:v?p=uf(z):p="Invalid Date";break}case"string":{p=z.toString();break}case"color":{p=z;break}case"sparkline":{p=z;break}case"array":{p=z;break}case"null":{p=z;break}case"geojson":{p=z;break}default:p=""}}catch(v){}return[p]}toRawCoercedValue(){switch(this.type){case"time":case"sparkline":case"array":case"number":case"string":case"color":case"geojson":default:return this.coercedValue}}toRawValue(){switch(this.type){case"time":case"sparkline":case"array":case"number":case"string":case"color":case"geojson":default:return this.value}}},df=class Br{static isDataPoint(o){return o instanceof Br}static fromRaw(o){return new Br("",qt.fromRaw(o))}constructor(o,d){this.field=o,this.setValue(d),Br.count+=1}getValue(){return this.value}setValue(o){this.value=qt.from(o)}getRawValue(){return this.value.toRawValue()}getCoercedValue(){return this.value.toRawCoercedValue()}getField(){return Br.fromRaw(this.field)}getType(){return this.value.type}};df.count=0;var Z0=df;Ze();var I0=class Di{constructor(o=[],d,z){this.internalPoints=[],this.internalPoints=o,o.length>0&&(this.field=o[0].field),z&&(this.field=z),this.type=d}get points(){return this.internalPoints}static isDataSeries(o){return o instanceof Di}static fromRaw(o){return new Di(o.map(d=>Z0.fromRaw(d)))}firstPoint(){return this.points[0]}lastPoint(){return this.points.slice(-1)[0]}pointsByIndexes(...o){let d=[];return o.forEach(z=>{let p=this.points[z];p!=null&&d.push(p)}),new Di(d)}pointByIndex(o){let d=o;if(d<0&&(d=this.points.length+d),d<0||d>=this.points.length)return null;let z=this.points[d],{field:p}=z,{type:v,value:_}=z.getValue();return new Z0(p,{type:v,value:_})}delta(o){let d=this.lastPoint();if(d===void 0)return;let{field:z}=d,{type:p,value:v}=d.getValue();p!=="number"&&console.warn(`DSL delta cannot be computed for non-numerical data series of type ${p}`);let _=null,g;if(o>=0?_=this.points[o]:_=this.points.slice().reverse()[Math.abs(o)-1],_==null)console.warn("DSL delta cannot be computed, no data - invalid index");else{let{value:a}=_.getValue();g=v-a}return new Z0(z,{type:p,value:g})}setValue(o){this.points.forEach(d=>{d.setValue(o)}),this.type=this.points[0].getType()}getValue(){let o=[];return this.points.forEach(d=>{o.push(d.getValue())}),o}getRawValue(){let o=[];return this.points.forEach(d=>{o.push(d.getRawValue())}),o}getField(){return this.lastPoint().getField()}getType(){return this.type===void 0&&(this.type=cf(this.points)),this.type}min(){return this.reduce((o,d)=>oo>d)}sum(){if(this.points.length===0)return;let{field:o}=this.points[0],d=0,z=!1,p=!1;if(this.points.forEach(v=>{let{value:_}=v.getValue();sa(_)?(d+=+_,z=!0):p=!0}),p&&z&&console.warn("DSL sum skipped non-numeric values in series"),!!z)return new Z0(o,{type:"number",value:d})}reduce(o){return this.points.reduce((d,z)=>!d||o(z.getValue().coercedValue,d.getValue().coercedValue)?z:d,void 0)}};Ze();var n3=i=>{if(K0.isDataFrame(i))return i;if(I0.isDataSeries(i))return new K0([i]);if(Z0.isDataPoint(i))return new K0([new I0([i])])},K0=class X1{static isDataFrame(o){return o instanceof X1}constructor(o){this.series=Array.isArray(o)?o:[o]}static fromJsonCols(o){if(!(o!=null&&o.data))return new X1([]);let{data:{fields:d=[],columns:z=[]}}=o;if(z.length!==d.length)throw new Error(`number of columns (${z.length}) does not match number of fields (${d.length})`);let p=[];return z.forEach((v,_)=>{let g=[],a=d[_],r=a.name||a,c=a==null?void 0:a.type;v.forEach(h=>{let A=Xr(h,{name:r,type:c});g.push(new Z0(r,{value:h,type:A}))}),p.push(new I0(g))}),new X1(p)}static fromRaw(o){let d=[];return o.forEach(z=>{d.push(I0.fromRaw(z))}),new X1(d)}static fromDataPrimitive(o){return n3(o)}frameBySeriesIndexes(...o){let d=[];return o.forEach(z=>{let p=this.series[z];p!=null&&d.push(p)}),new X1(d)}seriesByIndex(o,d=[]){return this.series[o]||d}frameBySeriesIndexRange(o,d){return new X1(this.series.slice(o,d))}frameBySeriesNames(...o){let d=[];return o.forEach(z=>{let p=this.seriesByName(z);p&&I0.isDataSeries(p)&&d.push(p)}),new X1(d)}frameWithoutSeriesNames(...o){return o==null?new X1(this.series):new X1(this.series.filter(d=>!o.includes(d.field)&&!d.field.startsWith("_")))}frameWithoutInternalFields(){return new X1(this.series.filter(o=>!o.field.startsWith("_")))}frameWithoutInternalFieldsExcept(...o){if(!o||o.length===0)return this.frameWithoutInternalFields();let d=this.series.map(p=>p.field),z=o.filter(p=>d.includes(p));return new X1(this.series.filter(p=>z.includes(p.field)||!p.field.startsWith("_")))}frameBySeriesNamesOrIndexes(...o){let d=[];return o.forEach(z=>{let p=Number(z);if(Number.isNaN(p)){let v=this.seriesByName(z);v&&d.push(v)}else{let v=this.series[p];v&&d.push(v)}}),new X1(d)}frameBySeriesTypes(...o){return new X1(this.series.filter(d=>o.includes(d.getType())))}seriesByName(o,d=[]){var z;return(z=this.series.find(p=>o===p.field))!=null?z:d}seriesByType(o){return this.series.find(d=>d.getType()===o)}seriesByTypes(...o){return this.series.find(d=>o.some(z=>d.getType()===z))}seriesByPrioritizedTypes(...o){var d;for(let z of o){let p=this.seriesByType(z);if(Array.isArray(p==null?void 0:p.points)&&((d=p==null?void 0:p.points)!=null&&d.length))return p}return this.series[0]}setValue(o){this.series.forEach(d=>d.setValue(o))}getRawValue(){let o=[];return this.series.forEach(d=>{o.push(d.getRawValue())}),o}getValue(){let o=[];return this.series.forEach(d=>{o.push(d.getValue())}),o}getField(){let o=this.series.map(d=>d.getField());return new I0(o)}getType(){return this.series.map(o=>o.getType())}min(){return this.minOrMax("min")}max(){return this.minOrMax("max")}sum(){let o=new I0;return this.series.forEach(d=>{let z=d.sum();z&&o.points.push(z)}),o.sum()}minOrMax(o){let d=new I0;return this.series.forEach(z=>{let p=z[o]();p&&d.points.push(p)}),d[o]()}};Ze();Ze();var Yo=class extends I0{constructor(i,o,d){super([],o,d),this.internalPoints=[],this.values=i;let z=of({name:d,type:o});z!=="unknown"&&(this.type=z)}get points(){return this.values.forEach((i,o)=>{this.internalPoints[o]||this.createDataPointFromValueAtIndex(o)}),this.internalPoints}firstPoint(){return this.internalPoints[0]||this.createDataPointFromValueAtIndex(0),this.internalPoints[0]}lastPoint(){return this.internalPoints[this.values.length-1]||this.createDataPointFromValueAtIndex(this.values.length-1),this.internalPoints[this.internalPoints.length-1]}pointsByIndexes(...i){let o=[];return i.forEach(d=>{let z=this.internalPoints[d];z||(z=this.createDataPointFromValueAtIndex(d)),z!=null&&o.push(z)}),new I0(o)}pointByIndex(i){let o=i;if(o<0&&(o=this.values.length+o),o<0||o>=this.values.length)return null;let d=this.internalPoints[o];return d||(d=this.createDataPointFromValueAtIndex(o)),d}delta(i){let o=this.lastPoint();if(o===void 0)return;let{field:d}=o,{type:z,value:p}=o.getValue();z!=="number"&&console.warn(`DSL delta cannot be computed for non-numerical data series of type ${z}`);let v=null,_;if(i>=0)v=this.internalPoints[i],v||(v=this.createDataPointFromValueAtIndex(i));else{let g=this.values.length+i;v=this.internalPoints[g],v||(v=this.createDataPointFromValueAtIndex(g))}if(v==null)console.warn("DSL delta cannot be computed, no data - invalid index");else{let{value:g}=v.getValue();_=p-g}return Number.isNaN(_)&&(_=void 0),new Z0(d,{type:z,value:_})}setValue(i){this.internalPoints.forEach(o=>{o.setValue(i)}),this.values.fill(i.value),this.type=cf(this.points)}getValue(){let i=[];return this.points.forEach(o=>{i.push(o.getValue())}),i}getRawValue(){return this.values}createDataPointFromValueAtIndex(i){let o=Xr(this.values[i],{name:this.field,type:this.type});return this.internalPoints[i]=new Z0(String(this.field),{type:o,value:this.values[i]}),this.internalPoints[i]}},a3=class extends K0{static fromJsonCols(i){if(!(i!=null&&i.data))return new K0([]);let{data:{fields:o=[],columns:d=[]}}=i;if(d.length!==o.length)throw new Error(`number of columns (${d.length}) does not match number of fields (${o.length})`);let z=[];return d.forEach((p,v)=>{let _=o[v],g=_.name||_,a=_==null?void 0:_.type;z.push(new Yo(p,a,g))}),new K0(z)}};Ze();Ze();var r3=["number","string"];Ze();Ze();var ff={};oa(ff,{default:()=>Ja});Ze();var vo=Za(oo());Ka(ff,oo());var Ja="default"in vo?vo.default:vo;Ze();var st=class{format(i){if(i instanceof K0){let o=[];return i.series.forEach((d,z)=>{o.push(this.formatSeries(d,z))}),new K0(o)}return i instanceof I0||i instanceof Yo?this.formatSeries(i):this.formatPoint(i)}formatSeries(i,o=0){let d=[];return i.points.forEach((z,p)=>{d.push(this.formatPoint(z,i,o,p))}),new I0(d)}formatPoint(i,o,d=0,z=0){let{field:p}=i,v=new Z0(p,{type:i.getValue().type,value:i.getValue().coercedValue}),_=this.formatTypedValue(v,o,d,z);return new Z0(p,_)}makeArrays2D(i){if(Array.isArray(i))return Array.isArray(i[0])?i:[i];throw new Error("argument wasn\'t array")}},i3=class extends st{constructor(i){super(),this.config=p1.rawTree(i)}formatTypedValue(i){let{value:o,type:d}=i.getValue();if(d!=="color")return{type:d,value:o};let z=(0,L0.get)(this,"config.channel"),p=(0,L0.get)(this,"config.value");(!z||o==null)&&console.warn("SetColorChannel requires channel (ex: hsv.v, rgb.r) and value configuration to be set. It will return the same color when missing.");try{if(o.toString()==="transparent")throw new Error(\'Cannot set color channel on "transparent" color\');return{type:"color",value:Ja(o.toString()).set(z,p).hex()}}catch(v){return console.warn(v),{type:"color",value:o}}}};Ze();var s3=class extends st{constructor(i){super(),this.prefix=p1.rawTree(i)}formatTypedValue(i){let{value:o}=i.getValue();return{value:this.prefix+o.toString(),type:"string"}}};Ze();var o3=class extends st{constructor(i,o=void 0){super(),this.matches=p1.rawTree(i),this.defaultValue=o===void 0?void 0:lf(o)}formatTypedValue(i){let{value:o}=i.getValue(),d=(0,L0.isUndefined)(this.defaultValue)?o||"":this.defaultValue,z=(A,S)=>{if(A==="*")return!0;let q=A.split(/\\*+/),E=q[0],K=q[q.length-1];if(E&&!S.startsWith(E)||q.length>1&&K&&!S.endsWith(K))return!1;let fe=E.length;for(let he=1;hesa(o)&&sa(A.match)&&parseFloat(A.match)===parseFloat(o),v=A=>A.match===0&&(o===0||Number(o)===0)||A.match===null&&o===null?!0:!A||!A.match?!1:typeof A.match=="string"?o===null&&A.match!=="*"?!1:A.match.includes("*")?z(A.match,o==null?void 0:o.toString()):A.match===o:p(A),_=A=>{let S=A.replace(/\\*+/g,"*"),q=(S.match(/\\*/g)||[]).length;return S==="*"?-100:S.length-q*2},g=null,a=-1/0,r=!1;this.matches.forEach(A=>{if(r||!v(A))return;if(A.match===o){g=A,r=!0;return}let S=_(A.match);S>a&&(g=A,a=S)});let c=g!==null?g.value:d,h=Xr(c);return{value:c,type:h}}};Ze();var{hasOwnProperty:Yi}=Object.prototype,c3=class extends st{constructor(i,o){super(),this.ranges=p1.rawTree(i),this.defaultValue=lf(o)}formatTypedValue(i){let{type:o,value:d}=i.getValue();o!=="number"&&console.warn(`type \'${o}\' with value \'${d}\' is not a valid input to rangeValue`);let z,p=(0,L0.isUndefined)(this.defaultValue)&&!sa(d)?d:this.defaultValue;if(sa(d)){let g=parseFloat(d);for(let a=0;a=this.ranges[a].from||g>=this.ranges[a].from&&g{if(!Er(d))throw new Error("Gradient config: every element in \'colors\' should be a color.")}),Wt.sortArray(this.stops)}prepareStopsAndColors(o,d){let z=this.colors.length,p=this.stops.length;if(p===0)return Wt.computeNoStopsCase(o,d,this.colors);let v=[o,...this.stops,d];if(z===0){let _=Wt.computeColorsForStopsOnly(p);return Wt.ignoreMinMaxWhenNeeded(o,d,this.stops,v,_),{newStops:v,newColors:_}}if(p+2>=z)return Wt.alignColorsWithStops(o,d,this.stops,v,this.colors,p,z);throw new Error("Gradient config: too many colors set for the given stops.")}static computeNoStopsCase(o,d,z){let p=z.length,v=[ra,ia];if(p>2){let _=[];for(let g=0;g{v[g]=_}),{newStops:[o,d],newColors:v}}static computeColorsForStopsOnly(o){if(o===1)return[ra,ia,ia];if(o===2)return[ra,ra,ia,ia];throw new Error("Gradient config: provide at most two stops when colors is empty.")}static alignColorsWithStops(o,d,z,p,v,_,g){let a=[...v];if(_>=g&&a.unshift(ra),Wt.addDefaultEndingColors(a,_+2-a.length),Wt.ignoreMinMaxWhenNeeded(o,d,z,p,a),p.length!==a.length)throw new Error("Gradient config: not equal length of stops and colors.");return{newStops:p,newColors:a}}static colorForValue(o,d,z){let p=d[d.length-1],v=d[0];if(o>p||op?z.length-1:0;return Ja(z[c]).hex().toUpperCase()}if(d.some(c=>Number.isNaN(Number(c))))return console.warn("Could not format gradient color: stops are required to be numbers. Falling back to first color."),Ja(z[0]).hex().toUpperCase()||"#000";let _=d.findIndex(c=>o<=c);_<=0&&(_=Math.min(1,d.length-1));let g=d[_],a=d[_-1],r=0;return g===a?r=o===0?0:1:r=(o-a)/(g-a),Ja.scale([z[_-1],z[_]])(r).hex().toUpperCase()}format(o){if(o instanceof K0){let d=Number.POSITIVE_INFINITY,z=Number.NEGATIVE_INFINITY;if(o.series.forEach(g=>{var a,r,c;if((a=g==null?void 0:g.points)!=null&&a.length){let h=Number((r=g.min())==null?void 0:r.getRawValue()),A=Number((c=g.max())==null?void 0:c.getRawValue());Number.isNaN(h)||(d=Math.min(d,h)),Number.isNaN(A)||(z=Math.max(z,A))}}),!Number.isFinite(d)||!Number.isFinite(z))return super.format(o);let{newStops:p,newColors:v}=this.prepareStopsAndColors(d,z),_=o.series.map(g=>{let a=g.points.map(r=>{let c=r.getValue();if(c.type!=="number")return new Z0(r.field,{type:"color",value:void 0});let h=Wt.colorForValue(c.value,p,v);return new Z0(r.field,{type:"color",value:h})});return new I0(a)});return new K0(_)}return super.format(o)}prepareColorsAndStopsSeries(o){let d=Number(o.min().getRawValue()),z=Number(o.max().getRawValue());return this.prepareStopsAndColors(d,z)}prepareColorsAndStopsPoint(o){let d=this.stops,z=this.colors;return this.stops.length===0&&(d=[0,1]),this.colors.length===0&&(z=[ra,ia]),this.stops.length===this.colors.length&&this.stops.length===1&&o{i.sort((o,d)=>o-d)};Xi.addDefaultEndingColors=(i,o)=>{for(let d=0;d{i>=d[0]&&(z.shift(),p.shift()),o<=d[d.length-1]&&(z.pop(),p.pop())};var l3=Xi;Ze();var u3=class extends st{constructor(i){super(),this.config=p1.rawTree(i)}formatTypedValue(i,o,d=0,z=0){let p;return Array.isArray(this.config)?p=this.config[z%this.config.length]:p=this.config[o.field],qt.fromRaw(p)}};Ze();var d3=class extends st{formatTypedValue(i){return i&&i.getRawValue()===null?qt.from({type:"string",value:"null"}):qt.fromRaw(i.getType())}};Ze();var pf={};oa(pf,{default:()=>hf});Ze();var zo=Za((bo(),Ll(_o)));Ka(pf,(bo(),Ll(_o)));var hf="default"in zo?zo.default:zo,f3=(i,o)=>{let d={prefix:!(0,L0.isEmpty)(o.unit)&&o.unitPosition==="before"?`${o.unit} `:void 0,postfix:!(0,L0.isEmpty)(o.unit)&&o.unitPosition!=="before"?` ${o.unit}`:void 0,mantissa:typeof o.precision=="number"?o.precision:void 0},z=(0,L0.defaultsDeep)({},(0,L0.omitBy)(d,L0.isUndefined),(0,L0.omit)(o,["unit","unitPosition","precision"]));return hf(i).format(z)},p3=(i,o)=>(0,L0.isEmpty)(o.unit)?`${i}`:o.unitPosition==="before"?`${o.unit} ${i}`:`${i} ${o.unit}`,h3=(i,o,d)=>typeof d.format=="string"&&!(0,L0.isEmpty)(d.format)?uf(i,d.format):o.toString(),M3=class extends st{constructor(i){super(),this.config={number:{},string:{},time:{format:""}},this.config=(0,L0.defaultsDeep)({},i,this.config)}formatTypedValue(i){let{number:o,string:d,time:z}=this.config,p=i.getValue();switch(p.type){case"number":return new qt("string",f3(i.getRawValue(),o),p.value);case"string":return new qt("string",p3(p.value,d),p.value);case"time":return new qt("string",h3(p.coercedValue,p.value,z),p.value);default:return i.getValue()}}};Ze();Ze();function Ci(i){return K0.isDataFrame(i)||I0.isDataSeries(i)||Yo.isDataSeries(i)||Z0.isDataPoint(i)}Ze();var ko=class Cr{static isRawDataFrame(o){return Array.isArray(o)&&Cr.isRawDataSeries(o[0])}static isRawDataSeries(o){return Array.isArray(o)&&!p1.isObject(o[0])}static isRawDataPoint(o){return!p1.isObject(o)}static dataPrimitiveFromRaw(o){if(Cr.isRawDataFrame(o))return K0.fromRaw(o);if(Cr.isRawDataSeries(o))return I0.fromRaw(o);if(Cr.isRawDataPoint(o))return Z0.fromRaw(o);throw new Error("raw value does not resemble DataFrame, DataSeries, or DataPoint")}},m3=class{constructor(...i){this.args=[],this.args=i.map(o=>Ci(o)?o:ko.dataPrimitiveFromRaw(p1.rawTree(o)))}format(i){let o=[];return this.args.forEach(d=>{if(I0.isDataSeries(d))o.push(d);else if(K0.isDataFrame(d))o=o.concat(d.series);else if(Z0.isDataPoint(d))o.push(new I0([d]));else throw new Error("frame formatter args incorrect")}),new K0(o)}};Ze();var _3=class{constructor(i){this.prependMe=Ci(i)?i:ko.dataPrimitiveFromRaw(p1.rawTree(i))}format(i){if(K0.isDataFrame(i))return this.prependToFrame(i);if(I0.isDataSeries(i))return this.prependToSeries(i);throw new Error("Can only prepend to DataFrame or DataSeries")}prependToFrame(i){if(K0.isDataFrame(this.prependMe))return this.prependFrameToFrame(i);if(I0.isDataSeries(this.prependMe))return this.prependASeriesToEachSeriesOfFrame(i);if(Z0.isDataPoint(this.prependMe))return this.prependAPointToEachSeriesOfFrame(i);throw new Error("\'prepend\' formatter only accepts DataFrame, DataSeries, or DataPoint as argument")}prependToSeries(i){if(K0.isDataFrame(this.prependMe))throw new Error("cannot prepend a DataFrame to a DataSeries");if(I0.isDataSeries(this.prependMe))return this.prependSeriesToSeries(i,this.prependMe);if(Z0.isDataPoint(this.prependMe))return this.prependPointToSeries(i);throw new Error("\'prepend\' to series formatter only DataSeries, or DataPoint as argument")}prependAPointToEachSeriesOfFrame(i){return new K0(i.series.map(o=>this.prependPointToSeries(o)))}prependASeriesToEachSeriesOfFrame(i){return new K0(i.series.map(o=>this.prependSeriesToSeries(o,this.prependMe)))}prependFrameToFrame(i){let o=this.prependMe.series.length,d=i.series.length;if(o!==d)throw new Error(`can\'t prepend a frame with ${o} columns to a field with ${d} columns`);return new K0(i.series.map((z,p)=>this.prependSeriesToSeries(z,this.prependMe.seriesByIndex(p))))}prependSeriesToSeries(i,o){let{field:d}=i,z=i.points.length>0?i.points[0].getValue().type:void 0,p=o.points.length>0?o.points[0].getValue().type:void 0;if(z&&p&&z!==p)throw new Error(`cannot prepend ${p} to ${z}`);return new I0(o.points.map(v=>new Z0(d,v.getValue())).concat(i.points))}prependPointToSeries(i){let{field:o}=i,z=i.firstPoint().getValue().type,p=this.prependMe.getValue(),v=p.type;if(z!==v)throw new Error(`cannot prepend point of type ${v} to series of type ${z}`);let _=new Z0(o,p);return new I0([_,...i.points])}};Ze();var b3=class{constructor(i){this.config=p1.rawTree(i)}format(i){if(K0.isDataFrame(i)){let o=this.seriesToObjects(i.series[0]);for(let d=1;d{let z=d.field;return this.config&&this.config.rename&&(z=this.config.rename[z]||z),o.push({[z]:d.getRawValue()}),o},[])}};Ze();var y3=class{constructor(i){this.config=p1.rawTree(i)}format(i){let o=i.seriesByName(this.config.nameField),d=i.seriesByName(this.config.valueField);return o.points.map((z,p)=>{let{type:v,config:_}=this.config.formatters[z.getRawValue()],g=Mf[v],a=d.pointByIndex(p);if(!g)throw new Error(`unknown formatter type "${v}" was specified`);return new g(_).format(a,d)})}};Ze();var g3=class extends st{constructor(i){super(),this.config=p1.rawTree(i)}formatTypedValue(i){let{value:o,type:d}=i.getValue();if(d!=="color"||!Er(o))return{type:d,value:o};let z=(0,L0.get)(this,"config.colors"),p=(0,L0.get)(this,"config.default");if(!z||!Array.isArray(z)||Array.isArray(z)&&z.length===0)return Er(p)?{type:"color",value:p}:{type:d,value:o};if(o==="transparent"&&Er(p))return{type:"color",value:p};try{return{type:"color",value:(0,L0.chain)(z).map(v=>({color:v,contrast:Ja.contrast(o,v)})).maxBy("contrast").value().color}}catch(v){return console.warn(v),{type:"color",value:p||o}}}};Ze();Ze();var L3=class extends st{constructor(i){super(),this.defaultVal=p1.rawTree(i)}formatTypedValue(i,o,d=0,z=0){return i.getRawValue()===void 0?qt.fromRaw(this.defaultVal):i.getValue()}},A3=class extends L3{constructor(i){super(i),this.newFieldName=i}formatPoint(i,o,d=0,z=0){return d===0&&typeof this.newFieldName=="string"&&this.newFieldName.length>0?new Z0(this.newFieldName,this.formatTypedValue(i,o,d,z)):super.formatPoint(i,o,d,z)}};Ze();var v3=class extends st{constructor(i){super(),this.divisor=p1.rawTree(i)}formatTypedValue(i){let{value:o}=i.getValue();return{value:this.divisor!==0&&o/this.divisor,type:"number"}}};Ze();var z3=class extends st{constructor(i){super(),this.valToSubtract=p1.rawTree(i)}formatTypedValue(i){let{value:o}=i.getValue();return{value:this.valToSubtract!==0&&o-this.valToSubtract,type:"number"}}},Mf={gradient:l3,matchValue:o3,prefix:s3,rangeValue:c3,pick:u3,multiFormat:y3,type:d3,formatByType:M3,frame:m3,prepend:_3,objects:b3,setColorChannel:i3,maxContrast:g3,renameSeries:A3,divideBy:v3,subtract:z3};Ze();var mf=class xi{constructor(o,d,z,p){this.local=[],this.visitedPaths=new Set,this.context=o.context,this.executedOptions=o.options,this.frames=d,this.themeFunc=z,this.bypassCloneDeepOptionScope=p,this.local.push(this.executedOptions)}resolve(o){let d=o.split("."),z=null;return xi.isQualified(d)?z=this.resolveQualifiedIdentifier(d):z=this.resolveUnqualifiedIdentifier(d),this.bypassCloneDeepOptionScope?z:(0,L0.cloneDeep)(z)}static isQualified(o){let d=o[0];return xi.SCOPES.includes(d)}resolveUnqualifiedIdentifier(o){let d=xi.SCOPES,z;for(let p=0;pT3});Ze();var wo=Za(yo());Ka(Do,yo());var T3="default"in wo?wo.default:wo,S3=IA(),_f=class Ni{static parse(o){if(Ni.cache[o])return[...Ni.cache[o]];let d=new Do.Parser(S3);return d.feed(o),d.results.length>1&&console.warn(`Ambiguous parse of \'${o}\'`),d.results.length===0&&console.warn(`No parsed results for \'${o}\'`),Ni.cache[o]=[...d.results[0]],d.results[0]}};_f.cache={};var To=_f;Ze();var tf=class So{static parseOptions(o){let d={simpleOptions:{},expressions:{},context:o.context},{options:z}=o;return Object.keys(z).forEach(p=>{let v=z[p];So.isDslString(v)?d.expressions[p]=To.parse(So.withoutArrow(v)):d.simpleOptions[p]=v}),d}static isDslString(o){return o?o.toString().trim().startsWith(">"):!1}static withoutArrow(o){return o.toString().match(/\\s*>\\s*(.+$)/)[1].trim()}static parse(o){let{dimensions:d,context:z}=o,p={dimensions:{},context:z};return Object.keys(d).forEach(v=>{let _={value:[]},g=null;typeof d[v]=="string"?g=d[v]:g=d[v].value,_.value=To.parse(g),p.dimensions[v]=_}),p}},p1=class Wi{executeOptions(o,d,z,p){let v=(0,L0.cloneDeep)(o),_=new w3(v,d,z,p);return this.eval(v,_),Wi.rawTree(v.options)}eval(o,d,z=[]){if(d.pushLocalScope(o),d.addToVisitedList(z),Array.isArray(o))o.forEach((p,v)=>{z.push(v.toString()),o[v]=this.eval(o[v],d,z),z.pop()});else if((0,L0.isPlainObject)(o))Object.keys(o).forEach(p=>{z.push(p),o[p]=this.eval(o[p],d,z),z.pop()});else if(tf.isDslString(o)){d.popLocalScope();let p=this.evalDsl(o,d);return d.removeFromVisitedList(z),p}return d.popLocalScope(),d.removeFromVisitedList(z),o}evalDsl(o,d){try{let z=To.parse(tf.withoutArrow(o));return this.execOptionsPipeline(z,d,d.frames.primary)}catch(z){return}}static rawTree(o){return Array.isArray(o)?(o.forEach((z,p)=>{o[p]=Wi.rawTree(o[p])}),o):(0,L0.isPlainObject)(o)?(Object.keys(o).forEach(z=>{o[z]=Wi.rawTree(o[z])}),o):Ci(o)?o.getRawValue():o}execOptionsPipeline(o,d,z){let p=z;return o.forEach((v,_)=>{if(v.type==="method")p&&(p=this.executeMethod(v,p,d.context));else if(v.type==="identifier")p=d.resolve(v.v.toString()).val;else if(r3.includes(v.type)){let a=qt.from({type:v.type,value:v.v});p=new Z0("",a)}if(!(_===o.length-1)&&p&&!Ci(p))try{p=ko.dataPrimitiveFromRaw(p)}catch(a){let r=v.v?v.v:v.name;throw new Error(`Output of \'${r}\' cannot be piped because it is not a DataFrame, DataPoint, or DataSeries`)}}),p}executeMethod(o,d,z){let p=o,v=this.args(p.args,z),_=d[p.name];return _?d=_.apply(d,v):d=this.applyFormatter(d,p.name,v),d}applyFormatter(o,d,z){let p=Mf[d];if(p)return new p(...z).format(o);throw Error(`No such method or formatter function: \'${d}\'`)}applyLiteral(o,d){let{type:z,v:p}=d;o.setValue({type:z,value:p})}args(o,d){return o.reduce((z,p)=>{let v=this.getArg(p,d);return z.push(v),z},[])}getArg(o,d){if(o.type==="identifier"){let z=d[o.v];if(!z)throw Error(`Could not resolve ${o.v} in context. Did you mean one of \'[${Object.keys(d).toString()}]\'`);return z}return o.v}static isObject(o){return Object(o)===o}},O3=class bf{static evaluate(o,d,z,p,v,_){let g;return p?g=p:g=bf.dataFrameFromDataSource(d,_),new p1().executeOptions(o,g,z,v)}static dataFrameFromDataSource(o,d){return d?(0,L0.mapValues)(o,z=>a3.fromJsonCols(z)):(0,L0.mapValues)(o,z=>K0.fromJsonCols(z))}}});ue();ue();var Lf=k_(gf()),Y3=i=>{var o,d,z,p,v,_,g,a;if(((o=i==null?void 0:i.data)==null?void 0:o.message)==="evaluate")try{let r=(d=i==null?void 0:i.data)==null?void 0:d.props,c=(z=i==null?void 0:i.data)==null?void 0:z.options,h=(p=i==null?void 0:i.data)==null?void 0:p.dataSources,A={},S=(v=i==null?void 0:i.data)==null?void 0:v.themeFuncResolved,q=(_=i==null?void 0:i.data)==null?void 0:_.bypassCloneDeepOptionScope,E=i==null?void 0:i.data.lazyLoadingDataFrame;Object.keys(S).forEach(he=>{let Se=()=>S[he];A[he]=Se});let K=he=>{var Se;return(Se=A[he])==null?void 0:Se.call(A,r)},fe=Lf.Options.evaluate(c,h,K,null,q,E);return{visualizationID:(g=i==null?void 0:i.data)==null?void 0:g.visualizationID,results:fe}}catch(r){return{visualizationID:(a=i==null?void 0:i.data)==null?void 0:a.visualizationID,error:!0}}return{}},Af=Y3;var k3=self,D3=i=>postMessage(Af(i));k3.addEventListener("message",D3);\n/*! Bundled license information:\n\nlodash/lodash.js:\n (**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n *)\n\n@splunk/moment/index.js:\n (*! For license information please see index.js.LICENSE.txt *)\n\nchroma-js/dist/chroma.cjs:\n (**\n * chroma.js - JavaScript library for color conversions\n *\n * Copyright (c) 2011-2024, Gregor Aisch\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. The name Gregor Aisch may not be used to endorse or promote products\n * derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * -------------------------------------------------------\n *\n * chroma.js includes colors from colorbrewer2.org, which are released under\n * the following license:\n *\n * Copyright (c) 2002 Cynthia Brewer, Mark Harrower,\n * and The Pennsylvania State University.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n * either express or implied. See the License for the specific\n * language governing permissions and limitations under the License.\n *\n * ------------------------------------------------------\n *\n * Named colors are taken from X11 Color Names.\n * http://www.w3.org/TR/css3-color/#svg-color\n *\n * @preserve\n *)\n (**\n * @license\n *\n * The APCA contrast prediction algorithm is based of the formulas published\n * in the APCA-1.0.98G specification by Myndex. The specification is available at:\n * https://raw.githubusercontent.com/Myndex/apca-w3/master/images/APCAw3_0.1.17_APCA0.0.98G.svg\n *\n * Note that the APCA implementation is still beta, so please update to\n * future versions of chroma.js when they become available.\n *\n * You can read more about the APCA Readability Criterion at\n * https://readtech.org/ARC/\n *)\n\nnumbro/dist/es/numbro.js:\n (*!\n * Copyright (c) 2017 Benjamin Van Ryseghem\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n *)\n*/\n'],{type:"text/javascript"})),t=new Worker(e);return URL.revokeObjectURL(e),t}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{default:()=>p}),e.exports=(t=c,((e,t,o,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of a(t))i.call(e,o)||undefined===o||n(e,o,{get:()=>t[o],enumerable:!(l=r(t,o))||l.enumerable});return e})(n({},"__esModule",{value:!0}),t));var f=class e{static getWorker(){return e.optionsEvaluator}static createWorker(){try{e.optionsEvaluator=new d,e.optionsEvaluator.onmessage=e.onOptionsEvaluatorMessage}catch(e){}}static evaluate(t){const{visualizationID:n,props:r,options:a,dataSources:o,theme:i,bypassCloneDeepOptionScope:l,lazyLoadingDataFrame:s}=t;e.getWorker()||e.createWorker(),e.workerMap[n]||(e.workerMap[n]={visualizationID:n,options:null,state:0});const u=e.workerMap[n],c={};Object.keys(i).forEach(e=>{c[e]=i[e](r)});const d={message:"evaluate",visualizationID:n,options:a,dataSources:o,themeFuncResolved:c,bypassCloneDeepOptionScope:l,lazyLoadingDataFrame:s};return u.options=d,u.state=1,e.isOptionsEvaluatorBusy?(u.state=0,new Promise((e,t)=>{u.promise={resolve:e,reject:t}})):new Promise((t,n)=>{u.promise={resolve:t,reject:n},e.isOptionsEvaluatorBusy=!0,e.getWorker().postMessage(d)})}static onOptionsEvaluatorMessage(t){const{visualizationID:n,error:r}=t.data,a=e.workerMap[n];r?a.promise.reject({error:`Error evaluating options for ${n}`}):a&&1===a.state&&(e.lastResolved=u({visualizationID:n},t.data),a.promise.resolve(u({visualizationID:n},t.data)),a.state=2),e.isOptionsEvaluatorBusy=!1,e.evaluateNext()}static reset(t){delete e.workerMap[t],e.evaluateNext()}static evaluateNext(){Object.keys(e.workerMap).forEach(t=>{2===e.workerMap[t].state&&delete e.workerMap[t]});const t=Object.keys(e.workerMap).find(t=>0===e.workerMap[t].state);if(t&&!e.isOptionsEvaluatorBusy){e.isOptionsEvaluatorBusy=!0;const{options:n}=e.workerMap[t];e.workerMap[t].state=1,e.getWorker().postMessage(n)}}};f.workerMap={},f.isOptionsEvaluatorBusy=!1,f.lastResolved={};var p=f},21216(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{AnimationToggleContext:()=>s,AnimationToggleProvider:()=>b,default:()=>h,useAnimationToggle:()=>d});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i),s=o().createContext(!0);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Option:()=>C,default:()=>z});const a=n(14041);var o=t.n(a);const i=n(36728);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(66115),d=n(53057);var f=t.n(d);const p=n(4800);var m=t.n(p);const h=n(18672);var y=f().div.withConfig({displayName:"OptionStyles__StyledWrapper",componentId:"imaqjt-0"})(["display:grid;grid-column:1 / -1;grid-template-columns:subgrid;"]),b=f().label.withConfig({displayName:"OptionStyles__StyledLabel",componentId:"imaqjt-1"})(["grid-column:label;color:",";cursor:pointer;"],function(e){return e.$disabled?h.variables.contentColorDisabled:h.variables.contentColorActive}),g=f()(m()).withConfig({displayName:"OptionStyles__StyledDescription",componentId:"imaqjt-2"})(["grid-column:label;"]),v="20px",_=f().input.withConfig({displayName:"OptionStyles__StyledRadioInput",componentId:"imaqjt-3"})(["",";grid-column:input;appearance:none;align-items:center;justify-items:center;height:",";width:",";border-radius:50%;border:2px solid ",";background-color:",";&::after{display:block;content:'';border-radius:50%;height:0;width:0;opacity:0;border:5px solid transparent;}&:checked::after{opacity:1;}&:hover{border-color:",";background-color:",";}&:checked{&,&::after{border-color:",";}&:hover{border-color:",";}}&:disabled{cursor:not-allowed;&,&:hover,&:checked,&:checked:hover,&:checked::after{border-color:",";}&,&:hover{background-color:transparent;}}&:focus{box-shadow:",";}",""],h.mixins.reset("grid"),v,v,h.variables.interactiveColorBorder,h.variables.interactiveColorBackground,h.variables.interactiveColorBorderHover,h.mixins.overlayColors(h.variables.interactiveColorBackground,h.variables.interactiveColorOverlayHover),h.variables.interactiveColorAccent,h.mixins.overlayColors(h.variables.interactiveColorAccent,h.variables.interactiveColorBorderHover),h.variables.interactiveColorBorderDisabled,h.variables.focusShadow,function(e){return e.$error&&(0,d.css)(["&,&:checked,&:checked::after{border-color:",";}&:checked:hover{border-color:",";}&:hover{background-color:",";border-color:",";}"],h.variables.interactiveColorAccentError,h.mixins.overlayColors(h.variables.interactiveColorAccentError,h.variables.interactiveColorBorderHover),h.variables.interactiveColorOverlayHover,h.mixins.overlayColors(h.variables.interactiveColorAccentError,h.variables.interactiveColorBorderHover))}),M=(0,a.createContext)({});M.displayName="RadioList";const w=M;function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(99420))},21743(e){"use strict";e.exports=function(e){for(var t=-1,n=0;++t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{LayerContext:()=>M,LayerStackContext:()=>_,LayerStackGlobalProvider:()=>S,default:()=>N});const a=n(14041);var o=t.n(a);const i=n(60856);var l=t.n(i);const s=n(43673);var u=t.n(s);const c=n(40130);var d=t.n(c);const f=n(39067);var p=t.n(f);const m=n(43144),h=n(38282);var y=t.n(h);const b=n(50824);var g=t.n(b);const v=n(66115);var _=o().createContext([]),M=o().createContext({}),w={children:p().node,name:p().string,scope:p().object,separateStackingContexts:p().bool};function S(e){var t=e.children,n=e.name,r=void 0===n?"__splunkui_layer_instances__":n,i=e.scope,l=void 0===i?"undefined"!=typeof window?window:globalThis:i,s=e.separateStackingContexts,u=void 0!==s&&s;l[r]||(l[r]=[]);var c=(0,a.useMemo)(function(){return{separateStackingContexts:u}},[u]);return o().createElement(_.Provider,{value:l[r]},o().createElement(M.Provider,{value:c},t))}S.propTypes=w;const x=n(53057);var k=t.n(x);const C=n(18672);var E=k().div.withConfig({displayName:"LayerStyles__StyledLayer",componentId:"ii6psl-0"})(["",""],function(e){return e.$separateStackingContexts&&(0,x.css)(["isolation:isolate;position:relative;z-index:",";"],C.variables.zindexLayer)}),A={body:{appendChild:function(){return[]}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function L(){return"undefined"!=typeof document?document:A}L();var O={document:A,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};const T="undefined"!=typeof window?window:O;function D(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},22697(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCancelable=void 0,t.makeCancelable=e=>{let t=!1;return{promise:new Promise((n,r)=>{e.then(e=>{t?r({isCanceled:!0}):n(e)}),e.catch(e=>{r(t?{isCanceled:!0}:e)})}),cancel(){t=!0}}}},22865(e,t,n){var r=n(11377),a=n(48769),o=Object.prototype,i=o.hasOwnProperty,l=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},22956(e,t,n){var r=n(86620),a=n(62420);e.exports=function(e,t,n,o){var i=e.length;for((n=r(n))<0&&(n=-n>i?0:i+n),(o=void 0===o||o>i?i:r(o))<0&&(o+=i),o=n>o?0:a(o);n{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M14.5 9.8501C15.3284 9.8501 16 9.17852 16 8.3501C16 7.52167 15.3284 6.8501 14.5 6.8501C13.6716 6.8501 13 7.52167 13 8.3501C13 9.17852 13.6716 9.8501 14.5 9.8501Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0969 2.8501C11.6978 2.8501 11.3151 3.00917 11.0336 3.29211L2.48013 11.8887C1.89686 12.4749 1.89805 13.4226 2.4828 14.0074L8.8868 20.4114C9.47363 20.9982 10.4254 20.997 11.0108 20.4087L19.5635 11.8128C19.8432 11.5317 20.0002 11.1514 20.0002 10.7548V4.3501C20.0002 3.52167 19.3286 2.8501 18.5002 2.8501H12.0969ZM4.24968 12.9458L12.3048 4.8501H18.0002V10.5485L9.94657 18.6427L4.24968 12.9458Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0331 3.28723C11.3146 3.00429 11.6973 2.84521 12.0964 2.84521H18.4997C19.3281 2.84521 19.9997 3.51679 19.9997 4.34521V10.75C19.9997 11.1465 19.8427 11.5269 19.563 11.8079L11.0103 20.4038C10.4249 20.9921 9.47314 20.9933 8.88631 20.4065L2.48231 14.0025C1.89756 13.4177 1.89637 12.4701 2.47964 11.8838L11.0331 3.28723ZM14.4998 9.84521C15.3282 9.84521 15.9998 9.17364 15.9998 8.34521C15.9998 7.51679 15.3282 6.84521 14.4998 6.84521C13.6713 6.84521 12.9998 7.51679 12.9998 8.34521C12.9998 9.17364 13.6713 9.84521 14.4998 9.84521Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rt in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))t.indexOf(r)<0&&p.call(e,r)&&(n[r]=e[r]);return n},g=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},v=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},_=(e,t,n)=>(v(e,t,"default"),n&&v(n,t,"default")),M=(e,t,n)=>(n=null!=e?a(d(e)):{},v(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),w={};g(w,{computeVizProps:()=>er,config:()=>ht,default:()=>rr,themes:()=>nr}),e.exports=(r=w,v(o({},"__esModule",{value:!0}),r));var S={};g(S,{default:()=>k});var x=M(n(48808));_(S,n(48808));var k="default"in x?x.default:x,C={};g(C,{default:()=>A});var E=M(n(41454));_(C,n(41454));var A="default"in E?E.default:E,L={};g(L,{default:()=>T});var O=M(n(16951));_(L,n(16951));var T="default"in O?O.default:O,D={};g(D,{default:()=>j});var z=M(n(14041));_(D,n(14041));var j="default"in z?z.default:z,P={};g(P,{default:()=>Y});var B=M(n(86471));_(P,n(86471));var Y="default"in B?B.default:B,N={};g(N,{default:()=>I});var F=M(n(80285));_(N,n(80285));var I="default"in F?F.default:F,R={};g(R,{default:()=>H});var W=M(n(31870));_(R,n(31870));var H="default"in W?W.default:W,q={};g(q,{default:()=>V});var X=M(n(70434));_(q,n(70434));var V="default"in X?X.default:X,U={};g(U,{default:()=>G});var $=M(n(53057));_(U,n(53057));var G="default"in $?$.default:$,K={};g(K,{default:()=>Z});var J=M(n(44432));_(K,n(44432));var Z="default"in J?J.default:J,Q={};g(Q,{default:()=>te});var ee=M(n(55415));_(Q,n(55415));var te="default"in ee?ee.default:ee,ne={};g(ne,{default:()=>ae});var re=M(n(70581));_(ne,n(70581));var ae="default"in re?re.default:re,oe=class{constructor(e){this.chartRef=e}highlight({xValue:e,seriesName:t}={xValue:"",seriesName:""}){this.getChart().highlight(e,t)}unHighlight(){this.getChart().unHighlight()}getChart(){var e;return null==(e=this.chartRef)?void 0:e.current}};function ie(e){const t=(0,D.useRef)();return(0,D.useEffect)(()=>{t.current=e}),t.current}var le=e=>{const t=(0,D.useRef)(e);return(0,D.useLayoutEffect)(()=>{t.current=e}),(0,D.useCallback)((...e)=>t.current(...e),[])},se={};g(se,{default:()=>ce});var ue=M(n(84377));_(se,n(84377));var ce="default"in ue?ue.default:ue,de=class{focus(){}snapshot(){return null}},fe=(e,t)=>e.every((n,r)=>!("number"===t&&Number.isNaN(n)||"time"===t&&Number.isNaN(n.getTime())||!(0===r||n>e[r-1]))),pe=({dataSources:e,threshold:t,options:n})=>{var r,a,o;const i=null==e?void 0:e.primary,l=null!=(o=null==(a=null==(r=null==i?void 0:i.data)?void 0:r.columns[0])?void 0:a.length)?o:0;if(Number.isNaN(t)||l<=t||t<2)return e;const{xField:s,yFields:u,fieldTypes:c}=n;if(!s||!(null==u?void 0:u.length)||!(null==c?void 0:c.length))return e;const d=new Set(u.filter(e=>!e.startsWith("_")));if(Math.min(d.size*t,l)>=l)return e;const{xColumn:f,yColumns:p}=((e,t,n,r,a)=>{let o=[];const i=[],l=!e.data.fields.some((l,s)=>{var u,c;const d=null!=(u=l.name)?u:l,f=null!=(c=r[s])?c:"unknown",p=e.data.columns[s];let m=!1;if(d===t)o=((e,t)=>{if("number"===t){const n=e.map(e=>Number(e));if(fe(n,t))return n}else if("time"===t){const n=e.map(e=>new Date(e));if(fe(n,t))return n}return[]})(p,f);else if(n.has(d)){const{coercedColumn:t,canLooselyCoerceSomeValues:n,canDownsampleColumn:r}=((e,t)=>{const n="zero"===t.nullValueDisplay,r=e.findIndex(e=>(0,se.startsWithNumber)(`${e}`)||n&&null===e)>=0,a=[],o=!e.some(e=>{const t=Number(e),r=n&&null===e;return!!(Number.isNaN(t)||t<=Number.MIN_SAFE_INTEGER||t>=Number.MAX_SAFE_INTEGER||"string"!=typeof e&&"number"!=typeof e&&!r)||(a.push(t),!1)});return{canDownsampleColumn:o,canLooselyCoerceSomeValues:r,coercedColumn:o?a:[]}})(e.data.columns[s],a);if(m=n&&!r,m)return!0;r&&i.push(t)}return!1});return l?{xColumn:o,yColumns:i}:{xColumn:[],yColumns:[]}})(i,s,d,c,n);if(!p.length||!f.length)return e;const m=h({},e),b=new Set;return p.forEach((e,n)=>{const r=e.map((e,t)=>[f[t],e]);try{const{downsampledIndices:e}=((e,t,n)=>{const r=e.length,a=[];if(t>=r||0===t){const t=e.map((e,t)=>t);return{downsampledData:e,downsampledIndices:t}}const o=[];let i=0;const l=(r-2)/(t-2);let s,u,c,d,f=0;o.push(e[f]),a.push(0);for(let p=0;pu||c===u&&n.has(g))&&(u=c,s=e[g],d=g,w=g);o[i++]=s,a.push(w),f=d}return o[i++]=e[r-1],a.push(r-1),{downsampledData:o,downsampledIndices:a}})(r,t,b);e.forEach(e=>b.add(e))}catch(e){console.error(`Error occurred while downsampling column ${n}`,e)}}),m.primary=((e,t)=>{const n=Array.from(t).sort((e,t)=>e-t),r=[];return e.data.columns.forEach(e=>{const t=[];n.forEach(n=>{t.push(e[n])}),r.push(t)}),y(h({},e),{data:y(h({},e.data),{columns:r})})})(i,b),m},me={};g(me,{default:()=>ye});var he=M(n(48153));_(me,n(48153));var ye="default"in he?he.default:he,be={};g(be,{default:()=>ve});var ge=M(n(2966));_(be,n(2966));var ve="default"in ge?ge.default:ge,_e=G.div` margin-left: 10px; margin-right: 10px; padding-top: 8px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; `,Me=G.div` height: ${28}px; font-size: 14px; font-weight: 700; color: ${e=>e.fontColor}; background-color: ${e=>e.backgroundColor}; box-shadow: 0 1px ${e=>e.backgroundColor}; // this is added to avoid a 1px gap between title and viz divs that showed up intermittently because of pixel rounding error in chrome. `,we=e=>{const t=String(e.trellisKey).toString();return D.createElement(Me,{fontColor:e.fontColor,backgroundColor:e.backgroundColor,"data-test":"trellis-title",title:t},D.createElement(_e,null,t))},Se=["chart","chart.orientation","layout.splitSeries","chart.style","legend.placement"],xe=(e,t)=>(e.trellisSplitBy&&(t["trellis.name"]=e.trellisSplitBy),e.trellisKey&&(t["trellis.value"]=e.trellisKey),t),ke=(e,t)=>(Object.keys(e||{}).forEach(n=>{t[`${n}.value`]=e[n]}),t),Ce=G.div.attrs(e=>({"data-test":"charting-container",width:e.width,height:e.height}))` & .highcharts-a11y-proxy-container { pointer-events: none; } overflow: hidden; position: relative; ${e=>(0,q.toDimension)((0,S.pick)(e,["width","height"]))}; `,Ee=e=>{var t,n;const r=(0,D.useRef)(null),a=(0,D.useRef)(!0),o=(0,D.useRef)(),i=(0,D.useRef)(!0),l=(0,D.useRef)(new oe(o)),s=(0,D.useContext)(H),u=(0,D.useRef)(null),c=((e=be.LAYOUT_TYPE.Off)=>(()=>{const e=(0,D.useContext)(ye);return Boolean(null==e?void 0:e.visualizations_enableTrellis)})()&&e===be.LAYOUT_TYPE.Trellis)(e.splitByLayout),d=(0,D.useRef)(()=>{}),f=(0,D.useMemo)(()=>(0,S.debounce)(()=>{d.current()},5),[]);(0,D.useEffect)(()=>()=>{f.cancel()},[f]);const p=te(),m=e.themeKey?e.themeKey:(0,ne.getChartingThemeKey)({splunkThemeV1:p}),{width:b="100%",height:g=250,options:v={},style:_={},chartData:M,colorPalette:w=L.VIZ_CATEGORICAL,onClick:x=S.noop,onSelect:k=S.noop,onPointMouseOut:C=S.noop,onPointMouseOver:E=S.noop,onEventTrigger:A=S.noop,originalDataSources:O,onDownsamplingThresholdChange:T,xField:z,backgroundColor:j="",defaultFontColor:P="",trellisKey:B,additionalTooltipFields:Y}=e,N=ie(v),F=ie(s),R=(t,n)=>{let r=(0,S.pick)(t,"name2","value2","_span","modifierKey");r.name=r.name2,delete r.name2,"point.click"===n&&(r.value=r.value2,delete r.value2,r=ke(t.rowContext,r)),r=xe(e,r),x({type:n,originalEvent:t,payload:r})},W=()=>{o.current&&(o.current.destroy(),o.current=null),i.current=!0,a.current=!0},q=null!=(n=null==(t=null==M?void 0:M.chartDataOptions)?void 0:t.enableSearchZoom)&&n,X=D.useCallback(()=>{if(!T||!z)return;const e=(({enableSearchZoom:e,dataSources:t,selectChartEvent:n,width:r,xField:a})=>{var o,i,l;if(e||!n)return Number(r);const s=null==t?void 0:t.primary;if(!s)return null;const{startXIndex:u,endXIndex:c,currentTarget:d}=n;try{const e=null==(o=null==s?void 0:s.data)?void 0:o.fields.findIndex(e=>("string"==typeof e?e:e.name)===a),n=null==(i=d.dataSet)?void 0:i.fields.findIndex(e=>e===a);if(-1===e||-1===n)return null;const f=null==(l=null==s?void 0:s.data)?void 0:l.columns[e],p=d.dataSet.seriesList[n],m=f.findIndex(e=>p[u]===e),h=f.findIndex(e=>p[c]===e);if(m>=0&&h>=0&&m<=h)return(({firstIndex:e,lastIndex:t,dataSources:n,width:r})=>{var a,o,i;const l=t-e+1,s=Math.round(10*Number((null==(i=null==(o=null==(a=null==n?void 0:n.primary)?void 0:a.data)?void 0:o.columns[0])?void 0:i.length)/l))/10;return Math.round(s*Number(r))})({firstIndex:m,lastIndex:h,dataSources:t,width:r})}catch(e){console.error("Error occurred while setting downsample threshold on range select event",e)}return null})({enableSearchZoom:q,dataSources:O,width:Number(b),selectChartEvent:u.current,xField:z});Number.isFinite(e)&&T(e)},[q,O,T,b,z]);D.useEffect(()=>{X()},[X]);const V=le(t=>{u.current=t,X();const n=xe(e,(0,S.pick)(t,"startXIndex","endXIndex","startXValue","endXValue"));k&&"function"==typeof k?k({type:"range.select",originalEvent:t,payload:n}):A({type:"range.select",originalEvent:t,payload:n})}),U=le((t,n)=>{let r=(0,S.pick)(t,"name2","value2","_span","modifierKey","tooltipContext");r.name=r.name2,delete r.name2,r.value=r.value2,delete r.value2,r=xe(e,ke(t.rowContext,r)),C({type:n,originalEvent:t,payload:r})}),$=le((t,n)=>{let r=(0,S.pick)(t,"name2","value2","_span","modifierKey","tooltipContext");r.name=r.name2,delete r.name2,r.value=r.value2,delete r.value2,r=xe(e,ke(t.rowContext,r)),E({type:n,originalEvent:t,payload:r})}),G=()=>{const t=y(h({},v),{shouldColorizeTooltipData:!1}),n=(()=>{if(r.current){const e=r.current.getBoundingClientRect();return{height:e.height,width:e.width}}return{}})(),l=n.width,u=n.height,c=null==s?void 0:s.serializedTimezone,d=null==s?void 0:s.ianaTimezone,f=null==s?void 0:s.utcOffset;if(l&&u&&M&&Object.keys(M).length){N&&Object.keys(N).forEach(e=>{N[e]&&void 0===t[e]&&(t[e]="")});try{if(a.current&&(W(),I.setTheme(m),w.length>0&&I.setColorPalette(w),o.current=I.createChart(r.current,h(h(h(y(h({},t),{drilldown:"all"}),"string"==typeof c&&{"time.serializedTz":c}),"string"==typeof d&&{"time.ianaTimezone":d}),"number"==typeof f&&{"time.timezoneOffset":f})),o.current.on("pointClick",e=>{R(e,"point.click")}),o.current.on("pointMouseOver",e=>{$(e,"point.mouseover")}),o.current.on("pointMouseOut",e=>{U(e,"point.mouseout")}),o.current.on("legendClick",e=>{R(e,"legend.click")}),o.current.on("chartRangeSelect",V)),i.current){I.setTheme(m),w.length>0&&I.setColorPalette(w);const n=xe(e,{width:b,height:g,currentTime:(new Date).getTime()});o.current.prepareAndDraw(M,t,()=>{A({type:"viz.renderedWithData",payload:n})})}o.current&&(Math.round(o.current.height)===Math.round(u)&&Math.round(o.current.width)===Math.round(l)||o.current.resize(l,u)),a.current=!1,i.current=!1}catch(e){window.console.error("Caught error rendering chart:",e)}}};d.current=G;const K=ie(m),J=ie(x);return(0,D.useEffect)(()=>{var t;return f(),null==(t=null==e?void 0:e.visualizationApiRef)||t.call(e,null==l?void 0:l.current),()=>{var t;null==(t=null==e?void 0:e.visualizationApiRef)||t.call(e,null),W()}},[]),(0,D.useEffect)(()=>{const e=()=>{f()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[f]),(0,D.useEffect)(()=>{var t,n;o.current&&(n=v,!(!(t=N)||!n||Se.some(e=>t[e]!==n[e])||((e,t)=>Object.keys(e).filter(e=>!(e in t)).concat(Object.keys(t).filter(n=>!(n in e)||e[n]!==t[n])))(t,n).some(e=>e.toLowerCase().endsWith("color"))))&&JSON.stringify(F)===JSON.stringify(s)&&(e.themeKey||K===m)&&J===x||(a.current=!0),i.current=!0,G()},[JSON.stringify(v),JSON.stringify(M.toJSON()),JSON.stringify(M.annotations),null==s?void 0:s.ianaTimezone,null==s?void 0:s.utcOffset,null==s?void 0:s.serializedTimezone,m,x,Y]),D.createElement(D.Fragment,null,c&&D.createElement(we,{trellisKey:B,backgroundColor:j,fontColor:P}),D.createElement(Ce,{style:_,ref:e=>{r.current=e,f()},width:b,height:c?Number(g)-28:g}))},Ae={};g(Ae,{default:()=>Oe});var Le=M(n(4005));_(Ae,n(4005));var Oe="default"in Le?Le.default:Le,Te={};g(Te,{default:()=>ze});var De=M(n(44544));_(Te,n(44544));var ze="default"in De?De.default:De,je={};g(je,{default:()=>Be});var Pe=M(n(68807));_(je,n(68807));var Be="default"in Pe?Pe.default:Pe,Ye={};g(Ye,{default:()=>Fe});var Ne=M(n(17173));_(Ye,n(17173));var Fe="default"in Ne?Ne.default:Ne,Ie={};g(Ie,{default:()=>We});var Re=M(n(40028));_(Ie,n(40028));var We="default"in Re?Re.default:Re,He=(e,t,...n)=>[...e.slice(0,t),...n,...e.slice(t)],qe={label:(0,C._)("Data configurations"),layout:[[{label:(0,C._)("X"),option:"x",editor:"editor.columnSelector",editorProps:{dataSourceKey:"primary",supportsDSL:!0,expectedDataPrimitive:["series"]}}],[{label:(0,C._)("Y"),option:"y",editor:"editor.columnMultiSelector",editorProps:{dataSourceKey:"primary",filterByTypes:["number"],supportsDSL:!0,expectedDataPrimitive:["series","frame"]}}],[{label:(0,C._)("Additional tooltip fields"),option:"additionalTooltipFields",editor:"editor.columnMultiSelectionByFieldNameEditor"}],[{label:(0,C._)("Result limit"),option:"resultLimit",editor:"editor.number",editorProps:{dataSourceKey:"primary"}}]]},Xe={label:qe.label,layout:He(qe.layout,2,[{label:(0,C._)("Y2"),option:"y2",editor:"editor.columnMultiSelector",editorProps:{dataSourceKey:"primary",filterByTypes:["number"],supportsDSL:!0,expectedDataPrimitive:["series","frame"]},isDisabled:({options:e,featureFlags:t})=>{const{splitByLayout:n=be.LAYOUT_TYPE.Off}=e;return(({featureFlags:e})=>Boolean(null==e?void 0:e.visualizations_enableTrellis))({featureFlags:t})&&n===be.LAYOUT_TYPE.Trellis}}])},Ve=(He({label:qe.label,layout:[[{label:(0,C._)("X"),option:"x",editor:"editor.columnSelector",editorProps:{dataSourceKey:"primary",supportsDSL:!0,expectedDataPrimitive:["series"]}}],[{label:(0,C._)("Y"),option:"y",editor:"editor.columnSelector",editorProps:{dataSourceKey:"primary",filterByTypes:["number"],supportsDSL:!0,expectedDataPrimitive:["series"]}}],[{label:(0,C._)("Category"),option:"category",editor:"editor.columnSelector",editorProps:{dataSourceKey:"primary",supportsDSL:!0,expectedDataPrimitive:["series"]}}],[{label:(0,C._)("Result limit"),option:"resultLimit",editor:"editor.number",editorProps:{dataSourceKey:"primary"}}]]}.layout,3,[{label:(0,C._)("Size"),option:"size",editor:"editor.columnSelector",editorProps:{dataSourceKey:"primary",supportsDSL:!0,expectedDataPrimitive:["series"]}}]),[[{label:(0,C._)("Accelerate render"),option:"acceleratedRender",editor:"editor.toggle",showEditor:({featureFlags:e})=>Boolean(null==e?void 0:e.visualizations_enableAcceleratedRender),editorProps:{help:(0,C._)("Render visualizations faster for large datasets. Some functionalities might not be available in this mode."),helpFormat:"under"}}]]),Ue={label:Xe.label,layout:[...Xe.layout,[{label:(0,C._)("Annotation x"),option:"annotationX",editor:"editor.columnSelector",editorProps:{dataSourceKey:"annotation",supportsDSL:!0,expectedDataPrimitive:["series"]}}],[{label:(0,C._)("Annotation labels"),option:"annotationLabel",editor:"editor.columnSelector",editorProps:{dataSourceKey:"annotation",supportsDSL:!0,expectedDataPrimitive:["series"]}}]]},$e=(y(h({},Ue),{layout:[...Ve,...Ue.layout]}),({featureFlags:e})=>Boolean(null==e?void 0:e.visualizations_enableTrellis)),Ge=({options:e,featureFlags:t})=>{const{splitByLayout:n=be.LAYOUT_TYPE.Off}=e;return $e({featureFlags:t})&&n===be.LAYOUT_TYPE.Trellis},Ke=[[{label:(0,C._)("Trellis layout"),option:"splitByLayout",editor:"editor.toggle",showEditor:$e}],[{label:(0,C._)("Split by"),option:"trellisSplitBy",editor:"editor.trellisSplitBy",editorProps:{dataSourceKey:"primary"},showEditor:Ge}],[{label:(0,C._)("Number of columns"),option:"trellisColumns",editor:"editor.number",editorProps:{min:1},showEditor:Ge}],[{label:(0,C._)("Min column width"),option:"trellisMinColumnWidth",editor:"editor.number",editorProps:{min:1},showEditor:Ge},{label:(0,C._)("Row height"),option:"trellisRowHeight",editor:"editor.number",editorProps:{min:1},showEditor:Ge}],[{label:(0,C._)("Max number of components per page"),option:"trellisPageCount",editor:"editor.number",editorProps:{min:1},showEditor:Ge}]],Je=[[{label:(0,C._)("Trellis layout"),option:"splitByLayout",editor:"editor.toggle",showEditor:$e,editorProps:{help:(0,C._)("Y2-axis and overlay field configurations are not supported when trellis is enabled."),helpFormat:"under"}}],...Ke.slice(1),[{label:(0,C._)("Shared y-axis scale"),option:"trellisSharedScale",editor:"editor.checkbox",showEditor:Ge}]],Ze={label:(0,C._)("Trellis background"),option:"trellisBackgroundColor",editor:"editor.color",showEditor:Ge},Qe={label:(0,C._)("Data display"),layout:[[{label:(0,C._)("Stack mode"),option:"stackMode",editor:"editor.select",editorProps:{values:[{label:(0,C._)("Not stacked"),value:"auto"},{label:(0,C._)("Stacked"),value:"stacked"},{label:(0,C._)("Stacked 100%"),value:"stacked100"}]}}],[{label:(0,C._)("Null value display"),option:"nullValueDisplay",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Gaps"),value:"gaps"},{label:(0,C._)("Zero"),value:"zero"},{label:(0,C._)("Connect"),value:"connect"}]}}],[{label:(0,C._)("Data value display"),option:"dataValuesDisplay",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Off"),value:"off"},{label:(0,C._)("All"),value:"all"},{label:(0,C._)("Min/Max"),value:"minmax"}]}}],[{label:(0,C._)("Overlay fields"),option:"overlayFields",editor:"editor.columnMultiSelectionByFieldNameEditor",editorProps:{filterByTypes:["number"]},isDisabled:({options:e,featureFlags:t})=>{const{splitByLayout:n=be.LAYOUT_TYPE.Off}=e;return(({featureFlags:e})=>Boolean(null==e?void 0:e.visualizations_enableTrellis))({featureFlags:t})&&n===be.LAYOUT_TYPE.Trellis}}],[{label:(0,C._)("Split series"),option:"showSplitSeries",editor:"editor.toggle"}],[{label:(0,C._)("Independent y-axis for split series"),option:"showIndependentYRanges",editor:"editor.checkbox",showEditor:({options:e})=>e.showSplitSeries}],...Je]},et=Qe,tt=(Qe.label,Qe.layout[0],Qe.layout.slice(2),Qe.label,(0,C._)("Shared y-axis scale"),Qe.label,Qe.layout[0],Qe.layout[2],(0,C._)("Show tooltip on hover"),Qe.layout.slice(3),(0,C._)("Column grouping mode"),(0,C._)("Auto"),(0,C._)("Overlay"),Qe.label,Qe.layout.slice(1),({label:e,themes:t,labelPosition:n})=>[{label:(0,C._)(e||"Background color"),option:"backgroundColor",editor:"editor.color",editorProps:{labelPosition:n||"top",themes:t}}]),nt=e=>Be({enterprise:{dark:Fe.black(e),light:Fe.white(e)},prisma:Fe.backgroundColorSection(e)})(e),rt={defaultBackgroundColor:nt},at={label:(0,C._)("Color and style"),layout:[tt({themes:rt}),[{label:(0,C._)("Series colors"),option:"seriesColors",editor:"editor.seriesColors"}],[{label:(0,C._)("Series colors by field name"),option:"seriesColorsByField",editor:"editor.seriesColorsByField"}]]},ot=y(h({},at),{layout:[at.layout[0],[y(h({},Ze),{editorProps:{themes:rt}})],...at.layout.slice(1)]}),it={label:(0,C._)("Legend"),layout:[[{label:(0,C._)("Legend display"),option:"legendDisplay",editor:"editor.select",editorProps:{values:[{label:(0,C._)("Right"),value:"right"},{label:(0,C._)("Left"),value:"left"},{label:(0,C._)("Top"),value:"top"},{label:(0,C._)("Bottom"),value:"bottom"},{label:(0,C._)("Off"),value:"off"}]}}],[{label:(0,C._)("Legend truncation"),option:"legendTruncation",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("A..."),value:"ellipsisEnd"},{label:(0,C._)("A...Z"),value:"ellipsisMiddle"},{label:(0,C._)("...Z"),value:"ellipsisStart"},{label:(0,C._)("Off"),value:"ellipsisOff"}]},showEditor:({options:e})=>"left"===e.legendDisplay||"right"===e.legendDisplay||"top"===e.legendDisplay||"bottom"===e.legendDisplay||void 0===e.legendDisplay}]]},lt={label:(0,C._)("X-axis grid and labels"),layout:[[{label:(0,C._)("Axis title"),option:"xAxisTitleVisibility",editor:"editor.toggle"}],[{label:(0,C._)("Axis title text"),option:"xAxisTitleText",editor:"editor.text",showEditor:({options:e})=>"show"===e.xAxisTitleVisibility||void 0===e.xAxisTitleVisibility}],[{label:(0,C._)("Label visibility"),option:"xAxisLabelVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]}}]]},st={label:lt.label,layout:[...lt.layout,[{label:(0,C._)("Label rotation"),option:"xAxisLabelRotation",editor:"editor.select",editorProps:{values:[{label:(0,C._)("-90"),value:-90},{label:(0,C._)("-45"),value:-45},{label:(0,C._)("0"),value:0},{label:(0,C._)("45"),value:45},{label:(0,C._)("90"),value:90}]},showEditor:({options:e})=>"show"===e.xAxisLabelVisibility||"auto"===e.xAxisLabelVisibility||void 0===e.xAxisLabelVisibility}],[{label:(0,C._)("Number of time label parts"),option:"xAxisMaxLabelParts",editor:"editor.number",editorProps:{min:1,max:3},showEditor:({options:e})=>"show"===e.xAxisLabelVisibility||"auto"===e.xAxisLabelVisibility||void 0===e.xAxisLabelVisibility}],[{label:(0,C._)("Axis line visibility"),option:"xAxisLineVisibility",editor:"editor.checkbox"}],[{label:(0,C._)("Major gridlines"),option:"showXMajorGridLines",editor:"editor.checkbox"}],[{label:(0,C._)("Major tick visibility"),option:"xAxisMajorTickVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]}}],[{label:(0,C._)("Major tick size (px)"),option:"xAxisMajorTickSize",editor:"editor.slider",editorProps:{min:0,max:10,step:1},showEditor:({options:e})=>"show"===e.xAxisMajorTickVisibility||"auto"===e.xAxisMajorTickVisibility||void 0===e.xAxisMajorTickVisibility}]]},ut=(He(lt.layout,2,[{label:(0,C._)("Axis scale"),option:"xAxisScale",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Linear"),value:"linear"},{label:(0,C._)("Log"),value:"log"}]}}]),(0,C._)("Label rotation"),(0,C._)("-90"),(0,C._)("-45"),(0,C._)("0"),(0,C._)("45"),(0,C._)("90"),(0,C._)("Round axis labels"),(0,C._)("SI prefix abbreviation for labels"),(0,C._)("Include zero"),(0,C._)("Extend to whole grid"),(0,C._)("Minimum axis value"),(0,C._)("Maximum axis value"),(0,C._)("Axis line visibility"),(0,C._)("Major tick visibility"),(0,C._)("Auto"),(0,C._)("Show"),(0,C._)("Hide"),(0,C._)("Major tick size (px)"),(0,C._)("Major tick interval spacing"),(0,C._)("Minor gridlines"),(0,C._)("Minor tick visibility"),(0,C._)("Auto"),(0,C._)("Show"),(0,C._)("Hide"),(0,C._)("Minor tick size (px)"),st),ct={label:(0,C._)("Y-axis grid and labels"),layout:[[{label:(0,C._)("Axis title"),option:"yAxisTitleVisibility",editor:"editor.toggle"}],[{label:(0,C._)("Axis title text"),option:"yAxisTitleText",editor:"editor.text",showEditor:({options:e})=>"show"===e.yAxisTitleVisibility||void 0===e.yAxisTitleVisibility}],[{label:(0,C._)("Scale"),option:"yAxisScale",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Linear"),value:"linear"},{label:(0,C._)("Log"),value:"log"}]}}],[{label:(0,C._)("Label visibility"),option:"yAxisLabelVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]}}],[{label:(0,C._)("SI prefix abbreviation for labels"),option:"yAxisAbbreviation",editor:"editor.checkbox",showEditor:({options:e})=>"show"===e.yAxisLabelVisibility||"auto"===e.yAxisLabelVisibility||void 0===e.yAxisLabelVisibility}],[{label:(0,C._)("Include zero"),option:"showYAxisWithZero",editor:"editor.checkbox"}],[{label:(0,C._)("Extend to whole grid"),option:"showYAxisExtendedRange",editor:"editor.checkbox"}],[{label:(0,C._)("Minimum axis value"),option:"yAxisMin",editor:"editor.number"},{label:(0,C._)("Maximum axis value"),option:"yAxisMax",editor:"editor.number"}],[{label:(0,C._)("Axis line visibility"),option:"yAxisLineVisibility",editor:"editor.checkbox"}],[{label:(0,C._)("Major gridlines"),option:"showYMajorGridLines",editor:"editor.checkbox"}],[{label:(0,C._)("Major tick visibility"),option:"yAxisMajorTickVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]}}],[{label:(0,C._)("Major tick size (px)"),option:"yAxisMajorTickSize",editor:"editor.slider",editorProps:{min:0,max:10,step:1},showEditor:({options:e})=>"show"===e.yAxisMajorTickVisibility||"auto"===e.yAxisMajorTickVisibility||void 0===e.yAxisMajorTickVisibility}],[{label:(0,C._)("Major tick interval spacing"),option:"yAxisMajorTickInterval",editor:"editor.number",showEditor:({options:e})=>"show"===e.yAxisMajorTickVisibility||"auto"===e.yAxisMajorTickVisibility||void 0===e.yAxisMajorTickVisibility}],[{label:(0,C._)("Minor gridlines"),option:"showYMinorGridLines",editor:"editor.checkbox"}],[{label:(0,C._)("Minor tick visibility"),option:"yAxisMinorTickVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]}}],[{label:(0,C._)("Minor tick size (px)"),option:"yAxisMinorTickSize",editor:"editor.slider",editorProps:{min:0,max:10,step:1},showEditor:({options:e})=>"show"===e.yAxisMinorTickVisibility||"auto"===e.yAxisMinorTickVisibility||void 0===e.yAxisMinorTickVisibility}]]},dt=({options:e,featureFlags:t})=>{const{splitByLayout:n=be.LAYOUT_TYPE.Off}=e;return!(({featureFlags:e})=>Boolean(null==e?void 0:e.visualizations_enableTrellis))({featureFlags:t})||n!==be.LAYOUT_TYPE.Trellis},ft={label:(0,C._)("Y2-axis grid and labels"),layout:[[{label:(0,C._)("Axis title"),option:"y2AxisTitleVisibility",editor:"editor.toggle",showEditor:dt}],[{label:(0,C._)("Axis title text"),option:"y2AxisTitleText",editor:"editor.text",showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&("show"===e.y2AxisTitleVisibility||void 0===e.y2AxisTitleVisibility)}],[{label:(0,C._)("Show overlays on the y2-axis"),option:"showOverlayY2Axis",editor:"editor.checkbox",showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&Array.isArray(e.overlayFields)&&e.overlayFields.length>0}],[{label:(0,C._)("Scale"),option:"y2AxisScale",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Linear"),value:"linear"},{label:(0,C._)("Log"),value:"log"}]},showEditor:dt}],[{label:(0,C._)("Label visibility"),option:"y2AxisLabelVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]},showEditor:dt}],[{label:(0,C._)("Round axis labels"),option:"showRoundedY2AxisLabels",editor:"editor.checkbox",showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&("show"===e.y2AxisLabelVisibility||"auto"===e.y2AxisLabelVisibility||void 0===e.y2AxisLabelVisibility)}],[{label:(0,C._)("SI prefix abbreviation for labels"),option:"y2AxisAbbreviation",editor:"editor.checkbox",showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&("show"===e.y2AxisLabelVisibility||"auto"===e.y2AxisLabelVisibility||void 0===e.y2AxisLabelVisibility)}],[{label:(0,C._)("Include zero"),option:"showY2AxisWithZero",editor:"editor.checkbox",showEditor:dt}],[{label:(0,C._)("Minimum axis value"),option:"y2AxisMin",editor:"editor.number",showEditor:dt},{label:(0,C._)("Maximum axis value"),option:"y2AxisMax",editor:"editor.number",showEditor:dt}],[{label:(0,C._)("Axis line visibility"),option:"y2AxisLineVisibility",editor:"editor.checkbox",showEditor:dt}],[{label:(0,C._)("Major gridlines"),option:"showY2MajorGridLines",editor:"editor.checkbox",showEditor:dt}],[{label:(0,C._)("Major tick visibility"),option:"y2AxisMajorTickVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]},showEditor:dt}],[{label:(0,C._)("Major tick size (px)"),option:"y2AxisMajorTickSize",editor:"editor.slider",editorProps:{min:0,max:10,step:1},showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&("show"===e.y2AxisMajorTickVisibility||"auto"===e.y2AxisMajorTickVisibility||void 0===e.y2AxisMajorTickVisibility)}],[{label:(0,C._)("Major tick interval spacing"),option:"y2AxisMajorTickInterval",editor:"editor.number",showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&("show"===e.y2AxisMajorTickVisibility||"auto"===e.y2AxisMajorTickVisibility||void 0===e.y2AxisMajorTickVisibility)}],[{label:(0,C._)("Minor gridlines"),option:"showY2MinorGridLines",editor:"editor.checkbox",showEditor:dt}],[{label:(0,C._)("Minor tick visibility"),option:"y2AxisMinorTickVisibility",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Auto"),value:"auto"},{label:(0,C._)("Show"),value:"show"},{label:(0,C._)("Hide"),value:"hide"}]},showEditor:dt}],[{label:(0,C._)("Minor tick size (px)"),option:"y2AxisMinorTickSize",editor:"editor.slider",editorProps:{min:0,max:10,step:1},showEditor:({options:e,featureFlags:t})=>dt({options:e,featureFlags:t})&&("show"===e.y2AxisMinorTickVisibility||"auto"===e.y2AxisMinorTickVisibility||void 0===e.y2AxisMinorTickVisibility)}]]},pt={defaultBackgroundColor:nt,defaultFontColor:e=>Be({enterprise:{dark:Fe.textColor(e),light:Fe.textColor(e)},prisma:Fe.contentColorDefault(e)})(e)},mt=[Ue,et,{label:ot.label,layout:[...ot.layout,[{label:(0,C._)("Area opacity (0-1)"),option:"areaOpacity",editor:"editor.slider",editorProps:{min:0,max:1,step:.01}}],[{label:(0,C._)("Show area outlines"),option:"showLines",editor:"editor.checkbox"}],[{label:(0,C._)("Line width"),option:"lineWidth",editor:"editor.slider",editorProps:{min:.5,max:8,step:.5},showEditor:({options:e})=>Array.isArray(e.overlayFields)&&e.overlayFields.length>0}],[{label:(0,C._)("Annotation colors"),option:"annotationColor",editor:"editor.columnSelector",editorProps:{dataSourceKey:"annotation",supportsDSL:!0,expectedDataPrimitive:["series"]}}]]},(({showLegendTooltip:e=!1,hideModeWhenOff:t=!1})=>({label:it.label,layout:[[{label:(0,C._)("Legend display"),option:"legendDisplay",editor:"editor.select",editorProps:{values:[{label:(0,C._)("Right"),value:"right"},{label:(0,C._)("Left"),value:"left"},{label:(0,C._)("Top"),value:"top"},{label:(0,C._)("Bottom"),value:"bottom"},{label:(0,C._)("Off"),value:"off"}],tooltip:e&&(0,C._)('Legend mode must be "Standard" to configure legend display')},isDisabled:e?({options:e})=>"seriesCompare"===e.legendMode:void 0,overrideDefaultValue:({options:e})=>"trellis"===(null==e?void 0:e.splitByLayout)?"off":"right"}],[y(h({},it.layout[1][0]),{showEditor:({options:e})=>"left"===e.legendDisplay||"right"===e.legendDisplay||"top"===e.legendDisplay||"bottom"===e.legendDisplay||void 0===e.legendDisplay&&"trellis"!==e.splitByLayout})],[{label:(0,C._)("Legend mode"),option:"legendMode",editor:"editor.radioBar",editorProps:{values:[{label:(0,C._)("Standard"),value:"standard"},{label:(0,C._)("Compare series"),value:"seriesCompare"}]},showEditor:({options:e})=>!t||"left"===e.legendDisplay||"right"===e.legendDisplay||"top"===e.legendDisplay||"bottom"===e.legendDisplay||void 0===e.legendDisplay&&"trellis"!==e.splitByLayout}]]}))({showLegendTooltip:!0,hideModeWhenOff:!0}),ut,ct,ft],ht=function(e){const t=h({},e);return t.editorConfig=e.editorConfig.map(e=>y(h({},e),{open:e.open||!1})),t}({key:"splunk.area",name:(0,C._)("Area"),category:"Trends",icon:Ae.Area,placeholderIcon:Te.Area,dataContract:{requiredDataSources:[{name:"primary",description:"DataSource that powers the visualization"}],optionalDataSources:[{name:"annotation",description:"DataSource that populates event annotations"}],initialRequestParams:{primary:{offset:0,count:1e4},annotation:{offset:0,count:1e4}}},size:{initialWidth:300,initialHeight:300},defaultContext:{},optionsSchema:be.areaOptionsSchema,editorConfig:mt,events:{"legend.click":{description:"triggered when user clicks on chart legend"},"point.click":{description:"triggered when user clicks on a point in the area chart"},"range.select":{description:"triggered when user makes a selection"},"point.mouseover":{description:"triggered when user hovers over a data point"},"point.mouseout":{description:"triggered when user moves out of a data point"}},supports:["dynamic-options","placeholder","events","downsampling","trellis"],themes:pt}),yt={};g(yt,{default:()=>gt});var bt=M(n(6318));_(yt,n(6318));var gt="default"in bt?bt.default:bt,vt={};g(vt,{default:()=>Mt});var _t=M(n(40690));_(vt,n(40690));var Mt="default"in _t?_t.default:_t,wt={};g(wt,{default:()=>xt});var St=M(n(81596));_(wt,n(81596));var xt="default"in St?St.default:St,kt={};g(kt,{default:()=>Et});var Ct=M(n(77330));_(kt,n(77330));var Et="default"in Ct?Ct.default:Ct,At={};g(At,{default:()=>Ot});var Lt=M(n(27016));_(At,n(27016));var Ot="default"in Lt?Lt.default:Lt,Tt={};g(Tt,{default:()=>zt});var Dt=M(n(57533));_(Tt,n(57533));var zt="default"in Dt?Dt.default:Dt,jt={};g(jt,{default:()=>Bt});var Pt=M(n(21121));_(jt,n(21121));var Bt="default"in Pt?Pt.default:Pt,Yt={};g(Yt,{default:()=>Ft});var Nt=M(n(66115));_(Yt,n(66115));var Ft="default"in Nt?Nt.default:Nt,It={};g(It,{default:()=>Wt});var Rt=M(n(39067));_(It,n(39067));var Wt="default"in Rt?Rt.default:Rt,Ht=class{};Ht.propTypes={mode:It.oneOf(["view","edit","export"]).isRequired,width:It.oneOfType([It.string,It.number]).isRequired,height:It.oneOfType([It.string,It.number]).isRequired,context:It.object,options:It.object,onOptionsChange:It.func,dataSources:It.objectOf(It.shape({requestParams:It.object,data:It.shape({fields:It.array,columns:It.array}),error:It.shape({level:It.string,message:It.string}),meta:It.object})),onEventTrigger:It.func,hasEventHandlers:It.bool,onComputedProps:It.func,vizActionHandlerRef:It.func,loading:It.bool,theme:It.object,onRequestParamsChange:It.func},Ht.defaults={width:"100%",height:250,dataSources:{},onEventTrigger:()=>({}),mode:"view",hasEventHandlers:!1,options:{},context:{},onOptionsChange:()=>({}),vizActionHandlerRef:()=>new de,onComputedProps:()=>({}),loading:!1,onRequestParamsChange:S.noop};var qt=Ht,Xt=(It.shape({currentSortKey:It.string,currentSortDir:It.oneOf(["asc","desc","none"]),onSort:It.func}),It.shape({isPaging:It.bool,current:It.number,totalPages:It.number,onChange:It.func}),{});g(Xt,{default:()=>Ut});var Vt=M(n(64127));_(Xt,n(64127));var Ut="default"in Vt?Vt.default:Vt,$t=e=>{const{width:t=qt.defaults.width,height:n=qt.defaults.height,missingProps:r,backgroundColor:a}=e,o=D.useCallback((e,t)=>{l(e),u(t)},[]),[i,l]=D.useState(Number(t)),[s,u]=D.useState(Number(n));return D.createElement("div",{style:{width:i,height:s,background:a}},D.createElement(Ut,{width:t,height:n,onResize:o}),D.createElement(Z,{"data-test":"message",width:t,height:n,message:(0,C._)(`Missing property: ${r.join(", ")}`),level:"error"}))},Gt=({Wrapper:e,Visualization:t})=>{["propTypes","config"].forEach(n=>{t[n]&&(e[n]=t[n])})},Kt=G.div` position: absolute; left: 0; right: 0; top: 0; bottom: 0; `,Jt=G.div.attrs({"data-splunk-visualization-version":"28.3.0 - 843e0f60b"})` position: relative; width: 100%; height: 100%; `,Zt={};g(Zt,{default:()=>en});var Qt=M(n(91179));_(Zt,n(91179));var en="default"in Qt?Qt.default:Qt,tn=G.div.attrs(({width:e})=>({style:{width:(0,q.toPx)(e)}}))` position: relative; background-color: ${e=>(0,Zt.isColor)(e.backgroundColor)&&e.backgroundColor||e.theme.defaultBackgroundColor}}; `,nn=G.div.attrs(({width:e,height:t})=>{const n="number"==typeof t?Math.max(t,1):t;return{style:h(h({},e&&{width:(0,q.toPx)(e)}),n&&{height:(0,q.toPx)(n)})}})` position: relative; flex-direction: column; flex: 1; display: flex; overflow: hidden !important; background-color: ${e=>(0,Zt.isColor)(e.backgroundColor)&&e.backgroundColor||e.theme.defaultBackgroundColor}}; `,rn=G.div` position: relative; min-height: 100px; width: 100%; `,an=G.div` min-height: 0px; flex: 1; position: relative; box-sizing: border-box; overflow: hidden !important; `,on=(e,t=!1)=>{const n=void 0===(0,S.get)(e,"primary.data.columns[0]",void 0),r=(0,S.get)(e,"primary.data.fields[0]",void 0);return t||n||void 0===r},ln=(e=>{const t=t=>{const{width:n,height:r,backgroundColor:a}=t,o=D.useCallback((e,t)=>{l(e),u(t)},[]),[i,l]=D.useState(Number(t.width)),[s,u]=D.useState(Number(t.height));return r?D.createElement(nn,{"data-test":"fix-size-item","data-splunk-visualization-version":"28.3.0 - 843e0f60b",width:n,height:r,backgroundColor:a},D.createElement(an,null,D.createElement(Ut,{width:n,height:r,onResize:o}),D.createElement(e,y(h({},t),{width:i,height:s})))):D.createElement(tn,{"data-test":"item",width:n,backgroundColor:a},D.createElement(rn,null,D.createElement(e,h({},t))))};return t.displayName="withFixedSizeContainer",t})(e=>{const{width:t=qt.defaults.width,height:n=qt.defaults.height,icon:r,iconColor:a,backgroundColor:o}=e;let i=D.createElement(Z,{width:t,height:n,level:"warning",message:(0,C._)("No DataSource Connected")});return r&&(i=D.createElement(r,{style:{left:"50%",top:"50%",color:a,opacity:.15,position:"absolute",transform:"translate(-50%, -50%)"},width:"50%",height:"50%","data-test":"icon-placeholder"})),D.createElement("div",{style:{width:t,height:n,background:o}},i)}),sn=(e,t=on)=>{const{config:n}=e,{themes:r}=n,a=a=>{var o,i;const{dataSources:l,loading:s,options:u,height:c=qt.defaults.height,width:d=qt.defaults.width}=a,f=t(l,s,u),p=null!=(o=n.placeholderIcon)?o:n.icon,m=Fe.contentColorActive(a),y=(0,Zt.isColor)(null==u?void 0:u.backgroundColor)?null==u?void 0:u.backgroundColor:null==(i=null==r?void 0:r.defaultBackgroundColor)?void 0:i.call(r,a);return n.supports.includes("placeholder")&&f?D.createElement(ln,{"data-test":"icon-placeholder",icon:p,width:d,height:c,backgroundColor:y,iconColor:m}):D.createElement(e,h({},a))};return Gt({Wrapper:a,Visualization:e}),a},un=["nullValueDisplay"],cn=({dataSources:e,options:t,context:n,threshold:r,isDownsamplingEnabled:a})=>{const o=(0,D.useRef)(!0),i=(({shouldEvaluateDSL:e,options:t,context:n,dataSources:r})=>{const{dataSourcesWithOnlyOnePoint:a,dataFrameWithOnlyOnePoint:o}=(0,D.useMemo)(()=>{var t,n,a;if(!e)return{dataSourcesWithOnlyOnePoint:null,dataFrameWithOnlyOnePoint:null};if(!(null==(a=null==(n=null==(t=null==r?void 0:r.primary)?void 0:t.data)?void 0:n.columns)?void 0:a.length))return{dataSourcesWithOnlyOnePoint:null,dataFrameWithOnlyOnePoint:null};const{primary:o}=r,i=o.data.columns.map(e=>[e[0]]),l={primary:y(h({},o),{data:y(h({},o.data),{columns:i})})};return{dataSourcesWithOnlyOnePoint:l,dataFrameWithOnlyOnePoint:vt.Options.dataFrameFromDataSource(l)}},[r,e]);return(0,D.useMemo)(()=>{try{if(!a||!o)return t;if(!(null==t?void 0:t.x)||!(null==t?void 0:t.y)&&!(null==t?void 0:t.y2))return t;const e={x:t.x,xField:"> x | getField()",y:t.y,yFields:t.y?"> y | getField()":void 0,y2:t.y2,y2Fields:t.y2?"> y2 | getField()":void 0,fieldTypes:"> primary | getType()"},{xField:r="",yFields:i=[],y2Fields:l=[],fieldTypes:s}=vt.Options.evaluate({options:e,context:n},a,()=>{},o);return{xField:r,yFields:[...i,...l],fieldTypes:s}}catch(e){return{xField:void 0,yFields:[],fieldTypes:[]}}},[t,n,a,o])})({shouldEvaluateDSL:a,options:t,context:n,dataSources:e}),l=(0,D.useMemo)(()=>(0,S.pick)(t,un),[t]),s=(0,D.useMemo)(()=>h(h({},l),i),[i,l]),u=ie(s),c=ie(e),d=ie(r),[f,p]=(0,D.useState)(()=>a?pe({dataSources:e,threshold:r,options:s}):e),m=(0,D.useMemo)(()=>(0,S.debounce)(e=>{const t=pe(e);p(t)},100,{trailing:!0}),[]);return(0,D.useEffect)(()=>{o.current?o.current=!1:a?(0,S.isEqual)(u,s)&&c===e&&d===r||m({dataSources:e,options:s,threshold:r}):p(e)},[e,s,m,i,r,a,c,d,u]),f},dn={};g(dn,{default:()=>pn});var fn=M(n(11819));_(dn,n(11819));var pn="default"in fn?fn.default:fn,mn=(e,t)=>e&&Object.keys(e).find(e=>e===t)?e[t]:!!Object.keys(pn).find(e=>e===t)&&pn[t],hn={};g(hn,{default:()=>bn});var yn=M(n(38141));_(hn,n(38141));var bn="default"in yn?yn.default:yn,gn="aggregations",vn=e=>{var t,n,r,a;const o=(e=>e.map(e=>"string"==typeof e?{name:e}:e))(null==(n=null==(t=null==e?void 0:e.primary)?void 0:t.data)?void 0:n.fields),i=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.columns;let l=null,s=[],u=null;if("string"!=typeof o[0]&&(s=(0,hn.extractDataSourceAggregationKeysChart)(o)),s&&s.length>0)l={},s.forEach(t=>{l[t]=(0,S.cloneDeep)((0,S.omit)(e,["primary.data.fields","primary.data.columns"])),l[t].primary.data.fields=[o[0]],l[t].primary.data.columns=[i[0]],o.forEach((e,n)=>{const r=null==e?void 0:e.name;"_time"===r||(null==r?void 0:r.startsWith("_"))||e.data_source!==t||(l[t].primary.data.fields.push(e),l[t].primary.data.columns.push(i[n]))})});else if(s&&s.length||!(o.length>1))u="INVALID_SPLIT_BY_FIELD";else{l={};for(let t=1;t{var r,a,o,i,l,s;const u=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.fields,c=null==(i=null==(o=null==e?void 0:e.primary)?void 0:o.data)?void 0:i.columns;let d=null,f=[],p=null;"string"!=typeof u[0]&&(f=n!==hn.UNKNOWN?(0,hn.extractSplitByFieldsForStats)(u):(0,hn.extractSplitByFieldsForUnknown)(u));const m=null==u?void 0:u.findIndex(e=>e===t||e.name===t);if(f&&f.indexOf(t)>-1){const t=null==(s=null==(l=null==e?void 0:e.primary)?void 0:l.data)?void 0:s.columns[m];d={},t.forEach((e,t)=>{d[e]?d[e].push(t):d[e]=[t]});const n=(0,S.cloneDeep)(u);n.splice(m,1),Object.keys(d).forEach(t=>{const r=(0,S.cloneDeep)(d[t]);d[t]=(0,S.cloneDeep)((0,S.omit)(e,["primary.data.fields","primary.data.columns"])),d[t].primary.data.fields=n,d[t].primary.data.columns=[],c.forEach((e,n)=>{if(n!==m){const n=r.map(t=>e[t]);d[t].primary.data.columns.push(n)}})})}else p="INVALID_SPLIT_BY_FIELD";return{splitDataSources:d,errorCode:p}},Mn={};g(Mn,{default:()=>Sn});var wn=M(n(84594));_(Mn,n(84594));var Sn="default"in wn?wn.default:wn,xn=G.div.attrs(({dataTestKey:e})=>({"data-test":e,"data-testid":e}))` display: flex; justify-content: center; flex-direction: column; width: 100%; height: 100%; background-color: ${e=>e.backgroundColor}; `;xn.displayName="VizStyleWrapper";var kn=xn,Cn={};g(Cn,{default:()=>An});var En=M(n(43668));_(Cn,n(43668));var An="default"in En?En.default:En,Ln=G(An)` color: ${e=>e.eventColor||Fe.severityColorNotice(e)}; `,On=({event:e,dimensions:t})=>{const n=e;return j.createElement(Ln,{width:`${t.width}px`,height:`${t.height}px`,viewBox:"0 0 24 24",variant:"filled",eventColor:n.color})},Tn=(e,t)=>(e=>Array.isArray(e)&&Array.isArray(e[0]))(e)&&Array.isArray(t)?t:[t],Dn=(e=[],t="")=>!!e.find(e=>{var t;return null==(t=e.options.events)?void 0:t.includes("range.select")})&&"_time"===t,zn=["splunk.line"],jn={center:!0,fontSize:12,largerTiles:!0,hideSeriesValue:!0},Pn=(e,t,n)=>{if("collapsed"===n)return"";let r=t.length>1?"":t[0];return r||(r=""),(null==e?void 0:e.length)?e.trim():r},Bn=(e,t,n=12)=>{if(!e)return"";if(Number.isNaN(t)||t<=0)return e;const r=.6*t,a=.55*n,o=Math.floor(r/a);if(e.length<=o)return e;if(o<=3)return"...";const i=o-3,l=Math.floor(i/2);return`${e.slice(0,l)}...${e.slice(-l)}`},Yn=e=>"object"==typeof e?null==e?void 0:e.name:e,Nn=G.div` overflow: hidden; ${e=>(0,q.toDimension)((0,S.pick)(e,["width","height"]))}; canvas { position: absolute !important; // This is needed for canvas element export pdf/png to work correctly } `,Fn=(0,wt.withSanitizedProps)(e=>{const{width:t,height:n,chartData:r,options:a,userLocale:o,annotationX:i,annotationLabel:l,annotationColor:s,legendDisplay:u,markerDisplay:c,onClick:d,onPointMouseOver:f,onPointMouseOut:p}=e,{backgroundColor:m,seriesColors:b,fieldColors:g,"axisTitleX.text":v,"axisTitleY.text":_,"axisTitleY2.text":M,"axisTitleX.visibility":w,"axisTitleY.visibility":x,"axisTitleY2.visibility":k,"axisLabelsX.majorLabelVisibility":C,"axisLabelsY.majorLabelVisibility":E,"axisLabelsY2.majorLabelVisibility":A,"axisY.abbreviation":L,"axisY.scale":O,"axisY2.abbreviation":T,"axisY2.fields":z,"axisY2.scale":j,"axisY2.enabled":P,"axisLabelsY2.integerUnits":B,"chart.overlayFields":Y,"chart.nullValueMode":N,lineWidth:F}=a,I=b?JSON.parse(b):void 0,R=g?JSON.parse(g):void 0,[W,H]=D.useState(Number(e.width)),[q,X]=D.useState(Number(e.height)),V=D.useCallback((e,t)=>{H(e),X(t)},[]),U=(e=>{const{fields:t,columns:n}=e,r=t.reduce((e,t,n)=>{const r="object"==typeof t?null==t?void 0:t.name:t;return(null==r?void 0:r.startsWith("_"))&&"_time"!==r||e.push(n),e},[]);return{fields:r.map(e=>t[e]),columns:r.map(e=>n[e])}})({fields:r.fields,columns:r.seriesList}),$=Yn(U.fields[0]),G=(U.fields.length>1?U.fields.slice(1):[]).map(e=>Yn(e)),K=z?z.split(",").map(e=>e.trim()):[],J=Y?Y.split(",").map(e=>e.trim()):[];let Z=Pn(v,[$],w);Z=Bn(Z,W);let Q=Pn(_,G,x);Q=Bn(Q,q);const ee=K.length>0?K:J;let te=Pn(M,ee,k);te=Bn(te,q);const ne=((e,t)=>{const n={x:{}};return n.x.label=e,"hide"===t&&(n.x.hideLabels=!0),n})(Z,C),re=((e,t,n,r)=>{const a=null!=n?n:"linear",o={y:{}};return o.y.label=e,o.y.type=a,"none"!==t&&(o.y.tickFmt=e=>(0,Mn.shortenNumber)(e,1)),o.y.width="none"===t?55:e&&e.length>0?30:10,"hide"===r&&(o.y.hideLabels=!0),o})(Q,L,O,E);let ae={};P&&(ae=((e,t,n,r,a)=>{const o={y2:{}},i=null!=n?n:"linear";return o.y2.label=e,o.y2.side="right",o.y2.showGrid=!1,o.y2.type=i,"none"!==t?o.y2.tickFmt=e=>(0,Mn.shortenNumber)(e,1,r):r&&(o.y2.tickFmt=e=>r?Math.round(e).toString():e.toString()),"hide"===a&&(o.y2.hideLabels=!0),o})(te,T,j,B,A));const oe=(0,D.useRef)(null),ie=[U.columns[0],...(le=U.columns.slice(1),le.map(e=>e.map(e=>parseFloat(e))))];var le;r.fields=U.fields,r.columns=ie;const se=(0,D.useMemo)(()=>((e,t,n,r,a,o,i)=>{const l={};let s,u;return"gaps"===o?s=!1:"connect"!==o&&"zero"!==o||(s=!0,"zero"===o&&(u=!0)),e.forEach(e=>{l[e]={overrides:{width:null!=n?n:2}},void 0!==s&&(l[e].overrides.spanGaps=s),a&&((null==t?void 0:t.length)>0&&t.includes(e)||(!t||0===t.length)&&(null==r?void 0:r.includes(e)))&&(l[e].overrides.scale="y2"),(null==r?void 0:r.includes(e))&&(l[e].type="line"),void 0!==i&&(l[e].markerDisplay=i),void 0!==u&&(l[e].replaceNullsWithZero=u)}),l})(G,K,F,J,P,N,c),[G,K,F,J,P,N,c]),ue=(0,D.useMemo)(()=>(({annotationX:e,annotationColor:t,annotationLabel:n})=>(null==e?void 0:e.length)?e.map((e,r)=>({key:null==n?void 0:n[r],time:e,color:null==t?void 0:t[r]})):[])({annotationX:i,annotationColor:s,annotationLabel:l}),[i,s,l]),ce=(0,D.useMemo)(()=>h(h(h({},ne),re),ae),[ne,re,ae]),de=(0,D.useMemo)(()=>(e=>{switch(null==e?void 0:e.legendDisplay){case"off":return!1;case"left":return(0,Mn.LeftLegendFactory)(h({width:75},jn));case"bottom":return(0,Mn.BottomLegendFactory)(h({wrap:!0},jn));case"top":return(0,Mn.TopLegendFactory)(h({wrap:!0},jn));default:return(0,Mn.SideLegendFactory)(h({width:75},jn))}})({legendDisplay:u}),[u]),fe=D.useCallback(e=>{d&&((e,t)=>{const n=y(h({},(0,S.pick)(e,"value","seriesKey")),{name:e.seriesKey});delete n.seriesKey,e.rowContext&&Object.keys(e.rowContext).forEach(t=>{n[`row.${t}.value`]=e.rowContext[t]}),t&&t({type:"point.click",originalEvent:e,payload:n})})(e,d)},[d]),pe=D.useCallback(e=>{d&&((e,t)=>{t&&t({type:"legend.click",originalEvent:e,payload:{name:e}})})(e,d)},[d]),me=D.useRef(null),he=D.useRef(null),ye=D.useCallback(e=>{if(f||p){if(!e)return void(p&&me.current&&p({type:"point.mouseout",originalEvent:he.current,payload:me.current}));const t=y(h({},(0,S.pick)(e,"value","seriesKey","time","index","seriesIndex")),{name:e.seriesKey});delete t.seriesKey,e.rowContext&&Object.keys(e.rowContext).forEach(n=>{t[`row.${n}.value`]=e.rowContext[n]}),me.current=t,he.current=e,f&&f({type:"point.mouseover",originalEvent:e,payload:t})}},[f,p]),be=(0,D.useMemo)(()=>D.createElement(Mn.TimeSeriesChart,{data:r,width:W,height:q,seriesColors:I,seriesColorsByField:R,seriesConfig:se,legend:de,scaleConfig:ce,timestampFormat:"expanded",onCrosshairClick:d?fe:void 0,onCrosshairChange:f||p?ye:void 0,onSeriesClick:d?pe:void 0,userLocale:o,events:ue,eventsConfig:{renderer:On}}),[r,W,q,I,R,se,de,ce,o,ue,d,fe,f,p,ye,pe]),ge=(0,D.useMemo)(()=>D.createElement(kn,{backgroundColor:m},be),[m,be]);return D.createElement(Nn,{height:n,width:t,ref:oe,"data-test":"timeseries-chart-wrapper"},D.createElement(Ut,{width:t,height:n,onResize:V}),ge)}),In={};g(In,{default:()=>Wn});var Rn=M(n(61993));_(In,n(61993));var Wn="default"in Rn?Rn.default:Rn,Hn={};g(Hn,{default:()=>Xn});var qn=M(n(6996));_(Hn,n(6996));var Xn="default"in qn?qn.default:qn,Vn={};g(Vn,{default:()=>$n});var Un=M(n(80953));_(Vn,n(80953));var $n="default"in Un?Un.default:Un,Gn={};g(Gn,{default:()=>Jn});var Kn=M(n(18672));_(Gn,n(18672));var Jn="default"in Kn?Kn.default:Kn,Zn=G.div` overflow: hidden; display: flex; flex-direction: column; background-color: ${e=>e.backgroundColor}; ${e=>(0,q.toDimension)((0,S.pick)(e,["width","height"]))}; > [data-test='paginator'] { align-self: flex-end; margin-bottom: 10px; } `,Qn=G.div` display: grid; height: ${e=>`${e.height}px`}; gap: 10px 10px; grid-template-columns: ${e=>e.colCount?`repeat(${e.colCount}, minmax(${e.colMinWidth}px, 1fr))`:`repeat(auto-fit, minmax(${e.colMinWidth}px, 1fr))`}; overflow: auto; justify-items: stretch; grid-auto-rows: ${e=>`${e.rowHeight}px`}; .child { height: ${e=>`${e.rowHeight}px`}; } `,er=e=>{var t=e,{dataSources:n,onEventTrigger:r,x:a,y:o,xField:i,yFields:l,additionalTooltipFields:s,annotationX:u,annotationColor:c,annotationLabel:d,visualizationApiRef:f,trellisKey:p,trellisSplitBy:m,themeFunc:g}=t,v=b(t,["dataSources","onEventTrigger","x","y","xField","yFields","additionalTooltipFields","annotationX","annotationColor","annotationLabel","visualizationApiRef","trellisKey","trellisSplitBy","themeFunc"]);const _={visualizationApiRef:f,trellisKey:p,trellisSplitBy:m,defaultFontColor:g("defaultFontColor"),onEventTrigger:r},{y2:M,y2Fields:w,hasEventHandlers:S,eventHandlers:x}=v;_.options=(e=>{const t=(0,In.adjustOptionsToSchema)(e,ht.optionsSchema);return y(h({},(0,Hn.getSimpleXMLOptionsForProps)((e=>(0,In.convertToSCProperties)(e,{yAxisMajorTickInterval:"yAxisMajorUnit",yAxisLabelVisibility:"yAxisMajorLabelVisibility",xAxisLabelRotation:"xAxisMajorLabelRotation",xAxisLabelVisibility:"xAxisMajorLabelVisibility",y2AxisLabelVisibility:"y2AxisMajorLabelVisibility",y2AxisMajorTickInterval:"y2AxisMajorUnit",showRoundedY2AxisLabels:"roundY2AxisLabelsToInteger",showXMajorGridLines:"showMajorXGridLines",showYMajorGridLines:"showMajorYGridLines",showYMinorGridLines:"showMinorYGridLines",showY2MajorGridLines:"showMajorY2GridLines",showY2MinorGridLines:"showMinorY2GridLines",showYAxisWithZero:"yAxisIncludeZero",showY2AxisWithZero:"y2AxisIncludeZero",showYAxisExtendedRange:"yAxisExtendsAxisRange",showSplitSeries:"splitSeries",showIndependentYRanges:"allowIndependentYRanges",showOverlayY2Axis:"enableY2Axis",dataValuesDisplay:"showDataLabels",legendDisplay:"legendPlacement",legendTruncation:"legendLabelOverflowMode",resultLimit:"resultTruncationLimit",seriesColorsByField:"fieldColors",nullValueDisplay:"nullValueMode",lineDashStylesByField:"fieldDashStyles",xAxisLineVisibility:"xAxisVisibility",yAxisLineVisibility:"yAxisVisibility",y2AxisLineVisibility:"y2AxisVisibility",areaOpacity:"areaFillOpacity"},{xAxisTitleVisibility:{show:"visible",hide:"collapsed"},yAxisTitleVisibility:{show:"visible",hide:"collapsed"},y2AxisTitleVisibility:{show:"visible",hide:"collapsed"},yAxisAbbreviation:{off:"none"},y2AxisAbbreviation:{off:"none"},stackMode:{auto:"default"},showDataLabels:{off:"none"},legendPlacement:{off:"none"},legendLabelOverflowMode:{ellipsisOff:"ellipsisNone"}},["seriesColors","fieldColors","legendLabels","fieldDashStyles"]))(t))),{chart:"area"})})(v);const k=(({annotationX:e,annotationColor:t,annotationLabel:n})=>e&&e.length?e.map((e,r)=>({color:t&&t[r],label:n&&n[r],time:e})):[])({annotationX:u,annotationColor:c,annotationLabel:d}),C=h({},n.primary.data),{columns:E,fields:A}=(({x:e=[],y:t=[],xField:n,yFields:r,y2:a,y2Fields:o})=>{const i=[e.map(String),...Tn(t,t).map(e=>e.map(String))],l=Tn(t,r),s=[{name:n},...l.map(e=>({name:e}))];if(o){const e=Tn(a,o),t=Tn(a,a).map(e=>null==e?void 0:e.map(String));e.forEach((e,n)=>{-1===l.indexOf(e)&&t[n]&&(s.push({name:e}),i.push(t[n]))})}return{columns:i,fields:s}})({x:a,y:o,xField:i,yFields:l,y2:M,y2Fields:w}),L=function({fields:e,columns:t,additionalTooltipFields:n}){const r={};return null==n||n.forEach(n=>{const a=e.findIndex(e=>e.name===n);-1!==a&&(r[n]=t[a])}),r}(y(h({},n.primary.data),{additionalTooltipFields:s}));return C.columns=E,C.fields=A,_.chartData=I.extractChartReadyData(y(h({},C),{annotations:k}),{removeRangeSelectOnLoad:!0,enableSearchZoom:Dn(x,i),additionalTooltipFields:L}),S&&(_.onClick=r,_.onSelect=r,_.onPointMouseOver=r,_.onPointMouseOut=r),_},tr=(e=>{const t=t=>{const n=D.useCallback((e,t)=>{a(e),i(t)},[]),[r,a]=D.useState(Number(t.width)),[o,i]=D.useState(Number(t.height)),l=t,{options:s={},height:u,width:c}=l,d=b(l,["options","height","width"]),f=(0,Tt.pickFieldFromJSONSchema)(e.config.optionsSchema,"default"),p=(0,At.deepMergeWithArrayPrimitiveOverrides)({},s,f),{trellisColumns:m,trellisPageCount:g,trellisMinColumnWidth:v,trellisRowHeight:_,splitByLayout:M,trellisSplitBy:w,trellisSharedScale:x,stackMode:k,yAxisMin:E,yAxisMax:A}=p,L=m>0?m:f.trellisColumns,O=+g>0?+g:f.trellisPageCount,T=v>0?v:f.trellisMinColumnWidth,z=_>0?_:f.trellisRowHeight,[j,P]=(0,D.useState)(1),[B,Y]=(0,D.useState)(null);let N=[],F=0,I=!1;const{dataSources:R}=d,W={splunkThemeV1:te()},{family:H,colorScheme:q,density:X}=(0,Gn.getSettingsFromThemedProps)({theme:W}),V=(0,D.useMemo)(()=>vt.Options.evaluate({context:e.config.context,options:{trellisBackgroundColor:p.trellisBackgroundColor}},{},t=>{var n,r;return null==(r=(n=e.config.themes)[t])?void 0:r.call(n,{trellisBackgroundColor:p.trellisBackgroundColor,theme:W})}).trellisBackgroundColor,[p.trellisBackgroundColor,H,q,X]),U=(0,S.get)(R,"primary.data.columns",void 0),$=(0,S.get)(R,"primary.data.fields",void 0),G=void 0===U,K=void 0===$,J=e=>{if(I){const t=O*(e-1),n=N.slice(t,t+O);Y(n)}else Y(N),P(1)};(0,D.useEffect)(()=>{P(1),J(1)},[O,w]),(0,D.useEffect)(()=>{J(j)},[U,$,w,j,M]);const Q=(0,D.useCallback)((e,{page:t})=>{P(t)},[j,B]),ee=D.useContext(ye);if(!Boolean(ee&&ee.visualizations_enableTrellis)||!M||M!==be.LAYOUT_TYPE.Trellis)return D.createElement(e,h({},t));if(M===be.LAYOUT_TYPE.Trellis){if(G||K)return D.createElement(Z,{width:c,height:u,message:(0,C._)("Loading"),level:"info"});let t=w;if(!w||0===w.length){const e=(0,hn.getAllPossibleSplitByFields)($);t=e.fields&&e.fields.length?e.fields[0]:gn}const a=((e,t,n)=>{let r=null;try{e===hn.TIMECHART?r=n===gn?vn(t):((e,t)=>{var n,r,a,o,i;const l=null==(r=null==(n=null==e?void 0:e.primary)?void 0:n.data)?void 0:r.fields,s=null==(o=null==(a=null==e?void 0:e.primary)?void 0:a.data)?void 0:o.columns;let u=null,c=[],d=null;if("string"!=typeof l[0]&&(c=(0,hn.extractSplitByFieldsChartFields)(l)),c&&c.indexOf(t)>-1){u={};const t=(0,hn.extractDataSourceAggregationKeysChart)(l),n=[];for(let e=1;e{u[n]=(0,S.cloneDeep)((0,S.omit)(e,["primary.data.fields","primary.data.columns"])),u[n].primary.data.fields=[{name:l[0].name},...t.map(e=>({name:e}))],u[n].primary.data.columns=[[...s[0]]],t.forEach(e=>{l.forEach((t,r)=>{t.data_source!==e||t.splitby_value!==n&&t.name!==n||u[n].primary.data.columns.push([...s[r]])})})})}else d="INVALID_SPLIT_BY_FIELD";return{splitDataSources:u,errorCode:d}})(t,n):e===hn.STATS?r=n===gn?(e=>{var t,n,r,a;const o=null==(n=null==(t=null==e?void 0:e.primary)?void 0:t.data)?void 0:n.fields,i=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.columns;let l=null,s=[],u=null;return"string"!=typeof o[0]&&(s=(0,hn.extractDataSourceAggregationKeysStats)(o)),s&&s.length>0?(l={},s.forEach(t=>{l[t]=(0,S.cloneDeep)((0,S.omit)(e,["primary.data.fields","primary.data.columns"])),l[t].primary.data.fields=[o[0]],l[t].primary.data.columns=[i[0]];const n=o.findIndex(e=>e.name===t);n>0&&(l[t].primary.data.fields.push(o[n]),l[t].primary.data.columns.push(i[n]))})):u="INVALID_SPLIT_BY_FIELD",{splitDataSources:l,errorCode:u}})(t):_n(t,n,hn.STATS):e===hn.CHART?r=n===gn?vn(t):((e,t)=>{var n,r,a,o;const i=null==(r=null==(n=null==e?void 0:e.primary)?void 0:n.data)?void 0:r.fields,l=null==(o=null==(a=null==e?void 0:e.primary)?void 0:a.data)?void 0:o.columns;let s=null,u=[],c=null;if("string"!=typeof i[0]&&(u=(0,hn.extractSplitByFieldsChartFields)(i)),u&&u.indexOf(t)>-1){s={};const n=u.findIndex(e=>e===t),r=u.filter(e=>e!==t),a=(0,hn.extractDataSourceAggregationKeysChart)(i),o=[];if(!a.length&&"0"===i[0].groupby_rank&&i.length&&!i[1].groupby_rank)for(let e=1;e{if(s[t]=(0,S.cloneDeep)((0,S.omit)(e,["primary.data.fields","primary.data.columns"])),s[t].primary.data.fields=[],r.length&&(s[t].primary.data.fields=[{name:r[0]}]),a.length){const e=[[]];s[t].primary.data.fields=[...s[t].primary.data.fields,...a.map(e=>({name:e}))],a.forEach(()=>{e.push([])});for(let t=1;t<=Math.ceil((i.length-1)/a.length);t+=1)e[0].push(i[t].splitby_value?i[t].splitby_value:i[t].name),a.forEach((r,o)=>{const s=(i.length-1)/a.length;e[o+1].push(l[t+o*s][n])});s[t].primary.data.columns=e}else if(o.length){const e=[];i.forEach((r,a)=>{a>0&&(s[t].primary.data.fields.push(r),e.push([l[a][n]]))}),s[t].primary.data.columns=e}});else{const t=[];for(let e=1;e{s[t]=(0,S.cloneDeep)((0,S.omit)(e,["primary.data.fields","primary.data.columns"])),s[t].primary.data.fields=[{name:r[0]},...a.map(e=>({name:e}))],s[t].primary.data.columns=[[...l[0]]],a.forEach(e=>{i.forEach((n,r)=>{n.data_source!==e||n.splitby_value!==t&&n.name!==t||s[t].primary.data.columns.push([...l[r]])})})})}}else c="INVALID_SPLIT_BY_FIELD";return{splitDataSources:s,errorCode:c}})(t,n):e===hn.UNKNOWN&&(r=n===gn?(e=>{var t,n,r,a;const o=null==(n=null==(t=null==e?void 0:e.primary)?void 0:t.data)?void 0:n.fields,i=null==(a=null==(r=null==e?void 0:e.primary)?void 0:r.data)?void 0:a.columns;let l=null,s=null;if(o&&o.length){l={};for(let t=0;t"INVALID_SPLIT_BY_FIELD"===e?D.createElement(Z,{width:t,height:n,message:(0,C._)("Select a valid trellis split by field"),level:"info"}):"UNKNOWN_DATA_SPLIT_MODE"===e?D.createElement(Z,{width:t,height:n,message:(0,C._)("Unknown data split mode"),level:"info"}):D.createElement(Z,{width:t,height:n,message:(0,C._)("Error render in trellis"),level:"info"}))(l,c,u);const f=i?Object.keys(i):[];f&&(I=f.length>O,N=f,F=f?Math.ceil(f.length/O):0);const[p,m]=((e,t,n,r,a)=>{if(!t||"stacked100"===a||"auto"!==n&&"auto"!==r)return[n,r];const[o,i]=(e=>{let t=-1/0,n=1/0;return Object.keys(e).forEach(r=>{const a=e[r];Object.keys(a).forEach(e=>{a[e].data.columns.forEach(e=>{e.forEach(e=>{const r=Number(e);r>t&&(t=r),rD.createElement("div",{className:"child","data-test":"trellis-child",key:`div-child-${l.toString()}`},D.createElement(Ut,{width:c,height:u,onResize:n}),D.createElement(e,y(h({},d),{trellisKey:a,trellisSplitBy:t,dataSources:i[a],options:y(h({},s),{yAxisMin:p,yAxisMax:m}),key:`viz-${l.toString()}`,height:o,width:r}))))),I&&F>=j&&D.createElement($n,{onChange:Q,current:j,alwaysShowLastPageLink:!0,totalPages:F}))}return null};return t.propTypes=e.proptypes,t.config=e.config,t})((e=>{const{ReactViz:t,vizConfig:n,computeVizProps:r=()=>{},computeVizPropsBeforeEval:a=()=>{},computeDataFrames:o,disableEditModeCover:i,useIconPlaceholder:l}=e,s=(0,wt.withSanitizedProps)(t),u=(0,Tt.pickFieldFromJSONSchema)(n.optionsSchema,"default"),c=e=>{var t;const{mode:i="view",hasEventHandlers:l,dataSources:c,options:d={},context:f={},width:p,height:m,onComputedProps:b=S.noop,onEventTrigger:g=qt.defaults.onEventTrigger,theme:v,onRequestParamsChange:_=S.noop}=e,M=D.useContext(H);M.serializedTimezone&&(Et.getDefaultSplunkTimezone()||Et.setDefaultSplunkTimezone(M.serializedTimezone));const w=t=>{var r,a;return null==(a=(r=n.themes)[t])?void 0:a.call(r,e)},{family:x,colorScheme:k,density:C}=gt({theme:v});let E={};const[A,L]=D.useState({}),O=D.useContext(ye),[T]=D.useState(`${n.name} - ${(0,Yt.createGUID)()}`),[z,j]=D.useState({}),[P,B]=D.useState(),[Y,N]=D.useState(Boolean(mn(O,"visualizations_useWebWorkersForDSL"))),F=Boolean(null==O?void 0:O.visualizations_enableDownsampling),I=Boolean(O&&O.visualizations_enableTrellis)&&(null==(t=null==n?void 0:n.supports)?void 0:t.includes("trellis"))&&"trellis"===(null==d?void 0:d.splitByLayout),R=Boolean(null==O?void 0:O.visualizations_enableAcceleratedRender)&&(W=n.key,zn.indexOf(W)>-1)&&!0===(null==d?void 0:d.acceleratedRender);var W;const q=D.useRef(!0),X=D.useMemo(()=>{var e;const t=((e,t)=>e&&!t.legendDisplay?{legendDisplay:"off"}:{})(I,d),r=null!=(e=a(d))?e:{};return{context:(0,S.defaultsDeep)({},f,n.defaultContext),options:(0,At.deepMergeWithArrayPrimitiveOverrides)({},t,r,d,u)}},[I,d,f]),[V,U]=D.useState(Number(p)),$=D.useCallback(e=>{U(e)},[]),G=D.useMemo(()=>F&&(({vizConfig:e})=>{var t;return null==(t=e.supports)?void 0:t.includes("downsampling")})({vizConfig:n}),[F]),K=D.useMemo(()=>G?{onDownsamplingThresholdChange:$,originalDataSources:c}:{},[c,G,$]),J=cn({options:X.options,context:X.context,dataSources:c,threshold:V,isDownsamplingEnabled:G});E=((t,r)=>{const a=(0,D.useRef)();return a.current&&(0,S.isEqual)(r,a.current.dependencies)||(a.current={dependencies:r,value:(()=>{try{if(!Y){let e=P;J!==z&&(j(J),e=vt.Options.dataFrameFromDataSource(J,mn(O,"visualizations_lazyLoadingDataFrame")),B(e));let t=e;if(o&&e){const n=o({dataSources:J,options:X.options});t=h(h({},e),n)}return vt.Options.evaluate(X,J,w,t,mn(O,"visualizations_bypassCloneDeepOptionScope"))}{const t={visualizationID:T,props:e,options:X,dataSources:J,theme:n.themes,bypassCloneDeepOptionScope:Boolean(mn(O,"visualizations_bypassCloneDeepOptionScope")),lazyLoadingDataFrame:Boolean(mn(O,"visualizations_lazyLoadingDataFrame"))};Bt.evaluate(t).then(e=>{L(e.results)}).catch(()=>{q.current&&N(!1)})}}catch(e){return e instanceof Error&&console.error(`unexpected error evaluating options: ${e.message}`),{}}return{}})()}),a.current.value})(0,[x,k,C,X,J,M.serializedTimezone,Y]);const Z=Y?A:E;let Q={};const ee="paginateDataSourceKey",te=(0,S.has)(Z,ee)&&Z[ee],ne="string"==typeof te?te:"primary",re=(0,S.get)(c,[ne,"requestParams"],{}),ae=(0,S.get)(c,[ne,"meta"],{}),oe=e=>_(ne,e),ie=(({requestParams:e,onRequestParamsChange:t})=>{let n,r;const a={asc:"desc",desc:"asc",none:"asc"};let o;return"function"==typeof t&&(e&&(0,S.has)(e,"sort")&&(n=Object.keys(e.sort).shift(),r=e.sort[n]),o=(n,{sortKey:r,sortDir:o})=>{if("string"==typeof r){const n=(0,S.has)(a,o)?a[o]:"none";t(h(h({},e),{offset:0,sort:{[r]:n}}))}else t(e)}),{currentSortKey:n,currentSortDir:r,onSort:o}})({requestParams:re,meta:ae,onRequestParamsChange:oe}),le=(({requestParams:e,meta:t,onRequestParamsChange:n})=>{const r=t&&t.totalCount||0,a=e&&e.offset||0,o=e&&e.count,i="number"==typeof o&&o>0?Math.ceil(r/o):0,l="number"==typeof o&&o>0?Math.floor(a/o)+1:0;return{isPaging:i>1&&"function"==typeof n,current:l,totalPages:i,onChange:"function"==typeof n?(t,{page:r,count:a})=>{const o=(0,S.cloneDeep)(e);"number"==typeof a&&(o.count=a,o.offset=0);const i="number"==typeof o.count?o.count:10;"number"==typeof r&&r>0&&(o.count=i,o.offset=(r-1)*i),n(o)}:S.noop}})({requestParams:re,meta:ae,onRequestParamsChange:oe});Q={sortParams:ie,paginatorParams:le},-1!==n.supports.indexOf("page-and-sort")||(0,S.has)(c,ne)||(Q={});const se=h({},Z);I&&(se.backgroundColor=null==se?void 0:se.trellisBackgroundColor),D.useEffect(()=>{b(se)}),D.useEffect(()=>()=>{Y&&(q.current=!1,Bt.reset(T))},[]);const{requiredProps:ue=[],supports:ce}=n,de=(fe=Z,ue.filter(e=>null==fe[e]));var fe;if(de.length>0&&ce.includes("placeholder")&&"splunk.singlevalue"!==n.key)return D.createElement($t,{"data-test":"missing-props-message",width:p,height:m,missingProps:de,backgroundColor:w("defaultBackgroundColor")});const pe={};if(l&&"view"===i&&n.supports.indexOf("events")>-1){const e=n.events;Object.keys(e).forEach(t=>{const{parentKeys:n,payloadKeys:r}=e[t],a=(0,S.camelCase)(`on.${t}`);let o={};if(Array.isArray(r)&&r.length&&r.forEach(e=>{o[e]=Z[e]}),pe[a]=e=>((null==e?void 0:e.payload)&&(o=h({},e.payload)),g({originalEvent:e,payload:o,type:t})),n)for(let e=n.length-1;e>=0;e-=1){const t={};t[n[e]]=pe[a],pe[a]=t}})}const me=r(y(h(h(h({},e),Z),pe),{themeFunc:w}));if(Y&&0===Object.keys(Z).length)return null;const he=R?Fn:s;return D.createElement(he,h(h(h(h(h(y(h({},qt.defaults),{mode:i,width:p||qt.defaults.width,height:m||qt.defaults.height,userLocale:M}),K),Z),me),pe),Q))};return c.propTypes=h(h({},qt.propTypes),t.propTypes),c.defaultProps=y(h({},t.defaultProps),{onEventTrigger:qt.defaults.onEventTrigger}),c.config=n,(0,U.withTheme)(sn(((e,t)=>{const n=n=>{const{mode:r}=n,a="edit"===r&&!t;return D.createElement(Jt,null,D.createElement(e,h({},n)),a&&D.createElement(Kt,{"data-test":"edit-mode-cover"}))};return Gt({Wrapper:n,Visualization:e}),n})(c,i),l))})({ReactViz:e=>{const{chartData:t}=e;return t?Object.keys(t).length?D.createElement(Ee,h({},e)):D.createElement(Z,{message:(0,C._)("No Result"),level:"info",width:"100%",height:"100%"}):D.createElement(Z,{message:(0,C._)("No DataSource"),level:"warning",width:"100%",height:"100%"})},computeVizProps:er,vizConfig:ht})),nr=null,rr=tr},23452(e){e.exports=function(e){return null===e}},23457(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 4.5C4 3.11929 5.11929 2 6.5 2H19.5C20.8807 2 22 3.11929 22 4.5V19.5C22 20.8807 20.8807 22 19.5 22H6.5C5.11929 22 4 20.8807 4 19.5V13H6V16H20V4.5C20 4.22386 19.7761 4 19.5 4H6.5C6.22386 4 6 4.22386 6 4.5V7H4V4.5ZM20 18H6V19.5C6 19.7761 6.22386 20 6.5 20H19.5C19.7761 20 20 19.7761 20 19.5V18Z"}),o().createElement("path",{d:"M10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289L14.7071 9.29289C15.0976 9.68342 15.0976 10.3166 14.7071 10.7071L11.7071 13.7071C11.3166 14.0976 10.6834 14.0976 10.2929 13.7071C9.90237 13.3166 9.90237 12.6834 10.2929 12.2929L11.5858 11H2C1.44772 11 1 10.5523 1 10C1 9.44772 1.44772 9 2 9H11.5858L10.2929 7.70711C9.90237 7.31658 9.90237 6.68342 10.2929 6.29289Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 2C5.11929 2 4 3.11929 4 4.5V9H2C1.44772 9 1 9.44772 1 10C1 10.5523 1.44772 11 2 11H4V16H22V4.5C22 3.11929 20.8807 2 19.5 2H6.5ZM4 11V9H11.5858L10.2929 7.70711C9.90237 7.31658 9.90237 6.68342 10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289L14.7071 9.29289C15.0976 9.68342 15.0976 10.3166 14.7071 10.7071L11.7071 13.7071C11.3166 14.0976 10.6834 14.0976 10.2929 13.7071C9.90237 13.3166 9.90237 12.6834 10.2929 12.2929L11.5858 11H4Z"}),o().createElement("path",{d:"M4 19.5V18H22V19.5C22 20.8807 20.8807 22 19.5 22H6.5C5.11929 22 4 20.8807 4 19.5Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M5.68016 4.59009C5.34209 4.59009 5.0432 4.75785 4.8622 5.01466L4.84769 5.01099C3.08571 6.81379 1.99976 9.28014 1.99976 12.0001C1.99976 14.7625 3.11979 17.2632 4.93049 19.073C5.1137 19.28 5.38201 19.41 5.68016 19.41C6.23244 19.41 6.68016 18.9623 6.68016 18.41C6.68016 18.0887 6.52864 17.8028 6.29315 17.6199V17.6068C4.8747 16.1632 3.99976 14.1839 3.99976 12.0001C3.99976 9.80351 4.88507 7.81366 6.31834 6.36794L6.31565 6.36224C6.53824 6.17883 6.68016 5.90103 6.68016 5.59009C6.68016 5.0378 6.23244 4.59009 5.68016 4.59009Z"}),o().createElement("path",{d:"M18.9292 4.79718C18.7605 4.66731 18.5492 4.59009 18.3198 4.59009C17.7675 4.59009 17.3198 5.0378 17.3198 5.59009C17.3198 5.85913 17.4261 6.10336 17.5989 6.28311L17.5976 6.2845C19.0802 7.73661 20.0001 9.76089 20.0001 12C20.0001 14.2199 19.0959 16.2287 17.6357 17.678L17.637 17.6794C17.4418 17.8619 17.3198 18.1217 17.3198 18.41C17.3198 18.9623 17.7675 19.41 18.3198 19.41C18.6144 19.41 18.8792 19.2827 19.0622 19.08C20.8771 17.2697 22.0001 14.766 22.0001 12C22.0001 9.2337 20.8768 6.72973 19.0615 4.91933C19.0359 4.89102 19.0087 4.86419 18.98 4.83897L18.9328 4.79323L18.9292 4.79718Z"}),o().createElement("path",{d:"M12.9639 9C12.9639 8.44772 12.5161 8 11.9639 8C11.4116 8 10.9639 8.44772 10.9639 9V11H8.96385C8.41157 11 7.96385 11.4477 7.96385 12C7.96385 12.5523 8.41157 13 8.96385 13H10.9639V15C10.9639 15.5523 11.4116 16 11.9639 16C12.5161 16 12.9639 15.5523 12.9639 15V13H14.9639C15.5161 13 15.9639 12.5523 15.9639 12C15.9639 11.4477 15.5161 11 14.9639 11H12.9639V9Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))!u.call(e,a)&&a!==n&&o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?a(s(e)):{},c(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{BailSignal:()=>J,Controller:()=>we,FrameValue:()=>re,Globals:()=>gt.Globals,Interpolation:()=>ft,Spring:()=>ot,SpringContext:()=>ze,SpringRef:()=>Be,SpringValue:()=>ce,Trail:()=>lt,Transition:()=>st,config:()=>B,createInterpolator:()=>_t.createInterpolator,easings:()=>_t.easings,inferTo:()=>S,interpolate:()=>bt,to:()=>yt,update:()=>vt,useChain:()=>L,useInView:()=>at,useIsomorphicLayoutEffect:()=>_t.useIsomorphicLayoutEffect,useReducedMotion:()=>_t.useReducedMotion,useResize:()=>et,useScroll:()=>Ze,useSpring:()=>Ne,useSpringRef:()=>Re,useSpringValue:()=>He,useSprings:()=>Ye,useTrail:()=>Xe,useTransition:()=>Ge}),e.exports=(r=f,c(o({},"__esModule",{value:!0}),r));var p=n(57413),m=n(57413);function h(e,...t){return m.is.fun(e)?e(...t):e}var y=(e,t)=>!0===e||!!(t&&e&&(m.is.fun(e)?e(t):(0,m.toArray)(e).includes(t))),b=(e,t)=>m.is.obj(e)?t&&e[t]:e,g=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,v=e=>e,_=(e,t=v)=>{let n=M;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));let r={};for(let a of n){let n=t(e[a],a);m.is.und(n)||(r[a]=n)}return r},M=["config","onProps","onStart","onChange","onPause","onResume","onRest"],w={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function S(e){let t=function(e){let t={},n=0;if((0,m.eachProp)(e,(e,r)=>{w[r]||(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return(0,m.eachProp)(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function x(e){return e=(0,m.getFluidValue)(e),m.is.arr(e)?e.map(x):(0,m.isAnimatedString)(e)?m.Globals.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function k(e){for(let t in e)return!0;return!1}function C(e){return m.is.fun(e)||m.is.arr(e)&&m.is.obj(e[0])}function E(e,t){e.ref?.delete(e),t?.delete(e)}function A(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}function L(e,t,n=1e3){(0,p.useIsomorphicLayoutEffect)(()=>{if(t){let r=0;(0,p.each)(e,(e,a)=>{let o=e.current;if(o.length){let i=n*t[a];isNaN(i)?i=r:r=i,(0,p.each)(o,e=>{(0,p.each)(e.queue,e=>{let t=e.delay;e.delay=e=>i+h(t||0,e)})}),e.start()}})}else{let t=Promise.resolve();(0,p.each)(e,e=>{let n=e.current;if(n.length){let r=n.map(e=>{let t=e.queue;return e.queue=[],t});t=t.then(()=>((0,p.each)(n,(e,t)=>(0,p.each)(r[t]||[],t=>e.queue.push(t))),Promise.all(e.start())))}})}})}var O=n(57413),T=n(14041),D=n(57413),z=n(57413),j=n(77597),P=n(57413),B={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Y={...B.default,mass:1,damping:1,easing:P.easings.linear,clamp:!1},N=class{constructor(){this.velocity=0,Object.assign(this,Y)}};function F(e,t){if(P.is.und(t.decay)){let n=!P.is.und(t.tension)||!P.is.und(t.friction);(n||!P.is.und(t.frequency)||!P.is.und(t.damping)||!P.is.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var I=[],R=class{constructor(){this.changed=!1,this.values=I,this.toValues=null,this.fromValues=I,this.config=new N,this.immediate=!1}},W=n(57413);function H(e,{key:t,props:n,defaultProps:r,state:a,actions:o}){return new Promise((i,l)=>{let s,u,c=y(n.cancel??r?.cancel,t);if(c)p();else{W.is.und(n.pause)||(a.paused=y(n.pause,t));let e=r?.pause;!0!==e&&(e=a.paused||y(e,t)),s=h(n.delay||0,t),e?(a.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){a.resumeQueue.add(f),a.timeouts.delete(u),u.cancel(),s=u.time-W.raf.now()}function f(){s>0&&!W.Globals.skipAnimation?(a.delayed=!0,u=W.raf.setTimeout(p,s),a.pauseQueue.add(d),a.timeouts.add(u)):p()}function p(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(d),a.timeouts.delete(u),e<=(a.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},i)}catch(e){l(e)}}})}var q=n(57413),X=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?$(e.get()):t.every(e=>e.noop)?V(e.get()):U(e.get(),t.every(e=>e.finished)),V=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),U=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),$=e=>({value:e,cancelled:!0,finished:!1});function G(e,t,n,r){let{callId:a,parentId:o,onRest:i}=t,{asyncTo:l,promise:s}=n;return o||e!==l||t.reset?n.promise=(async()=>{n.asyncId=a,n.asyncTo=e;let u,c,d,f=_(t,(e,t)=>"onRest"===t?void 0:e),p=new Promise((e,t)=>(u=e,c=t)),m=e=>{let t=a<=(n.cancelId||0)&&$(r)||a!==n.asyncId&&U(r,!1);if(t)throw e.result=t,c(e),e},h=(e,t)=>{let o=new J,i=new Z;return(async()=>{if(q.Globals.skipAnimation)throw K(n),i.result=U(r,!1),c(i),i;m(o);let l=q.is.obj(e)?{...e}:{...t,to:e};l.parentId=a,(0,q.eachProp)(f,(e,t)=>{q.is.und(l[t])&&(l[t]=e)});let s=await r.start(l);return m(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),s})()};if(q.Globals.skipAnimation)return K(n),U(r,!1);try{let t;t=q.is.arr(e)?(async e=>{for(let t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(u),p]),d=U(r.get(),!0,!1)}catch(e){if(e instanceof J)d=e.result;else{if(!(e instanceof Z))throw e;d=e.result}}finally{a==n.asyncId&&(n.asyncId=o,n.asyncTo=o?l:void 0,n.promise=o?s:void 0)}return q.is.fun(i)&&q.raf.batchedUpdates(()=>{i(d,r,r.item)}),d})():s}function K(e,t){(0,q.flush)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var J=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Z=class extends Error{constructor(){super("SkipAnimationSignal")}},Q=n(57413),ee=n(77597),te=e=>e instanceof re,ne=1,re=class extends Q.FluidValue{constructor(){super(...arguments),this.id=ne++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=(0,ee.getAnimated)(this);return e&&e.getValue()}to(...e){return Q.Globals.to(this,e)}interpolate(...e){return(0,Q.deprecateInterpolate)(),Q.Globals.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){(0,Q.callFluidObservers)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Q.frameLoop.sort(this),(0,Q.callFluidObservers)(this,{type:"priority",parent:this,priority:e})}},ae=Symbol.for("SpringPhase"),oe=e=>(1&e[ae])>0,ie=e=>(2&e[ae])>0,le=e=>(4&e[ae])>0,se=(e,t)=>t?e[ae]|=3:e[ae]&=-3,ue=(e,t)=>t?e[ae]|=4:e[ae]&=-5,ce=class extends re{constructor(e,t){if(super(),this.animation=new R,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!z.is.und(e)||!z.is.und(t)){let n=z.is.obj(e)?{...e}:{...t,from:e};z.is.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(ie(this)||this._state.asyncTo)||le(this)}get goal(){return(0,z.getFluidValue)(this.animation.to)}get velocity(){let e=(0,j.getAnimated)(this);return e instanceof j.AnimatedValue?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return oe(this)}get isAnimating(){return ie(this)}get isPaused(){return le(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{toValues:a}=r,{config:o}=r,i=(0,j.getPayload)(r.to);!i&&(0,z.hasFluidValue)(r.to)&&(a=(0,z.toArray)((0,z.getFluidValue)(r.to))),r.values.forEach((l,s)=>{if(l.done)return;let u=l.constructor==j.AnimatedString?1:i?i[s].lastPosition:a[s],c=r.immediate,d=u;if(!c){if(d=l.lastPosition,o.tension<=0)return void(l.done=!0);let t,n=l.elapsedTime+=e,a=r.fromValues[s],i=null!=l.v0?l.v0:l.v0=z.is.arr(o.velocity)?o.velocity[s]:o.velocity,f=o.precision||(a==u?.005:Math.min(1,.001*Math.abs(u-a)));if(z.is.und(o.duration))if(o.decay){let e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*n);d=a+i/(1-e)*(1-r),c=Math.abs(l.lastPosition-d)<=f,t=i*r}else{t=null==l.lastVelocity?i:l.lastVelocity;let n,r=o.restVelocity||f/10,s=o.clamp?0:o.bounce,p=!z.is.und(s),m=a==u?l.v0>0:ar,n||(c=Math.abs(u-d)<=f,!c));++e)p&&(h=d==u||d>u==m,h&&(t=-t*s,d=u)),t+=(1e-6*-o.tension*(d-u)+.001*-o.friction*t)/o.mass*y,d+=t*y}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,l.durationProgress>0&&(l.elapsedTime=o.duration*l.durationProgress,n=l.elapsedTime+=e)),r=(o.progress||0)+n/this._memoizedDuration,r=r>1?1:r<0?0:r,l.durationProgress=r),d=a+o.easing(r)*(u-a),t=(d-l.lastPosition)/e,c=1==r}l.lastVelocity=t,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),c=!0)}i&&!i[s].done&&(c=!1),c?l.done=!0:t=!1,l.setValue(d,o.round)&&(n=!0)});let l=(0,j.getAnimated)(this),s=l.getValue();if(t){let e=(0,z.getFluidValue)(r.to);s===e&&!n||o.decay?n&&o.decay&&this._onChange(s):(l.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(s)}set(e){return z.raf.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(ie(this)){let{to:e,config:t}=this.animation;z.raf.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return z.is.und(e)?(n=this.queue||[],this.queue=[]):n=[z.is.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>X(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),K(this._state,e&&this._lastCallId),z.raf.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;n=z.is.obj(n)?n[t]:n,(null==n||C(n))&&(n=void 0),r=z.is.obj(r)?r[t]:r,null==r&&(r=void 0);let a={to:n,from:r};return oe(this)||(e.reverse&&([n,r]=[r,n]),r=(0,z.getFluidValue)(r),z.is.und(r)?(0,j.getAnimated)(this)||this._set(n):this._set(r)),a}_update({...e},t){let{key:n,defaultProps:r}=this;e.default&&Object.assign(r,_(e,(e,t)=>/^on/.test(t)?b(e,n):e)),be(this,e,"onProps"),ge(this,"onProps",e,this);let a=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let o=this._state;return H(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{le(this)||(ue(this,!0),(0,z.flushCalls)(o.pauseQueue),ge(this,"onPause",U(this,de(this,this.animation.to)),this))},resume:()=>{le(this)&&(ue(this,!1),ie(this)&&this._resume(),(0,z.flushCalls)(o.resumeQueue),ge(this,"onResume",U(this,de(this,this.animation.to)),this))},start:this._merge.bind(this,a)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){let t=fe(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n($(this));let r=!z.is.und(e.to),a=!z.is.und(e.from);if(r||a){if(!(t.callId>this._lastToId))return n($(this));this._lastToId=t.callId}let{key:o,defaultProps:i,animation:l}=this,{to:s,from:u}=l,{to:c=s,from:d=u}=e;a&&!r&&(!t.default||z.is.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);let f=!(0,z.isEqual)(d,u);f&&(l.from=d),d=(0,z.getFluidValue)(d);let p=!(0,z.isEqual)(c,s);p&&this._focus(c);let m=C(t.to),{config:b}=l,{decay:g,velocity:v}=b;(r||a)&&(b.velocity=0),t.config&&!m&&function(e,t,n){n&&(F(n={...n},t),t={...n,...t}),F(e,t),Object.assign(e,t);for(let t in Y)null==e[t]&&(e[t]=Y[t]);let{frequency:r,damping:a}=e,{mass:o}=e;P.is.und(r)||(r<.01&&(r=.01),a<0&&(a=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*a*o/r)}(b,h(t.config,o),t.config!==i.config?h(i.config,o):void 0);let _=(0,j.getAnimated)(this);if(!_||z.is.und(c))return n(U(this,!0));let M=z.is.und(t.reset)?a&&!t.default:!z.is.und(d)&&y(t.reset,o),w=M?d:this.get(),S=x(c),k=z.is.num(S)||z.is.arr(S)||(0,z.isAnimatedString)(S),E=!m&&(!k||y(i.immediate||t.immediate,o));if(p){let e=(0,j.getAnimatedType)(c);if(e!==_.constructor){if(!E)throw Error(`Cannot animate between ${_.constructor.name} and ${e.name}, as the "to" prop suggests`);_=this._set(S)}}let A=_.constructor,L=(0,z.hasFluidValue)(c),O=!1;if(!L){let e=M||!oe(this)&&f;(p||e)&&(O=(0,z.isEqual)(x(w),S),L=!O),(!(0,z.isEqual)(l.immediate,E)&&!E||!(0,z.isEqual)(b.decay,g)||!(0,z.isEqual)(b.velocity,v))&&(L=!0)}if(O&&ie(this)&&(l.changed&&!M?L=!0:L||this._stop(s)),!m&&((L||(0,z.hasFluidValue)(s))&&(l.values=_.getPayload(),l.toValues=(0,z.hasFluidValue)(c)?null:A==j.AnimatedString?[1]:(0,z.toArray)(S)),l.immediate!=E&&(l.immediate=E,!E&&!M&&this._set(s)),L)){let{onRest:e}=l;(0,z.each)(ye,e=>be(this,t,e));let r=U(this,de(this,s));(0,z.flushCalls)(this._pendingCalls,r),this._pendingCalls.add(n),l.changed&&z.raf.batchedUpdates(()=>{l.changed=!M,e?.(r,this),M?h(i.onRest,r):l.onStart?.(r,this)})}M&&this._set(w),m?n(G(t.to,t,this._state,this)):L?this._start():ie(this)&&!p?this._pendingCalls.add(n):n(V(w))}_focus(e){let t=this.animation;e!==t.to&&((0,z.getFluidObservers)(this)&&this._detach(),t.to=e,(0,z.getFluidObservers)(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;(0,z.hasFluidValue)(t)&&((0,z.addFluidObserver)(t,this),te(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;(0,z.hasFluidValue)(e)&&(0,z.removeFluidObserver)(e,this)}_set(e,t=!0){let n=(0,z.getFluidValue)(e);if(!z.is.und(n)){let e=(0,j.getAnimated)(this);if(!e||!(0,z.isEqual)(n,e.getValue())){let r=(0,j.getAnimatedType)(n);e&&e.constructor==r?e.setValue(n):(0,j.setAnimated)(this,r.create(n)),e&&z.raf.batchedUpdates(()=>{this._onChange(n,t)})}}return(0,j.getAnimated)(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,ge(this,"onStart",U(this,de(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),h(this.animation.onChange,e,this)),h(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;(0,j.getAnimated)(this).reset((0,z.getFluidValue)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),ie(this)||(se(this,!0),le(this)||this._resume())}_resume(){z.Globals.skipAnimation?this.finish():z.frameLoop.start(this)}_stop(e,t){if(ie(this)){se(this,!1);let n=this.animation;(0,z.each)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),(0,z.callFluidObservers)(this,{type:"idle",parent:this});let r=t?$(this.get()):U(this.get(),de(this,e??n.to));(0,z.flushCalls)(this._pendingCalls,r),n.changed&&(n.changed=!1,ge(this,"onRest",r,this))}}};function de(e,t){let n=x(t),r=x(e.get());return(0,z.isEqual)(r,n)}function fe(e,t=e.loop,n=e.to){let r=h(t);if(r){let a=!0!==r&&S(r),o=(a||e).reverse,i=!a||a.reset;return pe({...e,loop:t,default:!1,pause:void 0,to:!o||C(n)?n:void 0,from:i?e.from:void 0,reset:i,...a})}}function pe(e){let{to:t,from:n}=e=S(e),r=new Set;return z.is.obj(t)&&he(t,r),z.is.obj(n)&&he(n,r),e.keys=r.size?Array.from(r):null,e}function me(e){let t=pe(e);return z.is.und(t.default)&&(t.default=_(t)),t}function he(e,t){(0,z.eachProp)(e,(e,n)=>null!=e&&t.add(n))}var ye=["onStart","onRest","onChange","onPause","onResume"];function be(e,t,n){e.animation[n]=t[n]!==g(t,n)?b(t[n],e.key):void 0}function ge(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var ve=n(57413),_e=["onStart","onChange","onRest"],Me=1,we=class{constructor(e,t){this.id=Me++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];ve.is.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(pe(e)),this}start(e){let{queue:t}=this;return e?t=(0,ve.toArray)(e).map(pe):this.queue=[],this._flush?this._flush(this,t):(Le(this,t),Se(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){let n=this.springs;(0,ve.each)((0,ve.toArray)(t),t=>n[t].stop(!!e))}else K(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(ve.is.und(e))this.start({pause:!0});else{let t=this.springs;(0,ve.each)((0,ve.toArray)(e),e=>t[e].pause())}return this}resume(e){if(ve.is.und(e))this.start({pause:!1});else{let t=this.springs;(0,ve.each)((0,ve.toArray)(e),e=>t[e].resume())}return this}each(e){(0,ve.eachProp)(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,a=this._changed.size>0;(r&&!this._started||a&&!this._started)&&(this._started=!0,(0,ve.flush)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!r&&this._started,i=a||o&&n.size?this.get():null;a&&t.size&&(0,ve.flush)(t,([e,t])=>{t.value=i,e(t,this,this._item)}),o&&(this._started=!1,(0,ve.flush)(n,([e,t])=>{t.value=i,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}ve.raf.onFrame(this._onFrame)}};function Se(e,t){return Promise.all(t.map(t=>xe(e,t))).then(t=>X(e,t))}async function xe(e,t,n){let{keys:r,to:a,from:o,loop:i,onRest:l,onResolve:s}=t,u=ve.is.obj(t.default)&&t.default;i&&(t.loop=!1),!1===a&&(t.to=null),!1===o&&(t.from=null);let c=ve.is.arr(a)||ve.is.fun(a)?a:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):(0,ve.each)(_e,n=>{let r=t[n];if(ve.is.fun(r)){let a=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=a.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):a.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});let d=e._state;t.pause===!d.paused?(d.paused=t.pause,(0,ve.flushCalls)(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);let f=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),p=!0===t.cancel||!0===g(t,"cancel");(c||p&&d.asyncId)&&f.push(H(++e._lastAsyncId,{props:t,state:d,actions:{pause:ve.noop,resume:ve.noop,start(t,n){p?(K(d,e._lastAsyncId),n($(e))):(t.onRest=l,n(G(c,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});let m=X(e,await Promise.all(f));if(i&&m.finished&&(!n||!m.noop)){let n=fe(t,i,a);if(n)return Le(e,[n]),xe(e,n,!0)}return s&&ve.raf.batchedUpdates(()=>s(m,e,e.item)),m}function ke(e,t){let n={...e.springs};return t&&(0,ve.each)((0,ve.toArray)(t),e=>{ve.is.und(e.keys)&&(e=pe(e)),ve.is.obj(e.to)||(e={...e,to:void 0}),Ae(n,e,e=>Ee(e))}),Ce(e,n),n}function Ce(e,t){(0,ve.eachProp)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,(0,ve.addFluidObserver)(t,e))})}function Ee(e,t){let n=new ce;return n.key=e,t&&(0,ve.addFluidObserver)(n,t),n}function Ae(e,t,n){t.keys&&(0,ve.each)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Le(e,t){(0,ve.each)(t,t=>{Ae(e.springs,t,t=>Ee(t,e))})}var Oe=d(n(14041)),Te=n(14041),De=n(57413),ze=({children:e,...t})=>{let n=(0,Te.useContext)(je),r=t.pause||!!n.pause,a=t.immediate||!!n.immediate;t=(0,De.useMemoOne)(()=>({pause:r,immediate:a}),[r,a]);let{Provider:o}=je;return Oe.createElement(o,{value:t},e)},je=function(e){return Object.assign(e,Oe.createContext({})),e.Provider._context=e,e.Consumer._context=e,e}(ze);ze.Provider=je.Provider,ze.Consumer=je.Consumer;var Pe=n(57413),Be=()=>{let e=[],t=function(t){(0,Pe.deprecateDirectCall)();let r=[];return(0,Pe.each)(e,(e,a)=>{if(Pe.is.und(t))r.push(e.start());else{let o=n(t,e,a);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return(0,Pe.each)(e,e=>e.pause(...arguments)),this},t.resume=function(){return(0,Pe.each)(e,e=>e.resume(...arguments)),this},t.set=function(t){(0,Pe.each)(e,(e,n)=>{let r=Pe.is.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){let n=[];return(0,Pe.each)(e,(e,r)=>{if(Pe.is.und(t))n.push(e.start());else{let a=this._getProps(t,e,r);a&&n.push(e.start(a))}}),n},t.stop=function(){return(0,Pe.each)(e,e=>e.stop(...arguments)),this},t.update=function(t){return(0,Pe.each)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return Pe.is.fun(e)?e(n,t):e};return t._getProps=n,t};function Ye(e,t,n){let r=D.is.fun(t)&&t;r&&!n&&(n=[]);let a=(0,T.useMemo)(()=>r||3==arguments.length?Be():void 0,[]),o=(0,T.useRef)(0),i=(0,D.useForceUpdate)(),l=(0,T.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=ke(e,t);return o.current>0&&!l.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?Se(e,t):new Promise(r=>{Ce(e,n),l.queue.push(()=>{r(Se(e,t))}),i()})}}),[]),s=(0,T.useRef)([...l.ctrls]),u=[],c=(0,D.usePrev)(e)||0;function d(e,n){for(let a=e;a{(0,D.each)(s.current.slice(e,c),e=>{E(e,a),e.stop(!0)}),s.current.length=e,d(c,e)},[e]),(0,T.useMemo)(()=>{d(0,Math.min(c,e))},n);let f=s.current.map((e,t)=>ke(e,u[t])),p=(0,T.useContext)(ze),m=(0,D.usePrev)(p),h=p!==m&&k(p);(0,D.useIsomorphicLayoutEffect)(()=>{o.current++,l.ctrls=s.current;let{queue:e}=l;e.length&&(l.queue=[],(0,D.each)(e,e=>e())),(0,D.each)(s.current,(e,t)=>{a?.add(e),h&&e.start({default:p});let n=u[t];n&&(A(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),(0,D.useOnce)(()=>()=>{(0,D.each)(l.ctrls,e=>e.stop(!0))});let y=f.map(e=>({...e}));return a?[y,a]:y}function Ne(e,t){let n=O.is.fun(e),[[r],a]=Ye(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,a]:r}var Fe=n(14041),Ie=()=>Be(),Re=()=>(0,Fe.useState)(Ie)[0],We=n(57413),He=(e,t)=>{let n=(0,We.useConstant)(()=>new ce(e,t));return(0,We.useOnce)(()=>()=>{n.stop()}),n},qe=n(57413);function Xe(e,t,n){let r=qe.is.fun(t)&&t;r&&!n&&(n=[]);let a,o=!0,i=Ye(e,(e,n)=>{let i=r?r(e,n):t;return a=i.ref,o=o&&i.reverse,i},n||[{}]);if((0,qe.useIsomorphicLayoutEffect)(()=>{(0,qe.each)(i[1].current,(e,t)=>{let n=i[1].current[t+(o?1:-1)];A(e,a),e.ref?n&&e.update({to:n.springs}):n?e.start({to:n.springs}):e.start()})},n),r||3==arguments.length){let e=a??i[1];return e._getProps=(t,n,r)=>{let a=qe.is.fun(t)?t(r,n):t;if(a){let t=e.current[r+(a.reverse?1:-1)];return t&&(a.to=t.springs),a}},i}return i[0]}var Ve=d(n(14041)),Ue=n(14041),$e=n(57413);function Ge(e,t,n){let r=$e.is.fun(t)&&t,{reset:a,sort:o,trail:i=0,expires:l=!0,exitBeforeEnter:s=!1,onDestroyed:u,ref:c,config:d}=r?r():t,f=(0,Ue.useMemo)(()=>r||3==arguments.length?Be():void 0,[]),p=(0,$e.toArray)(e),m=[],y=(0,Ue.useRef)(null),b=a?null:y.current;(0,$e.useIsomorphicLayoutEffect)(()=>{y.current=m}),(0,$e.useOnce)(()=>((0,$e.each)(m,e=>{f?.add(e.ctrl),e.ctrl.ref=f}),()=>{(0,$e.each)(y.current,e=>{e.expired&&clearTimeout(e.expirationId),E(e.ctrl,f),e.ctrl.stop(!0)})}));let g=function(e,{key:t,keys:n=t},r){if(null===n){let t=new Set;return e.map(e=>{let n=r&&r.find(n=>n.item===e&&"leave"!==n.phase&&!t.has(n));return n?(t.add(n),n.key):Ke++})}return $e.is.und(n)?e:$e.is.fun(n)?e.map(n):(0,$e.toArray)(n)}(p,r?r():t,b),v=a&&y.current||[];(0,$e.useIsomorphicLayoutEffect)(()=>(0,$e.each)(v,({ctrl:e,item:t,key:n})=>{E(e,f),h(u,t,n)}));let M=[];if(b&&(0,$e.each)(b,(e,t)=>{e.expired?(clearTimeout(e.expirationId),v.push(e)):~(t=M[t]=g.indexOf(e.key))&&(m[t]=e)}),(0,$e.each)(p,(e,t)=>{m[t]||(m[t]={key:g[t],item:e,phase:"mount",ctrl:new we},m[t].ctrl.item=e)}),M.length){let e=-1,{leave:n}=r?r():t;(0,$e.each)(M,(t,r)=>{let a=b[r];~t?(e=m.indexOf(a),m[e]={...a,item:p[t]}):n&&m.splice(++e,0,a)})}$e.is.fun(o)&&m.sort((e,t)=>o(e.item,t.item));let w=-i,x=(0,$e.useForceUpdate)(),C=_(t),L=new Map,O=(0,Ue.useRef)(new Map),T=(0,Ue.useRef)(!1);(0,$e.each)(m,(e,n)=>{let a,o,u=e.key,f=e.phase,p=r?r():t,m=h(p.delay||0,u);if("mount"==f)a=p.enter,o="enter";else{let e=g.indexOf(u)<0;if("leave"!=f)if(e)a=p.leave,o="leave";else{if(!(a=p.update))return;o="update"}else{if(e)return;a=p.enter,o="enter"}}if(a=h(a,e.item,n),a=$e.is.obj(a)?S(a):{to:a},!a.config){let t=d||C.config;a.config=h(t,e.item,n,o)}w+=i;let v={...C,delay:m+w,ref:c,immediate:p.immediate,reset:!1,...a};if("enter"==o&&$e.is.und(v.from)){let a=r?r():t,o=$e.is.und(a.initial)||b?a.from:a.initial;v.from=h(o,e.item,n)}let{onResolve:_}=v;v.onResolve=e=>{h(_,e);let t=y.current,n=t.find(e=>e.key===u);if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){let e=t.every(e=>e.ctrl.idle);if("leave"==n.phase){let t=h(l,n.item);if(!1!==t){let r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(x,r)))}}e&&t.some(e=>e.expired)&&(O.current.delete(n),s&&(T.current=!0),x())}};let M=ke(e.ctrl,v);"leave"===o&&s?O.current.set(e,{phase:o,springs:M,payload:v}):L.set(e,{phase:o,springs:M,payload:v})});let D=(0,Ue.useContext)(ze),z=(0,$e.usePrev)(D),j=D!==z&&k(D);(0,$e.useIsomorphicLayoutEffect)(()=>{j&&(0,$e.each)(m,e=>{e.ctrl.start({default:D})})},[D]),(0,$e.each)(L,(e,t)=>{if(O.current.size){let e=m.findIndex(e=>e.key===t.key);m.splice(e,1)}}),(0,$e.useIsomorphicLayoutEffect)(()=>{(0,$e.each)(O.current.size?O.current:L,({phase:e,payload:t},n)=>{let{ctrl:r}=n;n.phase=e,f?.add(r),j&&"enter"==e&&r.start({default:D}),t&&(A(r,t.ref),!r.ref&&!f||T.current?(r.start(t),T.current&&(T.current=!1)):r.update(t))})},a?void 0:n);let P=e=>Ve.createElement(Ve.Fragment,null,m.map((t,n)=>{let{springs:r}=L.get(t)||t.ctrl,a=e({...r},t.item,t,n);return a&&a.type?Ve.createElement(a.type,{...a.props,key:$e.is.str(t.key)||$e.is.num(t.key)?t.key:t.ctrl.id,ref:a.ref}):a}));return f?[P,f]:P}var Ke=1,Je=n(57413),Ze=({container:e,...t}={})=>{let[n,r]=Ne(()=>({scrollX:0,scrollY:0,scrollXProgress:0,scrollYProgress:0,...t}),[]);return(0,Je.useIsomorphicLayoutEffect)(()=>{let t=(0,Je.onScroll)(({x:e,y:t})=>{r.start({scrollX:e.current,scrollXProgress:e.progress,scrollY:t.current,scrollYProgress:t.progress})},{container:e?.current||void 0});return()=>{(0,Je.each)(Object.values(n),e=>e.stop()),t()}},[]),n},Qe=n(57413),et=({container:e,...t})=>{let[n,r]=Ne(()=>({width:0,height:0,...t}),[]);return(0,Qe.useIsomorphicLayoutEffect)(()=>{let t=(0,Qe.onResize)(({width:e,height:t})=>{r.start({width:e,height:t,immediate:0===n.width.get()||0===n.height.get()})},{container:e?.current||void 0});return()=>{(0,Qe.each)(Object.values(n),e=>e.stop()),t()}},[]),n},tt=n(14041),nt=n(57413),rt={any:0,all:1};function at(e,t){let[n,r]=(0,tt.useState)(!1),a=(0,tt.useRef)(),o=nt.is.fun(e)&&e,i=o?o():{},{to:l={},from:s={},...u}=i,c=o?t:e,[d,f]=Ne(()=>({from:s,...u}),[]);return(0,nt.useIsomorphicLayoutEffect)(()=>{let e=a.current,{root:t,once:o,amount:i="any",...u}=c??{};if(!e||o&&n||typeof IntersectionObserver>"u")return;let d=new WeakMap,p=new IntersectionObserver(e=>{e.forEach(e=>{let t=d.get(e.target);if(e.isIntersecting!==!!t)if(e.isIntersecting){let t=(l&&f.start(l),r(!0),o?void 0:()=>{s&&f.start(s),r(!1)});nt.is.fun(t)?d.set(e.target,t):p.unobserve(e.target)}else t&&(t(),d.delete(e.target))})},{root:t&&t.current||void 0,threshold:"number"==typeof i||Array.isArray(i)?i:rt[i],...u});return p.observe(e),()=>p.unobserve(e)},[c]),o?[a,d]:[a,n]}function ot({children:e,...t}){return e(Ne(t))}var it=n(57413);function lt({items:e,children:t,...n}){let r=Xe(e.length,n);return e.map((e,n)=>{let a=t(e,n);return it.is.fun(a)?a(r[n]):a})}function st({items:e,children:t,...n}){return Ge(e,n)(t)}var ut=n(57413),ct=n(57413),dt=n(77597),ft=class extends re{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=(0,ct.createInterpolator)(...t);let n=this._get(),r=(0,dt.getAnimatedType)(n);(0,dt.setAnimated)(this,r.create(n))}advance(e){let t=this._get(),n=this.get();(0,ct.isEqual)(t,n)||((0,dt.getAnimated)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&mt(this._active)&&ht(this)}_get(){let e=ct.is.arr(this.source)?this.source.map(ct.getFluidValue):(0,ct.toArray)((0,ct.getFluidValue)(this.source));return this.calc(...e)}_start(){this.idle&&!mt(this._active)&&(this.idle=!1,(0,ct.each)((0,dt.getPayload)(this),e=>{e.done=!1}),ct.Globals.skipAnimation?(ct.raf.batchedUpdates(()=>this.advance()),ht(this)):ct.frameLoop.start(this))}_attach(){let e=1;(0,ct.each)((0,ct.toArray)(this.source),t=>{(0,ct.hasFluidValue)(t)&&(0,ct.addFluidObserver)(t,this),te(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){(0,ct.each)((0,ct.toArray)(this.source),e=>{(0,ct.hasFluidValue)(e)&&(0,ct.removeFluidObserver)(e,this)}),this._active.clear(),ht(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=(0,ct.toArray)(this.source).reduce((e,t)=>Math.max(e,(te(t)?t.priority:0)+1),0))}};function pt(e){return!1!==e.idle}function mt(e){return!e.size||Array.from(e).every(pt)}function ht(e){e.idle||(e.idle=!0,(0,ct.each)((0,dt.getPayload)(e),e=>{e.done=!0}),(0,ct.callFluidObservers)(e,{type:"idle",parent:e}))}var yt=(e,...t)=>new ft(e,t),bt=(e,...t)=>((0,ut.deprecateInterpolate)(),new ft(e,t)),gt=n(57413);gt.Globals.assign({createStringInterpolator:gt.createStringInterpolator,to:(e,t)=>new ft(e,t)});var vt=gt.frameLoop.advance,_t=n(57413);((e,t,n)=>{c(e,t,"default"),n&&c(n,t,"default")})(f,n(17681),e.exports)},23728(e,t,n){var r=n(91530),a=n(84505);e.exports=function(e,t){return e&&r(e,t,a)}},23792(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(99420))},23863(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(45888)),a=l(n(32912)),o=l(n(40775)),i=l(n(47855));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=6}const s=u("overflow",{constrain:0,reject:1},0);function u(e,t,n){const r=function(e,t,n){return(r,a)=>{if(void 0===r){const t=null!=a?a:n;if(void 0===t)throw new RangeError(`Must specify a ${e}`);return t}if(void 0===t[r])throw new RangeError(`Invalid ${e}: ${r}`);return t[r]}}(e,t,n);return(t,n)=>{const a=f(t);return r(a[e],n)}}function c(e,t,n,r){if(void 0===e)return t;if(!Number.isFinite(e))throw new RangeError("Number must be finite");e=Math.trunc(e);const a=Math.min(Math.max(e,t),n);if(a!==e&&1===r)throw new RangeError("Invalid overflowed value "+e);return a}function d(e,t){const n={};for(const r in t)void 0!==e[r]&&(n[r]=t[r](e[r]));return n}function f(e,t){if(void 0===e&&!t)return{};if(!m(e))throw TypeError("options must be an object or undefined");return e}const p=/object|function/;function m(e){return null!==e&&p.test(typeof e)}const h=u("roundingMode",{halfExpand:Math.round,ceil:Math.ceil,trunc:Math.trunc,floor:Math.floor});function y(){const e=new WeakMap;return[e.get.bind(e),e.set.bind(e)]}function b(e,t){Object.defineProperties(e.prototype,g(t,e=>({get:e})))}function g(e,t){const n={};for(const r in e)n[r]=t(e[r],r);return n}function v(e,t,n){const r={};for(const a of t)r[a]=n(e[a]);return r}function _(e,t){const n={};return e.forEach((e,r)=>{n[e]=t(e,r)}),n}const M=["nanosecond","microsecond","millisecond","second","minute","hour"],w=[...M,"day","week","month","year"],S=w.map(e=>e+"s"),x=_(w,(e,t)=>t),k=_(S,(e,t)=>t);function C(e,t,n,r){var a;let o;if(void 0===e){if(void 0===t)throw new RangeError("Unit is required");o=t}else if(o=null!=(a=x[e])?a:k[e],void 0===o||or)throw new RangeError("Invalid unit "+e);return o}function E(e,t,n,r,o,i){var l;const s=f(e),u=null!=(l=s.roundingIncrement)?l:1,c=C(s.smallestUnit,n,r,o),d=h(s,i?Math.round:Math.trunc);let p=s.largestUnit;"auto"===p&&(p=void 0);const m=C(p,t=Math.max(t,c),r,o);if(c>m)throw new RangeError("Bad smallestUnit/largestUnit");if(c<6){const e=a[c+1],t=a[c]*u;if(e===t)throw new RangeError("Must not equal larger unit");if(e%t)throw new RangeError("Must divide into larger unit")}return{smallestUnit:c,largestUnit:m,roundingFunc:d,roundingIncrement:u}}function A(e,t,n,o){var i;const l=f("string"==typeof e?{smallestUnit:e}:e,!0),s=null!=(i=l.roundingIncrement)?i:1,u=C(l.smallestUnit,void 0,t,n),c=h(l,Math.round),d=a[u]*s;if(6===u){if(1!==s)throw new RangeError("When smallestUnit is days, roundingIncrement must be 1")}else{const e=o?r:a[u+1];if(!o&&e===d)throw new RangeError("Must not equal larger unit");if(e%d)throw new RangeError("Must divide into larger unit")}return{smallestUnit:u,roundingFunc:c,incNano:d}}const L=Symbol();function O(e,t,...n){return t instanceof e?t:e.from(t,...n)}class T{toJSON(){return this.toString()}}class D extends T{valueOf(){throw new Error("Cannot convert object using valueOf")}}const[z,j]=y();class P extends D{constructor(e){super(),j(this,Object.freeze(e))}getISOFields(){return z(this)}}function B(e,t){return et?1:0}function Y(e){return B(e,0)}function N(e,t,n){return n(e/t)*t}function F(e){return N(e,6e10,I)}function I(e){return Math.round(Math.abs(e))*Y(e)}function R(e,t,n){const r=e.div(t).mult(t),a=e.sub(r).toNumber();return r.add(n(a/t)*t)}function W(e,t){return(e%t+t)%t}function H(e,t){return X(n=String(e),t,"0")+n;var n}function q(e,t,n){return e+X(e,t,n)}function X(e,t,n){return new Array(Math.max(0,t-e.length+1)).join(n)}function V(e){return e<0?"-":"+"}const U=Math.pow(10,8);class ${constructor(e,t){this.high=e,this.low=t}sign(){return Y(this.high)||Y(this.low)}neg(){return new $(-this.high||0,-this.low||0)}abs(){return this.sign()<0?this.neg():this}add(e){const[t,n]=J(e);return Z(this.high+t,this.low+n)}sub(e){const[t,n]=J(e);return Z(this.high-t,this.low-n)}mult(e){return Z(this.high*e,this.low*e)}div(e){const t=this.high/e;let n=String(t);-1!==n.indexOf("e-")&&(n=t.toFixed(20));const r=n.indexOf(".");let a=0;if(-1!==r){let e=n.substr(r+1);e=q(e,8,"0"),e=e.substr(0,8),a=parseInt(e)*(Y(t)||1)}return Z(Math.trunc(t)||0,Math.trunc(this.low/e)+a)}toNumber(){return this.high*U+this.low}toBigInt(){return BigInt(this.high)*BigInt(U)+BigInt(this.low)}}function G(e,t){let n,r;if(e instanceof $)n=e.high,r=e.low;else if("number"==typeof e){if(t)throw new TypeError("Must supply bigint, not number");n=Math.trunc(e/U),r=e%U||0}else if("bigint"==typeof e){const t=BigInt(U);n=Number(e/t),r=Number(e%t||0)}else{if("string"!=typeof e)throw new Error("Invalid type of BigNano");{if((e=e.trim()).match(/\D/))throw new SyntaxError(`Cannot parse ${e} to a BigInt`);const t=e.length-8;n=Number(e.substr(t)),r=Number(e.substr(0,t))}}return new $(n,r)}function K(e,t){return B(e.high,t.high)||B(e.low,t.low)}function J(e){return"number"==typeof e?[0,e]:[e.high,e.low]}function Z(e,t){let n=t%U||0,r=e+Math.trunc(t/U);const a=Y(r),o=Y(n);return o&&a&&o!==a&&(r+=o,n-=U*o),new $(r,n)}const Q=S.concat("sign");function ee(e){return v(e,Q,e=>-e||0)}function te(e,t){var n,r,a,o,i,l,s,u,c,d;return ne({years:null!=(n=t.years)?n:e.years,months:null!=(r=t.months)?r:e.months,weeks:null!=(a=t.weeks)?a:e.weeks,days:null!=(o=t.days)?o:e.days,hours:null!=(i=t.hours)?i:e.hours,minutes:null!=(l=t.minutes)?l:e.minutes,seconds:null!=(s=t.seconds)?s:e.seconds,milliseconds:null!=(u=t.milliseconds)?u:e.milliseconds,microseconds:null!=(c=t.microseconds)?c:e.microseconds,nanoseconds:null!=(d=t.nanoseconds)?d:e.nanoseconds})}function ne(e){return{...e,sign:re(e)}}function re(e){let t=0;for(const n of S)if(e[n]){t=Y(e[n]);break}return t}function ae(e){let t=9;for(;t>0&&!e[S[t]];)t--;return t}const oe={isoHour:0,isoMinute:0,isoSecond:0,isoMillisecond:0,isoMicrosecond:0,isoNanosecond:0},ie={hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0};function le(e){return{isoHour:e.hour||0,isoMinute:e.minute||0,isoSecond:e.second||0,isoMillisecond:e.millisecond||0,isoMicrosecond:e.microsecond||0,isoNanosecond:e.nanosecond||0}}function se(e){return G(r).mult(e.days).add(ue(e))}function ue(e){return G(e.nanoseconds).add(G(e.microseconds).mult(1e3)).add(G(e.milliseconds).mult(1e6)).add(G(e.seconds).mult(1e9)).add(G(e.minutes).mult(6e10)).add(G(e.hours).mult(n))}function ce(e){return e.isoHour*n+6e10*e.isoMinute+1e9*e.isoSecond+1e6*e.isoMillisecond+1e3*e.isoMicrosecond+e.isoNanosecond}function de(e,t){let a,o=0,i=0,l=0,s=0,u=0,c=0;switch(t){case 6:a=e.div(r),o=a.toNumber(),e=e.sub(a.mult(r));case 5:a=e.div(n),i=a.toNumber(),e=e.sub(a.mult(n));case 4:a=e.div(6e10),l=a.toNumber(),e=e.sub(a.mult(6e10));case 3:a=e.div(1e9),s=a.toNumber(),e=e.sub(a.mult(1e9));case 2:a=e.div(1e6),u=a.toNumber(),e=e.sub(a.mult(1e6));case 1:a=e.div(1e3),c=a.toNumber(),e=e.sub(a.mult(1e3))}return ne({years:0,months:0,weeks:0,days:o,hours:i,minutes:l,seconds:s,milliseconds:u,microseconds:c,nanoseconds:e.toNumber()})}function fe(e){const t=Math.floor(e/r);e-=t*r;const a=Math.floor(e/n);e-=a*n;const o=Math.floor(e/6e10);e-=6e10*o;const i=Math.floor(e/1e9);e-=1e9*i;const l=Math.floor(e/1e6);e-=1e6*l;const s=Math.floor(e/1e3);return[{isoHour:a,isoMinute:o,isoSecond:i,isoMillisecond:l,isoMicrosecond:s,isoNanosecond:e-=1e3*s},t]}const pe={gregory:{bce:-1,ce:0},ethioaa:{era0:0},ethiopic:{era0:0,era1:5500},coptic:{era0:-1,era1:0},roc:{beforeroc:-1,minguo:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0},japanese:{bce:-1,ce:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018}};class me{constructor(e){this.id=e}monthCode(e,t){return"M"+H(e,2)}convertMonthCode(e,t){const n=/L$/.test(e),r=parseInt(e.substr(1));if(n)throw new RangeError("Calendar system doesnt support leap months");return[r,!1]}}function he(e,t,n,r){var a;let o=null==(a=pe[ye(e)])?void 0:a[n];if(void 0===o){if(!r)throw new Error("Unkown era "+n);o=0}return(o+t)*(Y(o)||1)}function ye(e){return e.split("-")[0]}class be extends me{computeFields(e){const t=ke(e);return{era:void 0,eraYear:void 0,year:t.isoYear,month:t.isoMonth,day:t.isoDay}}epochMilliseconds(e,t,n){return Se(e,t,n)}daysInMonth(e,t){return 2===t?this.inLeapYear(e)?29:28:4===t||6===t||9===t||11===t?30:31}monthsInYear(){return 12}inLeapYear(e){return e%4==0&&(e%100!=0||e%400==0)}guessYearForMonthDay(){return ve}normalizeISOYearForMonthDay(){return ve}}const ge=new be("iso8601"),ve=1972,_e=Symbol();function Me(e){return we(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond)}function we(e,t,n,r,a,o,i,l,s){return G(Se(e,t,n,r,a,o,i)).mult(1e6).add(1e3*(null!=l?l:0)+(null!=s?s:0))}function Se(e,t,n,r,a,o,i){const l=Y(e);let s,u,c=0;const d=e>=0&&e<1e3,f=d?e+1200:e;for(;c<31;c++){s=n-l*c;const e=Date.UTC(f,t-1,s,null!=r?r:0,null!=a?a:0,null!=o?o:0,null!=i?i:0);if(!Te(e)){u=e+l*c*864e5;break}}return(void 0===u||s<1||s>ge.daysInMonth(e,t))&&De(),d&&(u=new Date(u).setUTCFullYear(e)),u}function xe(e){let t=e.div(1e6),n=e.sub(t.mult(1e6)).toNumber();n<0&&(n+=1e6,t=t.sub(1));const r=Math.floor(n/1e3);return n-=1e3*r,{...ke(t.toNumber()),isoMicrosecond:r,isoNanosecond:n}}function ke(e){const[t,n]=Oe(e);return{isoYear:t.getUTCFullYear(),isoMonth:t.getUTCMonth()+1,isoDay:t.getUTCDate()+n,isoHour:t.getUTCHours(),isoMinute:t.getUTCMinutes(),isoSecond:t.getUTCSeconds(),isoMillisecond:t.getUTCMilliseconds()}}function Ce(e){var t;return null!=(t=e[_e])?t:Me(e.getISOFields())}function Ee(e){return Math.floor(Se(e,1,1)/1e3)}function Ae(e){return Oe(e.div(1e6).toNumber())[0].getUTCFullYear()}function Le(e,t,n){const[r,a]=Oe(Se(e,t,n));return W(r.getUTCDay()+a,7)||7}function Oe(e){const t=Y(e);let n,r=0;for(;r<31;r++){const a=new Date(e-t*r*864e5);if(!Te(a)){n=a;break}}return void 0===n&&De(),[n,t*r]}function Te(e){return isNaN(e.valueOf())}function De(){throw new RangeError("Date outside of supported range")}function ze(e,t){return Math.round((t-e)/864e5)}function je(e,t){return e+864e5*t}function Pe(e,t){return!Be(e,t)&&e.calendar.toString()===t.calendar.toString()}function Be(e,t){return K(Me(e.getISOFields()),Me(t.getISOFields()))}function Ye(e,t){return B(ce(e.getISOFields()),ce(t.getISOFields()))}function Ne(e,t){return B(e.year,t.year)||B(e.month,t.month)||B(e.day,t.day)}function Fe(e,t){return K(e[_e],t[_e])}function Ie(e,t,n,r,a){return[e=Number(e),t=c(t,1,r.monthsInYear(e),a),n=c(n,1,r.daysInMonth(e,t),a)]}function Re(e,t){const[n,r,a]=Ie(e.isoYear,e.isoMonth,e.isoDay,ge,t);return{isoYear:n,isoMonth:r,isoDay:a}}function We(e,t){return{...Re(e,t),...He(e,t)}}function He({isoHour:e,isoMinute:t,isoSecond:n,isoMillisecond:r,isoMicrosecond:a,isoNanosecond:o},i){return{isoHour:e=c(e,0,23,i),isoMinute:t=c(t,0,59,i),isoSecond:n=c(n,0,59,i),isoMillisecond:r=c(r,0,999,i),isoMicrosecond:a=c(a,0,999,i),isoNanosecond:o=c(o,0,999,i)}}const qe={era:String,eraYear:Number,year:Number,month:Number,monthCode:String},Xe={...qe,day:Number},Ve={hour:Number,minute:Number,second:Number,millisecond:Number,microsecond:Number,nanosecond:Number},Ue={era:String,eraYear:Number,year:Number,month:Number,monthCode:String,day:Number},$e=_(S,()=>Number);class Ge extends be{computeFields(e){const t=super.computeFields(e),{year:n}=t;return{...t,era:n<1?"bce":"ce",eraYear:n<1?-(n-1):n}}}const Ke=u("calendarName",{auto:0,never:1,always:2},0),Je=u("disambiguation",{compatible:0,earlier:1,later:2,reject:3},0);function Ze(e,t=4){const n=f(e),r=n.smallestUnit,i=n.fractionalSecondDigits;let l,s=0,u=1;return void 0!==r?(s=C(r,void 0,0,t),u=a[s],l=o[s]||0):void 0!==i&&"auto"!==i&&(l=c(i,0,9,1),u=Math.pow(10,9-l)),{smallestUnit:s,fractionalSecondDigits:l,roundingFunc:h(e,Math.trunc),incNano:u}}const Qe=u("timeZoneName",{auto:0,never:1},0);function et(e,t){return tt(e)+"T"+rt(e,t)}function tt(e){return nt(e)+"-"+H(e.isoDay,2)}function nt(e){const{isoYear:t}=e;return(t<1e3||t>9999?V(t)+H(Math.abs(t),6):H(t,4))+"-"+H(e.isoMonth,2)}function rt(e,t){const n=[H(e.isoHour,2)];return t.smallestUnit<=4&&(n.push(H(e.isoMinute,2)),t.smallestUnit<=3&&n.push(H(e.isoSecond,2)+lt(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t.fractionalSecondDigits)[0])),n.join(":")}function at(e){const[t,n]=fe(Math.abs(e)),r=lt(t.isoMillisecond,t.isoMicrosecond,t.isoNanosecond,void 0)[0];return V(e)+H(t.isoHour+24*n,2)+":"+H(t.isoMinute,2)+(t.isoSecond||r?":"+H(t.isoSecond,2)+r:"")}function ot(e,t){return e&&(2===t||1!==t&&"iso8601"!==e)?`[u-ca=${e}]`:""}function it(e){return e.map(([e,t,n])=>n||e?Math.abs(e).toLocaleString("fullwide",{useGrouping:!1})+t:"").join("")}function lt(e,t,n,r,o,i){let l=G(e).mult(1e6).add(G(t).mult(1e3)).add(n);o&&(l=R(l,void 0===r?a[i]:Math.pow(10,9-r),o));const s=l.abs(),u=s.div(1e9);let c=H(s.sub(u.mult(1e9)).toNumber(),9);return c=void 0===r?c.replace(/0+$/,""):c.substr(0,r),[c?"."+c:"",u.toNumber()*(l.sign()||1)]}function st(e){b(e,{epochNanoseconds(){return this[_e].toBigInt()},epochMicroseconds(){return this[_e].div(1e3).toBigInt()},epochMilliseconds(){return this[_e].div(1e6).toNumber()},epochSeconds(){return this[_e].div(1e9).toNumber()}})}const ut={calendar:"calendar"};for(const e of w)ut[e]="iso"+((ct=e).charAt(0).toUpperCase()+ct.slice(1));var ct;function dt(e,t=[]){b(e,_(t.concat("calendar"),e=>function(){return this.getISOFields()[ut[e]]}))}const ft=["era","eraYear","year","month","monthCode","daysInMonth","daysInYear","monthsInYear","inLeapYear"],pt=[...ft,"day","dayOfWeek","dayOfYear","weekOfYear","daysInWeek"];function mt(e,t){b(e,_(t,e=>function(){const t=this.calendar[e](this);return Object.defineProperty(this,e,{value:t}),t}))}function ht(e,t){(e.prototype||e)[Symbol.toStringTag]="Temporal."+t}const yt=u("offset",{prefer:0,use:1,ignore:2,reject:3});function bt(e,t,n=0){const a=e.getPossibleInstantsFor(t);if(1===a.length)return a[0];if(3===n)throw new RangeError("Ambiguous offset");if(a.length)return a[2===n?1:0];{const a=function(e,t){const n=Ce(t),a=e.getOffsetNanosecondsFor(new Ea(n.sub(r)));return e.getOffsetNanosecondsFor(new Ea(n.add(r)))-a}(e,t),o=e.getPossibleInstantsFor(t.add({nanoseconds:a*(1===n?-1:1)}));return o[1===n?0:o.length-1]}}function gt({year:e,month:t,day:n},r,a,o){e+=r;const i=c(t,1,a.monthsInYear(e),o);let l=t===i?n:1;return l=c(l,1,a.daysInMonth(e,i),o),{year:e,month:i,day:l}}function vt({year:e,month:t,day:n},r,a,o){if(r){if(t+=r,r<0)for(;t<1;)t+=a.monthsInYear(--e);else{let n;for(;t>(n=a.monthsInYear(e));)t-=n,e++}n=c(n,1,a.daysInMonth(e,t),o)}return{year:e,month:t,day:n}}function _t({isoYear:e,isoMonth:t,isoDay:n},r){if(r){let a=Se(e,t,n);a=je(a,r),({isoYear:e,isoMonth:t,isoDay:n}=ke(a))}return{isoYear:e,isoMonth:t,isoDay:n}}function Mt(e,t){if(ae(t)>=6)throw new RangeError("Duration cant have units >= days");return e.add(ue(t))}function wt(e,t,n=3,r){const{offsetNanoseconds:a,timeZone:o,Z:i}=e;if(void 0!==a&&2!==n){if(1===n||i)return Me(e).sub(a);{const r=St(e,a,o,t);if(void 0!==r)return r;if(3===n)throw new RangeError("Mismatching offset/timezone")}}return bt(o,Nr(e),Je(r))[_e]}function St(e,t,n,r){const a=n.getPossibleInstantsFor(Nr(e)),o=Me(e),i=r?F(t):t;for(const e of a){const t=e[_e],n=o.sub(t).toNumber();if((r?F(n):n)===i)return t}}function xt(e){const{timeZone:t}=e,n={...e,...oe,calendar:new fa("iso8601")},r={..._t(n,1),...oe,calendar:new fa("iso8601")},a=bt(t,Nr(n))[_e];return bt(t,Nr(r))[_e].sub(a).toNumber()}const kt="(\\d{2})(:?(\\d{2})(:?(\\d{2})([.,](\\d{1,9}))?)?)?",Ct="([+-])"+kt,Et="(Z|"+Ct+")?(\\[([^=\\]]+)\\])?(\\[u-ca=([^\\]]+)\\])?",At=Pt("([+-]\\d{6}|\\d{4})-?(\\d{2})"+Et),Lt=Pt("(--)?(\\d{2})-?(\\d{2})"+Et),Ot=Pt("([+-]\\d{6}|\\d{4})-?(\\d{2})-?(\\d{2})([T ](\\d{2})(:?(\\d{2})(:?(\\d{2})([.,](\\d{1,9}))?)?)?)?"+Et),Tt=Pt("T?"+kt+Et),Dt=Pt(Ct),zt=/^([-+])?P(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T((\d+)([.,](\d{1,9}))?H)?((\d+)([.,](\d{1,9}))?M)?((\d+)([.,](\d{1,9}))?S)?)?$/i,jt=/\u2212/g;function Pt(e){return new RegExp(`^${e}$`,"i")}function Bt(e){return e.replace(jt,"-")}function Yt(e){const t=Rt(e);if(!t)throw Qt("dateTime",e);return t}function Nt(e){const t=Wt(e);if(!t)throw Qt("dateTime",e);return t}function Ft(e){const t=Xt(e);if(void 0===t)throw Qt("timeZone",e);return t}const It=/^Z$/i;function Rt(e){const t=Ot.exec(Bt(e));if(t)return function(e){const t=e[11];let n,r=!1;return t&&(r=It.test(t),n=r?0:$t(e.slice(12))),{...Vt(e),timeZone:e[21],offsetNanoseconds:n,Z:r}}(t.slice(1))}function Wt(e,t,n){const r=Ot.exec(Bt(e));if(r&&(n||!It.test(r[12]))&&(!t||r[4]))return Vt(r.slice(1))}function Ht(e){const t=At.exec(Bt(e));if(t)return{calendar:(n=t.slice(1))[14],isoYear:Jt(n[0]),isoMonth:Jt(n[1]),isoDay:1};var n}function qt(e){const t=Lt.exec(Bt(e));if(t)return{calendar:(n=t.slice(1))[15],isoYear:ve,isoMonth:Jt(n[1]),isoDay:Jt(n[2])};var n}function Xt(e){const t=Dt.exec(Bt(e));if(t)return $t(t.slice(1))}function Vt(e){return{calendar:e[23],isoYear:Jt(e[0]),isoMonth:Jt(e[1]),isoDay:Jt(e[2]),...Ut(e.slice(4))}}function Ut(e){const t=Kt(e[4]);return{...fe(Gt(e[6]||""))[0],isoHour:Kt(e[0]),isoMinute:Kt(e[2]),isoSecond:60===t?59:t}}function $t(e){return("+"===e[0]?1:-1)*function(e){return Kt(e[0])*n+6e10*Kt(e[2])+1e9*Kt(e[4])+Gt(e[6]||"")}(e.slice(1))}function Gt(e){return parseInt(q(e,9,"0"))}function Kt(e){return parseInt(e||"0")}function Jt(e){return parseInt(e||"1")}function Zt(e){return void 0===e?void 0:parseInt(e)}function Qt(e,t){throw new RangeError(`Cannot parse ${e} '${t}'`)}function en(e){return{...e,calendar:void 0===e.calendar?pa():new fa(e.calendar)}}function tn(e){return{...en(e),timeZone:new gn(e.timeZone)}}class nn{constructor(e){this.id=e}}class rn extends nn{constructor(e,t){super(e),this.offsetNano=t}getPossibleOffsets(){return[this.offsetNano]}getOffset(){return this.offsetNano}getTransition(){}}function an(e,t){const n={},r=e.formatToParts(t);for(const e of r)n[e.type]=e.value;return n}const on={bc:"bce",ad:"ce"};function ln(e){return e=e.toLowerCase().normalize("NFD").replace(/[^a-z0-9]/g,""),on[e]||e}const sn=Intl.DateTimeFormat;function un(e){return[].concat(e||[])}const cn={"Pacific/Apia":{2011:[[dn(13017528e5),-36e12,-396e11],[dn(13168728e5),-396e11,-36e12],[dn(13252392e5),-36e12,504e11]]}};function dn(e){return G(e).mult(1e6)}const fn=(new Date).getUTCFullYear()+10,pn=[182,91,273];class mn extends nn{constructor(e){const t=new sn("en-GB",{era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZone:e});super(t.resolvedOptions().timeZone),this.format=t,this.yearEndOffsets={},this.transitionsInYear=cn[e]||{}}getPossibleOffsets(e){let t;const n=[this.getTransition(e,-1),this.getTransition(e.sub(1),1)].filter(Boolean);for(const r of n){const[n,a,o]=r,i=e.sub(a),l=e.sub(o);if(K(n,i)>0&&K(n,l)>0)return[a];if(!(K(n,i)<=0&&K(n,l)<=0))return afn){const r=this.getTransitionFrom(n,n+t,t,e);if(r||t>0)return r;n=fn}return this.getTransitionFrom(Math.max(n,1847),t<0?1846:fn,t,e)}getTransitionFrom(e,t,n,r){for(;e!==t;e+=n){let t=this.getTransitionsInYear(e);n<0&&(t=t.slice().reverse());for(const e of t)if(K(e[0],r)===n)return e}}getYearEndOffsetSec(e){const{yearEndOffsets:t}=this;return t[e]||(t[e]=this.getOffsetForEpochSecs(Ee(e+1)-1))}getTransitionsInYear(e){const{transitionsInYear:t}=this;return t[e]||(t[e]=this.computeTransitionsInYear(e))}computeTransitionsInYear(e){const t=this.getYearEndOffsetSec(e-1),n=this.getYearEndOffsetSec(e),r=Ee(e)-1,a=Ee(e+1)-1;if(t!==n)return[this.searchTransition(r,a,t,n)];const o=this.searchIsland(t,r);return void 0!==o?[this.searchTransition(r,o[0],t,o[1]),this.searchTransition(o[0],a,o[1],n)]:[]}searchTransition(e,t,n,r){for(;t-e>1;){const r=Math.floor(e+(t-e)/2);this.getOffsetForEpochSecs(r)===n?e=r:t=r}return[G(t).mult(1e9),1e9*n,1e9*r]}searchIsland(e,t){for(const n of pn){const r=t+86400*n,a=this.getOffsetForEpochSecs(r);if(a!==e)return[r,a]}}}const hn={UTC:new rn("UTC",0)},[yn,bn]=y();class gn extends T{constructor(e){if(!e)throw new RangeError("Invalid timezone ID");super(),bn(this,function(e){const t=(e=String(e)).toLocaleUpperCase();if(hn[t])return hn[t];const n=Xt(e);if(void 0!==n){if(Math.abs(n)>r)throw new RangeError("Offset out of bounds");return new rn(at(n),n)}return hn[t]=new mn(e)}(e))}static from(e){if(m(e))return function(e){const t=e.timeZone;return void 0===t?e:m(t)&&void 0===t.timeZone?t:new gn(t)}(e);const t=Rt(String(e));if(t){if(t.timeZone){const e=tn(t);return function(e){const{offsetNanoseconds:t,timeZone:n,Z:r}=e;if(void 0!==t&&!r&&void 0===St(e,t,n,!0))throw new RangeError("Mismatching offset/timezone")}(e),e.timeZone}if(t.Z)return new gn("UTC");if(void 0!==t.offsetNanoseconds)return new gn(at(t.offsetNanoseconds))}return new gn(String(e))}get id(){return this.toString()}getOffsetStringFor(e){return at(this.getOffsetNanosecondsFor(e))}getOffsetNanosecondsFor(e){const t=O(Ea,e);return yn(this).getOffset(t[_e])}getPlainDateTimeFor(e,t=pa()){const n=O(Ea,e);return Nr({...xe(n[_e].add(this.getOffsetNanosecondsFor(n))),calendar:O(fa,t)})}getInstantFor(e,t){return bt(this,O(Yr,e),Je(t))}getPossibleInstantsFor(e){const t=Me(O(Yr,e).getISOFields());return yn(this).getPossibleOffsets(t).map(e=>new Ea(t.sub(e)))}getPreviousTransition(e){const t=O(Ea,e),n=yn(this).getTransition(t[_e],-1);return n?new Ea(n[0]):null}getNextTransition(e){const t=O(Ea,e),n=yn(this).getTransition(t[_e],1);return n?new Ea(n[0]):null}toString(){return yn(this).id}}function vn(e){if(void 0===e.timeZone)throw new TypeError("Must specify timeZone");return O(gn,e.timeZone)}ht(gn,"TimeZone");const _n=Wn(function(e,t,n){const r=zn(e,t,n);if(r)return{...r,timeZone:vn(e),offsetNanoseconds:void 0!==e.offset?Ft(String(e.offset)):void 0}}),Mn=Wn(zn),wn=Wn(jn),Sn=Wn(function(e,t){const n=ya(e),r=Fn(e,qe,n);if(Hn(r))return n.yearMonthFromFields(r,t)}),xn=Wn(function(e,t){const n=ya(e),r=Fn(e,Ue,n);if(Hn(r))return void 0===e.year&&void 0===e.calendar&&(r.year=ve),n.monthDayFromFields(r,t)}),kn=Wn(Pn),Cn=Wn(function(e,t,n,r){const a=Bn(e,t,n,r),o=void 0!==t.offset;if(a||o)return{...a||e.getISOFields(),timeZone:e.timeZone,offsetNanoseconds:o?Ft(String(t.offset)):e.offsetNanoseconds}},!0),En=Wn(Bn,!0),An=Wn(Yn,!0),Ln=Wn(function(e,t,n){const r=e.calendar;if(Hn(Fn(t,qe,r))){const a=Rn(e,t,qe,r);return r.yearMonthFromFields(a,n)}},!0),On=Wn(function(e,t,n){const r=e.calendar;if(Hn(Fn(t,Ue,r))){const a=Rn(e,t,Ue,r);return r.monthDayFromFields(a,n)}},!0),Tn=Wn(Nn,!0),Dn=Wn(function(e){const t=d(e,$e);if(Hn(t))return t});function zn(e,t,n){const r=jn(e,n),a=Pn(e,t);if(r)return{...r.getISOFields(),...a||oe}}function jn(e,t){const n=ya(e),r=Fn(e,Xe,n);if(Hn(r))return n.dateFromFields(r,t)}function Pn(e,t){const n=d(e,Ve);if(Hn(n))return He(le(n),t)}function Bn(e,t,n,r){const a=Yn(e,t,r),o=Nn(e,t,n);if(a||o)return{...e.getISOFields(),...a?a.getISOFields():{},...o}}function Yn(e,t,n){const r=e.calendar,a=Fn(t,Xe,r);if(Hn(a)){const t=Rn(e,a,Xe,r);return r.dateFromFields(t,n)}}function Nn(e,t,n){const r=d(t,Ve);if(Hn(r))return He(le((a=e,o=r,g(Ve,(e,t)=>{var n;return null!=(n=o[t])?n:a[t]}))),n);var a,o}function Fn(e,t,n){let r=Object.keys(t);return r=n.fields?Array.prototype.slice.call(n.fields(r)):Object.keys(In(n,r)),In(e,r)}function In(e,t){const n={};for(const r of t)void 0!==e[r]&&(n[r]=e[r]);return n}function Rn(e,t,n,r){const a=Fn(e,n,r);return r.mergeFields?r.mergeFields(a,t):ma(a,t)}function Wn(e,t){return(...n)=>{if(t){const e=n[1];if(!m(e))throw new TypeError("must be object-like");if(void 0!==e.calendar)throw new TypeError("calendar not allowed");if(void 0!==e.timeZone)throw new TypeError("timeZone not allowed")}const r=e(...n);if(!r)throw new TypeError("No valid fields");return r}}function Hn(e){return Object.keys(e).length>0}const qn=G(r).mult(1e8),Xn=qn.mult(-1),Vn=qn.add(86399999999999),Un=Xn.sub(86399999999999);function $n(e,t){const n=Me(e);Gn(n),ia(n,t)}function Gn(e){-1!==K(e,Un)&&1!==K(e,Vn)||De()}function Kn(e,t){const n=Zn(ce(e),t),[r,a]=fe(n);return{..._t(e,a),...r}}function Jn(e,t){const n=Zn(ce(e),t),[r]=fe(n);return r}function Zn(e,t){return N(e,t.incNano,t.roundingFunc)}function Qn(e,t,n){return(r,a)=>{const o=or(e,a)?{}:{...e,...t};return{buildKey:ar(r,a,!1),buildFormat:function(e,t){return new sn(r,{calendar:e,timeZone:t||void 0,...o,...a,...n})},buildEpochMilli:er}}}function er(e){return e.epochMilliseconds}function tr(e,t,n){return(r,a)=>{const o=or(e,a)?{}:e;return{buildKey:ar(r,a,n),buildFormat:function(e,n){return new sn(r,{calendar:e,...o,...a,...t,timeZone:n,timeZoneName:void 0})},buildEpochMilli:void 0!==a.timeZone?nr.bind(null,new gn(a.timeZone)):rr}}}function nr(e,t){const n=Nr({...oe,...t.getISOFields()});return e.getInstantFor(n).epochMilliseconds}function rr(e){return Se((t=e.getISOFields()).isoYear,t.isoMonth,t.isoDay,t.isoHour,t.isoMinute,t.isoSecond,t.isoMillisecond);var t}function ar(e,t,n){var r;const a=null!=(r=t.calendar)?r:function(e){for(const t of e){const e=t.match(/-u-ca-(.*)$/);if(e)return e[1]}}(e),o=t.timeZone;return function(e,t){var r,i,l,s;const u=null==(r=e.calendar)?void 0:r.id,c=null==(i=e.timeZone)?void 0:i.id;if(t){if((null==(l=t.calendar)?void 0:l.id)!==u)throw new RangeError("Mismatching calendar");if((null==(s=t.timeZone)?void 0:s.id)!==c)throw new RangeError("Mismatching timeZone")}if((n||"iso8601"!==u)&&void 0!==u&&void 0!==a&&a!==u)throw new RangeError("Non-iso calendar mismatch");if(void 0!==c&&void 0!==o&&o!==c)throw new RangeError("Given timeZone must agree");return[a||u||"iso8601",o||c||"UTC"]}}function or(e,t){for(const n in e)if(void 0!==t[n])return!0;return!1}function ir(e,t){e.prototype.toLocaleString=function(e,n){const r=t(un(e),n||{});return r.buildFormat(...r.buildKey(this)).format(r.buildEpochMilli(this))},e.prototype[L]=t}function lr(e){return null==e?void 0:e[L]}function sr(e,t,n,r){if(void 0!==e){if(void 0!==r)throw new RangeError("Partial units must be last unit");return[parseInt(e),void 0!==t?Gt(t)*(a[n]/1e9):void 0]}if(void 0!==r){const e=Math.trunc(r/a[n]);return[e,r-e*a[n]]}return[void 0,void 0]}const ur=u("offset",{auto:0,never:1},0);class cr extends P{constructor(e=0,t=0,n=0,r=0,a=0,o=0){super({...He({isoHour:e,isoMinute:t,isoSecond:n,isoMillisecond:r,isoMicrosecond:a,isoNanosecond:o},1),calendar:pa()})}static from(e,t){const n=s(t);return dr(e instanceof cr?e.getISOFields():"object"==typeof e?kn(e,n):function(e){let t=function(e){const t=Tt.exec(Bt(e));if(t)return Ut(t.slice(1))}(e);if(void 0!==t){if("T"!==e.charAt(0)){const n=Ht(e)||qt(e);n&&function(e){try{return Re(e,1),!0}catch(e){return!1}}(n)&&(t=void 0)}}else t=Wt(e,!0);if(void 0===t)throw Qt("time",e);return t}(String(e)))}static compare(e,t){return Ye(O(cr,e),O(cr,t))}with(e,t){return dr(Tn(this,e,s(t)))}add(e){return pr(this,O(jr,e))}subtract(e){return pr(this,ee(O(jr,e)))}until(e,t){return mr(this,O(cr,e),t)}since(e,t){return mr(O(cr,e),this,t)}round(e){const t=A(e,0,5);return dr(Jn(this.getISOFields(),t))}equals(e){return!Ye(this,O(cr,e))}toString(e){const t=Ze(e);return rt(Jn(this.getISOFields(),t),t)}toZonedDateTime(e){const t=O(_a,e.plainDate),n=O(gn,e.timeZone);return wr({...t.getISOFields(),...this.getISOFields(),timeZone:n})}toPlainDateTime(e){return O(_a,e).toPlainDateTime(this)}}function dr(e){return new cr(e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond)}function fr(e){return O(cr,null!=e?e:{hour:0})}function pr(e,t){return dr(function(e,t){const n=ce(e)+ue(t).toNumber(),[r]=fe(n);return r}(e.getISOFields(),t))}function mr(e,t,n){const r=E(n,5,0,0,5);return Pr(function(e,t,n){return de(G(N(ce(t)-ce(e),a[n.smallestUnit]*n.roundingIncrement,n.roundingFunc)),n.largestUnit)}(e.getISOFields(),t.getISOFields(),r))}ht(cr,"PlainTime"),dt(cr,M),ir(cr,function(e,t){return{buildKey:()=>["",""],buildFormat:()=>new sn(e,{hour:"numeric",minute:"2-digit",second:"2-digit",...t,timeZone:"UTC",timeZoneName:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0}),buildEpochMilli:e=>Math.trunc(ce(e.getISOFields())/1e6)}});const hr={day:1};class yr extends P{constructor(e,t,n=pa(),r=1){const a=Re({isoYear:e,isoMonth:t,isoDay:r},1),o=O(fa,n);var i,l;i=a,l=o.toString(),ia(Me(i),l),super({...a,calendar:o})}static from(e,t){if(s(t),e instanceof yr)return br(e.getISOFields());if("object"==typeof e)return Sn(e,t);const n=function(e){const t=Ht(e)||Wt(e);if(!t)throw Qt("yearMonth",e);return t}(String(e));return void 0===n.calendar&&(n.isoDay=1),br(en(n))}static compare(e,t){return Be(O(yr,e),O(yr,t))}with(e,t){return Ln(this,e,t)}add(e,t){return gr(this,O(jr,e),t)}subtract(e,t){return gr(this,ee(O(jr,e)),t)}until(e,t){return vr(this,O(yr,e),!1,t)}since(e,t){return vr(this,O(yr,e),!0,t)}equals(e){return!Be(this,O(yr,e))}toString(e){const t=this.getISOFields(),n=t.calendar.toString(),r=Ke(e);return("iso8601"===n?nt(t):tt(t))+ot(n,r)}toPlainDate(e){return this.calendar.dateFromFields({year:this.year,month:this.month,day:e.day})}}function br(e){return new yr(e.isoYear,e.isoMonth,e.calendar,e.isoDay)}function gr(e,t,n){return e.toPlainDate({day:t.sign<0?e.daysInMonth:1}).add(t,n).toPlainYearMonth()}function vr(e,t,n,r){return Pr(xa(e.toPlainDate(hr),t.toPlainDate(hr),ba(e,t),n,E(r,9,8,8,9)))}ht(yr,"PlainYearMonth"),dt(yr),mt(yr,ft),ir(yr,tr({year:"numeric",month:"numeric"},{weekday:void 0,day:void 0,hour:void 0,minute:void 0,second:void 0},!0));const _r=Symbol();class Mr extends P{constructor(e,t,n=pa()){const r=O(gn,t),a=O(fa,n),o=G(e),[i,l]=Sr(o,r);$n(i,a.toString()),super({...i,calendar:a,timeZone:r,offset:at(l)}),this[_e]=o,this[_r]=l}static from(e,t){const n=yt(t,3),r=s(t);if(e instanceof Mr)return new Mr(e.epochNanoseconds,e.timeZone,e.calendar);const a="object"==typeof e;return wr(a?_n(e,r,t):tn(Yt(String(e))),!a,n,t)}static compare(e,t){return Fe(O(Mr,e),O(Mr,t))}get timeZone(){return this.getISOFields().timeZone}get offsetNanoseconds(){return this[_r]}get offset(){return this.getISOFields().offset}with(e,t){Je(t);const n=s(t),r=yt(t,0);return wr(Cn(this,e,n,t),!1,r,t)}withPlainDate(e){const t=O(_a,e),n=t.toPlainDateTime(this),{timeZone:r}=this,a=bt(r,n);return new Mr(a.epochNanoseconds,r,ga(this,t))}withPlainTime(e){return wr({...this.getISOFields(),...void 0===e?oe:O(cr,e).getISOFields()})}withCalendar(e){return new Mr(this.epochNanoseconds,this.timeZone,e)}withTimeZone(e){return new Mr(this.epochNanoseconds,e,this.calendar)}add(e,t){return xr(this,O(jr,e),t)}subtract(e,t){return xr(this,ee(O(jr,e)),t)}until(e,t){return Cr(this,O(Mr,e),!1,t)}since(e,t){return Cr(this,O(Mr,e),!0,t)}round(e){return kr(this,A(e,0,6))}equals(e){return Pe(this,t=O(Mr,e))&&this.timeZone.toString()===t.timeZone.toString();var t}startOfDay(){return wr({...this.getISOFields(),...oe,offsetNanoseconds:this.offsetNanoseconds},!1,0)}get hoursInDay(){return xt(this.getISOFields())/n}toString(e){const t=Ze(e),n=ur(e),r=Qe(e),a=Ke(e),o=kr(this,t);return et(o.getISOFields(),t)+(0===n?at(F(o.offsetNanoseconds)):"")+(i=this.timeZone.toString(),1!==r?`[${i}]`:"")+ot(this.calendar.toString(),a);var i}toPlainYearMonth(){return br(this.getISOFields())}toPlainMonthDay(){return this.calendar.monthDayFromFields(this)}toPlainDateTime(){return Nr(this.getISOFields())}toPlainDate(){return Ma(this.getISOFields())}toPlainTime(){return dr(this.getISOFields())}toInstant(){return new Ea(this.epochNanoseconds)}}function wr(e,t,n,r){const a=wt(e,t,n,r);return new Mr(a,e.timeZone,e.calendar)}function Sr(e,t){const n=new Ea(e),r=t.getOffsetNanosecondsFor(n);return[xe(e.add(r)),r]}function xr(e,t,n){const r=e.getISOFields(),a=function(e,t,n){const{calendar:r,timeZone:a}=e,o=r.dateAdd(Ma(e),te(t,ie),n);return bt(a,Nr({...e,...o.getISOFields()}))[_e].add(ue(t))}(r,t,n);return new Mr(a,r.timeZone,r.calendar)}function kr(e,t){const n=e.getISOFields(),r=function(e,t,n){const{calendar:r,timeZone:a}=e;let o,i,l=ce(e);return 6===n.smallestUnit?(o=oe,i=n.roundingFunc(l/xt(e))):(l=Zn(l,n),[o,i]=fe(l)),wt({..._t(e,i),...o,offsetNanoseconds:t,calendar:r,timeZone:a},!1,0)}(n,e.offsetNanoseconds,t);return new Mr(r,n.timeZone,n.calendar)}function Cr(e,t,n,r){const a=E(r,5,0,0,9),{largestUnit:o}=a;if(o>=6&&e.timeZone.id!==t.timeZone.id)throw new Error("Must be same timeZone");return Pr(Sa(e,t,ba(e,t),n,a))}function Er(e){if(void 0===e)return;if(m(e))return e instanceof Mr||e instanceof Yr?e:O(void 0!==e.timeZone?Mr:Yr,e);if("symbol"==typeof e)throw new TypeError("Incorrect relativeTo type");const t=Rt(String(e));if(t)return void 0!==t.timeZone?wr(tn(t),!0):Nr(en(t));throw new RangeError("Invalid value of relativeTo")}function Ar(e,t,n,r){return(n instanceof _a?function(e,t,n,r){const a=n.add(e);return[r.dateUntil(n,a,{largestUnit:w[t]}),a]}(e,Math.max(6,t),n,r):Lr(e,t,n,r))[0]}function Lr(e,t,n,r,a){const o=!0!==a&&t>7&&e.weeks;o&&(e=te(e,{weeks:0}));let i=n.add(e),l=ka(n,i,r,t);return o&&(l=te(l,{weeks:o}),i=i.add({weeks:o})),[l,i]}function Or(e,t,n,r){const a=S[t],{sign:o}=e;if(!o)return e;const i={};for(let n=9;n>=t;n--){const t=S[n];i[t]=e[t]}const l={[a]:o},s=n.add(i),u=s.add(l),c=Ce(s),d=Ce(u),f=Ce(r).sub(c).toNumber()/d.sub(c).toNumber()*o;return i[a]+=f,i}function Tr(e,t,n,r,o,i){const{largestUnit:s,smallestUnit:u,roundingIncrement:c,roundingFunc:d}=i;if(!l(s))return de(R(Ce(n).sub(Ce(t)).mult(o?-1:1),a[u]*c,d),s);let f=Or(e,u,t,n);const p=S[u];function m(){const e=f[p];f[p]=N(e,c,d)}return d===Math.round&&m(),o&&(f=ee(f)),d!==Math.round&&m(),u>0&&(f=o?ee(Ar(ee(f),s,t,r)):Ar(f,s,t,r)),f}ht(Mr,"ZonedDateTime"),dt(Mr,M),mt(Mr,pt),st(Mr),ir(Mr,Qn({year:"numeric",month:"numeric",day:"numeric",weekday:void 0,hour:"numeric",minute:"2-digit",second:"2-digit"},{timeZoneName:"short"},{}));const[Dr,zr]=y();class jr extends D{constructor(e=0,t=0,n=0,r=0,a=0,o=0,i=0,l=0,s=0,u=0){super();const c=Dn({years:e,months:t,weeks:n,days:r,hours:a,minutes:o,seconds:i,milliseconds:l,microseconds:s,nanoseconds:u});zr(this,function(e){const t=ne(e),{sign:n}=t;for(const e of S){const r=t[e],a=Y(t[e]);if(a&&a!==n)throw new RangeError("All fields must be same sign");if(!Number.isInteger(r))throw new RangeError("Duration fields must be integers")}return t}(c))}static from(e){return Pr("object"==typeof e?Dn(e):function(e){const t=function(e){const t=zt.exec(Bt(e));if(t){let e,n,r,a;[e,a]=sr(t[8],t[10],5,void 0),[n,a]=sr(t[12],t[14],4,a),[r,a]=sr(t[16],t[18],3,a);const o=function(e){const t={};for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}({years:Zt(t[2]),months:Zt(t[3]),weeks:Zt(t[4]),days:Zt(t[5]),hours:e,minutes:n,seconds:r});if(!Object.keys(o).length)throw new RangeError("Duration string must have at least one field");const i=de(G(a||0),2);o.milliseconds=i.milliseconds,o.microseconds=i.microseconds,o.nanoseconds=i.nanoseconds;let l=ne(o);return"-"===t[1]&&(l=ee(l)),l}}(e);if(void 0===t)throw Qt("duration",e);return t}(e))}static compare(e,t,n){return function(e,t,n){if(void 0===n&&ae(e)<=6&&ae(t)<=6)return K(se(e),se(t));if(!n)throw new RangeError("Need relativeTo");const r=n.add(e),a=n.add(t);return void 0!==n[_e]?Fe(r,a):Be(r,a)}(O(jr,e),O(jr,t),Er(f(n).relativeTo))}get years(){return Dr(this).years}get months(){return Dr(this).months}get weeks(){return Dr(this).weeks}get days(){return Dr(this).days}get hours(){return Dr(this).hours}get minutes(){return Dr(this).minutes}get seconds(){return Dr(this).seconds}get milliseconds(){return Dr(this).milliseconds}get microseconds(){return Dr(this).microseconds}get nanoseconds(){return Dr(this).nanoseconds}get sign(){return Dr(this).sign}get blank(){return!this.sign}with(e){return Pr({...Dr(this),...Dn(e)})}negated(){return Pr(ee(Dr(this)))}abs(){return Pr(v(Dr(this),Q,e=>Math.abs(e)))}add(e,t){return Br(this,O(jr,e),t)}subtract(e,t){return Br(this,ee(O(jr,e)),t)}round(e){const t="string"==typeof e?{smallestUnit:e}:e;if(!m(t))throw new TypeError("Must specify options");if(void 0===t.largestUnit&&void 0===t.smallestUnit)throw new RangeError("Must specify either largestUnit or smallestUnit");const n=E(t,ae(this),0,0,9,!0),r=Er(t.relativeTo);return Pr(function(e,t,n,r){const{largestUnit:o,smallestUnit:l,roundingIncrement:s,roundingFunc:u}=t;if(void 0===n&&ae(e)<=6&&i(o)&&i(l))return de(R(se(e),a[l]*s,u),o);if(!n)throw new RangeError("Need relativeTo");const[c,d]=Lr(e,o,n,r);return Tr(c,n,d,r,!1,t)}(this,n,r,r?r.calendar:void 0))}total(e){const t=function(e){let t,n;return"string"==typeof e?n=e:(n=f(e).unit,t=e.relativeTo),{unit:C(n,void 0,0,9),relativeTo:t}}(e),n=Er(t.relativeTo);return function(e,t,n,r){if(void 0===n&&ae(e)<=6&&i(t))return se(e).toNumber()/a[t];if(!n)throw new RangeError("Need relativeTo");const[o,l]=Lr(e,t,n,r,!0);return Or(o,t,n,l)[S[t]]}(this,t.unit,n,n?n.calendar:void 0)}toString(e){const t=Ze(e,3);return function(e,t){const{smallestUnit:n,fractionalSecondDigits:r,roundingFunc:a}=t,{sign:o}=e,i=e.hours,l=e.minutes;let s=e.seconds,u="";if(n<=3){const t=lt(e.milliseconds,e.microseconds,e.nanoseconds,r,a,n);u=t[0],s+=t[1]}const c=void 0!==r||u||!o;return(o<0?"-":"")+"P"+it([[e.years,"Y"],[e.months,"M"],[e.weeks,"W"],[e.days,"D"]])+(i||l||s||c?"T"+it([[i,"H"],[l,"M"],[n<=3?s:0,u+"S",c]]):"")}(Dr(this),t)}toLocaleString(e,t){return this.toString()}}function Pr(e){return new jr(e.years,e.months,e.weeks,e.days,e.hours,e.minutes,e.seconds,e.milliseconds,e.microseconds,e.nanoseconds)}function Br(e,t,n){const r=Er(f(n).relativeTo);return Pr(function(e,t,n,r){const a=Math.max(ae(e),ae(t));if(void 0===n&&a<=6)return de(se(e).add(se(t)),a);if(!n)throw new RangeError("Need relativeTo");const o=n.add(e).add(t);return ka(n,o,r,a)}(e,t,r,r?r.calendar:void 0))}ht(jr,"Duration");class Yr extends P{constructor(e,t,n,r=0,a=0,o=0,i=0,l=0,s=0,u=pa()){const c=We({isoYear:e,isoMonth:t,isoDay:n,isoHour:r,isoMinute:a,isoSecond:o,isoMillisecond:i,isoMicrosecond:l,isoNanosecond:s},1),d=O(fa,u);$n(c,d.toString()),super({...c,calendar:d})}static from(e,t){const n=s(t);return Nr(e instanceof Yr?e.getISOFields():"object"==typeof e?Mn(e,n,t):en(Nt(String(e))))}static compare(e,t){return Be(O(Yr,e),O(Yr,t))}with(e,t){const n=s(t);return Nr(En(this,e,n,t))}withPlainDate(e){const t=O(_a,e);return Nr({...this.getISOFields(),...t.getISOFields(),calendar:ga(this,t)})}withPlainTime(e){return Nr({...this.getISOFields(),...fr(e).getISOFields()})}withCalendar(e){return Nr({...this.getISOFields(),calendar:O(fa,e)})}add(e,t){return Fr(this,O(jr,e),t)}subtract(e,t){return Fr(this,ee(O(jr,e)),t)}until(e,t){return Ir(this,O(Yr,e),!1,t)}since(e,t){return Ir(this,O(Yr,e),!0,t)}round(e){const t=A(e,0,6);return Nr({...Kn(this.getISOFields(),t),calendar:this.calendar})}equals(e){return Pe(this,O(Yr,e))}toString(e){const t=Ze(e),n=Ke(e);return et(Kn(this.getISOFields(),t),t)+ot(this.calendar.toString(),n)}toZonedDateTime(e,t){const n=O(gn,e),r=bt(n,this,Je(t));return new Mr(r.epochNanoseconds,n,this.calendar)}toPlainYearMonth(){return br(this.getISOFields())}toPlainMonthDay(){return this.calendar.monthDayFromFields(this)}toPlainDate(){return Ma(this.getISOFields())}toPlainTime(){return dr(this.getISOFields())}}function Nr(e){return new Yr(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,e.calendar)}function Fr(e,t,n){const r=function(e,t,n){const{calendar:r}=e;return xe(Me(r.dateAdd(Ma(e),te(t,ie),n).getISOFields()).add(ce(e)).add(ue(t)))}(e.getISOFields(),t,n);return Nr({...r,calendar:e.calendar})}function Ir(e,t,n,r){const a=E(r,6,0,0,9);return Pr(Sa(e,t,ba(e,t),n,a))}ht(Yr,"PlainDateTime"),dt(Yr,M),mt(Yr,pt),ir(Yr,tr({year:"numeric",month:"numeric",day:"numeric",weekday:void 0,hour:"numeric",minute:"2-digit",second:"2-digit"},{}));class Rr extends P{constructor(e,t,n=pa(),r=ve){super({...Re({isoYear:r,isoMonth:e,isoDay:t},1),calendar:O(fa,n)})}static from(e,t){if(s(t),e instanceof Rr)return Wr(e.getISOFields());if("object"==typeof e)return xn(e,t);const n=function(e){const t=qt(e)||Wt(e);if(!t)throw Qt("monthDay",e);return t}(String(e));return void 0===n.calendar&&(n.isoYear=ve),Wr(en(n))}with(e,t){return On(this,e,t)}equals(e){return!Be(this,O(Rr,e))}toString(e){const t=this.getISOFields(),n=t.calendar.toString(),r=Ke(e);return("iso8601"===n?function(e){return H(e.isoMonth,2)+"-"+H(e.isoDay,2)}(t):tt(t))+ot(n,r)}toPlainDate(e){return this.calendar.dateFromFields({year:e.year,monthCode:this.monthCode,day:this.day},{overflow:"reject"})}}function Wr(e){return new Rr(e.isoMonth,e.isoDay,e.calendar,e.isoYear)}function Hr(e){return e instanceof _a||e instanceof Yr||e instanceof Mr||e instanceof yr||e instanceof Rr}function qr(e,t,n){let r;if(e instanceof _a)r=e;else if(Hr(e)){if(n&&e instanceof Rr)throw new TypeError("PlainMonthDay not allowed");r=Ma(e.getISOFields())}else r=_a.from(e);return va(r.calendar,t),r}function Xr(e,t,n){if(Hr(e))return e.getISOFields();let{era:r,eraYear:a,year:o,month:i,monthCode:l,day:u}=e;const c=void 0!==a&&void 0!==r?he(t.id,a,r):void 0;if(void 0===o){if(void 0===c)throw new TypeError("Must specify either a year or an era & eraYear");o=c}else if(void 0!==c&&c!==o)throw new RangeError("year and era/eraYear must match");if(void 0===u)throw new TypeError("Must specify day");const d=s(n);if(void 0!==l){const[e,n]=t.convertMonthCode(l,o);if(void 0!==i&&i!==e)throw new RangeError("Month doesnt match with monthCode");if(i=e,n){if(1===d)throw new RangeError("Month code out of range");u=t.daysInMonth(o,i)}}else if(void 0===i)throw new TypeError("Must specify either a month or monthCode");return[o,i,u]=Ie(o,i,u,t,d),ke(t.epochMilliseconds(o,i,u))}function Vr(e,t){if(Hr(e)){if(t&&e instanceof Rr)throw new TypeError("PlainMonthDay not allowed");return e.getISOFields()}return _a.from(e).getISOFields()}function Ur(e,t){return ze(e.epochMilliseconds(t,1,1),e.epochMilliseconds(t+1,1,1))}function $r(e,t,n,r){return ze(e.epochMilliseconds(t,1,1),e.epochMilliseconds(t,n,r))+1}ht(Rr,"PlainMonthDay"),dt(Rr),mt(Rr,["monthCode","day"]),ir(Rr,tr({month:"numeric",day:"numeric"},{weekday:void 0,year:void 0,hour:void 0,minute:void 0,second:void 0},!0));const Gr={hebrew:6,chinese:0,dangi:0};class Kr extends me{constructor(e){const t=Jr(e);if(n=e,r=t.resolvedOptions().calendar,ye(n)!==ye(r))throw new RangeError("Invalid calendar: "+e);var n,r;super(e),this.format=t,this.yearCorrection=this.computeFieldsDumb(0).year-1970,this.monthCacheByYear={}}epochMilliseconds(e,t,n){return je(this.queryMonthCache(e)[0][t-1],n-1)}daysInMonth(e,t){const n=this.queryMonthCache(e)[0],r=n[t-1];return t>=n.length&&(e++,t=0),ze(r,this.queryMonthCache(e)[0][t])}monthsInYear(e){return this.queryMonthCache(e)[0].length}monthCode(e,t){const n=this.queryLeapMonthByYear(t);return!n||e=12)throw new RangeError("Invalid leap-month month code")}return!r||n&&a===n-1||(o=!0,r=!1),(r||n&&a>=n)&&a++,[a,o]}inLeapYear(e){const t=Ur(this,e);return t>Ur(this,e-1)&&t>Ur(this,e+1)}guessYearForMonthDay(e,t){let n=1970+this.yearCorrection;const r=n+100;for(;nn[0].length&&t[0].length>r[0].length){const e=t[1],r=n[1];for(let t=0;t=Zr){const n=an(this.format,e);t.era=ln(n.era),t.eraYear=parseInt(n.relatedYear||n.year)}return t}},islamic:class extends Kr{guessISOYear(e){return Math.ceil(32*e/33+622)}}},ea={iso8601:ge};function ta(e){const t=(e=String(e)).toLocaleLowerCase();return ea[t]||(ea[t]=new(Qr[ye(t)]||Kr)(e))}const na=Se(1582,10,15),ra=Se(622,7,18),aa={buddhist:na,japanese:na,roc:na,islamic:ra,"islamic-rgsa":ra,indian:0},oa={};function ia(e,t){return la(e.div(1e6).toNumber(),t)}function la(e,t){if(function(e,t){return function(e){let t=oa[e];if(void 0===t){const n=aa[e];if(void 0===n)t=!1;else{let r=ta(e);r instanceof Kr||(r=new Kr(e));const a=n-864e5,o=r.computeFields(a);t=a!==r.epochMilliseconds(o.year,o.month,o.day)}oa[e]=t}return t}(t)&&eo?a-o:a}(t.isoYear,t.isoMonth,t.isoDay)}daysInWeek(e){return Vr(e,!0),7}daysInMonth(e){const t=qr(e,this,!0);return ca(this).daysInMonth(t.year,t.month)}daysInYear(e){const t=qr(e,this,!0);return Ur(ca(this),t.year)}monthsInYear(e){const t=qr(e,this,!0);return ca(this).monthsInYear(t.year)}inLeapYear(e){return ca(this).inLeapYear(this.year(e))}dateFromFields(e,t){const n=Xr(d(e,Xe),ca(this),t);return new _a(n.isoYear,n.isoMonth,n.isoDay,this)}yearMonthFromFields(e,t){const n=Xr({...d(e,qe),day:1},ca(this),t);return new yr(n.isoYear,n.isoMonth,this,n.isoDay)}monthDayFromFields(e,t){const n=ca(this);let{era:r,eraYear:a,year:o,month:i,monthCode:l,day:s}=d(e,Ue);if(void 0===s)throw new TypeError("required property 'day' missing or undefined");if(void 0!==l?o=ve:void 0!==r&&void 0!==a&&(o=he(n.id,a,r)),void 0===o){if(void 0===l)throw new TypeError("either year or monthCode required with month");o=n.guessYearForMonthDay(l,s)}const u=Xr({year:o,month:i,monthCode:l,day:s},n,t);return new Rr(u.isoMonth,u.isoDay,this,n.normalizeISOYearForMonthDay(u.isoYear))}dateAdd(e,t,n){const a=ca(this),o=function(e,t,n,a){e=vt(e=gt(e,t.years,n,a),t.months,n,a);let o=n.epochMilliseconds(e.year,e.month,e.day);const i=Math.trunc(ue(t).div(r).toNumber());return o=je(o,7*t.weeks+t.days+i),ke(o)}(O(_a,e,n),O(jr,t),a,s(n));return new _a(o.isoYear,o.isoMonth,o.isoDay,this)}dateUntil(e,t,n){const r=ca(this),a=O(_a,e),o=O(_a,t),i=f(n).largestUnit,l="auto"===i?6:C(i,6,6,9);return va(this,ba(a,o)),Pr(function(e,t,n,r){let a=0,o=0,i=0,l=0;switch(r){case 9:a=function(e,t,n){const[,r,a]=Ie(t.year,e.month,e.day,n,0),o=Ne(t,e),i=B(t.month,r)||B(t.day,a);return t.year-e.year-(i&&o&&i!==o?o:0)}(e,t,n),e=gt(e,a,n,0);case 8:o=function(e,t,n){let r=0;const a=Ne(t,e);if(a){let{year:o}=e;for(;o!==t.year;)r+=n.monthsInYear(o)*a,o+=a;const[,i,l]=Ie(t.year,e.month,e.day,n,0);r+=t.month-i;const s=B(t.day,l);s&&a&&s!==a&&(r-=a)}return r}(e,t,n),e=vt(e,o,n,0)}return l=ze(n.epochMilliseconds(e.year,e.month,e.day),n.epochMilliseconds(t.year,t.month,t.day)),7===r&&(i=Math.trunc(l/7),l%=7),ne({years:a,months:o,weeks:i,days:l,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0})}(a,o,r,l))}fields(e){return e.slice()}mergeFields(e,t){return ma(e,t)}toString(){return ca(this).id}}function pa(){return new fa("iso8601")}function ma(e,t){var n;const r={...e,...t};if(void 0!==e.year){delete r.era,delete r.eraYear,delete r.year;let n=!1;void 0===t.era&&void 0===t.eraYear||(r.era=t.era,r.eraYear=t.eraYear,n=!0),void 0!==t.year&&(r.year=t.year,n=!0),n||(r.year=e.year)}if(void 0!==e.monthCode){delete r.monthCode,delete r.month;let n=!1;void 0!==t.month&&(r.month=t.month,n=!0),void 0!==t.monthCode&&(r.monthCode=t.monthCode,n=!0),n||(r.monthCode=e.monthCode)}return void 0!==e.day&&(r.day=null!=(n=t.day)?n:e.day),r}function ha(e,t,n,r){const a=Se(t,n,r);return la(a,e.id),e.computeFields(a)}function ya(e){return void 0===e.calendar?pa():O(fa,e.calendar)}function ba(e,t){const{calendar:n}=e;return va(n,t.calendar),n}function ga(e,t){const n=e.calendar,r=t.calendar;if("iso8601"===n.id)return r;if("iso8601"===r.id)return n;if(n.id!==r.id)throw new RangeError("Non-ISO calendars incompatible");return n}function va(e,t){if(e.toString()!==t.toString())throw new RangeError("Calendars must match")}ht(fa,"Calendar");class _a extends P{constructor(e,t,n,r=pa()){const a=Re({isoYear:e,isoMonth:t,isoDay:n},1),o=O(fa,r);!function(e,t){const n=Me(e);Gn(n.add(n.sign()<0?86399999999999:0)),ia(n,t)}(a,o.toString()),super({...a,calendar:o})}static from(e,t){return s(t),e instanceof _a?Ma(e.getISOFields()):"object"==typeof e?wn(e,t):Ma(en(Nt(String(e))))}static compare(e,t){return Be(O(_a,e),O(_a,t))}with(e,t){return An(this,e,t)}withCalendar(e){const t=this.getISOFields();return new _a(t.isoYear,t.isoMonth,t.isoDay,e)}add(e,t){return this.calendar.dateAdd(this,e,t)}subtract(e,t){return this.calendar.dateAdd(this,O(jr,e).negated(),t)}until(e,t){return wa(this,O(_a,e),!1,t)}since(e,t){return wa(this,O(_a,e),!0,t)}equals(e){return!Be(this,O(_a,e))}toString(e){const t=Ke(e),n=this.getISOFields();return tt(n)+ot(n.calendar.toString(),t)}toZonedDateTime(e){const t=function(e){let t,n;if("string"==typeof e)n=e;else{if("object"!=typeof e)throw new TypeError("Invalid options/timeZone argument");if(void 0!==e.id?n=e:(n=e.timeZone,t=e.plainTime),void 0===n)throw new TypeError("Invalid timeZone argument")}return{plainTime:t,timeZone:n}}(e),n=O(gn,t.timeZone),r=void 0===t.plainTime?void 0:O(cr,t.plainTime);return wr({...this.getISOFields(),...r?r.getISOFields():oe,timeZone:n})}toPlainDateTime(e){return Nr({...this.getISOFields(),...fr(e).getISOFields()})}toPlainYearMonth(){return br(this.getISOFields())}toPlainMonthDay(){return this.calendar.monthDayFromFields(this)}}function Ma(e){return new _a(e.isoYear,e.isoMonth,e.isoDay,e.calendar)}function wa(e,t,n,r){return Pr(xa(e,t,ba(e,t),n,E(r,6,6,6,9)))}function Sa(e,t,n,r,a){return Tr(ka(e,t,n,a.largestUnit),e,t,n,r,a)}function xa(e,t,n,r,a){return Tr(n.dateUntil(e,t,{largestUnit:w[a.largestUnit]}),e,t,n,r,a)}function ka(e,t,n,r){if(!l(r))return Ca(e,t,r);const a=Ma({...e.getISOFields(),calendar:n});let o,i,s,u,c,d=Ma({...t.getISOFields(),calendar:n});do{i=n.dateUntil(a,d,{largestUnit:w[r]}),o=e.add(i),s=Ca(o,t,5),u=i.sign,c=s.sign}while(u&&c&&u!==c&&(d=d.add({days:c})));return p=s,{sign:(f=i).sign||p.sign,years:f.years+p.years,months:f.months+p.months,weeks:f.weeks+p.weeks,days:f.days+p.days,hours:f.hours+p.hours,minutes:f.minutes+p.minutes,seconds:f.seconds+p.seconds,milliseconds:f.milliseconds+p.milliseconds,microseconds:f.microseconds+p.microseconds,nanoseconds:f.nanoseconds+p.nanoseconds};var f,p}function Ca(e,t,n){return de(Ce(t).sub(Ce(e)),n)}ht(_a,"PlainDate"),dt(_a),mt(_a,pt),ir(_a,tr({year:"numeric",month:"numeric",day:"numeric",weekday:void 0},{hour:void 0,minute:void 0,second:void 0}));class Ea extends D{constructor(e){super();const t=G(e,!0);!function(e){-1!==K(e,Xn)&&1!==K(e,qn)||De()}(t),this[_e]=t}static from(e){if(e instanceof Ea)return new Ea(e.epochNanoseconds);const t=Yt(String(e)),n=t.offsetNanoseconds;if(void 0===n)throw new RangeError("Must specify an offset");return new Ea(Me(We(t,1)).sub(n))}static fromEpochSeconds(e){return new Ea(G(e).mult(1e9))}static fromEpochMilliseconds(e){return new Ea(G(e).mult(1e6))}static fromEpochMicroseconds(e){return new Ea(e*BigInt(1e3))}static fromEpochNanoseconds(e){return new Ea(e)}static compare(e,t){return Fe(O(Ea,e),O(Ea,t))}add(e){return new Ea(Mt(this[_e],O(jr,e)))}subtract(e){return new Ea(Mt(this[_e],ee(O(jr,e))))}until(e,t){return Aa(this,O(Ea,e),t)}since(e,t){return Aa(O(Ea,e),this,t)}round(e){const t=A(e,0,5,!0);return new Ea(function(e,t){const[n,r]=function(e){const t=xe(e);return[we(t.isoYear,t.isoMonth,t.isoDay),ce(t)]}(e),a=Zn(r,t);return n.add(a)}(this[_e],t))}equals(e){return!Fe(this,O(Ea,e))}toString(e){const t=f(e).timeZone;return this.toZonedDateTimeISO(null!=t?t:"UTC").toString({...e,offset:void 0===t?"never":"auto",timeZoneName:"never"})+(void 0===t?"Z":"")}toZonedDateTimeISO(e){return new Mr(this.epochNanoseconds,e)}toZonedDateTime(e){if(!m(e))throw new TypeError("Must specify options");if(void 0===e.calendar)throw new TypeError("Must specify a calendar");if(void 0===e.timeZone)throw new TypeError("Must specify a timeZone");return new Mr(this.epochNanoseconds,e.timeZone,e.calendar)}}function Aa(e,t,n){const r=E(n,3,0,0,5);return Pr(function(e,t,n){return de(R(t.sub(e),a[n.smallestUnit]*n.roundingIncrement,n.roundingFunc),n.largestUnit)}(e[_e],t[_e],r))}ht(Ea,"Instant"),st(Ea),ir(Ea,Qn({year:"numeric",month:"numeric",day:"numeric",weekday:void 0,hour:"numeric",minute:"2-digit",second:"2-digit"},{timeZoneName:void 0},{}));const La=Symbol(),Oa=Symbol(),Ta=Symbol();class Da extends Intl.DateTimeFormat{constructor(e,t){const n=un(e),r=function(e){const t={};for(const n in e){let r=e[n];m(r)&&(r=r.toString()),t[n]=r}return t}(t||{});super(n,r),this[La]=n,this[Oa]=r,this[Ta]=new Map}format(e){const t=ja(this,e);return t[0]===this?super.format(t[1]):t[0].format(t[1])}formatToParts(e){return super.formatToParts.call(...ja(this,e))}formatRange(e,t){return super.formatRange.call(...Pa(this,e,t))}formatRangeToParts(e,t){return super.formatRangeToParts.call(...Pa(this,e,t))}}const za=Da;function ja(e,t){const n=lr(t);if(n){const r=Ba(e,n);return[r.buildFormat(t),r.buildEpochMilli(t)]}return[e,t]}function Pa(e,t,n){const r=lr(t);if(r!==lr(n))throw new TypeError("Mismatch of types");if(r){const a=Ba(e,r);return[a.buildFormat(t,n),new Date(a.buildEpochMilli(t)),new Date(a.buildEpochMilli(n))]}return[e,t,n]}function Ba(e,t){const n=e[Ta];let r=n.get(t);return r||(r=function(e){const t={};return{buildFormat:function(n,r){const a=e.buildKey(n,r),o=a.join("|");return t[o]||(t[o]=e.buildFormat(...a))},buildEpochMilli:e.buildEpochMilli}}(t(e[La],e[Oa])),n.set(t,r)),r}const Ya={zonedDateTimeISO:function(e){return wr(Fa("iso8601",e))},zonedDateTime:function(e,t){return wr(Fa(e,t))},plainDateTimeISO:function(e){return Nr(Fa("iso8601",e))},plainDateTime:function(e,t){return Nr(Fa(e,t))},plainDateISO:function(e){return Ma(Fa("iso8601",e))},plainDate:function(e,t){return Ma(Fa(e,t))},plainTimeISO:function(e){return dr(Fa("iso8601",e))},instant:function(){return new Ea(Ia())},timeZone:Na};function Na(){return new gn((new sn).resolvedOptions().timeZone)}function Fa(e,t=Na()){const n=O(gn,t);return{...Sr(Ia(),n)[0],timeZone:n,calendar:O(fa,e)}}function Ia(){return G(Date.now()).mult(1e6)}ht(Ya,"Now");const Ra={PlainYearMonth:yr,PlainMonthDay:Rr,PlainDate:_a,PlainTime:cr,PlainDateTime:Yr,ZonedDateTime:Mr,Instant:Ea,Calendar:fa,TimeZone:gn,Duration:jr,Now:Ya,[Symbol.toStringTag]:"Temporal"};t.DateTimeFormat=za,t.Temporal=Ra,t.getGlobalThis=function(){return"undefined"!=typeof globalThis?globalThis:window},t.toTemporalInstant=function(){return Ea.fromEpochMilliseconds(this.valueOf())}},24682(e,t,n){var r=n(15849),a=n(58862),o=n(48769),i=Function.prototype,l=Object.prototype,s=i.toString,u=l.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}},24818(e,t,n){"use strict";var r=n(91638),a=n(46726);r.Observable.prototype.last=a.last},24873(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(99420))},24905(e,t,n){var r,a=n(94072),o=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},24924(e,t,n){var r=n(46974),a=n(46658),o=n(20638),i=n(3325),l=n(77118),s=n(84218),u=Math.min;e.exports=function(e,t,n){for(var c=n?o:a,d=e[0].length,f=e.length,p=f,m=Array(f),h=1/0,y=[];p--;){var b=e[p];p&&t&&(b=i(b,l(t))),h=u(b.length,h),m[p]=!n&&(t||d>=120&&b.length>=120)?new r(p&&b):void 0}b=e[0];var g=-1,v=m[0];e:for(;++g11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],a=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(99420))},25061(e,t,n){"use strict";var r=n(91638),a=n(27769);r.Observable.prototype.repeatWhen=a.repeatWhen},25146(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.2929 17.2929C4.90238 17.6834 4.90238 18.3166 5.2929 18.7071C5.68342 19.0976 6.31659 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Typography:()=>h,default:()=>y});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(63759);var d=t.n(c);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(99420))},25319(e,t,n){"use strict";var r,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},u={};s(u,{FluidValue:()=>ve,Globals:()=>c,addFluidObserver:()=>Me,callFluidObserver:()=>be,callFluidObservers:()=>ge,clamp:()=>N,colorToRgba:()=>re,colors:()=>F,createInterpolator:()=>ae,createStringInterpolator:()=>ze,defineHidden:()=>p,deprecateDirectCall:()=>Fe,deprecateInterpolate:()=>Ye,each:()=>y,eachProp:()=>b,easings:()=>de,flush:()=>v,flushCalls:()=>w,frameLoop:()=>z,getFluidObservers:()=>ye,getFluidValue:()=>he,hasFluidValue:()=>me,hex3:()=>U,hex4:()=>$,hex6:()=>G,hex8:()=>K,hsl:()=>X,hsla:()=>V,is:()=>m,isAnimatedString:()=>Ie,isEqual:()=>h,isSSR:()=>S,noop:()=>f,onResize:()=>Ue,onScroll:()=>et,once:()=>Pe,prefix:()=>je,raf:()=>bt.raf,removeFluidObserver:()=>we,rgb:()=>H,rgba:()=>q,setFluidGetter:()=>_e,toArray:()=>g,useConstant:()=>nt,useForceUpdate:()=>lt,useIsomorphicLayoutEffect:()=>it,useMemoOne:()=>ut,useOnce:()=>dt,usePrev:()=>mt,useReducedMotion:()=>yt}),e.exports=(r=u,((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of i(t))!l.call(e,n)&&undefined!==n&&a(e,n,{get:()=>t[n],enumerable:!(r=o(t,n))||r.enumerable});return e})(a({},"__esModule",{value:!0}),r));var c={};s(c,{assign:()=>E,colors:()=>x,createStringInterpolator:()=>_,skipAnimation:()=>k,to:()=>M,willAdvance:()=>C});var d=n(973);function f(){}var p=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),m={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function h(e,t){if(m.arr(e)){if(!m.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function b(e,t,n){if(m.arr(e))for(let r=0;rm.und(e)?[]:m.arr(e)?e:[e];function v(e,t){if(e.size){let n=Array.from(e);e.clear(),y(n,t)}}var _,M,w=(e,...t)=>v(e,e=>e(...t)),S=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),x=null,k=!1,C=f,E=e=>{e.to&&(M=e.to),e.now&&(d.raf.now=e.now),void 0!==e.colors&&(x=e.colors),null!=e.skipAnimation&&(k=e.skipAnimation),e.createStringInterpolator&&(_=e.createStringInterpolator),e.requestAnimationFrame&&d.raf.use(e.requestAnimationFrame),e.batchedUpdates&&(d.raf.batchedUpdates=e.batchedUpdates),e.willAdvance&&(C=e.willAdvance),e.frameLoop&&(d.raf.frameLoop=e.frameLoop)},A=n(973),L=new Set,O=[],T=[],D=0,z={get idle(){return!L.size&&!O.length},start(e){D>e.priority?(L.add(e),A.raf.onStart(j)):(P(e),(0,A.raf)(Y))},advance:Y,sort(e){if(D)A.raf.onFrame(()=>z.sort(e));else{let t=O.indexOf(e);~t&&(O.splice(t,1),B(e))}},clear(){O=[],L.clear()}};function j(){L.forEach(P),L.clear(),(0,A.raf)(Y)}function P(e){O.includes(e)||B(e)}function B(e){O.splice(function(e,t){let n=e.findIndex(t);return n<0?e.length:n}(O,t=>t.priority>e.priority),0,e)}function Y(e){let t=T;for(let n=0;n0}var N=(e,t,n)=>Math.min(Math.max(n,e),t),F={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},I="[-+]?\\d*\\.?\\d+",R=I+"%";function W(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var H=new RegExp("rgb"+W(I,I,I)),q=new RegExp("rgba"+W(I,I,I,I)),X=new RegExp("hsl"+W(I,R,R)),V=new RegExp("hsla"+W(I,R,R,I)),U=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,$=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,G=/^#([0-9a-fA-F]{6})$/,K=/^#([0-9a-fA-F]{8})$/;function J(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r,o=J(a,r,e+1/3),i=J(a,r,e),l=J(a,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*i)<<16|Math.round(255*l)<<8}function Q(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function ee(e){return(parseFloat(e)%360+360)%360/360}function te(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ne(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function re(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=G.exec(e))?parseInt(t[1]+"ff",16)>>>0:x&&void 0!==x[e]?x[e]:(t=H.exec(e))?(Q(t[1])<<24|Q(t[2])<<16|Q(t[3])<<8|255)>>>0:(t=q.exec(e))?(Q(t[1])<<24|Q(t[2])<<16|Q(t[3])<<8|te(t[4]))>>>0:(t=U.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=K.exec(e))?parseInt(t[1],16)>>>0:(t=$.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=X.exec(e))?(255|Z(ee(t[1]),ne(t[2]),ne(t[3])))>>>0:(t=V.exec(e))?(Z(ee(t[1]),ne(t[2]),ne(t[3]))|te(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var ae=(e,t,n)=>{if(m.fun(e))return e;if(m.arr(e))return ae({range:e,output:t,extrapolate:n});if(m.str(e.output[0]))return _(e);let r=e,a=r.output,o=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",l=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||(e=>e);return e=>{let t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,o);return function(e,t,n,r,a,o,i,l,s){let u=s?s(e):e;if(un){if("identity"===l)return u;"clamp"===l&&(u=n)}return r===a?r:t===n?e<=t?r:a:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:a===1/0?u+=r:u=u*(a-r)+r,u)}(e,o[t],o[t+1],a[t],a[t+1],s,i,l,r.map)}},oe=1.70158,ie=1.525*oe,le=oe+1,se=2*Math.PI/3,ue=2*Math.PI/4.5,ce=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,de={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>le*e*e*e-oe*e*e,easeOutBack:e=>1+le*Math.pow(e-1,3)+oe*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(2*(ie+1)*e-ie)/2:(Math.pow(2*e-2,2)*((ie+1)*(2*e-2)+ie)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*se),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*se)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*ue)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*ue)/2+1,easeInBounce:e=>1-ce(1-e),easeOutBounce:ce,easeInOutBounce:e=>e<.5?(1-ce(1-2*e))/2:(1+ce(2*e-1))/2,steps:(e,t="end")=>n=>{let r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,a="end"===t?Math.floor(r):Math.ceil(r);return N(0,1,a/e)}},fe=Symbol.for("FluidValue.get"),pe=Symbol.for("FluidValue.observers"),me=e=>!(!e||!e[fe]),he=e=>e&&e[fe]?e[fe]():e,ye=e=>e[pe]||null;function be(e,t){e.eventObserved?e.eventObserved(t):e(t)}function ge(e,t){let n=e[pe];n&&n.forEach(e=>{be(e,t)})}var ve=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");_e(this,e)}},_e=(e,t)=>xe(e,fe,t);function Me(e,t){if(e[fe]){let n=e[pe];n||xe(e,pe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function we(e,t){let n=e[pe];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[pe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Se,xe=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ke=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ce=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ee=new RegExp(`(${ke.source})(%|[a-z]+)`,"i"),Ae=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Le=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Oe=e=>{let[t,n]=Te(e);if(!t||S())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r?r.trim():n&&n.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(n)||e:n&&Le.test(n)?Oe(n):n||e},Te=e=>{let t=Le.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},De=(e,t,n,r,a)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${a})`,ze=e=>{Se||(Se=x?new RegExp(`(${Object.keys(x).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>he(e).replace(Le,Oe).replace(Ce,re).replace(Se,re)),n=t.map(e=>e.match(ke).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>ae({...e,output:t}));return e=>{let n=!Ee.test(t[0])&&t.find(e=>Ee.test(e))?.replace(ke,""),a=0;return t[0].replace(ke,()=>`${r[a++](e)}${n||""}`).replace(Ae,De)}},je="react-spring: ",Pe=e=>{let t=e,n=!1;if("function"!=typeof t)throw new TypeError(`${je}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Be=Pe(console.warn);function Ye(){Be(`${je}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Ne=Pe(console.warn);function Fe(){Ne(`${je}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Ie(e){return m.str(e)&&("#"==e[0]||/\d/.test(e)||!S()&&Le.test(e)||e in(x||{}))}var Re,We,He=n(973),qe=new WeakMap,Xe=e=>e.forEach(({target:e,contentRect:t})=>qe.get(e)?.forEach(e=>e(t))),Ve=new Set,Ue=(e,{container:t=document.documentElement}={})=>t===document.documentElement?(e=>(Ve.add(e),We||(We=(()=>{let e=()=>{Ve.forEach(e=>e({width:window.innerWidth,height:window.innerHeight}))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}})()),()=>{Ve.delete(e),!Ve.size&&We&&(We(),We=void 0)}))(e):function(e,t){Re||typeof ResizeObserver<"u"&&(Re=new ResizeObserver(Xe));let n=qe.get(t);return n||(n=new Set,qe.set(t,n)),n.add(e),Re&&Re.observe(t),()=>{let n=qe.get(t);n&&(n.delete(e),!n.size&&Re&&Re.unobserve(t))}}(e,t),$e={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},Ge=class{constructor(e,t){this.createAxis=()=>({current:0,progress:0,scrollLength:0}),this.updateAxis=e=>{let t=this.info[e],{length:n,position:r}=$e[e];t.current=this.container[`scroll${r}`],t.scrollLength=this.container[`scroll${n}`]-this.container[`client${n}`],t.progress=((e,t,n)=>t-0==0?1:(n-0)/(t-0))(0,t.scrollLength,t.current)},this.update=()=>{this.updateAxis("x"),this.updateAxis("y")},this.sendEvent=()=>{this.callback(this.info)},this.advance=()=>{this.update(),this.sendEvent()},this.callback=e,this.container=t,this.info={time:0,x:this.createAxis(),y:this.createAxis()}}},Ke=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=e=>e===document.documentElement?window:e,et=(e,{container:t=document.documentElement}={})=>{let n=Ze.get(t);n||(n=new Set,Ze.set(t,n));let r=new Ge(e,t);if(n.add(r),!Ke.has(t)){let e=()=>(n?.forEach(e=>e.advance()),!0);Ke.set(t,e);let r=Qe(t);window.addEventListener("resize",e,{passive:!0}),t!==document.documentElement&&Je.set(t,Ue(e,{container:t})),r.addEventListener("scroll",e,{passive:!0})}let a=Ke.get(t);return(0,He.raf)(a),()=>{He.raf.cancel(a);let e=Ze.get(t);if(!e||(e.delete(r),e.size))return;let n=Ke.get(t);Ke.delete(t),n&&(Qe(t).removeEventListener("scroll",n),window.removeEventListener("resize",n),Je.get(t)?.())}},tt=n(14041);function nt(e){let t=(0,tt.useRef)(null);return null===t.current&&(t.current=e()),t.current}var rt=n(14041),at=n(14041),ot=n(14041),it=S()?ot.useEffect:ot.useLayoutEffect;function lt(){let e=(0,rt.useState)()[1],t=(()=>{let e=(0,at.useRef)(!1);return it(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var st=n(14041);function ut(e,t){let[n]=(0,st.useState)(()=>({inputs:t,result:e()})),r=(0,st.useRef)(),a=r.current,o=a;return o?t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{r.current=o,a==n&&(n.inputs=n.result=void 0)},[o]),o.result}var ct=n(14041),dt=e=>(0,ct.useEffect)(e,ft),ft=[],pt=n(14041);function mt(e){let t=(0,pt.useRef)();return(0,pt.useEffect)(()=>{t.current=e}),t.current}var ht=n(14041),yt=()=>{let[e,t]=(0,ht.useState)(null);return it(()=>{let e=window.matchMedia("(prefers-reduced-motion)"),n=e=>{t(e.matches),E({skipAnimation:e.matches})};return n(e),e.addEventListener?e.addEventListener("change",n):e.addListener(n),()=>{e.removeEventListener?e.removeEventListener("change",n):e.removeListener(n)}},[]),e},bt=n(973)},25371(e,t,n){var r=n(12231),a=n(2404);e.exports=function e(t,n,o,i,l){var s=-1,u=t.length;for(o||(o=a),l||(l=[]);++s0&&o(c)?n>1?e(c,n-1,o,i,l):r(l,c):i||(l[l.length]=c)}return l}},25390(e,t,n){"use strict";var r=n(91638),a=n(12658);r.Observable.prototype.throttle=a.throttle},25416(e,t,n){var r=n(2915),a=n(48769);e.exports=function(e){return a(e)&&r(e)}},25465(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(45888))&&r.__esModule?r:{default:r};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(99420))},25836(e){"use strict";var t={}.hasOwnProperty,n=/[ -,\.\/:-@\[-\^`\{-~]/,r=/[ -,\.\/:-@\[\]\^`\{-~]/,a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,o=function e(o,i){"single"!=(i=function(e,n){if(!e)return n;var r={};for(var a in n)r[a]=t.call(e,a)?e[a]:n[a];return r}(i,e.options)).quotes&&"double"!=i.quotes&&(i.quotes="single");for(var l="double"==i.quotes?'"':"'",s=i.isIdentifier,u=o.charAt(0),c="",d=0,f=o.length;d126){if(m>=55296&&m<=56319&&d{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f={};c(f,{ZoomContextProvider:()=>b,useZoomContext:()=>g}),e.exports=(r=f,d(o({},"__esModule",{value:!0}),r));var p={};c(p,{default:()=>h});var m=((e,t,n)=>(n=null!=e?a(s(e)):{},d(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(14041));((e,t)=>{d(e,t,"default")})(p,n(14041));var h="default"in m?m.default:m,y=p.createContext(1),b=y.Provider,g=()=>p.useContext(y)},26068(e,t,n){(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{Spring:()=>p,Transition:()=>m,useAnimation:()=>d,useAnimationTransition:()=>f});const a=n(71560),o=n(21216);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:(0,a.default)(i,["document","location","pathname"],"")).match(/\w\w.\w\w\/(app|manager)\/([^/]+)/);return e?e[2]:void 0}t.isAvailable=u;var d=c();t.app=d;var f=l("APP_BUILD");t.appBuild=f;var p=l("BUILD_NUMBER");t.buildNumber=p;var m=l("BUILD_PUSH_NUMBER");t.buildPushNumber=m;var h=(0,a.default)(i,"$C");t.config=h;var y=l("LOCALE");t.locale=y;var b=l("MRSPARKLE_PORT_NUMBER");t.portNumber=b;var g=l("MRSPARKLE_ROOT_PATH");t.rootPath=g;var v=l("SERVER_ZONEINFO");t.serverTimezoneInfo=v;var _=l("SPLUNKD_PATH");t.splunkdPath=_;var M=l("USERNAME");t.username=M;var w=l("VERSION_LABEL");t.versionLabel=w},26262(e,t,n){"use strict";var r=n(91638),a=n(57530);r.Observable.prototype.distinctUntilChanged=a.distinctUntilChanged},26361(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>H});const a=n(14041);var o=t.n(a);const i=n(56505);var l=t.n(i);const s=n(39067);var u=t.n(s);const c=n(77996);var d=t.n(c);const f=n(57959);var p=t.n(f);const m=n(30762);var h=t.n(m);const y=n(91659);var b=t.n(y);const g=n(41454),v=n(66115),_=n(53057);var M=t.n(_);const w=n(64852);var S=t.n(w);const x=n(18672);var k=M().span.withConfig({displayName:"TooltipStyles__Styled",componentId:"sc-67fvgm-0"})(["",";position:relative;"],x.mixins.reset("block")),C=M().span.withConfig({displayName:"TooltipStyles__StyledInline",componentId:"sc-67fvgm-1"})(["",";position:relative;"],x.mixins.reset("inline-block")),E=M().span.withConfig({displayName:"TooltipStyles__StyledToggle",componentId:"sc-67fvgm-2"})(["display:block;"]),A=M().span.withConfig({displayName:"TooltipStyles__StyledToggleInline",componentId:"sc-67fvgm-3"})(["display:inline-block;"]),L=M().div.withConfig({displayName:"TooltipStyles__StyledContent",componentId:"sc-67fvgm-4"})(["",";padding:",";user-select:none;"],x.mixins.typography("smallBody",{color:"active"}),x.variables.spacingSmall),O=M()(S()).withConfig({displayName:"TooltipStyles__StyledButton",componentId:"sc-67fvgm-5"})(["cursor:help;border-radius:50%;"]);function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"mouseLeaveToggle";(null==e.relatedTarget||e.relatedTarget!==ee&&e.relatedTarget!==re)&&de(e,{reason:t})},[de,ee,re]),be=(0,a.useCallback)(function(e){ye(e,"mouseLeavePopover")},[ye]),ge=(0,a.useCallback)(function(e){ye(e,"mouseLeaveHitArea")},[ye]),ve=(0,a.useCallback)(function(e){de(e,{reason:"mouseStopHitArea"})},[de]),_e=l()(ve,10),Me=(0,a.useCallback)(function(e){e?(e.addEventListener("mouseenter",pe),e.addEventListener("mouseleave",ye)):$&&($.removeEventListener("mouseenter",pe),$.removeEventListener("mouseleave",ye)),G(e)},[$,pe,ye]),we=(0,a.useCallback)(function(e){e?(e.addEventListener("mouseenter",me),e.addEventListener("mouseleave",be)):ee&&(ee.removeEventListener("mouseenter",me),ee.removeEventListener("mouseleave",be)),te(e)},[me,be,ee]),Se=(0,a.useCallback)(function(e){ae(e)},[]),xe=(0,a.useCallback)(function(e){e?(e.addEventListener("mouseenter",he),e.addEventListener("mousemove",_e),e.addEventListener("mouseleave",ge)):J&&(J.removeEventListener("mouseenter",he),J.removeEventListener("mousemove",_e),J.removeEventListener("mouseleave",ge)),Z(e)},[he,ge,_e,J]),ke=(0,a.useCallback)(function(e){"notOnClick"!==c&&de(e,{reason:"toggleClick"})},[c,de]),Ce=(0,a.useCallback)(function(e){fe(e,{reason:"focusToggle"})},[fe]),Ee=(0,a.useCallback)(function(e){de(e,{reason:"blurToggle"})},[de]),Ae=(0,a.useCallback)(function(e){de(null,e)},[de]),Le=(0,a.useCallback)(function(e){Me(e),function(e,t){e&&("function"==typeof e?e(t):e.current=t)}(_,e)},[_,Me]),Oe=(0,a.useMemo)(function(){return{"data-test":"toggle",elementRef:Le,onBlur:Ee,onClick:ke,onFocus:Ce}},[Ee,ke,Ce,Le]),Te=(0,a.useMemo)(function(){return"label"===f?{"aria-labelledby":ie,labelledBy:ie}:{"aria-describedby":ie,describedBy:ie}},[f,ie]),De=(0,a.useMemo)(function(){return{append:n,prepend:W}},[n,W]),ze=(0,a.useMemo)(function(){return j(j(j({},Te),Oe),De)},[Te,Oe,De]),je=(0,a.useMemo)(function(){return j(j({},Te),De)},[Te,De]),Pe=(0,a.useCallback)(function(){return null==Y?void 0:Y(j(j(j({},ze),Te),De))},[Te,ze,r,De,Y]),Be=(0,a.useCallback)(function(){var e;e=(0,a.isValidElement)(r)?(0,a.cloneElement)(r,je):r||o().createElement(O,{appearance:"subtle","aria-describedby":ie,"aria-label":(0,g._)("More info"),icon:R});var t=w?A:E;return o().createElement(t,{"data-test":"toggle",onClick:ke,onFocus:Ce,onBlur:Ee,ref:Me},e)},[r,w,ke,Ce,Ee,Me,je,ie]),Ye=w?C:k,Ne=!!d&&o().createElement(h(),{"aria-hidden":"true",id:ie},d),Fe=o().createElement(p(),{role:"tooltip",align:"center",anchor:$,animationConfig:F,appearance:t,closeReasons:I,defaultPlacement:y,id:le,open:ue,onRequestClose:Ae,elementRef:we,hitAreaRef:xe,outerRef:Se,pointTo:N},o().createElement(L,null,d));return Y?o().createElement(o().Fragment,null,Pe(),Ne,Fe):o().createElement(Ye,D({"data-test":"tooltip","data-test-open":ue,"data-test-popover-id":le,ref:_},H),Be(),Ne,Fe)}W.propTypes=N,W.possibleOpenReasons=["focusToggle","mouseEnterPopover","mouseEnterToggle","mouseEnterHitArea"],W.possibleCloseReasons=["blurToggle","clickAway","escapeKey","mouseLeaveHitArea","mouseLeavePopover","mouseLeaveToggle","mouseStopHitArea","offScreen","tabKey","toggleClick"];const H=W;e.exports=r})()},26433(e,t,n){"use strict";var r=n(83069);t.webSocket=r.WebSocketSubject.create},26685(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function M(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case y:case h:case s:return e;default:return t}}case a:return t}}}function w(e){return M(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=y,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||M(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return M(e)===u},t.isContextProvider=function(e){return M(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return M(e)===f},t.isFragment=function(e){return M(e)===o},t.isLazy=function(e){return M(e)===y},t.isMemo=function(e){return M(e)===h},t.isPortal=function(e){return M(e)===a},t.isProfiler=function(e){return M(e)===l},t.isStrictMode=function(e){return M(e)===i},t.isSuspense=function(e){return M(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===g||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b)},t.typeOf=M},26723(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M10.5858 14L9.2929 15.2929C8.90237 15.6834 8.90237 16.3166 9.2929 16.7071C9.68342 17.0976 10.3166 17.0976 10.7071 16.7071L12 15.4142L13.2929 16.7071C13.6834 17.0976 14.3166 17.0976 14.7071 16.7071C15.0976 16.3166 15.0976 15.6834 14.7071 15.2929L13.4142 14L14.7071 12.7071C15.0976 12.3166 15.0976 11.6834 14.7071 11.2929C14.3166 10.9024 13.6834 10.9024 13.2929 11.2929L12 12.5858L10.7071 11.2929C10.3166 10.9024 9.68342 10.9024 9.29289 11.2929C8.90237 11.6834 8.90237 12.3166 9.29289 12.7071L10.5858 14Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6H20C20.5523 6 21 6.44772 21 7C21 7.55228 20.5523 8 20 8H19V20.5C19 21.3284 18.3284 22 17.5 22H6.5C5.67157 22 5 21.3284 5 20.5V8H4C3.44772 8 3 7.55228 3 7C3 6.44772 3.44772 6 4 6H8V3.5C8 2.67157 8.67157 2 9.5 2H14.5C15.3284 2 16 2.67157 16 3.5V6ZM10 4V6H14V4H10ZM7 8V20H17V8H7Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6V3.5C16 2.67157 15.3284 2 14.5 2H9.5C8.67157 2 8 2.67157 8 3.5V6H4C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8H5V20.5C5 21.3284 5.67157 22 6.5 22H17.5C18.3284 22 19 21.3284 19 20.5V8H20C20.5523 8 21 7.55228 21 7C21 6.44772 20.5523 6 20 6H16ZM10 6V4H14V6H10ZM12 12.5859L10.7071 11.293C10.3166 10.9025 9.68342 10.9025 9.29289 11.293C8.90237 11.6835 8.90237 12.3167 9.29289 12.7072L10.5858 14.0001L9.2929 15.293C8.90237 15.6835 8.90237 16.3167 9.2929 16.7072C9.68342 17.0978 10.3166 17.0978 10.7071 16.7072L12 15.4143L13.2929 16.7072C13.6834 17.0978 14.3166 17.0978 14.7071 16.7072C15.0976 16.3167 15.0976 15.6835 14.7071 15.293L13.4142 14.0001L14.7071 12.7072C15.0976 12.3167 15.0976 11.6835 14.7071 11.293C14.3166 10.9025 13.6834 10.9025 13.2929 11.293L12 12.5859Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{Any:()=>l}),e.exports=(t=i,((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))!o.call(e,i)&&undefined!==i&&n(e,i,{get:()=>t[i],enumerable:!(l=r(t,i))||l.enumerable});return e})(n({},"__esModule",{value:!0}),t));var l=class{}},26854(e,t,n){"use strict";var r="undefined"!=typeof window&&window,a="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==n.g&&n.g,i=r||o||a;t.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()},26863(e,t,n){var r=n(3325);e.exports=function(e,t){return r(t,function(t){return e[t]})}},26902(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M13.1998 8.79998C13.1998 8.13723 12.6625 7.59998 11.9998 7.59998C11.3371 7.59998 10.7998 8.13723 10.7998 8.79998C10.7998 9.46272 11.3371 9.99998 11.9998 9.99998C12.6625 9.99998 13.1998 9.46272 13.1998 8.79998Z"}),o().createElement("path",{d:"M12.9998 15.5C12.9998 16.0523 12.552 16.5 11.9998 16.5C11.4475 16.5 10.9998 16.0523 10.9998 15.5V12.25C10.9998 11.6977 11.4475 11.25 11.9998 11.25C12.552 11.25 12.9998 11.6977 12.9998 12.25V15.5Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0645 1.44091C12.4766 0.853028 11.5234 0.853031 10.9355 1.44091L1.44091 10.9355C0.853029 11.5234 0.853031 12.4766 1.44091 13.0645L10.9355 22.5591C11.5234 23.147 12.4766 23.147 13.0645 22.5591L22.5591 13.0645C23.147 12.4766 23.147 11.5234 22.5591 10.9355L13.0645 1.44091ZM3.20489 12L12 3.20489L20.7951 12L12 20.7951L3.20489 12Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9355 1.44091C11.5234 0.853031 12.4766 0.853028 13.0645 1.44091L22.5591 10.9355C23.147 11.5234 23.147 12.4766 22.5591 13.0645L13.0645 22.5591C12.4766 23.147 11.5234 23.147 10.9355 22.5591L1.44091 13.0645C0.853031 12.4766 0.853029 11.5234 1.44091 10.9355L10.9355 1.44091ZM13.1998 8.79998C13.1998 8.13723 12.6625 7.59998 11.9998 7.59998C11.3371 7.59998 10.7998 8.13723 10.7998 8.79998C10.7998 9.46272 11.3371 9.99998 11.9998 9.99998C12.6625 9.99998 13.1998 9.46272 13.1998 8.79998ZM11.9998 16.5C12.552 16.5 12.9998 16.0523 12.9998 15.5V12.25C12.9998 11.6977 12.552 11.25 11.9998 11.25C11.4475 11.25 10.9998 11.6977 10.9998 12.25V15.5C10.9998 16.0523 11.4475 16.5 11.9998 16.5Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f={};c(f,{deepMergeWithArrayPrimitiveOverrides:()=>p.deepMergeWithArrayPrimitiveOverrides}),e.exports=(r=f,d(o({},"__esModule",{value:!0}),r));var p={};c(p,{default:()=>h});var m=((e,t,n)=>(n=null!=e?a(s(e)):{},d(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(44081));((e,t)=>{d(e,t,"default")})(p,n(44081));var h="default"in m?m.default:m},27124(e,t,n){var r=n(23153),a=n(96983);e.exports=function(e,t){return t.length<2?e:r(e,a(t,0,-1))}},27164(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={spacingXSmall:"4px",spacingSmall:"8px",spacingMedium:"12px",spacingLarge:"16px",spacingXLarge:"24px",spacingXXLarge:"32px",spacingXXXLarge:"40px",inputBorderWidth:"1px",inputHeight:"28px",borderRadius:"4px"}},27176(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(5169);t.elementAt=function(e,t){return function(n){return n.lift(new i(e,t))}};var i=function(){function e(e,t){if(this.index=e,this.defaultValue=t,e<0)throw new o.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.index,this.defaultValue))},e}(),l=function(e){function t(t,n,r){e.call(this,t),this.index=n,this.defaultValue=r}return r(t,e),t.prototype._next=function(e){0===this.index--&&(this.destination.next(e),this.destination.complete())},t.prototype._complete=function(){var e=this.destination;this.index>=0&&(void 0!==this.defaultValue?e.next(this.defaultValue):e.error(new o.ArgumentOutOfRangeError)),e.complete()},t}(a.Subscriber)},27289(e,t,n){"use strict";var r=n(17924);t.publishBehavior=function(e){return r.publishBehavior(e)(this)}},27325(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(36786),o=n(70817),i=n(234),l=n(740);t.expand=function(e,t,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(r){return r.lift(new s(e,t,n))}};var s=function(){function e(e,t,n){this.project=e,this.concurrent=t,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.concurrent,this.scheduler))},e}();t.ExpandOperator=s;var u=function(e){function t(t,n,r,a){e.call(this,t),this.project=n,this.concurrent=r,this.scheduler=a,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(i.OuterSubscriber);t.ExpandSubscriber=u},27427(e,t,n){"use strict";var r=n(91638),a=n(32335);r.Observable.prototype.count=a.count},27430(e,t,n){var r=n(81981),a=n(922)(r);e.exports=a},27510(e,t,n){var r=n(38639),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},27540(e,t,n){"use strict";var r=n(54319);t.buffer=function(e){return r.buffer(e)(this)}},27544(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(99420))},27554(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=function(e){function t(t,n){e.call(this),this.error=t,this.scheduler=n}return r(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.error;e.subscriber.error(t)},t.prototype._subscribe=function(e){var n=this.error,r=this.scheduler;if(e.syncErrorThrowable=!0,r)return r.schedule(t.dispatch,0,{error:n,subscriber:e});e.error(n)},t}(n(91638).Observable);t.ErrorObservable=a},27670(e,t,n){"use strict";var r=n(19524),a=n(41133);t.queue=new a.QueueScheduler(r.QueueAction)},27699(e,t,n){"use strict";var r=n(91638),a=n(46455);r.Observable.prototype.switchMapTo=a.switchMapTo},27769(e,t,n){"use strict";var r=n(28358);t.repeatWhen=function(e){return r.repeatWhen(e)(this)}},27896(e,t,n){e=n.nmd(e);var r=n(73657),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,i=o&&o.exports===a&&r.process,l=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l},27900(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(99420))},27988(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5V11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H11V19C11 19.5523 11.4477 20 12 20C12.5523 20 13 19.5523 13 19V13H19C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11H13V5Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(99420))},28153(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(64871);t.single=function(e){return function(t){return t.lift(new i(e,t))}};var i=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.predicate,this.source))},e}(),l=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return r(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new o.EmptyError)},t}(a.Subscriber)},28358(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(99731),o=n(36786),i=n(70817),l=n(234),s=n(740);t.repeatWhen=function(e){return function(t){return t.lift(new u(e))}};var u=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.notifier,t))},e}(),c=function(e){function t(t,n,r){e.call(this,t),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return r(t,e),t.prototype.notifyNext=function(e,t,n,r,a){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(t){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype._unsubscribeAndRecycle=function(){var t=this,n=t.notifications,r=t.retries,a=t.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,e.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=a,this},t.prototype.subscribeToRetries=function(){this.notifications=new a.Subject;var t=o.tryCatch(this.notifier)(this.notifications);if(t===i.errorObject)return e.prototype.complete.call(this);this.retries=t,this.retriesSubscription=s.subscribeToResult(this,t)},t}(l.OuterSubscriber)},28541(e,t,n){var r=n(21021),a=n(14969);e.exports=function(e,t){return null!=e&&a(e,t,r)}},28621(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=function(e){function t(){e.apply(this,arguments)}return r(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,a=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,i){var l=r(t),s=a[e][r(t)];return 2===l&&(s=s[n?0:1]),s.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(99420))},28907(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(91638),o=n(57733),i=function(e){return e},l=function(e){function t(t,n,r,a,o){e.call(this),this.initialState=t,this.condition=n,this.iterate=r,this.resultSelector=a,this.scheduler=o}return r(t,e),t.create=function(e,n,r,a,l){return 1==arguments.length?new t(e.initialState,e.condition,e.iterate,e.resultSelector||i,e.scheduler):void 0===a||o.isScheduler(a)?new t(e,n,r,i,a):new t(e,n,r,a,l)},t.prototype._subscribe=function(e){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(t.dispatch,0,{subscriber:e,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var r=this,a=r.condition,o=r.resultSelector,i=r.iterate;;){if(a){var l=void 0;try{l=a(n)}catch(t){return void e.error(t)}if(!l){e.complete();break}}var s=void 0;try{s=o(n)}catch(t){return void e.error(t)}if(e.next(s),e.closed)break;try{n=i(n)}catch(t){return void e.error(t)}}},t.dispatch=function(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(n){var r=void 0;try{r=n(e.state)}catch(e){return void t.error(e)}if(!r)return void t.complete();if(t.closed)return}var a;try{a=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(a),!t.closed))return this.schedule(e)}},t}(a.Observable);t.GenerateObservable=l},28961(e,t,n){"use strict";var r=n(91638),a=n(35093);r.Observable.prototype.take=a.take},28999(e,t,n){var r=n(43390),a=n(22498);e.exports=function(e,t){return e&&r(t,a(t),e)}},29181(e,t,n){"use strict";var r=n(9360);e.exports=function(e){return r({},e)}},29210(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},29451(e,t,n){"use strict";var r=n(91638),a=n(70447);r.Observable.prototype.every=a.every},29527(e,t,n){"use strict";var r=n(91638),a=n(6043);r.Observable.prototype.audit=a.audit},29551(e,t,n){"use strict";var r=n(55324);t._do=function(e,t,n){return r.tap(e,t,n)(this)}},29806(e,t,n){"use strict";var r=n(9510);t._switch=function(){return r.switchAll()(this)}},29852(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2]);var r,a}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(99420))},29945(e,t,n){"use strict";var r=n(56504);t.materialize=function(){return r.materialize()(this)}},30080(e,t,n){(()=>{"use strict";var t={5524:(e,t,r)=>{r.d(t,{default:()=>z});const a=n(14041);var o=r.n(a);const i=n(62058);var l=r.n(i);const s=n(39067);var u=r.n(s);const c=n(98237);var d=r.n(c);const f=n(32769);var p=r.n(f);const m=n(26251),h=n(99215),y=n(49429),b=n(22697);var g=r(1613);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function _(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return M(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?a-1:0),i=1;i{r.d(t,{fetchUserRTSearchCapability:()=>s});const a=n(85741);var o=r.n(a);const i=n(56473);var l=(0,n(31280).createRESTURL)("authentication/current-context"),s=o()(function(){return fetch("".concat(l,"?output_mode=json"),i.defaultFetchInit).then((0,i.handleResponse)(200)).then(function(e){var t,n;return null!==(t=null===(n=e.entry[0])||void 0===n?void 0:n.content.capabilities.includes("rtsearch"))&&void 0!==t&&t}).catch(function(e){return console.log("real time capability fetch failed",e),!1})})}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{a.r(o),a.d(o,{default:()=>e.default});var e=a(5524)})(),e.exports=o})()},30114(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M18.2683 14.3176L18.4347 14.9385C18.6076 14.558 18.745 14.1621 18.845 13.7557C18.9446 13.3507 19.0066 12.9374 19.0301 12.521L19.0359 12.4168C19.066 11.883 19.0406 11.3476 18.9601 10.8191L18.946 10.7262C18.8791 10.2871 18.7692 9.85565 18.6178 9.43809C18.4825 9.06465 18.3145 8.70384 18.1159 8.35985L18.0865 8.30895C17.8329 7.8697 17.5279 7.46221 17.1779 7.09509C16.9594 6.86586 16.7241 6.6532 16.474 6.45886L16.3178 6.33745C16.013 6.10058 15.6822 5.88718 15.3397 5.7057C14.9498 5.49907 14.5346 5.32949 14.113 5.20551C13.7199 5.08992 13.3168 5.01142 12.909 4.97105L12.8404 4.96425C12.418 4.92243 11.9927 4.91835 11.5696 4.95207C11.1329 4.98688 10.7002 5.06182 10.2772 5.17595L9.70045 5.33154C9.16722 5.47539 8.61835 5.15975 8.4745 4.62653C8.33064 4.0933 8.64629 3.54443 9.17951 3.40058L9.75625 3.24498C10.2978 3.09889 10.8516 3.00295 11.4107 2.95839C11.9524 2.91523 12.4967 2.92044 13.0374 2.97398L13.1061 2.98078C13.6382 3.03347 14.1642 3.1359 14.6772 3.28674C15.2294 3.44912 15.7691 3.66982 16.2761 3.93846C16.7194 4.17335 17.1477 4.44944 17.5451 4.75825L17.7013 4.87966C18.0296 5.13484 18.3386 5.41408 18.6255 5.71506C19.085 6.1971 19.4855 6.73215 19.8185 7.30891L19.8479 7.35981C20.1052 7.80541 20.3228 8.27278 20.4981 8.75653C20.6942 9.29742 20.8366 9.8563 20.9232 10.4251L20.9373 10.518C21.0387 11.1834 21.0706 11.8574 21.0328 12.5293L21.0269 12.6336C20.9965 13.1731 20.9162 13.7087 20.7871 14.2335C20.6486 14.7966 20.4545 15.3443 20.2081 15.8684L20.7178 15.7318C21.2513 15.5889 21.7996 15.9055 21.9425 16.4389C22.0855 16.9724 21.7689 17.5207 21.2354 17.6637L18.8206 18.3107C18.0204 18.5251 17.1979 18.0502 16.9835 17.25L16.3364 14.8352C16.1935 14.3018 16.5101 13.7534 17.0435 13.6105C17.577 13.4675 18.1253 13.7841 18.2683 14.3176Z"}),o().createElement("path",{d:"M3.92338 7.90998L3.33303 8.06815C2.79956 8.21109 2.25123 7.8945 2.10829 7.36103C1.96536 6.82756 2.28195 6.27923 2.81542 6.13629L5.23025 5.48928C6.03045 5.27489 6.85294 5.74976 7.06735 6.54995L7.71438 8.96473C7.85733 9.49819 7.54074 10.0465 7.00728 10.1895C6.47381 10.3324 5.92547 10.0158 5.78253 9.48236L5.64087 8.95366C5.46964 9.32318 5.33201 9.70773 5.22982 10.1027C5.12536 10.5064 5.05847 10.9189 5.03002 11.335L5.0229 11.4392C4.98643 11.9725 5.00542 12.5082 5.07958 13.0376L5.09262 13.1307C5.15423 13.5706 5.25896 14.0033 5.40531 14.4227C5.5362 14.7977 5.69983 15.1605 5.89432 15.5068L5.9231 15.5581C6.17144 16.0003 6.47157 16.4114 6.81713 16.7827C7.0329 17.0145 7.26562 17.23 7.51334 17.4273L7.66811 17.5506C7.97005 17.7911 8.29825 18.0084 8.63855 18.194C9.02601 18.4053 9.43913 18.5798 9.85925 18.7088C10.2509 18.8291 10.6531 18.9124 11.0603 18.9577L11.1289 18.9653C11.5507 19.0122 11.9759 19.0213 12.3994 18.9927C12.8365 18.9631 13.27 18.8933 13.6944 18.7843L14.273 18.6356C14.8079 18.4981 15.3529 18.8203 15.4904 19.3552C15.6278 19.8901 15.3057 20.4352 14.7708 20.5726L14.1922 20.7213C13.6489 20.8609 13.094 20.9502 12.5344 20.9881C11.9923 21.0248 11.448 21.0131 10.908 20.9531L10.8394 20.9454C10.308 20.8864 9.78328 20.7777 9.27214 20.6207C8.72188 20.4517 8.18481 20.2246 7.68106 19.9499C7.24061 19.7097 6.8157 19.4285 6.42205 19.115L6.26729 18.9917C5.94201 18.7326 5.63645 18.4497 5.35313 18.1453C4.89939 17.6578 4.50532 17.118 4.17923 16.5373L4.15045 16.4861C3.89852 16.0374 3.68656 15.5675 3.51701 15.0817C3.32743 14.5385 3.19176 13.9779 3.11195 13.4082L3.09891 13.3151C3.00556 12.6486 2.98164 11.9742 3.02756 11.3027L3.03468 11.1986C3.07155 10.6594 3.15822 10.1248 3.29359 9.60167C3.4448 9.01724 3.65593 8.45036 3.92338 7.90998Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.family,n=void 0===t?"prisma":t,r=e.colorScheme,a=void 0===r?"dark":r,o=e.density,i=void 0===o?"compact":o,l=e.isPrisma,s=void 0===l||l,u=e.isEnterprise,c=void 0!==u&&u,d=e.isComfortable,f=void 0!==d&&d,p=e.isCompact,m=void 0===p||p,h=e.isDark,y=void 0===h||h,b=e.isLight;return{family:n,colorScheme:a,density:i,isPrisma:s,isEnterprise:c,isComfortable:f,isCompact:m,isDark:y,isLight:void 0!==b&&b}};var i=(0,r.default)(function(e,t){var n=(0,a.default)(e);return t?t(n):n},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.family,n=e.colorScheme,r=e.density,a=arguments.length>1?arguments[1]:void 0;return"".concat(t,"-").concat(n,"-").concat(r,"-").concat(!!a)});t.getCustomizedTheme=i,t.clearCustomizedThemeCache=function(){var e,t;return null===(e=(t=i.cache).clear)||void 0===e?void 0:e.call(t)}},30438(e,t,n){"use strict";var r=n(9957);e.exports=function(e,t,n,a){var o,i=e.length,l=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,a.length<1e4)(o=Array.from(a)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);l{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>h});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672);var d=u().span.withConfig({displayName:"ScreenReaderContentStyles__Styled",componentId:"sc-1lnohwp-0"})(["",";"],c.mixins.screenReaderContent());function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(99420))},30929(e){"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},30944(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M18.9999 5.00635V18.9938H5.01245V16.0157C5.01245 15.4634 4.56473 15.0157 4.01245 15.0157C3.46016 15.0157 3.01245 15.4634 3.01245 16.0157V19.4938C3.01245 20.3222 3.68402 20.9938 4.51245 20.9938H19.4999C20.3283 20.9938 20.9999 20.3222 20.9999 19.4938V4.50635C20.9999 3.67792 20.3283 3.00635 19.4999 3.00635H4.51245C3.68402 3.00635 3.01245 3.67792 3.01245 4.50635V7.99164C3.01245 8.54392 3.46016 8.99164 4.01245 8.99164C4.56473 8.99164 5.01245 8.54392 5.01245 7.99164V5.00635H18.9999Z"}),o().createElement("path",{d:"M12.8214 12.9645H4.00464C3.45235 12.9645 3.00464 12.5168 3.00464 11.9645C3.00464 11.4122 3.45235 10.9645 4.00464 10.9645H12.7504L11.4862 9.70028C11.0957 9.30976 11.0957 8.6766 11.4862 8.28607C11.8767 7.89554 12.5099 7.89553 12.9004 8.28605L15.5537 10.9393C16.1395 11.5251 16.1395 12.4748 15.5537 13.0606L12.9004 15.7139C12.5099 16.1044 11.8767 16.1044 11.4862 15.7139C11.0957 15.3234 11.0957 14.6902 11.4862 14.2997L12.8214 12.9645Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M3.01221 19.4938C3.01221 20.3222 3.68378 20.9938 4.51221 20.9938H19.4997C20.3281 20.9938 20.9997 20.3222 20.9997 19.4938V4.50635C20.9997 3.67792 20.3281 3.00635 19.4997 3.00635H4.51221C3.68378 3.00635 3.01221 3.67792 3.01221 4.50635V10.9645H12.7505L11.4863 9.70028C11.0958 9.30976 11.0958 8.6766 11.4863 8.28607C11.8768 7.89554 12.51 7.89553 12.9005 8.28605L15.5538 10.9393C16.1396 11.5251 16.1396 12.4748 15.5538 13.0606L12.9005 15.7139C12.51 16.1044 11.8768 16.1044 11.4863 15.7139C11.0958 15.3234 11.0958 14.6902 11.4863 14.2997L12.8215 12.9645H3.01221V19.4938Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r1&&void 0!==arguments[1]?arguments[1]:{}),o=e.match(/(^|\w\w-\w\w\/)static\//);if(!o)return e;var l=o.index+o[0].length-1,s=e.match(/(^|\w\w-\w\w|)static\/app/)?":".concat(r.appBuild||0):"",u=r.buildPushNumber?".".concat(r.buildPushNumber):"",c="/@".concat(r.buildNumber).concat(u).concat(s),d=e.substr(0,l),f=e.substr(l);return"".concat(d).concat(c).concat(f)}function c(e,s){var c=i({appBuild:t,buildPushNumber:a,buildNumber:n,rootPath:l,locale:o},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),d=e||"/",f=s?"?".concat((0,r.stringify)(s)):"";return"/"!==d.charAt(0)&&(d="/".concat(d)),u(d="".concat(c.rootPath||"","/").concat(c.locale).concat(d).concat(f),c)}function d(e,t){return c("/help",e,t)}return{createAppDocsURL:function(e,t,n){var r=t.appName,a=t.appVersion;return d({location:"[".concat(r,":").concat(a,"]").concat(e)},n)},createDocsURL:function(e,t){return d({location:e},t)},createRESTURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(/^http[s]?:\/\//.test(e))return e;var r,a,o=n.splunkdPath||s||"";return/^\/.*/.test(e)?/^\/services/.test(e)?"".concat(o).concat(e):e:t.app||t.owner?(r=t.sharing?"nobody":t.owner?encodeURIComponent(t.owner):"-",a="system"===t.sharing?"system":t.app?encodeURIComponent(t.app):"-","".concat(o,"/servicesNS/").concat(r,"/").concat(a,"/").concat(e)):"".concat(o,"/services/").concat(e)},createStaticURL:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f={};c(f,{TimezoneContextConsumer:()=>g,TimezoneContextProvider:()=>b,default:()=>v}),e.exports=(r=f,d(o({},"__esModule",{value:!0}),r));var p={};c(p,{default:()=>h});var m=((e,t,n)=>(n=null!=e?a(s(e)):{},d(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(14041));((e,t)=>{d(e,t,"default")})(p,n(14041));var h="default"in m?m.default:m,y=p.createContext({});y.displayName="data-splunk-visualization-version-TimezoneContext-28.3.0 - 843e0f60b";var b=y.Provider,g=y.Consumer,v=y},31912(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M12.0167 6.27273C12.9205 6.27273 13.6531 5.5401 13.6531 4.63636C13.6531 3.73263 12.9205 3 12.0167 3C11.113 3 10.3804 3.73263 10.3804 4.63636C10.3804 5.5401 11.113 6.27273 12.0167 6.27273Z"}),o().createElement("path",{d:"M13.6531 12C13.6531 12.9038 12.9205 13.6364 12.0167 13.6364C11.113 13.6364 10.3804 12.9038 10.3804 12C10.3804 11.0963 11.113 10.3636 12.0167 10.3636C12.9205 10.3636 13.6531 11.0963 13.6531 12Z"}),o().createElement("path",{d:"M13.6531 19.3637C13.6531 20.2674 12.9205 21 12.0167 21C11.113 21 10.3804 20.2674 10.3804 19.3637C10.3804 18.4599 11.113 17.7273 12.0167 17.7273C12.9205 17.7273 13.6531 18.4599 13.6531 19.3637Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>R});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(21216),u=n(30762);var c=t.n(u);const d=n(66115),f=n(53057);var p=t.n(f);const m=n(99716);var h=t.n(m);const y=n(41166);var b=t.n(y);const g=n(33199);var v=t.n(g);const _=n(43594);var M=t.n(_);const w=n(18672);var S="20px",x="12px",k=p()(v()).withConfig({displayName:"SwitchStyles__StyledBox",componentId:"sc-844ieu-0"})(["display:inline;position:relative;flex-shrink:0;gap:",";min-height:",";align-items:center;color:",";",""],w.variables.spacingSmall,w.variables.inputHeight,w.variables.contentColorActive,function(e){return e.$disabled&&(0,f.css)(["color:",";"],w.variables.contentColorDisabled)}),C=(0,f.css)([""," position:relative;width:",";height:",";line-height:",";border-radius:",";border:"," solid ",";background-color:",";cursor:pointer;flex:0 0 auto;&:not([disabled]){&:focus{box-shadow:",";}color:",";","}&[disabled]{border-color:",";background-color:",";",";}"],w.mixins.reset("inline"),S,S,S,w.variables.borderRadius,w.variables.inputBorderWidth,w.variables.interactiveColorBorder,w.variables.interactiveColorBackground,w.variables.focusShadow,(0,w.pick)({light:w.variables.white,dark:w.variables.black}),function(e){var t=e.$error,n=e.$selected;return n&&!t?(0,f.css)(["background-color:",";border:none;"],w.variables.interactiveColorAccent):!n&&t?(0,f.css)(["border-color:",";&:hover{border-color:",";background-color:",";}"],w.variables.interactiveColorAccentError,w.mixins.overlayColors(w.variables.interactiveColorAccentError,w.variables.interactiveColorBorderHover),w.mixins.overlayColors(w.variables.interactiveColorBackground,w.variables.interactiveColorOverlayHover)):n&&t?(0,f.css)(["background-color:",";border:none;"],w.variables.interactiveColorAccentError):(0,f.css)(["&:hover{border-color:",";background-color:",";}"],w.variables.interactiveColorBorderHover,w.mixins.overlayColors(w.variables.interactiveColorBackground,w.variables.interactiveColorOverlayHover))},w.variables.interactiveColorBorderDisabled,w.variables.interactiveColorBackgroundDisabled,function(e){return e.$selected&&(0,f.css)(["border:none;background-color:",";"],w.variables.neutral100)}),E=p()(M()).withConfig({displayName:"SwitchStyles__StyledCheckboxClickable",componentId:"sc-844ieu-1"})(["",""],C),A=(0,f.css)(["display:block;height:",";width:",";"],S,S),L=p()(h()).withConfig({displayName:"SwitchStyles__StyledCheck",componentId:"sc-844ieu-2"})(["",""],A),O=p()(b()).withConfig({displayName:"SwitchStyles__StyledSome",componentId:"sc-844ieu-3"})(["",""],A),T=p().div.withConfig({displayName:"SwitchStyles__StyledToggleIndicator",componentId:"sc-844ieu-4"})(["--toggle-indicator-margin:calc( "," - "," );background-color:",";border-radius:50%;box-sizing:border-box;width:",";height:",";position:absolute;left:var(--toggle-indicator-margin);top:var(--toggle-indicator-margin);",";"," "," ",";"],"4px",w.variables.inputBorderWidth,(0,w.pick)({light:w.variables.black,dark:w.variables.white}),x,x,function(e){var t=e.$delay;return t&&(0,f.css)(["transition:left ",";"],t)},(0,w.pick)({prisma:(0,f.css)(["box-shadow:",";"],w.variables.embossShadow)}),function(e){var t=e.$selected,n=e.$disabled;return(0,f.css)([""," ",""],t&&(0,f.css)(["left:calc(100% - ("," + var(--toggle-indicator-margin)));"],x),!n&&t&&(0,f.css)(["background-color:",";"],(0,w.pick)({light:w.variables.white,dark:w.variables.black})))},function(e){return e.$disabled&&(0,f.css)(["background-color:",";"],w.variables.neutral400)}),D=(0,f.css)(["position:relative;width:calc("," * 2);height:",";background-color:",";transition:background-color ",";flex:0 0 auto;border-radius:calc("," / 2);border:"," solid ",";&:not([disabled]){&:focus{box-shadow:",";}","}&[disabled]{border:"," solid ",";background-color:",";","}"],S,S,w.variables.interactiveColorBackground,function(e){return e.$delay},S,w.variables.inputBorderWidth,w.variables.interactiveColorBorder,w.variables.focusShadow,function(e){return e.$selected?(0,f.css)(["border-color:transparent;background-color:",";"],w.variables.interactiveColorAccent):(0,f.css)(["&:hover{border-color:",";background-color:",";}"],w.variables.interactiveColorBorderHover,w.mixins.overlayColors(w.variables.interactiveColorBackground,w.variables.interactiveColorOverlayHover))},w.variables.inputBorderWidth,w.variables.interactiveColorBorderDisabled,w.variables.interactiveColorBackgroundDisabled,function(e){return e.$selected&&(0,f.css)(["background-color:",";"],w.variables.neutral100)}),z=p()(M()).withConfig({displayName:"SwitchStyles__StyledToggleClickable",componentId:"sc-844ieu-5"})(["",""],D),j=p().label.withConfig({displayName:"SwitchStyles__StyledLabel",componentId:"sc-844ieu-6"})([""," flex:1 1 auto;color:inherit;line-height:",";",";"],w.mixins.reset("inline-block"),w.variables.lineHeight,function(e){return!e.$disabled&&(0,f.css)(["cursor:pointer;"])}),P=function(e){var t=e.additionalMessage,n=void 0===t?"":t,r=e.componentName,o=e.propName,i=e.propValue;(0,a.useEffect)(function(){},[n,r,o,i])};function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},t}(a.Subscriber)},32620(e,t,n){"use strict";var r=n(5905),a=function(){function e(){this.subscriptions=[]}return e.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},e.prototype.logUnsubscribedFrame=function(e){var t=this.subscriptions,n=t[e];t[e]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},e}();t.SubscriptionLoggable=a},32660(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M12.4154 7.99105H16.9958C18.1004 7.99105 18.9958 8.88648 18.9958 9.99105V14.9962C18.9958 15.5485 18.5481 15.9962 17.9958 15.9962L17.5051 15.9962C16.9528 15.9962 16.5051 16.4439 16.5051 16.9962C16.5051 17.5485 16.9528 17.9962 17.5051 17.9962H17.9958C19.6527 17.9962 20.9958 16.653 20.9958 14.9962V9.99105C20.9958 7.78191 19.205 5.99105 16.9958 5.99105L12.4233 5.99105L13.7123 4.70218C14.1028 4.31166 14.1028 3.6785 13.7123 3.28797C13.3218 2.89743 12.6886 2.89742 12.2981 3.28793L9.65156 5.93433C9.06575 6.52012 9.06574 7.4699 9.65155 8.05569L12.2981 10.7021C12.6886 11.0926 13.3218 11.0926 13.7123 10.7021C14.1028 10.3116 14.1028 9.67841 13.7123 9.28789L12.4154 7.99105Z"}),o().createElement("path",{d:"M10.298 20.7022C10.6885 21.0927 11.3217 21.0927 11.7122 20.7022L14.3587 18.0557C14.9445 17.4699 14.9445 16.5202 14.3587 15.9344L11.7122 13.2879C11.3217 12.8974 10.6885 12.8974 10.298 13.2879C9.9075 13.6785 9.9075 14.3116 10.298 14.7022L11.592 15.9962H7.00415C5.89958 15.9962 5.00415 15.1007 5.00415 13.9962L5.00415 8.99105C5.00415 8.43876 5.45187 7.99105 6.00415 7.99105H6.50513C7.05741 7.99105 7.50513 7.54333 7.50513 6.99105C7.50513 6.43876 7.05741 5.99105 6.50513 5.99105H6.00415C4.3473 5.99105 3.00415 7.3342 3.00415 8.99105L3.00415 13.9962C3.00415 16.2053 4.79501 17.9962 7.00415 17.9962L11.5898 17.9962L10.298 19.2879C9.9075 19.6785 9.9075 20.3116 10.298 20.7022Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={80023:e=>{e.exports=n(39067)},99497:e=>{e.exports=n(14041)}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{a.r(o),a.d(o,{default:()=>m});var e=a(99497),t=a.n(e),r=a(80023),i=a.n(r);const l=n(53057);var s=a.n(l);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>R});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(64722);var u=t.n(s);const c=n(25146);var d=t.n(c);const f=n(60375);var p=t.n(f);const m=n(77996);var h=t.n(m);const y=n(26902);var b=t.n(y);const g=n(30762);var v=t.n(g);const _=n(41454),M=n(53057);var w=t.n(M);const S=n(64852);var x=t.n(S);const k=n(18672);var C={info:k.variables.notificationColorInfo,success:k.variables.notificationColorPositive,warning:k.variables.notificationColorCaution,error:k.variables.notificationColorNegative},E=w().div.withConfig({displayName:"MessageStyles__StyledTitle",componentId:"eg66af-0"})(["",";"],k.mixins.typography("title4")),A=w().div.withConfig({displayName:"MessageStyles__StyledContent",componentId:"eg66af-1"})(["",";grid-row:1 / -1;grid-column:content;max-width:",";word-wrap:break-word;&:not(:has(> ",")){",";}"],k.mixins.typography("body"),k.variables.lineLength,E,k.mixins.typography("body",{color:"active"})),L=w().span.withConfig({displayName:"MessageStyles__StyledIcon",componentId:"eg66af-2"})(["fill:",";grid-row:1;height:20px;width:20px;"],(0,k.pickVariant)("$type",C)),O=w()(x()).withConfig({displayName:"MessageStyles__StyledRemove",componentId:"eg66af-3"})(["grid-column:remove;"]),T=w().div.withConfig({displayName:"MessageStyles__Styled",componentId:"eg66af-4"})(["",";grid-template-rows:1lh auto;align-items:center;padding:",";",";",""],k.mixins.reset("grid"),k.variables.spacingSmall,function(e){var t=e.$hasRemoveIcon;return(0,M.css)(["grid-template-columns:[icon] 20px "," [content] auto "," [remove] min-content;"],k.variables.spacingSmall,t?k.variables.spacingSmall:"0")},function(e){var t=e.$appearance,n=e.$hasRemoveIcon,r=e.$type,a=C[r];return"fill"===t&&(0,M.css)(["background-color:",";border-left:8px solid ",";border-radius:",";box-shadow:",";grid-template-columns:[icon] 20px "," [content] fit-content(",");padding-inline:",";",""],k.variables.backgroundColorPopup,a,k.variables.borderRadius,k.variables.embossShadow,k.variables.spacingSmall,k.variables.lineLength,k.variables.spacingMedium,n&&(0,M.css)(["grid-template-columns:[icon] 20px "," [content] fit-content(",") minmax(",",1fr) [remove] min-content;"],k.variables.spacingSmall,k.variables.lineLength,k.variables.spacingSmall))}),D={children:l().node};function z(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={729:(e,t,r)=>{r.d(t,{default:()=>B});var a=r(497),o=r.n(a),i=r(23),l=r.n(i);const s=n(73784);var u=r.n(s);const c=n(18474);var d=r.n(c);const f=n(86359);var p=r.n(f);const m=n(18546);var h=r.n(m);const y=n(44628);var b=r.n(y);const g=n(55415);var v=r.n(g),_=r(535),M=r(874),w="24px",S=function(e){var t=e.children;return o().createElement("svg",{viewBox:"0 0 24 24",width:w,height:w,xmlns:"http://www.w3.org/2000/svg"},t)};S.propTypes={children:l().node.isRequired};var x=function(e){var t=e.type,n="prisma"===v()().family?function(e){switch(e){case _.TOAST_TYPES.SUCCESS:return o().createElement(S,null,o().createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM16.8738 8.62627C17.2643 9.01679 17.2643 9.64996 16.8738 10.0405L11.5853 15.329C10.9996 15.9147 10.0499 15.9148 9.46414 15.3291L7.12637 12.9921C6.73579 12.6016 6.7357 11.9684 7.12616 11.5779C7.51663 11.1873 8.1498 11.1872 8.54038 11.5776L10.5246 13.5613L15.4596 8.62627C15.8501 8.23574 16.4833 8.23574 16.8738 8.62627Z",fill:"currentColor"}));case _.TOAST_TYPES.INFO:return o().createElement(S,null,o().createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.0001 16.0094V11.9999C11.0001 11.4476 11.4478 10.9999 12.0001 10.9999C12.5524 10.9999 13.0001 11.4476 13.0001 11.9999V16.0094C13.0001 16.5617 12.5524 17.0094 12.0001 17.0094C11.4478 17.0094 11.0001 16.5617 11.0001 16.0094ZM12 6.9999C12.6628 6.9999 13.2 7.53716 13.2 8.1999C13.2 8.86264 12.6628 9.3999 12 9.3999C11.3373 9.3999 10.8 8.86264 10.8 8.1999C10.8 7.53716 11.3373 6.9999 12 6.9999Z",fill:"currentColor"}));case _.TOAST_TYPES.ERROR:return o().createElement(S,null,o().createElement("path",{fillRule:"evenodd",d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12ZM11.0001 7.9906V12.0001C11.0001 12.5524 11.4478 13.0001 12.0001 13.0001C12.5524 13.0001 13.0001 12.5524 13.0001 12.0001V7.9906C13.0001 7.43832 12.5524 6.9906 12.0001 6.9906C11.4478 6.9906 11.0001 7.43832 11.0001 7.9906ZM12.0001 17.0001C12.6628 17.0001 13.2001 16.4628 13.2001 15.8001C13.2001 15.1374 12.6628 14.6001 12.0001 14.6001C11.3373 14.6001 10.8001 15.1374 10.8001 15.8001C10.8001 16.4628 11.3373 17.0001 12.0001 17.0001Z",fill:"currentColor"}));case _.TOAST_TYPES.WARNING:return o().createElement(S,null,o().createElement("path",{fillRule:"evenodd",d:"M10.6827 2.82369C11.2341 1.72544 12.7659 1.72544 13.3173 2.82369L21.8338 19.7867C22.3412 20.7973 21.6254 22 20.5165 22H3.48349C2.37462 22 1.65878 20.7973 2.16616 19.7867L10.6827 2.82369ZM11.0002 13.6618V11.0133C11.0002 10.461 11.4479 10.0133 12.0002 10.0133C12.5525 10.0133 13.0002 10.461 13.0002 11.0133V13.6618C13.0002 14.2141 12.5525 14.6618 12.0002 14.6618C11.4479 14.6618 11.0002 14.2141 11.0002 13.6618ZM13.2002 16.9347C13.2002 17.5975 12.6629 18.1347 12.0002 18.1347C11.3374 18.1347 10.8002 17.5975 10.8002 16.9347C10.8002 16.272 11.3374 15.7347 12.0002 15.7347C12.6629 15.7347 13.2002 16.272 13.2002 16.9347Z",fill:"currentColor"}));default:return o().createElement(S,null,o().createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.0001 16.0094V11.9999C11.0001 11.4476 11.4478 10.9999 12.0001 10.9999C12.5524 10.9999 13.0001 11.4476 13.0001 11.9999V16.0094C13.0001 16.5617 12.5524 17.0094 12.0001 17.0094C11.4478 17.0094 11.0001 16.5617 11.0001 16.0094ZM12 6.9999C12.6628 6.9999 13.2 7.53716 13.2 8.1999C13.2 8.86264 12.6628 9.3999 12 9.3999C11.3373 9.3999 10.8 8.86264 10.8 8.1999C10.8 7.53716 11.3373 6.9999 12 6.9999Z",fill:"currentColor"}))}}(t):function(e){switch(e){case _.TOAST_TYPES.SUCCESS:return o().createElement(p(),{size:w});case _.TOAST_TYPES.INFO:return o().createElement(d(),{size:w});case _.TOAST_TYPES.ERROR:return o().createElement(h(),{size:"26px"});case _.TOAST_TYPES.WARNING:return o().createElement(b(),{size:w});default:return o().createElement(d(),{size:w})}}(t);return o().createElement(M.xL,{role:"img","data-test":t,"aria-label":"".concat(t," toast icon"),$type:t},n)};x.propTypes={type:l().string.isRequired};const k=x;function C(e){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(e)}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.d(t,{TOAST_POSITIONS:()=>a,TOAST_TYPES:()=>r});var r={INFO:"info",WARNING:"warning",SUCCESS:"success",ERROR:"error"},a={TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right",BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right"}},874:(e,t,r)=>{r.d(t,{lj:()=>N,ye:()=>F,xL:()=>B,ZW:()=>V,g5:()=>P,TL:()=>U,f5:()=>j,OF:()=>Y});const a=n(53057);var o=r.n(a);const i=n(61839);var l=r.n(i);const s=n(18672);var u,c,d,f=r(535);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(){var e=D(["\n color: ",";\n "]);return m=function(){return e},e}function h(){var e=D(["\n ",";\n ",";\n font-size: 14px;\n margin-left: 12px;\n margin-right: 12px;\n ","\n box-sizing: content-box;\n"]);return h=function(){return e},e}function y(){var e=D(["\n ","\n position: fixed;\n z-index: ",";\n ",";\n"]);return y=function(){return e},e}function b(){var e=D(["\n bottom: 16px;\n left: 50%;\n margin-left: calc(-1 * "," / 2);\n"]);return b=function(){return e},e}function g(){var e=D(["\n bottom: 16px;\n right: 16px;\n"]);return g=function(){return e},e}function v(){var e=D(["\n bottom: 16px;\n left: 16px;\n"]);return v=function(){return e},e}function _(){var e=D(["\n top: 16px;\n left: 16px;\n"]);return _=function(){return e},e}function M(){var e=D(["\n top: 16px;\n right: 16px;\n"]);return M=function(){return e},e}function w(){var e=D(["\n top: 16px;\n left: 50%;\n margin-left: calc(-1 * "," / 2);\n"]);return w=function(){return e},e}function S(){var e=D(["\n width: ",";\n\n & > div:not(:nth-last-child(1)) {\n margin-bottom: 16px;\n }\n"]);return S=function(){return e},e}function x(){var e=D(["\n display: block;\n position: relative;\n float: right;\n margin: 3px 12px 12px 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n width: auto;\n color: ",";\n padding: 1px 0 2px;\n border: none;\n font-size: 14px;\n line-height: 20px;\n cursor: pointer;\n max-width: calc(100% - 24px);\n background-color: ",";\n box-sizing: content-box;\n"]);return x=function(){return e},e}function k(){var e=D(["\n overflow-y: auto;\n overflow-x: hidden;\n margin-left: 47px;\n width: 453px;\n padding-top: 8px;\n box-sizing: content-box;\n"]);return k=function(){return e},e}function C(){var e=D(["\n border-radius: "," 0 0 ",";\n "]);return C=function(){return e},e}function E(){var e=D(["\n width: 36px;\n height: 100%;\n display: flex;\n position: absolute;\n align-items: center;\n padding-left: 11px;\n background: ",";\n color: ",";\n ","\n box-sizing: content-box;\n"]);return E=function(){return e},e}function A(){var e=D(["\n display: inline-block;\n height: 100%;\n padding-top: 5px;\n margin-left: 12px;\n margin-right: 12px;\n max-width: 404px;\n hyphens: auto;\n text-overflow: ellipsis;\n padding-bottom: ",";\n box-sizing: content-box;\n"]);return A=function(){return e},e}function L(e,t,n){return(t=function(e){var t=function(e){if("object"!=p(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){var e=D(["\n border: 1px solid\n ",";\n "]);return O=function(){return e},e}function T(){var e=D(["\n width: ",";\n min-height: 46px;\n position: relative;\n background-color: ",";\n box-shadow: ",";\n ",";\n border-radius: ",";\n box-sizing: content-box;\n"]);return T=function(){return e},e}function D(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var z="500px",j=o().div(T(),z,(0,s.pick)({enterprise:s.variables.backgroundColor,prisma:s.variables.backgroundColorPopup}),(0,s.pick)({enterprise:s.variables.overlayShadow,prisma:s.variables.embossShadow}),(0,s.pick)({enterprise:(0,a.css)(O(),(0,s.pickVariant)("$type",(u={},L(u,f.TOAST_TYPES.INFO,s.variables.cat1Color),L(u,f.TOAST_TYPES.WARNING,s.variables.warningColor),L(u,f.TOAST_TYPES.SUCCESS,s.variables.successColor),L(u,f.TOAST_TYPES.ERROR,s.variables.errorColor),u)))}),s.variables.borderRadius),P=o().div(A(),function(e){return e.action?null:"13px"}),B=o().div(E(),(0,s.pick)({enterprise:(0,s.pickVariant)("$type",(c={},L(c,f.TOAST_TYPES.INFO,s.variables.cat1Color),L(c,f.TOAST_TYPES.WARNING,s.variables.warningColor),L(c,f.TOAST_TYPES.SUCCESS,s.variables.successColor),L(c,f.TOAST_TYPES.ERROR,s.variables.errorColor),c)),prisma:(0,s.pickVariant)("$type",(d={},L(d,f.TOAST_TYPES.INFO,s.variables.contentColorActive),L(d,f.TOAST_TYPES.WARNING,s.variables.accentColorWarning),L(d,f.TOAST_TYPES.SUCCESS,s.variables.accentColorPositive),L(d,f.TOAST_TYPES.ERROR,s.variables.accentColorNegative),d))}),(0,s.pick)({enterprise:s.variables.white,prisma:s.variables.contentColorInverted}),(0,s.pick)({prisma:(0,a.css)(C(),s.variables.borderRadius,s.variables.borderRadius)})),Y=o().div(k()),N=o().button(x(),s.variables.linkColor,(0,s.pick)({enterprise:s.variables.backgroundColor,prisma:"transparent"})),F=o()(l())(S(),z),I=(0,a.css)(w(),z),R=(0,a.css)(M()),W=(0,a.css)(_()),H=(0,a.css)(v()),q=(0,a.css)(g()),X=(0,a.css)(b(),z),V=o().div(y(),s.mixins.reset("block"),s.variables.zindexToastMessages,function(e){switch(e.position){case f.TOAST_POSITIONS.TOP_LEFT:return W;case f.TOAST_POSITIONS.TOP_CENTER:return I;case f.TOAST_POSITIONS.TOP_RIGHT:return R;case f.TOAST_POSITIONS.BOTTOM_LEFT:return H;case f.TOAST_POSITIONS.BOTTOM_CENTER:return X;case f.TOAST_POSITIONS.BOTTOM_RIGHT:return q;default:return I}}),U=o().p(h(),s.mixins.reset("block"),s.mixins.typography("title5"),(0,s.pick)({prisma:(0,a.css)(m(),(0,s.pickVariant)("$type",{info:s.variables.contentColorActive,warning:s.variables.accentColorWarning,error:s.variables.accentColorNegative,success:s.variables.accentColorPositive}))}))},23:e=>{e.exports=n(39067)},497:e=>{e.exports=n(14041)}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{a.r(o),a.d(o,{default:()=>Y});var e=a(497),t=a.n(e),r=a(23),i=a.n(r);const l=n(21429);var s=a.n(l);const u=n(11022);var c=a.n(u);const d=n(38767);var f=a.n(d);const p=n(21751);var m=a.n(p);const h=n(49026);var y=a.n(h);const b=n(14412);var g=a(729),v=a(874),_=a(535);function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&t.focusedToast!==n[0]?{focusedToast:n[0]}:null})}),O(E(a),"handleRequestHide",function(e){a.setState(function(t){var n=t.focusedToast||e;return{toasts:t.toasts.filter(function(e){return n.id!==e.id}),focusedToast:null}})}),O(E(a),"renderLayer",function(){var e=a.props,n=e.position,r=e.animationDuration,o=-1!==n.indexOf("top"),i=o?D:z;return t().createElement(v.ZW,{ref:a.handleModalMount,position:n,"data-test":"toast-messages",role:"group","aria-label":"Toast messages container",tabIndex:-1,onKeyDown:a.handleModalKeyDown},t().createElement(v.ye,{enterAnimation:i,appearAnimation:i,leaveAnimation:"fade",duration:c()(r)?200:r,easing:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",verticalAlignment:o?"top":"bottom"},a.state.toasts.map(function(e){var n=e.id,r=e.title,o=e.message,i=e.type,l=e.autoDismiss,s=e.dismissOnActionClick,u=e.action,c=e.timeOut,d=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r0;return this.props.escapeToCloseToasts?t().createElement(m(),{closeReasons:["escapeKey"],onRequestClose:function(){return e.handleRequestHide(e.state.toasts[n])},open:r},r&&this.renderLayer()):this.renderLayer()}}]),r}(t().Component);j.propTypes={position:i().oneOf(f()(_.TOAST_POSITIONS)).isRequired,animationDuration:i().number,toasts:i().arrayOf(i().object),escapeToCloseToasts:i().bool},j.defaultProps={escapeToCloseToasts:!0};const P=j;var B=function(e){var n=e.position,r=void 0===n?"top-center":n;return t().createElement(P,{position:r})};B.propTypes={position:i().oneOf(["top-left","top-center","top-right","bottom-left","bottom-center","bottom-right"])};const Y=B})(),e.exports=o})()},32973(e,t,n){"use strict";var r=n(68028);t.isEmpty=function(){return r.isEmpty()(this)}},32993(e,t,n){"use strict";var r=n(91638),a=n(44469);r.Observable.prototype.skipLast=a.skipLast},33115(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7745 11.8654C15.7745 14.0132 14.0334 15.7543 11.8857 15.7543C9.73788 15.7543 7.99677 14.0132 7.99677 11.8654C7.99677 9.71762 9.73788 7.9765 11.8857 7.9765C14.0334 7.9765 15.7745 9.71762 15.7745 11.8654ZM13.7745 11.8654C13.7745 12.9086 12.9289 13.7543 11.8857 13.7543C10.8424 13.7543 9.99677 12.9086 9.99677 11.8654C9.99677 10.8222 10.8424 9.9765 11.8857 9.9765C12.9289 9.9765 13.7745 10.8222 13.7745 11.8654Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8859 3.86536C9.73235 3.86536 7.62695 4.50282 5.83507 5.69741L5.7015 5.78646C4.35068 6.687 3.20704 7.86477 2.3466 9.24148L1.07369 11.2781C0.849136 11.6374 0.849137 12.0933 1.07369 12.4526L2.3466 14.4892C3.20704 15.8659 4.35068 17.0437 5.7015 17.9443L5.83507 18.0333C7.62695 19.2279 9.73235 19.8654 11.8859 19.8654C14.0395 19.8654 16.1449 19.2279 17.9368 18.0333L18.0703 17.9443C19.4212 17.0437 20.5648 15.8659 21.4252 14.4892L22.6982 12.4526C22.9227 12.0933 22.9227 11.6374 22.6982 11.2781L21.4252 9.24148C20.5648 7.86477 19.4212 6.687 18.0703 5.78645L17.9368 5.69741C16.1449 4.50282 14.0395 3.86536 11.8859 3.86536ZM6.94447 7.36151C8.40782 6.38594 10.1272 5.86536 11.8859 5.86536C13.6446 5.86536 15.364 6.38594 16.8274 7.36151L16.9609 7.45056C18.0756 8.19364 19.0193 9.16549 19.7293 10.3015L20.7067 11.8654L19.7293 13.4292C19.0193 14.5652 18.0756 15.5371 16.9609 16.2802L16.8274 16.3692C15.364 17.3448 13.6446 17.8654 11.8859 17.8654C10.1272 17.8654 8.40782 17.3448 6.94447 16.3692L6.8109 16.2802C5.69627 15.5371 4.75259 14.5652 4.04259 13.4292L3.06517 11.8654L4.04259 10.3015C4.75259 9.16549 5.69627 8.19364 6.8109 7.45056L6.94447 7.36151Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.94908 5.83205C7.74097 4.63746 9.84636 4 11.9999 4C14.1535 4 16.2589 4.63746 18.0508 5.83205L18.1844 5.9211C19.5352 6.82164 20.6788 7.99942 21.5393 9.37612L22.8122 11.4128C23.0367 11.7721 23.0367 12.2279 22.8122 12.5872L21.5393 14.6239C20.6788 16.0006 19.5352 17.1784 18.1844 18.0789L18.0508 18.1679C16.2589 19.3625 14.1535 20 11.9999 20C9.84636 20 7.74097 19.3625 5.94908 18.1679L5.81551 18.0789C4.4647 17.1784 3.32105 16.0006 2.46061 14.6239L1.1877 12.5872C0.96315 12.2279 0.963149 11.7721 1.1877 11.4128L2.46061 9.37612C3.32105 7.99942 4.4647 6.82164 5.81551 5.9211L5.94908 5.83205ZM11.9997 15.8889C14.1474 15.8889 15.8886 14.1477 15.8886 12C15.8886 9.8522 14.1474 8.11108 11.9997 8.11108C9.85189 8.11108 8.11078 9.8522 8.11078 12C8.11078 14.1477 9.85189 15.8889 11.9997 15.8889Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>h});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672);var d=u().div.withConfig({displayName:"BoxStyles__Styled",componentId:"sc-1h4b5f6-0"})(["",";align-items:stretch;align-content:stretch;flex-flow:row nowrap;flex-grow:0;flex-shrink:0;justify-content:flex-start;width:auto;max-width:100%;&[data-inline]{display:inline-block;vertical-align:middle;}&[data-flex]{display:flex;}&[data-flex][data-inline]{display:inline-flex;}"],c.mixins.reset("block"));function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>T});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(26068),u=n(50824);var c=t.n(u);const d=n(14412),f=n(83925),p=n(71560),m=n(53057);var h=t.n(m);const y=n(18672);var b=h()(p.animated.div).withConfig({displayName:"TransitionOpenStyles__Styled",componentId:"sc-1x58s0g-0"})(["",";",";"],y.mixins.reset("block"),function(e){return e.$hideOverflow&&(0,m.css)(["overflow:hidden;"])}),g=h()(p.animated.div).withConfig({displayName:"TransitionOpenStyles__StyledInner",componentId:"sc-1x58s0g-1"})(["",";",";width:100%;"],y.mixins.reset("table"),y.mixins.clearfix());function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>v});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(57959);var u=t.n(s);const c=n(91659);var d=t.n(c);const f=n(66115);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.00691 3.89287C3.61638 3.50234 2.98322 3.50235 2.5927 3.89287C2.20217 4.2834 2.20217 4.91656 2.5927 5.30708L4.35908 7.07346C3.63043 7.75302 2.99174 8.52671 2.46085 9.37612L1.18794 11.4128C0.963393 11.7721 0.963395 12.2279 1.18794 12.5872L2.46085 14.6239C3.3213 16.0006 4.46494 17.1784 5.81576 18.0789L5.94933 18.1679C7.74121 19.3625 9.8466 20 12.0002 20C13.5116 20 14.9993 19.686 16.3715 19.0858L18.5982 21.3125C18.9887 21.703 19.6218 21.703 20.0124 21.3125C20.4029 20.922 20.4029 20.2888 20.0124 19.8983L4.00691 3.89287ZM14.8257 17.54L13.0353 15.7496C12.7056 15.8405 12.3583 15.889 11.9997 15.889C9.85196 15.889 8.11084 14.1479 8.11084 12.0001C8.11084 11.6415 8.15937 11.2943 8.25022 10.9646L5.77433 8.48871C5.15179 9.06078 4.60729 9.71541 4.15685 10.4361L3.17943 12L4.15685 13.5639C4.86685 14.6999 5.81053 15.6717 6.92516 16.4148L7.05873 16.5038C8.52208 17.4794 10.2415 18 12.0002 18C12.9658 18 13.9196 17.8431 14.8257 17.54Z"}),o().createElement("path",{d:"M10.9657 8.25019L15.7496 13.0342C15.8402 12.7049 15.8886 12.3581 15.8886 12.0001C15.8886 9.85232 14.1475 8.11121 11.9997 8.11121C11.6417 8.11121 11.2949 8.15959 10.9657 8.25019Z"}),o().createElement("path",{d:"M19.8435 13.5639C19.3932 14.2844 18.8488 14.939 18.2264 15.5109L19.6417 16.9262C20.3702 16.2467 21.0087 15.4731 21.5395 14.6239L22.8124 12.5872C23.037 12.2279 23.037 11.7721 22.8124 11.4128L21.5395 9.37612C20.6791 7.99942 19.5354 6.82164 18.1846 5.9211L18.051 5.83205C16.2591 4.63746 14.1538 4 12.0002 4C10.489 4 9.00149 4.31389 7.62941 4.91392L9.17525 6.45977C10.0811 6.15687 11.0347 6 12.0002 6C13.7589 6 15.4783 6.52059 16.9416 7.49615L17.0752 7.5852C18.1898 8.32829 19.1335 9.30013 19.8435 10.4361L20.8209 12L19.8435 13.5639Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.9073 3.79289C3.51678 3.40237 2.88361 3.40237 2.49309 3.79289C2.10256 4.18342 2.10256 4.81658 2.49309 5.20711L4.35926 7.07328C3.63054 7.75289 2.99178 8.52664 2.46085 9.37612L1.18794 11.4128C0.963393 11.7721 0.963395 12.2279 1.18794 12.5872L2.46085 14.6239C3.3213 16.0006 4.46494 17.1784 5.81576 18.0789L5.94933 18.1679C7.74121 19.3625 9.8466 20 12.0002 20C13.5117 20 14.9994 19.686 16.3717 19.0857L18.4931 21.2071C18.8836 21.5976 19.5168 21.5976 19.9073 21.2071C20.2978 20.8166 20.2978 20.1834 19.9073 19.7929L3.9073 3.79289ZM13.0355 15.7495L8.25041 10.9644C8.15956 11.2941 8.11102 11.6414 8.11102 12C8.11102 14.1477 9.85214 15.8889 11.9999 15.8889C12.3585 15.8889 12.7058 15.8403 13.0355 15.7495Z"}),o().createElement("path",{d:"M15.8888 12C15.8888 12.3011 15.8546 12.5942 15.7898 12.8756L19.7439 16.8297C20.43 16.1738 21.0337 15.4332 21.5395 14.6239L22.8124 12.5872C23.037 12.2279 23.037 11.7721 22.8124 11.4128L21.5395 9.37612C20.6791 7.99942 19.5354 6.82164 18.1846 5.9211L18.051 5.83205C16.2591 4.63746 14.1538 4 12.0002 4C10.5399 4 9.10174 4.2931 7.76847 4.85426L11.1243 8.21006C11.4057 8.1453 11.6988 8.11108 11.9999 8.11108C14.1477 8.11108 15.8888 9.8522 15.8888 12Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>k});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(21216),u=n(41454),c=n(53057);var d=t.n(c);const f=n(18672);var p=d().div.withConfig({displayName:"WaitSpinnerStyles__Styled",componentId:"sc-1nu971z-0"})(["",";align-items:center;"],f.mixins.reset("inline-flex")),m=(0,c.keyframes)(["100%{transform:rotate(360deg);}"]),h=(0,c.keyframes)(["0%{transform:scale(0);opacity:0;}100%{transform:scale(1);opacity:1;}"]),y="2.07s",b=d().svg.withConfig({displayName:"WaitSpinnerStyles__StyledSvg",componentId:"sc-1nu971z-1"})([""," ",""],(0,f.pickVariant)("$size",{small:(0,c.css)(["width:16px;height:16px;"]),medium:(0,c.css)(["width:24px;height:24px;"]),large:(0,c.css)(["width:40px;height:40px;"])}),function(e){return e.$animated&&(0,c.css)(["animation:"," "," infinite linear,"," 500ms cubic-bezier(0.01,0,0,1);"],m,y,h)}),g=(0,c.keyframes)(["0%{stroke-dasharray:110 10;stroke-dashoffset:-5.5;animation-timing-function:cubic-bezier(0.8,0,0.83,1);}50%{stroke-dasharray:26 94;stroke-dashoffset:-152;}100%{stroke-dasharray:110 10;stroke-dashoffset:-246.5;animation-timing-function:cubic-bezier(0.33,0,0.67,1);}"]),v=(0,c.keyframes)(["0%{stroke-dasharray:7 113;stroke-dashoffset:3;animation-timing-function:cubic-bezier(0.8,0,0.83,1);}50%{stroke-dasharray:90 30;stroke-dashoffset:-60;}100%{stroke-dasharray:7 113;stroke-dashoffset:-238;animation-timing-function:cubic-bezier(0.33,0,0.67,1);}"]),_=d().circle.withConfig({displayName:"WaitSpinnerStyles__StyledBasePath",componentId:"sc-1nu971z-2"})(["stroke:",";stroke-width:2;fill:transparent;"," stroke-dasharray:110 10;stroke-dashoffset:-5.5;"],f.variables.contentColorDisabled,function(e){return e.$animated&&(0,c.css)(["animation:"," "," infinite;animation-fill-mode:backwards;"],g,y)}),M=d().circle.withConfig({displayName:"WaitSpinnerStyles__StyledFillPath",componentId:"sc-1nu971z-3"})(["fill:transparent;stroke-width:2;stroke:",";stroke-dasharray:7 113;stroke-dashoffset:3;",""],f.variables.contentColorAccent,function(e){return e.$animated&&(0,c.css)(["animation:"," "," infinite;"],v,y)});function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,a=this.windows,i=a.length,l=0;l=0&&s%t===0&&!this.closed&&a.shift().complete(),++this.count%t===0&&!this.closed){var u=new o.Subject;a.push(u),n.next(u)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(a.Subscriber)},34156(e){e.exports=function e(t,n){var r,a=-1;if(n.extensions)for(;++a1&&void 0!==arguments[1]?arguments[1]:{}).cacheLimit,n=void 0===t?0:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.getDefaultFetchInit)(),d=g(e.search),f=l.default.encode({output_mode:"json",search:"request.webframework.cache.hash=".concat(d)});return fetch("".concat((0,u.createRESTURL)("search/jobs",{},r),"?").concat(f),c).then(function(e){return e.json()}).then(function(t){var r=(0,a.default)(e,h),l=t.entry.filter(function(e){return(0,o.default)(r,(0,a.default)(e.content.request,h))});if(l.length>0){var s=(0,i.default)(l,function(e){return new Date(e.published).valueOf()}),u=n<=0?0:(new Date).valueOf()-1e3*n;if(new Date(s.published).valueOf()>u)return s}return null}).catch((0,s.handleError)("Failed to get cached jobs."))},t.createSearchJob=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.getDefaultFetchInit)();return fetch((0,u.createRESTURL)("search/jobs",t,n),p(p({},r),{},{method:"POST",body:l.default.encode(p({output_mode:"json"},e))})).then((0,s.handleResponse)(201)).catch((0,s.handleError)("Failed to create search job."))},t.oneShot=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.getDefaultFetchInit)();return fetch((0,u.createRESTURL)("search/v2/jobs",t,n),p(p({},r),{},{method:"POST",body:l.default.encode(p(p({output_mode:"json"},e),{},{exec_mode:"oneshot"}))})).then((0,s.handleResponse)(200)).catch((0,s.handleError)("Failed to create one shot search job"))},t.postAction=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.getDefaultFetchInit)();return fetch((0,u.createRESTURL)("search/jobs/".concat(e,"/control"),{},n),p(p({},r),{},{method:"POST",body:l.default.encode(p(p({},t),{},{output_mode:"json"}))})).then((0,s.handleResponse)(200)).catch((0,s.handleError)("Action ".concat(t.action," failed on search job ").concat(e)))},t.getData=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(0,s.getDefaultFetchInit)(),o=["results","results_preview","events"].includes(t)?"/v2":"",i=l.default.encode(p({output_mode:"json"},n)),c=(0,u.createRESTURL)("search".concat(o,"/jobs/").concat(e).concat(t&&"/".concat(t)),{},r);return n.search&&"/v2"===o?fetch(c,p(p({},a),{},{method:"POST",body:i})).then((0,s.handleResponse)([200,204])).catch((0,s.handleError)("Failed to get ".concat(t||"status"," for job ").concat(e))):fetch("".concat(c,"?").concat(i),a).then((0,s.handleResponse)([200,204])).catch((0,s.handleError)("Failed to get ".concat(t||"status"," for job ").concat(e)))},t.batchGetSearches=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.getDefaultFetchInit)(),a=l.default.encode(p({output_mode:"json",id:e,count:e.length},t));return fetch("".concat((0,u.createRESTURL)("search/jobs",{},n),"?").concat(a),r).then((0,s.handleResponse)(200)).catch((0,s.handleError)("Failed to get batch status of jobs."))},t.validateSearch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.getDefaultFetchInit)(),a=l.default.encode(p({output_mode:"json",parse_only:!0,q:y(e)},t));return fetch("".concat((0,u.createRESTURL)("search/v2/parser",{},n)),p(p({},r),{},{method:"POST",body:a})).then((0,s.handleResponse)(200)).then(function(e){return{valid:!0,data:e}}).catch(function(e){return e.json().then(function(t){var n=(0,s.findErrorMessage)(t),r=n?n.text:"Failed to validate search string.";return 400===e.status?Promise.resolve({valid:!1,error:r}):Promise.reject(new Error(r))})})};var r=c(n(7648)),a=c(n(36728)),o=c(n(33429)),i=c(n(56322)),l=c(n(33215)),s=n(56473),u=n(31280);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t7?e:"search ".concat(t)}function b(e){var t=e.trim();return(t.startsWith("|")?t.substring(1).trim():t).startsWith("@spl2")}function g(e){for(var t=0,n=0,r=e.length;nV});var r,a,o,i,l,s,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(){return a?r:(a=1,r={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}})}function f(){if(i)return o;i=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function n(r,a,o,i,l,s,u){if(!isNaN(+r))return+r;let c="",d=r.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(d!==r)return-1*n(d,a,o,i,l,s);for(let t=0;t{m[s[e]]=e});let h=Object.keys(m).sort().reverse(),y=h.length;for(let e=0;e"byte"===t.output,message:"`base` must be provided only when the output is `byte`",mandatory:e=>"byte"===e.output},characteristic:{type:"number",restriction:e=>e>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",lowPrecision:{type:"boolean",restriction:(e,t)=>!0===t.average,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:e=>e>=0,message:"value must be positive"},{restriction:(e,t)=>!t.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:e=>e>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(e,t)=>"percent"===t.output,message:"`prefixSymbol` can be provided only when the output is `percent`"}},r={languageTag:{type:"string",mandatory:!0,restriction:e=>e.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function a(t){return void 0!==e.unformat(t)}function o(e,t,r,a=!1){let i=Object.keys(e).map(a=>{if(!t[a])return console.error(`${r} Invalid key: ${a}`),!1;let i=e[a],l=t[a];if("string"==typeof l&&(l={type:l}),"format"===l.type){if(!o(i,n,`[Validate ${a}]`,!0))return!1}else if(typeof i!==l.type)return console.error(`${r} ${a} type mismatched: "${l.type}" expected, "${typeof i}" provided`),!1;if(l.restrictions&&l.restrictions.length){let t=l.restrictions.length;for(let n=0;n{let a=t[n];if("string"==typeof a&&(a={type:a}),a.mandatory){let t=a.mandatory;if("function"==typeof t&&(t=t(e)),t&&void 0===e[n])return console.error(`${r} Missing mandatory key "${n}"`),!1}return!0})),i.reduce((e,t)=>e&&t,!0)}function i(e){return o(e,n,"[Validate format]")}return l={validate:function(e,t){let n=a(e),r=i(t);return n&&r},validateFormat:i,validateInput:a,validateLanguage:function(e){return o(e,r,"[Validate language]")}},l}var m,h,y={parseFormat:function(e,t={}){return"string"!=typeof e?e:(function(e,t){if(-1===e.indexOf("$")){if(-1===e.indexOf("%"))return-1!==e.indexOf("bd")?(t.output="byte",void(t.base="general")):-1!==e.indexOf("b")?(t.output="byte",void(t.base="binary")):-1!==e.indexOf("d")?(t.output="byte",void(t.base="decimal")):void(-1===e.indexOf(":")?-1!==e.indexOf("o")&&(t.output="ordinal"):t.output="time");t.output="percent"}else t.output="currency"}(e=function(e,t){let n=e.match(/{([^}]*)}$/);return n?(t.postfix=n[1],e.slice(0,-n[0].length)):e}(e=function(e,t){let n=e.match(/^{([^}]*)}/);return n?(t.prefix=n[1],e.slice(n[0].length)):e}(e,t),t),t),function(e,t){let n=e.match(/[1-9]+[0-9]*/);n&&(t.totalLength=+n[0])}(e,t),function(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}(e,t),function(e,t){if(-1!==e.indexOf(".")){let n=e.split(".")[0];t.optionalCharacteristic=-1===n.indexOf("0")}}(e,t),function(e,t){-1!==e.indexOf("a")&&(t.average=!0)}(e,t),function(e,t){-1!==e.indexOf("K")?t.forceAverage="thousand":-1!==e.indexOf("M")?t.forceAverage="million":-1!==e.indexOf("B")?t.forceAverage="billion":-1!==e.indexOf("T")&&(t.forceAverage="trillion")}(e,t),function(e,t){let n=e.split(".")[1];if(n){let e=n.match(/0+/);e&&(t.mantissa=e[0].length)}}(e,t),function(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}(e,t),function(e,t){const n=e.split(".")[1];n&&(t.trimMantissa=-1!==n.indexOf("["))}(e,t),function(e,t){-1!==e.indexOf(",")&&(t.thousandSeparated=!0)}(e,t),function(e,t){-1!==e.indexOf(" ")&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}(e,t),function(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}(e,t),function(e,t){e.match(/^\+/)&&(t.forceSign=!0)}(e,t),t)}};function b(){if(h)return m;h=1;const e=d(),t=p(),n=y;let r,a={},o={},i=null,l={};function s(e){r=e}function u(){return o[r]}return a.languages=()=>Object.assign({},o),a.currentLanguage=()=>r,a.currentBytes=()=>u().bytes||{},a.currentCurrency=()=>u().currency,a.currentAbbreviations=()=>u().abbreviations,a.currentDelimiters=()=>u().delimiters,a.currentOrdinal=()=>u().ordinal,a.currentDefaults=()=>Object.assign({},u().defaults,l),a.currentOrdinalDefaultFormat=()=>Object.assign({},a.currentDefaults(),u().ordinalFormat),a.currentByteDefaultFormat=()=>Object.assign({},a.currentDefaults(),u().byteFormat),a.currentPercentageDefaultFormat=()=>Object.assign({},a.currentDefaults(),u().percentageFormat),a.currentCurrencyDefaultFormat=()=>Object.assign({},a.currentDefaults(),u().currencyFormat),a.currentTimeDefaultFormat=()=>Object.assign({},a.currentDefaults(),u().timeFormat),a.setDefaults=e=>{e=n.parseFormat(e),t.validateFormat(e)&&(l=e)},a.getZeroFormat=()=>i,a.setZeroFormat=e=>i="string"==typeof e?e:null,a.hasZeroFormat=()=>null!==i,a.languageData=e=>{if(e){if(o[e])return o[e];throw new Error(`Unknown tag "${e}"`)}return u()},a.registerLanguage=(e,n=!1)=>{if(!t.validateLanguage(e))throw new Error("Invalid language data");o[e.languageTag]=e,n&&s(e.languageTag)},a.setLanguage=(t,n=e.languageTag)=>{if(!o[t]){let e=t.split("-")[0],r=Object.keys(o).find(t=>t.split("-")[0]===e);return o[r]?void s(r):void s(n)}s(t)},a.registerLanguage(e),r=e.languageTag,m=a}var g,v={exports:{}};g=v,function(e){var t,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,r=Math.ceil,a=Math.floor,o="[BigNumber Error] ",i=o+"Number primitive has more than 15 significant digits: ",l=1e14,s=14,u=9007199254740991,c=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,f=1e9;function p(e){var t=0|e;return e>0||e===t?t:t-1}function m(e){for(var t,n,r=1,a=e.length,o=e[0]+"";ru^n?1:-1;for(l=(s=a.length)<(u=o.length)?s:u,i=0;io[i]^n?1:-1;return s==u?0:s>u^n?1:-1}function y(e,t,n,r){if(en||e!==a(e))throw Error(o+(r||"Argument")+("number"==typeof e?en?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function b(e){var t=e.c.length-1;return p(e.e/s)==t&&e.c[t]%2!=0}function v(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function _(e,t,n){var r,a;if(t<0){for(a=n+".";++t;a+=n);e=a+e}else if(++t>(r=e.length)){for(a=n,t-=r;--t;a+=n);e+=a}else tY?h.c=h.e=null:e.e=10;d/=10,c++);return void(c>Y?h.c=h.e=null:(h.e=c,h.c=[e]))}m=String(e)}else{if(!n.test(m=String(e)))return w(h,m,f);h.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(c=m.indexOf("."))>-1&&(m=m.replace(".","")),(d=m.search(/e/i))>0?(c<0&&(c=d),c+=+m.slice(d+1),m=m.substring(0,d)):c<0&&(c=m.length)}else{if(y(t,2,W.length,"Base"),10==t&&H)return $(h=new q(e),D+h.e+1,z);if(m=String(e),f="number"==typeof e){if(0*e!=0)return w(h,m,f,t);if(h.s=1/e<0?(m=m.slice(1),-1):1,q.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(i+e)}else h.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(r=W.slice(0,t),c=d=0,p=m.length;dc){c=p;continue}}else if(!l&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){l=!0,d=-1,c=0;continue}return w(h,String(e),f,t)}f=!1,(c=(m=M(m,t,10,h.s)).indexOf("."))>-1?m=m.replace(".",""):c=m.length}for(d=0;48===m.charCodeAt(d);d++);for(p=m.length;48===m.charCodeAt(--p););if(m=m.slice(d,++p)){if(p-=d,f&&q.DEBUG&&p>15&&(e>u||e!==a(e)))throw Error(i+h.s*e);if((c=c-d-1)>Y)h.c=h.e=null;else if(c=P)?v(s,i):_(s,i,"0");else if(o=(e=$(new q(e),t,n)).e,l=(s=m(e.c)).length,1==r||2==r&&(t<=o||o<=j)){for(;ll){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=o-l)>0)for(o+1==l&&(s+=".");t--;s+="0");return e.s<0&&a?"-"+s:s}function V(e,t){for(var n,r,a=1,o=new q(e[0]);a=10;a/=10,r++);return(n=r+n*s-1)>Y?e.c=e.e=null:n=10;f/=10,i++);if((u=t-i)<0)u+=s,d=t,p=y[m=0],h=a(p/b[i-d-1]%10);else if((m=r((u+1)/s))>=y.length){if(!o)break e;for(;y.length<=m;y.push(0));p=h=0,i=1,d=(u%=s)-s+1}else{for(p=f=y[m],i=1;f>=10;f/=10,i++);h=(d=(u%=s)-s+i)<0?0:a(p/b[i-d-1]%10)}if(o=o||t<0||null!=y[m+1]||(d<0?p:p%b[i-d-1]),o=n<4?(h||o)&&(0==n||n==(e.s<0?3:2)):h>5||5==h&&(4==n||o||6==n&&(u>0?d>0?p/b[i-d]:0:y[m-1])%10&1||n==(e.s<0?8:7)),t<1||!y[0])return y.length=0,o?(t-=e.e+1,y[0]=b[(s-t%s)%s],e.e=-t||0):y[0]=e.e=0,e;if(0==u?(y.length=m,f=1,m--):(y.length=m+1,f=b[s-u],y[m]=d>0?a(p/b[i-d]%b[d])*f:0),o)for(;;){if(0==m){for(u=1,d=y[0];d>=10;d/=10,u++);for(d=y[0]+=f,f=1;d>=10;d/=10,f++);u!=f&&(e.e++,y[0]==l&&(y[0]=1));break}if(y[m]+=f,y[m]!=l)break;y[m--]=0,f=1}for(u=y.length;0===y[--u];y.pop());}e.e>Y?e.c=e.e=null:e.e=P?v(t,n):_(t,n,"0"),e.s<0?"-"+t:t)}return q.clone=e,q.ROUND_UP=0,q.ROUND_DOWN=1,q.ROUND_CEIL=2,q.ROUND_FLOOR=3,q.ROUND_HALF_UP=4,q.ROUND_HALF_DOWN=5,q.ROUND_HALF_EVEN=6,q.ROUND_HALF_CEIL=7,q.ROUND_HALF_FLOOR=8,q.EUCLID=9,q.config=q.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(o+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(y(n=e[t],0,f,t),D=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(y(n=e[t],0,8,t),z=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(y(n[0],-f,0,t),y(n[1],0,f,t),j=n[0],P=n[1]):(y(n,-f,f,t),j=-(P=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)y(n[0],-f,-1,t),y(n[1],1,f,t),B=n[0],Y=n[1];else{if(y(n,-f,f,t),!n)throw Error(o+t+" cannot be zero: "+n);B=-(Y=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(o+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw N=!n,Error(o+"crypto unavailable");N=n}else N=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(y(n=e[t],0,9,t),F=n),e.hasOwnProperty(t="POW_PRECISION")&&(y(n=e[t],0,f,t),I=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(o+t+" not an object: "+n);R=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(o+t+" invalid: "+n);H="0123456789"==n.slice(0,10),W=n}}return{DECIMAL_PLACES:D,ROUNDING_MODE:z,EXPONENTIAL_AT:[j,P],RANGE:[B,Y],CRYPTO:N,MODULO_MODE:F,POW_PRECISION:I,FORMAT:R,ALPHABET:W}},q.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!q.DEBUG)return!0;var t,n,r=e.c,i=e.e,u=e.s;e:if("[object Array]"=={}.toString.call(r)){if((1===u||-1===u)&&i>=-f&&i<=f&&i===a(i)){if(0===r[0]){if(0===i&&1===r.length)return!0;break e}if((t=(i+1)%s)<1&&(t+=s),String(r[0]).length==t){for(t=0;t=l||n!==a(n))break e;if(0!==n)return!0}}}else if(null===r&&null===i&&(null===u||1===u||-1===u))return!0;throw Error(o+"Invalid BigNumber: "+e)},q.maximum=q.max=function(){return V(arguments,-1)},q.minimum=q.min=function(){return V(arguments,1)},q.random=(S=9007199254740992,x=Math.random()*S&2097151?function(){return a(Math.random()*S)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,n,i,l,u,d=0,p=[],m=new q(T);if(null==e?e=D:y(e,0,f),l=r(e/s),N)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(l*=2));d>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[d]=n[0],t[d+1]=n[1]):(p.push(u%1e14),d+=2);d=l/2}else{if(!crypto.randomBytes)throw N=!1,Error(o+"crypto unavailable");for(t=crypto.randomBytes(l*=7);d=9e15?crypto.randomBytes(7).copy(t,d):(p.push(u%1e14),d+=7);d=l/7}if(!N)for(;d=10;u/=10,d++);dn-1&&(null==i[a+1]&&(i[a+1]=0),i[a+1]+=i[a]/n|0,i[a]%=n)}return i.reverse()}return function(n,r,a,o,i){var l,s,u,c,d,f,p,h,y=n.indexOf("."),b=D,v=z;for(y>=0&&(c=I,I=0,n=n.replace(".",""),f=(h=new q(r)).pow(n.length-y),I=c,h.c=t(_(m(f.c),f.e,"0"),10,a,e),h.e=h.c.length),u=c=(p=t(n,r,a,i?(l=W,e):(l=e,W))).length;0==p[--c];p.pop());if(!p[0])return l.charAt(0);if(y<0?--u:(f.c=p,f.e=u,f.s=o,p=(f=g(f,h,b,v,a)).c,d=f.r,u=f.e),y=p[s=u+b+1],c=a/2,d=d||s<0||null!=p[s+1],d=v<4?(null!=y||d)&&(0==v||v==(f.s<0?3:2)):y>c||y==c&&(4==v||d||6==v&&1&p[s-1]||v==(f.s<0?8:7)),s<1||!p[0])n=d?_(l.charAt(1),-b,l.charAt(0)):l.charAt(0);else{if(p.length=s,d)for(--a;++p[--s]>a;)p[s]=0,s||(++u,p=[1].concat(p));for(c=p.length;!p[--c];);for(y=0,n="";y<=c;n+=l.charAt(p[y++]));n=_(n,u,l.charAt(0))}return n}}(),g=function(){function e(e,t,n){var r,a,o,i,l=0,s=e.length,u=t%d,c=t/d|0;for(e=e.slice();s--;)l=((a=u*(o=e[s]%d)+(r=c*o+(i=e[s]/d|0)*u)%d*d+l)/n|0)+(r/d|0)+c*i,e[s]=a%n;return l&&(e=[l].concat(e)),e}function t(e,t,n,r){var a,o;if(n!=r)o=n>r?1:-1;else for(a=o=0;at[a]?1:-1;break}return o}function n(e,t,n,r){for(var a=0;n--;)e[n]-=a,a=e[n]1;e.splice(0,1));}return function(r,o,i,u,c){var d,f,m,h,y,b,g,v,_,M,w,S,x,k,C,E,A,L=r.s==o.s?1:-1,O=r.c,T=o.c;if(!(O&&O[0]&&T&&T[0]))return new q(r.s&&o.s&&(O?!T||O[0]!=T[0]:T)?O&&0==O[0]||!T?0*L:L/0:NaN);for(_=(v=new q(L)).c=[],L=i+(f=r.e-o.e)+1,c||(c=l,f=p(r.e/s)-p(o.e/s),L=L/s|0),m=0;T[m]==(O[m]||0);m++);if(T[m]>(O[m]||0)&&f--,L<0)_.push(1),h=!0;else{for(k=O.length,E=T.length,m=0,L+=2,(y=a(c/(T[0]+1)))>1&&(T=e(T,y,c),O=e(O,y,c),E=T.length,k=O.length),x=E,w=(M=O.slice(0,E)).length;w=c/2&&C++;do{if(y=0,(d=t(T,M,E,w))<0){if(S=M[0],E!=w&&(S=S*c+(M[1]||0)),(y=a(S/C))>1)for(y>=c&&(y=c-1),g=(b=e(T,y,c)).length,w=M.length;1==t(b,M,g,w);)y--,n(b,E=10;L/=10,m++);$(v,i+(v.e=m+f*s-1)+1,u,h)}else v.e=f,v.r=+h;return v}}(),k=/^(-?)0([xbo])(?=\w[\w.]*$)/i,C=/^([^.]+)\.$/,E=/^\.([^.]+)$/,A=/^-?(Infinity|NaN)$/,L=/^\s*\+(?=[\w.])|^\s+|\s+$/g,w=function(e,t,n,r){var a,i=n?t:t.replace(L,"");if(A.test(i))e.s=isNaN(i)?null:i<0?-1:1;else{if(!n&&(i=i.replace(k,function(e,t,n){return a="x"==(n=n.toLowerCase())?16:"b"==n?2:8,r&&r!=a?e:t}),r&&(a=r,i=i.replace(C,"$1").replace(E,"0.$1")),t!=i))return new q(i,a);if(q.DEBUG)throw Error(o+"Not a"+(r?" base "+r:"")+" number: "+t);e.s=null}e.c=e.e=null},O.absoluteValue=O.abs=function(){var e=new q(this);return e.s<0&&(e.s=1),e},O.comparedTo=function(e,t){return h(this,new q(e,t))},O.decimalPlaces=O.dp=function(e,t){var n,r,a,o=this;if(null!=e)return y(e,0,f),null==t?t=z:y(t,0,8),$(new q(o),e+o.e+1,t);if(!(n=o.c))return null;if(r=((a=n.length-1)-p(this.e/s))*s,a=n[a])for(;a%10==0;a/=10,r--);return r<0&&(r=0),r},O.dividedBy=O.div=function(e,t){return g(this,new q(e,t),D,z)},O.dividedToIntegerBy=O.idiv=function(e,t){return g(this,new q(e,t),0,1)},O.exponentiatedBy=O.pow=function(e,t){var n,i,l,u,c,d,f,p,m=this;if((e=new q(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+G(e));if(null!=t&&(t=new q(t)),c=e.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!e.c||!e.c[0])return p=new q(Math.pow(+G(m),c?e.s*(2-b(e)):+G(e))),t?p.mod(t):p;if(d=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new q(NaN);(i=!d&&m.isInteger()&&t.isInteger())&&(m=m.mod(t))}else{if(e.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||c&&m.c[1]>=24e7:m.c[0]<8e13||c&&m.c[0]<=9999975e7)))return u=m.s<0&&b(e)?-0:0,m.e>-1&&(u=1/u),new q(d?1/u:u);I&&(u=r(I/s+2))}for(c?(n=new q(.5),d&&(e.s=1),f=b(e)):f=(l=Math.abs(+G(e)))%2,p=new q(T);;){if(f){if(!(p=p.times(m)).c)break;u?p.c.length>u&&(p.c.length=u):i&&(p=p.mod(t))}if(l){if(0===(l=a(l/2)))break;f=l%2}else if($(e=e.times(n),e.e+1,1),e.e>14)f=b(e);else{if(0===(l=+G(e)))break;f=l%2}m=m.times(m),u?m.c&&m.c.length>u&&(m.c.length=u):i&&(m=m.mod(t))}return i?p:(d&&(p=T.div(p)),t?p.mod(t):u?$(p,I,z,void 0):p)},O.integerValue=function(e){var t=new q(this);return null==e?e=z:y(e,0,8),$(t,t.e+1,e)},O.isEqualTo=O.eq=function(e,t){return 0===h(this,new q(e,t))},O.isFinite=function(){return!!this.c},O.isGreaterThan=O.gt=function(e,t){return h(this,new q(e,t))>0},O.isGreaterThanOrEqualTo=O.gte=function(e,t){return 1===(t=h(this,new q(e,t)))||0===t},O.isInteger=function(){return!!this.c&&p(this.e/s)>this.c.length-2},O.isLessThan=O.lt=function(e,t){return h(this,new q(e,t))<0},O.isLessThanOrEqualTo=O.lte=function(e,t){return-1===(t=h(this,new q(e,t)))||0===t},O.isNaN=function(){return!this.s},O.isNegative=function(){return this.s<0},O.isPositive=function(){return this.s>0},O.isZero=function(){return!!this.c&&0==this.c[0]},O.minus=function(e,t){var n,r,a,o,i=this,u=i.s;if(t=(e=new q(e,t)).s,!u||!t)return new q(NaN);if(u!=t)return e.s=-t,i.plus(e);var c=i.e/s,d=e.e/s,f=i.c,m=e.c;if(!c||!d){if(!f||!m)return f?(e.s=-t,e):new q(m?i:NaN);if(!f[0]||!m[0])return m[0]?(e.s=-t,e):new q(f[0]?i:3==z?-0:0)}if(c=p(c),d=p(d),f=f.slice(),u=c-d){for((o=u<0)?(u=-u,a=f):(d=c,a=m),a.reverse(),t=u;t--;a.push(0));a.reverse()}else for(r=(o=(u=f.length)<(t=m.length))?u:t,u=t=0;t0)for(;t--;f[n++]=0);for(t=l-1;r>u;){if(f[--r]=0;){for(n=0,y=S[a]%_,b=S[a]/_|0,o=a+(i=c);o>a;)n=((f=y*(f=w[--i]%_)+(u=b*f+(m=w[i]/_|0)*y)%_*_+g[o]+n)/v|0)+(u/_|0)+b*m,g[o--]=f%v;g[o]=n}return n?++r:g.splice(0,1),U(e,g,r)},O.negated=function(){var e=new q(this);return e.s=-e.s||null,e},O.plus=function(e,t){var n,r=this,a=r.s;if(t=(e=new q(e,t)).s,!a||!t)return new q(NaN);if(a!=t)return e.s=-t,r.minus(e);var o=r.e/s,i=e.e/s,u=r.c,c=e.c;if(!o||!i){if(!u||!c)return new q(a/0);if(!u[0]||!c[0])return c[0]?e:new q(u[0]?r:0*a)}if(o=p(o),i=p(i),u=u.slice(),a=o-i){for(a>0?(i=o,n=c):(a=-a,n=u),n.reverse();a--;n.push(0));n.reverse()}for((a=u.length)-(t=c.length)<0&&(n=c,c=u,u=n,t=a),a=0;t;)a=(u[--t]=u[t]+c[t]+a)/l|0,u[t]=l===u[t]?0:u[t]%l;return a&&(u=[a].concat(u),++i),U(e,u,i)},O.precision=O.sd=function(e,t){var n,r,a,o=this;if(null!=e&&e!==!!e)return y(e,1,f),null==t?t=z:y(t,0,8),$(new q(o),e,t);if(!(n=o.c))return null;if(r=(a=n.length-1)*s+1,a=n[a]){for(;a%10==0;a/=10,r--);for(a=n[0];a>=10;a/=10,r++);}return e&&o.e+1>r&&(r=o.e+1),r},O.shiftedBy=function(e){return y(e,-9007199254740991,u),this.times("1e"+e)},O.squareRoot=O.sqrt=function(){var e,t,n,r,a,o=this,i=o.c,l=o.s,s=o.e,u=D+4,c=new q("0.5");if(1!==l||!i||!i[0])return new q(!l||l<0&&(!i||i[0])?NaN:i?o:1/0);if(0==(l=Math.sqrt(+G(o)))||l==1/0?(((t=m(i)).length+s)%2==0&&(t+="0"),l=Math.sqrt(+t),s=p((s+1)/2)-(s<0||s%2),n=new q(t=l==1/0?"5e"+s:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+s)):n=new q(l+""),n.c[0])for((l=(s=n.e)+u)<3&&(l=0);;)if(a=n,n=c.times(a.plus(g(o,a,u,1))),m(a.c).slice(0,l)===(t=m(n.c)).slice(0,l)){if(n.e0&&h>0){for(i=h%s||s,d=m.substr(0,i);i0&&(d+=c+m.slice(i)),p&&(d="-"+d)}r=f?d+(n.decimalSeparator||"")+((u=+n.fractionGroupSize)?f.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):f):d}return(n.prefix||"")+r+(n.suffix||"")},O.toFraction=function(e){var t,n,r,a,i,l,u,d,f,p,h,y,b=this,v=b.c;if(null!=e&&(!(u=new q(e)).isInteger()&&(u.c||1!==u.s)||u.lt(T)))throw Error(o+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+G(u));if(!v)return new q(b);for(t=new q(T),f=n=new q(T),r=d=new q(T),y=m(v),i=t.e=y.length-b.e-1,t.c[0]=c[(l=i%s)<0?s+l:l],e=!e||u.comparedTo(t)>0?i>0?t:f:u,l=Y,Y=1/0,u=new q(y),d.c[0]=0;p=g(u,t,0,1),1!=(a=n.plus(p.times(r))).comparedTo(e);)n=r,r=a,f=d.plus(p.times(a=f)),d=a,t=u.minus(p.times(a=t)),u=a;return a=g(e.minus(n),r,0,1),d=d.plus(a.times(f)),n=n.plus(a.times(r)),d.s=f.s=b.s,h=g(f,r,i*=2,z).minus(b).abs().comparedTo(g(d,n,i,z).minus(b).abs())<1?[f,r]:[d,n],Y=l,h},O.toNumber=function(){return+G(this)},O.toPrecision=function(e,t){return null!=e&&y(e,1,f),X(this,e,t,2)},O.toString=function(e){var t,n=this,r=n.s,a=n.e;return null===a?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=a<=j||a>=P?v(m(n.c),a):_(m(n.c),a,"0"):10===e&&H?t=_(m((n=$(new q(n),D+a+1,z)).c),n.e,"0"):(y(e,2,W.length,"Base"),t=M(_(m(n.c),a,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},O.valueOf=O.toJSON=function(){return G(this)},O._isBigNumber=!0,null!=t&&q.set(t),q}(),t.default=t.BigNumber=t,g.exports?g.exports=t:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=t)}(u);var _=v.exports;const M=b(),w=p(),S=y,x=_,k={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},C={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:E,decimalSuffixes:A}=M.currentBytes(),L={general:{scale:1024,suffixes:A,marker:"bd"},binary:{scale:1024,suffixes:E,marker:"b"},decimal:{scale:1e3,suffixes:A,marker:"d"}};function O(e,t,n){let r=t[0],a=Math.abs(e);if(a>=n){for(let o=1;o=i&&a=k.trillion||n&&1===i(s/k.trillion)?(l=r.trillion,e/=k.trillion):s=k.billion||n&&1===i(s/k.billion)?(l=r.billion,e/=k.billion):s=k.million||n&&1===i(s/k.million)?(l=r.million,e/=k.million):(s=k.thousand||n&&1===i(s/k.thousand))&&(l=r.thousand,e/=k.thousand),l&&(l=(a?" ":"")+l),o){let t=e<0,n=e.toString().split(".")[0],r=t?n.length-1:n.length;u=Math.max(o-r,0)}return{value:e,abbreviation:l,mantissaPrecision:u}}({value:o,forceAverage:c,lowPrecision:d,abbreviations:n.currentAbbreviations(),spaceSeparated:b,roundingFunction:w,totalLength:l});o=e.value,S+=e.abbreviation,l&&(p=e.mantissaPrecision)}if(_){let e=function({value:e,characteristicPrecision:t}){let[n,r]=e.toExponential().split("e"),a=+n;return t?(1=0?`+${r}`:r),{value:a,abbreviation:`e${r}`}):{value:a,abbreviation:`e${r}`}}({value:o,characteristicPrecision:s});o=e.value,S=e.abbreviation+S}let E=function(e,t,n,r,a,o){if(-1===r)return e;let i=function(e,t,n=Math.round){return-1!==e.toString().indexOf("e")?function(e,t){let n=e.toString(),[r,a]=n.split("e"),[o,i=""]=r.split(".");if(+a>0)n=o+i+T(a-i.length);else{let e=".";e=+o<0?`-0${e}`:`0${e}`;let r=(T(-a-1)+Math.abs(o)+i).substr(0,t);r.length0&&t>0&&(n+=`.${T(t)}`),n}(e,t):new x(n(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}(t,r,o),[l,s=""]=i.toString().split(".");if(s.match(/^0+$/)&&(n||a))return l;let u=s.match(/0+$/);return a&&u?`${l}.${s.toString().slice(0,u.index)}`:i.toString()}(o.toString(),o,m,p,h,w);return E=function(e,t,n,r){let a=e,[o,i]=a.toString().split(".");if(o.match(/^-?0$/)&&n)return i?`${o.replace("0","")}.${i}`:o.replace("0","");const l=t<0&&0===o.indexOf("-");if(l&&(o=o.slice(1),a=a.slice(1)),o.length0;a--)r===t&&(n.unshift(a),r=0),r++;return n}(u.length,l);e.forEach((e,t)=>{u=u.slice(0,e+t)+i+u.slice(e+t)}),d&&(u=`-${u}`)}return s=c?u+a+c:u,s}(E,o,y,n,r),(f||_)&&(E=function(e,t){return e+t}(E,S)),(v||o<0)&&(E=function(e,t,n){return 0===t?e:0===+e?e.replace("-",""):t>0?`+${e}`:"sign"===n?e:`(${e.replace("-","")})`}(E,o,g)),E}function z(e,t){if(!e)return t;let n=Object.keys(e);return 1===n.length&&"output"===n[0]?t:e}const j=_;function P(e,t,n){let r=new j(e._value),a=t;return n.isNumbro(t)&&(a=t._value),a=new j(a),e._value=r.minus(a).toNumber(),e}const B=b(),Y=p(),N=(e=>({loadLanguagesInNode:t=>function(e,t){e.forEach(e=>{let n;try{n=function(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../languages/${e}`)}catch(t){console.error(`Unable to load "${e}". No matching language file found.`)}n&&t.registerLanguage(n)})}(t,e)}))(X),F=f();let I=(e=>({format:(...t)=>function(e,t={},n){if("string"==typeof t&&(t=S.parseFormat(t)),!w.validateFormat(t))return"ERROR: invalid format";let r=t.prefix||"",a=t.postfix||"",o=function(e,t,n){switch(t.output){case"currency":return function(e,t,n){const r=n.currentCurrency();let a,o=Object.assign({},t),i=Object.assign({},C,o),l="",s=!!i.totalLength||!!i.forceAverage||i.average,u=o.currencyPosition||r.position,c=o.currencySymbol||r.symbol;const d=void 0!==i.spaceSeparatedCurrency?i.spaceSeparatedCurrency:i.spaceSeparated;void 0===o.lowPrecision&&(o.lowPrecision=!1),d&&(l=" "),"infix"===u&&(a=l+c+l);let f=D({instance:e,providedFormat:o,state:n,decimalSeparator:a});return"prefix"===u&&(f=e._value<0&&"sign"===i.negative?`-${l}${c}${f.slice(1)}`:e._value>0&&i.forceSign?`+${l}${c}${f.slice(1)}`:c+l+f),u&&"postfix"!==u||(l=!i.spaceSeparatedAbbreviation&&s?"":l,f=f+l+c),f}(e,t=z(t,M.currentCurrencyDefaultFormat()),M);case"percent":return function(e,t,n,r){let a=t.prefixSymbol,o=D({instance:r(100*e._value),providedFormat:t,state:n}),i=Object.assign({},C,t);return a?`%${i.spaceSeparated?" ":""}${o}`:`${o}${i.spaceSeparated?" ":""}%`}(e,t=z(t,M.currentPercentageDefaultFormat()),M,n);case"byte":return function(e,t,n,r){let a=t.base||"binary",o=Object.assign({},C,t);const{binarySuffixes:i,decimalSuffixes:l}=n.currentBytes();let s={general:{scale:1024,suffixes:l||A,marker:"bd"},binary:{scale:1024,suffixes:i||E,marker:"b"},decimal:{scale:1e3,suffixes:l||A,marker:"d"}}[a],{value:u,suffix:c}=O(e._value,s.suffixes,s.scale);return`${D({instance:r(u),providedFormat:t,state:n,defaults:n.currentByteDefaultFormat()})}${o.spaceSeparated?" ":""}${c}`}(e,t=z(t,M.currentByteDefaultFormat()),M,n);case"time":return t=z(t,M.currentTimeDefaultFormat()),function(e){let t=Math.floor(e._value/60/60),n=Math.floor((e._value-60*t*60)/60),r=Math.round(e._value-60*t*60-60*n);return`${t}:${n<10?"0":""}${n}:${r<10?"0":""}${r}`}(e);case"ordinal":return function(e,t,n){let r=n.currentOrdinal(),a=Object.assign({},C,t),o=D({instance:e,providedFormat:t,state:n}),i=r(e._value);return`${o}${a.spaceSeparated?" ":""}${i}`}(e,t=z(t,M.currentOrdinalDefaultFormat()),M);default:return D({instance:e,providedFormat:t,numbro:n})}}(e,t,n);return o=function(e,t){return t+e}(o,r),o=function(e,t){return e+t}(o,a),o}(...t,e),getByteUnit:(...t)=>function(e){let t=L.general;return O(e._value,t.suffixes,t.scale).suffix}(...t,e),getBinaryByteUnit:(...t)=>function(e){let t=L.binary;return O(e._value,t.suffixes,t.scale).suffix}(...t,e),getDecimalByteUnit:(...t)=>function(e){let t=L.decimal;return O(e._value,t.suffixes,t.scale).suffix}(...t,e),formatOrDefault:z}))(X),R=(e=>({add:(t,n)=>function(e,t,n){let r=new j(e._value),a=t;return n.isNumbro(t)&&(a=t._value),a=new j(a),e._value=r.plus(a).toNumber(),e}(t,n,e),subtract:(t,n)=>P(t,n,e),multiply:(t,n)=>function(e,t,n){let r=new j(e._value),a=t;return n.isNumbro(t)&&(a=t._value),a=new j(a),e._value=r.times(a).toNumber(),e}(t,n,e),divide:(t,n)=>function(e,t,n){let r=new j(e._value),a=t;return n.isNumbro(t)&&(a=t._value),a=new j(a),e._value=r.dividedBy(a).toNumber(),e}(t,n,e),set:(t,n)=>function(e,t,n){let r=t;return n.isNumbro(t)&&(r=t._value),e._value=r,e}(t,n,e),difference:(t,n)=>function(e,t,n){let r=n(e._value);return P(r,t,n),Math.abs(r._value)}(t,n,e),BigNumber:j}))(X);const W=y;class H{constructor(e){this._value=e}clone(){return X(this._value)}format(e={}){return I.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=W.parseFormat(e)),(e=I.formatOrDefault(e,B.currentCurrencyDefaultFormat())).output="currency",I.format(this,e)}formatTime(e={}){return e.output="time",I.format(this,e)}binaryByteUnits(){return I.getBinaryByteUnit(this)}decimalByteUnits(){return I.getDecimalByteUnit(this)}byteUnits(){return I.getByteUnit(this)}difference(e){return R.difference(this,e)}add(e){return R.add(this,e)}subtract(e){return R.subtract(this,e)}multiply(e){return R.multiply(this,e)}divide(e){return R.divide(this,e)}set(e){return R.set(this,q(e))}value(){return this._value}valueOf(){return this._value}}function q(e){let t=e;return X.isNumbro(e)?t=e._value:"string"==typeof e?t=X.unformat(e):isNaN(e)&&(t=NaN),t}function X(e){return new H(q(e))}X.version="2.5.0",X.isNumbro=function(e){return e instanceof H},X.language=B.currentLanguage,X.registerLanguage=B.registerLanguage,X.setLanguage=B.setLanguage,X.languages=B.languages,X.languageData=B.languageData,X.zeroFormat=B.setZeroFormat,X.defaultFormat=B.currentDefaults,X.setDefaults=B.setDefaults,X.defaultCurrencyFormat=B.currentCurrencyDefaultFormat,X.validate=Y.validate,X.loadLanguagesInNode=N.loadLanguagesInNode,X.unformat=F.unformat,X.BigNumber=R.BigNumber;var V=c(X)},34649(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var r=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(99420))},34789(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(80305);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5207 4L4.92065 12H9.82141C10.6811 12 11.2085 12.9419 10.7592 13.6749L8.3693 17.5737L18.0896 10H11.3566C10.3728 10 9.88379 8.80722 10.5845 8.11659L14.7609 4H10.5207ZM9.03148 2.63981C9.31217 2.23882 9.77086 2 10.2603 2H15.9805C17.322 2 17.9889 3.62652 17.0334 4.56829L13.5518 8H19.5448C20.9723 8 21.5928 9.8058 20.4667 10.6832L5.68574 22.2001C4.71982 22.9527 3.43189 21.8015 4.07183 20.7575L8.21409 14H3.96033C2.74679 14 2.03557 12.634 2.73148 11.6398L9.03148 2.63981Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M10.2601 2C9.77066 2 9.31197 2.23882 9.03128 2.63981L2.73128 11.6398C2.03537 12.634 2.74659 14 3.96013 14H8.21389L4.07163 20.7575C3.43169 21.8015 4.71963 22.9527 5.68554 22.2001L20.4665 10.6832C21.5926 9.8058 20.9721 8 19.5446 8H13.5516L17.0332 4.56829C17.9887 3.62652 17.3218 2 15.9803 2H10.2601Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rt in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))t.indexOf(r)<0&&p.call(e,r)&&(n[r]=e[r]);return n},g=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},v=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},_=(e,t,n)=>(v(e,t,"default"),n&&v(n,t,"default")),M=(e,t,n)=>(n=null!=e?a(d(e)):{},v(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),w=(e,t,n)=>m(e,"symbol"!=typeof t?t+"":t,n),S=(e,t,n)=>new Promise((r,a)=>{var o=e=>{try{l(n.next(e))}catch(e){a(e)}},i=e=>{try{l(n.throw(e))}catch(e){a(e)}},l=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,i);l((n=n.apply(e,t)).next())}),x={};g(x,{default:()=>Cn}),e.exports=(r=x,v(o({},"__esModule",{value:!0}),r));var k={};g(k,{default:()=>E});var C=M(n(56344));_(k,n(56344));var E="default"in C?C.default:C,A={};g(A,{default:()=>O});var L=M(n(14041));_(A,n(14041));var O="default"in L?L.default:L,T={};g(T,{default:()=>z});var D=M(n(48808));_(T,n(48808));var z="default"in D?D.default:D,j={};g(j,{default:()=>B});var P=M(n(41454));_(j,n(41454));var B="default"in P?P.default:P,Y={};g(Y,{default:()=>F});var N=M(n(7343));_(Y,n(7343));var F="default"in N?N.default:N,I={};g(I,{default:()=>W});var R=M(n(64852));_(I,n(64852));var W="default"in R?R.default:R,H={};g(H,{default:()=>X});var q=M(n(33689));_(H,n(33689));var X="default"in q?q.default:q,V={};g(V,{default:()=>$});var U=M(n(80953));_(V,n(80953));var $="default"in U?U.default:U,G={};g(G,{default:()=>J});var K=M(n(2841));_(G,n(2841));var J="default"in K?K.default:K,Z=class extends O.PureComponent{constructor(){super(...arguments),w(this,"handleClick",e=>{this.props.onClick(e,{value:this.props.value})})}render(){const e=this.props,{value:t,onClick:n,children:r}=e,a=b(e,["value","onClick","children"]);return O.createElement(F.Item,h({key:t,onClick:this.handleClick},a),r)}},Q={minWidth:"160px"},ee=e=>(0,G.sprintf)((0,j._)("%(pageLength)d Per Page"),{pageLength:e}),te=e=>O.createElement(W,{label:ee(e),appearance:"subtle",isMenu:!0,"data-test":"workflow-components:PageLengthSelector"}),ne=({options:e=[10,20,50],pageLength:t,onChange:n})=>O.createElement(X,{toggle:te(t)},O.createElement(F,{style:Q,"data-test":"pagination-dropdown"},e.sort((e,t)=>e<=t?-1:1).map(e=>O.createElement(Z,{key:e,value:e,onClick:n,selected:e===t,selectable:!0},O.createElement(O.Fragment,null,ee(e)))))),re={};g(re,{default:()=>oe});var ae=M(n(2426));_(re,n(2426));var oe="default"in ae?ae.default:ae,ie=["splunk_server","index","_cd"],le=new Set(["_bkt","_cd","_eventtype_color","_fulllinecount","_has_time","_indextime","_kv","_mkv_child","_raw","_serial","_si","_sourcetype","_span","_subsecond"]),se=e=>le.has(e),ue=e=>"_time"===e,ce=(e,t)=>{const n=e.replace(/[.+^${}()|[\]\\]/g,"\\$&");return new RegExp(`^${n.replace(/\*/g,".*").replace(/\?/g,".")}$`,"i").test(t)},de=e=>{if("string"!=typeof e)return!1;const t="*"===e?".*":`\\b${e.replace(/\*/g,".*")}\\b`;try{return new RegExp(t,"g")}catch(e){return!1}},fe=(e=[],t=[])=>e.filter(e=>{const n=de(e.toString());return!!n&&t.find(e=>e&&null!==e.toString().match(n))}).length===e.length,pe=(e,t=[])=>{const n=t.length,r=1===n&&"*"===t[0];if(0===n||r)return!0;if("eventtype"in e){const n=Array.isArray(e.eventtype)?e.eventtype:[e.eventtype];return fe(t,n)}return!1};function me(e,t,n){let r="";for(let t=0;tge});var be=M(n(53057));_(ye,n(53057));var ge="default"in be?be.default:be,ve={};g(ve,{default:()=>Me});var _e=M(n(7494));_(ve,n(7494));var Me="default"in _e?_e.default:_e,we={};g(we,{default:()=>xe});var Se=M(n(18672));_(we,n(18672));var xe="default"in Se?Se.default:Se,ke={};g(ke,{default:()=>Ee});var Ce=M(n(48153));_(ke,n(48153));var Ee="default"in Ce?Ce.default:Ce,Ae={};g(Ae,{default:()=>Oe});var Le=M(n(28541));_(Ae,n(28541));var Oe="default"in Le?Le.default:Le,Te={};g(Te,{default:()=>ze});var De=M(n(49912));_(Te,n(49912));var ze="default"in De?De.default:De,je={};g(je,{default:()=>Be});var Pe=M(n(66115));_(je,n(66115));var Be="default"in Pe?Pe.default:Pe,Ye=ge.div` display: inline; color: ${we.variables.contentColorActive}; ${({$highlighted:e})=>e&&ye.css` background-color: ${(0,we.pick)({dark:we.variables.static17,light:we.variables.static4})}; `} `,Ne=ge(ze)` color: inherit; text-decoration: underline; `,Fe=e=>{const{field:t,value:n,onFieldValueClicked:r,isField:a,isHighlighted:o}=e,i=O.useRef(null),l=r&&!ue(t)&&(!a||a(t));O.useEffect(()=>{if(!l)return;const e=e=>e.preventDefault(),t=i.current;return t.addEventListener("click",e),()=>{t.removeEventListener("click",e)}},[l]);const s=l?O.createElement(Ne,{role:"button",elementRef:i,onClick:e=>{e.preventDefault(),r(e,{field:t,value:n})}},n):O.createElement("span",null,n);return O.createElement(Ye,{$highlighted:o},s)},Ie=e=>{const{field:t,onTagClicked:n,tags:r}=e;return r&&0!==r.length?n?O.createElement(O.Fragment,null," ( ",r.map(e=>O.createElement("span",{key:(0,je.createDOMID)()},O.createElement(Ne,{role:"button",onClick:r=>{r.preventDefault(),n(r,{field:t,value:e})}},e)," ")),")"):O.createElement("span",null," ( ",r.join(" ")," ) "):O.createElement("span",null)},Re=ge.dl` padding: 0; margin: 0; `,We=ge.div` &:not(:last-of-type) { border-right: 1px dashed ${we.variables.borderColor}; } margin-right: ${we.variables.spacingSmall}; list-style: none; display: inline; `,He=ge.span` display: inline; margin: 0; padding: 0; color: ${we.variables.contentColorDefault}; `,qe=e=>{const{footerFields:t,fieldValueHighlightMap:n,allTagsMap:r}=e,a=O.useMemo(()=>{const n=null==t?void 0:t.filter(t=>Oe(e.event,t));return[...new Set(n)]},[t,e.event]),o=O.useContext(Ee),i=o&&o.visualizations_enableEventsViewerTags,l=(t,a)=>{var o;const l=null==n?void 0:n[t];let s=!1;l&&(s=Array.isArray(l)?l.findIndex(e=>ce(e.toString(),a))>-1:ce(l.toString(),a));const u=`${t}=${a}`;return O.createElement(O.Fragment,{key:`${t}=${a}`},O.createElement(He,null,t," ",O.createElement("span",{"aria-hidden":"true"},"=")," "),O.createElement(He,null,O.createElement(Fe,{field:t,value:a,onFieldValueClicked:e.onFieldValueClicked,isField:e.isField,isHighlighted:s}),i&&O.createElement(Ie,{field:t,onTagClicked:e.onTagClicked,tags:null!=(o=r[u])?o:[]})," "))};return O.createElement(Re,null,a.map(t=>{const n=e.event[t];return n?O.createElement(We,{key:`footer-entry-${t}`},Array.isArray(n)?n.map(e=>l(t,e)):l(t,n)):null}))},Xe=ge(oe.Cell)` font-family: ${we.variables.monoFontFamily}; line-height: ${we.variables.lineHeight}; div { flex-direction: column; align-items: flex-start; margin: 0; padding: 0; } `,Ve=ge(W)` margin-top: ${we.variables.spacingLarge}; margin-bottom: ${we.variables.spacingXSmall}; display: block; width: fit-content; `,Ue=ge(Me)` span { min-height: 0px; } `,$e=class extends A.Component{constructor(e){super(e),w(this,"getRawText",()=>{this.setState({highlight:!1})}),w(this,"highlightSyntax",()=>{this.setState({highlight:!0})}),this.state={highlight:e.initialHighlight}}render(){const{rawEventString:e,wrapResults:t}=this.props;return this.state.highlight?O.createElement("div",null,O.createElement(Ue,{json:e,defaultExpanded:!1,overflow:t?"wrap":"scroll"}),O.createElement(Ve,{appearance:"standalone",onClick:e=>{e.preventDefault(),this.getRawText()},"data-test":"show-raw-text-button"},(0,j._)("Show as raw text"))):O.createElement("div",null,O.createElement("div",null,e),O.createElement(Ve,{appearance:"standalone",onClick:e=>{e.preventDefault(),this.highlightSyntax()},"data-test":"highlight-syntax-button"},(0,j._)("Show syntax highlighted")))}},Ge=({wrapResults:e,initialHighlight:t,rawEventString:n,event:r,showFooter:a,footerFields:o,fieldValueHighlightMap:i,allTagsMap:l,onFieldValueClicked:s,onTagClicked:u,isField:c})=>O.createElement(Xe,{style:e?{}:{whiteSpace:"nowrap"}},function(e){if(!z.isString(e))return!1;try{JSON.parse(e)}catch(e){return!1}return!0}(n)?O.createElement($e,{initialHighlight:t,rawEventString:n,wrapResults:e}):n,a&&O.createElement(qe,{event:r,footerFields:o,fieldValueHighlightMap:i,onFieldValueClicked:s,onTagClicked:u,isField:c,allTagsMap:l})),Ke={};g(Ke,{default:()=>Ze});var Je=M(n(77330));_(Ke,n(77330));var Ze="default"in Je?Je.default:Je,Qe=ge(ze)` color: ${we.variables.contentColorDefault}; line-height: ${we.variables.lineHeight}; &:hover, &focus { color: ${we.variables.linkColor}; } `,et=ge.span` pointer-events: none; white-space: nowrap; `,tt=e=>{var t=e,{time:n,timeFormat:r,onTimeClicked:a,timeFieldAdditionalProps:o}=t,i=b(t,["time","timeFormat","onTimeClicked","timeFieldAdditionalProps"]);if(!n)return null;const l=[O.createElement(et,{key:"date"},Ze(n).splunkFormat("l")),O.createElement("br",{key:"break"}),O.createElement(et,{key:"time"},Ze(n).splunkFormat("LTMS"))],s="lms"===r?l:Ze(n).splunkFormat(r);return a?O.createElement(Qe,h(h({role:"button","data-test":"time-value","data-test-value":n,onClick:e=>{e.preventDefault(),a(e,{time:n})}},o),i),s):O.createElement("span",h({"data-test":"time-value","data-test-value":n},i),s)},nt={};g(nt,{default:()=>at});var rt=M(n(56473));_(nt,n(56473));var at="default"in rt?rt.default:rt,ot={};g(ot,{default:()=>lt});var it=M(n(26251));_(ot,n(26251));var lt="default"in it?it.default:it,st={};g(st,{default:()=>ct});var ut=M(n(31280));_(st,n(31280));var ct="default"in ut?ut.default:ut,dt=`/servicesNS/${encodeURIComponent(ot.username)}/${encodeURIComponent(ot.app)}/saved/fvtags`,ft=e=>e.reduce((e,t)=>(e[`tag.${t}`]=t,e),{}),pt=(...e)=>S(void 0,[...e],function*(e="",t={},n={},r={},a=200){const o=new URLSearchParams(n),i="{}"===JSON.stringify(n)?"":`?${o.toString()}`,l=(0,st.createRESTURL)(e,t),s=h(h({},nt.defaultFetchInit),r);return((e,t=200)=>S(void 0,null,function*(){var n;if(!(null==e?void 0:e.ok)){const t=`${null==e?void 0:e.status} - ${null==e?void 0:e.statusText}`,r=(0,nt.findErrorMessage)(yield null==e?void 0:e.json());throw new Error(null!=(n=null==r?void 0:r.text)?n:t)}if(e.status!==t)throw new Error(`Received status code ${e.status} instead of expected ${t}`);return e.json()}))(yield fetch(`${l}${i}`,s),a)}),mt=()=>S(void 0,null,function*(){const e=dt;return(yield pt(e,{app:ot.app,username:ot.username},{output_mode:"json",count:0},{method:"GET"})).entry.reduce((e,t)=>(t.content.disabled||(e[t.name]=t.content.tags),e),{})}),ht=ge(oe.Row)` td { vertical-align: top; } /* HACK to work around http://go/j/SUI-2413, and also make expand button the full height of the row*/ td[data-test='expand'] { svg { width: 32px; margin-top: 6px; } button { height: 100%; display: flex; align-items: flex-start; } } `,yt=ge(oe.HeadCell)` span { font-size: ${we.mixins.typography({size:14})}; } `,bt={};g(bt,{default:()=>vt});var gt=M(n(85100));_(bt,n(85100));var vt="default"in gt?gt.default:gt,_t={};g(_t,{default:()=>wt});var Mt=M(n(89862));_(_t,n(89862));var wt="default"in Mt?Mt.default:Mt,St=ge(oe.Row)` td { vertical-align: top; } /* HACK to work around http://go/j/SUI-2413 */ td[data-role='expand'] { svg { width: 32px; } } `,xt=e=>{var t=e,{fields:n,events:r,pageNumber:a,getExpansionRow:o,timeFormat:i,rowNumbers:l,selection:s,onTimeClicked:u,timeFieldAdditionalProps:c}=t,d=b(t,["fields","events","pageNumber","getExpansionRow","timeFormat","rowNumbers","selection","onTimeClicked","timeFieldAdditionalProps"]);const f=n.reduce((e,{name:t})=>(ue(t)?e.unshift(t):se(t)||e.push(t),e),[]);return O.createElement(oe,h({stripeRows:!0,rowExpansion:"single","data-test":"workflow-components:EventsTable",onRequestToggleAllRows:s?()=>s.onTogglePage(r,a,s.pageToggle):void 0,rowSelection:s?s.pageToggle:void 0},d),O.createElement(oe.Head,null,l&&O.createElement(oe.HeadCell,{key:"row-numbers",style:{width:10}}," "),f.map(e=>O.createElement(oe.HeadCell,{key:`field-${e}`},ue(e)?(0,j._)("Time"):e))),O.createElement(oe.Body,null,r.map((e,t)=>{const n=me(e,t,a);return O.createElement(St,{key:n,expansionRow:o(e,n,t,a),onRequestToggle:s?()=>s.onToggleRow(e,t,a):void 0,selected:s?s.rows.some(e=>e.index===t&&e.pageNumber===a):void 0,rowScreenReaderText:e._time},l&&O.createElement(oe.Cell,null,t+1),f.map(t=>{let r=e[t];return ue(t)?r=O.createElement(tt,{time:e._time,timeFormat:i,onTimeClicked:u,timeFieldAdditionalProps:c}):(vt(r)||wt(r))&&(r=JSON.stringify(r)),O.createElement(oe.Cell,{key:`${t}-${n}`},r)}))})))};xt.defaultProps={timeFormat:"lms"};var kt=xt,Ct=class e{constructor(e){w(this,"data",{styles:[],dict:{}}),this.data.styles=e.slice(),this.data.styles.forEach(e=>{if(this.data.dict[e.key]=e,-1!==[e.key,e.label,e.component].indexOf(void 0))throw Error("All table style definitions must have key, label, and component fields")})}getValues(){return this.data.styles.slice()}getKeys(){return this.data.styles.map(e=>e.key)}get(e){return this.data.dict[e]}concat(t){return new e(t instanceof e?this.data.styles.concat(t.getValues()):this.data.styles.concat(t))}};w(Ct,"builtin");var Et=Ct,At={key:"wrapResults",label:(0,j._)("Wrap Results")},Lt={key:"rowNumbers",label:(0,j._)("Row Numbers")},Ot=[{key:"raw",label:(0,j._)("Raw"),component:({events:e,getExpansionRow:t,pageNumber:n,selection:r,onFieldValueClicked:a,footerFields:o,fieldValueHighlightMap:i,isField:l})=>{const[s,u]=O.useState(null);return O.createElement(oe,{stripeRows:!0,rowExpansion:"controlled","data-test":"workflow-components:Raw",onRequestToggleAllRows:r?()=>r.onTogglePage(e,n,r.pageToggle):void 0,rowSelection:r?r.pageToggle:void 0},O.createElement(oe.Head,null,O.createElement(oe.HeadCell,null,"Event")),O.createElement(oe.Body,null,e.map((e,c)=>{const d=me(e,c,n),f=he(e);return O.createElement(oe.Row,{key:d,expansionRow:t(e,d,c,n),onExpansion:()=>{var e;u(s===(e=d)?null:e)},expanded:d===s,onRequestToggle:r?()=>r.onToggleRow(e,c,n):void 0,selected:r?r.rows.some(e=>e.index===c&&e.pageNumber===n):void 0,rowScreenReaderText:e._time},O.createElement(Ge,{rawEventString:f,initialHighlight:!1,wrapResults:!0,event:e,footerFields:o,fieldValueHighlightMap:i,showFooter:!(d===s),onFieldValueClicked:a,isField:l}))})))},formattingOptions:[]},{key:"list",label:(0,j._)("List"),component:e=>{var t=e,{events:n,getExpansionRow:r,timeFormat:a="lms",pageNumber:o,rowNumbers:i,wrapResults:l,selection:s,onTimeClicked:u,onFieldValueClicked:c,onTagClicked:d,isField:f,footerFields:p,fieldValueHighlightMap:m,allTagsMap:y,timeFieldAdditionalProps:g,updateAllTags:v}=t,_=b(t,["events","getExpansionRow","timeFormat","pageNumber","rowNumbers","wrapResults","selection","onTimeClicked","onFieldValueClicked","onTagClicked","isField","footerFields","fieldValueHighlightMap","allTagsMap","timeFieldAdditionalProps","updateAllTags"]);const M=(0,A.useContext)(Ee),w=null==M?void 0:M.visualizations_enableEventsViewerTags,[x,k]=O.useState(null);return O.createElement(oe,h({stripeRows:!0,rowExpansion:"controlled","data-test":"workflow-components:List",onRequestToggleAllRows:s?()=>s.onTogglePage(n,o,s.pageToggle):void 0,rowSelection:s?s.pageToggle:void 0},_),O.createElement(oe.Head,null,O.createElement(yt,null,(0,j._)("Time")),i&&O.createElement(yt,{"data-test":"head-cell-rowNumbers"}),O.createElement(yt,null,(0,j._)("Event"))),O.createElement(oe.Body,null,n.map((e,t)=>{const n=me(e,t,o),h=he(e);return O.createElement(ht,{key:n,expansionRow:r(e,n,t,o),onExpansion:()=>{return k(x===(e=n)?null:e),void S(void 0,null,function*(){try{if(w){const e=yield mt();v(e)}}catch(e){console.error(e)}});var e},expanded:n===x,onRequestToggle:s?()=>s.onToggleRow(e,t,o):void 0,selected:s?s.rows.some(e=>e.index===t&&e.pageNumber===o):void 0,rowScreenReaderText:e._time},O.createElement(oe.Cell,null,O.createElement(tt,{time:e._time,timeFormat:a,onTimeClicked:u,timeFieldAdditionalProps:g})),i&&O.createElement(oe.Cell,null,t+1),O.createElement(Ge,{rawEventString:h,wrapResults:l,initialHighlight:!0,event:e,footerFields:p,fieldValueHighlightMap:m,showFooter:!(n===x),onFieldValueClicked:c,onTagClicked:d,isField:f,allTagsMap:y}))})))},formattingOptions:[At,Lt]},{key:"table",label:(0,j._)("Table"),component:kt,formattingOptions:[At,Lt]}];function Tt(e=1,t=0){return(e-1)*t}Et.builtin=new Et(Ot);var Dt=ge.div` display: flex; align-items: center; flex-wrap: wrap; /* Could just be button, other props added to win the specificity war */ /* This is adding margin so that when the buttons wrap they have space between them */ & > button[data-inline]:not([data-prepend]) { margin-right: ${we.variables.spacingSmall}; } & > [data-inline] + button[data-inline]:not([data-prepend]) { margin: ${we.variables.spacingXSmall} ${we.variables.spacingSmall} ${we.variables.spacingXSmall} 0; } button { flex-grow: 0; } & > span { margin: ${we.variables.spacingXSmall} 0; } `,zt=e=>{var t=e,{selectionCount:n,actions:r,onActionClicked:a}=t,o=b(t,["selectionCount","actions","onActionClicked"]);return O.createElement(Dt,h({"data-test":"selection-buttons"},o),r.map(({label:e,name:t})=>O.createElement(W,{key:t,"data-test":t,label:e,disabled:0===n,appearance:"default",onClick:e=>a(e,{action:t})})),O.createElement("span",null,(0,G.sprintf)((0,j._)("%(selectionCount)d Selected"),{selectionCount:n})))},jt={};g(jt,{default:()=>Bt});var Pt=M(n(2450));_(jt,n(2450));var Bt="default"in Pt?Pt.default:Pt,Yt=({name:e,label:t,selected:n,onOptionsChange:r})=>{const a=e;return O.createElement(F.Item,{"data-test":a,value:a,onClick:()=>r({[a]:!n}),selected:n,selectable:!0},t)},Nt=({tableStyle:e,formattingOptions:t,formattingValues:n,onOptionsChange:r})=>{const a=O.createElement(W,{icon:O.createElement(Bt,{screenReaderText:""}),label:(0,j._)("Format"),appearance:"subtle","data-test":"table-formatter-button",isMenu:!0}),o=t.reduce((t,n)=>{const r=e.formattingOptions.find(({key:e})=>e===n);return r&&t.push(r),t},[]);return 0===o.length?null:O.createElement(X,{toggle:a},O.createElement(F,{"data-test":"table-format-menu"},o.map(({key:e,label:t})=>O.createElement(Yt,{key:e,name:e,label:t,selected:n[e],onOptionsChange:r}))))},Ft=({showPagination:e=!0,tableStyles:t=Et.builtin,pagination:n,style:r={},formattingOptions:a=[],formattingValues:o,currentTableStyle:i,onRequestParamsChange:l,requestParams:s,onOptionsChange:u,selectionActions:c,selectionCount:d,onSelectionActionClicked:f})=>{const p={totalPages:n.totalPages,current:n.page,onChange:l},m=(e,{value:t})=>{u({currentTableStyle:t})},b={controlsContainer:{display:"flex",alignItems:"flex-end"},controlsSeparator:{flexGrow:1}},g=(()=>{if(null==i)return null;const e=t.get(i),n=O.createElement(W,{label:e.label,appearance:"subtle",isMenu:!0,"data-test":"table-style-selector-button"});return O.createElement("div",{key:"table-styles"},O.createElement(X,{toggle:n},O.createElement(F,{style:Q,"data-test":"table-style-selector-dropdown"},t.getValues().map(e=>O.createElement(Z,{key:e.key,onClick:m,value:e.key,selectable:!0,selected:e.key===i},O.createElement("span",null,e.label))))))})(),v=(()=>{if(!i)return null;const e=t.get(i);return O.createElement("div",{key:"table-formatter"},O.createElement(Nt,{tableStyle:e,formattingOptions:a,formattingValues:o,onOptionsChange:u}))})(),_=e&&n.pageLengthOptions.length>0?O.createElement("div",{key:"page-length-selector"},O.createElement(ne,{pageLength:n.pageLength,options:n.pageLengthOptions,onChange:(e,{value:t})=>{l("primary",h(h({},s),{count:t,offset:0}))}})):null,M=e?O.createElement($,y(h({style:b.paginator},p),{onChange:(e,{page:t})=>{const{pageLength:r}=n;l("primary",h(h({},s),{offset:Tt(t,r),count:r}))}})):null;return g||v||_||M?O.createElement("div",{"data-test":"workflow-components:ConfigurationPanel",style:h(h({},b.controlsContainer),r)},d&&c?O.createElement(zt,{actions:c,selectionCount:d,onActionClicked:f}):[g,v,_],O.createElement("div",{style:b.controlsSeparator}),M):null},It={};g(It,{default:()=>Wt});var Rt=M(n(32508));_(It,n(32508));var Wt="default"in Rt?Rt.default:Rt,Ht={};g(Ht,{default:()=>Xt});var qt=M(n(42187));_(Ht,n(42187));var Xt="default"in qt?qt.default:qt,Vt={};g(Vt,{default:()=>$t});var Ut=M(n(52056));_(Vt,n(52056));var $t="default"in Ut?Ut.default:Ut,Gt={};g(Gt,{default:()=>Jt});var Kt=M(n(63423));_(Gt,n(63423));var Jt="default"in Kt?Kt.default:Kt,Zt={};g(Zt,{default:()=>en});var Qt=M(n(13882));_(Zt,n(13882));var en="default"in Qt?Qt.default:Qt,tn={};g(tn,{default:()=>rn});var nn=M(n(74231));_(tn,n(74231));var rn="default"in nn?nn.default:nn,an={};g(an,{default:()=>ln});var on=M(n(32769));_(an,n(32769));var ln="default"in on?on.default:on,sn=e=>{var t;const{fieldName:n,fieldValue:r,tags:a,isOpen:o,updateIsModalOpen:i,updateAllTags:l}=e,s=null!=(t=null==a?void 0:a.join(", "))?t:"",[u,c]=(0,A.useState)(s),[d,f]=(0,A.useState)(""),[p,m]=(0,A.useState)(!a),y=()=>{i(!1)},b={TITLE:(0,j._)("Create tags"),FIELD_LABEL:(0,j._)("Field value"),TAGS_LABEL:(0,j._)("Tag(s)"),HELP:(0,j._)("Comma or space separated list of tags."),CANCEL:(0,j._)("Cancel"),SAVE:(0,j._)("Save"),FIELD_PLACEHOLDER:`${n}=${r}`};return(0,A.useEffect)(()=>{o&&(f(""),c(s),S(void 0,null,function*(){var e;try{const t=yield((e="",t="")=>S(void 0,null,function*(){const n=`${dt}/${encodeURIComponent(e)}%3D${encodeURIComponent(t)}`;return(yield pt(n,{app:ot.app,username:ot.username},{output_mode:"json"},{method:"GET"})).entry[0].content.tags}))(n,r);c(null!=(e=null==t?void 0:t.join(", "))?e:""),m(!1)}catch(e){m(!0)}}))},[o,n,r,s]),O.createElement(Jt,{"data-test":"edit-tags-modal",onRequestClose:y,open:o,style:{width:"550px"},onClick:e=>{e.stopPropagation()},onMouseDown:e=>{e.stopPropagation()},onMouseUp:e=>{e.stopPropagation()},returnFocus:()=>{}},O.createElement(Jt.Header,{title:b.TITLE}),O.createElement(Jt.Body,null,d&&O.createElement(ln,{type:"error"},d),O.createElement($t,{label:b.FIELD_LABEL},O.createElement(rn,{"data-test":"edit-tags-modal-field",disabled:!0,placeholder:b.FIELD_PLACEHOLDER})),O.createElement($t,{label:b.TAGS_LABEL,help:b.HELP},O.createElement(en,{"data-test":"edit-tags-modal-textarea",value:u,onChange:e=>{const t=e.target.value;c(t)}}))),O.createElement(Jt.Footer,null,O.createElement(W,{appearance:"secondary",onClick:y,label:b.CANCEL}),O.createElement(W,{appearance:"primary",onClick:()=>S(void 0,null,function*(){f("");const e=(e=>e?e.trim().replace(/,/g," ").split(/\s+/):[])(u);try{p?yield((...e)=>S(void 0,[...e],function*(e="",t="",n=[]){const r=dt,a=h({name:`${e}=${t}`,output_mode:"json"},ft(n)),o=new URLSearchParams(a);return(yield pt(r,{app:ot.app,username:ot.username},{},{method:"POST",body:o.toString()},201)).entry[0].content.tags}))(n,r,e):0===e.length?yield((e="",t="")=>S(void 0,null,function*(){const n=`${dt}/${encodeURIComponent(e)}%3D${encodeURIComponent(t)}`;return(yield pt(n,{app:ot.app,username:ot.username},{output_mode:"json"},{method:"DELETE"})).entry}))(n,r):yield((...e)=>S(void 0,[...e],function*(e="",t="",n=[]){const r=`${dt}/${encodeURIComponent(e)}%3D${encodeURIComponent(t)}`,a=h({output_mode:"json"},ft(n)),o=new URLSearchParams(a);return(yield pt(r,{app:ot.app,username:ot.username},{},{method:"POST",body:o.toString()})).entry[0].content.tags}))(n,r,e),y();const t=yield mt();l(t)}catch(e){f(e.message)}}),label:b.SAVE})))},un=ge(oe.Head)` border-bottom: 1px solid ${we.variables.borderColorWeak}; `,cn=ge(oe.Row)` border-bottom: 1px solid ${we.variables.borderColorWeak}; `,dn=ge.span` font-size: ${we.mixins.typography({size:14})}; font-weight: ${we.mixins.typography({weight:"bold"})}; white-space: nowrap; `,fn=ge(oe.Cell)` padding: 0 0 0 15px; div { min-height: 0; } `,pn=ge.div` width: 100%; `,mn=e=>{var t=e,{renderEventActions:n=[],renderFieldActions:r={},fieldValueHighlightMap:a={},allTagsMap:o={},updateAllTags:i,event:l,onFieldValueClicked:s,isField:u,onTagClicked:c,index:d,pageNumber:f,onFieldClicked:p,onTimeClicked:m,timeFieldAdditionalProps:g,fieldAdditionalProps:v}=t,_=b(t,["renderEventActions","renderFieldActions","fieldValueHighlightMap","allTagsMap","updateAllTags","event","onFieldValueClicked","isField","onTagClicked","index","pageNumber","onFieldClicked","onTimeClicked","timeFieldAdditionalProps","fieldAdditionalProps"]);const M=(0,A.useContext)(Ee),w=M&&M.visualizations_enableEventsViewerTags,[S,x]=(0,A.useState)({isOpen:!1,fieldName:"",fieldValue:"",tags:[]}),k=(0,A.useCallback)(e=>{x(y(h({},S),{isOpen:e}))},[S]),C=(0,A.useCallback)((e,t,n,r)=>{x({isOpen:e,fieldName:t,fieldValue:n,tags:r})},[]),E=O.createElement(W,{label:(0,j._)("Event Actions"),isMenu:!0,style:{marginBottom:10},"data-test":"event-actions-dropdown"}),L=(0,T.pickBy)(l,e=>(0,T.isString)(e)||(0,T.isArray)(e)),D=Object.keys(L).filter(e=>!se(e)),z={backgroundColor:"transparent"},P={padding:"0 0 0 0"},B={marginTop:3},Y=!1,N=((e,t={},n=[])=>{const r={};return Object.keys(t).forEach(a=>{n.forEach(n=>{const o=r[n]||[];t[a].forEach(({eventtypeValues:t,fieldActionComponent:i})=>{((e,t)=>{const n=de(e);return n&&null!==t.match(n)})(a,n)&&pe(e,t)&&(o.push(i),r[n]=o)})})}),r})(l,r,D),I=0!==Object.keys(N).length,R=!!w||I,H=((e,t=[])=>{const n=[];return t.forEach(t=>{const{eventtypeValues:r,fieldFilters:a,eventActionComponent:o}=t;pe(e,r)&&((e,t=[])=>{const n=t.length,r=1===n&&"*"===t[0];if(0===n||r)return!0;const a=Object.keys(e);return fe(t,a)})(e,a)&&n.push(o)}),n})(l,n),q=(e,t)=>{var n;const r=null==a?void 0:a[e];let i=!1;r&&(i=Array.isArray(r)?r.findIndex(e=>ce(e.toString(),t))>-1:ce(r.toString(),t));const p=N[e]||[],m=`${e}=${t}`;if(w){const n=()=>{C(!0,e,t,o[m])},r=()=>O.createElement(F.Item,{key:"field-action-edit-tags","data-test":"field-action-edit-tags",onClick:n},(0,j._)("Edit tags"));p.unshift(r)}const h=O.createElement(ze,{"data-test":"field-actions-dropdown","aria-label":`${e} actions`,style:B,role:"button",onClick:e=>e.preventDefault()},O.createElement(Xt,{screenReaderText:null}));return O.createElement(O.Fragment,null,O.createElement(fn,null,O.createElement(Fe,{field:e,value:t,onFieldValueClicked:s,isField:u,isHighlighted:i}),w&&O.createElement(Ie,{onTagClicked:c,field:e,tags:null!=(n=o[m])?n:[]})),R&&O.createElement(fn,{align:"center",style:P},p.length>0&&"_time"!==e&&O.createElement(X,{toggle:h},O.createElement(F,{style:{width:280,maxHeight:270,overflowY:"auto"}},p.map((n,r)=>{const a=`field-action-${e}-${t}-${r}`;return O.createElement(O.Fragment,{key:a},O.createElement(n,{event:l,field:e,value:t,rowIndex:d,pageNumber:f}))})))))};return O.createElement(oe.Row,h({},_),O.createElement(fn,{colSpan:1e3},O.createElement(pn,{"data-test":"workflow-components:RowExpander"},H.length>0&&O.createElement(X,{toggle:E},O.createElement(F,{style:{width:150,maxHeight:270,overflowY:"auto"}},H.map((e,t)=>{const n=`event-action-${d}-${f}-${t}`;return O.createElement(O.Fragment,{key:n},O.createElement(e,{event:l,rowIndex:d,pageNumber:f}))}))),O.createElement(oe,{stripeRows:!1},O.createElement(un,null,Y,O.createElement(oe.HeadCell,{style:z},O.createElement(dn,null,(0,j._)("Field"))),O.createElement(oe.HeadCell,{style:z},O.createElement(dn,null,(0,j._)("Value"))),R&&O.createElement(oe.HeadCell,{align:"center",style:z},O.createElement(dn,null,(0,j._)("Actions")))),O.createElement(oe.Body,null,D.map(e=>{var t;const n=e,r=l[e],a=(0,T.isArray)(r)&&r.length>0?r.length:1;return O.createElement(A.Fragment,{key:n},O.createElement(cn,{key:`${n}=${r.toString()}`},Y,O.createElement(fn,{rowSpan:a},((e,t,n,r,a,o,i)=>r&&ue(e)?O.createElement(Ne,h({role:"button",onClick:e=>{e.preventDefault(),r(e,{time:t})}},o),e):!n||ue(e)||a&&!a(e)?O.createElement("span",null,e):O.createElement(Ne,h({role:"button",onClick:r=>{r.preventDefault(),n(r,{field:e,value:t})}},i),e))(n,r.toString(),p,m,u,g,v)),(0,T.isArray)(r)?q(e,null!=(t=r[0])?t:""):q(e,r)),(0,T.isArray)(r)&&r.map((t,r)=>r>0&&O.createElement(cn,{key:`${n}=${t}`},q(e,t))))})))),O.createElement(sn,{fieldName:S.fieldName,fieldValue:S.fieldValue,isOpen:S.isOpen,updateIsModalOpen:k,tags:S.tags,updateAllTags:i})))},hn={};g(hn,{default:()=>bn});var yn=M(n(47658));_(hn,n(47658));var bn="default"in yn?yn.default:yn,gn={};g(gn,{default:()=>_n});var vn=M(n(4800));_(gn,n(4800));var _n="default"in vn?vn.default:vn,Mn=ge(bn)` width: 400, left: 50% , position: absolute, marginLeft: -200, `,wn=({error:e})=>{const t=(0,T.isString)(e)?(0,j._)("Search Failure"):e.title,n=(0,T.isString)(e)?e:e.message;return O.createElement(Mn,null,O.createElement(bn.Header,{title:t}),O.createElement(bn.Body,null,O.createElement(_n,null,n)))},Sn=class e{constructor(e=[],t=[]){w(this,"fields"),w(this,"columns"),this.fields=e.map(e=>(0,T.isString)(e)?{name:e}:e),this.columns=t}static empty(){return new e}static fromJSONArray(t=[],n=[]){let r=t;if(null==r||0===r.length)if(n.length>0){const e=n[0];r=Object.keys(e).map(e=>({name:e}))}else r=[];const a=r.map(({name:e})=>n.reduce((t,n)=>(t.push(void 0===n[e]?null:n[e]),t),[]));return new e(r,a)}static fromJSONCols(t=[],n=[]){return new e(t,n)}static fromJSONRows(t=[],n=[]){return new e(t,(0,T.zip)(...n))}toJSONArray(){return{fields:this.fields,results:(0,T.zip)(...this.columns).map(e=>(0,T.zipObject)(this.fields.map(e=>e.name),e))}}toJSONCols(){const{fields:e,columns:t}=this;return{fields:e,columns:t}}toJSONRows(){return{fields:this.fields,rows:(0,T.zip)(...this.columns)}}getFields(){return this.fields}getColumns(){return this.columns}getColumnByField(e){const t=(0,T.findIndex)(this.fields,({name:t})=>t===e);return this.columns[t]}hasField(e){return-1!==(0,T.findIndex)(this.fields,({name:t})=>t===e)}isEmpty(){return 0===this.columns.length}equals(e){return(0,T.isEqual)(this.fields,e.fields)&&(0,T.isEqual)(this.columns,e.columns)}getPage({count:t=0,offset:n=0}){const r=t<=0?void 0:n+t;return e.fromJSONCols(this.getFields(),this.getColumns().map(e=>e.slice(n,r)))}getTotalCount(){var e,t;return null!=(t=null==(e=this.columns[0])?void 0:e.length)?t:0}};var xn={};var kn={currentTableStyle:"list",showPagination:!1,tableStyles:Et.builtin,timeFormat:"lms",rowNumbers:!1,wrapResults:!0,footerFields:[],fieldValueHighlightMap:{}},Cn=({dataSources:e,width:t="100%",height:n="100%",options:r=kn,onOptionsChange:a=()=>{},onRequestParamsChange:o,style:i,selection:l,onTimeClicked:s,timeFieldAdditionalProps:u,onFieldClicked:c,fieldAdditionalProps:d,onFieldValueClicked:f,onTagClicked:p,isField:m})=>{var b,g;const v=function(e,t="primary"){var n,r,a;return null!=(a=null==(r=null==(n=e.dataSources)?void 0:n[t])?void 0:r.meta)?a:xn}({dataSources:e},"primary"),_=null!=(b=(e=>{const t={};return(e?Object.keys(e):[]).forEach(n=>{Object.keys(e[n]).forEach(r=>{const a=e[n][r];t[`${n}=${r}`]=a})}),t})(null==v?void 0:v.tags))?b:{},[M,w]=O.useState(_),S=(0,A.useCallback)(e=>{w(e)},[]),x=(e,t,n,a,...o)=>O.createElement(mn,y(h({},o),{key:`${t}-expansion`,event:e,index:n,pageNumber:a,renderEventActions:r.renderEventActions,renderFieldActions:r.renderFieldActions,onFieldClicked:c,onTagClicked:p,onFieldValueClicked:f,onTimeClicked:s,isField:m,fieldValueHighlightMap:r.fieldValueHighlightMap,allTagsMap:M,updateAllTags:S,timeFieldAdditionalProps:u,fieldAdditionalProps:d})),k=(e,t,n)=>{const r=n.filter(t=>t.pageNumber===e).length;return 0===r?"none":r===t?"all":"some"},C=function(e,t="primary"){var n,r;return null==(r=null==(n=e.dataSources)?void 0:n[t])?void 0:r.requestParams}({dataSources:e},"primary");if(0===v.totalCount){const e={title:(0,j._)("Search Results"),message:(0,j._)("No Results Found.")};return O.createElement(wn,{error:e})}const L=Math.ceil(v.totalCount/C.count)||0,D=Math.ceil(C.offset/C.count)+1,z={page:D||1,totalPages:L,pageLength:C.count||10,pageLengthOptions:r.pageLengthOptions||[]},P=(0,T.pick)(r,r.formattingOptions),B=null==l?void 0:l.actions,Y=null==l?void 0:l.onActionClicked,N=(null==(g=null==l?void 0:l.rows)?void 0:g.length)||0;return O.createElement("div",{"data-test":"workflow-components:EventsViewer",style:h({height:n,width:t,overflowY:"auto"},i)},O.createElement(Ft,{requestParams:C,tableStyles:r.tableStyles,currentTableStyle:r.currentTableStyle,formattingOptions:r.formattingOptions,onOptionsChange:a,showPagination:r.showPagination,pagination:z,style:{padding:"6px 20px"},onRequestParamsChange:o,formattingValues:P,selectionActions:B,onSelectionActionClicked:Y,selectionCount:N}),(()=>{const t=E({},kn,r),n=r.currentTableStyle||kn.currentTableStyle,a=t.tableStyles.get(n);if(!a)throw new Error(`No table style definition found for currentTableStyle: ${n}`);const o=function(e){return function(e,t="primary"){var n,r;const a=null==(r=null==(n=e.dataSources)?void 0:n[t])?void 0:r.data;return a?Sn.fromJSONCols(a.fields,a.columns):null}(e,"primary")}({dataSources:e}),i=a.component,c=o.toJSONArray(),d=l?y(h({},l),{pageToggle:k(D,c.results.length,l.rows)}):void 0;return O.createElement(i,{fields:c.fields,events:c.results,timeFormat:r.timeFormat,getExpansionRow:x,rowNumbers:r.rowNumbers,wrapResults:r.wrapResults,pageNumber:D,selection:d,onTimeClicked:s,timeFieldAdditionalProps:u,onFieldValueClicked:f,onTagClicked:p,isField:m,footerFields:r.footerFields,fieldValueHighlightMap:r.fieldValueHighlightMap,allTagsMap:M,updateAllTags:S})})())}},35443(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(99420))},35488(e,t,n){var r=n(6656),a=n(35504),o=n(86620),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},35494(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(99420))},35504(e,t,n){var r=n(49152),a=n(86461),o=n(311),i=n(85100),l=n(48724);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):l(e)}},35506(e,t,n){"use strict";var r=n(21341);t.windowToggle=function(e,t){return r.windowToggle(e,t)(this)}},35606(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(234),o=n(740);t.catchError=function(e){return function(t){var n=new i(e),r=t.lift(n);return n.caught=r}};var i=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.selector,this.caught))},e}(),l=function(e){function t(t,n,r){e.call(this,t),this.selector=n,this.caught=r}return r(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(o.subscribeToResult(this,n))}},t}(a.OuterSubscriber)},35671(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(740),o=n(234);t.mergeMap=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof t&&(n=t,t=null),r.lift(new i(e,t,n))}};var i=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.resultSelector,this.concurrent))},e}();t.MergeMapOperator=i;var l=function(e){function t(t,n,r,a){void 0===a&&(a=Number.POSITIVE_INFINITY),e.call(this,t),this.project=n,this.resultSelector=r,this.concurrent=a,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber);t.MergeMapSubscriber=l},35735(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,o,i){var l=n(t),s=r[e][n(t)];return 2===l&&(s=s[a?0:1]),s.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(99420))},36069(e,t,n){var r=n(57239);t.unsafe=[{atBreak:!0,character:"-",after:"[:|-]"}],t.handlers={listItem:function(e,t,n){var a=r(e,t,n),o=e.children[0];return"boolean"==typeof e.checked&&o&&"paragraph"===o.type&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(t){return t+"["+(e.checked?"x":" ")+"] "})),a}}},36201(e,t,n){"use strict";var r=n(91638),a=n(12413);r.Observable.prototype.mergeScan=a.mergeScan},36301(e,t,n){var r=n(84380);e.exports=function(e,t){var n;return r(e,function(e,r,a){return!(n=t(e,r,a))}),!!n}},36446(e,t,n){"use strict";var r=n(18033),a=n(19469),o=n(95786),i=n(36786),l=n(70817),s=n(36860),u=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this,u=n._parent,d=n._parents,f=n._unsubscribe,p=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var m=-1,h=d?d.length:0;u;)u.remove(this),u=++m{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M10.888 13.0899C9.88136 13.2214 8.74049 13.0048 8.17593 12.4403C7.6424 11.9067 7.41967 10.8585 7.50775 9.89528C7.54196 9.52116 7.98323 9.40448 8.24888 9.67012L9.48097 10.9022C9.67623 11.0975 9.99281 11.0975 10.1881 10.9022L10.9024 10.1879C11.0976 9.99265 11.0976 9.67607 10.9024 9.48081L9.67053 8.24896C9.40486 7.98329 9.52159 7.54199 9.89574 7.50782C10.8588 7.41989 11.9067 7.64263 12.4401 8.17605C13.0048 8.74072 13.2213 9.88192 13.0897 10.8887C13.0681 11.0541 13.1174 11.2227 13.2354 11.3407L16.5354 14.6407C16.7306 14.8359 16.7306 15.1525 16.5354 15.3478L15.3473 16.5359C15.152 16.7311 14.8354 16.7311 14.6402 16.5359L11.3399 13.2356C11.222 13.1177 11.0534 13.0683 10.888 13.0899Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM10.8883 13.0899C9.8816 13.2213 8.74073 13.0048 8.17617 12.4402C7.64264 11.9067 7.41992 10.8585 7.508 9.89522C7.54221 9.5211 7.98348 9.40442 8.24912 9.67006L9.48121 10.9022C9.67647 11.0974 9.99306 11.0974 10.1883 10.9022L10.9026 10.1879C11.0979 9.99259 11.0979 9.67601 10.9026 9.48075L9.67077 8.2489C9.40511 7.98323 9.52183 7.54193 9.89598 7.50776C10.8591 7.41983 11.907 7.64257 12.4404 8.17599C13.0051 8.74066 13.2216 9.88186 13.09 10.8887C13.0683 11.054 13.1177 11.2227 13.2356 11.3406L16.5356 14.6406C16.7309 14.8359 16.7309 15.1525 16.5356 15.3477L15.3475 16.5358C15.1523 16.7311 14.8357 16.7311 14.6404 16.5358L11.3401 13.2355C11.2222 13.1176 11.0536 13.0683 10.8883 13.0899Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r1),t}),l(e,c(e),n),u&&(n=a(n,7,s));for(var d=t.length;d--;)o(n,t[d]);return n});e.exports=d},36753(e,t,n){var r=n(89862),a=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},36758(e){"use strict";e.exports=function(e){return e[1]}},36786(e,t,n){"use strict";var r,a=n(70817);function o(){try{return r.apply(this,arguments)}catch(e){return a.errorObject.e=e,a.errorObject}}t.tryCatch=function(e){return r=e,o}},36848(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},36860(e,t){"use strict";var n=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},r=function(e){function t(t){e.call(this),this.errors=t;var n=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return n(t,e),t}(Error);t.UnsubscriptionError=r},36923(e){e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},36999(e,t,n){"use strict";var r=n(36848);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},37049(e,t,n){var r=n(90276),a=n(48769);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},37155(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},37166(e,t){"use strict";t.isArrayLike=function(e){return e&&"number"==typeof e.length}},37265(e,t,n){"use strict";var r=n(67431);t.bindNodeCallback=r.BoundNodeCallbackObservable.create},37329(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearAllCaches=void 0;var r=n(2895),a=n(30281),o=n(17173);t.clearAllCaches=function(){(0,r.clearGetThemeCache)(),(0,a.clearCustomizedThemeCache)(),(0,o.clearVariablesCache)()}},37427(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(99420))},37477(e,t,n){"use strict";var r=n(91638),a=n(67233);r.Observable.forkJoin=a.forkJoin},37626(e,t,n){"use strict";n.r(t),n.d(t,{SortableContext:()=>g,arrayMove:()=>i,arraySwap:()=>l,defaultAnimateLayoutChanges:()=>_,defaultNewIndexGetter:()=>v,hasSortableData:()=>C,horizontalListSortingStrategy:()=>d,rectSortingStrategy:()=>f,rectSwappingStrategy:()=>p,sortableKeyboardCoordinates:()=>A,useSortable:()=>k,verticalListSortingStrategy:()=>h});var r=n(14041),a=n(81380),o=n(56550);function i(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function l(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function s(e,t){return e.reduce((e,n,r)=>{const a=t.get(n);return a&&(e[r]=a),e},Array(e.length))}function u(e){return null!==e&&e>=0}const c={scaleX:1,scaleY:1},d=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:a,overIndex:o,index:i}=e;const l=null!=(t=n[a])?t:r;if(!l)return null;const s=function(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];return r&&(a||o)?na&&i<=o?{x:-l.width-s,y:0,...c}:i=o?{x:l.width+s,y:0,...c}:{x:0,y:0,...c}},f=e=>{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const o=i(t,r,n),l=t[a],s=o[a];return s&&l?{x:s.left-l.left,y:s.top-l.top,scaleX:s.width/l.width,scaleY:s.height/l.height}:null},p=e=>{let t,n,{activeIndex:r,index:a,rects:o,overIndex:i}=e;return a===r&&(t=o[a],n=o[i]),a===i&&(t=o[a],n=o[r]),n&&t?{x:n.left-t.left,y:n.top-t.top,scaleX:n.width/t.width,scaleY:n.height/t.height}:null},m={scaleX:1,scaleY:1},h=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:o,overIndex:i}=e;const l=null!=(t=o[n])?t:r;if(!l)return null;if(a===n){const e=o[i];return e?{x:0,y:nn&&a<=i?{x:0,y:-l.height-s,...m}:a=i?{x:0,y:l.height+s,...m}:{x:0,y:0,...m}},y="Sortable",b=r.createContext({activeIndex:-1,containerId:y,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:f,disabled:{draggable:!1,droppable:!1}});function g(e){let{children:t,id:n,items:i,strategy:l=f,disabled:u=!1}=e;const{active:c,dragOverlay:d,droppableRects:p,over:m,measureDroppableContainers:h}=(0,a.useDndContext)(),g=(0,o.useUniqueId)(y,n),v=Boolean(null!==d.rect),_=(0,r.useMemo)(()=>i.map(e=>"object"==typeof e&&"id"in e?e.id:e),[i]),M=null!=c,w=c?_.indexOf(c.id):-1,S=m?_.indexOf(m.id):-1,x=(0,r.useRef)(_),k=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{k&&M&&h(_)},[k,_,M,h]),(0,r.useEffect)(()=>{x.current=_},[_]);const A=(0,r.useMemo)(()=>({activeIndex:w,containerId:g,disabled:E,disableTransforms:C,items:_,overIndex:S,useDragOverlay:v,sortedRects:s(_,p),strategy:l}),[w,g,E.draggable,E.droppable,C,_,S,p,v,l]);return r.createElement(b.Provider,{value:A},t)}const v=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return i(n,r,a).indexOf(t)},_=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:o,newIndex:i,previousItems:l,previousContainerId:s,transition:u}=e;return!(!u||!r||l!==o&&a===i||!n&&(i===a||t!==s))},M={duration:200,easing:"ease"},w="transform",S=o.CSS.Transition.toString({property:w,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function k(e){let{animateLayoutChanges:t=_,attributes:n,disabled:i,data:l,getNewIndex:s=v,id:c,strategy:d,resizeObserverConfig:f,transition:p=M}=e;const{items:m,containerId:h,activeIndex:y,disabled:g,disableTransforms:k,sortedRects:C,overIndex:E,useDragOverlay:A,strategy:L}=(0,r.useContext)(b),O=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(i,g),T=m.indexOf(c),D=(0,r.useMemo)(()=>({sortable:{containerId:h,index:T,items:m},...l}),[h,l,T,m]),z=(0,r.useMemo)(()=>m.slice(m.indexOf(c)),[m,c]),{rect:j,node:P,isOver:B,setNodeRef:Y}=(0,a.useDroppable)({id:c,data:D,disabled:O.droppable,resizeObserverConfig:{updateMeasurementsFor:z,...f}}),{active:N,activatorEvent:F,activeNodeRect:I,attributes:R,setNodeRef:W,listeners:H,isDragging:q,over:X,setActivatorNodeRef:V,transform:U}=(0,a.useDraggable)({id:c,data:D,attributes:{...x,...n},disabled:O.draggable}),$=(0,o.useCombinedRefs)(Y,W),G=Boolean(N),K=G&&!k&&u(y)&&u(E),J=!A&&q,Z=J&&K?U:null,Q=K?null!=Z?Z:(null!=d?d:L)({rects:C,activeNodeRect:I,activeIndex:y,overIndex:E,index:T}):null,ee=u(y)&&u(E)?s({id:c,items:m,activeIndex:y,overIndex:E}):T,te=null==N?void 0:N.id,ne=(0,r.useRef)({activeId:te,items:m,newIndex:ee,containerId:h}),re=m!==ne.current.items,ae=t({active:N,containerId:h,isDragging:q,isSorting:G,id:c,index:T,items:m,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:p,wasDragging:null!=ne.current.activeId}),oe=function(e){let{disabled:t,index:n,node:i,rect:l}=e;const[s,u]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,o.useIsomorphicLayoutEffect)(()=>{if(!t&&n!==c.current&&i.current){const e=l.current;if(e){const t=(0,a.getClientRect)(i.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==c.current&&(c.current=n)},[t,n,i,l]),(0,r.useEffect)(()=>{s&&u(null)},[s]),s}({disabled:!ae,index:T,node:P,rect:j});return(0,r.useEffect)(()=>{G&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),h!==ne.current.containerId&&(ne.current.containerId=h),m!==ne.current.items&&(ne.current.items=m)},[G,ee,h,m]),(0,r.useEffect)(()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout(()=>{ne.current.activeId=te},50);return()=>clearTimeout(e)},[te]),{active:N,activeIndex:y,attributes:R,data:D,rect:j,index:T,newIndex:ee,items:m,isOver:B,isSorting:G,isDragging:q,listeners:H,node:P,overIndex:E,over:X,setNodeRef:$,setActivatorNodeRef:V,setDroppableNodeRef:Y,setDraggableNodeRef:W,transform:null!=oe?oe:Q,transition:oe||re&&ne.current.newIndex===T?S:J&&!(0,o.isKeyboardEvent)(F)||!p?void 0:G||ae?o.CSS.Transition.toString({...p,property:w}):void 0}}function C(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const E=[a.KeyboardCode.Down,a.KeyboardCode.Right,a.KeyboardCode.Up,a.KeyboardCode.Left],A=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:i,droppableContainers:l,over:s,scrollableAncestors:u}}=t;if(E.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];l.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;const o=i.get(n.id);if(o)switch(e.code){case a.KeyboardCode.Down:r.topo.top&&t.push(n);break;case a.KeyboardCode.Left:r.left>o.left&&t.push(n);break;case a.KeyboardCode.Right:r.left1&&(p=f[1].id),null!=p){const e=l.get(n.id),t=l.get(p),s=t?i.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&s&&e&&t){const n=(0,a.getScrollableAncestors)(f).some((e,t)=>u[t]!==e),i=L(e,t),l=(d=t,!(!C(c=e)||!C(d))&&!!L(c,d)&&c.data.current.sortable.index(()=>{"use strict";var n={"./common/index.ts":(e,t,n)=>{n.r(t),n.d(t,{dataMatch:()=>o,optionsUpdateState:()=>a});var r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{t.exports=e},uplot:e=>{e.exports=t}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{a.r(o),a.d(o,{default:()=>l});var e=a("react"),t=a.n(e),n=a("uplot"),r=a.n(n),i=a("./common/index.ts");function l(n){var a=n.options,o=n.data,l=n.target,s=n.onDelete,u=n.onCreate,c=n.resetScales,d=void 0===c||c,f=n.className,p=(0,e.useRef)(null),m=(0,e.useRef)(null),h=(0,e.useRef)(a),y=(0,e.useRef)(l),b=(0,e.useRef)(o),g=(0,e.useRef)(u),v=(0,e.useRef)(s);(0,e.useEffect)(function(){g.current=u,v.current=s});var _=(0,e.useCallback)(function(e){var t;e&&(null===(t=v.current)||void 0===t||t.call(v,e),e.destroy(),p.current=null)},[]),M=(0,e.useCallback)(function(){var e,t=new(r())(h.current,b.current,y.current||m.current);p.current=t,null===(e=g.current)||void 0===e||e.call(g,t)},[]);return(0,e.useEffect)(function(){return M(),function(){_(p.current)}},[M,_]),(0,e.useEffect)(function(){if(h.current!==a){var e=(0,i.optionsUpdateState)(h.current,a);h.current=a,p.current&&"create"!==e?"update"===e&&p.current.setSize({width:a.width,height:a.height}):(_(p.current),M())}},[a,M,_]),(0,e.useEffect)(function(){b.current!==o&&(p.current?(0,i.dataMatch)(b.current,o)||(d?p.current.setData(o,!0):(p.current.setData(o,!1),p.current.redraw())):(b.current=o,M()),b.current=o)},[o,d,M]),(0,e.useEffect)(function(){return y.current!==l&&(y.current=l,M()),function(){return _(p.current)}},[l,M,_]),l?null:t().createElement("div",{ref:m,className:f})}})(),o.default})(),e.exports=r(n(14041),n(40458))},37670(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M11 6.9142L8.20711 9.70709C7.81658 10.0976 7.18342 10.0976 6.79289 9.70709C6.40237 9.31657 6.40237 8.6834 6.79289 8.29288L10.9393 4.14643C11.5251 3.56064 12.4749 3.56065 13.0607 4.14643L17.2071 8.29288C17.5976 8.6834 17.5976 9.31657 17.2071 9.70709C16.8166 10.0976 16.1834 10.0976 15.7929 9.70709L13 6.9142V17.0858L15.7929 14.2929C16.1834 13.9024 16.8166 13.9024 17.2071 14.2929C17.5976 14.6834 17.5976 15.3166 17.2071 15.7071L13.0607 19.8535C12.4749 20.4393 11.5251 20.4393 10.9393 19.8535L6.79289 15.7071C6.40237 15.3166 6.40237 14.6834 6.79289 14.2929C7.18342 13.9024 7.81658 13.9024 8.20711 14.2929L11 17.0858V6.9142Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{CHART:()=>l,STATS:()=>u,TIMECHART:()=>s,UNKNOWN:()=>c,checkForTrellisFieldMetaInfo:()=>h,extractAllAggregationKeysChart:()=>g,extractDataSourceAggregationKeysChart:()=>b,extractDataSourceAggregationKeysStats:()=>v,extractSplitByFieldsChartFields:()=>y,extractSplitByFieldsForStats:()=>_,extractSplitByFieldsForUnknown:()=>M,getAllPossibleSplitByFields:()=>w,getTrellisDataSplitterMode:()=>d,isChartCmdData:()=>p,isStatsCmdData:()=>m,isTimeChartCmdData:()=>f}),e.exports=(t=i,((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))o.call(e,i)||undefined===i||n(e,i,{get:()=>t[i],enumerable:!(l=r(t,i))||l.enumerable});return e})(n({},"__esModule",{value:!0}),t));var l="chart",s="timechart",u="stats",c="unknown",d=e=>e?f(e)?s:p(e)?l:m(e)?u:c:c,f=e=>e&&e.length>0&&e[0]&&"_time"===e[0].name&&"0"===e[0].groupby_rank,p=e=>{if(!e||!e.length)return!1;if(!h(e))return!1;if(e.length>1)return"_time"!==e[0].name&&"0"===e[0].groupby_rank&&!e[1].groupby_rank;for(let t=1;t{if(!e||!e.length)return!1;if(!h(e))return!1;const t=[];for(let n=0;n0&&t.length{if(!e||!e.length)return!1;for(let t=0;t{const t=e.filter(({name:e})=>"_time"!==e),n=[];return t.forEach(e=>{e.splitby_field&&n.push(e.splitby_field)}),f(e)?[...new Set(n)]:[e[0].name,...new Set(n)]},b=e=>{const t=e.filter(({name:e})=>"_time"!==e),n=[];return t.forEach(e=>{e.data_source&&n.push(e.data_source)}),[...new Set(n)]},g=e=>{let t=[];if(t=b(e),t&&t.length)return t;if((!t||!t.length)&&e.length>1)for(let n=1;n{const t=[];return e.forEach(e=>{void 0===e.groupby_rank&&t.push(e.name)}),t},_=e=>e?e.filter(e=>e.groupby_rank).map(e=>e.name):[],M=e=>e?e.filter(e=>!(null==e?void 0:e.name.startsWith("_"))).map(e=>e.name):[],w=e=>{const t={fields:[],aggregations:[]};if(!e||!e.length)return t;const n=d(e);if(n===s||n===l)return{fields:y(e),aggregations:g(e)};if(n===u)return{fields:[..._(e)],aggregations:[...v(e)]};if(n===c){const t=M(e);return 1===t.length?{fields:[],aggregations:[...t]}:{fields:[...t],aggregations:[...t]}}return t}},38183(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},38282(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(87844);var u=t.n(s),c={children:l().node,target:l().oneOfType([l().object,l().string]),eventType:l().any,listener:l().func,options:l().oneOfType([l().object,l().bool])};function d(e){var t=e.children,n=e.target,r=e.eventType,a=e.listener,i=e.options;return u()(n,r,a,i),o().createElement(o().Fragment,null,t||null)}d.propTypes=c;const f=d;e.exports=r})()},38315(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7858 11.9999L8.48564 5.69972C8.09512 5.3092 8.09512 4.67603 8.48564 4.28551C8.87617 3.89499 9.50933 3.89499 9.89986 4.28551L16.5536 10.9393C17.1394 11.525 17.1394 12.4748 16.5536 13.0606L9.9012 19.713C9.51067 20.1035 8.87751 20.1035 8.48698 19.713C8.09646 19.3224 8.09646 18.6893 8.48698 18.2988L14.7858 11.9999Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={17:(e,t,r)=>{r.d(t,{default:()=>A});const a=n(14041);var o=r.n(a);const i=n(46601);var l=r.n(i);const s=n(36728);var u=r.n(s);const c=n(45038);var d=r.n(c);const f=n(64852);var p=r.n(f);const m=n(33689);var h=r.n(m);const y=n(30762);var b=r.n(y);const g=n(88662),v=n(41454),_=n(66115),M=n(94241);var w=r.n(M);const S=function(e,t){return w()(e,function(e){return function(t,n){switch(n){case"style":case"className":return!0;default:return!(!e||!e.has(n))||n.startsWith("data-")||n.startsWith("aria-")}}}(t))};function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{a.r(o),a.d(o,{default:()=>e.default});var e=a(17)})(),e.exports=o})()},39067(e,t,n){e.exports=n(36999)()},39247(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(36446),o=n(36786),i=n(70817),l=n(234),s=n(740);t.bufferWhen=function(e){return function(t){return t.lift(new u(e))}};var u=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.closingSelector))},e}(),c=function(e){function t(t,n){e.call(this,t),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return r(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},t.prototype.notifyNext=function(e,t,n,r,a){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t=this.buffer;this.buffer&&this.destination.next(t),this.buffer=[];var n=o.tryCatch(this.closingSelector)();n===i.errorObject?this.error(i.errorObject.e):(e=new a.Subscription,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(s.subscribeToResult(this,n)),this.subscribing=!1)},t}(l.OuterSubscriber)},39335(e,t,n){!function(e){"use strict";var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(o(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(o(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(o(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(o(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(o(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(o(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(99420))},39380(e,t,n){"use strict";var r=n(91638),a=n(85944);r.Observable.prototype.shareReplay=a.shareReplay},39396(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=a[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=a[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var i=t.names=t.title={};for(o in r)i[r[o]]=o;for(var l in a)r[l]=a[l]},39682(e,t,n){var r=n(44260);e.exports=function(e){return r(this.__data__,e)>-1}},39748(e,t,n){"use strict";var r=n(91638),a=n(79272);r.Observable.prototype.skipWhile=a.skipWhile},39985(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741);t.count=function(e){return function(t){return t.lift(new o(e,t))}};var o=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new i(e,this.predicate,this.source))},e}(),i=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.source=r,this.count=0,this.index=0}return r(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(a.Subscriber)},40028(e){var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={};function l(e){return e&&"string"==typeof e&&e.trim().startsWith(">")||!1}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(i,{isDynamicOption:()=>l}),e.exports=(t=i,((e,t,i,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))o.call(e,i)||undefined===i||n(e,i,{get:()=>t[i],enumerable:!(l=r(t,i))||l.enumerable});return e})(n({},"__esModule",{value:!0}),t))},40130(e,t,n){var r=n(30967)(n(15751));e.exports=r},40221(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(64871);t.last=function(e,t,n){return function(r){return r.lift(new i(e,t,n,r))}};var i=function(){function e(e,t,n,r){this.predicate=e,this.resultSelector=t,this.defaultValue=n,this.source=r}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.predicate,this.resultSelector,this.defaultValue,this.source))},e}(),l=function(e){function t(t,n,r,a,o){e.call(this,t),this.predicate=n,this.resultSelector=r,this.defaultValue=a,this.source=o,this.hasValue=!1,this.index=0,void 0!==a&&(this.lastValue=a,this.hasValue=!0)}return r(t,e),t.prototype._next=function(e){var t=this.index++;if(this.predicate)this._tryPredicate(e,t);else{if(this.resultSelector)return void this._tryResultSelector(e,t);this.lastValue=e,this.hasValue=!0}},t.prototype._tryPredicate=function(e,t){var n;try{n=this.predicate(e,t,this.source)}catch(e){return void this.destination.error(e)}if(n){if(this.resultSelector)return void this._tryResultSelector(e,t);this.lastValue=e,this.hasValue=!0}},t.prototype._tryResultSelector=function(e,t){var n;try{n=this.resultSelector(e,t)}catch(e){return void this.destination.error(e)}this.lastValue=n,this.hasValue=!0},t.prototype._complete=function(){var e=this.destination;this.hasValue?(e.next(this.lastValue),e.complete()):e.error(new o.EmptyError)},t}(a.Subscriber)},40224(e){"use strict";e.exports=function(e){return-2===e||-1===e||32===e}},40248(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 9.21419L18.3199 15.534C18.7104 15.9246 19.3436 15.9246 19.7341 15.534C20.1246 15.1435 20.1246 14.5103 19.7341 14.1198L13.0607 7.44642C12.4749 6.86063 11.5251 6.86063 10.9394 7.44643L4.26603 14.1198C3.87551 14.5103 3.87552 15.1435 4.26604 15.534C4.65657 15.9246 5.28973 15.9245 5.68025 15.534L12 9.21419Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rar});const r="u-off",a="u-label",o="width",i="height",l="top",s="bottom",u="left",c="right",d="#000",f=d+"0",p="mousemove",m="mousedown",h="mouseup",y="mouseenter",b="mouseleave",g="dblclick",v="change",_="dppxchange",M="--",w="undefined"!=typeof window,S=w?document:null,x=w?window:null,k=w?navigator:null;let C,E;function A(e,t){if(null!=t){let n=e.classList;!n.contains(t)&&n.add(t)}}function L(e,t){let n=e.classList;n.contains(t)&&n.remove(t)}function O(e,t,n){e.style[t]=n+"px"}function T(e,t,n,r){let a=S.createElement(e);return null!=t&&A(a,t),null!=n&&n.insertBefore(a,r),a}function D(e,t){return T("div",e,t)}const z=new WeakMap;function j(e,t,n,a,o){let i="translate("+t+"px,"+n+"px)";i!=z.get(e)&&(e.style.transform=i,z.set(e,i),t<0||n<0||t>a||n>o?A(e,r):L(e,r))}const P=new WeakMap;function B(e,t,n){let r=t+n;r!=P.get(e)&&(P.set(e,r),e.style.background=t,e.style.borderColor=n)}const Y=new WeakMap;function N(e,t,n,r){let a=t+""+n;a!=Y.get(e)&&(Y.set(e,a),e.style.height=n+"px",e.style.width=t+"px",e.style.marginLeft=r?-t/2+"px":0,e.style.marginTop=r?-n/2+"px":0)}const F={passive:!0},I={...F,capture:!0};function R(e,t,n,r){t.addEventListener(e,n,r?I:F)}function W(e,t,n,r){t.removeEventListener(e,n,F)}function H(e,t,n,r){let a;n=n||0;let o=(r=r||t.length-1)<=2147483647;for(;r-n>1;)a=o?n+r>>1:se((n+r)/2),t[a]{let a=-1,o=-1;for(let o=n;o<=r;o++)if(e(t[o])){a=o;break}for(let a=r;a>=n;a--)if(e(t[a])){o=a;break}return[a,o]}}w&&function e(){let t=devicePixelRatio;C!=t&&(C=t,E&&W(v,E,e),E=matchMedia(`(min-resolution: ${C-.001}dppx) and (max-resolution: ${C+.001}dppx)`),R(v,E,e),x.dispatchEvent(new CustomEvent(_)))}();const X=e=>null!=e,V=e=>null!=e&&e>0,U=q(X),$=q(V);function G(e,t,n,r){let a=me(e),o=me(t);e==t&&(-1==a?(e*=n,t/=n):(e/=n,t*=n));let i=10==n?he:ye,l=1==o?ce:se,s=(1==a?se:ce)(i(le(e))),u=l(i(le(t))),c=pe(n,s),d=pe(n,u);return 10==n&&(s<0&&(c=ze(c,-s)),u<0&&(d=ze(d,-u))),r||2==n?(e=c*a,t=d*o):(e=De(e,c),t=Te(t,d)),[e,t]}function K(e,t,n,r){let a=G(e,t,n,r);return 0==e&&(a[0]=0),0==t&&(a[1]=0),a}const J={mode:3,pad:.1},Z={pad:0,soft:null,mode:0},Q={min:Z,max:Z};function ee(e,t,n,r){return He(n)?ne(e,t,n):(Z.pad=n,Z.soft=r?0:null,Z.mode=r?3:0,ne(e,t,Q))}function te(e,t){return null==e?t:e}function ne(e,t,n){let r=n.min,a=n.max,o=te(r.pad,0),i=te(a.pad,0),l=te(r.hard,-ge),s=te(a.hard,ge),u=te(r.soft,ge),c=te(a.soft,-ge),d=te(r.mode,0),f=te(a.mode,0),p=t-e,m=he(p),h=fe(le(e),le(t)),y=he(h),b=le(y-m);(p<1e-24||b>10)&&(p=0,0!=e&&0!=t||(p=1e-24,2==d&&u!=ge&&(o=0),2==f&&c!=-ge&&(i=0)));let g=p||h||1e3,v=he(g),_=pe(10,se(v)),M=ze(De(e-g*(0==p?0==e?.1:1:o),_/10),24),w=e>=u&&(1==d||3==d&&M<=u||2==d&&M>=u)?u:ge,S=fe(l,M=w?w:de(w,M)),x=ze(Te(t+g*(0==p?0==t?.1:1:i),_/10),24),k=t<=c&&(1==f||3==f&&x>=c||2==f&&x<=c)?c:-ge,C=de(s,x>k&&t<=k?k:fe(k,x));return S==C&&0==S&&(C=100),[S,C]}const re=new Intl.NumberFormat(w?k.language:"en-US"),ae=e=>re.format(e),oe=Math,ie=oe.PI,le=oe.abs,se=oe.floor,ue=oe.round,ce=oe.ceil,de=oe.min,fe=oe.max,pe=oe.pow,me=oe.sign,he=oe.log10,ye=oe.log2,be=(e,t=1)=>oe.asinh(e/t),ge=1/0;function ve(e){return 1+(0|he((e^e>>31)-(e>>31)))}function _e(e,t,n){return de(fe(e,t),n)}function Me(e){return"function"==typeof e}function we(e){return Me(e)?e:()=>e}const Se=e=>e,xe=(e,t)=>t,ke=e=>null,Ce=e=>!0,Ee=(e,t)=>e==t,Ae=/\.\d*?(?=9{6,}|0{6,})/gm,Le=e=>{if(Re(e)||je.has(e))return e;const t=`${e}`,n=t.match(Ae);if(null==n)return e;let r=n[0].length-1;if(-1!=t.indexOf("e-")){let[e,n]=t.split("e");return+`${Le(e)}e${n}`}return ze(e,r)};function Oe(e,t){return Le(ze(Le(e/t))*t)}function Te(e,t){return Le(ce(Le(e/t))*t)}function De(e,t){return Le(se(Le(e/t))*t)}function ze(e,t=0){if(Re(e))return e;let n=10**t,r=e*n*(1+Number.EPSILON);return ue(r)/n}const je=new Map;function Pe(e){return((""+e).split(".")[1]||"").length}function Be(e,t,n,r){let a=[],o=r.map(Pe);for(let i=t;i=0?0:t)+(i>=o[l]?0:o[l]),c=10==e?s:ze(s,u);a.push(c),je.set(c,u)}}return a}const Ye={},Ne=[],Fe=[null,null],Ie=Array.isArray,Re=Number.isInteger;function We(e){return"string"==typeof e}function He(e){let t=!1;if(null!=e){let n=e.constructor;t=null==n||n==Object}return t}function qe(e){return null!=e&&"object"==typeof e}const Xe=Object.getPrototypeOf(Uint8Array),Ve="__proto__";function Ue(e,t=He){let n;if(Ie(e)){let r=e.find(e=>null!=e);if(Ie(r)||t(r)){n=Array(e.length);for(let r=0;ro){for(r=i-1;r>=0&&null==e[r];)e[r--]=null;for(r=i+1;rPromise.resolve().then(e):queueMicrotask,Je=["January","February","March","April","May","June","July","August","September","October","November","December"],Ze=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function Qe(e){return e.slice(0,3)}const et=Ze.map(Qe),tt=Je.map(Qe),nt={MMMM:Je,MMM:tt,WWWW:Ze,WWW:et};function rt(e){return(e<10?"0":"")+e}const at={YYYY:e=>e.getFullYear(),YY:e=>(e.getFullYear()+"").slice(2),MMMM:(e,t)=>t.MMMM[e.getMonth()],MMM:(e,t)=>t.MMM[e.getMonth()],MM:e=>rt(e.getMonth()+1),M:e=>e.getMonth()+1,DD:e=>rt(e.getDate()),D:e=>e.getDate(),WWWW:(e,t)=>t.WWWW[e.getDay()],WWW:(e,t)=>t.WWW[e.getDay()],HH:e=>rt(e.getHours()),H:e=>e.getHours(),h:e=>{let t=e.getHours();return 0==t?12:t>12?t-12:t},AA:e=>e.getHours()>=12?"PM":"AM",aa:e=>e.getHours()>=12?"pm":"am",a:e=>e.getHours()>=12?"p":"a",mm:e=>rt(e.getMinutes()),m:e=>e.getMinutes(),ss:e=>rt(e.getSeconds()),s:e=>e.getSeconds(),fff:e=>{return((t=e.getMilliseconds())<10?"00":t<100?"0":"")+t;var t}};function ot(e,t){t=t||nt;let n,r=[],a=/\{([a-z]+)\}|[^{]+/gi;for(;n=a.exec(e);)r.push("{"==n[0][0]?at[n[1]]:n[0]);return e=>{let n="";for(let a=0;ae%1==0,st=[1,2,2.5,5],ut=Be(10,-32,0,st),ct=Be(10,0,32,st),dt=ct.filter(lt),ft=ut.concat(ct),pt="{YYYY}",mt="\n"+pt,ht="{M}/{D}",yt="\n"+ht,bt=yt+"/{YY}",gt="{aa}",vt="{h}:{mm}"+gt,_t="\n"+vt,Mt=":{ss}",wt=null;function St(e){let t=1e3*e,n=60*t,r=60*n,a=24*r,o=30*a,i=365*a;return[(1==e?Be(10,0,3,st).filter(lt):Be(10,-3,0,st)).concat([t,5*t,10*t,15*t,30*t,n,5*n,10*n,15*n,30*n,r,2*r,3*r,4*r,6*r,8*r,12*r,a,2*a,3*a,4*a,5*a,6*a,7*a,8*a,9*a,10*a,15*a,o,2*o,3*o,4*o,6*o,i,2*i,5*i,10*i,25*i,50*i,100*i]),[[i,pt,wt,wt,wt,wt,wt,wt,1],[28*a,"{MMM}",mt,wt,wt,wt,wt,wt,1],[a,ht,mt,wt,wt,wt,wt,wt,1],[r,"{h}"+gt,bt,wt,yt,wt,wt,wt,1],[n,vt,bt,wt,yt,wt,wt,wt,1],[t,Mt,bt+" "+vt,wt,yt+" "+vt,wt,_t,wt,1],[e,Mt+".{fff}",bt+" "+vt,wt,yt+" "+vt,wt,_t,wt,1]],function(t){return(l,s,u,c,d,f)=>{let p=[],m=d>=i,h=d>=o&&d=a?a:d,i=v+(se(u)-se(b))+Te(b-v,o);p.push(i);let m=t(i),h=m.getHours()+m.getMinutes()/n+m.getSeconds()/r,y=d/r,g=f/l.axes[s]._space;for(;i=ze(i+d,1==e?0:3),!(i>c);)if(y>1){let e=se(ze(h+y,6))%24,n=t(i).getHours()-e;n>1&&(n=-1),i-=n*r,h=(h+y)%24,ze((i-p[p.length-1])/d,3)*g>=.7&&p.push(i)}else p.push(i)}return p}}]}const[xt,kt,Ct]=St(1),[Et,At,Lt]=St(.001);function Ot(e,t){return e.map(e=>e.map((n,r)=>0==r||8==r||null==n?n:t(1==r||0==e[8]?n:e[1]+n)))}function Tt(e,t){return(n,r,a,o,i)=>{let l,s,u,c,d,f,p=t.find(e=>i>=e[0])||t[t.length-1];return r.map(t=>{let n=e(t),r=n.getFullYear(),a=n.getMonth(),o=n.getDate(),i=n.getHours(),m=n.getMinutes(),h=n.getSeconds(),y=r!=l&&p[2]||a!=s&&p[3]||o!=u&&p[4]||i!=c&&p[5]||m!=d&&p[6]||h!=f&&p[7]||p[1];return l=r,s=a,u=o,c=i,d=m,f=h,y(n)})}}function Dt(e,t,n){return new Date(e,t,n)}function zt(e,t){return t(e)}function jt(e,t){return(n,r,a,o)=>null==o?M:t(e(r))}Be(2,-53,53,[1]);const Pt={show:!0,live:!0,isolate:!1,mount:()=>{},markers:{show:!0,width:2,stroke:function(e,t){let n=e.series[t];return n.width?n.stroke(e,t):n.points.width?n.points.stroke(e,t):null},fill:function(e,t){return e.series[t].fill(e,t)},dash:"solid"},idx:null,idxs:null,values:[]},Bt=[0,0];function Yt(e,t,n,r=!0){return e=>{0==e.button&&(!r||e.target==t)&&n(e)}}function Nt(e,t,n,r=!0){return e=>{(!r||e.target==t)&&n(e)}}const Ft={show:!0,x:!0,y:!0,lock:!1,move:function(e,t,n){return Bt[0]=t,Bt[1]=n,Bt},points:{one:!1,show:function(e,t){let n=e.cursor.points,r=D(),a=n.size(e,t);O(r,o,a),O(r,i,a);let l=a/-2;O(r,"marginLeft",l),O(r,"marginTop",l);let s=n.width(e,t,a);return s&&O(r,"borderWidth",s),r},size:function(e,t){return e.series[t].points.size},width:0,stroke:function(e,t){let n=e.series[t].points;return n._stroke||n._fill},fill:function(e,t){let n=e.series[t].points;return n._fill||n._stroke}},bind:{mousedown:Yt,mouseup:Yt,click:Yt,dblclick:Yt,mousemove:Nt,mouseleave:Nt,mouseenter:Nt},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,click:(e,t)=>{t.stopPropagation(),t.stopImmediatePropagation()},_x:!1,_y:!1},focus:{dist:(e,t,n,r,a)=>r-a,prox:-1,bias:0},hover:{skip:[void 0],prox:null,bias:0},left:-10,top:-10,idx:null,dataIdx:null,idxs:null,event:null},It={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},Rt=$e({},It,{filter:xe}),Wt=$e({},Rt,{size:10}),Ht=$e({},It,{show:!1}),qt='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',Xt="bold "+qt,Vt={show:!0,scale:"x",stroke:d,space:50,gap:5,alignTo:1,size:50,labelGap:0,labelSize:30,labelFont:Xt,side:2,grid:Rt,ticks:Wt,border:Ht,font:qt,lineGap:1.5,rotate:0},Ut={show:!0,scale:"x",auto:!1,sorted:1,min:ge,max:-ge,idxs:[]};function $t(e,t,n,r,a){return t.map(e=>null==e?"":ae(e))}function Gt(e,t,n,r,a,o,i){let l=[],s=je.get(a)||0;for(let e=n=i?n:ze(Te(n,a),s);e<=r;e=ze(e+a,s))l.push(Object.is(e,-0)?0:e);return l}function Kt(e,t,n,r,a,o,i){const l=[],s=e.scales[e.axes[t].scale].log,u=se((10==s?he:ye)(n));a=pe(s,u),10==s&&(a=ft[H(a,ft)]);let c=n,d=a*s;10==s&&(d=ft[H(d,ft)]);do{l.push(c),c+=a,10!=s||je.has(c)||(c=ze(c,je.get(a))),c>=d&&(d=(a=c)*s,10==s&&(d=ft[H(d,ft)]))}while(c<=r);return l}function Jt(e,t,n,r,a,o,i){let l=e.scales[e.axes[t].scale].asinh,s=r>l?Kt(e,t,fe(l,n),r,a):[l],u=r>=0&&n<=0?[0]:[];return(n<-l?Kt(e,t,fe(l,-r),-n,a):[l]).reverse().map(e=>-e).concat(u,s)}const Zt=/./,Qt=/[12357]/,en=/[125]/,tn=/1/,nn=(e,t,n,r)=>e.map((e,a)=>4==t&&0==e||a%r==0&&n.test(e.toExponential()[e<0?1:0])?e:null);function rn(e,t,n,r,a){let o=e.axes[n],i=o.scale,l=e.scales[i],s=e.valToPos,u=o._space,c=s(10,i),d=s(9,i)-c>=u?Zt:s(7,i)-c>=u?Qt:s(5,i)-c>=u?en:tn;if(d==tn){let e=le(s(1,i)-c);if(ea,cn={show:!0,auto:!0,sorted:0,gaps:un,alpha:1,facets:[$e({},sn,{scale:"x"}),$e({},sn,{scale:"y"})]},dn={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:un,alpha:1,points:{show:function(e,t){let{scale:n,idxs:r}=e.series[0],a=e._data[0],o=e.valToPos(a[r[0]],n,!0),i=e.valToPos(a[r[1]],n,!0),l=le(i-o)/(e.series[t].points.space*C);return r[1]-r[0]<=l},filter:null},values:null,min:ge,max:-ge,idxs:[],path:null,clip:null};function fn(e,t,n,r,a){return n/10}const pn={time:!0,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},mn=$e({},pn,{time:!1,ori:1}),hn={};function yn(e,t){let n=hn[e];return n||(n={key:e,plots:[],sub(e){n.plots.push(e)},unsub(e){n.plots=n.plots.filter(t=>t!=e)},pub(e,t,r,a,o,i,l){for(let s=0;s{let h=e.pxRound;const y=l.dir*(0==l.ori?1:-1),b=0==l.ori?En:An;let g,v;1==y?(g=n,v=r):(g=r,v=n);let _=h(u(t[g],l,p,d)),M=h(c(i[g],s,m,f)),w=h(u(t[v],l,p,d)),S=h(c(1==o?s.max:s.min,s,m,f)),x=new Path2D(a);return b(x,w,S),b(x,_,S),b(x,_,M),x})}function Mn(e,t,n,r,a,o){let i=null;if(e.length>0){i=new Path2D;const l=0==t?Ln:On;let s=n;for(let t=0;tn[0]){let e=n[0]-s;e>0&&l(i,s,r,e,r+o),s=n[1]}}let u=n+a-s,c=10;u>0&&l(i,s,r-c/2,u,r+o+c)}return i}function wn(e,t,n,r,a,o,i){let l=[],s=e.length;for(let u=1==a?n:r;u>=n&&u<=r;u+=a)if(null===t[u]){let c=u,d=u;if(1==a)for(;++u<=r&&null===t[u];)d=u;else for(;--u>=n&&null===t[u];)d=u;let f=o(e[c]),p=d==c?f:o(e[d]),m=c-a;f=i<=0&&m>=0&&m=0&&h>=0&&h=f&&l.push([f,p])}return l}function Sn(e){return 0==e?Se:1==e?ue:t=>Oe(t,e)}function xn(e){let t=0==e?kn:Cn,n=0==e?(e,t,n,r,a,o)=>{e.arcTo(t,n,r,a,o)}:(e,t,n,r,a,o)=>{e.arcTo(n,t,a,r,o)},r=0==e?(e,t,n,r,a)=>{e.rect(t,n,r,a)}:(e,t,n,r,a)=>{e.rect(n,t,a,r)};return(e,a,o,i,l,s=0,u=0)=>{0==s&&0==u?r(e,a,o,i,l):(s=de(s,i/2,l/2),u=de(u,i/2,l/2),t(e,a+s,o),n(e,a+i,o,a+i,o+l,s),n(e,a+i,o+l,a,o+l,u),n(e,a,o+l,a,o,u),n(e,a,o,a+i,o,s),e.closePath())}}const kn=(e,t,n)=>{e.moveTo(t,n)},Cn=(e,t,n)=>{e.moveTo(n,t)},En=(e,t,n)=>{e.lineTo(t,n)},An=(e,t,n)=>{e.lineTo(n,t)},Ln=xn(0),On=xn(1),Tn=(e,t,n,r,a,o)=>{e.arc(t,n,r,a,o)},Dn=(e,t,n,r,a,o)=>{e.arc(n,t,r,a,o)},zn=(e,t,n,r,a,o,i)=>{e.bezierCurveTo(t,n,r,a,o,i)},jn=(e,t,n,r,a,o,i)=>{e.bezierCurveTo(n,t,a,r,i,o)};function Pn(e){return(e,t,n,r,a)=>bn(e,t,(t,o,i,l,s,u,c,d,f,p,m)=>{let h,y,{pxRound:b,points:g}=t;0==l.ori?(h=kn,y=Tn):(h=Cn,y=Dn);const v=ze(g.width*C,3);let _=(g.size-g.width)/2*C,M=ze(2*_,3),w=new Path2D,S=new Path2D,{left:x,top:k,width:E,height:A}=e.bbox;Ln(S,x-M,k-M,E+2*M,A+2*M);const L=e=>{if(null!=i[e]){let t=b(u(o[e],l,p,d)),n=b(c(i[e],s,m,f));h(w,t+_,n),y(w,t,n,_,0,2*ie)}};if(a)a.forEach(L);else for(let e=n;e<=r;e++)L(e);return{stroke:v>0?w:null,fill:w,clip:S,flags:3}})}function Bn(e){return(t,n,r,a,o,i)=>{r!=a&&(o!=r&&i!=r&&e(t,n,r),o!=a&&i!=a&&e(t,n,a),e(t,n,i))}}const Yn=Bn(En),Nn=Bn(An);function Fn(e){const t=te(e?.alignGaps,0);return(e,n,r,a)=>bn(e,n,(o,i,l,s,u,c,d,f,p,m,h)=>{[r,a]=U(l,r,a);let y,b,g=o.pxRound,v=e=>g(c(e,s,m,f)),_=e=>g(d(e,u,h,p));0==s.ori?(y=En,b=Yn):(y=An,b=Nn);const M=s.dir*(0==s.ori?1:-1),w={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:1},S=w.stroke;let x=!1;if(a-r>=4*m){let t,n,o,u=t=>e.posToVal(t,s.key,!0),c=null,d=null,f=v(i[1==M?r:a]),p=v(i[r]),m=v(i[a]),h=u(1==M?p+1:m-1);for(let e=1==M?r:a;e>=r&&e<=a;e+=M){let r=i[e],a=(1==M?rh)?f:v(r),o=l[e];a==f?null!=o?(n=o,null==c?(y(S,a,_(n)),t=c=d=n):nd&&(d=n)):null===o&&(x=!0):(null!=c&&b(S,f,_(c),_(d),_(t),_(n)),null!=o?(n=o,y(S,a,_(n)),c=d=t=n):(c=d=null,null===o&&(x=!0)),f=a,h=u(f+M))}null!=c&&c!=d&&o!=f&&b(S,f,_(c),_(d),_(t),_(n))}else for(let e=1==M?r:a;e>=r&&e<=a;e+=M){let t=l[e];null===t?x=!0:null!=t&&y(S,v(i[e]),_(t))}let[k,C]=gn(e,n);if(null!=o.fill||0!=k){let t=w.fill=new Path2D(S),l=_(o.fillTo(e,n,o.min,o.max,k)),s=v(i[r]),u=v(i[a]);-1==M&&([u,s]=[s,u]),y(t,u,l),y(t,s,l)}if(!o.spanGaps){let u=[];x&&u.push(...wn(i,l,r,a,M,v,t)),w.gaps=u=o.gaps(e,n,r,a,u),w.clip=Mn(u,s.ori,f,p,m,h)}return 0!=C&&(w.band=2==C?[_n(e,n,r,a,S,-1),_n(e,n,r,a,S,1)]:_n(e,n,r,a,S,C)),w})}function In(e,t,n,r,a,o,i=ge){if(e.length>1){let l=null;for(let s=0,u=1/0;s0!=r[e]>0?n[e]=0:(n[e]=3*(s[e-1]+s[e])/((2*s[e]+s[e-1])/r[e-1]+(s[e]+2*s[e-1])/r[e]),isFinite(n[e])||(n[e]=0));n[i-1]=r[i-2];for(let r=0;r{ar.pxRatio=C}));const qn=Fn(),Xn=Pn();function Vn(e,t,n,r){return(r?[e[0],e[1]].concat(e.slice(2)):[e[0]].concat(e.slice(1))).map((e,r)=>Un(e,r,t,n))}function Un(e,t,n,r){return $e({},0==t?n:r,e)}function $n(e,t,n){return null==t?Fe:[t,n]}const Gn=$n;function Kn(e,t,n){return null==t?Fe:ee(t,n,.1,!0)}function Jn(e,t,n,r){return null==t?Fe:G(t,n,e.scales[r].log,!1)}const Zn=Jn;function Qn(e,t,n,r){return null==t?Fe:K(t,n,e.scales[r].log,!1)}const er=Qn;function tr(e,t,n,r,a){let o=fe(ve(e),ve(t)),i=t-e,l=H(a/r*i,n);do{let e=n[l],t=r*e/i;if(t>=a&&o+(e<5?je.get(e):0)<=17)return[e,t]}while(++l(t=ue((n=+r)*C))+"px"),t,n]}function rr(e){e.show&&[e.font,e.labelFont].forEach(e=>{let t=ze(e[2]*C,1);e[0]=e[0].replace(/[0-9.]+px/,t+"px"),e[1]=t})}function ar(e,t,n){const d={mode:te(e.mode,1)},v=d.mode;function w(e,t,n,r){let a=t.valToPct(e);return r+n*(-1==t.dir?1-a:a)}function k(e,t,n,r){let a=t.valToPct(e);return r+n*(-1==t.dir?a:1-a)}function E(e,t,n,r){return 0==t.ori?w(e,t,n,r):k(e,t,n,r)}d.valToPosH=w,d.valToPosV=k;let z=!1;d.status=0;const P=d.root=D("uplot");null!=e.id&&(P.id=e.id),A(P,e.class),e.title&&(D("u-title",P).textContent=e.title);const Y=T("canvas"),F=d.ctx=Y.getContext("2d"),I=D("u-wrap",P);R("click",I,e=>{e.target===Z&&(Hr!=Fr||qr!=Ir)&&Qr.click(d,e)},!0);const q=d.under=D("u-under",I);I.appendChild(Y);const Z=d.over=D("u-over",I),Q=+te((e=Ue(e)).pxAlign,1),ne=Sn(Q);(e.plugins||[]).forEach(t=>{t.opts&&(e=t.opts(d,e)||e)});const re=e.ms||.001,ae=d.series=1==v?Vn(e.series||[],Ut,dn,!1):(se=e.series||[null],me=cn,se.map((e,t)=>0==t?{}:$e({},me,e)));var se,me;const ye=d.axes=Vn(e.axes||[],Vt,ln,!0),ve=d.scales={},Se=d.bands=e.bands||[];Se.forEach(e=>{e.fill=we(e.fill||null),e.dir=te(e.dir,-1)});const Ae=2==v?ae[1].facets[0].scale:ae[0].scale,Le={axes:function(){for(let e=0;ehr[e]):g,_=2==h.distr?hr[g[1]]-hr[g[0]]:p,M=t.ticks,w=t.border,S=M.show?M.size:0,x=ue(S*C),k=ue((2==t.alignTo?t._size-S-t.gap:t.gap)*C),A=t._rotate*-ie/180,L=ne(t._pos*C),O=L+(x+k)*f;r=0==o?O:0,n=1==o?O:0,_r(t.font[0],i,1==t.align?u:2==t.align?c:A>0?u:A<0?c:0==o?"center":3==a?c:u,A||1==o?"middle":2==a?l:s);let T=t.font[1]*t.lineGap,D=g.map(e=>ne(E(e,h,y,b))),z=t._values;for(let e=0;e0){let e=ae.some(e=>e._focus)&&mr!=An.alpha;e&&(F.globalAlpha=mr=An.alpha),ae.forEach((e,n)=>{if(n>0&&e.show&&(Sr(n,!1),Sr(n,!0),null==e._paths)){let r=mr;mr!=e.alpha&&(F.globalAlpha=mr=e.alpha);let a=2==v?[0,t[n][0].length-1]:function(e){let t=_e(Rn-1,0,In-1),n=_e(Hn+1,0,In-1);for(;null==e[t]&&t>0;)t--;for(;null==e[n]&&n{if(t>0&&e.show){let n=mr;mr!=e.alpha&&(F.globalAlpha=mr=e.alpha),null!=e._paths&&xr(t,!1);{let n=null!=e._paths?e._paths.gaps:null,r=e.points.show(d,t,Rn,Hn,n),a=e.points.filter(d,t,r,n);(r||a)&&(e.points._paths=e.points.paths(d,t,Rn,Hn,a),xr(t,!0))}mr!=n&&(F.globalAlpha=mr=n),Pa("drawSeries",t)}}),e&&(F.globalAlpha=mr=1)}}},Te=(e.drawOrder||["axes","series"]).map(e=>Le[e]);function De(e){const t=3==e.distr?t=>he(t>0?t:e.clamp(d,t,e.min,e.max,e.key)):4==e.distr?t=>be(t,e.asinh):100==e.distr?t=>e.fwd(t):e=>e;return n=>{let r=t(n),{_min:a,_max:o}=e;return(r-a)/(o-a)}}function Be(t){let n=ve[t];if(null==n){let r=(e.scales||Ye)[t]||Ye;if(null!=r.from){Be(r.from);let e=$e({},ve[r.from],r,{key:t});e.valToPct=De(e),ve[t]=e}else{n=ve[t]=$e({},t==Ae?pn:mn,r),n.key=t;let e=n.time,a=n.range,o=Ie(a);if((t!=Ae||2==v&&!e)&&(!o||null!=a[0]&&null!=a[1]||(a={min:null==a[0]?J:{mode:1,hard:a[0],soft:a[0]},max:null==a[1]?J:{mode:1,hard:a[1],soft:a[1]}},o=!1),!o&&He(a))){let e=a;a=(t,n,r)=>null==n?Fe:ee(n,r,e)}n.range=we(a||(e?Gn:t==Ae?3==n.distr?Zn:4==n.distr?er:$n:3==n.distr?Jn:4==n.distr?Qn:Kn)),n.auto=we(!o&&n.auto),n.clamp=we(n.clamp||fn),n._min=n._max=null,n.valToPct=De(n)}}}Be("x"),Be("y"),1==v&&ae.forEach(e=>{Be(e.scale)}),ye.forEach(e=>{Be(e.scale)});for(let t in e.scales)Be(t);const Re=ve[Ae],Xe=Re.distr;let Ve,Ge;0==Re.ori?(A(P,"u-hz"),Ve=w,Ge=k):(A(P,"u-vt"),Ve=k,Ge=w);const Je={};for(let e in ve){let t=ve[e];null==t.min&&null==t.max||(Je[e]={min:t.min,max:t.max},t.min=t.max=null)}const Ze=e.tzDate||(e=>new Date(ue(e/re))),Qe=e.fmtDate||ot,et=1==re?Ct(Ze):Lt(Ze),tt=Tt(Ze,Ot(1==re?kt:At,Qe)),nt=jt(Ze,zt("{YYYY}-{MM}-{DD} {h}:{mm}{aa}",Qe)),rt=[],at=d.legend=$e({},Pt,e.legend),it=d.cursor=$e({},Ft,{drag:{y:2==v}},e.cursor),lt=at.show,st=it.show,ut=at.markers;let ct,pt,mt;at.idxs=rt,ut.width=we(ut.width),ut.dash=we(ut.dash),ut.stroke=we(ut.stroke),ut.fill=we(ut.fill);let ht,yt=[],bt=[],gt=!1,vt={};if(at.live){const e=ae[1]?ae[1].values:null;gt=null!=e,ht=gt?e(d,1,0):{_:0};for(let e in ht)vt[e]=M}if(lt)if(ct=T("table","u-legend",P),mt=T("tbody",null,ct),at.mount(d,ct),gt){pt=T("thead",null,ct,mt);let e=T("tr",null,pt);for(var _t in T("th",null,e),ht)T("th",a,e).textContent=_t}else A(ct,"u-inline"),at.live&&A(ct,"u-live");const Mt={show:!0},wt={show:!1},St=new Map;function Dt(e,t,n,r=!0){const a=St.get(t)||{},o=it.bind[e](d,t,n,r);o&&(R(e,t,a[e]=o),St.set(t,a))}function Bt(e,t,n){const r=St.get(t)||{};for(let n in r)null!=e&&n!=e||(W(n,t,r[n]),delete r[n]);null==e&&St.delete(t)}let Yt=0,Nt=0,It=0,Rt=0,Wt=0,Ht=0,qt=Wt,Xt=Ht,Zt=It,Qt=Rt,en=0,tn=0,nn=0,sn=0;d.bbox={};let un=!1,hn=!1,bn=!1,gn=!1,_n=!1,Mn=!1;function wn(e,t,n){(n||e!=d.width||t!=d.height)&&xn(e,t),Dr(!1),bn=!0,hn=!0,Gr()}function xn(e,t){d.width=Yt=It=e,d.height=Nt=Rt=t,Wt=Ht=0,function(){let e=!1,t=!1,n=!1,r=!1;ye.forEach((a,o)=>{if(a.show&&a._show){let{side:o,_size:i}=a,l=o%2,s=i+(null!=a.label?a.labelSize:0);s>0&&(l?(It-=s,3==o?(Wt+=s,r=!0):n=!0):(Rt-=s,0==o?(Ht+=s,e=!0):t=!0))}}),Bn[0]=e,Bn[1]=n,Bn[2]=t,Bn[3]=r,It-=Fn[1]+Fn[3],Wt+=Fn[3],Rt-=Fn[2]+Fn[0],Ht+=Fn[0]}(),function(){let e=Wt+It,t=Ht+Rt,n=Wt,r=Ht;function a(a,o){switch(a){case 1:return e+=o,e-o;case 2:return t+=o,t-o;case 3:return n-=o,n+o;case 0:return r-=o,r+o}}ye.forEach((e,t)=>{if(e.show&&e._show){let t=e.side;e._pos=a(t,e._size),null!=e.label&&(e._lpos=a(t,e.labelSize))}})}();let n=d.bbox;en=n.left=Oe(Wt*C,.5),tn=n.top=Oe(Ht*C,.5),nn=n.width=Oe(It*C,.5),sn=n.height=Oe(Rt*C,.5)}const kn=3;if(d.setSize=function({width:e,height:t}){wn(e,t)},null==it.dataIdx){let e=it.hover,n=e.skip=new Set(e.skip??[]);n.add(void 0);let r=e.prox=we(e.prox),a=e.bias??=0;it.dataIdx=(e,o,i,l)=>{if(0==o)return i;let s=i,u=r(e,o,i,l)??ge,c=u>=0&&u0;)n.has(m[e])||(t=e);if(0==a||1==a)for(e=i;null==r&&e++u&&(s=null);return s}}const Cn=e=>{it.event=e};it.idxs=rt,it._lock=!1;let En=it.points;En.show=we(En.show),En.size=we(En.size),En.stroke=we(En.stroke),En.width=we(En.width),En.fill=we(En.fill);const An=d.focus=$e({},e.focus||{alpha:.3},it.focus),Ln=An.prox>=0,On=Ln&&En.one;let Tn=[],Dn=[],zn=[];function jn(e,t){let n=En.show(d,t);if(n instanceof HTMLElement)return A(n,"u-cursor-pt"),A(n,e.class),j(n,-10,-10,It,Rt),Z.insertBefore(n,Tn[t]),n}function Pn(e,t){if(1==v||t>0){let t=1==v&&ve[e.scale].time,n=e.value;e.value=t?We(n)?jt(Ze,zt(n,Qe)):n||nt:n||on,e.label=e.label||(t?"Time":"Value")}if(On||t>0){e.width=null==e.width?1:e.width,e.paths=e.paths||qn||ke,e.fillTo=we(e.fillTo||vn),e.pxAlign=+te(e.pxAlign,Q),e.pxRound=Sn(e.pxAlign),e.stroke=we(e.stroke||null),e.fill=we(e.fill||null),e._stroke=e._fill=e._paths=e._focus=null;let t=ze(1*(3+2*(fe(1,e.width)||1)),3),n=e.points=$e({},{size:t,width:fe(1,.2*t),stroke:e.stroke,space:2*t,paths:Xn,_stroke:null,_fill:null},e.points);n.show=we(n.show),n.filter=we(n.filter),n.fill=we(n.fill),n.stroke=we(n.stroke),n.paths=we(n.paths),n.pxAlign=e.pxAlign}if(lt){let n=function(e,t){if(0==t&&(gt||!at.live||2==v))return Fe;let n=[],o=T("tr","u-series",mt,mt.childNodes[t]);A(o,e.class),e.show||A(o,r);let i=T("th",null,o);if(ut.show){let e=D("u-marker",i);if(t>0){let n=ut.width(d,t);n&&(e.style.border=n+"px "+ut.dash(d,t)+" "+ut.stroke(d,t)),e.style.background=ut.fill(d,t)}}let l=D(a,i);for(var s in e.label instanceof HTMLElement?l.appendChild(e.label):l.textContent=e.label,t>0&&(ut.show||(l.style.color=e.width>0?ut.stroke(d,t):ut.fill(d,t)),Dt("click",i,t=>{if(it._lock)return;Cn(t);let n=ae.indexOf(e);if((t.ctrlKey||t.metaKey)!=at.isolate){let e=ae.some((e,t)=>t>0&&t!=n&&e.show);ae.forEach((t,r)=>{r>0&&ia(r,e?r==n?Mt:wt:Mt,!0,Ya.setSeries)})}else ia(n,{show:!e.show},!0,Ya.setSeries)},!1),Ln&&Dt(y,i,t=>{it._lock||(Cn(t),ia(ae.indexOf(e),ca,!0,Ya.setSeries))},!1)),ht){let e=T("td","u-value",o);e.textContent="--",n.push(e)}return[o,n]}(e,t);yt.splice(t,0,n[0]),bt.splice(t,0,n[1]),at.values.push(null)}if(st){rt.splice(t,0,null);let n=null;On?0==t&&(n=jn(e,t)):t>0&&(n=jn(e,t)),Tn.splice(t,0,n),Dn.splice(t,0,0),zn.splice(t,0,0)}Pa("addSeries",t)}d.addSeries=function(e,t){t=null==t?ae.length:t,e=1==v?Un(e,t,Ut,dn):Un(e,t,{},cn),ae.splice(t,0,e),Pn(ae[t],t)},d.delSeries=function(e){if(ae.splice(e,1),lt){at.values.splice(e,1),bt.splice(e,1);let t=yt.splice(e,1)[0];Bt(null,t.firstChild),t.remove()}st&&(rt.splice(e,1),Tn.splice(e,1)[0].remove(),Dn.splice(e,1),zn.splice(e,1)),Pa("delSeries",e)};const Bn=[!1,!1,!1,!1];function Yn(e,t,n,r){let[a,o,i,l]=n,s=t%2,u=0;return 0==s&&(l||o)&&(u=0==t&&!a||2==t&&!i?ue(Vt.size/3):0),1==s&&(a||i)&&(u=1==t&&!o||3==t&&!l?ue(ln.size/2):0),u}const Nn=d.padding=(e.padding||[Yn,Yn,Yn,Yn]).map(e=>we(te(e,Yn))),Fn=d._padding=Nn.map((e,t)=>e(d,t,Bn,0));let In,Rn=null,Hn=null;const ar=1==v?ae[0].idxs:null;let or,ir,lr,sr,ur,cr,dr,fr,pr,mr,hr=null,yr=!1;function br(e,n){if(t=null==e?[]:e,d.data=d._data=t,2==v){In=0;for(let e=1;e=0,Mn=!0,Gr()}}function gr(){let e,n;yr=!0,1==v&&(In>0?(Rn=ar[0]=0,Hn=ar[1]=In-1,e=t[0][Rn],n=t[0][Hn],2==Xe?(e=Rn,n=Hn):e==n&&(3==Xe?[e,n]=G(e,e,Re.log,!1):4==Xe?[e,n]=K(e,e,Re.log,!1):Re.time?n=e+ue(86400/re):[e,n]=ee(e,n,.1,!0))):(Rn=ar[0]=e=null,Hn=ar[1]=n=null)),oa(Ae,e,n)}function vr(e,t,n,r,a,o){e??=f,n??=Ne,r??="butt",a??=f,o??="round",e!=or&&(F.strokeStyle=or=e),a!=ir&&(F.fillStyle=ir=a),t!=lr&&(F.lineWidth=lr=t),o!=ur&&(F.lineJoin=ur=o),r!=cr&&(F.lineCap=cr=r),n!=sr&&F.setLineDash(sr=n)}function _r(e,t,n,r){t!=ir&&(F.fillStyle=ir=t),e!=dr&&(F.font=dr=e),n!=fr&&(F.textAlign=fr=n),r!=pr&&(F.textBaseline=pr=r)}function Mr(e,t,n,r,a=0){if(r.length>0&&e.auto(d,yr)&&(null==t||null==t.min)){let t=te(Rn,0),o=te(Hn,r.length-1),i=null==n.min?function(e,t,n,r=0,a=!1){let o=a?$:U,i=a?V:X;[t,n]=o(e,t,n);let l=e[t],s=e[t];if(t>-1)if(1==r)l=e[t],s=e[n];else if(-1==r)l=e[n],s=e[t];else for(let r=t;r<=n;r++){let t=e[r];i(t)&&(ts&&(s=t))}return[l??ge,s??-ge]}(r,t,o,a,3==e.distr):[n.min,n.max];e.min=de(e.min,n.min=i[0]),e.max=fe(e.max,n.max=i[1])}}d.setData=br;const wr={min:null,max:null};function Sr(e,t){let n=t?ae[e].points:ae[e];n._stroke=n.stroke(d,e),n._fill=n.fill(d,e)}function xr(e,n){let r=n?ae[e].points:ae[e],{stroke:a,fill:o,clip:i,flags:l,_stroke:s=r._stroke,_fill:u=r._fill,_width:c=r.width}=r._paths;c=ze(c*C,3);let f=null,p=c%2/2;n&&null==u&&(u=c>0?"#fff":s);let m=1==r.pxAlign&&p>0;if(m&&F.translate(p,p),!n){let e=en-c/2,t=tn-c/2,n=nn+c,r=sn+c;f=new Path2D,f.rect(e,t,n,r)}n?Cr(s,c,r.dash,r.cap,u,a,o,l,i):function(e,n,r,a,o,i,l,s,u,c,f){let p=!1;0!=u&&Se.forEach((m,h)=>{if(m.series[0]==e){let e,y=ae[m.series[1]],b=t[m.series[1]],g=(y._paths||Ye).band;Ie(g)&&(g=1==m.dir?g[0]:g[1]);let v=null;y.show&&g&&function(e,t,n){for(t=te(t,0),n=te(n,e.length-1);t<=n;){if(null!=e[t])return!0;t++}return!1}(b,Rn,Hn)?(v=m.fill(d,h)||i,e=y._paths.clip):g=null,Cr(n,r,a,o,v,l,s,u,c,f,e,g),p=!0}}),p||Cr(n,r,a,o,i,l,s,u,c,f)}(e,s,c,r.dash,r.cap,u,a,o,l,f,i),m&&F.translate(-p,-p)}const kr=3;function Cr(e,t,n,r,a,o,i,l,s,u,c,d){vr(e,t,n,r,a),(s||u||d)&&(F.save(),s&&F.clip(s),u&&F.clip(u)),d?(l&kr)==kr?(F.clip(d),c&&F.clip(c),Ar(a,i),Er(e,o,t)):2&l?(Ar(a,i),F.clip(d),Er(e,o,t)):1&l&&(F.save(),F.clip(d),c&&F.clip(c),Ar(a,i),F.restore(),Er(e,o,t)):(Ar(a,i),Er(e,o,t)),(s||u||d)&&F.restore()}function Er(e,t,n){n>0&&(t instanceof Map?t.forEach((e,t)=>{F.strokeStyle=or=t,F.stroke(e)}):null!=t&&e&&F.stroke(t))}function Ar(e,t){t instanceof Map?t.forEach((e,t)=>{F.fillStyle=ir=t,F.fill(e)}):null!=t&&e&&F.fill(t)}function Lr(e,t,n,r,a,o,i,l,s,u){let c=i%2/2;1==Q&&F.translate(c,c),vr(l,i,s,u,l),F.beginPath();let d,f,p,m,h=a+(0==r||3==r?-o:o);0==n?(f=a,m=h):(d=a,p=h);for(let r=0;r{if(!n.show)return;let a=ve[n.scale];if(null==a.min)return void(n._show&&(t=!1,n._show=!1,Dr(!1)));n._show||(t=!1,n._show=!0,Dr(!1));let o=n.side,i=o%2,{min:l,max:s}=a,[u,c]=function(e,t,n,r){let a,o=ye[e];if(r<=0)a=[0,0];else{let i=o._space=o.space(d,e,t,n,r);a=tr(t,n,o._incrs=o.incrs(d,e,t,n,r,i),r,i)}return o._found=a}(r,l,s,0==i?It:Rt);if(0==c)return;let f=2==a.distr,p=n._splits=n.splits(d,r,l,s,u,c,f),m=2==a.distr?p.map(e=>hr[e]):p,h=2==a.distr?hr[p[1]]-hr[p[0]]:u,y=n._values=n.values(d,n.filter(d,m,r,c,h),r,c,h);n._rotate=2==o?n.rotate(d,y,r,c):0;let b=n._size;n._size=ce(n.size(d,y,r,e)),null!=b&&n._size!=b&&(t=!1)}),t}function Tr(e){let t=!0;return Nn.forEach((n,r)=>{let a=n(d,r,Bn,e);a!=Fn[r]&&(t=!1),Fn[r]=a}),t}function Dr(e){ae.forEach((t,n)=>{n>0&&(t._paths=null,e&&(1==v?(t.min=null,t.max=null):t.facets.forEach(e=>{e.min=null,e.max=null})))})}let zr,jr,Pr,Br,Yr,Nr,Fr,Ir,Rr,Wr,Hr,qr,Xr=!1,Vr=!1,Ur=[];function $r(){Vr=!1;for(let e=0;e0){ae.forEach((n,r)=>{if(1==v){let a=n.scale,o=Je[a];if(null==o)return;let i=e[a];if(0==r){let e=i.range(d,i.min,i.max,a);i.min=e[0],i.max=e[1],Rn=H(i.min,t[0]),Hn=H(i.max,t[0]),Hn-Rn>1&&(t[0][Rn]i.max&&Hn--),n.min=hr[Rn],n.max=hr[Hn]}else n.show&&n.auto&&Mr(i,o,n,t[r],n.sorted);n.idxs[0]=Rn,n.idxs[1]=Hn}else if(r>0&&n.show&&n.auto){let[a,o]=n.facets,i=a.scale,l=o.scale,[s,u]=t[r],c=e[i],d=e[l];null!=c&&Mr(c,Je[i],a,s,a.sorted),null!=d&&Mr(d,Je[l],o,u,o.sorted),n.min=o.min,n.max=o.max}});for(let t in e){let n=e[t],r=Je[t];if(null==n.from&&(null==r||null==r.min)){let e=n.range(d,n.min==ge?null:n.min,n.max==-ge?null:n.max,t);n.min=e[0],n.max=e[1]}}}for(let t in e){let n=e[t];if(null!=n.from){let r=e[n.from];if(null==r.min)n.min=n.max=null;else{let e=n.range(d,r.min,r.max,t);n.min=e[0],n.max=e[1]}}}let n={},r=!1;for(let t in e){let a=e[t],o=ve[t];if(o.min!=a.min||o.max!=a.max){o.min=a.min,o.max=a.max;let e=o.distr;o._min=3==e?he(o.min):4==e?be(o.min,o.asinh):100==e?o.fwd(o.min):o.min,o._max=3==e?he(o.max):4==e?be(o.max,o.asinh):100==e?o.fwd(o.max):o.max,n[t]=r=!0}}if(r){ae.forEach((e,t)=>{2==v?t>0&&n.y&&(e._paths=null):n[e.scale]&&(e._paths=null)});for(let e in n)bn=!0,Pa("setScale",e);st&&it.left>=0&&(gn=Mn=!0)}for(let e in Je)Je[e]=null}(),un=!1),bn&&(function(){let e=!1,t=0;for(;!e;){t++;let n=Or(t),r=Tr(t);e=t==kn||n&&r,e||(xn(d.width,d.height),hn=!0)}}(),bn=!1),hn){if(O(q,u,Wt),O(q,l,Ht),O(q,o,It),O(q,i,Rt),O(Z,u,Wt),O(Z,l,Ht),O(Z,o,It),O(Z,i,Rt),O(I,o,Yt),O(I,i,Nt),Y.width=ue(Yt*C),Y.height=ue(Nt*C),ye.forEach(({_el:e,_show:t,_size:n,_pos:a,side:o})=>{if(null!=e)if(t){let t=o%2==1;O(e,t?"left":"top",a-(3===o||0===o?n:0)),O(e,t?"width":"height",n),O(e,t?"top":"left",t?Ht:Wt),O(e,t?"height":"width",t?Rt:It),L(e,r)}else A(e,r)}),or=ir=lr=ur=cr=dr=fr=pr=sr=null,mr=1,_a(!0),Wt!=qt||Ht!=Xt||It!=Zt||Rt!=Qt){Dr(!1);let e=It/Zt,t=Rt/Qt;if(st&&!gn&&it.left>=0){it.left*=e,it.top*=t,Pr&&j(Pr,ue(it.left),0,It,Rt),Br&&j(Br,0,ue(it.top),It,Rt);for(let n=0;n=0&&na.width>0){na.left*=e,na.width*=e,na.top*=t,na.height*=t;for(let e in Sa)O(ra,e,na[e])}qt=Wt,Xt=Ht,Zt=It,Qt=Rt}Pa("setSize"),hn=!1}Yt>0&&Nt>0&&(F.clearRect(0,0,Y.width,Y.height),Pa("drawClear"),Te.forEach(e=>e()),Pa("draw")),na.show&&_n&&(aa(na),_n=!1),st&&gn&&(ga(null,!0,!1),gn=!1),at.show&&at.live&&Mn&&(ya(),Mn=!1),z||(z=!0,d.status=1,Pa("ready")),yr=!1,Xr=!1}function Jr(e,n){let r=ve[e];if(null==r.from){if(0==In){let t=r.range(d,n.min,n.max,e);n.min=t[0],n.max=t[1]}if(n.min>n.max){let e=n.min;n.min=n.max,n.max=e}if(In>1&&null!=n.min&&null!=n.max&&n.max-n.min<1e-16)return;e==Ae&&2==r.distr&&In>0&&(n.min=H(n.min,t[0]),n.max=H(n.max,t[0]),n.min==n.max&&n.max++),Je[e]=n,un=!0,Gr()}}d.batch=function(e,t=!1){Xr=!0,Vr=t,e(d),Kr(),t&&Ur.length>0&&queueMicrotask($r)},d.redraw=(e,t)=>{bn=t||!1,!1!==e?oa(Ae,Re.min,Re.max):Gr()},d.setScale=Jr;let Zr=!1;const Qr=it.drag;let ea=Qr.x,ta=Qr.y;st&&(it.x&&(zr=D("u-cursor-x",Z)),it.y&&(jr=D("u-cursor-y",Z)),0==Re.ori?(Pr=zr,Br=jr):(Pr=jr,Br=zr),Hr=it.left,qr=it.top);const na=d.select=$e({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),ra=na.show?D("u-select",na.over?Z:q):null;function aa(e,t){if(na.show){for(let t in e)na[t]=e[t],t in Sa&&O(ra,t,e[t]);!1!==t&&Pa("setSelect")}}function oa(e,t,n){Jr(e,{min:t,max:n})}function ia(e,t,n,a){null!=t.focus&&function(e){if(e!=ua){let t=null==e,n=1!=An.alpha;ae.forEach((r,a)=>{if(1==v||a>0){let o=t||0==a||a==e;r._focus=t?null:o,n&&function(e,t){ae[e].alpha=t,st&&null!=Tn[e]&&(Tn[e].style.opacity=t),lt&&yt[e]&&(yt[e].style.opacity=t)}(a,o?1:An.alpha)}}),ua=e,n&&Gr()}}(e),null!=t.show&&ae.forEach((n,a)=>{a>0&&(e==a||null==e)&&(n.show=t.show,function(e){if(ae[e].show)lt&&L(yt[e],r);else if(lt&&A(yt[e],r),st){let t=On?Tn[0]:Tn[e];null!=t&&j(t,-10,-10,It,Rt)}}(a),2==v?(oa(n.facets[0].scale,null,null),oa(n.facets[1].scale,null,null)):oa(n.scale,null,null),Gr())}),!1!==n&&Pa("setSeries",e,t),a&&Ia("setSeries",d,e,t)}let la,sa,ua;d.setSelect=aa,d.setSeries=ia,d.addBand=function(e,t){e.fill=we(e.fill||null),e.dir=te(e.dir,-1),t=null==t?Se.length:t,Se.splice(t,0,e)},d.setBand=function(e,t){$e(Se[e],t)},d.delBand=function(e){null==e?Se.length=0:Se.splice(e,1)};const ca={focus:!0};function da(e,t,n){let r=ve[t];n&&(e=e/C-(1==r.ori?Ht:Wt));let a=It;1==r.ori&&(a=Rt,e=a-e),-1==r.dir&&(e=a-e);let o=r._min,i=o+(r._max-o)*(e/a),l=r.distr;return 3==l?pe(10,i):4==l?((e,t=1)=>oe.sinh(e)*t)(i,r.asinh):100==l?r.bwd(i):i}function fa(e,t){O(ra,u,na.left=e),O(ra,o,na.width=t)}function pa(e,t){O(ra,l,na.top=e),O(ra,i,na.height=t)}lt&&Ln&&Dt(b,ct,e=>{it._lock||(Cn(e),null!=ua&&ia(null,ca,!0,Ya.setSeries))}),d.valToIdx=e=>H(e,t[0]),d.posToIdx=function(e,n){return H(da(e,Ae,n),t[0],Rn,Hn)},d.posToVal=da,d.valToPos=(e,t,n)=>0==ve[t].ori?w(e,ve[t],n?nn:It,n?en:0):k(e,ve[t],n?sn:Rt,n?tn:0),d.setCursor=(e,t,n)=>{Hr=e.left,qr=e.top,ga(null,t,n)};let ma=0==Re.ori?fa:pa,ha=1==Re.ori?fa:pa;function ya(e,t){if(null!=e&&(e.idxs?e.idxs.forEach((e,t)=>{rt[t]=e}):void 0!==e.idx&&rt.fill(e.idx),at.idx=rt[0]),lt&&at.live){for(let e=0;e0||1==v&&!gt)&&ba(e,rt[e]);!function(){if(lt&&at.live)for(let e=2==v?1:0;eHn;la=ge,sa=null;let i=0==Re.ori?It:Rt,l=1==Re.ori?It:Rt;if(Hr<0||0==In||o){a=it.idx=null;for(let e=0;e0&&h.show){let n=null==g?-10:g==a?r:Ve(1==v?t[0][g]:t[e][0][g],Re,i,0),y=null==_?-10:Ge(_,1==v?ve[h.scale]:ve[h.facets[1].scale],l,0);if(Ln&&null!=_){let t=1==Re.ori?Hr:qr,n=le(An.dist(d,e,g,y,t));if(n=0?1:-1;o==(_>=0?1:-1)&&(1==o?1==r?_>=a:_<=a:1==r?_<=a:_>=a)&&(la=n,sa=e)}else la=n,sa=e}}if(Mn||On){let t,r;0==Re.ori?(t=n,r=y):(t=y,r=n);let a,i,l,h,b,g,v=!0,_=En.bbox;if(null!=_){v=!1;let t=_(d,e);l=t.left,h=t.top,a=t.width,i=t.height}else l=t,h=r,a=i=En.size(d,e);if(g=En.fill(d,e),b=En.stroke(d,e),On)e==sa&&la<=An.prox&&(o=l,s=h,u=a,c=i,f=v,p=g,m=b);else{let t=Tn[e];null!=t&&(Dn[e]=l,zn[e]=h,N(t,a,i,v),B(t,g,b),j(t,ce(l),ce(h),It,Rt))}}}}if(On){let e=An.prox;if(Mn||(null==ua?la<=e:la>e||sa!=ua)){let e=Tn[0];null!=e&&(Dn[0]=o,zn[0]=s,N(e,u,c,f),B(e,p,m),j(e,ce(o),ce(s),It,Rt))}}}if(na.show&&Zr)if(null!=e){let[t,n]=Ya.scales,[r,a]=Ya.match,[o,s]=e.cursor.sync.scales,u=e.cursor.drag;if(ea=u._x,ta=u._y,ea||ta){let u,c,d,f,p,{left:m,top:h,width:y,height:b}=e.select,g=e.scales[o].ori,v=e.posToVal,_=null!=t&&r(t,o),M=null!=n&&a(n,s);_&&ea?(0==g?(u=m,c=y):(u=h,c=b),d=ve[t],f=Ve(v(u,o),d,i,0),p=Ve(v(u+c,o),d,i,0),ma(de(f,p),le(p-f))):ma(0,i),M&&ta?(1==g?(u=m,c=y):(u=h,c=b),d=ve[n],f=Ge(v(u,s),d,l,0),p=Ge(v(u+c,s),d,l,0),ha(de(f,p),le(p-f))):ha(0,l)}else xa()}else{let e=le(Rr-Yr),t=le(Wr-Nr);if(1==Re.ori){let n=e;e=t,t=n}ea=Qr.x&&e>=Qr.dist,ta=Qr.y&&t>=Qr.dist;let n,r,a=Qr.uni;null!=a?ea&&ta&&(ea=e>=a,ta=t>=a,ea||ta||(t>e?ta=!0:ea=!0)):Qr.x&&Qr.y&&(ea||ta)&&(ea=ta=!0),ea&&(0==Re.ori?(n=Fr,r=Hr):(n=Ir,r=qr),ma(de(n,r),le(r-n)),ta||ha(0,l)),ta&&(1==Re.ori?(n=Fr,r=Hr):(n=Ir,r=qr),ha(de(n,r),le(r-n)),ea||ma(0,i)),ea||ta||(ma(0,0),ha(0,0))}if(Qr._x=ea,Qr._y=ta,null==e){if(r){if(null!=Na){let[e,t]=Ya.scales;Ya.values[0]=null!=e?da(0==Re.ori?Hr:qr,e):null,Ya.values[1]=null!=t?da(1==Re.ori?Hr:qr,t):null}Ia(p,d,Hr,qr,It,Rt,a)}if(Ln){let e=r&&Ya.setSeries,t=An.prox;null==ua?la<=t&&ia(sa,ca,!0,e):la>t?ia(null,ca,!0,e):sa!=ua&&ia(sa,ca,!0,e)}}Mn&&(at.idx=a,ya()),!1!==n&&Pa("setCursor")}d.setLegend=ya;let va=null;function _a(e=!1){e?va=null:(va=Z.getBoundingClientRect(),Pa("syncRect",va))}function Ma(e,t,n,r,a,o,i){it._lock||Zr&&null!=e&&0==e.movementX&&0==e.movementY||(wa(e,t,n,r,a,o,0,!1,null!=e),null!=e?ga(null,!0,!0):ga(t,!0,!1))}function wa(e,t,n,r,a,o,i,l,s){if(null==va&&_a(!1),Cn(e),null!=e)n=e.clientX-va.left,r=e.clientY-va.top;else{if(n<0||r<0)return Hr=-10,void(qr=-10);let[e,i]=Ya.scales,l=t.cursor.sync,[s,u]=l.values,[c,d]=l.scales,[f,p]=Ya.match,m=t.axes[0].side%2==1,h=0==Re.ori?It:Rt,y=1==Re.ori?It:Rt,b=m?o:a,g=m?a:o,v=m?r:n,_=m?n:r;if(n=null!=c?f(e,c)?E(s,ve[e],h,0):-10:h*(v/b),r=null!=d?p(i,d)?E(u,ve[i],y,0):-10:y*(_/g),1==Re.ori){let e=n;n=r,r=e}}!s||null!=t&&t.cursor.event.type!=p||((n<=1||n>=It-1)&&(n=Oe(n,It)),(r<=1||r>=Rt-1)&&(r=Oe(r,Rt))),l?(Yr=n,Nr=r,[Fr,Ir]=it.move(d,n,r)):(Hr=n,qr=r)}Object.defineProperty(d,"rect",{get:()=>(null==va&&_a(!1),va)});const Sa={width:0,height:0,left:0,top:0};function xa(){aa(Sa,!1)}let ka,Ca,Ea,Aa;function La(e,t,n,r,a,o,i){Zr=!0,ea=ta=Qr._x=Qr._y=!1,wa(e,t,n,r,a,o,0,!0,!1),null!=e&&(Dt(h,S,Oa,!1),Ia(m,d,Fr,Ir,It,Rt,null));let{left:l,top:s,width:u,height:c}=na;ka=l,Ca=s,Ea=u,Aa=c}function Oa(e,t,n,r,a,o,i){Zr=Qr._x=Qr._y=!1,wa(e,t,n,r,a,o,0,!1,!0);let{left:l,top:s,width:u,height:c}=na,f=u>0||c>0,p=ka!=l||Ca!=s||Ea!=u||Aa!=c;if(f&&p&&aa(na),Qr.setScale&&f&&p){let e=l,t=u,n=s,r=c;if(1==Re.ori&&(e=s,t=c,n=l,r=u),ea&&oa(Ae,da(e,Ae),da(e+t,Ae)),ta)for(let e in ve){let t=ve[e];e!=Ae&&null==t.from&&t.min!=ge&&oa(e,da(n+r,e),da(n,e))}xa()}else it.lock&&(it._lock=!it._lock,ga(t,!0,null!=e));null!=e&&(Bt(h,S),Ia(h,d,Hr,qr,It,Rt,null))}function Ta(e,t,n,r,a,o,i){it._lock||(Cn(e),gr(),xa(),null!=e&&Ia(g,d,Hr,qr,It,Rt,null))}function Da(){ye.forEach(rr),wn(d.width,d.height,!0)}R(_,x,Da);const za={};za.mousedown=La,za.mousemove=Ma,za.mouseup=Oa,za.dblclick=Ta,za.setSeries=(e,t,n,r)=>{-1!=(n=(0,Ya.match[2])(d,t,n))&&ia(n,r,!0,!1)},st&&(Dt(m,Z,La),Dt(p,Z,Ma),Dt(y,Z,e=>{Cn(e),_a(!1)}),Dt(b,Z,function(e,t,n,r,a,o,i){if(it._lock)return;Cn(e);let l=Zr;if(Zr){let e,t,n=!0,r=!0,a=10;0==Re.ori?(e=ea,t=ta):(e=ta,t=ea),e&&t&&(n=Hr<=a||Hr>=It-a,r=qr<=a||qr>=Rt-a),e&&n&&(Hr=Hr{e.call(null,d,t,n)})}(e.plugins||[]).forEach(e=>{for(let t in e.hooks)ja[t]=(ja[t]||[]).concat(e.hooks[t])});const Ba=(e,t,n)=>n,Ya=$e({key:null,setSeries:!1,filters:{pub:Ce,sub:Ce},scales:[Ae,ae[1]?ae[1].scale:null],match:[Ee,Ee,Ba],values:[null,null]},it.sync);2==Ya.match.length&&Ya.match.push(Ba),it.sync=Ya;const Na=Ya.key,Fa=yn(Na);function Ia(e,t,n,r,a,o,i){Ya.filters.pub(e,t,n,r,a,o,i)&&Fa.pub(e,t,n,r,a,o,i)}function Ra(){Pa("init",e,t),br(t||e.data,!1),Je[Ae]?Jr(Ae,Je[Ae]):gr(),_n=na.show&&(na.width>0||na.height>0),gn=Mn=!0,wn(e.width,e.height)}return Fa.sub(d),d.pub=function(e,t,n,r,a,o,i){Ya.filters.sub(e,t,n,r,a,o,i)&&za[e](null,t,n,r,a,o,i)},d.destroy=function(){Fa.unsub(d),Wn.delete(d),St.clear(),W(_,x,Da),P.remove(),ct?.remove(),Pa("destroy")},ae.forEach(Pn),ye.forEach(function(e,t){if(e._show=e.show,e.show){let n=e.side%2,r=ve[e.scale];null==r&&(e.scale=n?ae[1].scale:Ae,r=ve[e.scale]);let a=r.time;e.size=we(e.size),e.space=we(e.space),e.rotate=we(e.rotate),Ie(e.incrs)&&e.incrs.forEach(e=>{!je.has(e)&&je.set(e,Pe(e))}),e.incrs=we(e.incrs||(2==r.distr?dt:a?1==re?xt:Et:ft)),e.splits=we(e.splits||(a&&1==r.distr?et:3==r.distr?Kt:4==r.distr?Jt:Gt)),e.stroke=we(e.stroke),e.grid.stroke=we(e.grid.stroke),e.ticks.stroke=we(e.ticks.stroke),e.border.stroke=we(e.border.stroke);let o=e.values;e.values=Ie(o)&&!Ie(o[0])?we(o):a?Ie(o)?Tt(Ze,Ot(o,Qe)):We(o)?function(e,t){let n=ot(t);return(t,r,a,o,i)=>r.map(t=>n(e(t)))}(Ze,o):o||tt:o||$t,e.filter=we(e.filter||(r.distr>=3&&10==r.log?rn:3==r.distr&&2==r.log?an:xe)),e.font=nr(e.font),e.labelFont=nr(e.labelFont),e._size=e.size(d,null,t,0),e._space=e._rotate=e._incrs=e._found=e._splits=e._values=null,e._size>0&&(Bn[t]=!0,e._el=D("u-axis",I))}}),n?n instanceof HTMLElement?(n.appendChild(P),Ra()):n(d,Ra):Ra(),d}ar.assign=$e,ar.fmtNum=ae,ar.rangeNum=ee,ar.rangeLog=G,ar.rangeAsinh=K,ar.orient=bn,ar.pxRatio=C,ar.join=function(e,t){if(function(e){let t=e[0][0],n=t.length;for(let r=1;r=r&&null==e[a];)a--;if(a<=r)return!0;const o=fe(1,se((a-r+1)/t));for(let t=e[r],n=r+o;n<=a;n+=o){const r=e[n];if(null!=r){if(r<=t)return!1;t=r}}return!0}(t[0])||(t=function(e){let t=e[0],n=t.length,r=Array(n);for(let e=0;et[e]-t[n]);let a=[];for(let t=0;te-t)],a=r[0].length,o=new Map;for(let e=0;ebn(e,o,(s,u,c,d,f,p,m,h,y,b,g)=>{[i,l]=U(c,i,l);let v=s.pxRound,{left:_,width:M}=e.bbox,w=e=>v(p(e,d,b,h)),S=e=>v(m(e,f,g,y)),x=0==d.ori?En:An;const k={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:1},E=k.stroke,A=d.dir*(0==d.ori?1:-1);let L=S(c[1==A?i:l]),O=w(u[1==A?i:l]),T=O,D=O;a&&-1==t&&(D=_,x(E,D,L)),x(E,O,L);for(let e=1==A?i:l;e>=i&&e<=l;e+=A){let n=c[e];if(null==n)continue;let r=w(u[e]),a=S(n);1==t?x(E,r,L):x(E,T,a),x(E,r,a),L=a,T=r}let z=T;a&&1==t&&(z=_+M,x(E,z,L));let[j,P]=gn(e,o);if(null!=s.fill||0!=j){let t=k.fill=new Path2D(E),n=S(s.fillTo(e,o,s.min,s.max,j));x(t,z,n),x(t,D,n)}if(!s.spanGaps){let a=[];a.push(...wn(u,c,i,l,A,w,r));let f=s.width*C/2,p=n||1==t?f:-f,m=n||-1==t?-f:f;a.forEach(e=>{e[0]+=p,e[1]+=m}),k.gaps=a=s.gaps(e,o,i,l,a),k.clip=Mn(a,d.ori,h,y,b,g)}return 0!=P&&(k.band=2==P?[_n(e,o,i,l,E,-1),_n(e,o,i,l,E,1)]:_n(e,o,i,l,E,P)),k})},e.bars=function(e){const t=te((e=e||Ye).size,[.6,ge,1]),n=e.align||0,r=e.gap||0;let a=e.radius;a=null==a?[0,0]:"number"==typeof a?[a,0]:a;const o=we(a),i=1-t[0],l=te(t[1],ge),s=te(t[2],1),u=te(e.disp,Ye),c=te(e.each,e=>{}),{fill:d,stroke:f}=u;return(e,t,a,p)=>bn(e,t,(m,h,y,b,g,v,_,M,w,S,x)=>{let k,E,A=m.pxRound,L=n,O=r*C,T=l*C,D=s*C;0==b.ori?[k,E]=o(e,t):[E,k]=o(e,t);const z=b.dir*(0==b.ori?1:-1);let j,P,B,Y=0==b.ori?Ln:On,N=0==b.ori?c:(e,t,n,r,a,o,i)=>{c(e,t,n,a,r,i,o)},F=te(e.bands,Ne).find(e=>e.series[0]==t),I=null!=F?F.dir:0,R=m.fillTo(e,t,m.min,m.max,I),W=A(_(R,g,x,w)),H=S,q=A(m.width*C),X=!1,V=null,U=null,$=null,G=null;null==d||0!=q&&null==f||(X=!0,V=d.values(e,t,a,p),U=new Map,new Set(V).forEach(e=>{null!=e&&U.set(e,new Path2D)}),q>0&&($=f.values(e,t,a,p),G=new Map,new Set($).forEach(e=>{null!=e&&G.set(e,new Path2D)})));let{x0:K,size:J}=u;if(null!=K&&null!=J){L=1,h=K.values(e,t,a,p),2==K.unit&&(h=h.map(t=>e.posToVal(M+t*S,b.key,!0)));let n=J.values(e,t,a,p);P=2==J.unit?n[0]*S:v(n[0],b,S,M)-v(0,b,S,M),H=In(h,y,v,b,S,M,H),B=H-P+O}else H=In(h,y,v,b,S,M,H),B=H*i+O,P=H-B;B<1&&(B=0),q>=P/2&&(q=0),B<5&&(A=Se);let Z=B>0;P=A(_e(H-B-(Z?q:0),D,T)),j=(0==L?P/2:L==z?0:P)-L*z*((0==L?O/2:0)+(Z?q/2:0));const Q={stroke:null,fill:null,clip:null,band:null,gaps:null,flags:0},ee=X?null:new Path2D;let ne=null;if(null!=F)ne=e.data[F.series[1]];else{let{y0:n,y1:r}=u;null!=n&&null!=r&&(y=r.values(e,t,a,p),ne=n.values(e,t,a,p))}let re=k*P,ae=E*P;for(let n=1==z?a:p;n>=a&&n<=p;n+=z){let r=y[n];if(null==r)continue;if(null!=ne){let e=ne[n]??0;if(r-e==0)continue;W=_(e,g,x,w)}let a=v(2!=b.distr||null!=u?h[n]:n,b,S,M),o=_(te(r,R),g,x,w),i=A(a-j),l=A(fe(o,W)),s=A(de(o,W)),c=l-s;if(null!=r){let a=r<0?ae:re,o=r<0?re:ae;X?(q>0&&null!=$[n]&&Y(G.get($[n]),i,s+se(q/2),P,fe(0,c-q),a,o),null!=V[n]&&Y(U.get(V[n]),i,s+se(q/2),P,fe(0,c-q),a,o)):Y(ee,i,s+se(q/2),P,fe(0,c-q),a,o),N(e,t,n,i-q/2,s,P+q,c)}}return q>0?Q.stroke=X?G:ee:X||(Q._fill=0==m.width?m._fill:m._stroke??m._fill,Q.width=0),Q.fill=X?U:ee,Q})},e.spline=function(e){return function(e,t){const n=te(t?.alignGaps,0);return(t,r,a,o)=>bn(t,r,(i,l,s,u,c,d,f,p,m,h,y)=>{[a,o]=U(s,a,o);let b,g,v,_=i.pxRound,M=e=>_(d(e,u,h,p)),w=e=>_(f(e,c,y,m));0==u.ori?(b=kn,v=En,g=zn):(b=Cn,v=An,g=jn);const S=u.dir*(0==u.ori?1:-1);let x=M(l[1==S?a:o]),k=x,C=[],E=[];for(let e=1==S?a:o;e>=a&&e<=o;e+=S)if(null!=s[e]){let t=M(l[e]);C.push(k=t),E.push(w(s[e]))}const A={stroke:e(C,E,b,v,g,_),fill:null,clip:null,band:null,gaps:null,flags:1},L=A.stroke;let[O,T]=gn(t,r);if(null!=i.fill||0!=O){let e=A.fill=new Path2D(L),n=w(i.fillTo(t,r,i.min,i.max,O));v(e,k,n),v(e,x,n)}if(!i.spanGaps){let e=[];e.push(...wn(l,s,a,o,S,M,n)),A.gaps=e=i.gaps(t,r,a,o,e),A.clip=Mn(e,u.ori,p,m,h,y)}return 0!=T&&(A.band=2==T?[_n(t,r,a,o,L,-1),_n(t,r,a,o,L,1)]:_n(t,r,a,o,L,T)),A})}(Rn,e)}}},40690(e,t,n){var r,a,o,i,l=Object.create,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of c(t))f.call(e,a)||a===n||s(e,a,{get:()=>t[a],enumerable:!(r=u(t,a))||r.enumerable});return e},h=(e,t,n)=>(m(e,t,"default"),n&&m(n,t,"default")),y=(e,t,n)=>(n=null!=e?l(d(e)):{},m(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)),b=(r={""(){}},function(){return r&&(a=(0,r[c(r)[0]])(r=0)),a}),g=(o={"src/nearley/generated/vizparser.js"(e,t){b(),function(){function e(e){return e[0].concat([e[1]])}function n(e){return e[0]}function r(){return null}function a(e){return{type:"string",v:e[0]}}function o(e){return e[1].join("")}var i={Lexer:void 0,ParserRules:[{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","wschar"],postprocess:e},{name:"_",symbols:["_$ebnf$1"],postprocess:r},{name:"__$ebnf$1",symbols:["wschar"]},{name:"__$ebnf$1",symbols:["__$ebnf$1","wschar"],postprocess:e},{name:"__",symbols:["__$ebnf$1"],postprocess:r},{name:"wschar",symbols:[/[ \t\n\v\f]/],postprocess:n},{name:"dqstring$ebnf$1",symbols:[]},{name:"dqstring$ebnf$1",symbols:["dqstring$ebnf$1","dstrchar"],postprocess:e},{name:"dqstring",symbols:[{literal:'"'},"dqstring$ebnf$1",{literal:'"'}],postprocess:o},{name:"sqstring$ebnf$1",symbols:[]},{name:"sqstring$ebnf$1",symbols:["sqstring$ebnf$1","sstrchar"],postprocess:e},{name:"sqstring",symbols:[{literal:"'"},"sqstring$ebnf$1",{literal:"'"}],postprocess:o},{name:"btstring$ebnf$1",symbols:[]},{name:"btstring$ebnf$1",symbols:["btstring$ebnf$1",/[^`]/],postprocess:e},{name:"btstring",symbols:[{literal:"`"},"btstring$ebnf$1",{literal:"`"}],postprocess:o},{name:"dstrchar",symbols:[/[^\\"\n]/],postprocess:n},{name:"dstrchar",symbols:[{literal:"\\"},"strescape"],postprocess:function(e){return JSON.parse('"'+e.join("")+'"')}},{name:"sstrchar",symbols:[/[^\\'\n]/],postprocess:n},{name:"sstrchar",symbols:[{literal:"\\"},"strescape"],postprocess:function(e){return JSON.parse('"'+e.join("")+'"')}},{name:"sstrchar$string$1",symbols:[{literal:"\\"},{literal:"'"}],postprocess:function(e){return e.join("")}},{name:"sstrchar",symbols:["sstrchar$string$1"],postprocess:function(e){return"'"}},{name:"strescape",symbols:[/["\\/bfnrt]/],postprocess:n},{name:"strescape",symbols:[{literal:"u"},/[a-fA-F0-9]/,/[a-fA-F0-9]/,/[a-fA-F0-9]/,/[a-fA-F0-9]/],postprocess:function(e){return e.join("")}},{name:"unsigned_int$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_int$ebnf$1",symbols:["unsigned_int$ebnf$1",/[0-9]/],postprocess:e},{name:"unsigned_int",symbols:["unsigned_int$ebnf$1"],postprocess:function(e){return parseInt(e[0].join(""))}},{name:"int$ebnf$1$subexpression$1",symbols:[{literal:"-"}]},{name:"int$ebnf$1$subexpression$1",symbols:[{literal:"+"}]},{name:"int$ebnf$1",symbols:["int$ebnf$1$subexpression$1"],postprocess:n},{name:"int$ebnf$1",symbols:[],postprocess:r},{name:"int$ebnf$2",symbols:[/[0-9]/]},{name:"int$ebnf$2",symbols:["int$ebnf$2",/[0-9]/],postprocess:e},{name:"int",symbols:["int$ebnf$1","int$ebnf$2"],postprocess:function(e){return e[0]?parseInt(e[0][0]+e[1].join("")):parseInt(e[1].join(""))}},{name:"unsigned_decimal$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_decimal$ebnf$1",symbols:["unsigned_decimal$ebnf$1",/[0-9]/],postprocess:e},{name:"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",symbols:["unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",/[0-9]/],postprocess:e},{name:"unsigned_decimal$ebnf$2$subexpression$1",symbols:[{literal:"."},"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1"]},{name:"unsigned_decimal$ebnf$2",symbols:["unsigned_decimal$ebnf$2$subexpression$1"],postprocess:n},{name:"unsigned_decimal$ebnf$2",symbols:[],postprocess:r},{name:"unsigned_decimal",symbols:["unsigned_decimal$ebnf$1","unsigned_decimal$ebnf$2"],postprocess:function(e){return parseFloat(e[0].join("")+(e[1]?"."+e[1][1].join(""):""))}},{name:"decimal$ebnf$1",symbols:[{literal:"-"}],postprocess:n},{name:"decimal$ebnf$1",symbols:[],postprocess:r},{name:"decimal$ebnf$2",symbols:[/[0-9]/]},{name:"decimal$ebnf$2",symbols:["decimal$ebnf$2",/[0-9]/],postprocess:e},{name:"decimal$ebnf$3$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"decimal$ebnf$3$subexpression$1$ebnf$1",symbols:["decimal$ebnf$3$subexpression$1$ebnf$1",/[0-9]/],postprocess:e},{name:"decimal$ebnf$3$subexpression$1",symbols:[{literal:"."},"decimal$ebnf$3$subexpression$1$ebnf$1"]},{name:"decimal$ebnf$3",symbols:["decimal$ebnf$3$subexpression$1"],postprocess:n},{name:"decimal$ebnf$3",symbols:[],postprocess:r},{name:"decimal",symbols:["decimal$ebnf$1","decimal$ebnf$2","decimal$ebnf$3"],postprocess:function(e){return parseFloat((e[0]||"")+e[1].join("")+(e[2]?"."+e[2][1].join(""):""))}},{name:"percentage",symbols:["decimal",{literal:"%"}],postprocess:function(e){return e[0]/100}},{name:"jsonfloat$ebnf$1",symbols:[{literal:"-"}],postprocess:n},{name:"jsonfloat$ebnf$1",symbols:[],postprocess:r},{name:"jsonfloat$ebnf$2",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$2",symbols:["jsonfloat$ebnf$2",/[0-9]/],postprocess:e},{name:"jsonfloat$ebnf$3$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$3$subexpression$1$ebnf$1",symbols:["jsonfloat$ebnf$3$subexpression$1$ebnf$1",/[0-9]/],postprocess:e},{name:"jsonfloat$ebnf$3$subexpression$1",symbols:[{literal:"."},"jsonfloat$ebnf$3$subexpression$1$ebnf$1"]},{name:"jsonfloat$ebnf$3",symbols:["jsonfloat$ebnf$3$subexpression$1"],postprocess:n},{name:"jsonfloat$ebnf$3",symbols:[],postprocess:r},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$1",symbols:[/[+-]/],postprocess:n},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$1",symbols:[],postprocess:r},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$2",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$2",symbols:["jsonfloat$ebnf$4$subexpression$1$ebnf$2",/[0-9]/],postprocess:e},{name:"jsonfloat$ebnf$4$subexpression$1",symbols:[/[eE]/,"jsonfloat$ebnf$4$subexpression$1$ebnf$1","jsonfloat$ebnf$4$subexpression$1$ebnf$2"]},{name:"jsonfloat$ebnf$4",symbols:["jsonfloat$ebnf$4$subexpression$1"],postprocess:n},{name:"jsonfloat$ebnf$4",symbols:[],postprocess:r},{name:"jsonfloat",symbols:["jsonfloat$ebnf$1","jsonfloat$ebnf$2","jsonfloat$ebnf$3","jsonfloat$ebnf$4"],postprocess:function(e){return parseFloat((e[0]||"")+e[1].join("")+(e[2]?"."+e[2][1].join(""):"")+(e[3]?"e"+(e[3][1]||"+")+e[3][2].join(""):""))}},{name:"Pipeline$ebnf$1",symbols:[]},{name:"Pipeline$ebnf$1$subexpression$1",symbols:[{literal:"|"},"Expr"]},{name:"Pipeline$ebnf$1",symbols:["Pipeline$ebnf$1","Pipeline$ebnf$1$subexpression$1"],postprocess:e},{name:"Pipeline",symbols:["Expr","Pipeline$ebnf$1"],postprocess:e=>[e[0],...e[1].map(e=>e[1])]},{name:"Expr",symbols:["_","Identifier","_"],postprocess:e=>e[1]},{name:"Expr",symbols:["_","Method","_"],postprocess:e=>e[1]},{name:"Expr",symbols:["_","Literal","_"],postprocess:e=>e[1]},{name:"Method$ebnf$1",symbols:["Arg"],postprocess:n},{name:"Method$ebnf$1",symbols:[],postprocess:r},{name:"Method$ebnf$2",symbols:[]},{name:"Method$ebnf$2$subexpression$1",symbols:["_",{literal:","},"_","Arg"]},{name:"Method$ebnf$2",symbols:["Method$ebnf$2","Method$ebnf$2$subexpression$1"],postprocess:e},{name:"Method",symbols:["Identifier",{literal:"("},"_","Method$ebnf$1","Method$ebnf$2","_",{literal:")"}],postprocess:e=>{let t=e[3],n=e[4],r=[];return t&&r.push(t),n&&(r=r.concat(n.map(e=>e[3]))),{type:"method",name:e[0].v,args:r}}},{name:"Arg",symbols:["Identifier"],postprocess:e=>e[0]},{name:"Arg",symbols:["Literal"],postprocess:e=>e[0]},{name:"Identifier$subexpression$1",symbols:["Letter"]},{name:"Identifier$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$1",symbols:[]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$1",symbols:["Identifier$ebnf$1","Identifier$ebnf$1$subexpression$1"],postprocess:e},{name:"Identifier",symbols:["Identifier$subexpression$1","Identifier$ebnf$1"],postprocess:e=>({type:"identifier",v:e[0]+e[1].join("")})},{name:"Identifier$subexpression$2",symbols:["Letter"]},{name:"Identifier$subexpression$2",symbols:["Star"]},{name:"Identifier$ebnf$2",symbols:[]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$2",symbols:["Identifier$ebnf$2","Identifier$ebnf$2$subexpression$1"],postprocess:e},{name:"Identifier$ebnf$3$subexpression$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1",symbols:[]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1",symbols:["Identifier$ebnf$3$subexpression$1$ebnf$1","Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1"],postprocess:e},{name:"Identifier$ebnf$3$subexpression$1",symbols:["Dot","Identifier$ebnf$3$subexpression$1$subexpression$1","Identifier$ebnf$3$subexpression$1$ebnf$1"]},{name:"Identifier$ebnf$3",symbols:["Identifier$ebnf$3$subexpression$1"]},{name:"Identifier$ebnf$3$subexpression$2$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$2$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1",symbols:[]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1",symbols:["Identifier$ebnf$3$subexpression$2$ebnf$1","Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1"],postprocess:e},{name:"Identifier$ebnf$3$subexpression$2",symbols:["Dot","Identifier$ebnf$3$subexpression$2$subexpression$1","Identifier$ebnf$3$subexpression$2$ebnf$1"]},{name:"Identifier$ebnf$3",symbols:["Identifier$ebnf$3","Identifier$ebnf$3$subexpression$2"],postprocess:e},{name:"Identifier",symbols:["Identifier$subexpression$2","Identifier$ebnf$2","Identifier$ebnf$3"],postprocess:e=>({type:"identifier",v:function e(t,n=1,r=[]){for(let a of t)a instanceof Array&&n>0?e(a,n-1,r):r.push(a);return r}(e,1/0).join("")})},{name:"Literal",symbols:["jsonfloat"],postprocess:e=>({type:"number",v:e[0]})},{name:"Literal",symbols:["dqstring"],postprocess:a},{name:"Literal",symbols:["sqstring"],postprocess:a},{name:"Literal",symbols:["btstring"],postprocess:a},{name:"Letter",symbols:[/[a-zA-Z_]/],postprocess:e=>e[0]},{name:"Digit",symbols:[/[0-9]/],postprocess:e=>e[0]},{name:"Dot",symbols:[/[\.]/],postprocess:e=>e[0]},{name:"Star",symbols:[{literal:"*"}]}],ParserStart:"Pipeline"};void 0!==t&&void 0!==t.exports?t.exports=i:window.grammar=i}()}},function(){return i||(0,o[c(o)[0]])((i={exports:{}}).exports,i),i.exports}),v={};p(v,{Options:()=>xe}),e.exports=(e=>m(s({},"__esModule",{value:!0}),e))(v),b();var _={};p(_,{default:()=>w}),b();var M=y(n(48808));h(_,n(48808));var w="default"in M?M.default:M;b(),b(),b(),b();var S={};p(S,{default:()=>k}),b();var x=y(n(77330));h(S,n(77330));var k="default"in x?x.default:x;b();var C={};p(C,{default:()=>A}),b();var E=y(n(2966));h(C,n(2966));var A="default"in E?E.default:E;b();var L=["transparent","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];function O(e=""){if("string"!=typeof e)return!1;if(e.startsWith("#"))return e=e.substring(1),[3,4,6,8].indexOf(e.length)>-1&&!Number.isNaN(parseInt(e,16));const t=e.trim();return!(!C.rgbColorPattern.test(t)&&!C.rgbaColorPattern.test(t))||L.includes(e.toLowerCase())}var T=["YYYY-MM-DD",k.ISO_8601,"YYYY-MM-DDTHH:mm","YYYY-MM-DDTHH:mm:ss.SSS","YYYY-MM-DDTHH:mm:ss","YYYY-MM-DD HH:MM","YYYY-MM-DD HH:MM:SS","YYYY-MM-DD HH:MM:SS.SSS"],D=["geojson","sparkline","array","string","color","number","time","null","unknown"];function z(e){return null!==e&&!(0,_.isBoolean)(e)&&""!==e&&(0,_.isFinite)(+e)&&(0,_.isNumber)(+e)}function j(e){return!!e&&("string"==typeof e?k(e,T,!0).isValid():k(e).isValid())}function P(e){return"string"==typeof e&&e.length>0}var B=(e,t)=>F(t)?I(t):Y(e),Y=(0,_.memoize)(e=>Array.isArray(e)?e.length>1&&"##__SPARKLINE__##"===e[0]?"sparkline":"array":function(e){if(!e)return!1;let t;try{t=(0,_.isObject)(e)?e:JSON.parse(e)}catch(e){return!1}return null!=t&&Object.prototype.hasOwnProperty.call(t,"coordinates")&&null!=t.coordinates&&Array.isArray(t.coordinates)&&Object.prototype.hasOwnProperty.call(t,"type")&&"MultiPolygon"===t.type}(e)?"geojson":(0,_.isObject)(e)?"unknown":z(e)?"number":P(e)&&O(e)?"color":j(e)?"time":P(e)?"string":null===e?"null":"unknown"),N={str:"string",num:"number"},F=(e={})=>{const{name:t,type:n=""}=e;return void 0!==N[n]||"_time"===t},I=(e={})=>{const{name:t,type:n}=e;if("_time"===t)return"time";const r=N[n];return void 0!==r?r:"unknown"},R=e=>{if(!e)return"unknown";const t={time:0,number:0,string:0,color:0,unknown:0,array:0,sparkline:0,null:0,geojson:0};return e.forEach(e=>{t[e.getType()]+=1}),(e=>{const t=Object.keys(e).filter(t=>e[t]>0);if(0===t.length)return"unknown";if(1===t.length)return t[0];for(let e=0;ee===n))return n}return"unknown"})(t)};b();var W=e=>z(e)?e:e||"",H=(e,t=k.defaultFormat)=>{const n=k.parseZone(e).utcOffset(),r=(e=>k.getDefaultSplunkTimezone()?k.newSplunkTime({time:e}):k(e))(e).utcOffset(n);return r.format(t)},q=class e{constructor(e,t,n){this.isTypeSafe=!0,this.type=e,this.value=t,this.coercedValue=n}static from(t){if(t.isTypeSafe)return t;const{value:n,type:r}=t,[a]=e.coerceValue(t);return new e(r,n,a)}static fromRaw(t){const n=B(t);return new e(n,t,t)}static coerceValue(e){const{type:t,value:n}=e;let r=null;try{switch(t){case"number":r=Number(n);break;case"time":{const e=j(n);r=n instanceof Date?n:e?H(n):"Invalid Date";break}case"string":r=n.toString();break;case"color":case"sparkline":case"array":case"null":case"geojson":r=n;break;default:r=""}}catch(e){}return[r]}toRawCoercedValue(){return this.type,this.coercedValue}toRawValue(){return this.type,this.value}},X=class e{static isDataPoint(t){return t instanceof e}static fromRaw(t){return new e("",q.fromRaw(t))}constructor(t,n){this.field=t,this.setValue(n),e.count+=1}getValue(){return this.value}setValue(e){this.value=q.from(e)}getRawValue(){return this.value.toRawValue()}getCoercedValue(){return this.value.toRawCoercedValue()}getField(){return e.fromRaw(this.field)}getType(){return this.value.type}};X.count=0;var V=X;b();var U=class e{constructor(e=[],t,n){this.internalPoints=[],this.internalPoints=e,e.length>0&&(this.field=e[0].field),n&&(this.field=n),this.type=t}get points(){return this.internalPoints}static isDataSeries(t){return t instanceof e}static fromRaw(t){return new e(t.map(e=>V.fromRaw(e)))}firstPoint(){return this.points[0]}lastPoint(){return this.points.slice(-1)[0]}pointsByIndexes(...t){const n=[];return t.forEach(e=>{const t=this.points[e];null!=t&&n.push(t)}),new e(n)}pointByIndex(e){let t=e;if(t<0&&(t=this.points.length+t),t<0||t>=this.points.length)return null;const n=this.points[t],{field:r}=n,{type:a,value:o}=n.getValue();return new V(r,{type:a,value:o})}delta(e){const t=this.lastPoint();if(void 0===t)return;const{field:n}=t,{type:r,value:a}=t.getValue();"number"!==r&&console.warn(`DSL delta cannot be computed for non-numerical data series of type ${r}`);let o,i=null;if(i=e>=0?this.points[e]:this.points.slice().reverse()[Math.abs(e)-1],null==i)console.warn("DSL delta cannot be computed, no data - invalid index");else{const{value:e}=i.getValue();o=a-e}return new V(n,{type:r,value:o})}setValue(e){this.points.forEach(t=>{t.setValue(e)}),this.type=this.points[0].getType()}getValue(){const e=[];return this.points.forEach(t=>{e.push(t.getValue())}),e}getRawValue(){const e=[];return this.points.forEach(t=>{e.push(t.getRawValue())}),e}getField(){return this.lastPoint().getField()}getType(){return void 0===this.type&&(this.type=R(this.points)),this.type}min(){return this.reduce((e,t)=>ee>t)}sum(){if(0===this.points.length)return;const{field:e}=this.points[0];let t=0,n=!1,r=!1;return this.points.forEach(e=>{const{value:a}=e.getValue();z(a)?(t+=+a,n=!0):r=!0}),r&&n&&console.warn("DSL sum skipped non-numeric values in series"),n?new V(e,{type:"number",value:t}):void 0}reduce(e){return this.points.reduce((t,n)=>!t||e(n.getValue().coercedValue,t.getValue().coercedValue)?n:t,void 0)}};b();var $=class e{static isDataFrame(t){return t instanceof e}constructor(e){this.series=Array.isArray(e)?e:[e]}static fromJsonCols(t){if(!(null==t?void 0:t.data))return new e([]);const{data:{fields:n=[],columns:r=[]}}=t;if(r.length!==n.length)throw new Error(`number of columns (${r.length}) does not match number of fields (${n.length})`);const a=[];return r.forEach((e,t)=>{const r=[],o=n[t],i=o.name||o,l=null==o?void 0:o.type;e.forEach(e=>{const t=B(e,{name:i,type:l});r.push(new V(i,{value:e,type:t}))}),a.push(new U(r))}),new e(a)}static fromRaw(t){const n=[];return t.forEach(e=>{n.push(U.fromRaw(e))}),new e(n)}static fromDataPrimitive(e){return(e=>$.isDataFrame(e)?e:U.isDataSeries(e)?new $([e]):V.isDataPoint(e)?new $([new U([e])]):void 0)(e)}frameBySeriesIndexes(...t){const n=[];return t.forEach(e=>{const t=this.series[e];null!=t&&n.push(t)}),new e(n)}seriesByIndex(e,t=[]){return this.series[e]||t}frameBySeriesIndexRange(t,n){return new e(this.series.slice(t,n))}frameBySeriesNames(...t){const n=[];return t.forEach(e=>{const t=this.seriesByName(e);t&&U.isDataSeries(t)&&n.push(t)}),new e(n)}frameWithoutSeriesNames(...t){return new e(null==t?this.series:this.series.filter(e=>!t.includes(e.field)&&!e.field.startsWith("_")))}frameWithoutInternalFields(){return new e(this.series.filter(e=>!e.field.startsWith("_")))}frameWithoutInternalFieldsExcept(...t){if(!t||0===t.length)return this.frameWithoutInternalFields();const n=this.series.map(e=>e.field),r=t.filter(e=>n.includes(e));return new e(this.series.filter(e=>r.includes(e.field)||!e.field.startsWith("_")))}frameBySeriesNamesOrIndexes(...t){const n=[];return t.forEach(e=>{const t=Number(e);if(Number.isNaN(t)){const t=this.seriesByName(e);t&&n.push(t)}else{const e=this.series[t];e&&n.push(e)}}),new e(n)}frameBySeriesTypes(...t){return new e(this.series.filter(e=>t.includes(e.getType())))}seriesByName(e,t=[]){var n;return null!=(n=this.series.find(t=>e===t.field))?n:t}seriesByType(e){return this.series.find(t=>t.getType()===e)}seriesByTypes(...e){return this.series.find(t=>e.some(e=>t.getType()===e))}seriesByPrioritizedTypes(...e){var t;for(const n of e){const e=this.seriesByType(n);if(Array.isArray(null==e?void 0:e.points)&&(null==(t=null==e?void 0:e.points)?void 0:t.length))return e}return this.series[0]}setValue(e){this.series.forEach(t=>t.setValue(e))}getRawValue(){const e=[];return this.series.forEach(t=>{e.push(t.getRawValue())}),e}getValue(){const e=[];return this.series.forEach(t=>{e.push(t.getValue())}),e}getField(){const e=this.series.map(e=>e.getField());return new U(e)}getType(){return this.series.map(e=>e.getType())}min(){return this.minOrMax("min")}max(){return this.minOrMax("max")}sum(){const e=new U;return this.series.forEach(t=>{const n=t.sum();n&&e.points.push(n)}),e.sum()}minOrMax(e){const t=new U;return this.series.forEach(n=>{const r=n[e]();r&&t.points.push(r)}),t[e]()}};b(),b();var G=class extends U{constructor(e,t,n){super([],t,n),this.internalPoints=[],this.values=e;const r=I({name:n,type:t});"unknown"!==r&&(this.type=r)}get points(){return this.values.forEach((e,t)=>{this.internalPoints[t]||this.createDataPointFromValueAtIndex(t)}),this.internalPoints}firstPoint(){return this.internalPoints[0]||this.createDataPointFromValueAtIndex(0),this.internalPoints[0]}lastPoint(){return this.internalPoints[this.values.length-1]||this.createDataPointFromValueAtIndex(this.values.length-1),this.internalPoints[this.internalPoints.length-1]}pointsByIndexes(...e){const t=[];return e.forEach(e=>{let n=this.internalPoints[e];n||(n=this.createDataPointFromValueAtIndex(e)),null!=n&&t.push(n)}),new U(t)}pointByIndex(e){let t=e;if(t<0&&(t=this.values.length+t),t<0||t>=this.values.length)return null;let n=this.internalPoints[t];return n||(n=this.createDataPointFromValueAtIndex(t)),n}delta(e){const t=this.lastPoint();if(void 0===t)return;const{field:n}=t,{type:r,value:a}=t.getValue();"number"!==r&&console.warn(`DSL delta cannot be computed for non-numerical data series of type ${r}`);let o,i=null;if(e>=0)i=this.internalPoints[e],i||(i=this.createDataPointFromValueAtIndex(e));else{const t=this.values.length+e;i=this.internalPoints[t],i||(i=this.createDataPointFromValueAtIndex(t))}if(null==i)console.warn("DSL delta cannot be computed, no data - invalid index");else{const{value:e}=i.getValue();o=a-e}return Number.isNaN(o)&&(o=void 0),new V(n,{type:r,value:o})}setValue(e){this.internalPoints.forEach(t=>{t.setValue(e)}),this.values.fill(e.value),this.type=R(this.points)}getValue(){const e=[];return this.points.forEach(t=>{e.push(t.getValue())}),e}getRawValue(){return this.values}createDataPointFromValueAtIndex(e){const t=B(this.values[e],{name:this.field,type:this.type});return this.internalPoints[e]=new V(String(this.field),{type:t,value:this.values[e]}),this.internalPoints[e]}},K=class extends ${static fromJsonCols(e){if(!(null==e?void 0:e.data))return new $([]);const{data:{fields:t=[],columns:n=[]}}=e;if(n.length!==t.length)throw new Error(`number of columns (${n.length}) does not match number of fields (${t.length})`);const r=[];return n.forEach((e,n)=>{const a=t[n],o=a.name||a,i=null==a?void 0:a.type;r.push(new G(e,i,o))}),new $(r)}};b(),b();var J=["number","string"];b(),b();var Z={};p(Z,{default:()=>ee}),b();var Q=y(n(52539));h(Z,n(52539));var ee="default"in Q?Q.default:Q;b();var te=class{format(e){if(e instanceof $){const t=[];return e.series.forEach((e,n)=>{t.push(this.formatSeries(e,n))}),new $(t)}return e instanceof U||e instanceof G?this.formatSeries(e):this.formatPoint(e)}formatSeries(e,t=0){const n=[];return e.points.forEach((r,a)=>{n.push(this.formatPoint(r,e,t,a))}),new U(n)}formatPoint(e,t,n=0,r=0){const{field:a}=e,o=new V(a,{type:e.getValue().type,value:e.getValue().coercedValue}),i=this.formatTypedValue(o,t,n,r);return new V(a,i)}makeArrays2D(e){if(Array.isArray(e))return Array.isArray(e[0])?e:[e];throw new Error("argument wasn't array")}};b(),b(),b();var{hasOwnProperty:ne}=Object.prototype;b();var re="rgba(123,86,219,0.4)",ae="rgba(123,86,219,1)",oe=class e extends te{constructor(t){if(super(),this.config=Se.rawTree(t)||{},this.colors=this.config.colors||[],this.stops=this.config.stops||[],!Array.isArray(this.colors)||!Array.isArray(this.stops))throw new Error("Gradient config: both 'colors' and 'stops' in should be 1D array.");this.colors.forEach(e=>{if(!O(e))throw new Error("Gradient config: every element in 'colors' should be a color.")}),e.sortArray(this.stops)}prepareStopsAndColors(t,n){const r=this.colors.length,a=this.stops.length;if(0===a)return e.computeNoStopsCase(t,n,this.colors);const o=[t,...this.stops,n];if(0===r){const r=e.computeColorsForStopsOnly(a);return e.ignoreMinMaxWhenNeeded(t,n,this.stops,o,r),{newStops:o,newColors:r}}if(a+2>=r)return e.alignColorsWithStops(t,n,this.stops,o,this.colors,a,r);throw new Error("Gradient config: too many colors set for the given stops.")}static computeNoStopsCase(e,t,n){const r=n.length,a=[re,ae];if(r>2){const a=[];for(let n=0;n{a[t]=e}),{newStops:[e,t],newColors:a}}static computeColorsForStopsOnly(e){if(1===e)return[re,ae,ae];if(2===e)return[re,re,ae,ae];throw new Error("Gradient config: provide at most two stops when colors is empty.")}static alignColorsWithStops(t,n,r,a,o,i,l){const s=[...o];if(i>=l&&s.unshift(re),e.addDefaultEndingColors(s,i+2-s.length),e.ignoreMinMaxWhenNeeded(t,n,r,a,s),a.length!==s.length)throw new Error("Gradient config: not equal length of stops and colors.");return{newStops:a,newColors:s}}static colorForValue(e,t,n){const r=t[t.length-1],a=t[0];if(e>r||er?n.length-1:0;return ee(n[t]).hex().toUpperCase()}if(t.some(e=>Number.isNaN(Number(e))))return console.warn("Could not format gradient color: stops are required to be numbers. Falling back to first color."),ee(n[0]).hex().toUpperCase()||"#000";let o=t.findIndex(t=>e<=t);o<=0&&(o=Math.min(1,t.length-1));const i=t[o],l=t[o-1];let s=0;return s=i===l?0===e?0:1:(e-l)/(i-l),ee.scale([n[o-1],n[o]])(s).hex().toUpperCase()}format(t){if(t instanceof $){let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;if(t.series.forEach(e=>{var t,a,o;if(null==(t=null==e?void 0:e.points)?void 0:t.length){const t=Number(null==(a=e.min())?void 0:a.getRawValue()),i=Number(null==(o=e.max())?void 0:o.getRawValue());Number.isNaN(t)||(n=Math.min(n,t)),Number.isNaN(i)||(r=Math.max(r,i))}}),!Number.isFinite(n)||!Number.isFinite(r))return super.format(t);const{newStops:a,newColors:o}=this.prepareStopsAndColors(n,r),i=t.series.map(t=>{const n=t.points.map(t=>{const n=t.getValue();if("number"!==n.type)return new V(t.field,{type:"color",value:void 0});const r=e.colorForValue(n.value,a,o);return new V(t.field,{type:"color",value:r})});return new U(n)});return new $(i)}return super.format(t)}prepareColorsAndStopsSeries(e){const t=Number(e.min().getRawValue()),n=Number(e.max().getRawValue());return this.prepareStopsAndColors(t,n)}prepareColorsAndStopsPoint(e){let t=this.stops,n=this.colors;return 0===this.stops.length&&(t=[0,1]),0===this.colors.length&&(n=[re,ae]),this.stops.length===this.colors.length&&1===this.stops.length&&e{e.sort((e,t)=>e-t)},oe.addDefaultEndingColors=(e,t)=>{for(let n=0;n{e>=n[0]&&(r.shift(),a.shift()),t<=n[n.length-1]&&(r.pop(),a.pop())};var ie=oe;b(),b(),b();var le={};p(le,{default:()=>ue}),b();var se=y(n(34624));h(le,n(34624));var ue="default"in se?se.default:se;function ce(e){return $.isDataFrame(e)||U.isDataSeries(e)||G.isDataSeries(e)||V.isDataPoint(e)}b(),b(),b();var de=class e{static isRawDataFrame(t){return Array.isArray(t)&&e.isRawDataSeries(t[0])}static isRawDataSeries(e){return Array.isArray(e)&&!Se.isObject(e[0])}static isRawDataPoint(e){return!Se.isObject(e)}static dataPrimitiveFromRaw(t){if(e.isRawDataFrame(t))return $.fromRaw(t);if(e.isRawDataSeries(t))return U.fromRaw(t);if(e.isRawDataPoint(t))return V.fromRaw(t);throw new Error("raw value does not resemble DataFrame, DataSeries, or DataPoint")}};b(),b(),b(),b(),b(),b();var fe=class extends te{constructor(e){super(),this.defaultVal=Se.rawTree(e)}formatTypedValue(e,t,n=0,r=0){return void 0===e.getRawValue()?q.fromRaw(this.defaultVal):e.getValue()}};b(),b();var pe={gradient:ie,matchValue:class extends te{constructor(e,t=void 0){super(),this.matches=Se.rawTree(e),this.defaultValue=void 0===t?void 0:W(t)}formatTypedValue(e){const{value:t}=e.getValue(),n=(0,_.isUndefined)(this.defaultValue)?t||"":this.defaultValue;let r=null,a=-1/0,o=!1;this.matches.forEach(e=>{if(o||!(e=>0===e.match&&(0===t||0===Number(t))||null===e.match&&null===t||!(!e||!e.match)&&("string"==typeof e.match?(null!==t||"*"===e.match)&&(e.match.includes("*")?((e,t)=>{if("*"===e)return!0;const n=e.split(/\*+/),r=n[0],a=n[n.length-1];if(r&&!t.startsWith(r))return!1;if(n.length>1&&a&&!t.endsWith(a))return!1;let o=r.length;for(let e=1;ez(t)&&z(e.match)&&parseFloat(e.match)===parseFloat(t))(e)))(e))return;if(e.match===t)return r=e,void(o=!0);const n=(e=>{const t=e.replace(/\*+/g,"*"),n=(t.match(/\*/g)||[]).length;return"*"===t?-100:t.length-2*n})(e.match);n>a&&(r=e,a=n)});const i=null!==r?r.value:n;return{value:i,type:B(i)}}},prefix:class extends te{constructor(e){super(),this.prefix=Se.rawTree(e)}formatTypedValue(e){const{value:t}=e.getValue();return{value:this.prefix+t.toString(),type:"string"}}},rangeValue:class extends te{constructor(e,t){super(),this.ranges=Se.rawTree(e),this.defaultValue=W(t)}formatTypedValue(e){const{type:t,value:n}=e.getValue();let r;"number"!==t&&console.warn(`type '${t}' with value '${n}' is not a valid input to rangeValue`);const a=(0,_.isUndefined)(this.defaultValue)&&!z(n)?n:this.defaultValue;if(z(n)){const e=parseFloat(n);for(let t=0;t=this.ranges[t].from||e>=this.ranges[t].from&&e{const{type:r,config:a}=this.config.formatters[e.getRawValue()],o=pe[r],i=n.pointByIndex(t);if(!o)throw new Error(`unknown formatter type "${r}" was specified`);return new o(a).format(i,n)})}},type:class extends te{formatTypedValue(e){return e&&null===e.getRawValue()?q.from({type:"string",value:"null"}):q.fromRaw(e.getType())}},formatByType:class extends te{constructor(e){super(),this.config={number:{},string:{},time:{format:""}},this.config=(0,_.defaultsDeep)({},e,this.config)}formatTypedValue(e){const{number:t,string:n,time:r}=this.config,a=e.getValue();switch(a.type){case"number":return new q("string",((e,t)=>{const n={prefix:(0,_.isEmpty)(t.unit)||"before"!==t.unitPosition?void 0:`${t.unit} `,postfix:(0,_.isEmpty)(t.unit)||"before"===t.unitPosition?void 0:` ${t.unit}`,mantissa:"number"==typeof t.precision?t.precision:void 0},r=(0,_.defaultsDeep)({},(0,_.omitBy)(n,_.isUndefined),(0,_.omit)(t,["unit","unitPosition","precision"]));return ue(e).format(r)})(e.getRawValue(),t),a.value);case"string":return new q("string",(o=a.value,(0,_.isEmpty)((i=n).unit)?`${o}`:"before"===i.unitPosition?`${i.unit} ${o}`:`${o} ${i.unit}`),a.value);case"time":return new q("string",((e,t,n)=>"string"!=typeof n.format||(0,_.isEmpty)(n.format)?t.toString():H(e,n.format))(a.coercedValue,a.value,r),a.value);default:return e.getValue()}var o,i}},frame:class{constructor(...e){this.args=[],this.args=e.map(e=>ce(e)?e:de.dataPrimitiveFromRaw(Se.rawTree(e)))}format(e){let t=[];return this.args.forEach(e=>{if(U.isDataSeries(e))t.push(e);else if($.isDataFrame(e))t=t.concat(e.series);else{if(!V.isDataPoint(e))throw new Error("frame formatter args incorrect");t.push(new U([e]))}}),new $(t)}},prepend:class{constructor(e){this.prependMe=ce(e)?e:de.dataPrimitiveFromRaw(Se.rawTree(e))}format(e){if($.isDataFrame(e))return this.prependToFrame(e);if(U.isDataSeries(e))return this.prependToSeries(e);throw new Error("Can only prepend to DataFrame or DataSeries")}prependToFrame(e){if($.isDataFrame(this.prependMe))return this.prependFrameToFrame(e);if(U.isDataSeries(this.prependMe))return this.prependASeriesToEachSeriesOfFrame(e);if(V.isDataPoint(this.prependMe))return this.prependAPointToEachSeriesOfFrame(e);throw new Error("'prepend' formatter only accepts DataFrame, DataSeries, or DataPoint as argument")}prependToSeries(e){if($.isDataFrame(this.prependMe))throw new Error("cannot prepend a DataFrame to a DataSeries");if(U.isDataSeries(this.prependMe))return this.prependSeriesToSeries(e,this.prependMe);if(V.isDataPoint(this.prependMe))return this.prependPointToSeries(e);throw new Error("'prepend' to series formatter only DataSeries, or DataPoint as argument")}prependAPointToEachSeriesOfFrame(e){return new $(e.series.map(e=>this.prependPointToSeries(e)))}prependASeriesToEachSeriesOfFrame(e){return new $(e.series.map(e=>this.prependSeriesToSeries(e,this.prependMe)))}prependFrameToFrame(e){const t=this.prependMe.series.length,n=e.series.length;if(t!==n)throw new Error(`can't prepend a frame with ${t} columns to a field with ${n} columns`);return new $(e.series.map((e,t)=>this.prependSeriesToSeries(e,this.prependMe.seriesByIndex(t))))}prependSeriesToSeries(e,t){const{field:n}=e,r=e.points.length>0?e.points[0].getValue().type:void 0,a=t.points.length>0?t.points[0].getValue().type:void 0;if(r&&a&&r!==a)throw new Error(`cannot prepend ${a} to ${r}`);return new U(t.points.map(e=>new V(n,e.getValue())).concat(e.points))}prependPointToSeries(e){const{field:t}=e,n=e.firstPoint().getValue().type,r=this.prependMe.getValue(),a=r.type;if(n!==a)throw new Error(`cannot prepend point of type ${a} to series of type ${n}`);const o=new V(t,r);return new U([o,...e.points])}},objects:class{constructor(e){this.config=Se.rawTree(e)}format(e){if($.isDataFrame(e)){const t=this.seriesToObjects(e.series[0]);for(let n=1;n{let n=t.field;return this.config&&this.config.rename&&(n=this.config.rename[n]||n),e.push({[n]:t.getRawValue()}),e},[])}},setColorChannel:class extends te{constructor(e){super(),this.config=Se.rawTree(e)}formatTypedValue(e){const{value:t,type:n}=e.getValue();if("color"!==n)return{type:n,value:t};const r=(0,_.get)(this,"config.channel"),a=(0,_.get)(this,"config.value");r&&null!=t||console.warn("SetColorChannel requires channel (ex: hsv.v, rgb.r) and value configuration to be set. It will return the same color when missing.");try{if("transparent"===t.toString())throw new Error('Cannot set color channel on "transparent" color');return{type:"color",value:ee(t.toString()).set(r,a).hex()}}catch(e){return console.warn(e),{type:"color",value:t}}}},maxContrast:class extends te{constructor(e){super(),this.config=Se.rawTree(e)}formatTypedValue(e){const{value:t,type:n}=e.getValue();if("color"!==n||!O(t))return{type:n,value:t};const r=(0,_.get)(this,"config.colors"),a=(0,_.get)(this,"config.default");if(!r||!Array.isArray(r)||Array.isArray(r)&&0===r.length)return O(a)?{type:"color",value:a}:{type:n,value:t};if("transparent"===t&&O(a))return{type:"color",value:a};try{return{type:"color",value:(0,_.chain)(r).map(e=>({color:e,contrast:ee.contrast(t,e)})).maxBy("contrast").value().color}}catch(e){return console.warn(e),{type:"color",value:a||t}}}},renameSeries:class extends fe{constructor(e){super(e),this.newFieldName=e}formatPoint(e,t,n=0,r=0){return 0===n&&"string"==typeof this.newFieldName&&this.newFieldName.length>0?new V(this.newFieldName,this.formatTypedValue(e,t,n,r)):super.formatPoint(e,t,n,r)}},divideBy:class extends te{constructor(e){super(),this.divisor=Se.rawTree(e)}formatTypedValue(e){const{value:t}=e.getValue();return{value:0!==this.divisor&&t/this.divisor,type:"number"}}},subtract:class extends te{constructor(e){super(),this.valToSubtract=Se.rawTree(e)}formatTypedValue(e){const{value:t}=e.getValue();return{value:0!==this.valToSubtract&&t-this.valToSubtract,type:"number"}}}};b();var me=class e{constructor(e,t,n,r){this.local=[],this.visitedPaths=new Set,this.context=e.context,this.executedOptions=e.options,this.frames=t,this.themeFunc=n,this.bypassCloneDeepOptionScope=r,this.local.push(this.executedOptions)}resolve(t){const n=t.split(".");let r=null;return r=e.isQualified(n)?this.resolveQualifiedIdentifier(n):this.resolveUnqualifiedIdentifier(n),this.bypassCloneDeepOptionScope?r:(0,_.cloneDeep)(r)}static isQualified(t){const n=t[0];return e.SCOPES.includes(n)}resolveUnqualifiedIdentifier(t){const n=e.SCOPES;let r;for(let e=0;ege}),b();var be=y(n(63662));h(ye,n(63662));var ge="default"in be?be.default:be,ve=g(),_e=class e{static parse(t){if(e.cache[t])return[...e.cache[t]];const n=new ye.Parser(ve);return n.feed(t),n.results.length>1&&console.warn(`Ambiguous parse of '${t}'`),0===n.results.length&&console.warn(`No parsed results for '${t}'`),e.cache[t]=[...n.results[0]],n.results[0]}};_e.cache={};var Me=_e;b();var we=class e{static parseOptions(t){const n={simpleOptions:{},expressions:{},context:t.context},{options:r}=t;return Object.keys(r).forEach(t=>{const a=r[t];e.isDslString(a)?n.expressions[t]=Me.parse(e.withoutArrow(a)):n.simpleOptions[t]=a}),n}static isDslString(e){return!!e&&e.toString().trim().startsWith(">")}static withoutArrow(e){return e.toString().match(/\s*>\s*(.+$)/)[1].trim()}static parse(e){const{dimensions:t,context:n}=e,r={dimensions:{},context:n};return Object.keys(t).forEach(e=>{const n={value:[]};let a=null;a="string"==typeof t[e]?t[e]:t[e].value,n.value=Me.parse(a),r.dimensions[e]=n}),r}},Se=class e{executeOptions(t,n,r,a){const o=(0,_.cloneDeep)(t),i=new he(o,n,r,a);return this.eval(o,i),e.rawTree(o.options)}eval(e,t,n=[]){if(t.pushLocalScope(e),t.addToVisitedList(n),Array.isArray(e))e.forEach((r,a)=>{n.push(a.toString()),e[a]=this.eval(e[a],t,n),n.pop()});else if((0,_.isPlainObject)(e))Object.keys(e).forEach(r=>{n.push(r),e[r]=this.eval(e[r],t,n),n.pop()});else if(we.isDslString(e)){t.popLocalScope();const r=this.evalDsl(e,t);return t.removeFromVisitedList(n),r}return t.popLocalScope(),t.removeFromVisitedList(n),e}evalDsl(e,t){try{const n=Me.parse(we.withoutArrow(e));return this.execOptionsPipeline(n,t,t.frames.primary)}catch(e){return}}static rawTree(t){return Array.isArray(t)?(t.forEach((n,r)=>{t[r]=e.rawTree(t[r])}),t):(0,_.isPlainObject)(t)?(Object.keys(t).forEach(n=>{t[n]=e.rawTree(t[n])}),t):ce(t)?t.getRawValue():t}execOptionsPipeline(e,t,n){let r=n;return e.forEach((n,a)=>{if("method"===n.type)r&&(r=this.executeMethod(n,r,t.context));else if("identifier"===n.type)r=t.resolve(n.v.toString()).val;else if(J.includes(n.type)){const e=q.from({type:n.type,value:n.v});r=new V("",e)}if(a!==e.length-1&&r&&!ce(r))try{r=de.dataPrimitiveFromRaw(r)}catch(e){const t=n.v?n.v:n.name;throw new Error(`Output of '${t}' cannot be piped because it is not a DataFrame, DataPoint, or DataSeries`)}}),r}executeMethod(e,t,n){const r=e,a=this.args(r.args,n),o=t[r.name];return o?o.apply(t,a):this.applyFormatter(t,r.name,a)}applyFormatter(e,t,n){const r=pe[t];if(r)return new r(...n).format(e);throw Error(`No such method or formatter function: '${t}'`)}applyLiteral(e,t){const{type:n,v:r}=t;e.setValue({type:n,value:r})}args(e,t){return e.reduce((e,n)=>{const r=this.getArg(n,t);return e.push(r),e},[])}getArg(e,t){if("identifier"===e.type){const n=t[e.v];if(!n)throw Error(`Could not resolve ${e.v} in context. Did you mean one of '[${Object.keys(t).toString()}]'`);return n}return e.v}static isObject(e){return Object(e)===e}},xe=class e{static evaluate(t,n,r,a,o,i){let l;return l=a||e.dataFrameFromDataSource(n,i),(new Se).executeOptions(t,l,r,o)}static dataFrameFromDataSource(e,t){return(0,_.mapValues)(e,t?e=>K.fromJsonCols(e):e=>$.fromJsonCols(e))}}},40718(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(99420))},40775(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={"brand-bg-default":"#373c42","brand-bg-hover":"#373c42","brand-bg-focus":"#464c54","brand-bg-active":"#464c54","brand-bg-disabled":"#e1e4e8","brand-bg-gradient-start":"#373c42","brand-bg-gradient-end":"#0f1214","brand-bg-gradient-default":"linear-gradient(90deg, #373c42 0%, #0f1214 100%)","brand-bg-strong-default":"#373c42","brand-bg-strong-hover":"#373c42","brand-bg-strong-focus":"#373c42","brand-bg-strong-active":"#373c42","brand-text-default":"#f7f7f7","brand-text-hover":"#f7f7f7","brand-text-active":"#f7f7f7","brand-text-weak-default":"#f7f7f7","brand-text-weak-hover":"#f7f7f7","brand-text-weak-focus":"#f7f7f7","brand-text-weak-active":"#f7f7f7","brand-text-strong-default":"#f0f1f2","brand-icon-default":"#f7f7f7","brand-icon-hover":"#ffffff","brand-icon-active":"#ffffff","brand-icon-weak-default":"#f7f7f7","brand-icon-weak-hover":"#f7f7f7","brand-icon-weak-focus":"#f7f7f7","brand-icon-weak-active":"#f7f7f7","brand-border-active":"#cce1ff","brand-accent-icon-default":"#c1c6cc","brand-accent-icon-focus":"#ffffff","brand-accent-icon-active":"#6bbf41","brand-accent-icon-disabled":"#6f7680","brand-accent-icon-weak-default":"#6f7680","brand-accent-icon-weak-focus":"#ffffff","brand-accent-icon-weak-active":"#398519","brand-accent-icon-weak-disabled":"#ffffff","brand-accent-icon-medium-default":"#979fa8","brand-accent-icon-medium-focus":"#ffffff","brand-accent-icon-medium-active":"#52a62b","brand-accent-icon-medium-disabled":"#ffffff","brand-accent-border-default":"#52a62b","brand-accent-border-hover":"#7e868f","brand-accent-border-focus":"#52a62b","brand-accent-border-active":"#52a62b","brand-accent-border-weak-default":"#d0d4d9","brand-accent-border-weak-hover":"#ffffff","brand-accent-border-weak-focus":"#ffffff","brand-accent-border-weak-active":"#398519","brand-accent-border-weak-disabled":"#ffffff","brand-accent-border-medium-default":"#596069","brand-accent-border-medium-hover":"#ffffff","brand-accent-border-medium-focus":"#ffffff","brand-accent-border-medium-active":"#2b7a0c","brand-accent-border-medium-disabled":"#ffffff","brand-accent-border-strong-default":"#0f1214","brand-accent-border-strong-hover":"#ffffff","brand-accent-border-strong-focus":"#ffffff","brand-accent-border-strong-active":"#0f1214","brand-accent-border-strong-disabled":"#ffffff","base-bg-default":"#0f1214","base-bg-hover":"#0f1214","base-bg-active":"#0f1214","base-bg-disabled":"#464c54","base-bg-weak-default":"#23282e","base-bg-weak-hover":"#373c42","base-bg-weak-active":"#23282e","base-bg-weak-disabled":"#464c54","base-bg-medium-default":"#373c42","base-bg-medium-hover":"#464c54","base-bg-medium-active":"#373c42","base-bg-medium-disabled":"#e85fc6","base-bg-strong-default":"#a7adb5","base-bg-strong-hover":"#d0d4d9","base-bg-strong-focus":"#d0d4d9","base-bg-strong-active":"#d0d4d9","base-bg-strong-disabled":"#596069","base-icon-in-default":"#23282e","base-icon-in-hover":"#23282e","base-icon-in-focus":"#23282e","base-icon-in-active":"#23282e","base-icon-in-disabled":"#6f7680","base-text-default":"#f7f7f7","base-text-disabled":"#6f7680","base-text-weak-default":"#889099","base-text-weak-disabled":"#6f7680","base-text-medium-default":"#d0d4d9","base-text-medium-disabled":"#6f7680","base-text-strong-default":"#f0f1f2","base-text-strong-disabled":"#6f7680","base-text-in-default":"#23282e","base-text-in-hover":"#23282e","base-text-in-focus":"#23282e","base-text-in-active":"#23282e","base-text-in-disabled":"#23282e","base-text-in-weak-default":"#ffffff","base-border-default":"#596069","base-border-weak-default":"#23282e","base-border-medium-default":"#464c54","base-border-strong-default":"#c1c6cc","base-border-gradient-default":"linear-gradient(180deg, #0f1214 0%, #656c75 50%, #0f1214 100%)","inverse-bg-default":"#373c42","inverse-bg-hover":"#373c42","inverse-bg-focus":"#464c54","inverse-bg-active":"#464c54","inverse-bg-disabled":"#e1e4e8","inverse-bg-gradient-start":"#373c42","inverse-bg-gradient-end":"#0f1214","inverse-bg-gradient-default":"linear-gradient(90deg, #373c42 0%, #0f1214 100%)","inverse-bg-weak-default":"#464c54","inverse-text-default":"#f7f7f7","inverse-text-hover":"#f7f7f7","inverse-text-focus":"#f7f7f7","inverse-text-active":"#f7f7f7","inverse-text-disabled":"#656c75","inverse-text-medium-default":"#c1c6cc","inverse-text-medium-disabled":"#656c75","inverse-icon-default":"#f7f7f7","inverse-icon-hover":"#ffffff","inverse-icon-focus":"#ffffff","inverse-icon-active":"#ffffff","inverse-icon-disabled":"#6f7680","inverse-icon-strong-default":"#ffffff","inverse-icon-strong-hover":"#ffffff","inverse-icon-strong-focus":"#ffffff","inverse-icon-strong-active":"#ffffff","inverse-icon-strong-disabled":"#6f7680","inverse-border-default":"#6f7680","inverse-border-hover":"#649ef5","inverse-border-focus":"#cce1ff","inverse-border-active":"#cce1ff","inverse-border-disabled":"#e1e4e8","control-bg-default":"#23282e","control-bg-hover":"#2a3442","control-bg-focus":"#2a3442","control-bg-active":"#2a3442","control-bg-disabled":"#373c42","control-bg-weak-default":"#23282e","control-bg-weak-hover":"#373c42","control-bg-weak-focus":"#23282e","control-bg-weak-active":"#2a3442","control-bg-weak-disabled":"#373c42","control-bg-medium-default":"#23282e","control-bg-medium-hover":"#373c42","control-bg-medium-focus":"#979fa8","control-bg-medium-active":"#2a3442","control-bg-medium-disabled":"#373c42","control-bg-strong-default":"#649ef5","control-bg-strong-hover":"#7cadf7","control-bg-strong-focus":"#7cadf7","control-bg-strong-active":"#7cadf7","control-bg-strong-disabled":"#596069","control-icon-default":"#649ef5","control-icon-hover":"#7cadf7","control-icon-focus":"#7cadf7","control-icon-active":"#7cadf7","control-icon-disabled":"#cce1ff","control-icon-weak-default":"#c1c6cc","control-icon-weak-hover":"#649ef5","control-icon-weak-focus":"#649ef5","control-icon-weak-active":"#649ef5","control-icon-weak-disabled":"#6f7680","control-icon-medium-default":"#649ef5","control-icon-medium-hover":"#979fa8","control-icon-medium-focus":"#979fa8","control-icon-medium-active":"#889099","control-icon-medium-disabled":"#e1e4e8","control-icon-strong-default":"#d0d4d9","control-icon-strong-hover":"#f0f1f2","control-icon-strong-focus":"#649ef5","control-icon-strong-active":"#649ef5","control-icon-strong-disabled":"#6f7680","control-icon-in-default":"#23282e","control-icon-in-hover":"#23282e","control-icon-in-focus":"#23282e","control-icon-in-active":"#23282e","control-icon-in-disabled":"#6f7680","control-icon-in-strong-default":"#649ef5","control-icon-in-strong-hover":"#7cadf7","control-icon-in-strong-focus":"#7cadf7","control-icon-in-strong-active":"#7cadf7","control-icon-in-strong-disabled":"#6f7680","control-border-default":"#7e868f","control-border-hover":"#7cadf7","control-border-focus":"#7cadf7","control-border-active":"#7cadf7","control-border-disabled":"#596069","control-border-weak-default":"#656c75","control-border-weak-hover":"#7cadf7","control-border-weak-focus":"#7cadf7","control-border-weak-active":"#7cadf7","control-border-weak-disabled":"#596069","control-border-medium-default":"#649ef5","control-border-medium-hover":"#649ef5","control-border-medium-focus":"#649ef5","control-border-medium-active":"#649ef5","control-border-medium-disabled":"#596069","control-border-strong-default":"#c1c6cc","control-border-strong-hover":"#656c75","control-border-strong-focus":"#656c75","control-border-strong-active":"#649ef5","control-border-strong-disabled":"#596069","interact-bg-default":"#649ef5","interact-bg-hover":"#7cadf7","interact-bg-focus":"#7cadf7","interact-bg-active":"#7cadf7","interact-bg-disabled":"#446392","interact-bg-weak-default":"#23282e","interact-bg-weak-hover":"#2f3d52","interact-bg-weak-focus":"#2f3d52","interact-bg-weak-active":"#2f3d52","interact-bg-weak-disabled":"#464c54","interact-bg-medium-default":"#649ef5","interact-bg-medium-hover":"#3a5276","interact-bg-medium-active":"#3a5276","interact-bg-strong-hover":"#596069","interact-bg-strong-active":"#596069","interact-text-default":"#649ef5","interact-text-hover":"#7cadf7","interact-text-focus":"#7cadf7","interact-text-active":"#7cadf7","interact-text-disabled":"#446392","interact-text-weak-default":"#c1c6cc","interact-text-weak-hover":"#649ef5","interact-text-weak-focus":"#649ef5","interact-text-weak-active":"#649ef5","interact-text-weak-disabled":"#6f7680","interact-text-in-default":"#23282e","interact-text-in-hover":"#23282e","interact-text-in-focus":"#23282e","interact-text-in-active":"#23282e","interact-text-in-disabled":"#23282e","interact-icon-default":"#649ef5","interact-icon-hover":"#7cadf7","interact-icon-focus":"#7cadf7","interact-icon-active":"#7cadf7","interact-icon-disabled":"#446392","interact-icon-weak-default":"#c1c6cc","interact-icon-weak-hover":"#d0d4d9","interact-icon-weak-focus":"#d0d4d9","interact-icon-weak-active":"#d0d4d9","interact-icon-weak-disabled":"#6f7680","interact-icon-medium-default":"#c1c6cc","interact-icon-medium-hover":"#649ef5","interact-icon-medium-focus":"#649ef5","interact-icon-medium-active":"#649ef5","interact-icon-medium-disabled":"#6f7680","interact-icon-strong-default":"#d0d4d9","interact-icon-strong-hover":"#f0f1f2","interact-icon-strong-focus":"#f0f1f2","interact-icon-strong-active":"#f0f1f2","interact-icon-strong-disabled":"#6f7680","interact-icon-in-default":"#23282e","interact-icon-in-hover":"#23282e","interact-icon-in-focus":"#23282e","interact-icon-in-active":"#23282e","interact-icon-in-disabled":"#23282e","interact-border-default":"#649ef5","interact-border-hover":"#7cadf7","interact-border-focus":"#7cadf7","interact-border-active":"#7cadf7","interact-border-disabled":"#446392","interact-border-weak-default":"#656c75","interact-border-weak-hover":"#cce1ff","interact-border-weak-focus":"#e1e4e8","interact-border-weak-active":"#e1e4e8","interact-border-weak-disabled":"#596069","interact-border-medium-default":"#649ef5","interact-border-medium-hover":"#a3c8ff","interact-border-medium-focus":"#649ef5","interact-border-medium-active":"#649ef5","interact-border-medium-disabled":"#e1e4e8","positive-bg-default":"#33bbf5","positive-bg-hover":"#33bbf5","positive-bg-focus":"#33bbf5","positive-bg-active":"#33bbf5","positive-bg-disabled":"#33bbf5","positive-bg-weak-default":"#23282e","positive-bg-weak-hover":"#23282e","positive-bg-weak-focus":"#23282e","positive-bg-weak-active":"#23282e","positive-bg-weak-disabled":"#23282e","positive-bg-medium-default":"#28546a","positive-bg-medium-hover":"#28546a","positive-bg-medium-focus":"#28546a","positive-bg-medium-active":"#28546a","positive-bg-medium-disabled":"#373c42","positive-bg-strong-default":"#173746","positive-icon-default":"#33bbf5","positive-icon-hover":"#33bbf5","positive-icon-focus":"#33bbf5","positive-icon-active":"#33bbf5","positive-icon-disabled":"#596069","positive-icon-weak-default":"#6fd2fc","positive-icon-weak-hover":"#6fd2fc","positive-icon-weak-focus":"#6fd2fc","positive-icon-weak-active":"#6fd2fc","positive-icon-weak-disabled":"#596069","positive-icon-strong-default":"#33bbf5","positive-icon-strong-hover":"#33bbf5","positive-icon-strong-focus":"#33bbf5","positive-icon-strong-active":"#33bbf5","positive-icon-strong-disabled":"#2b7192","positive-icon-in-default":"#23282e","positive-icon-in-hover":"#23282e","positive-icon-in-focus":"#23282e","positive-icon-in-active":"#23282e","positive-icon-in-disabled":"#23282e","positive-border-default":"#33bbf5","positive-border-hover":"#33bbf5","positive-border-focus":"#33bbf5","positive-border-active":"#33bbf5","positive-border-disabled":"#33bbf5","positive-border-weak-default":"#23282e","positive-border-weak-hover":"#33bbf5","positive-border-weak-focus":"#33bbf5","positive-border-weak-active":"#33bbf5","positive-border-weak-disabled":"#596069","positive-border-strong-default":"#f7f7f7","positive-border-strong-hover":"#f7f7f7","positive-border-strong-focus":"#f7f7f7","positive-border-strong-active":"#f7f7f7","positive-border-strong-disabled":"#f7f7f7","positive-text-in-default":"#23282e","positive-text-in-hover":"#23282e","positive-text-in-focus":"#23282e","positive-text-in-active":"#23282e","positive-text-in-disabled":"#23282e","warning-bg-default":"#f0c243","warning-bg-hover":"#f0c243","warning-bg-focus":"#f0c243","warning-bg-active":"#f0c243","warning-bg-disabled":"#f0c243","warning-bg-weak-default":"#23282e","warning-bg-weak-hover":"#23282e","warning-bg-weak-focus":"#23282e","warning-bg-weak-active":"#23282e","warning-bg-weak-disabled":"#23282e","warning-bg-medium-default":"#5c4d28","warning-bg-medium-hover":"#5c4d28","warning-bg-medium-focus":"#5c4d28","warning-bg-medium-active":"#5c4d28","warning-bg-medium-disabled":"#373c42","warning-bg-strong-default":"#35301c","warning-icon-default":"#f0c243","warning-icon-hover":"#f0c243","warning-icon-focus":"#f0c243","warning-icon-active":"#f0c243","warning-icon-disabled":"#596069","warning-icon-strong-default":"#f0c243","warning-icon-strong-hover":"#f0c243","warning-icon-strong-focus":"#f0c243","warning-icon-strong-active":"#f0c243","warning-icon-strong-disabled":"#f0c243","warning-icon-in-default":"#23282e","warning-icon-in-hover":"#23282e","warning-icon-in-focus":"#23282e","warning-icon-in-active":"#23282e","warning-icon-in-disabled":"#23282e","warning-border-default":"#f0c243","warning-border-hover":"#f0c243","warning-border-focus":"#f0c243","warning-border-active":"#f0c243","warning-border-disabled":"#f0c243","warning-border-weak-default":"#23282e","warning-border-weak-hover":"#23282e","warning-border-weak-focus":"#23282e","warning-border-weak-active":"#23282e","warning-border-weak-disabled":"#596069","warning-border-strong-default":"#f7f7f7","warning-border-strong-hover":"#f7f7f7","warning-border-strong-focus":"#f7f7f7","warning-border-strong-active":"#f7f7f7","warning-border-strong-disabled":"#f7f7f7","warning-text-in-default":"#23282e","warning-text-in-hover":"#23282e","warning-text-in-focus":"#23282e","warning-text-in-active":"#23282e","warning-text-in-disabled":"#23282e","severe-warning-bg-default":"#f7782f","severe-warning-bg-hover":"#f7782f","severe-warning-bg-focus":"#f7782f","severe-warning-bg-active":"#f7782f","severe-warning-bg-disabled":"#f7782f","severe-warning-bg-weak-default":"#23282e","severe-warning-bg-weak-hover":"#23282e","severe-warning-bg-weak-focus":"#23282e","severe-warning-bg-weak-active":"#23282e","severe-warning-bg-weak-disabled":"#23282e","severe-warning-bg-medium-default":"#644637","severe-warning-bg-medium-hover":"#644637","severe-warning-bg-medium-focus":"#644637","severe-warning-bg-medium-active":"#644637","severe-warning-bg-medium-disabled":"#373c42","severe-warning-bg-strong-default":"#462e21","severe-warning-icon-default":"#f7782f","severe-warning-icon-hover":"#f7782f","severe-warning-icon-focus":"#f7782f","severe-warning-icon-active":"#f7782f","severe-warning-icon-disabled":"#596069","severe-warning-icon-strong-default":"#fc8d4c","severe-warning-icon-strong-hover":"#fc8d4c","severe-warning-icon-strong-focus":"#fc8d4c","severe-warning-icon-strong-active":"#fc8d4c","severe-warning-icon-strong-disabled":"#fc8d4c","severe-warning-icon-in-default":"#23282e","severe-warning-icon-in-hover":"#23282e","severe-warning-icon-in-focus":"#23282e","severe-warning-icon-in-active":"#23282e","severe-warning-icon-in-disabled":"#23282e","severe-warning-border-default":"#f7782f","severe-warning-border-hover":"#f7782f","severe-warning-border-focus":"#f7782f","severe-warning-border-active":"#f7782f","severe-warning-border-disabled":"#f7782f","severe-warning-border-weak-default":"#23282e","severe-warning-border-weak-hover":"#23282e","severe-warning-border-weak-focus":"#23282e","severe-warning-border-weak-active":"#23282e","severe-warning-border-weak-disabled":"#596069","negative-bg-default":"#fa5762","negative-bg-hover":"#ff6e72","negative-bg-focus":"#ff6e72","negative-bg-active":"#ff6e72","negative-bg-disabled":"#8f3f48","negative-bg-weak-default":"#23282e","negative-bg-weak-hover":"#984952","negative-bg-weak-focus":"#984952","negative-bg-weak-active":"#984952","negative-bg-weak-disabled":"#373c42","negative-bg-medium-default":"#63363e","negative-bg-medium-hover":"#63363e","negative-bg-medium-focus":"#63363e","negative-bg-medium-active":"#63363e","negative-bg-medium-disabled":"#373c42","negative-bg-strong-default":"#46272a","negative-text-default":"#fa5762","negative-text-hover":"#ff878b","negative-text-focus":"#ff878b","negative-text-active":"#ff878b","negative-text-disabled":"#8f3f48","negative-text-in-default":"#23282e","negative-text-in-hover":"#23282e","negative-text-in-focus":"#23282e","negative-text-in-active":"#23282e","negative-text-in-disabled":"#23282e","negative-icon-default":"#fa5762","negative-icon-hover":"#ff878b","negative-icon-focus":"#ff878b","negative-icon-active":"#ff878b","negative-icon-disabled":"#8f3f48","negative-icon-weak-default":"#ffb2b5","negative-icon-weak-hover":"#ffb2b5","negative-icon-weak-focus":"#ffb2b5","negative-icon-weak-active":"#ffb2b5","negative-icon-weak-disabled":"#596069","negative-icon-in-default":"#23282e","negative-icon-in-hover":"#23282e","negative-icon-in-focus":"#23282e","negative-icon-in-active":"#23282e","negative-icon-in-disabled":"#23282e","negative-border-default":"#fa5762","negative-border-hover":"#ff878b","negative-border-focus":"#ff878b","negative-border-active":"#ff878b","negative-border-disabled":"#914b50","negative-border-weak-default":"#23282e","negative-border-weak-hover":"#23282e","negative-border-weak-focus":"#23282e","negative-border-weak-active":"#23282e","negative-border-weak-disabled":"#596069","negative-border-medium-default":"#eb4651","negative-border-medium-hover":"#ff878b","negative-border-medium-focus":"#ff878b","negative-border-medium-active":"#ff878b","negative-border-medium-disabled":"#8f3f48","negative-border-strong-default":"#f7f7f7","negative-border-strong-hover":"#ffffff","negative-border-strong-focus":"#f7f7f7","negative-border-strong-active":"#f7f7f7","negative-border-strong-disabled":"#f7f7f7","info-bg-default":"#b587fa","info-bg-hover":"#b587fa","info-bg-focus":"#b587fa","info-bg-active":"#b587fa","info-bg-disabled":"#b587fa","info-bg-weak-default":"#23282e","info-bg-weak-hover":"#23282e","info-bg-weak-focus":"#23282e","info-bg-weak-active":"#23282e","info-bg-weak-disabled":"#23282e","info-bg-medium-default":"#534a6d","info-bg-medium-hover":"#534a6d","info-bg-medium-focus":"#534a6d","info-bg-medium-active":"#534a6d","info-bg-medium-disabled":"#373c42","info-bg-strong-default":"#352d49","info-icon-default":"#b587fa","info-icon-hover":"#b587fa","info-icon-focus":"#b587fa","info-icon-active":"#b587fa","info-icon-disabled":"#596069","info-icon-weak-default":"#a974f7","info-icon-weak-hover":"#a974f7","info-icon-weak-focus":"#a974f7","info-icon-weak-active":"#a974f7","info-icon-weak-disabled":"#596069","info-icon-in-default":"#23282e","info-icon-in-hover":"#23282e","info-icon-in-focus":"#23282e","info-icon-in-active":"#23282e","info-icon-in-disabled":"#23282e","info-border-default":"#b587fa","info-border-hover":"#b587fa","info-border-focus":"#b587fa","info-border-active":"#b587fa","info-border-disabled":"#b587fa","info-border-weak-default":"#23282e","info-border-weak-hover":"#23282e","info-border-weak-focus":"#23282e","info-border-weak-active":"#23282e","info-border-weak-disabled":"#596069","dormant-bg-default":"#6f7680","dormant-bg-disabled":"#6f7680","dormant-bg-medium-default":"#464c54","dormant-bg-medium-disabled":"#373c42","dormant-icon-default":"#c1c6cc","dormant-icon-disabled":"#596069","dormant-icon-medium-default":"#ffffff","dormant-icon-in-default":"#23282e","dormant-icon-in-disabled":"#23282e","dormant-icon-in-medium-default":"#23282e","dormant-border-default":"#a7adb5","dormant-border-disabled":"#596069","accent-a-default":"#9ca6ff","accent-a-hover":"#8a95ff","accent-a-weak-default":"#4d5477","accent-b-default":"#e3447c","accent-b-hover":"#cf3a7a","accent-b-weak-default":"#704959","accent-c-default":"#fcb3c8","accent-c-hover":"#ff87a9","accent-c-weak-default":"#6f5964","accent-d-default":"#9b5ff5","accent-d-hover":"#8d4eed","accent-d-weak-default":"#5b5077","accent-e-default":"#9dba4c","accent-e-hover":"#89ab2c","accent-e-weak-default":"#4e5b39","accent-f-default":"#d95a1a","accent-f-hover":"#c44f14","accent-f-weak-default":"#6f4b39","accent-g-default":"#4ad9d9","accent-g-hover":"#17c2c2","accent-g-weak-default":"#1f5e62","accent-h-default":"#028e99","accent-h-hover":"#01818c","accent-h-weak-default":"#456a6d","accent-i-default":"#f582d8","accent-i-hover":"#f26dd1","accent-i-weak-default":"#6c476a","accent-j-default":"#767eb2","accent-j-hover":"#6871a3","accent-j-weak-default":"#505569","accent-k-default":"#4cbf7f","accent-k-hover":"#36b26e","accent-k-weak-default":"#315d4a","in-progress-bg-medium-default":"#534a6d","in-progress-bg-medium-hover":"#534a6d","in-progress-bg-medium-focus":"#534a6d","in-progress-bg-medium-active":"#534a6d","in-progress-bg-medium-disabled":"#373c42","in-progress-icon-default":"#b587fa","in-progress-icon-hover":"#b587fa","in-progress-icon-focus":"#b587fa","in-progress-icon-active":"#b587fa","in-progress-icon-disabled":"#596069","in-progress-icon-in-default":"#23282e","in-progress-icon-in-hover":"#23282e","in-progress-icon-in-focus":"#23282e","in-progress-icon-in-active":"#23282e","in-progress-icon-in-disabled":"#23282e","in-progress-border-default":"#b587fa","in-progress-border-hover":"#b587fa","in-progress-border-focus":"#b587fa","in-progress-border-active":"#b587fa","in-progress-border-disabled":"#b587fa","low-warning-bg-medium-default":"#1f565b","low-warning-bg-medium-hover":"#1f565b","low-warning-bg-medium-focus":"#1f565b","low-warning-bg-medium-active":"#1f565b","low-warning-bg-medium-disabled":"#373c42","low-warning-icon-default":"#0bb2b8","low-warning-icon-hover":"#0bb2b8","low-warning-icon-focus":"#0bb2b8","low-warning-icon-active":"#0bb2b8","low-warning-icon-disabled":"#596069","low-warning-icon-in-default":"#23282e","low-warning-icon-in-hover":"#23282e","low-warning-icon-in-focus":"#23282e","low-warning-icon-in-active":"#23282e","low-warning-icon-in-disabled":"#23282e","low-warning-border-default":"#0bb2b8","low-warning-border-hover":"#0bb2b8","low-warning-border-focus":"#0bb2b8","low-warning-border-active":"#0bb2b8","low-warning-border-disabled":"#0bb2b8","excellent-bg-medium-default":"#3e506a","excellent-bg-medium-hover":"#3e506a","excellent-bg-medium-focus":"#3e506a","excellent-bg-medium-active":"#3e506a","excellent-bg-medium-disabled":"#373c42","excellent-icon-default":"#649ef5","excellent-icon-hover":"#649ef5","excellent-icon-focus":"#649ef5","excellent-icon-active":"#649ef5","excellent-icon-disabled":"#596069","excellent-icon-in-default":"#23282e","excellent-icon-in-hover":"#23282e","excellent-icon-in-focus":"#23282e","excellent-icon-in-active":"#23282e","excellent-icon-in-disabled":"#23282e","excellent-border-default":"#649ef5","excellent-border-hover":"#649ef5","excellent-border-focus":"#649ef5","excellent-border-active":"#649ef5","excellent-border-disabled":"#649ef5","port-diagram-base-bg-default":"#c1c6cc","port-diagram-base-bg-active":"#889099","port-diagram-base-bg-medium-default":"#d0d4d9","port-diagram-base-bg-medium-active":"#c1c6cc","port-diagram-base-bg-weak-default":"#f0f1f2","port-diagram-base-border-default":"#6f7680","port-diagram-base-border-active":"#6f7680","port-diagram-base-border-medium-active":"#6f7680","port-diagram-base-border-strong-default":"#23282e","port-diagram-base-border-strong-active":"#23282e","port-diagram-base-icon-in-default":"#373c42","port-diagram-base-icon-in-active":"#373c42","port-diagram-full-speed-bg-default":"#0570ad","port-diagram-full-speed-bg-active":"#03639c","port-diagram-full-speed-bg-medium-default":"#9adffc","port-diagram-full-speed-bg-medium-active":"#33bbf5","port-diagram-full-speed-border-medium-active":"#03639c","port-diagram-full-speed-border-strong-default":"#23282e","port-diagram-full-speed-border-strong-active":"#23282e","port-diagram-full-speed-icon-in-default":"#ffffff","port-diagram-full-speed-icon-in-active":"#ffffff","port-diagram-disconnected-bg-default":"#373c42","port-diagram-disconnected-bg-active":"#23282e","port-diagram-disconnected-bg-medium-default":"#d0d4d9","port-diagram-disconnected-bg-medium-active":"#c1c6cc","port-diagram-disconnected-border-medium-active":"#6f7680","port-diagram-disconnected-border-strong-default":"#23282e","port-diagram-disconnected-border-strong-active":"#23282e","port-diagram-disconnected-icon-in-default":"#ffffff","port-diagram-disconnected-icon-in-active":"#ffffff","port-diagram-reduced-speed-bg-default":"#0570ad","port-diagram-reduced-speed-bg-active":"#03639c","port-diagram-reduced-speed-bg-medium-default":"#0d8bd4","port-diagram-reduced-speed-bg-medium-active":"#087abd","port-diagram-reduced-speed-border-default":"#ffffff","port-diagram-reduced-speed-border-active":"#ffffff","port-diagram-reduced-speed-border-medium-active":"#03639c","port-diagram-reduced-speed-border-strong-default":"#23282e","port-diagram-reduced-speed-border-strong-active":"#23282e","port-diagram-reduced-speed-icon-in-default":"#ffffff","port-diagram-reduced-speed-icon-in-active":"#ffffff","port-diagram-warning-bg-default":"#b05f04","port-diagram-warning-bg-active":"#944b03","port-diagram-warning-bg-medium-default":"#f0c243","port-diagram-warning-bg-medium-active":"#e0a419","port-diagram-warning-border-medium-active":"#944b03","port-diagram-warning-border-strong-default":"#23282e","port-diagram-warning-border-strong-active":"#23282e","port-diagram-warning-border-default":"#ffffff","port-diagram-warning-icon-in-default":"#ffffff","port-diagram-warning-icon-in-active":"#ffffff","port-diagram-critical-bg-default":"#cc2d37","port-diagram-critical-bg-active":"#a01d26","port-diagram-critical-bg-medium-default":"#ffb2b5","port-diagram-critical-bg-medium-active":"#ff878b","port-diagram-critical-border-medium-active":"#a01d26","port-diagram-critical-border-strong-default":"#23282e","port-diagram-critical-border-strong-active":"#23282e","port-diagram-critical-icon-in-default":"#ffffff","port-diagram-critical-icon-in-active":"#ffffff","port-diagram-low-power-bg-default":"#b05f04","port-diagram-low-power-bg-active":"#944b03","port-diagram-low-power-bg-medium-default":"#f0c243","port-diagram-low-power-bg-medium-active":"#e0a419","port-diagram-low-power-bg-weak-default":"#f5e08e","port-diagram-low-power-bg-weak-active":"#f2d268","port-diagram-low-power-border-medium-active":"#944b03","port-diagram-low-power-border-strong-default":"#23282e","port-diagram-low-power-border-strong-active":"#23282e","port-diagram-low-power-icon-in-default":"#b05f04","port-diagram-low-power-icon-in-active":"#944b03"}},40935(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var l=0;l0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},41082(e,t,n){var r=n(54848),a=n(48761),o=n(78577),i=n(75864),l=n(84140),s=n(69244);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=a,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=l,u.prototype.set=s,e.exports=u},41133(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=function(e){function t(){e.apply(this,arguments)}return r(t,e),t}(n(75184).AsyncScheduler);t.QueueScheduler=a},41166(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 12C8 11.4477 8.44772 11 9 11H15C15.5523 11 16 11.4477 16 12C16 12.5523 15.5523 13 15 13H9C8.44772 13 8 12.5523 8 12Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 3H5.5C4.11929 3 3 4.11929 3 5.5V18.5C3 19.8807 4.11929 21 5.5 21H18.5C19.8807 21 21 19.8807 21 18.5V5.5C21 4.11929 19.8807 3 18.5 3ZM8 12C8 11.4477 8.39797 11 8.88889 11H15.1111C15.602 11 16 11.4477 16 12C16 12.5523 15.602 13 15.1111 13H8.88889C8.39797 13 8 12.5523 8 12Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;re;function r(e){n=e}function a(){const e="undefined"!=typeof window?window:null;r((null==e?void 0:e.gettext)||(e=>e))}a()},41459(e,t,n){"use strict";var r=n(43454);t.delayWhen=function(e,t){return r.delayWhen(e,t)(this)}},41476(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(99420))},41565(e,t,n){"use strict";var r=n(80147);t.min=function(e){var t="function"==typeof e?function(t,n){return e(t,n)<0?t:n}:function(e,t){return et in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||(t={}))h.call(t,n)&&b(e,n,t[n]);if(p)for(var n of p(t))y.call(t,n)&&b(e,n,t[n]);return e},v=(e,t)=>u(e,d(t)),_=(e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})},M=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of f(t))h.call(e,a)||a===n||s(e,a,{get:()=>t[a],enumerable:!(r=c(t,a))||r.enumerable});return e},w=(e,t,n)=>(M(e,t,"default"),n&&M(n,t,"default")),S=(e,t,n)=>(n=null!=e?l(m(e)):{},M(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)),x=(r={""(){}},function(){return r&&(a=(0,r[f(r)[0]])(r=0)),a}),k=(o={"src/nearley/generated/vizparser.js"(e,t){x(),function(){function e(e){return e[0].concat([e[1]])}function n(e){return e[0]}function r(){return null}function a(e){return{type:"string",v:e[0]}}function o(e){return e[1].join("")}var i={Lexer:void 0,ParserRules:[{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","wschar"],postprocess:e},{name:"_",symbols:["_$ebnf$1"],postprocess:r},{name:"__$ebnf$1",symbols:["wschar"]},{name:"__$ebnf$1",symbols:["__$ebnf$1","wschar"],postprocess:e},{name:"__",symbols:["__$ebnf$1"],postprocess:r},{name:"wschar",symbols:[/[ \t\n\v\f]/],postprocess:n},{name:"dqstring$ebnf$1",symbols:[]},{name:"dqstring$ebnf$1",symbols:["dqstring$ebnf$1","dstrchar"],postprocess:e},{name:"dqstring",symbols:[{literal:'"'},"dqstring$ebnf$1",{literal:'"'}],postprocess:o},{name:"sqstring$ebnf$1",symbols:[]},{name:"sqstring$ebnf$1",symbols:["sqstring$ebnf$1","sstrchar"],postprocess:e},{name:"sqstring",symbols:[{literal:"'"},"sqstring$ebnf$1",{literal:"'"}],postprocess:o},{name:"btstring$ebnf$1",symbols:[]},{name:"btstring$ebnf$1",symbols:["btstring$ebnf$1",/[^`]/],postprocess:e},{name:"btstring",symbols:[{literal:"`"},"btstring$ebnf$1",{literal:"`"}],postprocess:o},{name:"dstrchar",symbols:[/[^\\"\n]/],postprocess:n},{name:"dstrchar",symbols:[{literal:"\\"},"strescape"],postprocess:function(e){return JSON.parse('"'+e.join("")+'"')}},{name:"sstrchar",symbols:[/[^\\'\n]/],postprocess:n},{name:"sstrchar",symbols:[{literal:"\\"},"strescape"],postprocess:function(e){return JSON.parse('"'+e.join("")+'"')}},{name:"sstrchar$string$1",symbols:[{literal:"\\"},{literal:"'"}],postprocess:function(e){return e.join("")}},{name:"sstrchar",symbols:["sstrchar$string$1"],postprocess:function(e){return"'"}},{name:"strescape",symbols:[/["\\/bfnrt]/],postprocess:n},{name:"strescape",symbols:[{literal:"u"},/[a-fA-F0-9]/,/[a-fA-F0-9]/,/[a-fA-F0-9]/,/[a-fA-F0-9]/],postprocess:function(e){return e.join("")}},{name:"unsigned_int$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_int$ebnf$1",symbols:["unsigned_int$ebnf$1",/[0-9]/],postprocess:e},{name:"unsigned_int",symbols:["unsigned_int$ebnf$1"],postprocess:function(e){return parseInt(e[0].join(""))}},{name:"int$ebnf$1$subexpression$1",symbols:[{literal:"-"}]},{name:"int$ebnf$1$subexpression$1",symbols:[{literal:"+"}]},{name:"int$ebnf$1",symbols:["int$ebnf$1$subexpression$1"],postprocess:n},{name:"int$ebnf$1",symbols:[],postprocess:r},{name:"int$ebnf$2",symbols:[/[0-9]/]},{name:"int$ebnf$2",symbols:["int$ebnf$2",/[0-9]/],postprocess:e},{name:"int",symbols:["int$ebnf$1","int$ebnf$2"],postprocess:function(e){return e[0]?parseInt(e[0][0]+e[1].join("")):parseInt(e[1].join(""))}},{name:"unsigned_decimal$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_decimal$ebnf$1",symbols:["unsigned_decimal$ebnf$1",/[0-9]/],postprocess:e},{name:"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",symbols:["unsigned_decimal$ebnf$2$subexpression$1$ebnf$1",/[0-9]/],postprocess:e},{name:"unsigned_decimal$ebnf$2$subexpression$1",symbols:[{literal:"."},"unsigned_decimal$ebnf$2$subexpression$1$ebnf$1"]},{name:"unsigned_decimal$ebnf$2",symbols:["unsigned_decimal$ebnf$2$subexpression$1"],postprocess:n},{name:"unsigned_decimal$ebnf$2",symbols:[],postprocess:r},{name:"unsigned_decimal",symbols:["unsigned_decimal$ebnf$1","unsigned_decimal$ebnf$2"],postprocess:function(e){return parseFloat(e[0].join("")+(e[1]?"."+e[1][1].join(""):""))}},{name:"decimal$ebnf$1",symbols:[{literal:"-"}],postprocess:n},{name:"decimal$ebnf$1",symbols:[],postprocess:r},{name:"decimal$ebnf$2",symbols:[/[0-9]/]},{name:"decimal$ebnf$2",symbols:["decimal$ebnf$2",/[0-9]/],postprocess:e},{name:"decimal$ebnf$3$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"decimal$ebnf$3$subexpression$1$ebnf$1",symbols:["decimal$ebnf$3$subexpression$1$ebnf$1",/[0-9]/],postprocess:e},{name:"decimal$ebnf$3$subexpression$1",symbols:[{literal:"."},"decimal$ebnf$3$subexpression$1$ebnf$1"]},{name:"decimal$ebnf$3",symbols:["decimal$ebnf$3$subexpression$1"],postprocess:n},{name:"decimal$ebnf$3",symbols:[],postprocess:r},{name:"decimal",symbols:["decimal$ebnf$1","decimal$ebnf$2","decimal$ebnf$3"],postprocess:function(e){return parseFloat((e[0]||"")+e[1].join("")+(e[2]?"."+e[2][1].join(""):""))}},{name:"percentage",symbols:["decimal",{literal:"%"}],postprocess:function(e){return e[0]/100}},{name:"jsonfloat$ebnf$1",symbols:[{literal:"-"}],postprocess:n},{name:"jsonfloat$ebnf$1",symbols:[],postprocess:r},{name:"jsonfloat$ebnf$2",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$2",symbols:["jsonfloat$ebnf$2",/[0-9]/],postprocess:e},{name:"jsonfloat$ebnf$3$subexpression$1$ebnf$1",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$3$subexpression$1$ebnf$1",symbols:["jsonfloat$ebnf$3$subexpression$1$ebnf$1",/[0-9]/],postprocess:e},{name:"jsonfloat$ebnf$3$subexpression$1",symbols:[{literal:"."},"jsonfloat$ebnf$3$subexpression$1$ebnf$1"]},{name:"jsonfloat$ebnf$3",symbols:["jsonfloat$ebnf$3$subexpression$1"],postprocess:n},{name:"jsonfloat$ebnf$3",symbols:[],postprocess:r},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$1",symbols:[/[+-]/],postprocess:n},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$1",symbols:[],postprocess:r},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$2",symbols:[/[0-9]/]},{name:"jsonfloat$ebnf$4$subexpression$1$ebnf$2",symbols:["jsonfloat$ebnf$4$subexpression$1$ebnf$2",/[0-9]/],postprocess:e},{name:"jsonfloat$ebnf$4$subexpression$1",symbols:[/[eE]/,"jsonfloat$ebnf$4$subexpression$1$ebnf$1","jsonfloat$ebnf$4$subexpression$1$ebnf$2"]},{name:"jsonfloat$ebnf$4",symbols:["jsonfloat$ebnf$4$subexpression$1"],postprocess:n},{name:"jsonfloat$ebnf$4",symbols:[],postprocess:r},{name:"jsonfloat",symbols:["jsonfloat$ebnf$1","jsonfloat$ebnf$2","jsonfloat$ebnf$3","jsonfloat$ebnf$4"],postprocess:function(e){return parseFloat((e[0]||"")+e[1].join("")+(e[2]?"."+e[2][1].join(""):"")+(e[3]?"e"+(e[3][1]||"+")+e[3][2].join(""):""))}},{name:"Pipeline$ebnf$1",symbols:[]},{name:"Pipeline$ebnf$1$subexpression$1",symbols:[{literal:"|"},"Expr"]},{name:"Pipeline$ebnf$1",symbols:["Pipeline$ebnf$1","Pipeline$ebnf$1$subexpression$1"],postprocess:e},{name:"Pipeline",symbols:["Expr","Pipeline$ebnf$1"],postprocess:e=>[e[0],...e[1].map(e=>e[1])]},{name:"Expr",symbols:["_","Identifier","_"],postprocess:e=>e[1]},{name:"Expr",symbols:["_","Method","_"],postprocess:e=>e[1]},{name:"Expr",symbols:["_","Literal","_"],postprocess:e=>e[1]},{name:"Method$ebnf$1",symbols:["Arg"],postprocess:n},{name:"Method$ebnf$1",symbols:[],postprocess:r},{name:"Method$ebnf$2",symbols:[]},{name:"Method$ebnf$2$subexpression$1",symbols:["_",{literal:","},"_","Arg"]},{name:"Method$ebnf$2",symbols:["Method$ebnf$2","Method$ebnf$2$subexpression$1"],postprocess:e},{name:"Method",symbols:["Identifier",{literal:"("},"_","Method$ebnf$1","Method$ebnf$2","_",{literal:")"}],postprocess:e=>{let t=e[3],n=e[4],r=[];return t&&r.push(t),n&&(r=r.concat(n.map(e=>e[3]))),{type:"method",name:e[0].v,args:r}}},{name:"Arg",symbols:["Identifier"],postprocess:e=>e[0]},{name:"Arg",symbols:["Literal"],postprocess:e=>e[0]},{name:"Identifier$subexpression$1",symbols:["Letter"]},{name:"Identifier$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$1",symbols:[]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$1",symbols:["Identifier$ebnf$1","Identifier$ebnf$1$subexpression$1"],postprocess:e},{name:"Identifier",symbols:["Identifier$subexpression$1","Identifier$ebnf$1"],postprocess:e=>({type:"identifier",v:e[0]+e[1].join("")})},{name:"Identifier$subexpression$2",symbols:["Letter"]},{name:"Identifier$subexpression$2",symbols:["Star"]},{name:"Identifier$ebnf$2",symbols:[]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$2$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$2",symbols:["Identifier$ebnf$2","Identifier$ebnf$2$subexpression$1"],postprocess:e},{name:"Identifier$ebnf$3$subexpression$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1",symbols:[]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$1$ebnf$1",symbols:["Identifier$ebnf$3$subexpression$1$ebnf$1","Identifier$ebnf$3$subexpression$1$ebnf$1$subexpression$1"],postprocess:e},{name:"Identifier$ebnf$3$subexpression$1",symbols:["Dot","Identifier$ebnf$3$subexpression$1$subexpression$1","Identifier$ebnf$3$subexpression$1$ebnf$1"]},{name:"Identifier$ebnf$3",symbols:["Identifier$ebnf$3$subexpression$1"]},{name:"Identifier$ebnf$3$subexpression$2$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$2$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1",symbols:[]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Letter"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Digit"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1",symbols:["Star"]},{name:"Identifier$ebnf$3$subexpression$2$ebnf$1",symbols:["Identifier$ebnf$3$subexpression$2$ebnf$1","Identifier$ebnf$3$subexpression$2$ebnf$1$subexpression$1"],postprocess:e},{name:"Identifier$ebnf$3$subexpression$2",symbols:["Dot","Identifier$ebnf$3$subexpression$2$subexpression$1","Identifier$ebnf$3$subexpression$2$ebnf$1"]},{name:"Identifier$ebnf$3",symbols:["Identifier$ebnf$3","Identifier$ebnf$3$subexpression$2"],postprocess:e},{name:"Identifier",symbols:["Identifier$subexpression$2","Identifier$ebnf$2","Identifier$ebnf$3"],postprocess:e=>({type:"identifier",v:function e(t,n=1,r=[]){for(let a of t)a instanceof Array&&n>0?e(a,n-1,r):r.push(a);return r}(e,1/0).join("")})},{name:"Literal",symbols:["jsonfloat"],postprocess:e=>({type:"number",v:e[0]})},{name:"Literal",symbols:["dqstring"],postprocess:a},{name:"Literal",symbols:["sqstring"],postprocess:a},{name:"Literal",symbols:["btstring"],postprocess:a},{name:"Letter",symbols:[/[a-zA-Z_]/],postprocess:e=>e[0]},{name:"Digit",symbols:[/[0-9]/],postprocess:e=>e[0]},{name:"Dot",symbols:[/[\.]/],postprocess:e=>e[0]},{name:"Star",symbols:[{literal:"*"}]}],ParserStart:"Pipeline"};void 0!==t&&void 0!==t.exports?t.exports=i:window.grammar=i}()}},function(){return i||(0,o[f(o)[0]])((i={exports:{}}).exports,i),i.exports}),C={};_(C,{buildDSLFromDataSelectorAndFormatter:()=>Ye,getDataSelectorsFromDSL:()=>je,getDataTypesFromDSL:()=>Fe,getFieldsFromDSL:()=>Ne,getFormattersFromDSL:()=>Pe,getLastFormatterFromDSL:()=>Be}),e.exports=(e=>M(s({},"__esModule",{value:!0}),e))(C),x();var E={};_(E,{default:()=>L}),x();var A=S(n(48808));w(E,n(48808));var L="default"in A?A.default:A;x(),x();var O={};_(O,{default:()=>D}),x();var T=S(n(52539));w(O,n(52539));var D="default"in T?T.default:T;x(),x(),x(),x(),x();var z={};_(z,{default:()=>P}),x();var j=S(n(77330));w(z,n(77330));var P="default"in j?j.default:j;x();var B={};_(B,{default:()=>N}),x();var Y=S(n(2966));w(B,n(2966));var N="default"in Y?Y.default:Y;x();var F=["transparent","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];function I(e=""){if("string"!=typeof e)return!1;if(e.startsWith("#"))return e=e.substring(1),[3,4,6,8].indexOf(e.length)>-1&&!Number.isNaN(parseInt(e,16));const t=e.trim();return!(!B.rgbColorPattern.test(t)&&!B.rgbaColorPattern.test(t))||F.includes(e.toLowerCase())}var R=["YYYY-MM-DD",P.ISO_8601,"YYYY-MM-DDTHH:mm","YYYY-MM-DDTHH:mm:ss.SSS","YYYY-MM-DDTHH:mm:ss","YYYY-MM-DD HH:MM","YYYY-MM-DD HH:MM:SS","YYYY-MM-DD HH:MM:SS.SSS"],W=["geojson","sparkline","array","string","color","number","time","null","unknown"];function H(e){return null!==e&&!(0,E.isBoolean)(e)&&""!==e&&(0,E.isFinite)(+e)&&(0,E.isNumber)(+e)}function q(e){return!!e&&("string"==typeof e?P(e,R,!0).isValid():P(e).isValid())}function X(e){return"string"==typeof e&&e.length>0}var V=(e,t)=>G(t)?K(t):U(e),U=(0,E.memoize)(e=>Array.isArray(e)?e.length>1&&"##__SPARKLINE__##"===e[0]?"sparkline":"array":function(e){if(!e)return!1;let t;try{t=(0,E.isObject)(e)?e:JSON.parse(e)}catch(e){return!1}return null!=t&&Object.prototype.hasOwnProperty.call(t,"coordinates")&&null!=t.coordinates&&Array.isArray(t.coordinates)&&Object.prototype.hasOwnProperty.call(t,"type")&&"MultiPolygon"===t.type}(e)?"geojson":(0,E.isObject)(e)?"unknown":H(e)?"number":X(e)&&I(e)?"color":q(e)?"time":X(e)?"string":null===e?"null":"unknown"),$={str:"string",num:"number"},G=(e={})=>{const{name:t,type:n=""}=e;return void 0!==$[n]||"_time"===t},K=(e={})=>{const{name:t,type:n}=e;if("_time"===t)return"time";const r=$[n];return void 0!==r?r:"unknown"},J=e=>{if(!e)return"unknown";const t={time:0,number:0,string:0,color:0,unknown:0,array:0,sparkline:0,null:0,geojson:0};return e.forEach(e=>{t[e.getType()]+=1}),(e=>{const t=Object.keys(e).filter(t=>e[t]>0);if(0===t.length)return"unknown";if(1===t.length)return t[0];for(let e=0;ee===n))return n}return"unknown"})(t)};x();var Z=e=>H(e)?e:e||"",Q=(e,t=P.defaultFormat)=>{const n=P.parseZone(e).utcOffset(),r=(e=>P.getDefaultSplunkTimezone()?P.newSplunkTime({time:e}):P(e))(e).utcOffset(n);return r.format(t)},ee=class e{constructor(e,t,n){this.isTypeSafe=!0,this.type=e,this.value=t,this.coercedValue=n}static from(t){if(t.isTypeSafe)return t;const{value:n,type:r}=t,[a]=e.coerceValue(t);return new e(r,n,a)}static fromRaw(t){const n=V(t);return new e(n,t,t)}static coerceValue(e){const{type:t,value:n}=e;let r=null;try{switch(t){case"number":r=Number(n);break;case"time":{const e=q(n);r=n instanceof Date?n:e?Q(n):"Invalid Date";break}case"string":r=n.toString();break;case"color":case"sparkline":case"array":case"null":case"geojson":r=n;break;default:r=""}}catch(e){}return[r]}toRawCoercedValue(){return this.type,this.coercedValue}toRawValue(){return this.type,this.value}},te=class e{static isDataPoint(t){return t instanceof e}static fromRaw(t){return new e("",ee.fromRaw(t))}constructor(t,n){this.field=t,this.setValue(n),e.count+=1}getValue(){return this.value}setValue(e){this.value=ee.from(e)}getRawValue(){return this.value.toRawValue()}getCoercedValue(){return this.value.toRawCoercedValue()}getField(){return e.fromRaw(this.field)}getType(){return this.value.type}};te.count=0;var ne=te;x();var re=class e{constructor(e=[],t,n){this.internalPoints=[],this.internalPoints=e,e.length>0&&(this.field=e[0].field),n&&(this.field=n),this.type=t}get points(){return this.internalPoints}static isDataSeries(t){return t instanceof e}static fromRaw(t){return new e(t.map(e=>ne.fromRaw(e)))}firstPoint(){return this.points[0]}lastPoint(){return this.points.slice(-1)[0]}pointsByIndexes(...t){const n=[];return t.forEach(e=>{const t=this.points[e];null!=t&&n.push(t)}),new e(n)}pointByIndex(e){let t=e;if(t<0&&(t=this.points.length+t),t<0||t>=this.points.length)return null;const n=this.points[t],{field:r}=n,{type:a,value:o}=n.getValue();return new ne(r,{type:a,value:o})}delta(e){const t=this.lastPoint();if(void 0===t)return;const{field:n}=t,{type:r,value:a}=t.getValue();"number"!==r&&console.warn(`DSL delta cannot be computed for non-numerical data series of type ${r}`);let o,i=null;if(i=e>=0?this.points[e]:this.points.slice().reverse()[Math.abs(e)-1],null==i)console.warn("DSL delta cannot be computed, no data - invalid index");else{const{value:e}=i.getValue();o=a-e}return new ne(n,{type:r,value:o})}setValue(e){this.points.forEach(t=>{t.setValue(e)}),this.type=this.points[0].getType()}getValue(){const e=[];return this.points.forEach(t=>{e.push(t.getValue())}),e}getRawValue(){const e=[];return this.points.forEach(t=>{e.push(t.getRawValue())}),e}getField(){return this.lastPoint().getField()}getType(){return void 0===this.type&&(this.type=J(this.points)),this.type}min(){return this.reduce((e,t)=>ee>t)}sum(){if(0===this.points.length)return;const{field:e}=this.points[0];let t=0,n=!1,r=!1;return this.points.forEach(e=>{const{value:a}=e.getValue();H(a)?(t+=+a,n=!0):r=!0}),r&&n&&console.warn("DSL sum skipped non-numeric values in series"),n?new ne(e,{type:"number",value:t}):void 0}reduce(e){return this.points.reduce((t,n)=>!t||e(n.getValue().coercedValue,t.getValue().coercedValue)?n:t,void 0)}};x();var ae=class e{static isDataFrame(t){return t instanceof e}constructor(e){this.series=Array.isArray(e)?e:[e]}static fromJsonCols(t){if(!(null==t?void 0:t.data))return new e([]);const{data:{fields:n=[],columns:r=[]}}=t;if(r.length!==n.length)throw new Error(`number of columns (${r.length}) does not match number of fields (${n.length})`);const a=[];return r.forEach((e,t)=>{const r=[],o=n[t],i=o.name||o,l=null==o?void 0:o.type;e.forEach(e=>{const t=V(e,{name:i,type:l});r.push(new ne(i,{value:e,type:t}))}),a.push(new re(r))}),new e(a)}static fromRaw(t){const n=[];return t.forEach(e=>{n.push(re.fromRaw(e))}),new e(n)}static fromDataPrimitive(e){return(e=>ae.isDataFrame(e)?e:re.isDataSeries(e)?new ae([e]):ne.isDataPoint(e)?new ae([new re([e])]):void 0)(e)}frameBySeriesIndexes(...t){const n=[];return t.forEach(e=>{const t=this.series[e];null!=t&&n.push(t)}),new e(n)}seriesByIndex(e,t=[]){return this.series[e]||t}frameBySeriesIndexRange(t,n){return new e(this.series.slice(t,n))}frameBySeriesNames(...t){const n=[];return t.forEach(e=>{const t=this.seriesByName(e);t&&re.isDataSeries(t)&&n.push(t)}),new e(n)}frameWithoutSeriesNames(...t){return new e(null==t?this.series:this.series.filter(e=>!t.includes(e.field)&&!e.field.startsWith("_")))}frameWithoutInternalFields(){return new e(this.series.filter(e=>!e.field.startsWith("_")))}frameWithoutInternalFieldsExcept(...t){if(!t||0===t.length)return this.frameWithoutInternalFields();const n=this.series.map(e=>e.field),r=t.filter(e=>n.includes(e));return new e(this.series.filter(e=>r.includes(e.field)||!e.field.startsWith("_")))}frameBySeriesNamesOrIndexes(...t){const n=[];return t.forEach(e=>{const t=Number(e);if(Number.isNaN(t)){const t=this.seriesByName(e);t&&n.push(t)}else{const e=this.series[t];e&&n.push(e)}}),new e(n)}frameBySeriesTypes(...t){return new e(this.series.filter(e=>t.includes(e.getType())))}seriesByName(e,t=[]){var n;return null!=(n=this.series.find(t=>e===t.field))?n:t}seriesByType(e){return this.series.find(t=>t.getType()===e)}seriesByTypes(...e){return this.series.find(t=>e.some(e=>t.getType()===e))}seriesByPrioritizedTypes(...e){var t;for(const n of e){const e=this.seriesByType(n);if(Array.isArray(null==e?void 0:e.points)&&(null==(t=null==e?void 0:e.points)?void 0:t.length))return e}return this.series[0]}setValue(e){this.series.forEach(t=>t.setValue(e))}getRawValue(){const e=[];return this.series.forEach(t=>{e.push(t.getRawValue())}),e}getValue(){const e=[];return this.series.forEach(t=>{e.push(t.getValue())}),e}getField(){const e=this.series.map(e=>e.getField());return new re(e)}getType(){return this.series.map(e=>e.getType())}min(){return this.minOrMax("min")}max(){return this.minOrMax("max")}sum(){const e=new re;return this.series.forEach(t=>{const n=t.sum();n&&e.points.push(n)}),e.sum()}minOrMax(e){const t=new re;return this.series.forEach(n=>{const r=n[e]();r&&t.points.push(r)}),t[e]()}};x();var oe=class extends re{constructor(e,t,n){super([],t,n),this.internalPoints=[],this.values=e;const r=K({name:n,type:t});"unknown"!==r&&(this.type=r)}get points(){return this.values.forEach((e,t)=>{this.internalPoints[t]||this.createDataPointFromValueAtIndex(t)}),this.internalPoints}firstPoint(){return this.internalPoints[0]||this.createDataPointFromValueAtIndex(0),this.internalPoints[0]}lastPoint(){return this.internalPoints[this.values.length-1]||this.createDataPointFromValueAtIndex(this.values.length-1),this.internalPoints[this.internalPoints.length-1]}pointsByIndexes(...e){const t=[];return e.forEach(e=>{let n=this.internalPoints[e];n||(n=this.createDataPointFromValueAtIndex(e)),null!=n&&t.push(n)}),new re(t)}pointByIndex(e){let t=e;if(t<0&&(t=this.values.length+t),t<0||t>=this.values.length)return null;let n=this.internalPoints[t];return n||(n=this.createDataPointFromValueAtIndex(t)),n}delta(e){const t=this.lastPoint();if(void 0===t)return;const{field:n}=t,{type:r,value:a}=t.getValue();"number"!==r&&console.warn(`DSL delta cannot be computed for non-numerical data series of type ${r}`);let o,i=null;if(e>=0)i=this.internalPoints[e],i||(i=this.createDataPointFromValueAtIndex(e));else{const t=this.values.length+e;i=this.internalPoints[t],i||(i=this.createDataPointFromValueAtIndex(t))}if(null==i)console.warn("DSL delta cannot be computed, no data - invalid index");else{const{value:e}=i.getValue();o=a-e}return Number.isNaN(o)&&(o=void 0),new ne(n,{type:r,value:o})}setValue(e){this.internalPoints.forEach(t=>{t.setValue(e)}),this.values.fill(e.value),this.type=J(this.points)}getValue(){const e=[];return this.points.forEach(t=>{e.push(t.getValue())}),e}getRawValue(){return this.values}createDataPointFromValueAtIndex(e){const t=V(this.values[e],{name:this.field,type:this.type});return this.internalPoints[e]=new ne(String(this.field),{type:t,value:this.values[e]}),this.internalPoints[e]}},ie=class{format(e){if(e instanceof ae){const t=[];return e.series.forEach((e,n)=>{t.push(this.formatSeries(e,n))}),new ae(t)}return e instanceof re||e instanceof oe?this.formatSeries(e):this.formatPoint(e)}formatSeries(e,t=0){const n=[];return e.points.forEach((r,a)=>{n.push(this.formatPoint(r,e,t,a))}),new re(n)}formatPoint(e,t,n=0,r=0){const{field:a}=e,o=new ne(a,{type:e.getValue().type,value:e.getValue().coercedValue}),i=this.formatTypedValue(o,t,n,r);return new ne(a,i)}makeArrays2D(e){if(Array.isArray(e))return Array.isArray(e[0])?e:[e];throw new Error("argument wasn't array")}};x(),x();var le=["number","string"];function se(e){return ae.isDataFrame(e)||re.isDataSeries(e)||oe.isDataSeries(e)||ne.isDataPoint(e)}x(),x();var ue=class e{constructor(e,t,n,r){this.local=[],this.visitedPaths=new Set,this.context=e.context,this.executedOptions=e.options,this.frames=t,this.themeFunc=n,this.bypassCloneDeepOptionScope=r,this.local.push(this.executedOptions)}resolve(t){const n=t.split(".");let r=null;return r=e.isQualified(n)?this.resolveQualifiedIdentifier(n):this.resolveUnqualifiedIdentifier(n),this.bypassCloneDeepOptionScope?r:(0,E.cloneDeep)(r)}static isQualified(t){const n=t[0];return e.SCOPES.includes(n)}resolveUnqualifiedIdentifier(t){const n=e.SCOPES;let r;for(let e=0;epe}),x();var fe=S(n(63662));w(de,n(63662));var pe="default"in fe?fe.default:fe,me=k(),he=class e{static parse(t){if(e.cache[t])return[...e.cache[t]];const n=new de.Parser(me);return n.feed(t),n.results.length>1&&console.warn(`Ambiguous parse of '${t}'`),0===n.results.length&&console.warn(`No parsed results for '${t}'`),e.cache[t]=[...n.results[0]],n.results[0]}};he.cache={};var ye=he;x();var be=class e{static parseOptions(t){const n={simpleOptions:{},expressions:{},context:t.context},{options:r}=t;return Object.keys(r).forEach(t=>{const a=r[t];e.isDslString(a)?n.expressions[t]=ye.parse(e.withoutArrow(a)):n.simpleOptions[t]=a}),n}static isDslString(e){return!!e&&e.toString().trim().startsWith(">")}static withoutArrow(e){return e.toString().match(/\s*>\s*(.+$)/)[1].trim()}static parse(e){const{dimensions:t,context:n}=e,r={dimensions:{},context:n};return Object.keys(t).forEach(e=>{const n={value:[]};let a=null;a="string"==typeof t[e]?t[e]:t[e].value,n.value=ye.parse(a),r.dimensions[e]=n}),r}};x();var ge=class e{static isRawDataFrame(t){return Array.isArray(t)&&e.isRawDataSeries(t[0])}static isRawDataSeries(e){return Array.isArray(e)&&!ve.isObject(e[0])}static isRawDataPoint(e){return!ve.isObject(e)}static dataPrimitiveFromRaw(t){if(e.isRawDataFrame(t))return ae.fromRaw(t);if(e.isRawDataSeries(t))return re.fromRaw(t);if(e.isRawDataPoint(t))return ne.fromRaw(t);throw new Error("raw value does not resemble DataFrame, DataSeries, or DataPoint")}},ve=class e{executeOptions(t,n,r,a){const o=(0,E.cloneDeep)(t),i=new ce(o,n,r,a);return this.eval(o,i),e.rawTree(o.options)}eval(e,t,n=[]){if(t.pushLocalScope(e),t.addToVisitedList(n),Array.isArray(e))e.forEach((r,a)=>{n.push(a.toString()),e[a]=this.eval(e[a],t,n),n.pop()});else if((0,E.isPlainObject)(e))Object.keys(e).forEach(r=>{n.push(r),e[r]=this.eval(e[r],t,n),n.pop()});else if(be.isDslString(e)){t.popLocalScope();const r=this.evalDsl(e,t);return t.removeFromVisitedList(n),r}return t.popLocalScope(),t.removeFromVisitedList(n),e}evalDsl(e,t){try{const n=ye.parse(be.withoutArrow(e));return this.execOptionsPipeline(n,t,t.frames.primary)}catch(e){return}}static rawTree(t){return Array.isArray(t)?(t.forEach((n,r)=>{t[r]=e.rawTree(t[r])}),t):(0,E.isPlainObject)(t)?(Object.keys(t).forEach(n=>{t[n]=e.rawTree(t[n])}),t):se(t)?t.getRawValue():t}execOptionsPipeline(e,t,n){let r=n;return e.forEach((n,a)=>{if("method"===n.type)r&&(r=this.executeMethod(n,r,t.context));else if("identifier"===n.type)r=t.resolve(n.v.toString()).val;else if(le.includes(n.type)){const e=ee.from({type:n.type,value:n.v});r=new ne("",e)}if(a!==e.length-1&&r&&!se(r))try{r=ge.dataPrimitiveFromRaw(r)}catch(e){const t=n.v?n.v:n.name;throw new Error(`Output of '${t}' cannot be piped because it is not a DataFrame, DataPoint, or DataSeries`)}}),r}executeMethod(e,t,n){const r=e,a=this.args(r.args,n),o=t[r.name];return o?o.apply(t,a):this.applyFormatter(t,r.name,a)}applyFormatter(e,t,n){const r=Le[t];if(r)return new r(...n).format(e);throw Error(`No such method or formatter function: '${t}'`)}applyLiteral(e,t){const{type:n,v:r}=t;e.setValue({type:n,value:r})}args(e,t){return e.reduce((e,n)=>{const r=this.getArg(n,t);return e.push(r),e},[])}getArg(e,t){if("identifier"===e.type){const n=t[e.v];if(!n)throw Error(`Could not resolve ${e.v} in context. Did you mean one of '[${Object.keys(t).toString()}]'`);return n}return e.v}static isObject(e){return Object(e)===e}};x(),x(),x();var{hasOwnProperty:_e}=Object.prototype;x();var Me="rgba(123,86,219,0.4)",we="rgba(123,86,219,1)",Se=class e extends ie{constructor(t){if(super(),this.config=ve.rawTree(t)||{},this.colors=this.config.colors||[],this.stops=this.config.stops||[],!Array.isArray(this.colors)||!Array.isArray(this.stops))throw new Error("Gradient config: both 'colors' and 'stops' in should be 1D array.");this.colors.forEach(e=>{if(!I(e))throw new Error("Gradient config: every element in 'colors' should be a color.")}),e.sortArray(this.stops)}prepareStopsAndColors(t,n){const r=this.colors.length,a=this.stops.length;if(0===a)return e.computeNoStopsCase(t,n,this.colors);const o=[t,...this.stops,n];if(0===r){const r=e.computeColorsForStopsOnly(a);return e.ignoreMinMaxWhenNeeded(t,n,this.stops,o,r),{newStops:o,newColors:r}}if(a+2>=r)return e.alignColorsWithStops(t,n,this.stops,o,this.colors,a,r);throw new Error("Gradient config: too many colors set for the given stops.")}static computeNoStopsCase(e,t,n){const r=n.length,a=[Me,we];if(r>2){const a=[];for(let n=0;n{a[t]=e}),{newStops:[e,t],newColors:a}}static computeColorsForStopsOnly(e){if(1===e)return[Me,we,we];if(2===e)return[Me,Me,we,we];throw new Error("Gradient config: provide at most two stops when colors is empty.")}static alignColorsWithStops(t,n,r,a,o,i,l){const s=[...o];if(i>=l&&s.unshift(Me),e.addDefaultEndingColors(s,i+2-s.length),e.ignoreMinMaxWhenNeeded(t,n,r,a,s),a.length!==s.length)throw new Error("Gradient config: not equal length of stops and colors.");return{newStops:a,newColors:s}}static colorForValue(e,t,n){const r=t[t.length-1],a=t[0];if(e>r||er?n.length-1:0;return D(n[t]).hex().toUpperCase()}if(t.some(e=>Number.isNaN(Number(e))))return console.warn("Could not format gradient color: stops are required to be numbers. Falling back to first color."),D(n[0]).hex().toUpperCase()||"#000";let o=t.findIndex(t=>e<=t);o<=0&&(o=Math.min(1,t.length-1));const i=t[o],l=t[o-1];let s=0;return s=i===l?0===e?0:1:(e-l)/(i-l),D.scale([n[o-1],n[o]])(s).hex().toUpperCase()}format(t){if(t instanceof ae){let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;if(t.series.forEach(e=>{var t,a,o;if(null==(t=null==e?void 0:e.points)?void 0:t.length){const t=Number(null==(a=e.min())?void 0:a.getRawValue()),i=Number(null==(o=e.max())?void 0:o.getRawValue());Number.isNaN(t)||(n=Math.min(n,t)),Number.isNaN(i)||(r=Math.max(r,i))}}),!Number.isFinite(n)||!Number.isFinite(r))return super.format(t);const{newStops:a,newColors:o}=this.prepareStopsAndColors(n,r),i=t.series.map(t=>{const n=t.points.map(t=>{const n=t.getValue();if("number"!==n.type)return new ne(t.field,{type:"color",value:void 0});const r=e.colorForValue(n.value,a,o);return new ne(t.field,{type:"color",value:r})});return new re(n)});return new ae(i)}return super.format(t)}prepareColorsAndStopsSeries(e){const t=Number(e.min().getRawValue()),n=Number(e.max().getRawValue());return this.prepareStopsAndColors(t,n)}prepareColorsAndStopsPoint(e){let t=this.stops,n=this.colors;return 0===this.stops.length&&(t=[0,1]),0===this.colors.length&&(n=[Me,we]),this.stops.length===this.colors.length&&1===this.stops.length&&e{e.sort((e,t)=>e-t)},Se.addDefaultEndingColors=(e,t)=>{for(let n=0;n{e>=n[0]&&(r.shift(),a.shift()),t<=n[n.length-1]&&(r.pop(),a.pop())};var xe=Se;x(),x(),x();var ke={};_(ke,{default:()=>Ee}),x();var Ce=S(n(34624));w(ke,n(34624));var Ee="default"in Ce?Ce.default:Ce;x(),x(),x(),x(),x(),x(),x();var Ae=class extends ie{constructor(e){super(),this.defaultVal=ve.rawTree(e)}formatTypedValue(e,t,n=0,r=0){return void 0===e.getRawValue()?ee.fromRaw(this.defaultVal):e.getValue()}};x(),x();var Le={gradient:xe,matchValue:class extends ie{constructor(e,t=void 0){super(),this.matches=ve.rawTree(e),this.defaultValue=void 0===t?void 0:Z(t)}formatTypedValue(e){const{value:t}=e.getValue(),n=(0,E.isUndefined)(this.defaultValue)?t||"":this.defaultValue;let r=null,a=-1/0,o=!1;this.matches.forEach(e=>{if(o||!(e=>0===e.match&&(0===t||0===Number(t))||null===e.match&&null===t||!(!e||!e.match)&&("string"==typeof e.match?(null!==t||"*"===e.match)&&(e.match.includes("*")?((e,t)=>{if("*"===e)return!0;const n=e.split(/\*+/),r=n[0],a=n[n.length-1];if(r&&!t.startsWith(r))return!1;if(n.length>1&&a&&!t.endsWith(a))return!1;let o=r.length;for(let e=1;eH(t)&&H(e.match)&&parseFloat(e.match)===parseFloat(t))(e)))(e))return;if(e.match===t)return r=e,void(o=!0);const n=(e=>{const t=e.replace(/\*+/g,"*"),n=(t.match(/\*/g)||[]).length;return"*"===t?-100:t.length-2*n})(e.match);n>a&&(r=e,a=n)});const i=null!==r?r.value:n;return{value:i,type:V(i)}}},prefix:class extends ie{constructor(e){super(),this.prefix=ve.rawTree(e)}formatTypedValue(e){const{value:t}=e.getValue();return{value:this.prefix+t.toString(),type:"string"}}},rangeValue:class extends ie{constructor(e,t){super(),this.ranges=ve.rawTree(e),this.defaultValue=Z(t)}formatTypedValue(e){const{type:t,value:n}=e.getValue();let r;"number"!==t&&console.warn(`type '${t}' with value '${n}' is not a valid input to rangeValue`);const a=(0,E.isUndefined)(this.defaultValue)&&!H(n)?n:this.defaultValue;if(H(n)){const e=parseFloat(n);for(let t=0;t=this.ranges[t].from||e>=this.ranges[t].from&&e{const{type:r,config:a}=this.config.formatters[e.getRawValue()],o=Le[r],i=n.pointByIndex(t);if(!o)throw new Error(`unknown formatter type "${r}" was specified`);return new o(a).format(i,n)})}},type:class extends ie{formatTypedValue(e){return e&&null===e.getRawValue()?ee.from({type:"string",value:"null"}):ee.fromRaw(e.getType())}},formatByType:class extends ie{constructor(e){super(),this.config={number:{},string:{},time:{format:""}},this.config=(0,E.defaultsDeep)({},e,this.config)}formatTypedValue(e){const{number:t,string:n,time:r}=this.config,a=e.getValue();switch(a.type){case"number":return new ee("string",((e,t)=>{const n={prefix:(0,E.isEmpty)(t.unit)||"before"!==t.unitPosition?void 0:`${t.unit} `,postfix:(0,E.isEmpty)(t.unit)||"before"===t.unitPosition?void 0:` ${t.unit}`,mantissa:"number"==typeof t.precision?t.precision:void 0},r=(0,E.defaultsDeep)({},(0,E.omitBy)(n,E.isUndefined),(0,E.omit)(t,["unit","unitPosition","precision"]));return Ee(e).format(r)})(e.getRawValue(),t),a.value);case"string":return new ee("string",(o=a.value,(0,E.isEmpty)((i=n).unit)?`${o}`:"before"===i.unitPosition?`${i.unit} ${o}`:`${o} ${i.unit}`),a.value);case"time":return new ee("string",((e,t,n)=>"string"!=typeof n.format||(0,E.isEmpty)(n.format)?t.toString():Q(e,n.format))(a.coercedValue,a.value,r),a.value);default:return e.getValue()}var o,i}},frame:class{constructor(...e){this.args=[],this.args=e.map(e=>se(e)?e:ge.dataPrimitiveFromRaw(ve.rawTree(e)))}format(e){let t=[];return this.args.forEach(e=>{if(re.isDataSeries(e))t.push(e);else if(ae.isDataFrame(e))t=t.concat(e.series);else{if(!ne.isDataPoint(e))throw new Error("frame formatter args incorrect");t.push(new re([e]))}}),new ae(t)}},prepend:class{constructor(e){this.prependMe=se(e)?e:ge.dataPrimitiveFromRaw(ve.rawTree(e))}format(e){if(ae.isDataFrame(e))return this.prependToFrame(e);if(re.isDataSeries(e))return this.prependToSeries(e);throw new Error("Can only prepend to DataFrame or DataSeries")}prependToFrame(e){if(ae.isDataFrame(this.prependMe))return this.prependFrameToFrame(e);if(re.isDataSeries(this.prependMe))return this.prependASeriesToEachSeriesOfFrame(e);if(ne.isDataPoint(this.prependMe))return this.prependAPointToEachSeriesOfFrame(e);throw new Error("'prepend' formatter only accepts DataFrame, DataSeries, or DataPoint as argument")}prependToSeries(e){if(ae.isDataFrame(this.prependMe))throw new Error("cannot prepend a DataFrame to a DataSeries");if(re.isDataSeries(this.prependMe))return this.prependSeriesToSeries(e,this.prependMe);if(ne.isDataPoint(this.prependMe))return this.prependPointToSeries(e);throw new Error("'prepend' to series formatter only DataSeries, or DataPoint as argument")}prependAPointToEachSeriesOfFrame(e){return new ae(e.series.map(e=>this.prependPointToSeries(e)))}prependASeriesToEachSeriesOfFrame(e){return new ae(e.series.map(e=>this.prependSeriesToSeries(e,this.prependMe)))}prependFrameToFrame(e){const t=this.prependMe.series.length,n=e.series.length;if(t!==n)throw new Error(`can't prepend a frame with ${t} columns to a field with ${n} columns`);return new ae(e.series.map((e,t)=>this.prependSeriesToSeries(e,this.prependMe.seriesByIndex(t))))}prependSeriesToSeries(e,t){const{field:n}=e,r=e.points.length>0?e.points[0].getValue().type:void 0,a=t.points.length>0?t.points[0].getValue().type:void 0;if(r&&a&&r!==a)throw new Error(`cannot prepend ${a} to ${r}`);return new re(t.points.map(e=>new ne(n,e.getValue())).concat(e.points))}prependPointToSeries(e){const{field:t}=e,n=e.firstPoint().getValue().type,r=this.prependMe.getValue(),a=r.type;if(n!==a)throw new Error(`cannot prepend point of type ${a} to series of type ${n}`);const o=new ne(t,r);return new re([o,...e.points])}},objects:class{constructor(e){this.config=ve.rawTree(e)}format(e){if(ae.isDataFrame(e)){const t=this.seriesToObjects(e.series[0]);for(let n=1;n{let n=t.field;return this.config&&this.config.rename&&(n=this.config.rename[n]||n),e.push({[n]:t.getRawValue()}),e},[])}},setColorChannel:class extends ie{constructor(e){super(),this.config=ve.rawTree(e)}formatTypedValue(e){const{value:t,type:n}=e.getValue();if("color"!==n)return{type:n,value:t};const r=(0,E.get)(this,"config.channel"),a=(0,E.get)(this,"config.value");r&&null!=t||console.warn("SetColorChannel requires channel (ex: hsv.v, rgb.r) and value configuration to be set. It will return the same color when missing.");try{if("transparent"===t.toString())throw new Error('Cannot set color channel on "transparent" color');return{type:"color",value:D(t.toString()).set(r,a).hex()}}catch(e){return console.warn(e),{type:"color",value:t}}}},maxContrast:class extends ie{constructor(e){super(),this.config=ve.rawTree(e)}formatTypedValue(e){const{value:t,type:n}=e.getValue();if("color"!==n||!I(t))return{type:n,value:t};const r=(0,E.get)(this,"config.colors"),a=(0,E.get)(this,"config.default");if(!r||!Array.isArray(r)||Array.isArray(r)&&0===r.length)return I(a)?{type:"color",value:a}:{type:n,value:t};if("transparent"===t&&I(a))return{type:"color",value:a};try{return{type:"color",value:(0,E.chain)(r).map(e=>({color:e,contrast:D.contrast(t,e)})).maxBy("contrast").value().color}}catch(e){return console.warn(e),{type:"color",value:a||t}}}},renameSeries:class extends Ae{constructor(e){super(e),this.newFieldName=e}formatPoint(e,t,n=0,r=0){return 0===n&&"string"==typeof this.newFieldName&&this.newFieldName.length>0?new ne(this.newFieldName,this.formatTypedValue(e,t,n,r)):super.formatPoint(e,t,n,r)}},divideBy:class extends ie{constructor(e){super(),this.divisor=ve.rawTree(e)}formatTypedValue(e){const{value:t}=e.getValue();return{value:0!==this.divisor&&t/this.divisor,type:"number"}}},subtract:class extends ie{constructor(e){super(),this.valToSubtract=ve.rawTree(e)}formatTypedValue(e){const{value:t}=e.getValue();return{value:0!==this.valToSubtract&&t-this.valToSubtract,type:"number"}}}};x(),x();var Oe=class extends ae{static fromJsonCols(e){if(!(null==e?void 0:e.data))return new ae([]);const{data:{fields:t=[],columns:n=[]}}=e;if(n.length!==t.length)throw new Error(`number of columns (${n.length}) does not match number of fields (${t.length})`);const r=[];return n.forEach((e,n)=>{const a=t[n],o=a.name||a,i=null==a?void 0:a.type;r.push(new oe(e,i,o))}),new ae(r)}},Te=class e{static evaluate(t,n,r,a,o,i){let l;return l=a||e.dataFrameFromDataSource(n,i),(new ve).executeOptions(t,l,r,o)}static dataFrameFromDataSource(e,t){return(0,E.mapValues)(e,t?e=>Oe.fromJsonCols(e):e=>ae.fromJsonCols(e))}},De=Object.keys(Le),ze=e=>-1!==De.indexOf(e),je=e=>{const t=be.parseOptions({options:{value:e},context:{}});return(0,E.get)(t,["expressions","value"],[]).filter(e=>!("method"===e.type&&ze(e.name))).map(e=>"method"!==e.type?`${e.v}`:`${e.name}(${(0,E.get)(e,"args",[]).map(e=>e.v).join(",")})`)},Pe=e=>{const t=be.parseOptions({options:{value:e},context:{}});return(0,E.get)(t,["expressions","value"],[]).filter(e=>"method"===e.type&&ze(e.name)).map(e=>({type:e.name,paramKey:(0,E.get)(e,["args","0","v"],"")}))},Be=e=>(0,E.last)(Pe(e)),Ye=(e,t,n="")=>`> ${e} | ${t}(${n.replace(/^\w+\[\d+\]\.(.+)$/,"$1")})`,Ne=(e,t,n={},r={})=>{try{const{evalFields:a}=Te.evaluate({context:r,options:v(g({},n),{evalFields:`${e} | getField()`})},t,()=>{});if(Array.isArray(a))return a.filter(e=>e.length>0);if(0!==a.length)return[a]}catch(e){}return[]},Fe=(e,t,n={},r={})=>{try{const{dataTypes:a}=Te.evaluate({context:r,options:v(g({},n),{dataTypes:`${e} | getType()`})},t,()=>{});if(Array.isArray(a))return[...new Set(a)];if(0!==a.length)return[a]}catch(e){}return[]}},42139(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},42148(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(99420))},42187(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(80305);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8859 3.86523C9.73235 3.86523 7.62695 4.5027 5.83507 5.69729L5.7015 5.78633C4.35068 6.68688 3.20704 7.86465 2.3466 9.24136L1.07369 11.278C0.849136 11.6373 0.849137 12.0932 1.07369 12.4525L2.3466 14.4891C3.20704 15.8658 4.35068 17.0436 5.7015 17.9441L5.83507 18.0332C7.62695 19.2278 9.73235 19.8652 11.8859 19.8652C14.0395 19.8652 16.1449 19.2278 17.9368 18.0332L18.0703 17.9441C19.4212 17.0436 20.5648 15.8658 21.4252 14.4891L22.6982 12.4525C22.9227 12.0932 22.9227 11.6373 22.6982 11.278L21.4252 9.24136C20.5648 7.86465 19.4212 6.68688 18.0703 5.78633L17.9368 5.69728C16.1449 4.5027 14.0395 3.86523 11.8859 3.86523ZM6.94447 7.36139C8.40782 6.38582 10.1272 5.86523 11.8859 5.86523C13.6446 5.86523 15.364 6.38582 16.8274 7.36139L16.9609 7.45043C18.0756 8.19352 19.0193 9.16536 19.7293 10.3014L20.7067 11.8652L19.7293 13.4291C19.0193 14.5651 18.0756 15.5369 16.9609 16.28L16.8274 16.3691C15.364 17.3446 13.6446 17.8652 11.8859 17.8652C10.1272 17.8652 8.40782 17.3446 6.94447 16.3691L6.8109 16.28C5.69627 15.5369 4.75259 14.5651 4.04259 13.4291L3.06517 11.8652L4.04259 10.3014C4.75259 9.16536 5.69627 8.19352 6.8109 7.45043L6.94447 7.36139Z"}),o().createElement("path",{d:"M16.2071 10.5196C16.5976 10.1291 16.5976 9.49592 16.2071 9.10539C15.8166 8.71487 15.1834 8.71487 14.7929 9.10539L10.7606 13.1377L9.207 11.5845C8.81642 11.1941 8.18326 11.1942 7.79279 11.5847C7.40232 11.9753 7.40242 12.6085 7.793 12.999L9.70015 14.9056C10.286 15.4912 11.2356 15.4911 11.8213 14.9054L16.2071 10.5196Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.83507 5.69729C7.62695 4.5027 9.73235 3.86523 11.8859 3.86523C14.0395 3.86523 16.1449 4.5027 17.9368 5.69728L18.0703 5.78633C19.4212 6.68688 20.5648 7.86465 21.4252 9.24136L22.6982 11.278C22.9227 11.6373 22.9227 12.0932 22.6982 12.4525L21.4252 14.4891C20.5648 15.8658 19.4212 17.0436 18.0703 17.9441L17.9368 18.0332C16.1449 19.2278 14.0395 19.8652 11.8859 19.8652C9.73235 19.8652 7.62695 19.2278 5.83507 18.0332L5.7015 17.9441C4.35068 17.0436 3.20704 15.8658 2.3466 14.4891L1.07369 12.4525C0.849137 12.0932 0.849136 11.6373 1.07369 11.278L2.3466 9.24136C3.20704 7.86465 4.35068 6.68688 5.7015 5.78633L5.83507 5.69729ZM16.2071 9.10539C16.5976 9.49592 16.5976 10.1291 16.2071 10.5196L11.8213 14.9054C11.2356 15.4911 10.286 15.4912 9.70015 14.9056L7.793 12.999C7.40242 12.6085 7.40232 11.9753 7.79279 11.5847C8.18326 11.1942 8.81642 11.1941 9.207 11.5845L10.7606 13.1377L14.7929 9.10539C15.1834 8.71487 15.8166 8.71487 16.2071 9.10539Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.21419 12L15.5144 5.69985C15.9049 5.30933 15.9049 4.67616 15.5144 4.28564C15.1238 3.89511 14.4907 3.89511 14.1002 4.28564L7.44642 10.9394C6.86063 11.5252 6.86064 12.4749 7.44642 13.0607L14.1002 19.7144C14.4907 20.105 15.1238 20.105 15.5144 19.7144C15.9049 19.3239 15.9049 18.6907 15.5144 18.3002L9.21419 12Z"}))});var c=["default","outlined"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rc?c:n):n}(e)),this.arr=e,this.idx=t,this.len=n}return e.prototype[i.iterator]=function(){return this},e.prototype.next=function(){return this.idx{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>g});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(53057);var u=t.n(s);const c=n(18672),d=n(63759);var f=t.n(d),p=u().span.withConfig({displayName:"BadgeStyles__Styled",componentId:"sc-14wnqqw-0"})(["",";",";gap:",";align-items:center;justify-content:center;padding:"," ",";width:min-content;border-radius:500px;"," ",""],f().reset("inline-flex"),f().typography("smallBody",{color:"active",weight:"semiBold"}),c.variables.spacingXSmall,c.variables.spacingXSmall,c.variables.spacingMedium,function(e){var t=e.$backgroundColor;return t?(0,s.css)(["background-color:",";"],t):(0,s.css)(["background-color:",";"],c.variables.neutral100)},function(e){var t=e.$foregroundColor;return(0,s.css)(["color:",";"],t)}),m=u().div.withConfig({displayName:"BadgeStyles__StyledLabel",componentId:"sc-14wnqqw-1"})(["",""],f().ellipsis());function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{MarkdownAnchorHeading:()=>w,MarkdownBlockquote:()=>E,MarkdownCode:()=>A,MarkdownCodeBlock:()=>D,MarkdownHeading:()=>B,MarkdownImage:()=>N,MarkdownItem:()=>R,MarkdownLink:()=>X,MarkdownList:()=>U,MarkdownParagraph:()=>K,default:()=>ye});const a=n(14041);var o=t.n(a);const i=n(39067);var l=t.n(i);const s=n(87284);var u=t.n(s);const c=n(9927);var d=t.n(c);const f=n(53057);var p=t.n(f);const m=n(57713);var h=t.n(m);const y=n(51105);var b=t.n(y);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t:last-child{margin-bottom:0;}"],S.mixins.reset("block"),S.variables.spacingSmall,(0,S.pick)({dark:S.variables.white,light:S.variables.neutral500}));const E=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=2?r.reduce(e,t)(this):r.reduce(e)(this)}},43594(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{NavigationContext:()=>b,NavigationProvider:()=>g,default:()=>A,isInternalLink:()=>k,isRootRelativeLink:()=>x});const a=n(14041);var o=t.n(a);n(28541);const i=n(52804);var l=t.n(i);const s=n(36728);var u=t.n(s);const c=n(39067);var d=t.n(c);const f=n(53057);var p=t.n(f);const m=n(18672);var h=p().a.withConfig({displayName:"ClickableStyles__StyledA",componentId:"sc-7al1vw-0"})([""," cursor:pointer;&[disabled],&[aria-disabled='true']{cursor:not-allowed;color:",";}&::-moz-focus-inner{border:0;padding:0;}"],m.mixins.reset("inline"),m.variables.contentColorDisabled),y={children:d().node,onClick:d().func,onLinkClick:d().func,transformUrl:d().func},b=o().createContext({});function g(e){var t=e.children,n=e.onClick,r=e.onLinkClick,i=e.transformUrl,l=(0,a.useMemo)(function(){return{onClick:n,onLinkClick:r,transformUrl:i}},[n,r,i]);return o().createElement(b.Provider,{value:l},t)}function v(e,t){e&&("function"==typeof e?e(t):e.current=t)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.701 3.75C11.2783 2.75 12.7217 2.75 13.2991 3.75L21.9593 18.75C22.5367 19.75 21.815 21 20.6603 21H3.33976C2.18507 21 1.46337 19.75 2.04072 18.75L10.701 3.75ZM12 5.5L4.20579 19H19.7942L12 5.5Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.701 3.75C11.2783 2.75 12.7217 2.75 13.2991 3.75L21.9593 18.75C22.5367 19.75 21.815 21 20.6603 21H3.33976C2.18507 21 1.46337 19.75 2.04072 18.75L10.701 3.75Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(99420))},43726(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(99420))},43758(e,t,n){"use strict";var r=n(91638),a=n(17810);r.Observable.prototype.switchMap=a.switchMap},44023(e,t,n){var r=n(44260),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))}},44025(e,t,n){"use strict";var r=n(91638),a=n(56293);r.Observable.prototype.takeUntil=a.takeUntil},44081(e,t,n){var r,a=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,c=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f={};c(f,{deepMergeWithArrayPrimitiveOverrides:()=>b}),e.exports=(r=f,d(o({},"__esModule",{value:!0}),r));var p={};c(p,{default:()=>h});var m=((e,t,n)=>(n=null!=e?a(s(e)):{},d(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(48808));((e,t)=>{d(e,t,"default")})(p,n(48808));var h="default"in m?m.default:m,y=(e,t)=>{if(!Array.isArray(e)||0===e.length)return-1;const n=Object.keys(t);let r=0,a=0;return e.forEach((e,o)=>{let i=0;n.forEach(n=>{e[n]===t[n]&&(i+=1)}),Math.max(r,i)>r&&(r=i,a=o)}),a},b=(e,...t)=>{const n=(0,p.cloneDeep)(e);return t.forEach((e={})=>{Object.keys(e).forEach(t=>{if(Object.prototype.hasOwnProperty.call(n,t)||(n[t]=(0,p.cloneDeep)(e[t])),n[t]&&"object"==typeof n[t]&&!Array.isArray(n[t])&&"object"==typeof e[t])n[t]=b(n[t],e[t]);else if(Array.isArray(n[t])&&"object"==typeof n[t][0]&&!Array.isArray(n[t][0]))for(let r=0;r-1&&(n[t][r]=b(n[t][r],e[t][a]))}})}),n}},44111(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>G});const a=n(14041);var o=t.n(a);const i=n(84505);var l=t.n(i);const s=n(36728);var u=t.n(s);const c=n(94241);var d=t.n(c);const f=n(39067);var p=t.n(f);const m=n(25146);var h=t.n(m);const y=n(33115);var b=t.n(y);const g=n(33771);var v=t.n(g);const _=n(64852);var M=t.n(_);const w=n(52056),S=n(91659);var x=t.n(S);const k=n(41454),C=n(53057);var E=t.n(C);const A=n(33199);var L=t.n(A);const O=n(8710),T=n(18672);var D="230px",z=E()(M()).withConfig({displayName:"TextStyles__StyledClearButton",componentId:"eg7n6t-0"})(["display:none;visibility:hidden;"]),j=E()(L()).withConfig({displayName:"TextStyles__StyledBox",componentId:"eg7n6t-1"})(["display:flex;justify-content:space-between;flex-grow:1;flex-shrink:1;gap:",";padding-inline:",";min-height:",";overflow:hidden;border:"," solid ",";border-radius:",";box-sizing:border-box;background-color:",";box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);align-items:center;cursor:text;&:has(> input:focus){box-shadow:",";}"," "," "," &[data-inline]{width:",";flex-basis:",";}",""],T.variables.spacingXSmall,T.variables.spacingSmall,T.variables.inputHeight,T.variables.inputBorderWidth,T.variables.interactiveColorBorder,T.variables.borderRadius,T.variables.interactiveColorBackground,T.variables.focusShadow,function(e){return e.$append&&(0,C.css)(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"])},function(e){return e.$prepend&&(0,C.css)(["border-top-left-radius:0;border-bottom-left-radius:0;"])},function(e){var t=e.$disabled,n=e.$error;return t?(0,C.css)(["border-color:",";box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);background-color:",";cursor:not-allowed;"],n?T.variables.interactiveColorAccentErrorWeak:T.variables.interactiveColorBorderDisabled,T.variables.interactiveColorBackgroundDisabled):(0,C.css)([""," &:hover{border-color:",";background-color:",";}","{visibility:visible;display:block;}"],n&&(0,C.css)(["border-color:",";"],T.variables.interactiveColorAccentError),n?T.variables.interactiveColorAccentErrorStrong:T.variables.interactiveColorBorderHover,T.variables.interactiveColorOverlayHover,z)},D,D,function(e){return e.$isTimeInput&&(0,C.css)(["@media screen and (min--moz-device-pixel-ratio:0){","{display:none;}}"],z)}),P=E().input.withConfig({displayName:"TextStyles__StyledInput",componentId:"eg7n6t-2"})(["",";"," width:100%;outline-style:none;border:0;background:transparent;flex-grow:1;font-size:inherit;&[type='time']{&::-webkit-calendar-picker-indicator{display:none;}}&::placeholder{color:",";opacity:1;}&[disabled],&[aria-disabled='true']{color:",";&::placeholder{color:",";}}"],T.mixins.reset("inline-flex"),T.mixins.typography("body",{lineHeight:"single",color:"active"}),T.variables.contentColorMuted,T.variables.contentColorDisabled,T.variables.contentColorDisabled),B=E().div.withConfig({displayName:"TextStyles__StyledAdornment",componentId:"eg7n6t-3"})(["display:inline-flex;align-items:center;justify-content:center;pointer-events:none;z-index:1;color:",";"," ",";& > button{","}& > button:focus,& > a:focus{box-shadow:",";}"],T.variables.contentColorMuted,function(){return(0,C.css)(["height:calc("," - 2px);"],T.variables.inputHeight)},function(e){return e.$disabled&&(0,C.css)(["color:",";"],T.variables.contentColorDisabled)},(0,O.buttonMixin)({borderColor:T.variables.transparent,borderColorHover:T.variables.transparent,borderColorActive:T.variables.transparent,borderColorDisabled:T.variables.transparent,backgroundHover:T.variables.interactiveColorOverlayHover,backgroundActive:T.variables.interactiveColorOverlayActive}),T.variables.focusShadowInset);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function N(e){return function(e){if(Array.isArray(e))return X(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||q(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(99420))},44316(e,t,n){var r=n(41082),a=n(98805);e.exports=function(e,t,n,o){var i=n.length,l=i,s=!o;if(null==e)return!l;for(e=Object(e);i--;){var u=n[i];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f=(e,t,n)=>(d(e,t,"default"),n&&d(n,t,"default")),p=(e,t,n)=>(n=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),m={};c(m,{default:()=>L}),e.exports=(r=m,d(o({},"__esModule",{value:!0}),r));var h={};c(h,{default:()=>b});var y=p(n(14041));f(h,n(14041));var b="default"in y?y.default:y,g={};c(g,{default:()=>_});var v=p(n(53057));f(g,n(53057));var _="default"in v?v.default:v,M={};c(M,{default:()=>S});var w=p(n(32769));f(M,n(32769));var S="default"in w?w.default:w,x={};c(x,{default:()=>C});var k=p(n(92288));f(x,n(92288));var C="default"in k?k.default:k,E=(e,t=0)=>C(e)?`${e}px`:e||E(t),A=_.div` overflow: hidden; display: flex; justify-content: center; align-items: center; ${e=>(({width:e,height:t})=>{let n="";return e&&(n=`width: ${E(e)};`),t&&(n=`${n}${e?"\n":""}height: ${E(t)};`),n})({width:e.width,height:e.height})}; `,L=h.memo(({width:e,height:t,level:n="info",message:r=""})=>h.createElement(A,{width:e,height:t,"data-test":"visualization-message"},h.createElement(S,{type:n,style:{maxWidth:"100%"}},r)))},44449(e,t,n){var r=n(43390),a=n(22498);e.exports=function(e){return r(e,a(e))}},44469(e,t,n){"use strict";var r=n(73194);t.skipLast=function(e){return r.skipLast(e)(this)}},44544(e,t,n){var r,a=Object.create,o=Object.defineProperty,i=Object.defineProperties,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&m(e,n,t[n]);if(c)for(var n of c(t))p.call(t,n)&&m(e,n,t[n]);return e},y=(e,t)=>i(e,s(t)),b=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of u(t))f.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e},v=(e,t,n)=>(g(e,t,"default"),n&&g(n,t,"default")),_=(e,t,n)=>(n=null!=e?a(d(e)):{},g(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),M={};b(M,{Area:()=>T,Bar:()=>D,Bubble:()=>z,ChoroplethSvg:()=>j,Column:()=>P,Events:()=>B,FillerGauge:()=>Y,Line:()=>N,LinkGraph:()=>$,Map:()=>G,MarkerGauge:()=>F,ParallelCoordinates:()=>V,Pie:()=>I,Punchcard:()=>R,Sankey:()=>U,Scatter:()=>W,SingleValue:()=>q,SingleValueRadial:()=>H,Table:()=>X}),e.exports=(r=M,g(o({},"__esModule",{value:!0}),r));var w={};b(w,{default:()=>x});var S=_(n(14041));v(w,n(14041));var x="default"in S?S.default:S,k={};b(k,{default:()=>E});var C=_(n(41454));v(k,n(41454));var E="default"in C?C.default:C,A={};b(A,{default:()=>O});var L=_(n(51019));v(A,n(51019));var O="default"in L?L.default:L,T=e=>w.createElement(O,h({screenReaderText:(0,k._)("Area"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("path",{d:"M119.232 20.8622C118.994 20.0798 118.066 19.7512 117.388 20.2089L114.739 21.9982C114.46 22.1867 114.271 22.4826 114.218 22.8153L111.15 42.1538L108.055 33.8295C107.626 32.6745 105.948 32.8176 105.721 34.0286L101.206 58.0477L90.7144 63.1063L88.8399 51.0927C88.6335 49.7699 86.7528 49.7034 86.4536 51.0084L83.2806 64.8453L80.3296 56.2886C80.217 55.9621 79.9709 55.6989 79.6526 55.5647L76.7686 54.3486L72.67 36.4603C72.3936 35.2541 70.702 35.1837 70.3264 36.3628L67.3007 45.861L59.0463 56.9048L56.3767 54.5809C55.7921 54.072 54.887 54.2327 54.5133 54.9117L51.8824 59.6918L44.8789 33.9402C44.7796 33.5753 44.5163 33.2774 44.1663 33.1341L40.9262 31.8078C40.3348 31.5657 39.6569 31.8228 39.3747 32.3962L33.3516 44.6356L29.4441 42.9163L25.4855 33.286C25.181 32.5453 24.2561 32.2962 23.6208 32.7837L20.6924 35.0311L18.578 23.8136C18.3215 22.453 16.3539 22.5105 16.1773 23.8837L11.8923 57.2113L10.0716 66.3688L6.8644 51.1945C6.76787 50.7378 6.41836 50.3766 5.96503 50.2652L2.50596 49.4152C1.73979 49.2269 1 49.8069 1 50.5958V79.6529C1 80.3244 1.54433 80.8687 2.21581 80.8687H148.72C149.392 80.8687 149.936 80.3244 149.936 79.6529V52.6903C149.936 52.5299 149.904 52.3711 149.843 52.223L145.895 42.742C145.557 41.9294 144.494 41.7344 143.89 42.374L140.915 45.5202C140.766 45.6782 140.661 45.8734 140.613 46.0853L136.476 64.2347L133.579 37.8911C133.426 36.5051 131.44 36.4246 131.176 37.7937L129.455 46.7158L126.005 26.9741C125.8 25.7994 124.202 25.5915 123.703 26.6745L122.077 30.2035L119.232 20.8622Z"})),D=e=>w.createElement(O,h({screenReaderText:(0,k._)("Bar"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M117.444 24H1V30.2316H117.444V24Z"}),w.createElement("path",{d:"M149 33.3474H1V39.5789H149V33.3474Z"}),w.createElement("path",{d:"M1 42.6947H103.432V48.9263H1V42.6947Z"}),w.createElement("path",{d:"M131.863 52.0421H1V58.2737H131.863V52.0421Z"}),w.createElement("path",{d:"M1 61.3895H67.2105V67.621H1V61.3895Z"}),w.createElement("path",{d:"M99.5368 70.7368H1V76.9684H99.5368V70.7368Z"}))),z=e=>w.createElement(O,h({screenReaderText:(0,k._)("Bubble"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M39 42C45.0751 42 50 37.0751 50 31C50 24.9249 45.0751 20 39 20C32.9249 20 28 24.9249 28 31C28 37.0751 32.9249 42 39 42Z"}),w.createElement("path",{d:"M12.5 57C15.5376 57 18 54.5376 18 51.5C18 48.4624 15.5376 46 12.5 46C9.46243 46 7 48.4624 7 51.5C7 54.5376 9.46243 57 12.5 57Z"}),w.createElement("path",{d:"M76 50C76 51.6569 74.6569 53 73 53C71.3431 53 70 51.6569 70 50C70 48.3431 71.3431 47 73 47C74.6569 47 76 48.3431 76 50Z"}),w.createElement("path",{d:"M13 81C14.6569 81 16 79.6569 16 78C16 76.3431 14.6569 75 13 75C11.3431 75 10 76.3431 10 78C10 79.6569 11.3431 81 13 81Z"}),w.createElement("path",{d:"M143 28C143 29.6569 141.657 31 140 31C138.343 31 137 29.6569 137 28C137 26.3431 138.343 25 140 25C141.657 25 143 26.3431 143 28Z"}),w.createElement("path",{d:"M55 57C59.4183 57 63 53.4183 63 49C63 44.5817 59.4183 41 55 41C50.5817 41 47 44.5817 47 49C47 53.4183 50.5817 57 55 57Z"}),w.createElement("path",{d:"M52 65C52 69.4183 48.4183 73 44 73C39.5817 73 36 69.4183 36 65C36 60.5817 39.5817 57 44 57C48.4183 57 52 60.5817 52 65Z"}),w.createElement("path",{d:"M119 55C123.418 55 127 51.4183 127 47C127 42.5817 123.418 39 119 39C114.582 39 111 42.5817 111 47C111 51.4183 114.582 55 119 55Z"}),w.createElement("path",{d:"M91 65.5C91 67.9853 88.9853 70 86.5 70C84.0147 70 82 67.9853 82 65.5C82 63.0147 84.0147 61 86.5 61C88.9853 61 91 63.0147 91 65.5Z"}),w.createElement("path",{d:"M126.5 66C129.538 66 132 63.5376 132 60.5C132 57.4624 129.538 55 126.5 55C123.462 55 121 57.4624 121 60.5C121 63.5376 123.462 66 126.5 66Z"}),w.createElement("path",{d:"M111 40.5C111 50.165 103.165 58 93.5 58C83.835 58 76 50.165 76 40.5C76 39.3598 76.109 38.245 76.3173 37.1656C75.33 37.6979 74.2003 38 73 38C69.134 38 66 34.866 66 31C66 27.134 69.134 24 73 24C76.3684 24 79.1811 26.3791 79.8493 29.5487C83.0568 25.5558 87.9799 23 93.5 23C103.165 23 111 30.835 111 40.5Z"}))),j=e=>w.createElement(O,y(h({screenReaderText:(0,k._)("SVG Choropleth"),viewBox:"0 0 150 100",fill:"currentColor"},e),{style:y(h({},e.style),{overflow:"hidden"})}),w.createElement("path",{d:"M5 25.4684H11.7534V15.3671H45.3858V24.9873H45.3666V47.1235H51.1676V55.8972H23.4228V44.6992H5V25.4684ZM131.968 87.519V48.9129H105.532V54.8101H77.6329V62.5063H95.9114V87.519H131.968ZM5 65.2673H17.9681V88H51.1772V56.8689H22.4608V45.6709H5V65.2673V65.2673ZM132.439 47.9509H144.965V25.9494H128.13V12H105.541V47.9509H132.449H132.439ZM94.9494 63.4684H76.6709V34.1362H70.3889V19.6962H59.3448V25.4684H46.3382V46.1615H52.1392V88H81.9813V75.4937H94.9494V63.4684ZM104.57 53.8481V12H71.3605V19.6962H71.3413V33.1742H77.6233V53.8481H104.56H104.57Z"})),P=e=>w.createElement(O,h({screenReaderText:(0,k._)("Column"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M73.3598 16H59.0783V83.0459H73.3598V16Z"}),w.createElement("path",{d:"M36.5453 25.9487H22.3061V83.0459H36.5453V25.9487Z"}),w.createElement("path",{d:"M18.3714 32.1835H4.08984V83.0459H18.3714V32.1835Z"}),w.createElement("path",{d:"M40.5194 38.0602H55.0977V83.0459H40.5194V38.0602Z"}),w.createElement("path",{d:"M77.2945 54.4973H91.5337V83.0459H77.2945V54.4973Z"}),w.createElement("path",{d:"M109.701 34.1673H95.4617V83.0459H109.701V34.1673Z"}),w.createElement("path",{d:"M113.629 45.4137H127.868V83.0459H113.629V45.4137Z"}),w.createElement("path",{d:"M146.035 34.1673H131.796V83.0459H146.035V34.1673Z"}))),B=e=>w.createElement(O,h({screenReaderText:(0,k._)("Events"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M20.7071 63.7929C20.3166 63.4024 19.6834 63.4024 19.2929 63.7929C18.9024 64.1834 18.9024 64.8166 19.2929 65.2071L22.0858 68L19.2929 70.7929C18.9024 71.1834 18.9024 71.8166 19.2929 72.2071C19.6834 72.5976 20.3166 72.5976 20.7071 72.2071L23.8536 69.0607C24.4393 68.4749 24.4393 67.5251 23.8536 66.9393L20.7071 63.7929Z"}),w.createElement("path",{d:"M19.2929 45.7929C19.6834 45.4024 20.3166 45.4024 20.7071 45.7929L23.8536 48.9393C24.4393 49.5251 24.4393 50.4749 23.8536 51.0607L20.7071 54.2071C20.3166 54.5976 19.6834 54.5976 19.2929 54.2071C18.9024 53.8166 18.9024 53.1834 19.2929 52.7929L22.0858 50L19.2929 47.2071C18.9024 46.8166 18.9024 46.1834 19.2929 45.7929Z"}),w.createElement("path",{d:"M20.7071 27.7929C20.3166 27.4024 19.6834 27.4024 19.2929 27.7929C18.9024 28.1834 18.9024 28.8166 19.2929 29.2071L22.0858 32L19.2929 34.7929C18.9024 35.1834 18.9024 35.8166 19.2929 36.2071C19.6834 36.5976 20.3166 36.5976 20.7071 36.2071L23.8536 33.0607C24.4393 32.4749 24.4393 31.5251 23.8536 30.9393L20.7071 27.7929Z"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 23C10 22.4477 10.4477 22 11 22H139C139.552 22 140 22.4477 140 23C140 41 140 59 140 77C140 77.5523 139.552 78 139 78H11C10.4477 78 10 77.5523 10 77C10 59 10 41 10 23ZM60.2563 60H138V76H60.2563V60ZM33.1284 60H58.2563V76H33.1284V60ZM31.1284 60V76H12V60H31.1284ZM12 58H31.1284V42H12V58ZM33.1284 58H58.2563V42H33.1284V58ZM60.2563 58H138V42H60.2563V58ZM138 24V40H60.2563V24H138ZM58.2563 24V40H33.1284V24H58.2563ZM31.1284 24V40H12V24H31.1284Z"}))),Y=e=>w.createElement(O,h({screenReaderText:(0,k._)("Filler Gauge"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59 10H91V91H59V10ZM61 12H89V39H61V12Z"})),N=e=>w.createElement(O,h({screenReaderText:(0,k._)("Line"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M117.241 28.2308L115.172 29.6278L112.13 48.7981C111.871 50.4315 109.612 50.6567 109.035 49.1065L106.432 42.1056L102.179 64.7371C102.084 65.2392 101.757 65.6665 101.297 65.8884L90.8051 70.9469C89.833 71.4156 88.6844 70.8127 88.5181 69.7465L86.9577 59.7462L84.2401 71.597C83.8788 73.1725 81.6798 73.2899 81.1528 71.7618L78.259 63.3706L75.5362 62.2225C75.0598 62.0217 74.7091 61.604 74.5936 61.1001L70.8154 44.61L68.225 52.7414C68.1707 52.9121 68.0882 53.0725 67.9809 53.216L59.7265 64.2597C59.1667 65.0087 58.0882 65.1238 57.3829 64.5098L55.0799 62.5051L52.6834 66.8594C51.9865 68.1258 50.1026 67.9009 49.7232 66.5061L42.7704 40.9412L40.0481 39.8268L34.1866 51.7379C33.8064 52.5107 32.8847 52.8465 32.0964 52.4997L28.1889 50.7804C27.8083 50.6129 27.5074 50.3045 27.3493 49.92L23.5855 40.7636L21.0636 42.699C20.1128 43.4287 18.7266 42.8991 18.5046 41.7213L16.8488 32.9363L12.8767 63.8293C12.8738 63.8519 12.8701 63.8744 12.8657 63.8967L11.041 73.0747C10.6999 74.79 8.25242 74.8047 7.89078 73.0937L4.73451 58.1602L0.761585 57.1839C0.225258 57.0521 -0.102674 56.5104 0.0291274 55.9741C0.160929 55.4378 0.702555 55.1099 1.23888 55.2417L5.45093 56.2768C6.05046 56.4241 6.51269 56.9017 6.64036 57.5057L9.45219 70.8095L10.8974 63.5403L15.1808 30.226C15.4143 28.4099 18.0165 28.3339 18.3556 30.1332L20.3519 40.7241L22.7744 38.865C23.6146 38.2202 24.8378 38.5497 25.2405 39.5292L29.139 49.0134L32.558 50.5178L38.4152 38.6154C38.7884 37.8571 39.6849 37.5171 40.467 37.8373L43.7071 39.1636C44.17 39.353 44.5183 39.7471 44.6496 40.2297L51.3987 65.0458L53.5621 61.115C54.0564 60.217 55.2534 60.0045 56.0265 60.6775L58.3774 62.724L66.3394 52.0715L69.3452 42.6361C69.8419 41.0768 72.079 41.1698 72.4445 42.765L76.4983 60.4577L79.1973 61.5957C79.6182 61.7731 79.9437 62.1212 80.0926 62.5531L82.5969 69.8147L85.4637 57.3131C85.8595 55.5872 88.3466 55.6751 88.6196 57.4246L90.4127 68.9158L100.25 64.1729L104.728 40.3485C105.029 38.7469 107.247 38.5577 107.815 40.0852L110.389 47.0091L113.223 29.1461C113.293 28.7062 113.543 28.3149 113.912 28.0656L116.561 26.2763C117.458 25.6709 118.684 26.1055 118.999 27.1403L121.545 35.4962L122.74 32.9028C123.4 31.4705 125.512 31.7454 125.784 33.2989L128.866 50.9396L130.184 44.1117C130.533 42.3011 133.159 42.4076 133.361 44.2406L136.004 68.2696L139.623 52.3905C139.687 52.1102 139.825 51.8521 140.022 51.6432L142.997 48.497C143.797 47.6511 145.202 47.909 145.65 48.9836L149.644 58.5768C149.856 59.0866 149.615 59.6721 149.105 59.8843C148.595 60.0966 148.01 59.8554 147.797 59.3455L144.035 50.3097L141.549 52.9394L137.436 70.9843C137.033 72.7521 134.469 72.605 134.27 70.8028L131.656 47.0364L130.426 53.4128C130.087 55.1661 127.57 55.1439 127.263 53.3849L124.03 34.8813L122.93 37.2687C122.312 38.611 120.362 38.4781 119.932 37.0644L117.241 28.2308Z"})),F=e=>w.createElement(O,h({screenReaderText:(0,k._)("Marker Gauge"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59 34C56.7909 34 55 35.7909 55 38L55 40C55 42.2091 56.7909 44 59 44L59 55H91V46.6458C91.7329 47.4762 92.8053 48 94 48L114 48C116.209 48 118 46.2091 118 44V34C118 31.7909 116.209 30 114 30L94 30C92.8053 30 91.7329 30.5238 91 31.3542V23L59 23V34ZM59 36C57.8954 36 57 36.8954 57 38V40C57 41.1046 57.8954 42 59 42H92V44C92 45.1046 92.8954 46 94 46L114 46C115.105 46 116 45.1046 116 44V34C116 32.8954 115.105 32 114 32L94 32C92.8954 32 92 32.8954 92 34V36L59 36Z"}),w.createElement("path",{d:"M59 70L91 70L91 91H59L59 70Z"}),w.createElement("path",{d:"M91 57H59L59 68L91 68V57Z"}),w.createElement("path",{d:"M91 10L59 10V21L91 21V10Z"}))),I=e=>w.createElement(O,h({screenReaderText:(0,k._)("Pie"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M52.9652 82.7149C42.7139 75.6113 36 63.7631 36 50.3468C36 28.8297 53.2694 11.3461 74.704 11V50.15L52.9652 82.7149Z"}),w.createElement("path",{d:"M77.1674 50.3472L112.35 36.9099C113.873 41.1027 114.704 45.6277 114.704 50.3468C114.704 55.071 113.872 59.6007 112.345 63.7974L77.1674 50.3472Z"}),w.createElement("path",{d:"M75.2752 89.6987C73.4676 89.6952 71.6576 89.5671 69.858 89.3134C64.2213 88.5187 58.8266 86.5109 54.045 83.4316L75.6035 51.1368L111.872 65.004C109.754 70.2822 106.516 75.041 102.378 78.9505C98.083 83.0084 92.9296 86.0471 87.2999 87.841C83.4018 89.0833 79.3446 89.7066 75.2752 89.6987Z"}),w.createElement("path",{d:"M76 49.4058L111.878 35.703C108.996 28.5149 104.055 22.332 97.6686 17.9348C91.2821 13.5375 83.7432 11.1278 76 11.0003V49.4058Z"})));function R(e){return x.createElement(O,h({screenReaderText:(0,k._)("Punchcard"),fill:"currentColor",viewBox:"0 0 150 100"},e),x.createElement("g",null,x.createElement("path",{d:"M74.6613 25.3907C74.6613 29.4725 71.3493 32.7814 67.2637 32.7814C63.1782 32.7814 59.8661 29.4725 59.8661 25.3907C59.8661 21.3089 63.1782 18 67.2637 18C71.3493 18 74.6613 21.3089 74.6613 25.3907Z"}),x.createElement("path",{d:"M25.5895 25.3907C25.5895 29.4157 22.3235 32.6787 18.2947 32.6787C14.266 32.6787 11 29.4157 11 25.3907C11 21.3657 14.266 18.1027 18.2947 18.1027C22.3235 18.1027 25.5895 21.3657 25.5895 25.3907Z"}),x.createElement("path",{d:"M35.4796 25.3907C35.4796 25.8662 35.0937 26.2518 34.6177 26.2518C34.1418 26.2518 33.7559 25.8662 33.7559 25.3907C33.7559 24.9152 34.1418 24.5296 34.6177 24.5296C35.0937 24.5296 35.4796 24.9152 35.4796 25.3907Z"}),x.createElement("path",{d:"M50.9407 30.6141C53.8282 30.6141 56.169 28.2755 56.169 25.3907C56.169 22.5059 53.8282 20.1673 50.9407 20.1673C48.0532 20.1673 45.7125 22.5059 45.7125 25.3907C45.7125 28.2755 48.0532 30.6141 50.9407 30.6141Z"}),x.createElement("path",{d:"M83.5867 26.6448C84.28 26.6448 84.8419 26.0833 84.8419 25.3907C84.8419 24.6981 84.28 24.1366 83.5867 24.1366C82.8935 24.1366 82.3315 24.6981 82.3315 25.3907C82.3315 26.0833 82.8935 26.6448 83.5867 26.6448Z"}),x.createElement("path",{d:"M106.749 25.3907C106.749 29.1644 103.687 32.2237 99.9097 32.2237C96.1324 32.2237 93.0704 29.1644 93.0704 25.3907C93.0704 21.617 96.1324 18.5577 99.9097 18.5577C103.687 18.5577 106.749 21.617 106.749 25.3907Z"}),x.createElement("path",{d:"M116.233 29.7938C118.667 29.7938 120.64 27.8225 120.64 25.3907C120.64 22.9589 118.667 20.9876 116.233 20.9876C113.799 20.9876 111.825 22.9589 111.825 25.3907C111.825 27.8225 113.799 29.7938 116.233 29.7938Z"}),x.createElement("path",{d:"M138.721 25.3907C138.721 28.7925 135.961 31.5502 132.556 31.5502C129.151 31.5502 126.39 28.7925 126.39 25.3907C126.39 21.9889 129.151 19.2312 132.556 19.2312C135.961 19.2312 138.721 21.9889 138.721 25.3907Z"}),x.createElement("path",{d:"M18.2947 47.9379C21.7439 47.9379 24.5399 45.1444 24.5399 41.6985C24.5399 38.2526 21.7439 35.4591 18.2947 35.4591C14.8456 35.4591 12.0496 38.2526 12.0496 41.6985C12.0496 45.1444 14.8456 47.9379 18.2947 47.9379Z"}),x.createElement("path",{d:"M37.2098 41.6985C37.2098 43.1287 36.0493 44.2882 34.6177 44.2882C33.1862 44.2882 32.0256 43.1287 32.0256 41.6985C32.0256 40.2683 33.1862 39.1088 34.6177 39.1088C36.0493 39.1088 37.2098 40.2683 37.2098 41.6985Z"}),x.createElement("path",{d:"M50.9407 47.2758C54.0238 47.2758 56.5232 44.7788 56.5232 41.6985C56.5232 38.6183 54.0238 36.1212 50.9407 36.1212C47.8576 36.1212 45.3583 38.6183 45.3583 41.6985C45.3583 44.7788 47.8576 47.2758 50.9407 47.2758Z"}),x.createElement("path",{d:"M71.6758 41.6985C71.6758 44.133 69.7005 46.1065 67.2637 46.1065C64.827 46.1065 62.8516 44.133 62.8516 41.6985C62.8516 39.264 64.827 37.2905 67.2637 37.2905C69.7005 37.2905 71.6758 39.264 71.6758 41.6985Z"}),x.createElement("path",{d:"M83.5867 45.8635C85.8891 45.8635 87.7556 43.9988 87.7556 41.6985C87.7556 39.3982 85.8891 37.5335 83.5867 37.5335C81.2843 37.5335 79.4178 39.3982 79.4178 41.6985C79.4178 43.9988 81.2843 45.8635 83.5867 45.8635Z"}),x.createElement("path",{d:"M102.117 41.6985C102.117 42.9162 101.129 43.9033 99.9097 43.9033C98.6909 43.9033 97.7028 42.9162 97.7028 41.6985C97.7028 40.4808 98.6909 39.4937 99.9097 39.4937C101.129 39.4937 102.117 40.4808 102.117 41.6985Z"}),x.createElement("path",{d:"M116.233 48.039C119.738 48.039 122.579 45.2003 122.579 41.6985C122.579 38.1968 119.738 35.358 116.233 35.358C112.728 35.358 109.886 38.1968 109.886 41.6985C109.886 45.2003 112.728 48.039 116.233 48.039Z"}),x.createElement("path",{d:"M139 41.6985C139 45.2543 136.115 48.1368 132.556 48.1368C128.997 48.1368 126.111 45.2543 126.111 41.6985C126.111 38.1427 128.997 35.2602 132.556 35.2602C136.115 35.2602 139 38.1427 139 41.6985Z"}),x.createElement("path",{d:"M18.2947 59.6599C19.2089 59.6599 19.9499 58.9196 19.9499 58.0063C19.9499 57.0931 19.2089 56.3527 18.2947 56.3527C17.3806 56.3527 16.6396 57.0931 16.6396 58.0063C16.6396 58.9196 17.3806 59.6599 18.2947 59.6599Z"}),x.createElement("path",{d:"M42.0741 58.0063C42.0741 62.1205 38.7358 65.4557 34.6177 65.4557C30.4997 65.4557 27.1614 62.1205 27.1614 58.0063C27.1614 53.8921 30.4997 50.5569 34.6177 50.5569C38.7358 50.5569 42.0741 53.8921 42.0741 58.0063Z"}),x.createElement("path",{d:"M50.9407 64.6126C54.5927 64.6126 57.5532 61.6549 57.5532 58.0063C57.5532 54.3578 54.5927 51.4 50.9407 51.4C47.2888 51.4 44.3283 54.3578 44.3283 58.0063C44.3283 61.6549 47.2888 64.6126 50.9407 64.6126Z"}),x.createElement("path",{d:"M68.7181 58.0063C68.7181 58.8088 68.0669 59.4593 67.2637 59.4593C66.4605 59.4593 65.8093 58.8088 65.8093 58.0063C65.8093 57.2038 66.4605 56.5533 67.2637 56.5533C68.0669 56.5533 68.7181 57.2038 68.7181 58.0063Z"}),x.createElement("path",{d:"M83.5867 61.0282C85.2572 61.0282 86.6114 59.6752 86.6114 58.0063C86.6114 56.3374 85.2572 54.9845 83.5867 54.9845C81.9162 54.9845 80.5621 56.3374 80.5621 58.0063C80.5621 59.6752 81.9162 61.0282 83.5867 61.0282Z"}),x.createElement("path",{d:"M104.565 58.0063C104.565 60.575 102.481 62.6573 99.9097 62.6573C97.3386 62.6573 95.2544 60.575 95.2544 58.0063C95.2544 55.4377 97.3386 53.3553 99.9097 53.3553C102.481 53.3553 104.565 55.4377 104.565 58.0063Z"}),x.createElement("path",{d:"M116.233 59.9649C117.315 59.9649 118.193 59.088 118.193 58.0063C118.193 56.9246 117.315 56.0477 116.233 56.0477C115.15 56.0477 114.272 56.9246 114.272 58.0063C114.272 59.088 115.15 59.9649 116.233 59.9649Z"}),x.createElement("path",{d:"M136.733 58.0063C136.733 60.3111 134.863 62.1795 132.556 62.1795C130.249 62.1795 128.379 60.3111 128.379 58.0063C128.379 55.7015 130.249 53.8331 132.556 53.8331C134.863 53.8331 136.733 55.7015 136.733 58.0063Z"}),x.createElement("path",{d:"M18.2947 80.1328C21.5113 80.1328 24.1188 77.5277 24.1188 74.3141C24.1188 71.1006 21.5113 68.4955 18.2947 68.4955C15.0782 68.4955 12.4707 71.1006 12.4707 74.3141C12.4707 77.5277 15.0782 80.1328 18.2947 80.1328Z"}),x.createElement("path",{d:"M38.7197 74.3141C38.7197 76.5775 36.8832 78.4123 34.6177 78.4123C32.3523 78.4123 30.5158 76.5775 30.5158 74.3141C30.5158 72.0508 32.3523 70.216 34.6177 70.216C36.8832 70.216 38.7197 72.0508 38.7197 74.3141Z"}),x.createElement("path",{d:"M50.9407 82.0016C55.1904 82.0016 58.6354 78.5598 58.6354 74.3141C58.6354 70.0684 55.1904 66.6266 50.9407 66.6266C46.6911 66.6266 43.2461 70.0684 43.2461 74.3141C43.2461 78.5598 46.6911 82.0016 50.9407 82.0016Z"}),x.createElement("path",{d:"M73.5562 74.3141C73.5562 77.7862 70.739 80.6008 67.2637 80.6008C63.7885 80.6008 60.9712 77.7862 60.9712 74.3141C60.9712 70.8421 63.7885 68.0275 67.2637 68.0275C70.739 68.0275 73.5562 70.8421 73.5562 74.3141Z"}),x.createElement("path",{d:"M83.5867 77.3963C85.2905 77.3963 86.6717 76.0164 86.6717 74.3141C86.6717 72.6119 85.2905 71.232 83.5867 71.232C81.8829 71.232 80.5017 72.6119 80.5017 74.3141C80.5017 76.0164 81.8829 77.3963 83.5867 77.3963Z"}),x.createElement("path",{d:"M106.106 74.3141C106.106 77.733 103.332 80.5046 99.9097 80.5046C96.4876 80.5046 93.7135 77.733 93.7135 74.3141C93.7135 70.8952 96.4876 68.1237 99.9097 68.1237C103.332 68.1237 106.106 70.8952 106.106 74.3141Z"}),x.createElement("path",{d:"M116.233 78.4384C118.513 78.4384 120.361 76.5919 120.361 74.3141C120.361 72.0364 118.513 70.1899 116.233 70.1899C113.953 70.1899 112.105 72.0364 112.105 74.3141C112.105 76.5919 113.953 78.4384 116.233 78.4384Z"}),x.createElement("path",{d:"M136.137 74.3141C136.137 76.2902 134.534 77.8921 132.556 77.8921C130.578 77.8921 128.974 76.2902 128.974 74.3141C128.974 72.3381 130.578 70.7362 132.556 70.7362C134.534 70.7362 136.137 72.3381 136.137 74.3141Z"})))}var W=e=>w.createElement(O,h({screenReaderText:(0,k._)("Scatter"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M127.772 16H134.759V22.9873H127.772V16Z"}),w.createElement("path",{d:"M29.9494 27.3544H36.9367V34.3418H29.9494V27.3544Z"}),w.createElement("path",{d:"M64.8861 45.6962H71.8734V52.6835H64.8861V45.6962Z"}),w.createElement("path",{d:"M71.8734 52.6835V59.6709H78.8608V52.6835H71.8734Z"}),w.createElement("path",{d:"M43.9241 59.6709H36.9367V66.6582H43.9241V59.6709Z"}),w.createElement("path",{d:"M43.9241 59.6709H50.9114V52.6835H43.9241V59.6709Z"}),w.createElement("path",{d:"M120.785 34.3418H127.772V41.3291H120.785V34.3418Z"}),w.createElement("path",{d:"M134.759 63.1646V70.1519H148.734V63.1646H134.759Z"}),w.createElement("path",{d:"M120.785 63.1646V70.1519H92.8354V63.1646H120.785Z"}),w.createElement("path",{d:"M64.8861 63.1646V70.1519H50.9114V63.1646H64.8861Z"}),w.createElement("path",{d:"M22.962 63.1646H29.9494V70.1519H22.962V63.1646Z"}),w.createElement("path",{d:"M8.98734 63.1646H2V70.1519H8.98734V63.1646Z"}),w.createElement("path",{d:"M85.8481 78.0127H92.8354V85H85.8481V78.0127Z"}),w.createElement("path",{d:"M85.8481 27.3544H78.8608V34.3418H85.8481V27.3544Z"}),w.createElement("path",{d:"M22.962 49.1899H15.9747V56.1772H22.962V49.1899Z"}),w.createElement("path",{d:"M15.9747 71.8987H8.98734V78.8861H15.9747V71.8987Z"}))),H=e=>w.createElement(O,h({screenReaderText:(0,k._)("Single Value Radial"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M15.8839 60.607C12.6595 68.3913 11 76.7344 11 85.16H5C5 75.9465 6.81474 66.8231 10.3406 58.3109C13.8665 49.7987 19.0344 42.0643 25.5494 35.5494C32.0643 29.0344 39.7987 23.8665 48.3109 20.3406C56.8231 16.8147 65.9465 15 75.16 15C84.3736 15 93.4969 16.8147 102.009 20.3406C110.521 23.8665 118.256 29.0344 124.771 35.5494C131.286 42.0644 136.454 49.7987 139.979 58.3109C143.505 66.8232 145.32 75.9465 145.32 85.16H139.32C139.32 76.7344 137.66 68.3913 134.436 60.607C131.212 52.8228 126.486 45.7498 120.528 39.792C114.57 33.8342 107.497 29.1082 99.713 25.8839C91.9287 22.6595 83.5856 21 75.16 21C66.7344 21 58.3913 22.6595 50.607 25.8839C42.8228 29.1082 35.7498 33.8342 29.792 39.792C23.8342 45.7498 19.1082 52.8228 15.8839 60.607Z"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43.7774 74.5395L44.5174 68.9895H41.4834V65.1415H45.0354L45.8494 58.7775H42.7414V54.9295H46.3674L47.1074 49.3795H51.3624L50.6224 54.9295H55.9134L56.6534 49.3795H60.9084L60.1684 54.9295H63.2024V58.7775H59.6504L58.8364 65.1415H61.9444V68.9895H58.3184L57.5784 74.5395H53.3234L54.0634 68.9895H48.7724L48.0324 74.5395H43.7774ZM49.2904 65.1415H54.5814L55.3954 58.7775H50.1044L49.2904 65.1415Z"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.9486 74.5395L67.6886 68.9895H64.6546V65.1415H68.2066L69.0206 58.7775H65.9126V54.9295H69.5387L70.2786 49.3795H74.5336L73.7937 54.9295H79.0847L79.8246 49.3795H84.0797L83.3396 54.9295H86.3736V58.7775H82.8217L82.0076 65.1415H85.1156V68.9895H81.4897L80.7496 74.5395H76.4947L77.2346 68.9895H71.9436L71.2036 74.5395H66.9486ZM72.4616 65.1415H77.7527L78.5667 58.7775H73.2757L72.4616 65.1415Z"}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.8599 68.9895L90.1199 74.5395H94.3749L95.1149 68.9895H100.406L99.6659 74.5395H103.921L104.661 68.9895H108.287V65.1415H105.179L105.993 58.7775H109.545V54.9295H106.511L107.251 49.3795H102.996L102.256 54.9295H96.9649L97.7049 49.3795H93.4499L92.7099 54.9295H89.0839V58.7775H92.1919L91.3779 65.1415H87.8259V68.9895H90.8599ZM100.924 65.1415H95.6329L96.4469 58.7775H101.738L100.924 65.1415Z"}))),q=e=>w.createElement(O,h({screenReaderText:(0,k._)("Single Value"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M107.745 67.5254L109.496 67.0523L111.58 69.7893C112.143 70.528 113.212 70.6381 113.914 70.0294L114.923 69.153L117.386 74.7909C117.936 76.0503 119.71 76.0837 120.307 74.8459L121.101 73.2016L123.037 80.2427C123.416 81.6232 125.275 81.8564 125.984 80.6124L129.133 75.0862L131.246 74.1923L134.307 77.1337C134.706 77.5163 135.339 77.5036 135.721 77.1053C136.104 76.7071 136.091 76.074 135.693 75.6914L132.445 72.571C131.981 72.1255 131.297 71.9991 130.705 72.2497L128.231 73.296C127.906 73.4335 127.636 73.6741 127.461 73.9807L124.714 78.8008L122.752 71.6636C122.358 70.2313 120.399 70.0534 119.753 71.3913L118.877 73.2082L116.542 67.8636C116.108 66.8695 114.834 66.5818 114.015 67.293L112.918 68.245L110.927 65.6309C110.531 65.1109 109.86 64.8823 109.229 65.0528L107.033 65.6458C106.544 65.7781 106.145 66.1337 105.958 66.6052L103.833 71.9619L101.735 69.7039C100.959 68.8696 99.5861 69.0839 99.1017 70.1148L95.6587 77.4418L87.6289 78.9905L86.3724 75.7694C85.8815 74.5109 84.1514 74.3821 83.4795 75.5541L81.2772 79.3957L79.3111 77.1153C79.0664 76.8315 78.7303 76.6421 78.3608 76.5797L76.2643 76.2262L73.155 70.798C72.5905 69.8124 71.2097 69.707 70.502 70.5955L68.1569 73.5402L61.6517 77.0216L59.3343 76.2147C58.837 76.0415 58.2863 76.1229 57.8603 76.4325L55.9311 77.8346L50.5844 69.9708C50.3365 69.6062 49.9497 69.3594 49.5145 69.2881L46.7576 68.8367C46.304 68.7625 45.8403 68.8859 45.4836 69.1758L40.7447 73.0277L37.7083 72.4933L34.6503 69.5176C34.2294 69.108 33.6186 68.9605 33.0571 69.1328L30.7019 69.8558L29.2845 66.8479C28.6625 65.5281 26.7457 65.6522 26.2992 67.0412L22.9132 77.5752L21.8631 79.6879L19.7598 75.7073C19.5076 75.2299 19.0327 74.9111 18.4954 74.8582L15.0979 74.5243C14.5483 74.4702 14.0589 74.872 14.0049 75.4216C13.9508 75.9713 14.3526 76.4607 14.9022 76.5147L18.0899 76.828L20.4521 81.2986C21.0642 82.457 22.7305 82.4363 23.3136 81.2631L24.7173 78.439C24.7532 78.3668 24.7836 78.2921 24.8082 78.2154L27.899 68.5997L29.0375 71.0158C29.3785 71.7393 30.1993 72.1022 30.9639 71.8675L33.422 71.1129L36.4001 74.0109C36.6313 74.2359 36.9249 74.3862 37.2427 74.4421L40.5744 75.0285C41.0337 75.1093 41.5054 74.9868 41.8673 74.6926L46.6084 70.8389L49.0251 71.2346L54.5046 79.2937C55.015 80.0444 56.0453 80.224 56.7796 79.6903L58.8703 78.1709L61.1564 78.9669C61.5807 79.1147 62.0476 79.0781 62.4438 78.8661L69.1719 75.2654C69.3648 75.1621 69.5346 75.0206 69.671 74.8494L71.7067 72.2933L74.621 77.3811C74.8603 77.7989 75.2742 78.0874 75.7488 78.1675L77.8887 78.5284L80.1241 81.1211C80.8483 81.961 82.1852 81.833 82.7368 80.8709L84.807 77.2598L85.8844 80.0217C86.1664 80.7447 86.9247 81.1631 87.6868 81.0161L96.2332 79.3679C96.7378 79.2706 97.1655 78.938 97.384 78.4729L100.665 71.4907L102.791 73.7783C103.596 74.6439 105.028 74.375 105.464 73.2765L107.745 67.5254Z"}),w.createElement("path",{d:"M40.3476 46.5396L41.1676 40.3896H37.8056V36.1256H41.7416L42.6436 29.0735H39.1996V24.8095H43.2176L44.0376 18.6596H48.7526L47.9326 24.8095H53.7956L54.6156 18.6596H59.3306L58.5106 24.8095H61.8726V29.0735H57.9366L57.0346 36.1256H60.4786V40.3896H56.4606L55.6406 46.5396H50.9256L51.7456 40.3896H45.8826L45.0626 46.5396H40.3476ZM46.4566 36.1256H52.3196L53.2216 29.0735H47.3586L46.4566 36.1256ZM66.0239 46.5396L66.8439 40.3896H63.4819V36.1256H67.4179L68.3199 29.0735H64.8759V24.8095H68.8939L69.7139 18.6596H74.4289L73.6089 24.8095H79.4719L80.2919 18.6596H85.0069L84.1869 24.8095H87.5489V29.0735H83.6129L82.7109 36.1256H86.1549V40.3896H82.1369L81.3169 46.5396H76.6019L77.4219 40.3896H71.5589L70.7389 46.5396H66.0239ZM72.1329 36.1256H77.9959L78.8979 29.0735H73.0349L72.1329 36.1256ZM91.7001 46.5396L92.5201 40.3896H89.1581V36.1256H93.0941L93.9961 29.0735H90.5521V24.8095H94.5701L95.3901 18.6596H100.105L99.2851 24.8095H105.148L105.968 18.6596H110.683L109.863 24.8095H113.225V29.0735H109.289L108.387 36.1256H111.831V40.3896H107.813L106.993 46.5396H102.278L103.098 40.3896H97.2351L96.4151 46.5396H91.7001ZM97.8091 36.1256H103.672L104.574 29.0735H98.7111L97.8091 36.1256Z"}))),X=e=>w.createElement(O,h({screenReaderText:(0,k._)("Table"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.92292 24.2117C7.75325 24.079 7.53966 24 7.30762 24C6.75533 24 6.30762 24.4477 6.30762 25V74.2308C6.30762 74.7831 6.75533 75.2308 7.30762 75.2308C7.53966 75.2308 7.75325 75.1517 7.92292 75.0191C8.0926 75.1517 8.30618 75.2308 8.53822 75.2308H141.461C141.693 75.2308 141.907 75.1517 142.077 75.019C142.246 75.1517 142.46 75.2308 142.692 75.2308C143.245 75.2308 143.692 74.7831 143.692 74.2308V25C143.692 24.4477 143.245 24 142.692 24C142.46 24 142.246 24.0791 142.077 24.2118C141.907 24.0791 141.693 24 141.461 24H8.53822C8.30618 24 8.09259 24.079 7.92292 24.2117ZM141.692 73.2576V62.8963C141.618 62.9138 141.541 62.9231 141.461 62.9231H98.564V73.2308H141.461C141.541 73.2308 141.618 73.24 141.692 73.2576ZM96.564 73.2308V62.9231H53.4358V73.2308H96.564ZM51.4358 73.2308V62.9231H8.53822C8.45886 62.9231 8.38165 62.9138 8.30762 62.8964V73.2575C8.38165 73.24 8.45886 73.2308 8.53822 73.2308H51.4358ZM8.53822 60.9231C8.45886 60.9231 8.38165 60.9323 8.30762 60.9498V50.5887C8.38165 50.6061 8.45886 50.6154 8.53822 50.6154H51.4358V60.9231H8.53822ZM96.564 60.9231H53.4358V50.6154H96.564V60.9231ZM141.461 60.9231H98.564V50.6154H141.461C141.541 50.6154 141.618 50.6061 141.692 50.5886V60.9499C141.618 60.9324 141.541 60.9231 141.461 60.9231ZM141.692 48.6422V38.2809C141.618 38.2984 141.541 38.3077 141.461 38.3077H98.564V48.6154H141.461C141.541 48.6154 141.618 48.6247 141.692 48.6422ZM96.564 48.6154V38.3077H53.4358V48.6154H96.564ZM51.4358 48.6154V38.3077H8.53822C8.45886 38.3077 8.38165 38.2984 8.30762 38.281V48.6421C8.38165 48.6246 8.45886 48.6154 8.53822 48.6154H51.4358ZM8.53822 36.3077C8.45886 36.3077 8.38165 36.3169 8.30762 36.3344V25.9733C8.38165 25.9908 8.45886 26 8.53822 26H51.4358V36.3077H8.53822ZM96.564 36.3077H53.4358V26H96.564V36.3077ZM141.461 36.3077H98.564V26H141.461C141.541 26 141.618 25.9907 141.692 25.9732V36.3345C141.618 36.317 141.541 36.3077 141.461 36.3077Z"})),V=e=>w.createElement(O,y(h({screenReaderText:(0,k._)("Parallel Coordinates"),viewBox:"0 0 150 100",fill:"currentColor"},e),{style:y(h({},e.style),{overflow:"hidden"})}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.1246 36.5205L63.3937 41.9399L57.3204 42.884L50.9932 36.5569L2.76153 24.499L2.65381 24.4315C2.18569 24.1385 1.56863 24.2804 1.27558 24.7485C1.00962 25.1733 1.10191 25.7208 1.47115 26.0375C1.59597 26.1885 1.76607 26.3042 1.96752 26.3615L23.3457 39.745L2.40668 36.4736C2.30924 36.4571 2.21223 36.4555 2.11815 36.4672C1.92979 36.4905 1.7547 36.567 1.61125 36.6833C1.54893 36.7339 1.49246 36.792 1.44344 36.8568C1.34698 36.9842 1.27975 37.1366 1.25335 37.3055C1.25252 37.3108 1.25173 37.3162 1.25099 37.3215C1.24312 37.3773 1.24008 37.4329 1.24158 37.4878C1.24776 37.7184 1.33375 37.9344 1.47636 38.1039C1.61065 38.2635 1.79515 38.382 2.01051 38.4329L33.9878 46.4073L49.9145 56.3779L53.2232 57.6319L50.0074 60.88L34.3524 68.7076L2.95322 60.8183L2.68953 60.6861C2.1958 60.4387 1.59493 60.6383 1.34745 61.132C1.13615 61.5536 1.25077 62.0532 1.59609 62.3443C1.7267 62.4999 1.90579 62.6173 2.11788 62.6706L2.25312 62.7046L22.4562 72.8313L2.96373 72.8805L2.60451 72.7907C2.06871 72.6568 1.52578 72.9825 1.39183 73.5183C1.2648 74.0264 1.5512 74.541 2.03809 74.707C2.19941 74.8175 2.39474 74.882 2.60506 74.8815L2.72 74.8812L15.5768 78.0954L1.91433 84.9266C1.42036 85.1736 1.22013 85.7743 1.46712 86.2682C1.71411 86.7622 2.31478 86.9624 2.80876 86.7154L18.5582 78.8407L50.2532 86.7645L50.9475 87.1125L51.4132 86.4081L69.3746 63.7533L79.0148 67.4068L98.6457 87.0378L123.199 74.7609H146.963C147.515 74.7609 147.963 74.3132 147.963 73.7609C147.963 73.2086 147.515 72.7609 146.963 72.7609H127.199L147.531 62.5951C148.025 62.3482 148.225 61.7475 147.978 61.2535C147.731 60.7595 147.13 60.5593 146.636 60.8063L122.727 72.7609H98.785L80.1252 65.6889L73.2728 58.8364L75.2772 56.3083L99.1601 38.3812L130.792 30.4732L146.514 38.3539C147.008 38.6013 147.609 38.4017 147.857 37.908C148.104 37.4143 147.904 36.8134 147.411 36.5659L133.77 29.7287L147.186 26.3749C147.23 26.3646 147.274 26.3513 147.317 26.3352C147.447 26.2861 147.562 26.2116 147.658 26.1189C147.82 25.9625 147.925 25.7543 147.955 25.5288C147.961 25.4807 147.964 25.4318 147.963 25.3824C147.963 25.3671 147.962 25.352 147.961 25.3369C147.962 25.3238 147.963 25.3107 147.963 25.2975L147.963 25.2791C147.963 24.7268 147.515 24.2791 146.963 24.2791H146.608L133.781 21.0483L147.381 14.2482C147.809 14.0519 148.051 13.5736 147.934 13.0999C147.881 12.8856 147.763 12.7047 147.606 12.5732C147.422 12.3565 147.148 12.219 146.842 12.219H98.838L98.4011 12L98.2924 12.1098L98.1587 12.0761L97.823 12.584L74.1246 36.5205ZM114.84 20.2401L107.222 16.4212L118.65 19.2996L114.84 20.2401ZM111.85 20.9784L98.9467 14.5107L89.5436 28.7335L97.9548 24.4857L98.1185 24.2791H98.4803L111.85 20.9784ZM106.825 24.2791L114.604 22.3586L118.435 24.2791H106.825ZM94.9921 28.2225L87.3198 32.0972L82.8078 38.9219L87.0297 38.2656L94.9921 28.2225ZM83.1663 34.1948L83.7204 33.915L80.1355 39.3373L78.9179 39.5266L83.1663 34.1948ZM81.8745 32.6066L86.2478 27.1181L79.7534 33.6778L81.8745 32.6066ZM75.3168 38.159L78.887 36.356L75.999 39.9803L73.0615 40.437L75.3168 38.159ZM60.2197 45.7834L64.0132 43.8676L67.3667 43.3463L62.5986 48.1623L60.2197 45.7834ZM139.229 14.219H106.667L122.785 18.2787L139.229 14.219ZM138.475 16.4651L126.915 19.3191L130.807 20.2992L138.475 16.4651ZM122.78 20.34L128.064 21.6708L122.873 24.2663L117.594 21.6203L122.78 20.34ZM34.7799 44.5436L32.677 43.2271L50.3609 45.9899L56.6242 45.0163L56.8517 45.2438L50.4837 48.4597L34.7799 44.5436ZM40.2524 47.9695L50.7214 50.5803L58.3404 46.7325L61.1915 49.5836L54.763 56.0767L50.8082 54.5778L40.2524 47.9695ZM28.5154 42.9813L24.1732 41.8985L27.6545 42.4424L28.5154 42.9813ZM127.319 24.2791L131.038 22.4199L138.42 24.2791H127.319ZM67.412 63.0094L64.2258 67.0282L66.9888 62.849L67.412 63.0094ZM66.2023 60.4121L68.5178 56.9099L66.5971 54.9892L63.1867 59.2692L66.2023 60.4121ZM71.2596 56.8232L71.0868 56.6505L81.3163 41.1777L85.1994 40.5741L73.8702 54.8636L71.2596 56.8232ZM69.6435 55.2071L78.6441 41.5932L77.0771 41.8368L67.8514 53.415L69.6435 55.2071ZM50.2576 84.5295L62.6483 65.7879L51.0638 74.4835L50.7417 74.8876L50.2384 74.7612L30.8672 74.8101L50.2576 84.5295ZM21.307 77.4663L26.5116 74.864L42.0479 82.6516L21.307 77.4663ZM31.6075 70.08L26.5127 72.6274L11.2022 64.9531L31.6075 70.08ZM98.4138 36.4958L89.9408 37.813L99.0852 26.2791H118.847L98.4138 36.4958ZM107.316 34.2806L122.872 26.503L128.048 29.0977L107.316 34.2806ZM94.9204 39.0629L80.174 50.1319L88.1105 40.1216L94.9204 39.0629ZM64.4924 61.9029L61.8777 60.9119L56.0219 68.261L64.4924 61.9029ZM42.3575 72.7811L34.5839 70.8279L30.6182 72.8107L42.3575 72.7811ZM22.1031 74.8322L10.8838 74.8605L18.3255 76.721L22.1031 74.8322ZM68.5996 61.3207L68.9734 61.0401L68.7159 61.3648L68.5996 61.3207ZM74.1583 42.2905L70.6931 42.8292L64.0129 49.5765L66.4281 51.9918L74.1583 42.2905ZM49.9707 38.3628L54.8725 43.2646L50.3617 43.9658L28.3683 40.5297L8.24388 27.9311L49.9707 38.3628ZM51.1967 62.5215L55.2697 58.4075L59.9136 60.1676L49.9801 72.6341L37.3288 69.4554L51.1967 62.5215ZM56.8095 56.8523L61.2225 58.5248L65.1739 53.5659L62.6057 50.9978L56.8095 56.8523ZM70.6785 62.1086L72.022 60.4141L75.5706 63.9627L70.6785 62.1086ZM126.888 26.2791L131.026 28.3532L139.322 26.2791H126.888ZM99.0406 84.6042L83.5694 69.133L98.4187 74.7609H118.727L99.0406 84.6042Z"})),U=e=>w.createElement(O,h({screenReaderText:(0,k._)("Sankey"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M11 39.9956V15H140V18.0054C122.347 18.1939 100.918 23.3084 79.0366 28.5307L76.9556 29.0273C54.2425 34.4439 31.1278 39.8215 11 39.9956Z"}),w.createElement("path",{d:"M68.5049 46.2188C49.0321 44.0413 29.6782 42.0704 11 42.002V66.9909C21.1218 66.8063 31.4903 63.8441 42.035 59.4216C50.7914 55.7492 59.6252 51.0896 68.5049 46.2188Z"}),w.createElement("path",{d:"M50.65 71.0687C59.5165 72.549 68.4985 74.2858 77.379 76.0186L79.3274 76.399C101.314 80.6918 122.564 84.8409 140 84.9956V52.0028C112.87 52.1564 90.7833 58.5377 70.3622 64.954C68.7943 65.4467 67.2355 65.9398 65.6845 66.4305L65.6792 66.4321L65.6767 66.4329L65.6749 66.4335C60.5999 68.039 55.6082 69.6181 50.65 71.0687Z"}),w.createElement("path",{d:"M11 68.9913V75.9949C29.4086 75.8043 46.5435 70.3857 65.1294 64.5082C66.6634 64.023 68.2074 63.5348 69.7627 63.0461C90.2186 56.6189 112.548 50.1567 140 50.0029V20.0093C129.878 20.1938 119.51 23.1561 108.965 27.5786C98.071 32.1475 87.0571 38.2443 75.9844 44.375L75.9568 44.3902C64.9136 50.5046 53.8117 56.6513 42.8086 61.2661C32.134 65.743 21.4883 68.8067 11 68.9913Z"}))),$=e=>w.createElement(O,h({screenReaderText:(0,k._)("Link Graph"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.9474 31H1V38.7895H39.9474V36.1187L53.4368 49.6082H39.9474V46.5789H1V54.3684H39.9474V51.3392H55.5263V54.3684H94.4737V51.3392H100.863L94.4737 64.1173V62.1579H55.5263V65.1871H39.9474V62.1579H1V69.9474H39.9474V66.9181H55.5263V69.9474H94.4737V66.9181H95.0086L102.798 51.3392H110.053V54.3684H149V46.5789H110.053V49.2497L105.913 45.1098L110.053 36.83V38.7895H149V31H110.053V34.0292H109.518L109.341 34.382L102.263 41.4602L94.8322 34.0292H94.4737V31H55.5263V38.7895H94.4737V36.1187L101.039 42.6842L94.4737 49.2497V46.5789H55.5263V49.2497L40.3059 34.0292H39.9474V31ZM102.263 43.9082L96.5632 49.6082H101.728L103.807 45.4516L102.263 43.9082ZM104.623 43.8196L106.893 39.278L103.487 42.6842L104.623 43.8196ZM105.097 46.7418L103.664 49.6082H107.963L105.097 46.7418Z"}),w.createElement("path",{d:"M149 62.1579V69.9474H110.053V62.1579H149Z"}))),G=e=>w.createElement(O,h({screenReaderText:(0,k._)("Map"),fill:"currentColor",viewBox:"0 0 150 100"},e),w.createElement("g",null,w.createElement("path",{d:"M135.647 88.087c-.76.423-1.414-.424-1.52.394.115.183.423.645.317.876.222.307.876.817.962.076.395.154.587-1.337.241-1.346ZM137.763 81.459c.241-.674-.404-1.347-.894-1.703 0-.24-.241-.76-.539-.625 0-.299-.289-.51-.298-.731-.01-.222-1.145-.549-1.116-.895a.71.71 0 0 0-.26-.808c.048-.385-.173-1.203-.683-.962-.058-.346-.394-1.924-.894-1.29-.501.636.077 2.83-.962 2.589-.097-.299-.51-.231-.664-.481-.395-.135-1.029-.395-.625-.866.336-.645.769-1.116-.433-.808-1.655-.597-.77.077-1.52 0 .587-.549-.962-.568-.327.077-.145.24-.799.663-.606 1.087-.501-.087-.866-.962-1.309-.222-.327-.076-.779.424-.75.741a.222.222 0 0 0-.273.025.22.22 0 0 0-.054.081c-.241-.135-.433.26-.558.375.048.472-.115.625-.443.962-.548 0-1.164.51-1.683.443 0 0-.837.52-.875.52-.039 0-.327 0-.347.105-.625 1.645.462 1.78-.211 1.847-.308.356.837 1.616.635 2.155.962 1.49-.847 1.587.683 2.25 1.269.241.885-.788 2.885-.538a1.677 1.677 0 0 1 1.559-.798 4.253 4.253 0 0 1 1.501-.375c.163.105.471.355.673.23.731.164.308.587.721.587.251.683.453.962 1.049.327 0 .212 0 .712.346.616-.259.52.722-.096.664 1.068a1.161 1.161 0 0 0 1.126.596c.432.366.692.193 1.029-.183.183.51 1.01.376 1.25 0 .087-.067.962-.163.962-.346-.048-.664.472-1.395.587-2.04a2.883 2.883 0 0 0 .654-3.01Zm-6.185 3.713v.087-.087ZM43.826 59.102c.549.395.347-.885-.163-.567-.106.154.106.221.192.288.087.068-.125.212-.029.28ZM140.476 73.272c-.125 0-.626-.48-.731-.279-.106.202 1.144.982.731.28Z"}),w.createElement("path",{d:"M61.007 72.002c-.597.097-1.444-.74-1.924-.962-.51.25-1.232-.413-1.694 0a.48.48 0 0 0-.577-.558c-.336-.105-.606-.442-.962-.269 0-.346-.808-.134-1.029-.173.375-.327.683-.654.096-.914-.096-.24-.067-.904-.471-.827-.606-1.126-1.818-.385-2.646-1.135a1.347 1.347 0 0 0-1.096-.741c.077-.144.125-.327-.077-.395.52-.557-.597-.798-.385-.105-.625-.703-1.068.163-1.79-.347-.346 0-.663.174-.827-.22-.644-.357-.692-.049-1.298.086-.077-.087.115-.096.134-.135.02-.038 0-.414-.125-.48-.125-.068-.702.451-.77.47-.067.02-.432-.076-.451.106-.616-.134-.424.904-1.02 1.02-1.193-.962-1.693.433-2.164-.356-1.232-.962.51-2.155-.616-2.434-.231-.587-1.395-.115-1.866-.211a.703.703 0 0 0 .182-.635c.106-.154.481-.75.289-.962.539-.683.308-1.01-.52-.876-1.23.222-.615.51-1.23 1.299-1.463.212-1.992 0-2.435-1.645 0-.067.337-1.472.289-1.54-.25-.336 0-.778.163-1.077.424.126.693-.413 1.078-.461.163 0 .664.154.77 0 .24.433 1.106.375 1.029-.212.654-.048 1.24-.26 1.674.23.461-.307.644-.066.962.3a1.529 1.529 0 0 0 .567 1.461c1.347 1.145.298-1.981.154-2.54 0-.076.395-.51.337-.605a1.136 1.136 0 0 0 .702-.558.664.664 0 0 0 .577-.52c1.193-.548.52-.808.53-1.635.297.173.538-.404.519-.645a.856.856 0 0 0 .365-.817c.28-.443 2.059-.174 1.25-.962.338-.356-.163-.664.674-.856.087 0 .116-.202.145-.26.192.096.779-.096.779-.327a.835.835 0 0 0 .346 0c-.664.962.25 1.308.731.327.077-.106 1.645-.327 1.328-.635.317-.087.721-.221.288-.539.068-.77-.635-.125-.692.202-.453.145-.568 0-.962-.192-.154-.26 0-.789-.202-.962.865-.52-.49-1.193-.962-.702.144-.962 2.453-.366 3.02-.606.568-.905.799-.453 1.405-.886a7.841 7.841 0 0 0-1.53 2.213c.221.616 1.328.058 1.693.366.385-.212.703 0 .876.394.462.27.644-1.52 0-.962a.819.819 0 0 0-.856-.895c.202-.202.22-.413-.097-.452 0-.125.173-1.029-.202-.779.376-.25.5-.423.087-.74.539-.77 0-.578-.53-1.165.51-.279-.326-.394-.5-.461 0-.404-.451-.173-.654-.164.299-.856-.288-.202-.519-1.116.52-.115-.654-2.107-.962-2.107 0-.317-.115-.77-.462-.836-.192.154-.538.702-.221.894-.654.693-1.876.712-1.568-.52-.115-.528-.125-1.019-.74-1.067-.3-.378-.621-.738-.963-1.078-.105-.134-.452.174-.548.193-.375-.067-1.443-.596-1.481.135.375.567.115.74 0 1.26.586.837-.164.962-.164 1.693 2.491 2.318-1.241 2.462-.202 3.319-.087.808.481 1.02-.192 1.789-1.328-1.087-.597-1.674-.962-2.636-1.02.154-2.569-1.154-3.454-1.549-.885.164-.548-.798-.962-1.135-.962.135-.404-1.52-.23-2.02.307-.135.519-.875.624-1.164 1.126-.202.453-.337 1.03-.962.625.058 1.202-.818 1.174-1.337-.299-.058.403-.702.403-.799a1.54 1.54 0 0 0 1.405-2.578c1.048-1.096-.058-1.087-.818-1.683.343.072.699.048 1.03-.067l1.74.327c.578.846 1.8 1.683 1.925 2.741-.337.49-1.241 1.126-.558 1.732-.625.096-1.751.154-1.828.962.481.693 1.433.27 2.04.048a3.31 3.31 0 0 0 .884 1.491c.54.212 3.464 1.982 1.828 0 2.145.702.53-2-.288-2.463a.962.962 0 0 0 .298-.73c.279.557 1.76 2.49 1.395.673.538.077.798-.626.962-.962 0-.366-.472-.78-.857-.549-.836-1.799-.74-.49-2.318-1.924 1.79-.394.346-2.203-.644-2.712a1.857 1.857 0 0 0-1.924-.837c.086-.808.22-1.126-.722-1.318.962.077 0-.856-.134-1.174-.395-.125-1.415-.52-1.53.154 0-.962-1.183.096-1.568.154.558-1.174-1.078-.289-1.51-.317a3.683 3.683 0 0 0 .23 4.463c.513.124 1.034.21 1.559.26-1.097 0-.366 2.482-1.164 2.886-.164-.26-.452-.674-.135-.962.087-.616-.663-1.693-1.164-.856a2.146 2.146 0 0 0-.827-.75c.798-.559.298-.857-.115-1.444.173-.51-.26-.962-.616-1.27.375 0 .144-.683.962-1.096.317-1.087 1.587-1.838-.298-2.117-1.463-.278-1.463.895-1.405 1.992.106.144 0 1.356.423 1.212-1.115.75-.654 1.635-.49 2.722 1.096.77 1.077 1.27.096 2.107 0-.183.25-.673-.125-.616 1.077-.596 0-.962-.385-1.568-.135-.22-.962.722-1.068.75-.288.26 1.03.665 1.107.78-.587-.096-.962-.202-.674.558-.471 0-1.587.221-1.808-.375-.366-.135-1.03-.26-1.078-.75.49.355 1.684.384 1.78-.357-.433-.394.337-.346.375-.654.106-.885-1.24-.798-1.5-1.577.26-.491-.28-1.8-.299-2.261 1.078-2.338-1.375-1.077-.846-.76-.606.058-.702.442-.731.962l-.905-.202c-.288-.125-.837-.625-1.106-.202-.106-.327-.135-1.01-.625-.548.51-.164-.703-1.174-.74-1.366a7.165 7.165 0 0 0-1.165-.106s-.558-.481-.645-.424c-.086.058-1.558.203-1.394.5.962.857-.722 2.723-.395 3.396 1.184.308.693 1.838 2.3.578.173-.424.057-1.164.625-1.395a2.174 2.174 0 0 1 0 1.924c.144.856 1.01.616 1.616.548-.116.26-.895.5-1.135.597-.24.096.288.74.298.865.4.138.813.24 1.231.308.068.096.116.847.327.789a12.975 12.975 0 0 0 1.8-.327c.086.52.24 1.299-.55.635-.557.106-1.26.462-1.923.23.76-.865-.28-1.471-1.02-1.23l-1.731-1.04c-1.222-.317-.318.607-1.53.54-.616-.636-.75-1.627-1.54-.424-.442.058-.46-.087-.48-.471-.02-.385-1.722 1.202-1.837 1.183.22 1.03-1.53-.24-1.76-.51a3.694 3.694 0 0 1-1.646-.702c-1.24.384-2.145-.741-3.492-.414 0-.673-.567-.433-.962-.414-.683-.471-.962-.856-1.597-.067-.375 0-.865 0-.962.481-.692.135-1.154.962-1.395 1.597-.567.115-1.221.183-1.317.904-.154.154 1.067.847 1.106.962 0 .625.51.645 1.02.693 0 .452-.222.606-.655.673-.192-1.145-1.462.308-1.924.443-.26.144.79 1.202.857 1.289a5.936 5.936 0 0 0 1.827.154c.087.134.299.423.135.567a.635.635 0 0 0-.77.404c-.413-.154-.683-.202-.625.356-.52.452-.962 1.106-.298 1.655-.308.336.327.75.49.962.164.211.578-.087.664-.077.087.01.299.75.443.692.789-.125.846 1.01 1.597.24-.145.357-.116.867-.51 1.126.058.327-.558.414-.712.606 0 .202-.366.183-.49.212-.126.029-.684.548-.674.683.26.683 1.732-.596 2.059-.664.086-.394.962-.404.914-.885.365-.26 1.924-1.135.962-1.5.134-.145.586-.693.788-.722 0 .125-.365.75-.077.77.289.019.616.077.693-.27.433-.067 1.54-.587.866-1.068.52-.49 1.077 1.164 2.722.655.213.243.507.4.828.442.125 0 1.077 1.28 1.25 1.03-.288.182 0 .577.221.673.289-.135.722-.414.299-.693.346-.163 1.087 1.357 1.25 1.52.731.318.173 1.616 1.145 1.924.115.231.24.895.616.828a.683.683 0 0 0 0 .846c-.568-.202-.318.298-.154.568.244.135.502.245.77.327.086.086.365.644.528.615 0 .202.164 1.03.356 1.135a33.131 33.131 0 0 0-.211 3.54c0 .078.192.299.22.366a.72.72 0 0 0 .29.683c0 .404.605.702.51 1.126.115.144.586.567.48.779 1.76.423 1.405 2 2.646 2.886-.693.538-.087.615.721 1.087.135.77.183.75.847 1.202.067.577.615.24.567-.125-.115-.106-.317-.51-.52-.433-.172-1.24-1.48-2-1.683-3.174 1.136 1.087 2.04 3.01 3.406 4.127.538.962-.626.875.962 1.924.885.211 1.924 1.029 2.886 1.154.26 0 .702-.471.962-.192a3.56 3.56 0 0 0 2.549 1.154c-.135.115.74.77.77.856a.51.51 0 0 0 .538.702c.337.135.221.154.327.395.53.433.337.096.799.183.105.529 1.26.48.779-.106l.394-.24c.212.24.318.673.549.904-.077.115 0 .24.057.336.058.096-.182.789 0 .799-.115.471-.423.26-.567.52.115.326-.337.422-.53.538-.192.115-.115.606-.355.77-.24.163 0 .557-.058.644-.058.086.452.24.26.337a.653.653 0 0 0-.26.962c-.337.298.24.442.414.577.548.692.894 1.991 1.481 2.664.144 1.924 3.415.722 2.29 4.281a4.56 4.56 0 0 1-.366 2.55 1.08 1.08 0 0 1-.077.827c.308.635-.385 2.385-.577 3.001-.452-.077 0 1.106 0 1.29-.115.384-.962 2.731.067 2.125.135.433-.317.404.116.664-.347.115-.183.789-.462.625-.885.366.106.895.26 1.414a.875.875 0 0 0-.25 1.309c-.337.346.25.817.154 1.279 0 .087-.116.5 0 .548.115.048 1.24 1.347 1.327.52l.058.538c-1.222.376 2.405.866 2.29.222-.174-.452-1.819-.741-1.338-1.607-.212-.49-.548-1.221.164-1.452a1.992 1.992 0 0 1 .875-1.27c.173-.472 0-.606-.154-.702-1.53-.683.789-.885.395-1.867 0-.057.77-.548.702-.663-.096-.962-.645.365-.616-.77.356.173 1.308.154 1.068-.452 0-.125.27-.52.135-.635.856.173 2.578-.462 2.145-1.54-.385-.192.106-.442-.433-.682.135-.058.356.115.452.183.096.067.962-.116.962-.097.221-.182.481-.644.712-.846.404-.731 1.077-1.472 1.577-2.193.087-.366.106-.744.058-1.116 0-.366.597-.693.837-.895.272.019.54-.068.75-.24 0-.29.963 0 1.088-.26.125-.26.384-.26.442-.452.135-.597.548-1.28.75-1.924a7.993 7.993 0 0 0 0-1.732 2.3 2.3 0 0 0 .732-1.058 1.683 1.683 0 0 0 .683-2.415ZM43.075 26.174l.52-.077c-.376.567-.472.24-.76-.173.057.057.144.27.24.25ZM24.557 46.318v-.048.048Zm22.732 1.106a.433.433 0 0 1 .202-.193l-.202.193Zm-21.933-.077-.097-.202c.27 0 .145.404.097.202Zm-1.405-1.414h-.163.163Zm30.687 24.309c-.202.144 0-.087 0-.144v.144Zm-8.302-4.146c-.096 0-.154-.183-.067-.25l.067.25ZM36.534 32.56l-.116.125a.665.665 0 0 1-.077-.538l.193.413Zm-4.435-1.924-.442.202.442-.202Zm13.468 58.758c-.221-.221.221-.375 0-.577.385-.096.134.442 0 .596v-.019Z"}),w.createElement("path",{d:"M44.106 32.735c.712.192 1.27-.962.606-1.347s-1.135.971-.606 1.347ZM36.747 20.652c.798 0 .721-.058 1.048.702-.962 2.742 3.646 2.636 5.09 2.05.211-1.078.557-1.54-.655-2.117-1.741-.337-1.462 1.318-2.818.26.115-1.491-1.809-2.02-2.886-2.453-1.164.73-.539.962.22 1.558ZM42.49 36.41c.827-.395 0-.77-.28-1.174-1.048-.818-2.087-2.261-2.087.211.5 1.28.385 1.751 1.453.404a.905.905 0 0 0 .913.558Z"}),w.createElement("path",{d:"M42.085 36.66c-.645-.203-1.434.644-.49.961.105-.086.894-.894.49-.962ZM36.64 14.919c.856 1.26.75 2.568 2.664 2.385.462-.48.683-2.328 1.655-2.29-2.27 1.8.539 1.31-2.116 5.042 0 .452 1.625.057 1.924.663.567-.125 3.376.135 3.078-1.068-1.616-1.375 3.338-2.443 0-4.915 2.376.192 4.088-3.675 5.397-5.224 0-.125 1.549-2.453 1.347-2.568a6.282 6.282 0 0 0-3.781-2.578l-3.944.52c-.164 0-.346 1.269-.404 1.336-1.818-.26-3.396 1.645-4.608 2.646A9.408 9.408 0 0 0 39.67 12.1c-1.414-.135-1.462-1.154-1.924-2.213-.144-.413-1.193 1.222-1.308 1.241-.116.02-.52 1.79-.549 1.838-.028.048.75 1.866.75 1.953Zm3.472-2.386v.173l-.202-.346.203.173ZM37.372 23.317c.346 0-.279-1.453-.24-1.568.038-.116-.722 0-.808.106-.78 1.289.115 1.087 1.048 1.462ZM36.063 24.567c-1.924-.962-1.626.876-1.732 2.213.789 1.25.654 1.79 1.924.462.317-2.376-.933-.606-.192-2.675ZM33.542 17.073c1.174.28 2.184 1.059 1.453-.865-.856-.597-1.405-2.155-2.617-1.25-.346.066 1.183 2.01 1.164 2.115ZM27.78 21.258c0 .096.52.318.587.366-2.058 1.154-.24.567 1.164 2.155 1.655-.962 1.03-.962 2.886-1.097.385-1.126.318-1.135-.827-1.318-.106-.077-.077-2.088-.462-1.76-.384.327-.962.827-.654 1.443-1.375-.597-1.799-1.684-2.693.211ZM29.705 18.834c.115.173.894-.289.962-.385.067-.096.346-1.154.211-1.193-.134-.038-1.568.51-1.645.5-.288.087.472.943.472 1.078ZM25.308 21.085c2.299.875.962-.26 3.001-1.058.164 0-.144-1.607-.115-1.674 0-.318-1.26.298-1.376.346l-.962 1.578c-.038.125-.914.673-.548.808ZM21.682 43.663c-.404-.298-.616.26-.433.538.664.51.702-.096.433-.538ZM108.626 66.615c-.703-1.76-1.212.097-.741.963.548.423 1.26-.472.741-.963ZM44.818 61.844c.827-.154.548-.462-.097-.568-.73-.596-2.674-1.645-3.655-.75-.077.664.346.366.664.125.252.175.562.248.865.202.125.221.481.231.693.231.125.183.289.5.558.423-.731.577.77.298.972.337ZM88.752 55.081c.086.106.461-.163.558-.183.365-.721-1.684-.365-.558.183ZM71.117 45.144c.299-.096.289.356.472.452.183.096.962-.51.962-.51s.327.135.365 0c.136-.416.153-.863.048-1.289.568-.23.164-.606-.067-.962-.433 0-1.154-.077-1.145.578-.269 0-.827.067-.423.442-.298.26-.24.49.173.5-.029.145-.77.712-.385.79ZM148.547 76.543c-.125.096-.962.24-.587.51-1.76.385.885 1.03.048 0 .173.106.346-.192.548-.077.202.115.241-.53-.009-.433ZM50.368 64.845c-.135 0-.279.202-.192.308.086.106.423-.221.192-.308Z"}),w.createElement("path",{d:"M65.73 30.166c-.115-.606 1.77-.683.232-1.039 1.654-.048.115-.837.404-1.924a2.444 2.444 0 0 1-1.126-2.087c.77-.703.558 1.058 1.924 0 .25-.808-.096-.808-.76-.962.202-.414.74-1.674 1.193-1.876 0-.875-.125-1.135-1.03-1.174a2.212 2.212 0 0 1 .424-1.471c1.77 1.02.962-1.597 0-2.146.163-.962.26-3.78 1.347-4.242 0 0 .577-1.616.606-1.674.029-.058 1.856-2.424 1.51-2.491-1.443-.491-1.924-1.867-2.53.365-2.963.27-.087-1.097-2.559-1.857-.057-.086 1.674-1.327 1.405-1.452-2.569-4.656-5.974-3.098-9.928-1.818-.115.962.731 3.117.289 4.194-.77-.317-3.704-.693-3.848-1.76-.956.435-1.87.957-2.732 1.558l-.096 1.924h-.962c-3.627 4.156.192.808-1.059 4.887-.548.356-3.328 1.048-2.886 2.135.847.587 1.357 1.857 2.55 1.01.221.703-.135 1.126-.53 1.626-.779 2.097.963.712 1.925.702l1.923 1.03c-.403.548.645 1.433.905 1.818-.24.962.75 2.049.616 3.059-1.126 1.54.22.962 1.192 1.03a.962.962 0 0 0 0 1.096c-.74-.375-1.827-.154-.673.577-.423-.452-.51.125-.645.452-.086.096.54.77.568.837.029.068.78-.404.885-.423.106-.02-.192-.375-.26-.481.828 0 .75.077.75.827l-.894.674c-.135.615.087.962-.587 1.394 0 .328 0 1.54.452 1.655.087.087.154 1.741.443 1.597.135 1.299.779.394.51 1.404.288.414.798.472.856 1.184.352.305.795.488 1.26.52-.279.769.722.278 1.03.172.307-.105.47-1.029.163-1.25.317-.895 1.452-1.866.721-2.819.202-.106.722-.221.443-.548a2.752 2.752 0 0 0 2.722-2.184c1.28-.616 3.088-.731 3.858-2.049Zm-.605-1.26h-1.318c.154-.308.587-.414.885-.462.798-.73.721.048 1.097.606 0 0-.626-.173-.664-.173v.029Zm-10.582 6.397c.289.164-.115.24-.212.346l.212-.346ZM84.912 54.745c.377.162.797.193 1.193.086.558-.346-1.76-.683-1.193-.086ZM45.048 62.498c.288.308.962-.144 1.193.289.154.173.25-.116.308-.231a.578.578 0 0 0 .442-.096c.443.096.962.057.462-.462-.462-.115-.693-.558-1.25-.327-.443-.221-.616.067-.54.49-.23-.077-.875-.057-.615.337ZM69.983 34.899c.23-.433-.385-1.097-.731-1.28-1.231 0-2.501.154-3.3-.278-.615.721-.558.827.145 1.433 0 .962.904 1.376 1.625 1.712a9.242 9.242 0 0 0 2.261-1.587ZM78.737 52.282c-.154.895 0 .462.615.471.144-.288.28-1.116-.086-1.28.634-1.317-1.097-.826-.299.059-.538-.03-.307.432-.23.75ZM129.106 55.514c-.202-.057-.424-.394-.626-.336-.548.182-.721.789-.221.962-.288 1.318 1.087.442.962-.385.25.73.423-.231.722 0 .423 0 .144-.52.702-.096.356-.289.394-.654.962-.558.404-.26.144-.376.673-.183.318-.077.654-.462.423-.78a1.49 1.49 0 0 0 .145-.865c.664-.221.385-1.549 0-1.924.154-.058.057-.24 0-.337.587-.211.712.828 1.154-.307.808-.174.635-.75-.106-.876-.24-.365-1.298-1.337-.962-.192l-.125.615c-.577-.154-.24.231-.615.414-.087.385 0 1.193.567.722 0 0 0 .173-.058.211-.74-.058-.346 1.068-.711 1.482-.214.273-.483.5-.789.663-.27-.096-.597.327-.635.558-.722-.423-2.819 1.164-1.26.895-.039.048-.212.26-.202.317Zm1.154-.452v.116l-.087-.096.087-.02ZM43.528 62.248c-.385.164.27.587.49.471.54-.48-.105-.529-.49-.47ZM95.811 75.263c-.153-.356-.432-.635-.73-.22.144.73-.963 1.355-1.646 1.49-.442.346-.211 1.26-.096 1.713-.962.962-.365 3.367 1.26 2.328a20.837 20.837 0 0 0 1.136-3.848c.548-.01.096-1.203.076-1.463ZM50.762 64.028a.298.298 0 0 0-.202-.28.212.212 0 0 0-.116-.317c.26-.202 0-.384-.22-.307a.077.077 0 0 0 0-.068c.461 0 0-.548-.193-.125a.182.182 0 0 0-.125-.24c.327-.54-.789-.424-.135 0-.212.096.058.375.212.288a.154.154 0 0 0 .154.24c.085.312.208.613.365.895-.058.077-.125.183 0 .26-.192.096-.106.414.116.337.116-.21.182-.444.192-.683h-.048ZM143.093 79.42c1.087.163-.828-1.213-.962-1.088-.077.452.654.876.962 1.087ZM73.512 43.855c.193-.048.347-.356.154-.481-.192-.125-.548.587-.154.48ZM83.498 39.382c.173-.048.395-.375.145-.481a.254.254 0 0 0-.267.081.253.253 0 0 0 .036.354c.025.02.055.036.086.046ZM143.247 76.543c.596 0 .048-.712-.135-.337-.019.116-.067.385.135.337ZM148.066 86.432c-.222-.163-.453 0-.635.135-1.164-.298-.626-1.29-1.578-1.76-.847.298 1.01 1.567.443 2.24-1.049.559.798.597 0 1.319-.212-.222-.453.154-.472-.376-.183-.288-.673.212-.577.472-.279.846-1.462 1.173-1.818 1.924-.25 0-.433.52-.443.74a1.282 1.282 0 0 0 1.993-.229c.136-.22.203-.475.191-.732.26-.125 1.337-1.395 1.202-1.645.481.538 1.107-.703 1.136-1.097.394.298.721-.818.558-.99ZM138.486 72.156c-.558-.134-.125.799.288.722.414-.077-.23-.606-.288-.722ZM136.474 72.118c-1.923-.26-.134 1.154.568.24.183 0 .433-.048.308-.288.096 0 .211-.135.144-.26.722-.144-.423-.75-.664-.866-.596 0 .356.52.433.626-.721-.116.02.567-.789.548Z"}),w.createElement("path",{d:"M134.762 71.925c-.346-.596-1.443-.721-2.011-.962-1.269-.461-1.433-.73-2.405.299-.057-.135-.125-.366-.298-.375.385-1.04-1.818-1.03-1.462-.164.356 0 .394.385.673.346-.144.327.058 1.078.491.587.539.262 1.095.487 1.664.673.058.116.25.5.202.635-.375.068-.664.828 0 .616.664-.212 1.789 1.145 2.184-.087.837-.827 1.481 1.482 2.53.809.115-.24.192-.52-.183-.5.087-.241-.173-.232-.327-.203a.956.956 0 0 0-.548-.606c-.125-.211.423 0 .288-.317.02-.558-.798-.337-.798-.75ZM125.652 66.308c.087-.068 0-.26 0-.337.356-.462-.067-.664-.433-.962-.365-.298-.462 1.24.077.664-.317.163-.077.52.154.712-.221.144-.885.615-.385.865.327 0 .231-.49.635-.365.183.115-.077.385.125.577.462.404.635.202.789-.289.644.51.414-1.548-.154-1.029-.356-.087-.558.385-.808.164ZM123.872 65.326c.135.337-1.087 1.049-.904 1.347.183.298 1.087-.866 1.202-.895.116-.029-.125-.865-.298-.452ZM126.219 65.47c.962.645 0-1.539-.375-.519.019.221.385.318.375.52Z"}),w.createElement("path",{d:"M124.027 63.152c-.058.173 0 .962.317.895-.067.058 0 .212 0 .288-.404 0 .289.963.452.712.164-.25.26-.461.058-.586.135-.154.365.47.529.173.51.471.558-.26.231-.558-.327-.298-.654.154-.712-.395 0-.077.529-.73.443-.817-.087-.424-.683-.962-1.039-.549-.068.25.105.914-.279.837ZM48.184 62.19c-.192 0-.356.54-.077.5.77-.067 1.039-.384.077-.5Z"}),w.createElement("path",{d:"M148.672 30.637c-.837-.596-1.702-1.327-2.828-.962-1.982-.904-.885 0-1.116 1.136-1.029-.597-2.53-1.55-3.655-.693-.683-.423-.539-.442-.491-1.135-.481-1.106-2.164-.904-3.098-.597-.086 0-1.289-1.77-1.394-1.76-.491.25-4.012-1.626-3.492-.423-.808.394-.876.51-.491 1.356a4.302 4.302 0 0 0-2.29.067c-.634-1.539-.788.327-1.135.79l-.769-.963c-.26-.404-.375-1.308-1.058-.962 0-.134 1.154-.77 1.183-.962-.173-.317-1.183-1.164-1.251-.346-.134-.048-.663-.962-.827-.625-.298.558-.577.962 0 1.414-1.472-.847-1.607.279-2.222-1.193a13.07 13.07 0 0 0-2.203 0 4.81 4.81 0 0 0-1.876-.25c2.03-1.972 3.54-4.502-.481-5.214-.212-.731-1.174-1.126-1.828-1.318-.962.895-1.289 2.886-3.049 3.165-.51-.52-3.098 1.01-3.598 1.154-.173 0 0 1.924 0 1.972-1.924.558-3.011-.461-2.597 1.992.481.404 1.443.894.962 1.702 0 .049.346.962.125.962l-.481-1.587c-1.03-.76-1.193-1.404-2.386-.404-.087 0-.471-.317-.558-.173-.087.144-.962.962-.808 1.039.962 1.116 0 1.52.289 2.674-.048.077.346.414.346.462-.183.289 0 .856.048 1.145-.289.654-.875 1.731-1.712 1.212.875-.414 2.097-1.828 1.087-2.655a6.843 6.843 0 0 1 .106-2.174c.077-.049-.404-.741-.404-.799.153-.394.692-1.385.307-1.75-.144.057-1.539-.52-1.577-.241a4.563 4.563 0 0 1-1.078 2.453c-.115.125.212.394.26.49 0 .443-.433 1.463.327 1.501.414.962-.721.424-1.145.26-.057-.587-1.241-.721-1.645-.856-.606.183-.413.75-.182 1.173-.222.222-.404 0-.568-.144-.163-.144-.693.433-.798.462l-1.212.163c-.068-.875-.453-.433-.905-.134-.846.375-1.683.606-1.828 1.683l-.317.096c-.106-.163-.78-.394-.442-.663.134-.058.663 0 .567-.26-.058-.096-.298-.904-.48-.799-.184.106-.79.202-.77.328 0 .365-.376 1.192.057 1.462-.365.5-.413.27-.866.317-.519.558-1.337.962-.788 1.837a4.604 4.604 0 0 1-1.145-.538c-.616 0-.337.779-.164 1.116a1.143 1.143 0 0 1-.673-1.645c.106-.106-.789-.904-.827-.962 3.761 2.106 4.694-.703 1.24-2.655-.548-.212-2.308-.289-1.923-1.193 0-.135-.962-1.03-1.068-.799-.414.962-1.5-1.683-2.3 1.068-1.644-.26-2.24.51-2.443 2.059-.173.163-1.423.26-.962.721-.317.298-.721.799-.587 1.27-.692.24 0 .962-.49 1.318-.904.414-.827 1.231-1.626 1.674-.962.144-.202.606-1.212.798-.221.318.164 1.222.144 1.616 0 .655-.346 1.617.54 1.924 1.028.481 1.211-1.087 1.779-.663-.058.23-.164.567.183.625-.212.317.25.856.394 1.106-.067.096-.23.26-.096.385-1.51 0 .067 1.799.183.346.452.385.76.443.885-.23.75.317 1.096-1.51.75-1.925.327-.077.712-.125.616-.567 1.51-.904-1.78-.702.567-3.56.462-.182 1.212-.798.712-1.288l.577-.962c.404 0 1.03.173.962.702-.635.298-1.318 1.79-1.77 2.28.558 1.173-.394 1.683.683 1.924.635.894 1.991-.54 2.751.173-.192.067-.663 0-.596.317-1.03-.298-2.51.24-1.52 1.443.115.847-.24.231-.471 0-.962-.183-.856 1.26-.847 1.8-.635.23-.308.586-.75.624-.087 0-.347-.375-.462-.307-2.51 1.337-1.29-.347-2.655.519.115-.289-.356-.221-.5-.26-.433-.567.538-1.135.471-1.395-.279-.442-.77-.788-1.048-.115-.962-.096.317 1.703-.106 2.107-.106-.164-.606-.145-.568.115a1.125 1.125 0 0 0-.712.731c-.298-.308-.798.385-.712.626a2.762 2.762 0 0 0-.875.432c.067.54-.567.799-.962.847-.26.23 0 .548-.568.51-.173-.395-.683-.058-.962 0-.307.442.491.962.962.875 1.251 1.982.29 2.319-1.77 2.069-.307-.299-.702 0-.962.201 0 .962.356 1.29-.173 2.463-.057.164.222.212.308.26-.471 1.5.818 0 1.174 1.183-.299 1.222-1.328 1.126-1.616 2.222 0 .25.096.664-.106.856-.337.54-1.308.578-1.414 1.251-.356.115-.49.606-.549.962-.413.414-1.077 1.376-.788 1.924.115 0 .173 0 .23.135-.192.26 0 .77.077 1.048-.057.568-.692 1.27-.22 1.76-.212.366.095.963.528.857-.173.288.52.635.712.817.28 1.068 1.635 1.924 2.607 2.251a2.992 2.992 0 0 1 2.126-.154 4.493 4.493 0 0 1 1.049-.394c1.125-.654 1.548-.135 2.212.597.106 0 .375 0 .366-.164a.673.673 0 0 0 .577 0 .461.461 0 0 0 .394.327c.173.337-.308 1.03 0 1.135-.663 1.126.385 1.626.962 2.444-.057.442.712 1.164.395 1.539.798 2.299-1.924 2.462.606 5.772-.327 1.674 1.28 3.059 1.539 4.54-.366.077 0 .462.058.635-.087.962 1.337.53 1.827.24 1.597.347 2.992-.904 3.646-2.26a1.693 1.693 0 0 0 .664-1.29c-.24-1.125 1.924-.21.77-2.952.24-.212.817-.549.875-.885.904-.28 1.924-1.059 1.433-2.097.183 0 0-.962 0-1.087a1.443 1.443 0 0 1-.394-1.51c-1.328-1.675 6.243-5.513 4.502-7.802a7.437 7.437 0 0 1-2.04.461c-.423.173-.586.289-.961-.163 0-.068.096-.26 0-.318a.961.961 0 0 0 .885-.307l1.202-.28c.144-.327 1.366-.538 1.54-.798.047-.587 1.221-.154 1.26-.818.519.058.413-.48.961-.48.25-.097-.086-.655.289-.626.866-.693.577-1.664-.51-1.79-.654-1.375-.413-1.029-1.375-.095-.145 0-.799.134-.885 0-.087-.135.201-.962-.385-.808a.125.125 0 0 0-.164-.106c-.221-.443-.856-.837-.875-1.482.962-.105.692.154 1.164.885.352.148.677.353.962.606.827.481 1.077-.837 1.414.366.93.304 1.919.384 2.886.23.173.212.692.059.904 0 0 .184.125.26.298.26 0 .25.145.453.424.433l.404.395c-.568.096.596.808.644.962.048.154.683-.164.741-.298-.183.798 1.587 7.474 2.693 5.05.097-.096.116-.375.308-.308.193.068.058-.558.087-.673.442-.443-.183-1.5.394-1.616.202-.154.193-.347.539-.347.212-.452.962-.875 1.327-1.337.885-.192.481-.75.885-.856.356.144.799-.077 1.107-.135.452-.962.5.626.914.808.105 0 .356 0 .365.202.308.616.067 1.222.587 1.559.202.375.635-.5.962-.25.067 1.28.741 1.818.212 3.309a.15.15 0 0 0 .23.135l.53.711c.068.357.155.71.259 1.059.145.086.202.327.26.452a5.341 5.341 0 0 1-1.462-1.212c-1.232-.289-1.385.115-.356.856.144.27.433.712.76.779.519 1.068 1.529 3.03 2.886 3.146-.443.279-.106.442.25.433.731.625 2.366.394 3.338.654.163-.077.183.105.327.134.539-.154.375-.625-.144-.548 0-.221-.587-.163-.683-.212 0-.433-.597-.23-.78-.452-.182-.221-.278.106-.365.183-.529 0-1.116-.471-1.703-.385l.116-1.029c.625 0-.327-1.337-.597-.539-.106-.308-.057-.51-.481-.558.452-.25-.173-.615-.452-.635l-.452-.48c1.645 1.298.962 0 .895-1.107-.337-.308-.703-.962-1.203-.962-.067-.096-.154-.962-.356-.904-.462-.144.404-1.068.231-1.462.279.154-.279.336.625.356.356.49.52.885 1.155 1.02-.587 1.183 1.029.403.596 0 1.491-.087 1.616-1.222 1.145-2.386-1.241-.885-1.789-2.338.183-2.425-.116.126 0 .328 0 .462a.517.517 0 0 0-.449.515.517.517 0 0 0 .449.514c.346-.076 1.019-.807.5-1.058-.125-.48-.125-.298.356-.394.211-.221.308-.135.587-.164.279-.029.317-.279.481-.154.134-.279 1.096-.134 1.029-.558.837-.26 1.039-1.163 1.549-1.654.202-.52.635-.375.471-.962.404-.087.298-.664-.115-.75.317-.097.346-.289.086-.481.529.057-.144-.5-.24-.606l-.231-.77c-.423-.346-.414-.24-.048-.683a.327.327 0 0 0 .26-.346c.307-.096.683-.24.307-.578-.606-.596-.567.126-1.048 0 0-.096 0-.442-.135-.461-.135-.02-.471 0-.356-.26.539.154.616-.51 1.087-.616.116-.154.231-.404.443-.202-.077.135-.606.51-.222.616-.683 1.183 1.309-.721 1.443-.096a.852.852 0 0 1-.173.625c-.134.385.914.125.866.452-.202.077-.183.664 0 .75-.356.587-.144 1.222.51.568 1.443.125.798-1.924 0-2.347-.067-.25.962-.587.962-.808-.164-.568.596-.683.741-1.135 1.212 1.135 2.886-2.569 3.492-3.156a6.18 6.18 0 0 1 .461-2.212c.472.606-.692 5.252.741 3.184-.75-3.348 1.693 1.116.077-3.02 0-.357.096-1.213-.183-1.492-1.125 0-.086.606-1.356-.5-.154 0-.635-.086-.597.202-.567 0-.298-.625-.962-.385l-.096-.077c.068-.077 2.078-2.039 2.107-2.145.077-.539.798-1.02 1.289-1.135.491-.115 2.28.452 2.338-.26l.962.385c.077.077.259.356.394.231.135-.125.664-.481.596-.808.299-.298 1.27-1.857 1.847-1.626.481 1.203.885.5 1.645.067.154-.115 0-.73.337-.702-.144.75-.067 1.414-.962 1.684-.308.356-1.481 2.155-2.058 2.087-.154.058 0 .25 0 .346-1.03.857-.202 3.492-.116 4.599.125.423.75-.577.875-.625.154-1.097.568-.385.751-.905a.774.774 0 0 1 0-.587c.471-.25 1.125-.355.721-1.038-.067-.481.683-.202.645-.568-.683-.808.5-1.203-.5-1.414.287-.415.489-.883.596-1.376a2.174 2.174 0 0 0 1.01-.337c.077 0 .241.145.318.116 1.394-.722 1.029 1.193 1.539-.125a10.904 10.904 0 0 1 2.597-1.78c1.924.895.366-1.308.702-1.991.808-.077.366-4.137.356-4.618ZM97.245 53.725c-.385 0-1.116.106-1.356-.298-1.087-.193.433-1.328-.578-2.29a2.116 2.116 0 0 1-.567-1.26c-.539-.702 1.02-1.212 1.49-1.568.79.067.963.712 0 .76-.25.337-.442.385-.576.577.51.577.144.962.962 1.145-.202.625-.058.673.5.414a.538.538 0 0 0 .24.384c-.365.289-.644-.625-.721.395.5.894.654.635.606 1.74Zm-23.55.298c1.338.087.645-.115 1.492-.462.163-.144.125-.51.413-.596.29-.087-.115-.375-.153-.471.25-.962 1.693-.857 1.385-1.924.433-.491.789 0 1.193.057.432-.26.962-.962 1.423-.538.077 1.346 2.886 1.808 2.3 2.943l-.674.077c-.077-.048-.192-.173-.288-.106-1.116.356.5.876.827 1.03.375-.154-.125-.808.356-.645.144 0 .26-.413.308-.48.683-.193-.097-.578.105-.828 1.443.452.28-.587-.307-.77.25-.51-.722-.22-.828-.654a1.26 1.26 0 0 0-.644-.875.846.846 0 0 0 0-.577c.452-.424.221.962.721.25.318.962 1.25 1.116 1.924 1.78-.125 1.048.616 1.26.74 2.145.376.433 1.444 1.375.886.077.52-.308.827-.318.058-.684.356-.086.057-.384 0-.548.163 0 .279-.202.346-.346.316-.104.66-.083.962.058-.23.336-.356.635.087.837-.385.26-.241.461.144.557-.058.472 0 .616.52.51 1.221 1.232.586-.461 1.798.49a1.066 1.066 0 0 0 .837-.345l.327.182a2.077 2.077 0 0 0 0 .722c-.644 1.24-.288 1.924-1.924 1.385a2.366 2.366 0 0 1-2.385-.192l-.616-.106c0-.289-.577-.28-.74-.356-.51.154-.963.452-.79 1.049-.183.375-1.77-.337-1.75-.722-.25-.202-1.597-.317-1.77-.664-.712 0 .26-.48.125-.73-.366-.51-.28-1.54-1.155-.963l-.866-.077c-.173 0-.442.327-.606.116a5.099 5.099 0 0 0-2.886.885 1.731 1.731 0 0 0-.962-.058c-.25-.23-.163-.308.126-.481l-.058.048Zm17.942-3.56c1.24.559.394 1.242-.578 1.117-.567 0-.837-.472-1.135-.404-1.058-.866-2.29 1.346-3.165-.337.301-.365.489-.81.54-1.28.307 0 .595-.644.73-.865.307.12.633.185.962.192-.442.202-.625.423 0 .568-.144.26.077.413.318.462.904-.809 1.683-.203 2.385.548h-.057Zm-.905-1.654c-.125.385-.654.26-.962.298-.336-.269.645-.654.895-.683.008.13.031.26.067.385Zm-4.069 2.992h.395l-.433.058.038-.058Zm5.609 12.063c-.703-.077-.76-.702-.962-1.25-.962-.616-.27-1.674-1.26-2.31a12.436 12.436 0 0 0-.78-1.923c.202.096.173-.221.366-.135.144.231.962 1.299.875 1.578a1.452 1.452 0 0 1 .712 1.414 7.696 7.696 0 0 1 1.462 2.059c-.047.417.01.84.164 1.23l-.578-.663ZM135.772 23.182c.106.212.962-.548 1.087-.567.404-.375-1.568-.443-1.645-.549-.519.01.51.991.558 1.116Z"}),w.createElement("path",{d:"M135.936 49.117c-.394-.23-.962.414-.914.75.087.126 1.366-.605.914-.75ZM131.001 22.288c1.087.712 3.174 1.221 3.646-.414-.847-1.154-3.887-1.934-3.646.414ZM133.242 24.288c-1.991 1.03-.904.962.501 1.203.442 0-.433-1.135-.501-1.203ZM115.716 17.535c.048.058 2.886-.962 2.665-1.25-1.828-3.627-2.117-.808-2.665 1.25Z"}),w.createElement("path",{d:"M113.415 13.322c.077.125.26 0 .347 0a1.726 1.726 0 0 0 1.213 2.607 1.72 1.72 0 0 0 1.095-.202c.193.067.087-1.982.135-2.059a3.714 3.714 0 0 0-1.174-.962c.138-.418.244-.845.318-1.28-.087 0-.799-1.51-.962-1.346-1.203.443-1.395.827-1.722 2.01-.115.039.741 1.126.75 1.232ZM96.486 27.838c1.115-.462-.366 1.75 2.376.962.375-.125-.443-.654-.49-.77-.453-.548-.395-2.039-.347-2.703.702.693 1.616-1.828 1.558-2.078.423-.779 3.155-2.443 3.848-2.943-.048-2.338-1.299.615-3.251.23-.154 0-.174.405-.222.5-.433.222-1.366.491-1.24 1.155-.106.289-1.367 1.126-.616 1.395 0 .058-.635 1.578-.481 1.597-.75.144-.856.212-.75.962.076.125-.837 1.76-.385 1.693ZM94.937 30.926c.327.433.856-.125 1.039-.413-.049-.116-.674-.693-.799-.443-.125.25-.433.77-.24.856ZM5.857 34.485c.664-1.01-.49-2.462-1.346-1.23.269-.876-1.876-2.8-2.473-2.56.135.048-.298 4.666.24 4.156.058-.587 1.03-.318 1.396-.337 0 .568.77.962 1.202 1.155.452.077-.26-.452.981-1.184ZM2.173 28.454c.606-.231 1.78-.173.673-.962-.125-.048-.788-.087-.798.125-.01.211-.115.856.125.837ZM73.118 42.537c.577.424-.664.731.78.683-.26.154 0 .616.057.808.058.193-.414.154-.394.289.26.846-.963.77-.078 1.366-.519.414-.846 1.318.135.654.385.298.452-.327.702-.144.433-.164 1.068-.058 1.501-.24.077-.54.799-1.492-.192-1.646a1.539 1.539 0 0 0-.654-1.164 1.174 1.174 0 0 0-.52-.914c.221-1.01.808-1.462-.721-1.221 1.799-1.309-1.578-.962-.683.461-.568.28-.106.712.067 1.068ZM21.441 43.028c.837-.144-.49-1.385-.471-.904.02.48.096.798.471.904ZM13.178 40.796c-.654.087-1.318.74-.298.962.346.01.51-.731.298-.962ZM7.781 38.843c-.962.154-.577.558.058.77.115-.096.23-.847-.058-.77ZM6.82 36.41c-1.098-.79-1.829-.155-.463.567.135-.125.722-.452.462-.568ZM49.252 62.296a.155.155 0 0 0-.165-.078.154.154 0 0 0-.123.136c-.02.25.355.144.288-.058Z"}),w.createElement("path",{d:"M49.146 62.517a.221.221 0 0 0-.231 0c-.279.462.683.222.23 0ZM124.18 73.686c-.962 0-.414.49.125.596.587-.086.231-.5-.125-.596ZM125.614 74.33a.962.962 0 0 0 .75-.384c.077-.087.962-.347.914-.52-.327-.462-2.222.433-1.664.904Z"}),w.createElement("path",{d:"M124.921 73.734c.625.068.962-.962.183-.365-.318-.087-.962-.25-1.106.173-.097-.635-.626 0-.914-.26-1.059.577.673.664.914.279-.039.202.808.125.923.173ZM126.682 71.108c-.481.192.211.75.51.462.298-.289-.241-.53-.51-.462ZM127.413 71.04c0 .683.375.28.779.395 1.001.76.597-.808-.779-.395ZM119.476 70.983c-.289-.25-.491.115-.433.375.241.25.693-.144.433-.375ZM115.157 69.318c-.769-.327-.105.837.145.472.106-.193 0-.347-.145-.472ZM125.932 69.954c.673-.366.558-1.213-.202-.443-.26 0-1.299-.452-1.376 0-.433 0-.413.847-.538 1.183-.241.164-.385.885 0 .828v.692c.808.549.673-.212.586-.77.53.308 0 .77.77.481-.26 1.068.962 0 0-.519.221-.163-.144-.49-.212-.644.366-.26.712-.664 0-.54-.173-.172-.317.059-.423.184-.895-.674 1.174-.385 1.395-.453Zm-1.501 1.433c0-.058 0-.164.048-.183l-.048.183ZM127.662 69.598c0-.664-.577-.5-.558 0 .019.5 1.376.558.558 0ZM119.966 70.762c.077.461.231.635.722.577.106.385.452.115.673 0a.581.581 0 0 0 .5.183c0 .51.626.105.818 0 .625-1.213-.25-.289.683-1.222-.212-.577.308-.423.558-.654-.058-.318-.462-.26-.394-.664-.452-.366 0-.25-.116-.577.202 0 .462-.125.241-.327.962-.222-.549-.847-.789-1.059-.087 0-.395.568-.433.616a.34.34 0 0 0-.289.26c-.356 0-.692.452-.865.721-1.174.183-.404.962-1.241.433-1.049.298-.087 1.376-.068 1.713ZM52.417 48.078c-.145 0-.126.423 0 .443.125.019.26-.5 0-.443ZM84.903 16.958c-.135 0-.876.568-.828.731.049.164.25 1.068.433 1.03 1.193-.645 1.453-.674.395-1.76ZM79.93 15.611c.865.472 1.067 2.703 1.27 3.521.134 0 .962 1.472 1.096 1.03l.962-3.512c.058-.115 1.318-.596 1.03-.817-1.319-.664-1.434-2.098-2.069-2.444-1.866 1.684-3.145-.529-2.29 2.222ZM84.873 15.16c.096.182 1.924-1.742 1.693-1.819-.808-1.222-1.74-1.25-3.05-1.414-.144-.106-.788 1.376-.855 1.424-.212.163 2.193 1.702 2.212 1.808ZM74.455 46.654c-.173-.163-.443.231-.154.27.087 0 .077.202.221.144.404-.077-.01-.28-.067-.414ZM124.488 60.969c.308-.231 1.087-2.184 0-1.568-.375.48-.587 1.164 0 1.568Z"})))},44546(e){"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return function(t){return Boolean(t&&t.type===e)}}(n);if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r=100?100:null])},week:{dow:1,doy:7}})}(n(99420))},44628(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>c});const a=n(14041);var o=t.n(a);const i=n(80305);var l=t.n(i);const s=n(41454);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function h(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},o=r.cancelOnUnload,s=void 0!==o&&o,u=r.keepAlive,c=void 0!==u&&u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,"handleUnload",function(){n.cancel()}),this.searchJobSid=l.Observable.from(t),["getSid","getProgress","whenDone"].forEach(function(e){n[e]=(0,i.default)(n[e])}),this.ttl=null,s&&"undefined"!=typeof window&&(0,a.default)(window,"addEventListener")&&window.addEventListener("beforeunload",this.handleUnload),c?this.startKeepAlive():this.keepAliveSubscription=null}return y(e,null,[{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.app,i=n.owner,l=n.sharing,u=n.cache,c=void 0!==u&&u,d=n.cacheLimit,f=void 0===d?600:d,h=n.cancelOnUnload,y=void 0===h?!c:h,b=m(n,["app","owner","sharing","cache","cacheLimit","cancelOnUnload"]),g=(0,s.addLeadingSearchCommand)(t.search),v=p(p({},t),{},{search:g});return new e(c?(0,s.getCachedSearch)(v,{cacheLimit:f},e.splunkConfig,e.baseFetchInit).then(function(t){var n=(0,r.default)(t,["content","sid"],null);return(0,o.default)(n)?(0,s.createSearchJob)(p({"webframework.cache.hash":(0,s.createJava5HashForString)(g)},v),{app:a,owner:i,sharing:l},e.splunkConfig,e.baseFetchInit):{sid:n}}):(0,s.createSearchJob)(v,{app:a,owner:i,sharing:l},e.splunkConfig,e.baseFetchInit),p({cancelOnUnload:y},b))}},{key:"fromSavedSearch",value:function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.cache,l=void 0===i?"any":i,s=a.cacheLimit,c=void 0===s?1/0:s,d=a.dispatchParams,f=void 0===d?{}:d,p=m(a,["cache","cacheLimit","dispatchParams"]);if("any"!==l&&"none"!==l&&"scheduled"!==l)throw new Error("Invalid value for cache: '".concat(l,"'. cache must be 'none', 'any', or 'scheduled'"));if("none"===l)n=(0,u.dispatch)(t,f,e.splunkConfig,e.baseFetchInit);else{var h="scheduled"===l?{search:"isScheduled=true"}:{};n=(0,u.getLatest)(t,h,e.splunkConfig,e.baseFetchInit).then(function(n){var a=(0,r.default)(n,["name"],null);return(0,o.default)(a)||c>0&&Date.now()/1e3-c>n.content.start?(0,u.dispatch)(t,f,e.splunkConfig,e.baseFetchInit):{sid:a}})}return new e(n,p)}},{key:"fromSid",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new e(l.Observable.of({sid:t}),n)}},{key:"setSplunkConfig",value:function(t){e.splunkConfig=t,(0,c.setSplunkConfig)(t)}},{key:"setBaseFetchInit",value:function(t){e.baseFetchInit=t,(0,c.setBaseFetchInit)(t)}},{key:"defaultPreviewFetchPredicate",value:function(e){return!!(0,r.default)(e,["content","isRealTimeSearch"],!1)||(0,r.default)(e,["content","resultPreviewCount"],0)>0}},{key:"getData",value:function(t,n,r){return l.Observable.fromPromise((0,s.getData)(t,n,r,e.splunkConfig,e.baseFetchInit))}}]),y(e,[{key:"getSid",value:function(){return this.searchJobSid.map(function(e){return e.sid})}},{key:"getProgress",value:function(){return this.getSid().concatMap(c.track).publishReplay(1).refCount()}},{key:"whenDone",value:function(){return this.getProgress().last().publishReplay(1).refCount()}},{key:"getResults",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.whenDone().concatMap(function(n){return e.getData(n.content.sid,"results",t)}).publishReplay(1).refCount()}},{key:"pollData",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).fetchPredicate||g;return this.getProgress().filter(a).filter(function(e){return!function(e){return(0,r.default)(e,["content","isDone"],!1)||(0,r.default)(e,["content","isFailed"],!1)||(0,r.default)(e,["content","isFinalized"],!1)}(e)}).exhaustMap(function(r){return e.getData(r.content.sid,t,n)}).concat(this.whenDone().filter(a).concatMap(function(r){return e.getData(r.content.sid,t,n)})).publishReplay(1).refCount()}},{key:"getResultsPreview",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.pollData("results_preview",t,p({fetchPredicate:e.defaultPreviewFetchPredicate},n))}},{key:"getEvents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.pollData("events",e,t)}},{key:"getSummary",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.pollData("summary",e,t)}},{key:"getTimeline",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.pollData("timeline",e,t)}},{key:"control",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getSid().concatMap(function(r){return l.Observable.fromPromise((0,s.postAction)(r,p({action:t},n),e.splunkConfig,e.baseFetchInit))}).publishReplay(1);return r.connect(),r}},{key:"pause",value:function(){return this.control("pause")}},{key:"unpause",value:function(){return this.control("unpause")}},{key:"finalize",value:function(){return this.control("finalize")}},{key:"cancel",value:function(){return this.stopKeepAlive(),"undefined"!=typeof window&&(0,a.default)(window,"removeEventListener")&&window.removeEventListener("beforeunload",this.handleUnload),this.control("cancel")}},{key:"touch",value:function(){return this.control("touch")}},{key:"setTTL",value:function(e){return this.ttl=e,this.keepAliveSubscription&&this.startKeepAlive(),this.control("setttl",{ttl:e})}},{key:"setPriority",value:function(e){return this.control("setpriority",{priority:e})}},{key:"enablePreview",value:function(){return this.control("enablepreview")}},{key:"disablePreview",value:function(){return this.control("disablepreview")}},{key:"save",value:function(){return this.control("save")}},{key:"unsave",value:function(){return this.control("unsave")}},{key:"startKeepAlive",value:function(){var e=this;this.stopKeepAlive(),this.keepAliveSubscription=this.whenDone().catch(function(){return l.Observable.empty()}).map(function(t){var n=(0,o.default)(e.ttl)?(0,r.default)(t,["content","ttl"]):e.ttl;return Math.min(500*n,v)}).concatMap(function(e){return l.Observable.interval(e)}).exhaustMap(function(){return e.touch()}).catch(function(e,t){return t}).subscribe()}},{key:"stopKeepAlive",value:function(){this.keepAliveSubscription&&(this.keepAliveSubscription.unsubscribe(),this.keepAliveSubscription=null)}}]),e}();b(_,"splunkConfig",void 0),b(_,"baseFetchInit",void 0);var M=_;t.A=M},45038(e,t,n){(()=>{"use strict";var t={250:(e,t,n)=>{n.d(t,{default:()=>s});var r=n(9497),a=n.n(r),o=n(6649),i=(n.n(o),n(9542));function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.d(t,{Styled:()=>i});var r=n(232),a=n.n(r),o=n(3563),i=(n.n(o),a().output.withConfig({displayName:"AbsoluteValueStyles__Styled",componentId:"tsjpch-0"})([""," "," min-height:",";min-width:100px;border-radius:",";background-color:",";margin-block-start:",";padding:0 ",";"],o.mixins.reset("block"),o.mixins.typography("smallBody"),o.variables.lineHeight,o.variables.borderRadius,o.variables.neutral100,o.variables.spacingXSmall,o.variables.spacingXSmall))},4425:(e,t,n)=>{n.d(t,{default:()=>j});var r=n(9497),a=n.n(r),o=n(755),i=n.n(o),l=n(232),s=n.n(l),u=n(5600),c=n.n(u),d=n(7020),f=n.n(d),p=n(9250),m=(n.n(p),n(451)),h=n.n(m),y=n(6447),b=n.n(y),g=n(4082),v=n.n(g),_=n(6116),M=n.n(_),w=n(6449),S=(n.n(w),n(6649)),x=(n.n(S),n(8987)),k=(n.n(x),n(250)),C=n(2448),E=n(6685);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);nc().tz(y).valueOf()?t=(0,S._)("The earliest time is invalid."):!r.isFullyParsed&&Y?t=(0,S._)("The latest time is invalid."):j&&j===Y?t=(0,S._)("You cannot have equivalent times."):!i()(b,"relative")&&"realTime"!==n.type&&!i()(a,r.type)||!i()(b,"relative")&&"realTime"!==r.type&&"epoch"!==r.type&&"iso"!==r.type?t=(0,S._)("Relative searches are not supported."):i()(b,"realTime")||"realTime"!==r.type&&"realTime"!==n.type?"realTime"!==r.type&&"realTime"!==n.type||r.type===n.type?i()(b,"dateTime")||!i()(a,r.type)&&!i()(a,n.type)?!i()(b,"allTime")&&(0,w.isEarliestEmpty)(j)&&(0,w.isLatestNow)(Y)?t=(0,S._)("All-time searches are not supported."):m.error?t=(0,S._)("Earliest could not be validated."):h.error?t=(0,S._)("Latest could not be validated."):c().tz(m.iso,y).valueOf()>=c().tz(h.iso,y).valueOf()&&(t=(0,S._)("Earliest must be before latest.")):t=(0,S._)("Epoch and ISO times are not supported."):t=(0,S._)("You must set a rt value for both earliest and latest time."):t=(0,S._)("Real-time searches are not supported."),R(t),t||null==u||u(e,{earliest:j,latest:Y})},[j,b,Y,y,u,null==m?void 0:m.error,null==m?void 0:m.iso,null==h?void 0:h.error,null==h?void 0:h.iso]),$=(0,r.useCallback)(function(e){"Enter"===e.key&&U(e)},[U]),G=m&&e.parseIsValid(j,m.time,"0"),K=h&&e.parseIsValid(Y,h.time,"now"),J=!!((0,w.isValidTime)(j)&&m&&null===m.error&&(0,w.isValidTime)(Y)&&h&&null===h.error),Z=(0,r.useMemo)(function(){return G?m.error:new Error("invalid")},[G,m]),Q=(0,r.useMemo)(function(){return K?h.error:new Error("invalid")},[K,h]),ee=(0,r.useMemo)(function(){return{earliestId:(0,x.createDOMID)("earliest"),latestId:(0,x.createDOMID)("latest")}},[]),te=ee.earliestId,ne=ee.latestId;return a().createElement(C.default,A({title:(0,S._)("Advanced"),open:g,panelId:_},O),I&&a().createElement(T,{type:"error","data-test":"error-message"},I),a().createElement(E.StyledCGWrapper,null,a().createElement(E.FlexControlGroup,{controlsLayout:"none",label:(0,S._)("Earliest:"),labelPosition:"top",labelFor:te},a().createElement(p.ControlGroupContext.Consumer,null,function(e){var t=e.labelAttrs.id;return a().createElement(a().Fragment,null,a().createElement(v(),{value:j,"data-test":"earliest",onChange:X,onKeyDown:J?$:void 0,labelledBy:t,inputId:te}),a().createElement(k.default,{"aria-labelledby":t,htmlFor:te,"data-test":"earliest-absolute-value",error:Z,displayValue:G?m.displayValue:void 0}))})),a().createElement(E.FlexControlGroup,{controlsLayout:"none",label:(0,S._)("Latest:"),labelPosition:"top",labelFor:ne},a().createElement(p.ControlGroupContext.Consumer,null,function(e){var t=e.labelAttrs.id;return a().createElement(a().Fragment,null,a().createElement(v(),{value:Y,"data-test":"latest",onChange:V,onKeyDown:J?$:void 0,labelledBy:t,inputId:ne}),a().createElement(k.default,{"aria-labelledby":t,htmlFor:ne,"data-test":"latest-absolute-value",error:Q,displayValue:K?h.displayValue:void 0}))}))),a().createElement(E.StyledApplyContainer,null,!!d&&a().createElement(D,{to:d,openInNewContext:!0},(0,S._)("Documentation")),a().createElement(f(),{disabled:!J&&"disabled",label:(0,S._)("Apply"),onClick:U,"data-test":"apply"})))};z.parseIsValid=function(e,t,n){var r=e.trim()||n;return(0,w.removeRealTime)(r)===t.trim()};const j=z},5884:(e,t,n)=>{n.d(t,{default:()=>B});var r=n(9497),a=n.n(r),o=n(232),i=n.n(o),l=n(5600),s=n.n(l),u=n(7020),c=n.n(u),d=n(9250),f=n.n(d),p=n(2322),m=n.n(p),h=n(6447),y=n.n(h),b=n(2373),g=n.n(b),v=n(4368),_=n.n(v),M=n(6116),w=n.n(M),S=n(6449),x=(n.n(S),n(6649)),k=(n.n(x),n(2448)),C=n(6685);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=s().tz(r,i).valueOf()&&(a=(0,x._)("Earliest must be before latest.")),N(a),!a&&l&&l(e,{earliest:"before"===I?"0":(0,S.getISOWithTimeZone)("".concat(t,"T00:00:00.000"),i),latest:"since"===I?"now":(0,S.getISOWithTimeZone)("".concat(r,"T00:00:00.000"),i)})},[M,i,l,I]),G=(0,r.useCallback)(function(e){$(e,q.current,X.current)},[$]),K=(0,r.useCallback)(function(e){if("Enter"===e.key){var t=e.target,n=t.name,r=t.value;$(e,"earliest"===n?j(r):b,"latest"===n?P(r):M)}},[$,b,M]);return a().createElement(k.default,E({title:(0,x._)("Date Range")},u),Y&&a().createElement(D,{type:"error","data-test":"error-message"},Y),a().createElement(C.StyledCGWrapper,{$hiddenLabels:!0},a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Range type"),labelPosition:"top",style:O,hideLabel:!0},a().createElement(g(),{value:I,"data-test":"range-type",onChange:V},a().createElement(g().Option,{label:(0,x._)("Between"),value:"between"}),a().createElement(g().Option,{label:(0,x._)("Before"),value:"before"}),a().createElement(g().Option,{label:(0,x._)("Since"),value:"since"}))),a().createElement(f(),{controlsLayout:"none",label:"before"!==I?(0,x._)("Earliest"):(0,x._)("Latest"),labelPosition:"top",help:"00:00:00",style:T,hideLabel:!0},a().createElement(m(),{name:"before"!==I?"earliest":"latest",value:"before"!==I?b:M,onChange:U,onKeyDown:K,inline:!1,locale:o,style:T,"data-test":"before"!==I?"earliest-date":"latest-date"})),"before"!==I&&a().createElement(z,{type:I},"between"===I?(0,x._)("and"):(0,x._)("until now")),"between"===I&&a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Latest"),labelPosition:"top",help:"24:00:00",style:T,hideLabel:!0},a().createElement(m(),{name:"latest",value:M,onChange:U,inline:!1,locale:o,onKeyDown:K,"data-test":"latest-date"}))),a().createElement(C.StyledApplyContainer,null,a().createElement(c(),{label:(0,x._)("Apply"),"data-test":"apply",onClick:G})))}},8610:(e,t,n)=>{n.d(t,{default:()=>H});var r=n(9497),a=n.n(r),o=n(232),i=n.n(o),l=n(5600),s=n.n(l),u=n(7020),c=n.n(u),d=n(9250),f=n.n(d),p=n(2322),m=n.n(p),h=n(6447),y=n.n(h),b=n(2373),g=n.n(b),v=n(4368),_=n.n(v),M=n(4082),w=n.n(M),S=n(6449),x=(n.n(S),n(6649)),k=(n.n(x),n(2448)),C=n(6685);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=s().tz(d,l).valueOf()&&(u=(0,x._)("Earliest must be before latest.")):u=(0,x._)("Latest time is invalid."):u=(0,x._)("Earliest time is invalid."),Q(u),u||null==i||i(t,{earliest:c,latest:d})},[l,i,G]),se=(0,r.useCallback)(function(e){le(e,L,v,V,H)},[le,v,L,H,V]),ue=(0,r.useCallback)(function(e){"Enter"===e.key&&le(e,L,v,V,H)},[le,v,L,H,V]),ce=(0,r.useCallback)(function(e){if("Enter"===e.key){var t=e.target,n=t.value,r=t.name,a="earliestDate"===r?I(n).date:v,o="latestDate"===r?R(n).date:H;le(e,L,a,V,o)}},[le,v,L,H,V]);return a().createElement(k.default,E({title:(0,x._)("Date & Time Range")},d),Z&&a().createElement(N,{type:"error","data-test":"error-message"},Z),a().createElement(C.StyledCGWrapper,{$hiddenLabels:!0},a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Range type"),"data-role":"rangetype",labelPosition:"top",style:j,hideLabel:!0},a().createElement(g(),{value:G,"data-test":"range-type",onChange:ne},a().createElement(g().Option,{label:(0,x._)("Between"),value:"between"}),a().createElement(g().Option,{label:(0,x._)("Before"),value:"before"}),a().createElement(g().Option,{label:(0,x._)("Since"),value:"since"}))),G!==D&&a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Earliest date"),labelPosition:"top",style:P,hideLabel:!0},a().createElement(m(),{name:"earliestDate",value:v,onChange:re,onKeyDown:ce,inline:!1,locale:u,"data-test":"earliest-date"})),G!==D&&a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Earliest time"),labelPosition:"top",help:"HH:MM:SS.SSS",style:Y,hideLabel:!0},a().createElement(w(),{value:L,onChange:oe,onKeyDown:ue,"data-test":"earliest-time"})),G!==D&&a().createElement(F,{type:G},"between"===G?(0,x._)("and"):(0,x._)("until now")),G!==z&&a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Latest date"),labelPosition:"top",style:P,hideLabel:!0},a().createElement(m(),{name:"latestDate",value:H,onChange:ae,onKeyDown:ce,inline:!1,locale:u,"data-test":"latest-date"})),G!==z&&a().createElement(f(),{controlsLayout:"none",label:(0,x._)("Latest time"),labelPosition:"top",help:(0,x._)("HH:MM:SS.SSS"),style:B,hideLabel:!0},a().createElement(w(),{value:V,onChange:ie,onKeyDown:ue,"data-test":"latest-time"}))),a().createElement(C.StyledApplyContainer,null,a().createElement(c(),{label:(0,x._)("Apply"),"data-test":"apply",onClick:se})))};W.timeFormat=O,W.validateTime=function(e){return e.match(/^\d\d:\d\d(:\d\d|:\d\d\.\d?\d?\d?)?$/)},W.inferType=function(e,t){return!e||t&&"now"!==t?!t||e&&"0"!==e?T:D:z};const H=W},7190:(e,t,r)=>{r.d(t,{AdvancedInputType:()=>L,FormInputType:()=>O,convertToISO:()=>P,default:()=>Y,enrichParse:()=>B,findPanelType:()=>j,possibleAdvancedInputTypes:()=>z,possibleFormInputTypes:()=>D});var a=r(9497),o=r.n(a),i=r(755),l=r.n(i),s=r(5600),u=r.n(s),c=r(4501),d=r.n(c);const f=n(26251);var p=r(6449),m=r(4425),h=r(5884),y=r(8610),b=r(9162),g=r(6753),v=r(5165),_=r(3404);function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2])||arguments[2];return(0,p.isISO)(e)?e:n&&(0,p.isEarliestEmpty)(e)||!n&&(0,p.isLatestNow)(e)?"":t&&t.iso?t.iso:""};function B(e){if(e){var t=e.iso&&(0,p.isISO)(e.iso)?(0,p.removeISOTimezone)(e.iso):void 0;return{error:e.error||t?e.error:new Error("The iso time could not be converted to a JavaScript Date."),iso:t,displayValue:t?u()(t).locale(A).format("LLL"):void 0,time:e.time}}}const Y=function(e){var t=e.onRequestParseEarliest,n=e.onRequestParseLatest,r=e.earliest,i=e.latest,s=e.momentTimeZone,c=e.advancedInputTypes,f=void 0===c?z:c,M=e.documentationURL,S=e.formInputTypes,k=void 0===S?D:S,E=e.onChange,Y=e.presets,N=e.realTimeDisabled,F=e.realTimeOnly,I=e.style,R=C((0,a.useState)(j(e)),2),W=R[0],H=R[1],q=(0,a.useRef)(),X=(0,a.useRef)(),V=(0,a.useRef)();(0,a.useEffect)(function(){q.current=s},[s]),(0,a.useEffect)(function(){X.current=r},[r]),(0,a.useEffect)(function(){V.current=i},[i]),q.current!==s&&u().tz.add(u().tz.pack(s)),(0,a.useEffect)(function(){var e=["presets","date","dateTime"];((0,p.isEpoch)(r)||e.includes(W))&&(null==t||t(r)),((0,p.isEpoch)(i)||e.includes(W))&&(null==n||n(i))},[t,n,r,i,W]),r!==X.current&&(0,p.isEpoch)(r)&&(null==t||t(r)),i!==V.current&&(0,p.isEpoch)(i)&&(null==n||n(i));var U=function(e,n){if(n===W){var r=(0,p.removeRealTime)(e||"0");null==t||t(r,n)}},$=function(e,t){if(t===W){var r=(0,p.removeRealTime)(e||"now");null==n||n(r,t)}},G=s?s.name:"",K={earliest:r,latest:i,onChange:E},J=B(e.parseEarliest),Z=B(e.parseLatest),Q={onRequestParseEarliest:U,onRequestParseLatest:$,parseEarliest:J,parseLatest:Z},ee={earliest:P(r,J,!0),latest:P(i,Z,!1),onChange:E,locale:A},te=x(x({onChange:function(e,t){var n=t.panelId;H(T[n])},"data-test":"time-range-dialog","data-test-earliest":r,"data-test-latest":i},(0,_.Z)(e)),{},{style:x({minWidth:820},I)});if(!N&&F)return o().createElement(d(),w({},te,{openPanelId:"realTime"}),o().createElement(g.default,w({open:!0,panelId:"realTime",key:"realTime"},K,Q)));var ne,re=[];if(Y&&Y.length&&(N&&(ne=Y.filter(function(e){return!e.earliest.includes("rt")&&!e.latest.includes("rt")})),re.push(o().createElement(b.default,w({panelId:"presets",key:"presets",presets:N?ne:Y,onRequestParseLatest:$,onRequestParseEarliest:U},K)))),l()(k,O.relative)&&re.push(o().createElement(v.default,w({open:"relative"===W,panelId:"relative",key:"relative"},K,Q))),!N&&l()(k,O.realTime)&&re.push(o().createElement(g.default,w({open:"realTime"===W,panelId:"realTime",key:"realTime"},K,Q))),l()(k,O.date)&&re.push(o().createElement(h.default,w({panelId:"date",key:"date",momentTimeZoneName:G},ee))),l()(k,O.dateTime)&&re.push(o().createElement(y.default,w({panelId:"dateTime",key:"dateTime",momentTimeZoneName:G},ee))),f.length){var ae=N?f.filter(function(e){return e!==L.realTime}):f;re.push(o().createElement(m.default,w({open:"advanced"===W,panelId:"advanced",key:"advanced",inputTypes:ae,documentationURL:M,momentTimeZoneName:G},K,Q)))}return o().createElement(d(),w({},te,{openPanelId:W}),re)}},2448:(e,t,n)=>{n.d(t,{default:()=>u});var r=n(9497),a=n.n(r),o=n(4501),i=n.n(o),l=n(3404),s=new Set(["description","elementRef","panelId","title","open","onRequestOpen","onRequestClose"]);const u=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{n.d(t,{default:()=>u});var r=n(9497),a=n.n(r),o=n(451),i=n.n(o),l=n(3404);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.d(t,{default:()=>d});var r=n(9497),a=n.n(r),o=n(6449),i=(n.n(o),n(6649)),l=(n.n(i),n(2448)),s=n(8705),u=n(1612);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{r.d(t,{Styled:()=>u,StyledColumn:()=>c,StyledHeading:()=>d});var a=r(232),o=r.n(a);const i=n(63544);var l=r.n(i),s=r(3563),u=o().div.withConfig({displayName:"PresetsStyles__Styled",componentId:"kvmhvr-0"})(["display:grid;grid-template-rows:[heading] auto [links] auto;grid-auto-flow:column;padding:",";gap:",";"],s.variables.spacingLarge,s.variables.spacingSmall),c=o().div.withConfig({displayName:"PresetsStyles__StyledColumn",componentId:"kvmhvr-1"})(["display:flex;flex-direction:column;grid-row:links;"]),d=o()(l()).withConfig({displayName:"PresetsStyles__StyledHeading",componentId:"kvmhvr-2"})(["grid-row:heading;align-self:end;"])},6753:(e,t,n)=>{n.d(t,{default:()=>E});var r=n(9497),a=n.n(r),o=n(7020),i=n.n(o),l=n(9250),s=(n.n(l),n(6447)),u=n.n(s),c=n(2782),d=n.n(c),f=n(2621),p=n.n(f),m=n(2373),h=n.n(m),y=n(4082),b=n.n(y),g=n(6449),v=(n.n(g),n(6649)),_=(n.n(v),n(8987)),M=(n.n(_),n(250)),w=n(2448),S=n(6685);function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n{r.d(t,{default:()=>T});var a=r(9497),o=r.n(a);const i=n(41694);var l=r.n(i),s=r(7020),u=r.n(s),c=r(9250),d=r(6447),f=r.n(d),p=r(2782),m=r.n(p);const h=n(21385);var y=r.n(h),b=r(2621),g=r.n(b),v=r(2373),_=r.n(v),M=r(6449);const w=n(2841);var S=r(6649),x=r(8987),k=r(250),C=r(2448),E=r(6685);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n{n.d(t,{FlexControlGroup:()=>c,StyledApplyContainer:()=>d,StyledCGWrapper:()=>u,StyledError:()=>s,StyledFromControl:()=>f});var r=n(232),a=n.n(r),o=n(9250),i=n.n(o),l=n(3563),s=(n.n(l),a().div.withConfig({displayName:"Styles__StyledError",componentId:"sc-1blb2dr-0"})(["padding:0 ",";"],l.variables.spacingLarge)),u=a().div.withConfig({displayName:"Styles__StyledCGWrapper",componentId:"sc-1blb2dr-1"})(["display:flex;padding:"," "," 0;"," "," + &{padding-top:0;}"],l.variables.spacingSmall,l.variables.spacingLarge,function(e){return e.$hiddenLabels&&(0,r.css)(["margin-block-start:",";align-items:flex-start;"],l.variables.spacingXSmall)},s),c=a()(i()).withConfig({displayName:"Styles__FlexControlGroup",componentId:"sc-1blb2dr-2"})(["&{flex:1;}&:first-child{margin-top:0;padding-right:",";}"],l.variables.spacingLarge),d=a().div.withConfig({displayName:"Styles__StyledApplyContainer",componentId:"sc-1blb2dr-3"})(["text-align:right;padding:0 "," ",";& > button{min-width:100px;}"],l.variables.spacingLarge,l.variables.spacingLarge),f=a().div.withConfig({displayName:"Styles__StyledFromControl",componentId:"sc-1blb2dr-4"})(["display:flex;margin-bottom:",";"],l.variables.spacingSmall)},3404:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(5969),a=n.n(r);const o=function(e,t){return a()(e,function(e){return function(t,n){switch(n){case"style":case"className":return!0;default:return!(!e||!e.has(n))||n.startsWith("data-")||n.startsWith("aria-")}}}(t))}},5600:e=>{e.exports=n(77330)},4501:e=>{e.exports=n(9292)},7020:e=>{e.exports=n(64852)},9250:e=>{e.exports=n(52056)},2322:e=>{e.exports=n(20584)},451:e=>{e.exports=n(49912)},6447:e=>{e.exports=n(32769)},2782:e=>{e.exports=n(91001)},2621:e=>{e.exports=n(30762)},2373:e=>{e.exports=n(58316)},4368:e=>{e.exports=n(19709)},4082:e=>{e.exports=n(44111)},6116:e=>{e.exports=n(50824)},3563:e=>{e.exports=n(18672)},6449:e=>{e.exports=n(88662)},6649:e=>{e.exports=n(41454)},8987:e=>{e.exports=n(66115)},755:e=>{e.exports=n(60856)},5969:e=>{e.exports=n(94241)},9497:e=>{e.exports=n(14041)},232:e=>{e.exports=n(53057)}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{a.r(o),a.d(o,{AdvancedInputType:()=>e.AdvancedInputType,FormInputType:()=>e.FormInputType,convertToISO:()=>e.convertToISO,default:()=>e.default,enrichParse:()=>e.enrichParse,findPanelType:()=>e.findPanelType,possibleAdvancedInputTypes:()=>e.possibleAdvancedInputTypes,possibleFormInputTypes:()=>e.possibleFormInputTypes});var e=a(7190)})(),e.exports=o})()},45051(e,t,n){"use strict";var r=n(82259);t._finally=function(e){return r.finalize(e)(this)}},45069(e){"use strict";var t,n="";e.exports=function(e,r){if("string"!=typeof e)throw new TypeError("expected a string");if(1===r)return e;if(2===r)return e+e;var a=e.length*r;if(t!==e||void 0===t)t=e,n="";else if(n.length>=a)return n.substr(0,a);for(;a>n.length&&r>1;)1&r&&(n+=e),r>>=1,e+=e;return n=(n+=e).substr(0,a)}},45149(e,t,n){var r=n(85100),a=n(54825),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},45162(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return"jedan sat";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,n,r){if("m"===n)return t?"jedna minuta":r?"jednu minutu":"jedne minute"},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(99420))},45479(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=n(42741),o=n(36446),i=n(91638),l=n(99731),s=n(57122),u=n(78724);t.groupBy=function(e,t,n,r){return function(a){return a.lift(new c(e,t,n,r))}};var c=function(){function e(e,t,n,r){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=r}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),d=function(e){function t(t,n,r,a,o){e.call(this,t),this.keySelector=n,this.elementSelector=r,this.durationSelector=a,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},t.prototype._group=function(e,t){var n=this.groups;n||(n=this.groups="string"==typeof t?new u.FastMap:new s.Map);var r,a=n.get(t);if(this.elementSelector)try{r=this.elementSelector(e)}catch(e){this.error(e)}else r=e;if(!a){a=this.subjectSelector?this.subjectSelector():new l.Subject,n.set(t,a);var o=new p(t,a,this);if(this.destination.next(o),this.durationSelector){var i=void 0;try{i=this.durationSelector(new p(t,a))}catch(e){return void this.error(e)}this.add(i.subscribe(new f(t,a,this)))}}a.closed||a.next(r)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach(function(t,n){t.error(e)}),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach(function(e,t){e.complete()}),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(a.Subscriber),f=function(e){function t(t,n,r){e.call(this,n),this.key=t,this.group=n,this.parent=r}return r(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(a.Subscriber),p=function(e){function t(t,n,r){e.call(this),this.key=t,this.groupSubject=n,this.refCountSubscription=r}return r(t,e),t.prototype._subscribe=function(e){var t=new o.Subscription,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new m(n)),t.add(r.subscribe(e)),t},t}(i.Observable);t.GroupedObservable=p;var m=function(e){function t(t){e.call(this),this.parent=t,t.count++}return r(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(o.Subscription)},45609(e){e.exports=function(e,t){return null==e?void 0:e[t]}},45687(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},45831(e){"use strict";e.exports=function(e){return e<0||32===e}},45888(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t=/^\s+/,n=/\s+$/;function r(a,o){if(o=o||{},(a=a||"")instanceof r)return a;if(!(this instanceof r))return new r(a,o);var i=function(r){var a={r:0,g:0,b:0},o=1,i=null,l=null,s=null,u=!1,c=!1;return"string"==typeof r&&(r=function(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r,a=!1;if(_[e])e=_[e],a=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=z.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=z.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=z.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=z.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=z.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=z.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=z.hex8.exec(e))?{r:k(r[1]),g:k(r[2]),b:k(r[3]),a:L(r[4]),format:a?"name":"hex8"}:(r=z.hex6.exec(e))?{r:k(r[1]),g:k(r[2]),b:k(r[3]),format:a?"name":"hex"}:(r=z.hex4.exec(e))?{r:k(r[1]+""+r[1]),g:k(r[2]+""+r[2]),b:k(r[3]+""+r[3]),a:L(r[4]+""+r[4]),format:a?"name":"hex8"}:!!(r=z.hex3.exec(e))&&{r:k(r[1]+""+r[1]),g:k(r[2]+""+r[2]),b:k(r[3]+""+r[3]),format:a?"name":"hex"}}(r)),"object"==e(r)&&(j(r.r)&&j(r.g)&&j(r.b)?(d=r.r,f=r.g,p=r.b,a={r:255*S(d,255),g:255*S(f,255),b:255*S(p,255)},u=!0,c="%"===String(r.r).substr(-1)?"prgb":"rgb"):j(r.h)&&j(r.s)&&j(r.v)?(i=E(r.s),l=E(r.v),a=function(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),l=n*(1-(1-a)*t),s=r%6;return{r:255*[n,i,o,o,l,n][s],g:255*[l,n,n,i,o,o][s],b:255*[o,o,l,n,n,i][s]}}(r.h,i,l),u=!0,c="hsv"):j(r.h)&&j(r.s)&&j(r.l)&&(i=E(r.s),s=E(r.l),a=function(e,t,n){var r,a,o;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=S(e,360),t=S(t,100),n=S(n,100),0===t)r=a=o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=i(s,l,e+1/3),a=i(s,l,e),o=i(s,l,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(r.h,i,s),u=!0,c="hsl"),r.hasOwnProperty("a")&&(o=r.a)),o=w(o),{ok:u,format:r.format||c,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:o};var d,f,p}(a);this._originalInput=a,this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=Math.round(100*this._a)/100,this._format=o.format||i.format,this._gradientType=o.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=i.ok}function a(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,a,o=Math.max(e,t,n),i=Math.min(e,t,n),l=(o+i)/2;if(o==i)r=a=0;else{var s=o-i;switch(a=l>.5?s/(2-o-i):s/(o+i),o){case e:r=(t-n)/s+(t>1)+720)%360;--t;)a.h=(a.h+o)%360,i.push(r(a));return i}function v(e,t){t=t||6;for(var n=r(e).toHsv(),a=n.h,o=n.s,i=n.v,l=[],s=1/t;t--;)l.push(r({h:a,s:o,v:i})),i=(i+s)%1;return l}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=w(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=a(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return i(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var o=[C(Math.round(e).toString(16)),C(Math.round(t).toString(16)),C(Math.round(n).toString(16)),C(A(r))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*S(this._r,255))+"%",g:Math.round(100*S(this._g,255))+"%",b:Math.round(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*S(this._r,255))+"%, "+Math.round(100*S(this._g,255))+"%, "+Math.round(100*S(this._b,255))+"%)":"rgba("+Math.round(100*S(this._r,255))+"%, "+Math.round(100*S(this._g,255))+"%, "+Math.round(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(M[i(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+l(this._r,this._g,this._b,this._a),n=t,a=this._gradientType?"GradientType = 1, ":"";if(e){var o=r(e);n="#"+l(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(f,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(u,arguments)},greyscale:function(){return this._applyModification(c,arguments)},spin:function(){return this._applyModification(m,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(g,arguments)},complement:function(){return this._applyCombination(h,arguments)},monochromatic:function(){return this._applyCombination(v,arguments)},splitcomplement:function(){return this._applyCombination(b,arguments)},triad:function(){return this._applyCombination(y,[3])},tetrad:function(){return this._applyCombination(y,[4])}},r.fromRatio=function(t,n){if("object"==e(t)){var a={};for(var o in t)t.hasOwnProperty(o)&&(a[o]="a"===o?t[o]:E(t[o]));t=a}return r(t,n)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},r.mix=function(e,t,n){n=0===n?0:n||50;var a=r(e).toRgb(),o=r(t).toRgb(),i=n/100;return r({r:(o.r-a.r)*i+a.r,g:(o.g-a.g)*i+a.g,b:(o.b-a.b)*i+a.b,a:(o.a-a.a)*i+a.a})},r.readability=function(e,t){var n=r(e),a=r(t);return(Math.max(n.getLuminance(),a.getLuminance())+.05)/(Math.min(n.getLuminance(),a.getLuminance())+.05)},r.isReadable=function(e,t,n){var a,o,i,l,s,u=r.readability(e,t);switch(o=!1,(i=n,"AA"!==(l=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==l&&(l="AA"),"small"!==(s=(i.size||"small").toLowerCase())&&"large"!==s&&(s="small"),a={level:l,size:s}).level+a.size){case"AAsmall":case"AAAlarge":o=u>=4.5;break;case"AAlarge":o=u>=3;break;case"AAAsmall":o=u>=7}return o},r.mostReadable=function(e,t,n){var a,o,i,l,s=null,u=0;o=(n=n||{}).includeFallbackColors,i=n.level,l=n.size;for(var c=0;cu&&(u=a,s=r(t[c]));return r.isReadable(e,s,{level:i,size:l})||!o?s:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var _=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=r.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(_);function w(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function S(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function x(e){return Math.min(1,Math.max(0,e))}function k(e){return parseInt(e,16)}function C(e){return 1==e.length?"0"+e:""+e}function E(e){return e<=1&&(e=100*e+"%"),e}function A(e){return Math.round(255*parseFloat(e)).toString(16)}function L(e){return k(e)/255}var O,T,D,z=(T="[\\s|\\(]+("+(O="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",D="[\\s|\\(]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",{CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+T),rgba:new RegExp("rgba"+D),hsl:new RegExp("hsl"+T),hsla:new RegExp("hsla"+D),hsv:new RegExp("hsv"+T),hsva:new RegExp("hsva"+D),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function j(e){return!!z.CSS_UNIT.exec(e)}return r}()},45899(e,t,n){"use strict";var r=n(83392);t.scan=function(e,t){return arguments.length>=2?r.scan(e,t)(this):r.scan(e)(this)}},45918(e,t,n){"use strict";var r=n(99589);t.windowWhen=function(e){return r.windowWhen(e)(this)}},45993(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(99420))},45994(e,t,n){(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{d:"M8.61562 11.1996C8.13437 11.0753 7.64343 11.3646 7.51907 11.8458C7.39472 12.3271 7.68404 12.818 8.16529 12.9424C8.84373 13.1177 9.58407 13.2466 10.3647 13.3222C10.8594 13.3701 11.2993 13.0078 11.3472 12.5131C11.3951 12.0183 11.0328 11.5784 10.5381 11.5306C9.84281 11.4633 9.19562 11.3495 8.61562 11.1996Z"}),o().createElement("path",{d:"M8.61562 15.1996C8.13437 15.0753 7.64343 15.3646 7.51907 15.8458C7.39472 16.3271 7.68404 16.818 8.16529 16.9424C8.84373 17.1177 9.58407 17.2466 10.3647 17.3222C10.8594 17.3701 11.2993 17.0078 11.3472 16.5131C11.3951 16.0183 11.0328 15.5784 10.5381 15.5306C9.84281 15.4633 9.19562 15.3495 8.61562 15.1996Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C9.98341 2 8.1144 2.29032 6.71392 2.79049C6.01803 3.03902 5.38405 3.35829 4.90494 3.76283C4.43048 4.16346 4 4.74631 4 5.5V17.5C4 19.0493 5.22998 20.1828 6.60304 20.8693C8.03591 21.5857 9.94542 22 12 22C14.0546 22 15.9641 21.5857 17.397 20.8693C18.77 20.1828 20 19.0493 20 17.5V5.5C20 4.74631 19.5695 4.16346 19.0951 3.76283C18.616 3.35829 17.982 3.03902 17.2861 2.79049C15.8856 2.29032 14.0166 2 12 2ZM6.19525 5.29094C6.07042 5.39634 6.02321 5.46681 6.00633 5.5C6.02321 5.53319 6.07042 5.60366 6.19525 5.70906C6.42458 5.9027 6.81573 6.12215 7.38659 6.32603C8.5196 6.73067 10.1506 7 12 7C13.8494 7 15.4804 6.73067 16.6134 6.32603C17.1843 6.12215 17.5754 5.9027 17.8048 5.70906C17.9296 5.60366 17.9768 5.53319 17.9937 5.5C17.9768 5.46681 17.9296 5.39634 17.8048 5.29094C17.5754 5.0973 17.1843 4.87785 16.6134 4.67397C15.4804 4.26933 13.8494 4 12 4C10.1506 4 8.5196 4.26933 7.38659 4.67397C6.81573 4.87785 6.42458 5.0973 6.19525 5.29094ZM18 7.91726C17.7726 8.02403 17.5333 8.12123 17.2861 8.20951C15.8856 8.70968 14.0166 9 12 9C9.98341 9 8.1144 8.70968 6.71392 8.20951C6.46674 8.12123 6.22738 8.02403 6 7.91726V17.5C6 17.8837 6.33702 18.5002 7.49747 19.0804C8.5981 19.6308 10.1886 20 12 20C13.8114 20 15.4019 19.6308 16.5025 19.0804C17.663 18.5002 18 17.8837 18 17.5V16.1078L17.9948 16.1107C16.9576 16.6899 15.5629 17.0932 14.0171 17.2805C13.5237 17.3404 13.0752 16.9888 13.0154 16.4954C12.9555 16.0019 13.3071 15.5534 13.8005 15.4936C15.1928 15.3249 16.3436 14.9712 17.1173 14.5391C17.6232 14.2567 17.8785 13.997 18 13.7969V12.1078L17.9948 12.1107C16.9576 12.6899 15.5629 13.0932 14.0171 13.2805C13.5237 13.3404 13.0752 12.9888 13.0154 12.4954C12.9555 12.0019 13.3071 11.5534 13.8005 11.4936C15.1928 11.3249 16.3436 10.9712 17.1173 10.5391C17.6232 10.2567 17.8785 9.99705 18 9.79687V7.91726Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5.5V17.5C20 19.0493 18.77 20.1828 17.397 20.8693C15.9641 21.5857 14.0546 22 12 22C9.94542 22 8.03591 21.5857 6.60304 20.8693C5.22998 20.1828 4 19.0493 4 17.5V5.5C4 4.74631 4.43048 4.16346 4.90494 3.76283C5.38405 3.35829 6.01803 3.03902 6.71392 2.79049C8.11441 2.29032 9.98341 2 12 2C14.0166 2 15.8856 2.29032 17.2861 2.79049C17.982 3.03902 18.616 3.35829 19.0951 3.76283C19.5695 4.16346 20 4.74631 20 5.5ZM6.00633 5.5C6.02321 5.46681 6.07042 5.39634 6.19525 5.29094C6.42458 5.0973 6.81573 4.87785 7.38659 4.67397C8.5196 4.26933 10.1506 4 12 4C13.8494 4 15.4804 4.26933 16.6134 4.67397C17.1843 4.87785 17.5754 5.0973 17.8048 5.29094C17.9296 5.39634 17.9768 5.46681 17.9937 5.5C17.9768 5.53319 17.9296 5.60366 17.8048 5.70906C17.5754 5.9027 17.1843 6.12215 16.6134 6.32603C15.4804 6.73067 13.8494 7 12 7C10.1506 7 8.5196 6.73067 7.38659 6.32603C6.81573 6.12215 6.42458 5.9027 6.19525 5.70906C6.07042 5.60366 6.02321 5.53319 6.00633 5.5ZM17.1173 10.5391C17.6232 10.2567 17.8785 9.99705 18 9.79688V12.1078L17.9948 12.1107C16.9576 12.6899 15.5629 13.0932 14.0171 13.2805C13.5237 13.3404 13.0752 12.9888 13.0154 12.4954C12.9555 12.0019 13.3071 11.5534 13.8005 11.4936C15.1928 11.3249 16.3436 10.9712 17.1173 10.5391ZM17.1173 14.5391C17.6232 14.2567 17.8785 13.997 18 13.7969V16.1078L17.9948 16.1107C16.9576 16.6899 15.5629 17.0932 14.0171 17.2805C13.5237 17.3404 13.0752 16.9888 13.0154 16.4954C12.9555 16.0019 13.3071 15.5534 13.8005 15.4936C15.1928 15.3249 16.3436 14.9712 17.1173 14.5391ZM8.61562 11.1996C8.13437 11.0753 7.64343 11.3646 7.51907 11.8458C7.39472 12.3271 7.68404 12.818 8.16529 12.9424C8.84373 13.1177 9.58407 13.2466 10.3647 13.3222C10.8594 13.3701 11.2993 13.0078 11.3472 12.5131C11.3951 12.0183 11.0328 11.5784 10.5381 11.5306C9.84281 11.4633 9.19562 11.3495 8.61562 11.1996ZM8.61562 15.1996C8.13437 15.0753 7.64343 15.3646 7.51907 15.8458C7.39472 16.3271 7.68404 16.818 8.16529 16.9424C8.84373 17.1177 9.58407 17.2466 10.3647 17.3222C10.8594 17.3701 11.2993 17.0078 11.3472 16.5131C11.3951 16.0183 11.0328 15.5784 10.5381 15.5306C9.84281 15.4633 9.19562 15.3495 8.61562 15.1996Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{default:()=>f});const a=n(14041);var o=t.n(a);const i=n(65340),l=n(32756);var s=t.n(l);var u=new Map;u.set("outlined",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4Z"}),o().createElement("path",{d:"M8.29999 9.05005C8.29999 8.63584 8.63577 8.30005 9.04999 8.30005H14.95C15.3642 8.30005 15.7 8.63584 15.7 9.05005V14.95C15.7 15.3643 15.3642 15.7 14.95 15.7H9.04999C8.63577 15.7 8.29999 15.3643 8.29999 14.95V9.05005Z"}))}),u.set("filled",function(){return o().createElement(o().Fragment,null,o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM8.81081 8C8.36301 8 8 8.36301 8 8.81081V15.1892C8 15.637 8.36301 16 8.81081 16H15.1892C15.637 16 16 15.637 16 15.1892V8.81081C16 8.36301 15.637 8 15.1892 8H8.81081Z"}))});var c=["default","outlined","filled"],d=function(e){return"default"===e||e&&!function(e){return c.indexOf(e)>=0}(e)?"outlined":e};const f=function(e){var t=e.children,n=e.variant,r=void 0===n?"default":n,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;rB&&(B=f);++dp)&&(P[d]=m)),z.push(h);T[L]=z,D[L]=j}if(d=-1,f=B,"object"==typeof k&&"length"in k)for(;++dP[d]&&(P[d]=m),j[d]=m),z[d]=h;for(T.splice(1,0,z),D.splice(1,0,j),L=-1,O=T.length,y=[];++L{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{ScrollContainerContext:()=>s,ScrollContainerProvider:()=>u,default:()=>c});const a=n(14041);var o=t.n(a);"undefined"!=typeof document&&document;var i={document:{body:{appendChild:function(){return[]}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){return"undefined"!=typeof window?window:i}l();var s=o().createContext(l()),u=s.Provider;const c=s;e.exports=r})()},46455(e,t,n){"use strict";var r=n(44250);t.switchMapTo=function(e,t){return r.switchMapTo(e,t)(this)}},46601(e){e.exports=function(){}},46658(e,t,n){var r=n(88412);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},46674(e,t,n){"use strict";var r=n(91638),a=n(82782);r.Observable.prototype.first=a.first},46726(e,t,n){"use strict";var r=n(40221);t.last=function(e,t,n){return r.last(e,t,n)(this)}},46728(e,t,n){var r,a=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,c=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===n||o(e,a,{get:()=>t[a],enumerable:!(r=i(t,a))||r.enumerable});return e},f={};c(f,{isArrayOfColors:()=>g,isColor:()=>b,sanitizeArrayOfColors:()=>v}),e.exports=(r=f,d(o({},"__esModule",{value:!0}),r));var p={};c(p,{default:()=>h});var m=((e,t,n)=>(n=null!=e?a(s(e)):{},d(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(2966));((e,t)=>{d(e,t,"default")})(p,n(2966));var h="default"in m?m.default:m,y=["transparent","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];function b(e=""){if("string"!=typeof e)return!1;if(e.startsWith("#"))return e=e.substring(1),[3,4,6,8].indexOf(e.length)>-1&&!Number.isNaN(parseInt(e,16));const t=e.trim();return!(!p.rgbColorPattern.test(t)&&!p.rgbaColorPattern.test(t))||y.includes(e.toLowerCase())}var g=e=>Array.isArray(e)&&e.every(b),v=(e,t)=>e.map(e=>b(e)?e:t)},46974(e,t,n){var r=n(72456),a=n(42139),o=n(17944);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}(e)},week:{dow:1,doy:4}})}(n(99420))},47093(e,t,n){var r=n(15937);function a(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var o,i,l=r(e),s="function"==typeof t,u=0,c=l.length;u=b&&!a||"t"===a?(y+=p.abbreviations.trillion,t/=b):o=g&&!a||"b"===a?(y+=p.abbreviations.billion,t/=g):o=v&&!a||"m"===a?(y+=p.abbreviations.million,t/=v):(o=1e3&&!a||"k"===a)&&(y+=p.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(h=!0,n=n.replace("[.]",".")),l=t.toString().split(".")[0],s=n.split(".")[1],c=n.indexOf(","),f=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,s?(e._.includes(s,"[")?(s=(s=s.replace("]","")).split("["),_=e._.toFixed(t,s[0].length+s[1].length,r,s[1].length)):_=e._.toFixed(t,s.length,r),l=_.split(".")[0],_=e._.includes(_,".")?p.delimiters.decimal+_.split(".")[1]:"",h&&0===Number(_.slice(1))&&(_="")):l=e._.toFixed(t,0,r),y&&!a&&Number(l)>=1e3&&y!==p.abbreviations.trillion)switch(l=String(Number(l)/1e3),y){case p.abbreviations.thousand:y=p.abbreviations.million;break;case p.abbreviations.million:y=p.abbreviations.billion;break;case p.abbreviations.billion:y=p.abbreviations.trillion}if(e._.includes(l,"-")&&(l=l.slice(1),M=!0),l.length0;w--)l="0"+l;return c>-1&&(l=l.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===n.indexOf(".")&&(l=""),d=l+_+(y||""),m?d=(m&&M?"(":"")+d+(m&&M?")":""):u>=0?d=0===u?(M?"-":"+")+d:d+(M?"-":"+"):M&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,a=i[s.currentLocale],o=e,l={thousand:3,million:6,billion:9,trillion:12};if(s.zeroFormat&&e===s.zeroFormat)n=0;else if(s.nullFormat&&e===s.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==a.delimiters.decimal&&(e=e.replace(/\./g,"").replace(a.delimiters.decimal,".")),l)if(r=new RegExp("[^a-zA-Z]"+a.abbreviations[t]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,l[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),a=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o=a)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;or?e:r},1)},toFixed:function(e,t,n,r){var a,o,i,l,s=e.toString().split("."),u=t-(r||0);return a=2===s.length?Math.min(Math.max(s[1].length,u),t):u,i=Math.pow(10,a),l=(n(e+"e+"+a)/i).toFixed(a),r>t-a&&(o=new RegExp("\\.?0{1,"+(r-(t-a))+"}$"),l=l.replace(o,"")),l}},e.options=s,e.formats=o,e.locales=i,e.locale=function(e){return e&&(s.currentLocale=e.toLowerCase()),s.currentLocale},e.localeData=function(e){if(!e)return i[s.currentLocale];if(e=e.toLowerCase(),!i[e])throw new Error("Unknown locale : "+e);return i[e]},e.reset=function(){for(var e in l)s[e]=l[e]},e.zeroFormat=function(e){s.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){s.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){s.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,a,o,i,l,s,u,c;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{u=e.localeData(n)}catch(t){u=e.localeData(e.locale())}return o=u.currency.symbol,l=u.abbreviations,r=u.delimiters.decimal,a="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,!(null!==(c=t.match(/^[^\d]+/))&&(t=t.substr(1),c[0]!==o)||null!==(c=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),c[0]!==l.thousand&&c[0]!==l.million&&c[0]!==l.billion&&c[0]!==l.trillion)||(s=new RegExp(a+"{2}"),t.match(/[^\d.,]/g)||(i=t.split(r)).length>2||(i.length<2?!i[0].match(/^\d+.*\d$/)||i[0].match(s):1===i[0].length?!i[0].match(/^\d+$/)||i[0].match(s)||!i[1].match(/^\d+$/):!i[0].match(/^\d+.*\d$/)||i[0].match(s)||!i[1].match(/^\d+$/))))},e.fn=u.prototype={clone:function(){return e(this)},format:function(t,n){var r,a,i,l=this._value,u=t||s.defaultFormat;if(n=n||Math.round,0===l&&null!==s.zeroFormat)a=s.zeroFormat;else if(null===l&&null!==s.nullFormat)a=s.nullFormat;else{for(r in o)if(u.match(o[r].regexps.format)){i=o[r].format;break}a=(i=i||e._.numberToFormat)(l,u,n)}return a},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],function(e,t,r,a){return e+Math.round(n*t)},0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,r,a){return e-Math.round(n*t)},Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var a,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"BPS"),a=a.join("")):a=a+o+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a="("+(a=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter(function(e){return n.suffixes.indexOf(e)<0})).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(t,a,o){var i,l,s,u=e._.includes(a,"ib")?r:n,c=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),i=0;i<=u.suffixes.length;i++)if(l=Math.pow(u.base,i),s=Math.pow(u.base,i+1),null===t||0===t||t>=l&&t0&&(t/=l);break}return e._.numberToFormat(t,a,o)+c},unformat:function(t){var a,o,i=e._.stringToNumber(t);if(i){for(a=n.suffixes.length-1;a>=0;a--){if(e._.includes(t,n.suffixes[a])){o=Math.pow(n.base,a);break}if(e._.includes(t,r.suffixes[a])){o=Math.pow(r.base,a);break}}i*=o||1}return i}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var a,o,i=e.locales[e.options.currentLocale],l={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,n,r),t>=0?(l.before=l.before.replace(/[\-\(]/,""),l.after=l.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(l.before,"-")&&!e._.includes(l.before,"(")&&(l.before="-"+l.before),o=0;o=0;o--)switch(l.after[o]){case"$":a=o===l.after.length-1?a+i.currency.symbol:e._.insert(a,i.currency.symbol,-(l.after.length-(1+o)));break;case" ":a=o===l.after.length-1?a+" ":e._.insert(a," ",-(l.after.length-(1+o)+i.currency.symbol.length-1))}return a}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var a=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(a[0]),n,r)+"e"+a[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),a=Number(n[1]);return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([r,Math.pow(10,a)],function(t,n,r,a){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var a=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=a.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var a,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"%"),a=a.join("")):a=a+o+"%",a},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),a=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*a);return r+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e},void 0===(a=r.call(t,n,t,e))||(e.exports=a)},47388(e,t,n){"use strict";var r=n(58114);t.findIndex=function(e,t){return function(n){return n.lift(new r.FindValueOperator(e,n,!0,t))}}},47400(e,t,n){"use strict";var r=n(14041),a=n(97967);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n