vendor: 4,106 bytes, lines 1-2
1/*! For license information please see a6599a4d2d425fa749c5.chunk.js.LICENSE.txt */ 2(globalThis.webpackChunksuperset=globalThis.webpackChunksuperset||[]).push([[4779],{7452:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof y?t:y,l=Object.create(i.prototype),a=new Y(n||[]);return o(l,"_invoke",{value:A(e,r,a)}),l}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",p="suspendedYield",g="executing",f="completed",m={};function y(){}function v(){}function b(){}var S={};s(S,l,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(I([])));k&&k!==r&&n.call(k,l)&&(S=k);var C=b.prototype=y.prototype=Object.create(S);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,l,a){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,l,a)}),(function(e){r("throw",e,l,a)})):t.resolve(u).then((function(e){s.value=e,l(s)}),(function(e){return r("throw",e,l,a)}))}a(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function A(e,r,n){var o=h;return function(i,l){if(o===g)throw new Error("Generator is already running");if(o===f){if("throw"===i)throw l;return{value:t,done:!0}}for(n.method=i,n.arg=l;;){var a=n.delegate;if(a){var c=N(a,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var s=d(e,r,n);if("normal"===s.type){if(o=n.done?f:p,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=f,n.method="throw",n.arg=s.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var l=i.arg;return l?l.done?(r[e.resultName]=l.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Y(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function I(e){if(null!=e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=b,o(C,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},x(E.prototype),s(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
vendor: 3,175 bytes, line 2
2ise);var l=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},x(C),s(C,c,"Generator"),s(C,l,(function(){return this})),s(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=I,Y.prototype={constructor:Y,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var l=this.tryEntries[i],a=l.completion;if("root"===l.tryLoc)return o("end");if(l.tryLoc<=this.prev){var c=n.call(l,"catchLoc"),s=n.call(l,"finallyLoc");if(c&&s){if(this.prev<l.catchLoc)return o(l.catchLoc,!0);if(this.prev<l.finallyLoc)return o(l.finallyLoc)}else if(c){if(this.prev<l.catchLoc)return o(l.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return o(l.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var l=i?i.completion:{};return l.type=e,l.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},35697:(e,t,r)=>{var n=r(75972).k5;e.exports.X=function(e){return n({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"}}]})(e)}},51545:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>a,cG:()=>i});var n=r(70731),o=r.n(n);const i={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},l=(e,t)=>
2String(e.rankedValue).localeCompare(String(t.rankedValue));function a(e,t,r){void 0===r&&(r={});const{keys:n,threshold:o=i.MATCHES,baseSort:a=l,sorter:u=e=>e.sort(((e,t)=>s(e,t,a)))}=r,h=e.reduce((function(e,l,a){const s=function(e,t,r,n){if(!t)return{rankedValue:e,rank:c(e,r,n),keyIndex:-1,keyThreshold:n.threshold};const o=function(e,t){const r=[];for(let n=0,o=t.length;n<o;n++){const o=t[n],i=p(o),l=d(e,o);for(let e=0,t=l.length;e<t;e++)r.push({itemValue:l[e],attributes:i})}return r}(e,t);return o.reduce(((e,t,o)=>{let{rank:l,rankedValue:a,keyIndex:s,keyThreshold:u}=e,{itemValue:d,attributes:h}=t,p=c(d,r,n),g=a;const{minRanking:f,maxRanking:m,threshold:y}=h;return p<f&&p>=i.MATCHES?p=f:p>m&&(p=m),p>l&&(l=p,s=o,u=y,g=d),{rankedValue:g,rank:l,keyIndex:s,keyThreshold:u}}),{rankedValue:e,rank:i.NO_MATCH,keyIndex:-1,keyThreshold:n.threshold})}(l,n,t,r),{rank:u,keyThreshold:h=o}=s;return u>=h&&e.push({...s,item:l,index:a}),e}),[]);return u(h).map((e=>{let{item:t}=e;return t}))}function c(e,t,r){return e=u(e,r),(t=u(t,r)).length>e.length?i.NO_MATCH:e===t?i.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?i.EQUAL:e.startsWith(t)?i.STARTS_WITH:e.includes(` ${t}`)?i.WORD_STARTS_WITH:e.includes(t)?i.CONTAINS:1===t.length?i.NO_MATCH:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?i.ACRONYM:function(e,t){let r=0,n=0;function o(e,t,n){for(let o=n,i=t.length;o<i;o++)if(t[o]===e)return r+=1,o+1;return-1}const l=o(t[0],e,0);if(l<0)return i.NO_MATCH;n=l;for(let r=1,l=t.length;r<l;r++)if(n=o(t[r],e,n),!(n>-1))return i.NO_MATCH;return function(e){const n=1/e,o=r/t.length;return i.MATCHES+o*n}(n-l)}(e,t)}function s(e,t,r){const{rank:n,keyIndex:o}=e,{rank:i,keyIndex:l}=t;return n===i?o===l?r(e,t):o<l?-1:1:n>i?-1:1}function u(e,t){let{keepDiacritics:r}=t;return e=`${e}`,r||(e=o()(e)),e}function d(e,t){let r;if("object"==typeof t&&(t=t.key),"function"==typeof t)r=t(e);else if(null==e)r=null;else if(Object.hasOwnProperty.call(e,t))r=e[t];else{if(t.includes("."))return function(e,t){const r=e.split(".");let n=[t];for(let e=0,t=r.length;e<t;e++){const t=r[e];let o=[];for(let e=0,r=n.length;e<r;e++){const r=n[e];if(null!=r)if(Object.hasOwnProperty.call(r,t)){const e=r[t];null!=e&&o.push(e)}else"*"===t&&(o=o.concat(r))}n=o}return Array.isArray(n[0])?[].concat(...n):n}(t,e);r=null}return null==r?[]:Array.isArray(r)?r:[String(r)]}a.rankings=i;const h={maxRanking:1/0,minRanking:-1/0};function p(e){return"string"==typeof e?h:{...h,...e}}},64779:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>xe});var n=r(2404),o=r.n(n),i=r(38221),l=r.n(i),a=r(62193),c=r.n(a),s=r(2445),u=r(24002),d=r(21671),h=r(61573),p=r(69856),g=r(77796),f=r(35697),m=r(46942),y=r.n(m),v=r(7683),b=r(74098),S=r(17437),w=r(58083),k=r(50290),C=r(31463),x=r(90924),E=r(95021),A=r(34538),N=r(28827),O=r(95018),T=r(26067),Y=r(13341),I=r(14103),M=r(39822),P=r(35709),$=r(29248),F=r(96254),L=r(85173),R=r
2(67413),z=r(32885),H=r(51545);r(7452);const D=new Map;function B({count:e,value:t,onChange:r,onBlur:n,inputRef:o}){return(0,s.FD)(A.Space,{direction:"horizontal",size:4,className:"dt-global-filter",children:["Search",(0,s.Y)(A.Input,{size:"small",ref:o,placeholder:`${e} records...`,value:t,onChange:r,onBlur:n,className:"form-control input-sm"})]})}const j=(0,u.memo)((function({preGlobalFilteredRows:e,filterValue:t="",searchInput:r,setGlobalFilter:n,id:o="",serverPagination:i,rowCount:l}){const a=i?l:e.length,c=(0,u.useRef)(null),[d,h]=function(e,t,r=200){const[n,o]=(0,u.useState)(e),i=(0,u.useRef)(e),l=(0,z.useAsyncDebounce)(t,r);return i.current!==e&&(i.current=e,n!==e&&o(e)),[n,e=>{o(e),l(e)}]}(t,(e=>{n(e||void 0)}),200);(0,u.useEffect)((()=>{var e;i&&D.get(o)&&document.activeElement!==c.current&&(null==(e=c.current)||e.focus())}),[d,i]);const p=r||B;return(0,s.Y)(p,{count:a,value:d,inputRef:c,onChange:e=>{const t=e.target;e.preventDefault(),D.set(o,!0),h(t.value)},onBlur:()=>{D.set(o,!1)}})}));var U=r(20259);function G({current:e,options:t,onChange:r}){const{Option:n}=A.Select;return(0,s.FD)("span",{className:"dt-select-page-size form-inline",children:[(0,b.t)("Show")," ",(0,s.Y)(A.Select,{value:e,onChange:e=>r(e),size:"small",css:e=>S.AH` 3 width: ${18*e.sizeUnit}px; 4 `,children:t.map((e=>{const[t,r]=Array.isArray(e)?e:[e,e],o=0===t?(0,b.t)("all"):t;return(0,s.Y)(n,{value:Number(t),"aria-label":(0,b.t)("Show %s entries",o),children:r},t)}))})," ",(0,b.t)("entries")]})}function _(e){return Array.isArray(e)?e[0]:e}const W=(0,u.memo)((function({total:e,options:t,current:r,selectRenderer:n,onChange:o}){const i=t.map(_);let l=[...t];void 0===r||r===e&&i.includes(0)||i.includes(r)||(l=[...t],l.splice(i.findIndex((e=>e>r)),0,(0,U.u)([r])[0]));const a=void 0===r?i[0]:r,c=n||G;return(0,s.Y)(c,{current:a,options:l,onChange:o})})),V=(0,u.memo)((0,u.forwardRef)((function({style:e,pageCount:t,currentPage:r=0,maxPageItemCount:n=9,onPageChange:o}
4,i){const l=function(e,t,r){if(r<7)throw new Error("Must allow at least 7 page items");if(r%2==0)throw new Error("Must allow odd number of page items");if(e<r)return[...new Array(e).keys()];const n=Math.max(0,Math.min(e-r,t-Math.floor(r/2))),o=new Array(r);for(let e=0;e<r;e+=1)o[e]=e+n;"number"==typeof o[0]&&o[0]>0&&(o[0]=0,o[1]="prev-more");const i=o[o.length-1];return"number"==typeof i&&i<e-1&&(o[o.length-1]=e-1,o[o.length-2]="next-more"),o}(t,r,n);return(0,s.Y)("div",{ref:i,className:"dt-pagination",style:e,children:(0,s.Y)("ul",{className:"pagination pagination-sm",children:l.map((e=>"number"==typeof e?(0,s.Y)("li",{className:r===e?"active":void 0,children:(0,s.Y)("a",{href:`#page-${e}`,role:"button",onClick:t=>{t.preventDefault(),o(e)},children:e+1})},e):(0,s.Y)("li",{className:"dt-pagination-ellipsis",children:(0,s.Y)("span",{children:"â¦"})},e)))})})})));let X;const K=e=>e.join("\n");function Q(e=!1){if("undefined"==typeof document)return 0;if(void 0===X||e){const e=document.createElement("div"),t=document.createElement("div");e.style.cssText=K` 5 width: auto; 6 height: 100%; 7 overflow: scroll; 8 `,t.style.cssText=K` 9 position: absolute; 10 visibility: hidden; 11 overflow: hidden; 12 width: 100px; 13 height: 50px; 14 `,t.append(e),document.body.append(t),X=t.clientWidth-e.clientWidth,t.remove()}return X}var Z;!function(e){e.Init="init",e.SetStickyState="setStickyState"}(Z||(Z={}));const J=(e,t)=>e+t,q=(e,t)=>({style:{...e.props.style,...t}}),ee={tableLayout:"fixed"};function te({sticky:e={},width:t,height:r,children:n,setStickyState:o}){if(!n||"table"!==n.type)throw new Error("<StickyWrap> must have only one <table> element as child");let i,l,a;if(u.Children.forEach(n.props.children,(e=>{e&&("thead"===e.type?i=e:"tbody"===e.type?l=e:"tfoot"===e.type&&(a=e))})),!i||!l)throw new Error("<table> in <StickyWrap> must contain both thead and tbody.");const c=(0,u.useMemo)((()=>{var e;return u.Children.toArray(null==(e=i)?void 0:e.props.children).pop().props.children.length}),[i]),d=(0,u.useRef)(null),h=(0,u.useRef)(null),p=(0,u.useRef)(null),g=(0,u.useRef)(null),f=(0,u.useRef)(null),m=Q(),{bodyHeight:y,columnWidths:v}=e,b=!v||e.width!==t||e.height!==r||e.setStickyState!==o;let S,w,k,C;if((0,u.useLayoutEffect)((()=>{var e,n;if(!d.current)return;const i=d.current,l=i.clientHeight,a=h.current?h.current.clientHeight:0;if(!l)return;const c=i.parentNode.clientHeight,s=null==(e=i.childNodes)?void 0:e[(null==(n=i.childNodes)?void 0:n.length)-1||0].childNodes,u=Array.from(s).map((e=>{var t;return(null==(t=e.getBoundingClientRect())?void 0:t.width)||e.clientWidth})),[p,g]=function({width:e,height:t,innerHeight:r,innerWidth:n,scrollBarSize:o}){const i=r>t;return[i,n>e-(i?o:0)]}({width:t,height:r-l-a,innerHeight:c,innerWidth:u.reduce(J),scrollBarSize:m}),f=Math.min(r,g?c+m:c);o({hasVerticalScroll:p,hasHorizontalScroll:g,setStickyState:o,width:t,height:r,realHeight:f,tableHeight:c,bodyHeight:f-l-a,columnWidths:u})}),[t,r,o,m]),b){const e=(0,u.cloneElement)(i,{ref:d}),t=a&&(0,u.cloneElement)(a,{ref:h});S=(0,s.Y)("div",{style:{height:r,overflow:"auto",visibility:"hidden",scrollbarGutter:"stable"},role:"presentation",children:(0,u.cloneElement)(n,{role:"presentation"},e,l,t)},"sizer")}const x=null==v?void 0:v.slice(0,c);if(x&&y){const t=(0,s.Y)("colgroup",{children:x.map(((e,t)=>(0,s.Y)("col",{width:e},t)))});w=(0,s.FD)("div",{ref:p,style:{overflow:"hidden",scrollbarGutter:"stable"},role:"presentation",children:[(0,u.cloneElement)((0,u.cloneElement)(n,{role:"presentation"}),q(n,ee),t,i),w]},"header"),k=a&&(0,s.FD)("div",{ref:g,style:{overflow:"hidden",scrollbarGutter:"stable"},role:"presentation",children:[(0,u.cloneElement)((0,u.cloneElement)(n,{role:"presentation"}),q(n,ee),t,a),k]},"footer");const r=e=>{p.current&&(p.current.scrollLeft=e.currentTarget.scrollLeft),g.current&&(g.current.scrollLeft=e.currentTarget.scrollLeft)};C=(0,s.Y)("div",{ref:f,style:{height:y,overflow:"auto",scrollbarGutter:"stable"},onScroll:e.hasHorizontalScroll?r:void 0,role:"presentation",children:(0,u.cloneElement)((0,u.cloneElement)(n,{role:"presentation"}),q(n,ee),t,l)},"body")}return(0,s.FD)("div",{style:{width:t,height:e.realHeight||r,overflow:"hidden"},role:"table",children:[w,C,k,S]})}function re(e){const{dispatch:t,state:{sticky:r},data:n,page:o,rows:i,allColumns:l,getTableSize:a=()=>{}}=e,c=(0,u.useCallback)((e=>{t({type:Z.SetStickyState,size:e})}),[t,a,o,i]);Object.assign(e,{setStickyState:c,wrapStickyTable:e=>{const{width:t,height:d}=function(e,t){const r=(0,u.useRef)();return(0,u.useLayoutEffect)((()=>{r.current=e})),(0,u.useMemo)((()=>
14{if(r.current)return e()}),[r.current,r.current===e,...t||[]])}(a,[a])||r,h=(0,u.useMemo)(e,[o,i,l]);return(0,u.useLayoutEffect)((()=>{t&&d||c()}),[t,d]),t&&d?0===n.length?h:(0,s.Y)(te,{width:t,height:d,sticky:r,setStickyState:c,children:h}):null}})}function ne(e){e.useInstance.push(re),e.stateReducers.push(((e,t,r)=>{const n=t;if(n.type===Z.Init)return{...e,sticky:{...null==r?void 0:r.sticky}};if(n.type===Z.SetStickyState){const{size:t}=n;return t?{...e,sticky:{...null==r?void 0:r.sticky,...null==e?void 0:e.sticky,...n.size}}:{...e}}return e}))}ne.pluginName="useSticky";var oe=r(68235);const ie=(0,k.I4)(A.Select)` 15 width: 120px; 16 margin-right: 8px; 17`,le=function({value:e,onChange:t,searchOptions:r}){var n,o;return(0,s.Y)(ie,{className:"search-select",value:e||(null!=(n=null==r||null==(o=r[0])?void 0:o.value)?n:""),options:r,onChange:t})},ae={alphanumeric:(e,t,r)=>{const n=e.values[r],o=t.values[r];return n&&"string"==typeof n?o&&"string"==typeof o?n.localeCompare(o):1:-1}},ce=(0,k.I4)(A.Space)` 18 display: flex; 19 justify-content: flex-end; 20 21 .search-select-container { 22 display: flex; 23 } 24 25 .search-by-label { 26 align-self: center; 27 margin-right: 4px; 28 } 29`,se=k.I4.div` 30 display: flex; 31`,ue=(0,L.v)((function({tableClassName:e,columns:t,data:r,serverPaginationData:n,width:i="100%",height:l=300,pageSize:a=0,initialState:c={},pageSizeOptions:d=oe.x,maxPageItemCount:h=9,sticky:p,searchInput:g=!0,onServerPaginationChange:f,rowCount:m,selectPageSize:y,noResults:v="No data found",hooks:b,serverPagination:S,wrapperRef:w,onColumnOrderChange:k,renderGroupingHeaders:C,renderTimeComparisonDropdown:x,handleSortByChange:E,sortByFromParent:A=[],manualSearch:N=!1,onSearchChange:O,initialSearchText:T,searchInputId:Y,onSearchColChange:I,searchOptions:M,...P}){const $=[z.useGlobalFilter,z.useSortBy,z.usePagination,z.useColumnOrder,p?ne:[],b||[]].flat(),F=Object.keys((null==r?void 0:r[0])||{}),L=(0,R.Z)(F),D=S?m:r.length,B=(0,u.useRef)([]),U=(0,u.useRef)([a,D]),G=a>0&&D>0,_=G||!!g||x,X={...c,sortBy:S?A:B.current,pageSize:a>0?a:D||10},K=(0,u.useRef)(null),Q=(0,u.useRef)(null),Z=(0,u.useRef)(null),J=w||K,q=JSON.stringify(n),ee=(0,u.useCallback)((()=>{var e,t;if(J.current)return{width:Number(i)||J.current.clientWidth,height:(Number(l)||J.current.clientHeight)-((null==(e=Q.current)?void 0:e.clientHeight)||0)-((null==(t=Z.current)?void 0:t.clientHeight)||0)}}),[l,i,J,G,_,Z,D,q]),te=(0,u.useCallback)(((e,t,r)=>(0,H.Ht)(e,r,{keys:[...t,e=>t.map((t=>e.values[t])).join(" ")],threshold:H.cG.ACRONYM})),[]),{getTableProps:re,getTableBodyProps:ie,prepareRow:ue,headerGroups:de,footerGroups:he,page:pe,pageCount:ge,gotoPage:fe,preGlobalFilteredRows:me,setGlobalFilter:ye,setPageSize:ve,wrapStickyTable:be,setColumnOrder:Se,allColumns:we,state:{pageIndex:ke,pageSize:Ce,globalFilter:xe,sticky:Ee={},sortBy:Ae}}=(0,z.useTable)({columns:t,data:r,initialState:X,getTableSize:ee,globalFilter:te,sortTypes:ae,autoResetSortBy:!o()(F,L),manualSortBy:!!S,...P},...$),Ne=(0,u.useCallback)((e=>{N&&O?O(e):ye(e)}),[N,O,ye]);(0,u.useEffect)((()=>{const e=(null==n?void 0:n.sortBy)||[];if(S&&!o()(Ae,e))if(Array.isArray(Ae)&&Ae.length>0){const[e]=Ae,r=t.find((t=>(null==t?void 0:t.id)===(null==e?void 0:e.id)));if(r&&"columnKey"in r){const t={...e,key:r.columnKey};E([t])}}else E([])}),[Ae]);const Oe=e=>{S&&f(0,e),(e||0!==D)&&ve(0===e?D:e)},Te="function"==typeof v?v(xe):v,Ye=()=>(0,s.Y)("div",{className:"dt-no-results",children:Te});if(!t||0===t.length)return be?be(Ye):Ye();const Ie=t.some((e=>!!e.Footer));let Me=-1;const Pe=e=>{const t=e.target;Me=we.findIndex((e=>e.id===t.dataset.columnName)),e.dataTransfer.setData("text/plain",`${Me}`)},$e=e=>{const t=e.target,r=we.findIndex((e=>e.id===t.dataset.columnName));if(-1!==r){const e=we.map((e=>e.id)),t=e.splice(Me,1);e.splice(r,0,t[0]),Se(e),k()}e.preventDefault()},Fe=()=>(0,s.FD)("table",{...re({className:e}),children:[(0,s.FD)("thead",{children:[C?C():null,de.map((e=>{const{key:t,...r}=e.getHeaderGroupProps();return(0,s.Y)("tr",{...r,children:e.headers.map((e=>e.render("Header",{key:e.id,...e.getSortByToggleProps(),onDragStart:Pe,onDrop:$e})))},t||e.id)}))]}),(0,s.Y)("tbody",{...ie(),children:pe&&pe.length>0?pe.map((e=>{ue(e);const{key:t,...r}=e.getRowProps();return(0,s.Y)("tr",{...r,role:"row",children:e.cells.map((e=>e.render("Cell",{key:e.column.id})))},t||e.id)})):(0,s.Y)("tr",{children:(0,s.Y)("td",{className:"dt-no-results",colSpan:t.length,children:Te})})}),Ie&&(0,s.Y)("tfoot",{children:he.map((e=>{const{key:t,...r}=e.getHeaderGroupProps();return(0,s.Y)("tr",{...r,role:"row",children:e.headers.map((e=>e.render("Footer",{key:e.id})))},t||e.id)}))})]});(U.current[0]!==a||0===a&&U.current[1]!==D)&&(U.current=[a,D],Oe(a));const Le=Ee.height?{}:{visibility:"hidden"};
31let Re=ge,ze=Ce,He=ke,De=fe;if(S){var Be,je;const e=null!=(Be=null==n?void 0:n.pageSize)?Be:a;Re=Math.ceil(m/e),Number.isFinite(Re)||(Re=0),ze=e,-1===d.findIndex((([e])=>e>=ze))&&(ze=0),He=null!=(je=null==n?void 0:n.currentPage)?je:0,De=t=>f(t,e)}return(0,s.FD)("div",{ref:J,style:{width:i,height:l},children:[_?(0,s.Y)("div",{ref:Q,className:"form-inline dt-controls",children:(0,s.Y)(se,{className:"row",children:(0,s.FD)(ce,{size:"middle",children:[G?(0,s.Y)(W,{total:D,current:ze,options:d,selectRenderer:"boolean"==typeof y?void 0:y,onChange:Oe}):null,S&&(0,s.FD)("div",{className:"search-select-container",children:[(0,s.Y)("span",{className:"search-by-label",children:"Search by: "}),(0,s.Y)(le,{searchOptions:M,value:(null==n?void 0:n.searchColumn)||"",onChange:I})]}),g&&(0,s.Y)(j,{searchInput:"boolean"==typeof g?void 0:g,preGlobalFilteredRows:me,setGlobalFilter:N?Ne:ye,filterValue:N?T:xe,id:Y,serverPagination:!!S,rowCount:m}),x?x():null]})})}):null,be?be(Fe):Fe(),G&&Re>1?(0,s.Y)(V,{ref:Z,style:Le,maxPageItemCount:h,pageCount:Re,currentPage:He,onPageChange:De}):null]})})),de=k.I4.div` 32 ${({theme:e})=>S.AH` 33 /* Base table styles */ 34 table { 35 width: 100%; 36 min-width: auto; 37 max-width: none; 38 margin: 0; 39 border-collapse: collapse; 40 } 41 42 /* Cell styling */ 43 th, 44 td { 45 min-width: 4.3em; 46 padding: 0.75rem; 47 vertical-align: top; 48 } 49 50 /* Header styling */ 51 thead > tr > th { 52 padding-right: 0; 53 position: relative; 54 background-color: ${e.colorBgBase}; 55 text-align: left; 56 border-bottom: 2px solid ${e.colorSplit}; 57 color: ${e.colorText}; 58 vertical-align: bottom; 59 } 60 61 /* Icons in header */ 62 th svg { 63 margin: 1px ${e.sizeUnit/2}px; 64 fill-opacity: 0.2; 65 } 66 67 th.is-sorted svg { 68 color: ${e.colorText}; 69 fill-opacity: 1; 70 } 71 72 /* Table body styling */ 73 .table > tbody > tr:first-of-type > td, 74 .table > tbody > tr:first-of-type > th { 75 border-top: 0; 76 } 77 78 .table > tbody tr td { 79 font-feature-settings: 'tnum' 1; 80 border-top: 1px solid ${e.colorSplit}; 81 } 82 83 /* Bootstrap-like condensed table styles */ 84 table.table-condensed, 85 table.table-sm { 86 font-size: ${e.fontSizeSM}px; 87 } 88 89 table.table-condensed th, 90 table.table-condensed td, 91 table.table-sm th, 92 table.table-sm td { 93 padding: 0.3rem; 94 } 95 96 /* Bootstrap-like bordered table styles */ 97 table.table-bordered { 98 border: 1px solid ${e.colorSplit}; 99 } 100 101 table.table-bordered th, 102 table.table-bordered td { 103 border: 1px solid ${e.colorSplit}; 104 } 105 106 /* Bootstrap-like striped table styles */ 107 table.table-striped tbody tr:nth-of-type(odd) { 108 background-color: ${e.colorBgLayout}; 109 } 110 111 /* Controls and metrics */ 112 .dt-controls { 113 padding-bottom: 0.65em; 114 } 115 116 .dt-metric { 117 text-align: right; 118 } 119 120 .dt-totals { 121 font-weight: ${e.fontWeightStrong}; 122 } 123 124 .dt-is-null { 125 color: ${e.colorTextTertiary}; 126 } 127 128 td.dt-is-filter { 129 cursor: pointer; 130 } 131 132 td.dt-is-filter:hover { 133 background-color: ${e.colorPrimaryBgHover}; 134 } 135 136 td.dt-is-active-filter, 137 td.dt-is-active-filter:hover { 138 background-color: ${e.colorPrimaryBgHover}; 139 } 140 141 .dt-global-filter { 142 float: right; 143 } 144 145 /* Cell truncation */ 146 .dt-truncate-cell { 147 overflow: hidden; 148 text-overflow: ellipsis; 149 white-space: nowrap; 150 } 151 152 .dt-truncate-cell:hover { 153 overflow: visible; 154 white-space: normal; 155 height: auto; 156 } 157 158 /* Pagination styling */ 159 .dt-pagination { 160 text-align: right; 161 /* use padding instead of margin so clientHeight can capture it */ 162 padding: ${e.paddingXXS}px 0px; 163 } 164 165 .dt-pagination .pagination > li { 166 display: inline; 167 margin: 0 ${e.marginXXS}px; 168 } 169 170 .dt-pagination .pagination > li > a, 171 .dt-pagination .pagination > li > span { 172 background-color: ${e.colorBgBase}; 173 color: ${e.colorText}; 174 border-color: ${e.colorBorderSecondary}; 175 padding: ${e.paddingXXS}px ${e.paddingXS}px; 176 border-radius: ${e.borderRadius}px; 177 } 178 179 .dt-pagination .pagination > li.active > a, 180 .dt-pagination .pagination > li.active > span, 181 .dt-pagination .pagination > li.active > a:focus, 182 .dt-pagination .pagination > li.active > a:hover, 183 .dt-pagination .pagination > li.active > span:focus, 184 .dt-pagination .pagination > li.active > span:hover { 185 background-color: ${e.colorPrimary};
186 color: ${e.colorBgContainer}; 187 border-color: ${e.colorBorderSecondary}; 188 } 189 190 .pagination > li > span.dt-pagination-ellipsis:focus, 191 .pagination > li > span.dt-pagination-ellipsis:hover { 192 background: ${e.colorBgLayout}; 193 border-color: ${e.colorBorderSecondary}; 194 } 195 196 .dt-no-results { 197 text-align: center; 198 padding: 1em 0.6em; 199 } 200 201 .right-border-only { 202 border-right: 2px solid ${e.colorSplit}; 203 } 204 205 table .right-border-only:last-child { 206 border-right: none; 207 } 208 `} 209`;var he=r(7566),pe=r(40984),ge=r(29898),fe=r(42879);function me(e,t){const{dataType:r,formatter:n,config:o={}}=e,i=r===v.s.Numeric,l=void 0===o.d3SmallNumberFormat?n:o.currencyFormat?new pe.A({d3Format:o.d3SmallNumberFormat,currency:o.currencyFormat}):(0,ge.gV)(o.d3SmallNumberFormat);return function(e,t){return void 0===t?[!1,""]:null===t||t instanceof fe.A&&null===t.input?[!1,"N/A"]:e?[!1,e(t)]:"string"==typeof t?(0,he.fE)(t)?[!0,(0,he.pn)(t)]:[!1,t]:[!1,t.toString()]}(i&&"number"==typeof t&&Math.abs(t)<1?l:n,t)}var ye=r(25766);const ve={enter:"Enter",spacebar:"Spacebar",space:" "};function be(e){return e===v.s.Temporal?"datetime":e===v.s.String?"alphanumeric":"basic"}function Se({column:e}){const{isSorted:t,isSortedDesc:r}=e;let n=(0,s.Y)(p.M,{});return t&&(n=r?(0,s.Y)(g.G,{}):(0,s.Y)(f.X,{})),n}function we({count:e,value:t,onChange:r,onBlur:n,inputRef:o}){return(0,s.FD)(A.Space,{direction:"horizontal",size:4,className:"dt-global-filter",children:[(0,b.t)("Search"),(0,s.Y)(A.Input,{"aria-label":(0,b.t)("Search %s records",e),placeholder:(0,b.tn)("search.num_records",e),value:t,onChange:r,onBlur:n,ref:o})]})}function ke({options:e,current:t,onChange:r}){const{Option:n}=A.Select;return(0,s.FD)(s.FK,{children:[(0,s.Y)("label",{htmlFor:"pageSizeSelect",className:"sr-only",children:(0,b.t)("Select page size")}),(0,b.t)("Show")," ",(0,s.Y)(A.Select,{id:"pageSizeSelect",value:t,onChange:e=>r(e),size:"small",css:e=>S.AH` 210 width: ${18*e.sizeUnit}px; 211 `,"aria-label":(0,b.t)("Show entries per page"),children:e.map((e=>{const[t,r]=Array.isArray(e)?e:[e,e];return(0,s.Y)(n,{value:Number(t),children:r},t)}))})," ",(0,b.t)("entries per page")]})}const Ce=e=>e?(0,b.t)("No matching records found"):(0,b.t)("No records found");function xe(e){const{timeGrain:t,height:r,width:n,data:i,totals:a,isRawRecords:p,rowCount:g=0,columns:f,alignPositiveNegative:m=!1,colorPositiveNegative:v=!1,includeSearch:A=!1,pageSize:L=0,serverPagination:R=!1,serverPaginationData:z,setDataMask:H,showCellBars:D=!0,sortDesc:B=!1,filters:j,sticky:U=!0,columnColorFormatters:G,allowRearrangeColumns:_=!1,allowRenderHtml:W=!0,onContextMenu:V,emitCrossFilters:X,isUsingTimeComparison:K,basicColorFormatters:Z,basicColorColumnFormatters:J,hasServerPageLengthChanged:q,serverPageLength:ee,slice_id:te}=e,re=[{key:"all",label:(0,b.t)("Display all")},{key:"#",label:"#"},{key:"â³",label:"â³"},{key:"%",label:"%"}],ne=(0,u.useCallback)((e=>(0,w.PT)(t)(e)),[t]),[ie,le]=(0,u.useState)({width:0,height:0}),[ae,ce]=(0,u.useState)(!1),[se,he]=(0,u.useState)(!1),[pe,ge]=(0,u.useState)([re[0].key]),[fe,xe]=(0,u.useState)([]),Ee=(0,k.DP)(),Ae=(0,u.useMemo)((()=>(R?oe.D:oe.x).filter((([e])=>R?(e=>e<=g)(e):e<=2*i.length))),[i.length,g,R]),Ne=(0,u.useCallback)((function(e,t){const r=null==i?void 0:i.map((t=>null==t?void 0:t[e])).filter((e=>"number"==typeof e));return i&&r.length===i.length?t?[0,(0,d.A)(r.map(Math.abs))]:(0,h.A)(r):null}),[i]),Oe=(0,u.useCallback)((function(e,t){var r;return!!j&&(null==(r=j[e])?void 0:r.includes(t))}),[j]),Te=(e,r)=>{let n={...j||{}};n=j&&Oe(e,r)?{}:{[e]:[r]},Array.isArray(n[e])&&0===n[e].length&&delete n[e];const o=Object.keys(n),i=Object.values(n),l=[];return o.forEach((e=>{var t;const r=e===C.Tf,o=(0,x.A)(null==(t=n)?void 0:t[e]);if(o.length){const e=o.map((e=>r?ne(e):e));l.push(`${e.join(", ")}`)}})),{dataMask:{extraFormData:{filters:0===o.length?[]:o.map((e=>{var r;const o=(0,x.A)(null==(r=n)?void 0:r[e]);return o.length?{col:e,op:"IN",val:o.map((e=>e instanceof Date?e.getTime():e)),grain:e===C.Tf?t:void 0}:{col:e,op:"IS NULL"}}))},filterState:{label:l.join(", "),value:i.length?i:null,filters:n&&Object.keys(n).length?n:null}},isCurrentValueSelected:Oe(e,r)}},Ye=(0,u.useCallback)((function(e,t){X&&H(Te(e,t).dataMask)}),[X,Te,H]),Ie=[(0,b.t)("Main"),"#","â³","%"],Me=(0,u.useMemo)((()=>
211{if(!K)return f;const e=re[0].key,t=Ie[0],r=pe.includes(e);return f.filter((({label:e,key:n})=>{const o=n.substring(e.length),i=fe.includes(o);return e===t||!i&&(!Ie.includes(e)||r||pe.includes(e))}))}),[f,re,Ie,K,fe,pe]),Pe=V&&!p?(e,t,r,n)=>{const o=[];Me.forEach((t=>{if(!t.isMetric){const r=e[t.key];o.push({col:t.key,op:"==",val:r,formattedVal:me(t,r)[1]})}})),V(r,n,{drillToDetail:o,crossFilter:t.isMetric?void 0:Te(t.key,t.value),drillBy:t.isMetric?void 0:{filters:[{col:t.key,op:"==",val:t.value}],groupbyFieldName:"groupby"}})}:void 0,$e=(0,u.useMemo)((()=>((e,t)=>{const r={};return t?(e.forEach(((e,t)=>{if(Ie.includes(e.label)){const n=e.key.substring(e.label.length);r[n]?r[n].push(t):r[n]=[t]}})),r):r})(Me,K)),[Me,K]),Fe=(0,u.useCallback)(((e,t)=>{const{key:r,label:n,dataType:o,isMetric:i,isPercentMetric:l,config:c={}}=e,u=c.customColumnName||n;let d=u;["#","â³","%",(0,b.t)("Main")].includes(e.label)&&(e.label===(0,b.t)("Main")?d=c.customColumnName||e.originalLabel||"":c.customColumnName?d=!1!==c.displayTypeIcon?`${e.label} ${c.customColumnName}`:c.customColumnName:!1===c.displayTypeIcon&&(d=""));const h=Number.isNaN(Number(c.columnWidth))?c.columnWidth:Number(c.columnWidth),g=(e=>{const{isNumeric:t,config:r={}}=e;return{textAlign:r.horizontalAlign||(t&&!K?"right":"left")}})(e),f=void 0===c.alignPositiveNegative?m:c.alignPositiveNegative,w=void 0===c.colorPositiveNegative?v:c.colorPositiveNegative,{truncateLongCells:C}=c,x=Array.isArray(G)&&G.length>0,A=K&&Array.isArray(Z)&&Z.length>0,N=!A&&!x&&(void 0===c.showCellBars?D:c.showCellBars)&&(i||p||l)&&Ne(r,f);let T="";if(X&&!i&&(T+=" dt-is-filter"),i||l){if(Ie.includes(u)){const e=r.substring(u.length),n=$e[e]||[];t===n[n.length-1]&&(T+=" right-border-only")}}else T+=" right-border-only";return{id:String(t),columnKey:r,accessor:e=>e[r],Cell:({value:t,row:n})=>{var o;const[l,a]=me(e,t),c=l&&W?{__html:a}:void 0;let u,d="";const p=e.key.substring(e.label.length).trim();var m,v,b,O;!x&&A&&(u=null==(m=Z[n.index][p])?void 0:m.backgroundColor,d=e.label===Ie[0]?null==(v=Z[n.index][p])?void 0:v.mainArrow:""),x&&G.filter((t=>t.column===e.key)).forEach((e=>{const r=!(!t&&0!==t)&&e.getColorFromValue(t);r&&(u=r)})),J&&(null==J?void 0:J.length)>0&&(u=(null==(b=J[n.index][e.key])?void 0:b.backgroundColor)||u,d=e.label===Ie[0]?null==(O=J[n.index][e.key])?void 0:O.mainArrow:"");const Y=k.I4.td` 212 color: ${Ee.colorText}; 213 text-align: ${g.textAlign}; 214 white-space: ${t instanceof Date?"nowrap":void 0}; 215 position: relative; 216 background: ${u||void 0}; 217 padding-left: ${e.isChildColumn?5*Ee.sizeUnit+"px":`${Ee.sizeUnit}px`}; 218 `,I=S.AH` 219 position: absolute; 220 height: 100%; 221 display: block; 222 top: 0; 223 ${N&&`\n width: ${function({value:e,valueRange:t,alignPositiveNegative:r}){const[n,o]=t;if(r)return Math.abs(Math.round(e/o*100));const i=Math.abs(Math.max(o,0))+Math.abs(Math.min(n,0));return Math.round(Math.abs(e)/i*100)}({value:t,valueRange:N,alignPositiveNegative:f})}%;\n left: ${function({value:e,valueRange:t,alignPositiveNegative:r}){if(r)return 0;const[n,o]=t,i=Math.abs(Math.max(o,0)),l=Math.abs(Math.min(n,0)),a=i+l;return Math.round(Math.min(l+e,l)/a*100)}({value:t,valueRange:N,alignPositiveNegative:f})}%;\n background-color: ${function({value:e,colorPositiveNegative:t=!1}){return`rgba(${t&&e<0?150:0},0,0,0.2)`}({value:t,colorPositiveNegative:w})};\n `} 224 `;let M=S.AH` 225 color: ${Z&&(null==(o=Z[n.index][p])?void 0:o.arrowColor)===F.m.Green?Ee.colorSuccess:Ee.colorError}; 226 margin-right: ${Ee.sizeUnit}px; 227 `;var P;J&&(null==J?void 0:J.length)>0&&(M=S.AH` 228 color: ${(null==(P=J[n.index][e.key])?void 0:P.arrowColor)===F.m.Green?Ee.colorSuccess:Ee.colorError}; 229 margin-right: ${Ee.sizeUnit}px; 230 `);const $={"aria-labelledby":`header-${e.key}`,role:"cell",title:"number"==typeof t?String(t):void 0,onClick:!X||N||i?void 0:()=>{(0,E.j)()||Ye(r,t)},onContextMenu:e=>{Pe&&(e.preventDefault(),e.stopPropagation(),Pe(n.original,{key:r,value:t,isMetric:i},e.nativeEvent.clientX,e.nativeEvent.clientY))},className:[T,null==t?"dt-is-null":"",Oe(r,t)?" dt-is-active-filter":""].join(" "),tabIndex:0};return c?C?(0,s.Y)(Y,{...$,children:(0,s.Y)("div",{className:"dt-truncate-cell",style:h?{width:h}:void 0,dangerouslySetInnerHTML:c})}):(0,s.Y)(Y,{...$,dangerouslySetInnerHTML:c}):(0,s.FD)(Y,{...$,children:[N&&(0,s.Y)("div",{className:y()("cell-bar","number"==typeof t&&t<0?"negative":"positive"),css:I,role:"presentation"}),C?(0,s.FD)("div",{className:"dt-truncate-cell",style:h?{width:h}:void 0,children:[d&&(0,s.Y)("span",{css:M,children:d}),a]}):(0,s.FD)(s.FK,{children:[d&&(0,s.Y)("span",{css:M,children:d}),a]})]})},Header:({column:t,onClick:r,style:n,onDragStart:o,onDrop:i})=>(0,s.FD)("th",{id:`header-${e.originalLabel}`,title:(0,b.t)("Shift + Click to sort by multiple columns"),className:[T,t.isSorted?"is-sorted":""].join(" "),style:{...g,...n},onKeyDown:e=>
230{Object.values(ve).includes(e.key)&&t.toggleSortBy()},role:"columnheader button",onClick:r,"data-column-name":t.id,..._&&{draggable:"true",onDragStart:o,onDragOver:e=>e.preventDefault(),onDragEnter:e=>e.preventDefault(),onDrop:i},tabIndex:0,children:[c.columnWidth?(0,s.Y)("div",{style:{width:h,height:.01}}):null,(0,s.FD)("div",{"data-column-name":t.id,css:{display:"inline-flex",alignItems:"flex-end"},children:[(0,s.Y)("span",{"data-column-name":t.id,children:d}),(0,s.Y)(Se,{column:t})]})]}),Footer:a?0===t?(0,s.Y)("th",{children:(0,s.FD)("div",{css:S.AH` 231 display: flex; 232 align-items: center; 233 & svg { 234 margin-left: ${Ee.sizeUnit}px; 235 color: ${Ee.colorBorder} !important; 236 } 237 `,children:[(0,b.t)("Summary"),(0,s.Y)(O.m,{overlay:(0,b.t)("Show total aggregations of selected metrics. Note that row limit does not apply to the result."),children:(0,s.Y)($.A,{})})]})},`footer-summary-${t}`):(0,s.Y)("td",{style:g,children:(0,s.Y)("strong",{children:me(e,a[r])[1]})},`footer-total-${t}`):void 0,sortDescFirst:B,sortType:be(o)}}),[m,v,X,Ne,Oe,p,D,B,Ye,a,G,ae]),Le=(0,u.useMemo)((()=>Me.filter((e=>{var t;return!1!==(null==(t=e.config)?void 0:t.visible)}))),[Me]),Re=(0,u.useMemo)((()=>Le.map(Fe)),[Le,Fe]),[ze,He]=(0,u.useState)([]);(0,u.useEffect)((()=>{const e=Re.filter((e=>"alphanumeric"===(null==e?void 0:e.sortType))).map((e=>({value:e.columnKey,label:e.columnKey})));o()(e,ze)||He(e||[])}),[Re]);const De=(0,u.useCallback)(((e,t)=>{const r={...z,currentPage:e,pageSize:t};(0,ye.F)(H,r)}),[H]);(0,u.useEffect)((()=>{if(q){const e={...z,currentPage:0,pageSize:ee};(0,ye.F)(H,e)}}),[]);const Be=(0,u.useCallback)((({width:e,height:t})=>{le({width:e,height:t})}),[]);(0,u.useLayoutEffect)((()=>{const e=Q(),{width:t,height:o}=ie;n-t>e||r-o>e?Be({width:n-e,height:r-e}):(t-n>e||o-r>e)&&Be({width:n,height:r})}),[n,r,Be,ie]);const{width:je,height:Ue}=ie,Ge=(0,u.useCallback)((e=>{if(!R)return;const t={...z,sortBy:e};(0,ye.F)(H,t)}),[H,R]),_e=l()((e=>{var t;const r={...z||{},searchColumn:(null==z?void 0:z.searchColumn)||(null==(t=ze[0])?void 0:t.value),searchText:e,currentPage:0};(0,ye.F)(H,r)}),800);return(0,s.Y)(de,{children:(0,s.Y)(ue,{columns:Re,data:i,rowCount:g,tableClassName:"table table-striped table-condensed",pageSize:L,serverPaginationData:z,pageSizeOptions:Ae,width:je,height:Ue,serverPagination:R,onServerPaginationChange:De,onColumnOrderChange:()=>ce(!ae),initialSearchText:(null==z?void 0:z.searchText)||"",sortByFromParent:(null==z?void 0:z.sortBy)||[],searchInputId:`${te}-search`,maxPageItemCount:n>340?9:7,noResults:Ce,searchInput:A&&we,selectPageSize:null!==L&&ke,sticky:U,renderGroupingHeaders:c()($e)?void 0:()=>{const e=[];let t=0;return Object.entries($e||{}).forEach((([r,n])=>{var o;const i=n[0],l=n.length,a=Me[i],c=a&&(null==(o=f.find((e=>e.key===a.key)))?void 0:o.originalLabel)||r;for(let r=t;r<i;r+=1)e.push((0,s.Y)("th",{style:{borderBottom:0},"aria-label":`Header-${r}`},`placeholder-${r}`));e.push((0,s.FD)("th",{colSpan:l,style:{borderBottom:0},children:[c,(0,s.Y)("span",{css:S.AH` 238 float: right; 239 & svg { 240 color: ${Ee.colorIcon} !important; 241 } 242 `,children:fe.includes(r)?(0,s.Y)(M.A,{onClick:()=>xe(fe.filter((e=>e!==r)))}):(0,s.Y)(P.A,{onClick:()=>xe([...fe,r])})})]},`header-${r}`)),t=i+l})),(0,s.Y)("tr",{css:S.AH` 243 th { 244 border-right: 1px solid ${Ee.colorSplit}; 245 } 246 th:first-child { 247 border-left: none; 248 } 249 th:last-child { 250 border-right: none; 251 } 252 `,children:e})},renderTimeComparisonDropdown:K?()=>{const e=re[0].key;return(0,s.Y)(N.ms,{placement:"bottomRight",open:se,onOpenChange:e=>{he(e)},menu:{multiple:!0,onClick:t=>{const{key:r}=t;
252r===e?ge([e]):pe.includes(e)?ge([r]):ge(pe.includes(r)?pe.filter((e=>e!==r)):[...pe,r])},onBlur:()=>{3===pe.length&&ge([re[0].key])},selectedKeys:pe,items:[{key:"all",label:(0,s.Y)("div",{css:S.AH` 253 max-width: 242px; 254 padding: 0 ${2*Ee.sizeUnit}px; 255 color: ${Ee.colorText}; 256 font-size: ${Ee.fontSizeSM}px; 257 `,children:(0,b.t)("Select columns that will be displayed in the table. You can multiselect columns.")}),type:"group",children:re.map((e=>({key:e.key,label:(0,s.FD)(s.FK,{children:[(0,s.Y)("span",{css:S.AH` 258 color: ${Ee.colorText}; 259 `,children:e.label}),(0,s.Y)("span",{css:S.AH` 260 float: right; 261 font-size: ${Ee.fontSizeSM}px; 262 `,children:pe.includes(e.key)&&(0,s.Y)(T.A,{})})]})})))}]},trigger:["click"],children:(0,s.FD)("span",{children:[(0,s.Y)(Y.A,{})," ",(0,s.Y)(I.A,{})]})})}:void 0,handleSortByChange:Ge,onSearchColChange:e=>{if(!o()(e,null==z?void 0:z.searchColumn)){const t={...z||{},searchColumn:e,searchText:""};(0,ye.F)(H,t)}},manualSearch:R,onSearchChange:_e,searchOptions:ze})})}},69856:(e,t,r)=>{var n=r(75972).k5;e.exports.M=function(e){return n({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"}}]})(e)}},70731:e=>{var t={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",à :"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Ã:"AE",Ầ:"A",Ằ:"A",È:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ã:"C",á¸:"C",Ã:"E",Ã:"E",Ã:"E",Ã:"E",Ế:"E",á¸:"E",á»:"E",á¸:"E",á¸:"E",È:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",á»:"E",á»:"E",á»:"E",Ã:"I",Ã:"I",Ã:"I",Ã:"I",Ḯ:"I",È:"I",á»:"I",á»:"I",Ã:"D",Ã:"N",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",á»:"O",á¹:"O",á¹:"O",È:"O",á»:"O",á»:"O",á»:"O",á»:"O",á»:"O",á»:"O",á»:"O",á» :"O",á»:"O",Ợ:"O",Ã:"U",Ã:"U",Ã:"U",Ã:"U",Ủ:"U",Ụ:"U",Ử:"U",á»®:"U",á»°:"U",Ã:"Y",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",È:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",áº:"a",ç:"c",á¸:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",á¸:"e",á»:"e",á¸:"e",á¸:"e",È:"e",ẻ:"e",ẽ:"e",ẹ:"e",á»:"e",á» :"e",á»:"e",ì:"i",Ã:"i",î:"i",ï:"i",ḯ:"i",È:"i",á»:"i",á»:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",á»:"o",á¹:"o",á¹:"o",È:"o",á»:"o",á»:"o",á»:"o",á»:"o",á»:"o",á»:"o",á»:"o",ỡ:"o",á»:"o",ợ:"o",ù:"u",ú:"u",û:"u",ü:"u",á»§:"u",ụ:"u",á»:"u",ữ:"u",á»±:"u",ý:"y",ÿ:"y",Ä:"A",Ä:"a",Ä:"A",Ä:"a",Ä:"A",Ä :"a",Ä:"C",Ä:"c",Ä:"C",Ä:"c",Ä:"C",Ä:"c",Ä:"C",Ä:"c",CÌ:"C",cÌ:"c",Ä:"D",Ä:"d",Ä:"D",Ä:"d",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"G",Ç´:"G",Ä:"g",ǵ:"g",Ä:"G",Ä:"g",Ä :"G",Ä¡:"g",Ä¢:"G",Ä£:"g",Ĥ:"H",Ä¥:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",Ä©:"i",Ī:"I",Ä«:"i",Ĭ:"I",Ä:"i",Ä®:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",Ḱ:"K",ḱ:"k",KÌ:"K",kÌ:"k",Ĺ:"L",ĺ:"l",Ä»:"L",ļ:"l",Ľ:"L",ľ:"l",Ä¿:"L",Å:"l",Å:"l",Å:"l",Ḿ:"M",ḿ:"m",MÌ:"M",mÌ:"m",Å:"N",Å:"n",Å :"N",Å:"n",Å:"N",Å:"n",Å:"n",NÌ:"N",nÌ:"n",Å:"O",Å:"o",Å:"O",Å:"o",Å:"O",Å:"o",Å:"OE",Å:"oe",PÌ:"P",pÌ:"p",Å:"R",Å:"r",Å:"R",Å:"r",Å:"R",Å:"r",RÌ:"R",rÌ:"r",È:"R",È:"r",Å:"S",Å:"s",Å:"S",Å:"s",Å:"S",È:"S",È:"s",Å:"s",Å :"S",Å¡:"s",Å¢:"T",Å£:"t",È:"t",È:"T",Ť:"T",Å¥:"t",Ŧ:"T",ŧ:"t",TÌ:"T",tÌ:"t",Ũ:"U",Å©:"u",Ū:"U",Å«:"u",Ŭ:"U",Å:"u",Å®:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",È:"U",È:"u",VÌ:"V",vÌ:"v",Å´:"W",ŵ:"w",áº:"W",áº:"w",XÌ:"X",xÌ:"x",Ŷ:"Y",Å·:"y",Ÿ:"Y",YÌ:"Y",yÌ:"y",Ź:"Z",ź:"z",Å»:"Z",ż:"z",Ž:"Z",ž:"z",Å¿:"s",Æ:"f",Æ :"O",Æ¡:"o",Ư:"U",ư:"u",Ç:"A",Ç:"a",Ç:"I",Ç:"i",Ç:"O",Ç:"o",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ứ:"U",ứ:"u",Ṹ:"U",á¹¹:"u",Ǻ:"A",Ç»:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",Ç¿:"o",Ã:"TH",þ:"th",á¹:"P",á¹:"p",Ṥ:"S",á¹¥:"s",XÌ:"X",xÌ:"x",Ð:"Ð",Ñ:"г",Ð:"Ð",Ñ:"к",AÌ:"A",aÌ:"a",EÌ:"E",eÌ:"e",IÌ:"I",iÌ:"i",Ǹ:"N",ǹ:"n",á»:"O",á»:"o",á¹:"O",á¹:"o",Ừ:"U",ừ:"u",áº:"W",áº:"w",Ỳ:"Y",ỳ:"y",È:"A",È:"a",È:"E",È :"e",È:"I",È:"i",È:"O",È:"o",È:"R",È:"r",È:"U",È:"u",BÌ:"B",bÌ:"b",ÄÌ£:"C",ÄÌ£:"c",ÃÌ:"E",êÌ:"e",FÌ:"F",fÌ:"f",Ǧ:"G",ǧ:"g",È:"H",È:"h",JÌ:"J",ǰ:"j",Ǩ:"K",Ç©:"k",MÌ:"M",mÌ:"m",PÌ:"P",pÌ:"p",QÌ:"Q",qÌ:"q",ÅÌ©:"R",ÅÌ©:"r",Ṧ:"S",á¹§:"s",VÌ:"V",vÌ:"v",WÌ:"W",wÌ:"w",XÌ:"X",xÌ:"x",YÌ:"Y",yÌ:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",á¸:"D",á¸:"d",Ȩ:"E",È©:"e",ÆÌ§:"E",Ȩ́:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",ÆÌ§:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Ð:"Ð",Ñ:"е",Ð:"Ð"},r=Object.keys(t).join("|"),n=new RegExp(r,"g"),o=new RegExp(r,"");function i(e){return t[e]}var l=function(e){return e.replace(n,i)};e.exports=l,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=l},75972:(e,t,r)=>{"use strict";r.d(t,{k5:()=>u});var n=r(24002),o=r.n(n),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=o().createContext&&o().createContext(i),a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function s(e){return e&&e.map((function(e,t){return o().createElement(e.tag,a({key:t},e.attr),s(e.child))}))}function u(e){return function(t){return o().createElement(d,a({attr:a({},e.attr)},t),s(e.child))}}function d(e){var t=function(t){var r,n=e.attr,i=e.size,l=e.title,s=c(e,["attr","size","title"]),u=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),o().createElement("svg",a({stroke:"currentColor",fill:"
262currentColor",strokeWidth:"0"},t.attr,n,s,{className:r,style:a(a({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),l&&o().createElement("title",null,l),e.children)};return void 0!==l?o().createElement(l.Consumer,null,(function(e){return t(e)})):t(i)}},77796:(e,t,r)=>{var n=r(75972).k5;e.exports.G=function(e){return n({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"}}]})(e)}},85173:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});const n=r(24002).memo},95021:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});const n=()=>{var e;return null==(e=window.getSelection())?void 0:e.toString()}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.