@nebula.js/cli-serve 6.0.0-alpha.4 → 6.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/eRender.js CHANGED
@@ -99,5 +99,5 @@
99
99
  animation: ${is} 1.4s linear infinite;
100
100
  `:null,cs="string"!=typeof ls?Ea`
101
101
  animation: ${ls} 1.4s ease-in-out infinite;
102
- `:null,us=Bi("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${fl(n.color)}`]]}})(pl((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ss||{animation:`${is} 1.4s linear infinite`}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),ds=Bi("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),ps=Bi("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${fl(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(pl((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:cs||{animation:`${ls} 1.4s ease-in-out infinite`}}]})))),fs=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate",...d}=n,p={...n,color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u},f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return wi({root:["root",n,`color${fl(r)}`],svg:["svg"],circle:["circle",`circle${fl(n)}`,o&&"circleDisableShrink"]},as,t)})(p),h={},m={},q={};if("determinate"===u){const e=2*Math.PI*((44-s)/2);h.strokeDasharray=e.toFixed(3),q["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,Yo.jsx)(us,{className:xi(f.root,r),style:{width:i,height:i,...m,...l},ownerState:p,ref:t,role:"progressbar",...q,...d,children:(0,Yo.jsx)(ds,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:(0,Yo.jsx)(ps,{className:f.circle,style:h,ownerState:p,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})})})),hs=fs;function ms(e){return ci("MuiIconButton",e)}const qs=ui("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),gs=Bi(os,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${fl(n.color)}`],n.edge&&t[`edge${fl(n.edge)}`],t[`size${fl(n.size)}`]]}})(pl((({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}))),pl((({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}}))),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${qs.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${qs.loading}`]:{color:"transparent"}})))),ys=Bi("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]}))),bs=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium",id:u,loading:d=null,loadingIndicator:p,...f}=n,h=Sl(u),m=p??(0,Yo.jsx)(hs,{"aria-labelledby":h,color:"inherit",size:16}),q={...n,edge:r,color:i,disabled:l,disableFocusRipple:s,loading:d,loadingIndicator:m,size:c},g=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a,loading:i}=e;return wi({root:["root",i&&"loading",n&&"disabled","default"!==r&&`color${fl(r)}`,o&&`edge${fl(o)}`,`size${fl(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},ms,t)})(q);return(0,Yo.jsxs)(gs,{id:d?h:u,className:xi(g.root,a),centerRipple:!0,focusRipple:!s,disabled:l||d,ref:t,...f,ownerState:q,children:["boolean"==typeof d&&(0,Yo.jsx)("span",{className:g.loadingWrapper,style:{display:"contents"},children:(0,Yo.jsx)(ys,{className:g.loadingIndicator,ownerState:q,children:d&&m})}),o]})})),vs=bs,Cs=e=>({...e,viewBox:"0 0 12 16",shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}),Ss=e=>ll(Cs(e)),Es=function(e){return"string"==typeof e};function Os(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}const Is=Os;function xs(e){return e&&e.ownerDocument||document}const Rs=xs;function ws(e){return xs(e).defaultView||window}const Ls=ws;function Ns(e){return parseInt(r.version,10)>=19?e?.props?.ref||null:e?.ref||null}var _s="unmounted",Ts="exited",Ds="entering",As="entered",Ps="exiting",ks=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=Ts,r.appearStatus=Ds):o=As:o=t.unmountOnExit||t.mountOnEnter?_s:Ts,r.state={status:o},r.nextCallback=null,r}Al(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===_s?{status:Ts}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ds&&n!==As&&(t=Ds):n!==Ds&&n!==As||(t=Ps)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ds){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Oi.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ts&&this.setState({status:_s})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Oi.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:Ds},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:As},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:As},(function(){t.props.onEntered(a)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Oi.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Ps},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Ts},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Ts},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Oi.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===_s)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,_l(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(Pl.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function Ms(){}ks.contextType=Pl,ks.propTypes={},ks.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ms,onEntering:Ms,onEntered:Ms,onExit:Ms,onExiting:Ms,onExited:Ms},ks.UNMOUNTED=_s,ks.EXITED=Ts,ks.ENTERING=Ds,ks.ENTERED=As,ks.EXITING=Ps;const Fs=ks,Bs=e=>e.scrollTop;function js(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:o.transitionDelay}}function zs(e){return`scale(${e}, ${e**2})`}const $s={entering:{opacity:1,transform:zs(1)},entered:{opacity:1,transform:"none"}},Gs="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Vs=r.forwardRef((function(e,t){const{addEndListener:n,appear:o=!0,children:a,easing:i,in:l,onEnter:s,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:f,style:h,timeout:m="auto",TransitionComponent:q=Fs,...g}=e,y=Vl(),b=r.useRef(),v=Wo(),C=r.useRef(null),S=Il(C,Ns(a),t),E=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},O=E(u),I=E(((e,t)=>{Bs(e);const{duration:n,delay:r,easing:o}=js({style:h,timeout:m,easing:i},{mode:"enter"});let a;"auto"===m?(a=v.transitions.getAutoHeightDuration(e.clientHeight),b.current=a):a=n,e.style.transition=[v.transitions.create("opacity",{duration:a,delay:r}),v.transitions.create("transform",{duration:Gs?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),x=E(c),R=E(f),w=E((e=>{const{duration:t,delay:n,easing:r}=js({style:h,timeout:m,easing:i},{mode:"exit"});let o;"auto"===m?(o=v.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[v.transitions.create("opacity",{duration:o,delay:n}),v.transitions.create("transform",{duration:Gs?o:.666*o,delay:Gs?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=zs(.75),d&&d(e)})),L=E(p);return(0,Yo.jsx)(q,{appear:o,in:l,nodeRef:C,onEnter:I,onEntered:x,onEntering:O,onExit:w,onExited:L,onExiting:R,addEndListener:e=>{"auto"===m&&y.start(b.current||0,e),n&&n(C.current,e)},timeout:"auto"===m?null:m,...g,children:(e,{ownerState:t,...n})=>r.cloneElement(a,{style:{opacity:0,transform:zs(.75),visibility:"exited"!==e||l?void 0:"hidden",...$s[e],...h,...a.props.style},ref:S,...n})})}));Vs&&(Vs.muiSupportAuto=!0);const Us=Vs,Ws=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Hs(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ws)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Ks(){return!0}const Xs=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=Hs,isEnabled:l=Ks,open:s}=e,c=r.useRef(!1),u=r.useRef(null),d=r.useRef(null),p=r.useRef(null),f=r.useRef(null),h=r.useRef(!1),m=r.useRef(null),q=Ol(Ns(t),m),g=r.useRef(null);r.useEffect((()=>{s&&m.current&&(h.current=!n)}),[n,s]),r.useEffect((()=>{if(!s||!m.current)return;const e=xs(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{a||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[s]),r.useEffect((()=>{if(!s||!m.current)return;const e=xs(m.current),t=t=>{g.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!l()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=i(m.current)),n.length>0){const e=Boolean(g.current?.shiftKey&&"Tab"===g.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,o,a,l,s,i]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return(0,Yo.jsxs)(r.Fragment,{children:[(0,Yo.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:q,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,Yo.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})};function Ys(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const Js=r.forwardRef((function(e,t){const{children:n,container:o,disablePortal:a=!1}=e,[i,l]=r.useState(null),s=Ol(r.isValidElement(n)?Ns(n):null,t);if(oa((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),oa((()=>{if(i&&!a)return Ys(t,i),()=>{Ys(t,null)}}),[t,i,a]),a){if(r.isValidElement(n)){const e={ref:s};return r.cloneElement(n,e)}return n}return i?Oi.createPortal(n,i):i})),Zs=function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}},Qs=function(e,t,n){return"function"==typeof e?e(t,n):e},ec=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n},tc=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t},nc=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=xi(n?.className,a,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},i={...n,...o,...r};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=ec({...o,...r}),l=tc(r),s=tc(o),c=t(i),u=xi(c?.className,n?.className,a,o?.className,r?.className),d={...c?.style,...n?.style,...o?.style,...r?.style},p={...c,...n,...s,...l};return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}};function rc(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...s}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...p}=a,f=u[e]||r,h=Qs(d[e],o),{props:{component:m,...q},internalRef:g}=nc({className:n,...s,externalForwardedProps:"root"===e?p:void 0,externalSlotProps:h}),y=Ol(g,h?.ref,t.ref),b="root"===e?m||c:m;return[f,Zs(f,{..."root"===e&&!c&&!u[e]&&i,..."root"!==e&&!u[e]&&i,...q,...b&&!l&&{as:b},...b&&l&&{component:b},ref:y},o)]}const oc={entering:{opacity:1},entered:{opacity:1}},ac=r.forwardRef((function(e,t){const n=Wo(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,style:q,timeout:g=o,TransitionComponent:y=Fs,...b}=e,v=r.useRef(null),C=Il(v,Ns(l),t),S=e=>t=>{if(e){const n=v.current;void 0===t?e(n):e(n,t)}},E=S(p),O=S(((e,t)=>{Bs(e);const r=js({style:q,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),I=S(d),x=S(m),R=S((e=>{const t=js({style:q,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)})),w=S(h);return(0,Yo.jsx)(y,{appear:i,in:c,nodeRef:v,onEnter:O,onEntered:I,onEntering:E,onExit:R,onExited:w,onExiting:x,addEndListener:e=>{a&&a(v.current,e)},timeout:g,...b,children:(e,{ownerState:t,...n})=>r.cloneElement(l,{style:{opacity:0,visibility:"exited"!==e||c?void 0:"hidden",...oc[e],...q,...l.props.style},ref:C,...n})})})),ic=ac;function lc(e){return ci("MuiBackdrop",e)}ui("MuiBackdrop",["root","invisible"]);const sc=Bi("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),cc=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiBackdrop"}),{children:r,className:o,component:a="div",invisible:i=!1,open:l,components:s={},componentsProps:c={},slotProps:u={},slots:d={},TransitionComponent:p,transitionDuration:f,...h}=n,m={...n,component:a,invisible:i},q=(e=>{const{classes:t,invisible:n}=e;return wi({root:["root",n&&"invisible"]},lc,t)})(m),g={slots:{transition:p,root:s.Root,...d},slotProps:{...c,...u}},[y,b]=rc("root",{elementType:sc,externalForwardedProps:g,className:xi(q.root,o),ownerState:m}),[v,C]=rc("transition",{elementType:ic,externalForwardedProps:g,ownerState:m});return(0,Yo.jsx)(v,{in:l,timeout:f,...h,...C,children:(0,Yo.jsx)(y,{"aria-hidden":!0,...b,classes:q,ref:t,children:r})})})),uc=cc;function dc(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function pc(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function fc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function hc(e){return parseInt(ws(e).getComputedStyle(e).paddingRight,10)||0}function mc(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=!a.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&fc(e,o)}))}function qc(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const gc=()=>{},yc=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&fc(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);mc(t,e.mount,e.modalRef,r,!0);const o=qc(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=qc(this.containers,(t=>t.modals.includes(e))),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=xs(e);return t.body===e?ws(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=pc(ws(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${hc(r)+e}px`;const t=xs(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${hc(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=xs(r).body;else{const t=r.parentElement,n=ws(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=qc(this.containers,(t=>t.modals.includes(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&fc(e.modalRef,t),mc(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&fc(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function bc(e){return ci("MuiModal",e)}ui("MuiModal",["root","hidden","backdrop"]);const vc=Bi("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(pl((({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]})))),Cc=Bi(uc,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Sc=r.forwardRef((function(e,t){const n=ji({name:"MuiModal",props:e}),{BackdropComponent:o=Cc,BackdropProps:a,classes:i,className:l,closeAfterTransition:s=!1,children:c,container:u,component:d,components:p={},componentsProps:f={},disableAutoFocus:h=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:q=!1,disablePortal:g=!1,disableRestoreFocus:y=!1,disableScrollLock:b=!1,hideBackdrop:v=!1,keepMounted:C=!1,onBackdropClick:S,onClose:E,onTransitionEnter:O,onTransitionExited:I,open:x,slotProps:R={},slots:w={},theme:L,...N}=n,_={...n,closeAfterTransition:s,disableAutoFocus:h,disableEnforceFocus:m,disableEscapeKeyDown:q,disablePortal:g,disableRestoreFocus:y,disableScrollLock:b,hideBackdrop:v,keepMounted:C},{getRootProps:T,getBackdropProps:D,getTransitionProps:A,portalRef:P,isTopModal:k,exited:M,hasTransition:F}=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:l,children:s,onClose:c,open:u,rootRef:d}=e,p=r.useRef({}),f=r.useRef(null),h=r.useRef(null),m=Ol(h,d),[q,g]=r.useState(!u),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const v=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),C=()=>{yc.mount(v(),{disableScrollLock:o}),h.current&&(h.current.scrollTop=0)},S=xl((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||xs(f.current).body;yc.add(v(),e),h.current&&C()})),E=()=>yc.isTopModal(v()),O=xl((e=>{f.current=e,e&&(u&&E()?C():h.current&&fc(h.current,b))})),I=r.useCallback((()=>{yc.remove(v(),b)}),[b]);r.useEffect((()=>()=>{I()}),[I]),r.useEffect((()=>{u?S():y&&a||I()}),[u,I,y,a,S]);const x=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},R=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=ec(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:x(r),ref:m}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:R(t),open:u}},getTransitionProps:()=>({onEnter:dc((()=>{g(!1),i&&i()}),s?.props.onEnter??gc),onExited:dc((()=>{g(!0),l&&l(),a&&I()}),s?.props.onExited??gc)}),rootRef:m,portalRef:O,isTopModal:E,exited:q,hasTransition:y}}({..._,rootRef:t}),B={..._,exited:M},j=(e=>{const{open:t,exited:n,classes:r}=e;return wi({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},bc,r)})(B),z={};if(void 0===c.props.tabIndex&&(z.tabIndex="-1"),F){const{onEnter:e,onExited:t}=A();z.onEnter=e,z.onExited=t}const $={slots:{root:p.Root,backdrop:p.Backdrop,...w},slotProps:{...f,...R}},[G,V]=rc("root",{ref:t,elementType:vc,externalForwardedProps:{...$,...N,component:d},getSlotProps:T,ownerState:B,className:xi(l,j?.root,!B.open&&B.exited&&j?.hidden)}),[U,W]=rc("backdrop",{ref:a?.ref,elementType:o,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:e=>D({...e,onClick:t=>{S&&S(t),e?.onClick&&e.onClick(t)}}),className:xi(a?.className,j?.backdrop),ownerState:B});return C||x||F&&!M?(0,Yo.jsx)(Js,{ref:P,container:u,disablePortal:g,children:(0,Yo.jsxs)(G,{...V,children:[!v&&o?(0,Yo.jsx)(U,{...W}):null,(0,Yo.jsx)(Xs,{disableEnforceFocus:m,disableAutoFocus:h,disableRestoreFocus:y,isEnabled:k,open:x,children:r.cloneElement(c,z)})]})}):null})),Ec=Sc;function Oc(e){return ci("MuiPaper",e)}ui("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Ic=Bi("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(pl((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]})))),xc=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiPaper"}),r=Wo(),{className:o,component:a="div",elevation:i=1,square:l=!1,variant:s="elevation",...c}=n,u={...n,component:a,elevation:i,square:l,variant:s},d=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return wi({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Oc,o)})(u);return(0,Yo.jsx)(Ic,{as:a,ownerState:u,className:xi(d.root,o),ref:t,...c,style:{..."elevation"===s&&{"--Paper-shadow":(r.vars||r).shadows[i],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[i]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${br("#fff",No(i))}, ${br("#fff",No(i))})`}},...c.style}})})),Rc=xc;function wc(e){return ci("MuiPopover",e)}function Lc(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return n=>{const r="function"==typeof t?t(n):t,o="function"==typeof e?e({...n,...r}):e,a=xi(n?.className,r?.className,o?.className);return{...r,...o,...!!a&&{className:a},...r?.style&&o?.style&&{style:{...r.style,...o.style}},...r?.sx&&o?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};const n=t,r=xi(n?.className,e?.className);return{...t,...e,...!!r&&{className:r},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Nc(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function _c(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Tc(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Dc(e){return"function"==typeof e?e():e}ui("MuiPopover",["root","paper"]);const Ac=Bi(Ec,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pc=Bi(Rc,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),kc=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:c,className:u,container:d,elevation:p=8,marginThreshold:f=16,open:h,PaperProps:m={},slots:q={},slotProps:g={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:b,transitionDuration:v="auto",TransitionProps:C={},disableScrollLock:S=!1,...E}=n,O=r.useRef(),I={...n,anchorOrigin:i,anchorReference:s,elevation:p,marginThreshold:f,transformOrigin:y,TransitionComponent:b,transitionDuration:v,TransitionProps:C},x=(e=>{const{classes:t}=e;return wi({root:["root"],paper:["paper"]},wc,t)})(I),R=r.useCallback((()=>{if("anchorPosition"===s)return l;const e=Dc(a),t=(e&&1===e.nodeType?e:Rs(O.current).body).getBoundingClientRect();return{top:t.top+Nc(t,i.vertical),left:t.left+_c(t,i.horizontal)}}),[a,i.horizontal,i.vertical,l,s]),w=r.useCallback((e=>({vertical:Nc(e,y.vertical),horizontal:_c(e,y.horizontal)})),[y.horizontal,y.vertical]),L=r.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=w(t);if("none"===s)return{top:null,left:null,transformOrigin:Tc(n)};const r=R();let o=r.top-n.vertical,i=r.left-n.horizontal;const l=o+t.height,c=i+t.width,u=Ls(Dc(a)),d=u.innerHeight-f,p=u.innerWidth-f;if(null!==f&&o<f){const e=o-f;o-=e,n.vertical+=e}else if(null!==f&&l>d){const e=l-d;o-=e,n.vertical+=e}if(null!==f&&i<f){const e=i-f;i-=e,n.horizontal+=e}else if(c>p){const e=c-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Tc(n)}}),[a,s,R,w,f]),[N,_]=r.useState(h),T=r.useCallback((()=>{const e=O.current;if(!e)return;const t=L(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,_(!0)}),[L]);r.useEffect((()=>(S&&window.addEventListener("scroll",T),()=>window.removeEventListener("scroll",T))),[a,S,T]),r.useEffect((()=>{h&&T()})),r.useImperativeHandle(o,(()=>h?{updatePosition:()=>{T()}}:null),[h,T]),r.useEffect((()=>{if(!h)return;const e=Is((()=>{T()})),t=Ls(Dc(a));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,h,T]);let D=v;const A={slots:{transition:b,...q},slotProps:{transition:C,paper:m,...g}},[P,k]=rc("transition",{elementType:Us,externalForwardedProps:A,ownerState:I,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),T()},onExited:t=>{e.onExited?.(t),_(!1)}}),additionalProps:{appear:!0,in:h}});"auto"!==v||P.muiSupportAuto||(D=void 0);const M=d||(a?Rs(Dc(a)).body:void 0),[F,{slots:B,slotProps:j,...z}]=rc("root",{ref:t,elementType:Ac,externalForwardedProps:{...A,...E},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:q.backdrop},slotProps:{backdrop:Lc("function"==typeof g.backdrop?g.backdrop(I):g.backdrop,{invisible:!0})},container:M,open:h},ownerState:I,className:xi(x.root,u)}),[$,G]=rc("paper",{ref:O,className:x.paper,elementType:Pc,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:N?void 0:{opacity:0}},ownerState:I});return(0,Yo.jsx)(F,{...z,...!Es(F)&&{slots:B,slotProps:j,disableScrollLock:S},children:(0,Yo.jsx)(P,{...k,timeout:D,children:(0,Yo.jsx)($,{...G,children:c})})})})),Mc=kc;var Fc=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Bc=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},jc=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Bc(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},Bc(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Fc(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,a=[],i=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(a.push(i,l),i=l=null):(l=s,null===i&&(i=s));if(null!==l){for(var c=Math.min(Math.max(l,i+r-1),n-1),u=l+1;u<=c&&!t(u);u++)l=u;a.push(i,l)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e}))},o=0;o<e.length;o+=2)r(o)}}]),t}(r.PureComponent);const zc=jc,$c=["S","XS"],Gc=e=>e.reduce(((e,t)=>e.concat(t)));async function Vc({selections:e,elemNumbers:t,toggle:n,isSingleSelect:r}){if(0===t.length)return!1;let o=!1;if(!t.some((e=>Number.isNaN(e)))){const a=t;try{o=!1!==await e.select({method:"selectListObjectValues",params:["/qListObjectDef",a,n]})}catch{o=!1}o||(r?e.cancel():e.clear())}return o}const Uc="RowColumn",Wc={row:`${Uc}-row`,rowBorderBottom:`${Uc}-rowBorderBottom`,column:`${Uc}-column`,fieldRoot:`${Uc}-fieldRoot`,cell:`${Uc}-cell`,labelText:`${Uc}-labelText`,labelDense:`${Uc}-labelDense`,highlighted:`${Uc}-highlighted`,checkboxLabel:`${Uc}-checkboxLabel`,icon:`${Uc}-icon`,S:`${Uc}-S`,XS:`${Uc}-XS`,A:`${Uc}-A`,X:`${Uc}-X`,frequencyCount:`${Uc}-frequencyCount`,barContainer:`${Uc}-barContainer`,bar:`${Uc}-bar`,barSelected:`${Uc}-barSelected`,barWithCheckbox:`${Uc}-barWithCheckbox`,barSelectedWithCheckbox:`${Uc}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Uc}-excludedTextWithCheckbox`},Hc=`.${Wc.fieldRoot}`,Kc=e=>!(e?.metaKey||e?.ctrlKey);const Xc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Yc=e=>ll(Xc(e)),Jc=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Zc=({cell:e,checkboxes:t})=>{return(((n=e)?"A"===n.qState:null)||Jc(e))&&t;var n},Qc=e=>e.filter((e=>!!e)).join(" ").trim(),eu=e=>e||"-",tu=({sizes:e,frequencyMode:t,isGridMode:n,freqHitsValue:r})=>"P"===t?`${e.freqMinWidth}px`:n&&!r?"max-content":"25%",nu=({sizes:e,frequencyMode:t,isGridMode:n})=>n?"max-content":"P"===t?e.freqMinWidth:e.freqMaxWidth,ru=({theme:e,checkboxes:t,styles:n,selectionState:r})=>{if(t)return"selected"===r?{[`& .${Wc.labelText}`]:{color:n.selections.selected}}:{};const o=n.selections,a=o[r],i=o[`${r}Contrast`];return{background:a,color:i,"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder}`,outline:"none"},"& $cell":{paddingRight:0},[`& .${Wc.labelText}`]:{color:i},[`& .${Wc.icon}`]:{color:i}}},ou={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},au=Bi("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue","layout","styles"].includes(e)})((({theme:e,checkboxes:t,isGridMode:n,isGridCol:r,dense:o,direction:a,sizes:i,frequencyMode:l,freqHitsValue:s,styles:c})=>{const{backgroundColor:u,...d}=c.content,p=ru({theme:e,styles:c,checkboxes:t,selectionState:"selected"}),f=ru({theme:e,styles:c,checkboxes:t,selectionState:"excluded"}),h={height:"100%",transition:"width 0.2s",border:"1px solid",borderColor:"#D9D9D9",backgroundColor:"#FAFAFA"},m={opacity:"30%"};return{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"},"& .value":{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"}},[`& .${Wc.row}`]:{flexWrap:"nowrap",...c.content},[`& .${Wc.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Wc.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,...c.content},[`& .${Wc.cell}`]:{zIndex:2,display:"flex",alignItems:"center",flexGrow:1,minWidth:t?"52px":"26px",flexBasis:t?"auto":"max-content",paddingLeft:"9px",paddingRight:0},[`& .${Wc.labelText}`]:{lineHeight:"24px",userSelect:"none",paddingRight:"1px",...ou,...d},[`& .${Wc.labelDense}`]:{lineHeight:"18px"},[`& .${Wc.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${Wc.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...ou,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${Wc.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24,color:d.color},[`& .${Wc.S}`]:{...p,border:n?"none":void 0},[`& .${Wc.XS}`]:{...ru({theme:e,styles:c,checkboxes:t,selectionState:"selectedExcluded"}),border:n?"none":void 0},[`& .${Wc.A}`]:{...ru({theme:e,styles:c,checkboxes:t,selectionState:"alternative"}),border:n?"none":void 0},[`& .${Wc.X}`]:{...f,border:n?"none":void 0},[`& .${Wc.X}, & .${Wc.XS}`]:{border:n?"none":void 0,[`& .${Wc.barSelected} .bar-filled`]:{...h}},[`& .${Wc.frequencyCount}`]:{zIndex:3,justifyContent:"flex-end",...ou,flex:`0 0 ${tu({sizes:i,frequencyMode:l,isGridMode:n,freqHitsValue:s})}`,minWidth:!n&&"P"!==l&&s?i.freqMinWidth:"max-content",maxWidth:nu({sizes:i,frequencyMode:l,isGridMode:n}),textAlign:"rtl"===a?"left":"right",paddingLeft:"rtl"!==a?"8px":0},[`&.${Wc.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Wc.bar}`]:{height:o?"16px":"20px",position:"absolute",zIndex:1,alignSelf:"center",left:4,width:"calc(100% - 8px)",display:"flex",alignItems:"center","& .bar-filled":{...h}},[`& .${Wc.barSelected}`]:{"& .bar-filled":{...m}},[`& .${Wc.barWithCheckbox}`]:{left:"rtl"===a?4:29,width:"calc(100% - 33px)"},[`& .${Wc.barSelectedWithCheckbox}`]:{"& .bar-filled":{...m,backgroundColor:c.selections.selected||"#BFE5D0",borderColor:c.selections.selected}},[`& .${Wc.excludedTextWithCheckbox}`]:{color:c.content.color,fontStyle:"italic"}}})),iu=r.memo(au),lu=r.createContext(void 0);function su(){return r.useContext(lu)}function cu(e){return ci("MuiFormControlLabel",e)}const uu=ui("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function du({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}const pu=Bi("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${uu.label}`]:t.label},t.root,t[`labelPlacement${fl(n.labelPlacement)}`]]}})(pl((({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${uu.disabled}`]:{cursor:"default"},[`& .${uu.label}`]:{[`&.${uu.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]})))),fu=Bi("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(pl((({theme:e})=>({[`&.${uu.error}`]:{color:(e.vars||e).palette.error.main}})))),hu=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiFormControlLabel"}),{checked:o,className:a,componentsProps:i={},control:l,disabled:s,disableTypography:c,inputRef:u,label:d,labelPlacement:p="end",name:f,onChange:h,required:m,slots:q={},slotProps:g={},value:y,...b}=n,v=su(),C=s??l.props.disabled??v?.disabled,S=m??l.props.required,E={disabled:C,required:S};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==n[e]&&(E[e]=n[e])}));const O=du({props:n,muiFormControl:v,states:["error"]}),I={...n,disabled:C,labelPlacement:p,required:S,error:O.error},x=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e;return wi({root:["root",n&&"disabled",`labelPlacement${fl(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},cu,t)})(I),R={slots:q,slotProps:{...i,...g}},[w,L]=rc("typography",{elementType:Cl,externalForwardedProps:R,ownerState:I});let N=d;return null==N||N.type===Cl||c||(N=(0,Yo.jsx)(w,{component:"span",...L,className:xi(x.label,L?.className),children:N})),(0,Yo.jsxs)(pu,{className:xi(x.root,a),ownerState:I,ref:t,...b,children:[r.cloneElement(l,E),S?(0,Yo.jsxs)("div",{children:[N,(0,Yo.jsxs)(fu,{ownerState:I,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]}):N]})})),mu=hu,qu=function({controlled:e,default:t,name:n,state:o="value"}){const{current:a}=r.useRef(void 0!==e),[i,l]=r.useState(t);return[a?e:i,r.useCallback((e=>{a||l(e)}),[])]};function gu(e){return ci("PrivateSwitchBase",e)}ui("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const yu=Bi(os,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),bu=Bi("input",{name:"MuiSwitchBase",shouldForwardProp:Mi})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),vu=r.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,defaultChecked:a,disabled:i,disableFocusRipple:l=!1,edge:s=!1,icon:c,id:u,inputProps:d,inputRef:p,name:f,onBlur:h,onChange:m,onFocus:q,readOnly:g,required:y=!1,tabIndex:b,type:v,value:C,slots:S={},slotProps:E={},...O}=e,[I,x]=qu({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),R=su();let w=i;R&&void 0===w&&(w=R.disabled);const L="checkbox"===v||"radio"===v,N={...e,checked:I,disabled:w,disableFocusRipple:l,edge:s},_=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return wi({root:["root",n&&"checked",r&&"disabled",o&&`edge${fl(o)}`],input:["input"]},gu,t)})(N),T={slots:S,slotProps:{input:d,...E}},[D,A]=rc("root",{ref:t,elementType:yu,className:_.root,shouldForwardComponentProp:!0,externalForwardedProps:{...T,component:"span",...O},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{q&&q(e),R&&R.onFocus&&R.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)})(t)}}),ownerState:N,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:w,role:void 0,tabIndex:null}}),[P,k]=rc("input",{ref:p,elementType:bu,className:_.input,externalForwardedProps:T,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;x(t),m&&m(e,t)})(t)}}),ownerState:N,additionalProps:{autoFocus:n,checked:r,defaultChecked:a,disabled:w,id:L?u:void 0,name:f,readOnly:g,required:y,tabIndex:b,type:v,..."checkbox"===v&&void 0===C?{}:{value:C}}});return(0,Yo.jsxs)(D,{...A,children:[(0,Yo.jsx)(P,{...k}),I?o:c]})})),Cu=vu;function Su(e){return ci("MuiSvgIcon",e)}ui("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Eu=Bi("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${fl(n.color)}`],t[`fontSize${fl(n.fontSize)}`]]}})(pl((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),Ou=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:l="svg",fontSize:s="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p="0 0 24 24",...f}=n,h=r.isValidElement(o)&&"svg"===o.type,m={...n,color:i,component:l,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:h},q={};u||(q.viewBox=p);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return wi({root:["root","inherit"!==t&&`color${fl(t)}`,`fontSize${fl(n)}`]},Su,r)})(m);return(0,Yo.jsxs)(Eu,{as:l,className:xi(g.root,a),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t,...q,...f,...h&&o.props,ownerState:m,children:[h?o.props.children:o,d?(0,Yo.jsx)("title",{children:d}):null]})}));Ou.muiName="SvgIcon";const Iu=Ou;function xu(e,t){function n(n,r){return(0,Yo.jsx)(Iu,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=Iu.muiName,r.memo(r.forwardRef(n))}const Ru=xu((0,Yo.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),wu=xu((0,Yo.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Lu=xu((0,Yo.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Nu(e){return ci("MuiCheckbox",e)}const _u=ui("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Tu=Bi(Cu,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${fl(n.size)}`],"default"!==n.color&&t[`color${fl(n.color)}`]]}})(pl((({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{[`&.${_u.checked}, &.${_u.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${_u.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),Du=(0,Yo.jsx)(wu,{}),Au=(0,Yo.jsx)(Ru,{}),Pu=(0,Yo.jsx)(Lu,{}),ku=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiCheckbox"}),{checkedIcon:o=Du,color:a="primary",icon:i=Au,indeterminate:l=!1,indeterminateIcon:s=Pu,inputProps:c,size:u="medium",disableRipple:d=!1,className:p,slots:f={},slotProps:h={},...m}=n,q=l?s:i,g=l?s:o,y={...n,disableRipple:d,color:a,indeterminate:l,size:u},b=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,a=wi({root:["root",n&&"indeterminate",`color${fl(r)}`,`size${fl(o)}`]},Nu,t);return{...t,...a}})(y),v=h.input??c,[C,S]=rc("root",{ref:t,elementType:Tu,className:xi(b.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:f,slotProps:h,...m},ownerState:y,additionalProps:{type:"checkbox",icon:r.cloneElement(q,{fontSize:q.props.fontSize??u}),checkedIcon:r.cloneElement(g,{fontSize:g.props.fontSize??u}),disableRipple:d,slots:f,slotProps:{input:Lc("function"==typeof v?v(y):v,{"data-indeterminate":l})}}});return(0,Yo.jsx)(C,{...S,classes:b})})),Mu="ListBoxCheckbox",Fu={cbIcon:`${Mu}-cbIcon`,cbIconChecked:`${Mu}-cbIconChecked`,cbIconExcluded:`${Mu}-cbIconExcluded`,cbIconAlternative:`${Mu}-cbIconAlternative`,checkbox:`${Mu}-checkbox`,dense:`${Mu}-dense`},Bu=Bi(ku,{shouldForwardProp:e=>"styles"!==e})((({styles:e})=>({[`& .${Fu.cbIcon}`]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},[`& .${Fu.cbIconChecked}`]:{borderRadius:3,backgroundColor:e.selections.selected,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},[`& .${Fu.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.excluded},[`& .${Fu.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.alternative},[`&.${Fu.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Fu.dense}`]:{padding:"4px 8px"}}))),ju=(e,t=!0,n=!1)=>r.createElement("span",{className:e.cbIcon},n&&r.createElement("span",{className:t&&n?e.cbIconExcluded:""}));function zu({onChange:e,checked:t,label:n,dense:o,excluded:a,styles:i,showGray:l=!0,dataN:s}){return r.createElement(Bu,{edge:"start",onChange:e,checked:t,disableRipple:!0,className:[Fu.checkbox,o&&Fu.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n,"data-n":s},name:n,icon:ju(Fu,l,a),checkedIcon:r.createElement("span",{className:Fu.cbIconChecked}),styles:i})}const $u=xu((0,Yo.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Gu=xu((0,Yo.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Vu=Bi("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Mi})({position:"relative",display:"flex"}),Uu=Bi($u,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),Wu=Bi(Gu,{name:"MuiRadioButtonIcon"})(pl((({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})))),Hu=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o={...e,checked:t};return(0,Yo.jsxs)(Vu,{className:n.root,ownerState:o,children:[(0,Yo.jsx)(Uu,{fontSize:r,className:n.background,ownerState:o}),(0,Yo.jsx)(Wu,{fontSize:r,className:n.dot,ownerState:o})]})},Ku=dc,Xu=r.createContext(void 0);function Yu(e){return ci("MuiRadio",e)}const Ju=ui("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),Zu=Bi(Cu,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${fl(n.size)}`],t[`color${fl(n.color)}`]]}})(pl((({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Ju.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t,disabled:!1},style:{[`&.${Ju.checked}`]:{color:(e.vars||e).palette[t].main}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),Qu=(0,Yo.jsx)(Hu,{checked:!0}),ed=(0,Yo.jsx)(Hu,{}),td=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiRadio"}),{checked:o,checkedIcon:a=Qu,color:i="primary",icon:l=ed,name:s,onChange:c,size:u="medium",className:d,disabled:p,disableRipple:f=!1,slots:h={},slotProps:m={},inputProps:q,...g}=n,y=su();let b=p;y&&void 0===b&&(b=y.disabled),b??=!1;const v={...n,disabled:b,disableRipple:f,color:i,size:u},C=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${fl(n)}`,"medium"!==r&&`size${fl(r)}`]};return{...t,...wi(o,Yu,t)}})(v),S=r.useContext(Xu);let E=o;const O=Ku(c,S&&S.onChange);let I=s;S&&(void 0===E&&(E=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(S.value,n.value)),void 0===I&&(I=S.name));const x=m.input??q,[R,w]=rc("root",{ref:t,elementType:Zu,className:xi(C.root,d),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:m,...g},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),O(t,...n)}}),ownerState:v,additionalProps:{type:"radio",icon:r.cloneElement(l,{fontSize:l.props.fontSize??u}),checkedIcon:r.cloneElement(a,{fontSize:a.props.fontSize??u}),disabled:b,name:I,checked:E,slots:h,slotProps:{input:"function"==typeof x?x(v):x}}});return(0,Yo.jsx)(R,{...w,classes:C})})),nd="ListBoxRadioButton-radioButton",rd=Bi(td,{shouldForwardProp:e=>!["dense","styles"].includes(e)})((({checked:e,styles:t,dense:n})=>({[`&.${nd}`]:{right:"5px",color:e?t.selections.selected:t.content.color,padding:n?"0px 0px 0px 12px":void 0,backgroundColor:"transparent"}})));function od({onChange:e,checked:t,label:n,dense:o,dataN:a,styles:i}){return r.createElement(rd,{checked:t,onChange:e,value:n,name:n,className:nd,inputProps:{"data-n":a},disableRipple:!0,size:o?"small":"medium",dense:o,styles:i})}const ad=function({label:e,dense:t,showGray:n=!0,checkboxes:o,cell:a,valueTextAlign:i}){return r.createElement(Cl,{component:"span",variant:"body2",className:Qc([Wc.labelText,t&&Wc.labelDense,n&&Zc({cell:a,checkboxes:o})&&Wc.excludedTextWithCheckbox]),align:i,dir:"auto"},r.createElement("span",null,e))},id=function({label:e,color:t,dense:n,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?r.createElement(ad,{label:e,color:t,dense:n,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},ld=function({onChange:e,label:t,qElemNumber:n,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:p}){const f=r.createElement(zu,{onChange:e,label:t,checked:o,dense:a,excluded:Jc(i),isGridCol:l,showGray:s,dataN:n,styles:p}),h=r.createElement(od,{onChange:e,label:t,checked:o,dense:a,dataN:n,styles:p});return r.createElement(mu,{control:c?h:f,className:Wc.checkboxLabel,label:r.createElement(id,{label:t,dense:a,showGray:s,checkboxes:u,cell:i,valueTextAlign:d}),key:n})};function sd({labels:e,dense:t,showGray:n,checkboxes:o}){const a=e.map((([e,t],n)=>r.createElement("span",{id:n,className:t?Wc.highlighted:""},e)));return r.createElement(ad,{label:a,dense:t,showGray:n,checkboxes:o})}const cd=function({onChange:e,labels:t,checkboxes:n,dense:o,showGray:a,qElemNumber:i,isSelected:l,cell:s,isGridCol:c,isSingleSelect:u,valueTextAlign:d,styles:p}){const f=r.createElement(sd,{labels:t,dense:o,showGray:a,checkboxes:n});return n?r.createElement(ld,{onChange:e,label:f,qElemNumber:i,isSelected:l,dense:o,cell:s,isGridCol:c,showGray:a,isSingleSelect:u,checkboxes:n,valueTextAlign:d,styles:p}):f};function ud({onChange:e,label:t,qElemNumber:n,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:p}){return u?r.createElement(ld,{onChange:e,label:t,qElemNumber:n,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:p}):r.createElement(ad,{label:t,dense:a,showGray:!0,checkboxes:u,cell:i,valueTextAlign:d})}const dd=r.memo(ud),pd=ui("MuiBox",["root"]),fd=Go(),hd=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=qa("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Rt);return r.forwardRef((function(e,r){const l=pr(n),{className:s,component:c="div",...u}=Ri(e);return(0,Yo.jsx)(i,{as:c,ref:r,className:xi(s,a?a(o):o),theme:t&&l[t]||l,...u})}))}({themeId:Uo,defaultTheme:fd,defaultClassName:pd.root,generateClassName:li.generate}),md=function({qFrequency:e,histogram:t,checkboxes:n,isSelected:o,frequencyMax:a}){if(!e||!t||"-"===eu(e))return;const i=(({qFrequency:e,frequencyMax:t})=>{const n=String(e),r="%"===n.substring(n.length-1),o=parseFloat(r?n:e);return`${r?o:o/t*100}%`})({qFrequency:e,checkboxes:n,frequencyMax:a});return r.createElement(hd,{className:Qc([Wc.bar,n&&Wc.barWithCheckbox,o&&(n?Wc.barSelectedWithCheckbox:Wc.barSelected)])},r.createElement(hd,{className:"bar-filled",width:i}))},qd=function({cell:e,checkboxes:t,dense:n,showGray:o}){const a=eu(e?.qFrequency);return r.createElement(Xi,{item:!0,style:{display:"flex",alignItems:"center"},className:Wc.frequencyCount,"aria-label":a,title:a},r.createElement(Cl,{noWrap:!0,color:"inherit",variant:"body2",className:Qc([n&&Wc.labelDense,Wc.labelText,o&&Zc({cell:e,checkboxes:t})&&Wc.excludedTextWithCheckbox])},a))};function gd({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:r}){if("singleColumn"===e)return{height:"100%",width:"100%"};switch(t){case"row":case"column":return{height:r?"100%":`calc(100% - ${n}px)`,width:`calc(100% - ${2*n}px)`,position:"absolute",left:4};default:return{}}}const yd=Bi(Xi,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction","fillHeight"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,cellPaddingRight:r,direction:o,fillHeight:a})=>{const i="padding"+("rtl"===o?"Left":"Right");return{[`&.${Wc.fieldRoot}`]:{...gd({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:a}),[i]:r?"8px":void 0}}})),bd=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===bd.ARROW_UP||e===bd.ARROW_DOWN||e===bd.ARROW_LEFT||e===bd.ARROW_RIGHT}),vd=bd;function Cd(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function Sd(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")||e?.closest(".qv-gs-listbox")}function Ed({containerRef:e,enabled:t}){const[n,o]=(0,r.useState)(!1);return{enabled:t,active:n,innerTabStops:!t||n,blur(n){if(!t)return;o(!1);const r=Sd(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),Cd(e.current),n&&r&&(r.setAttribute("tabIndex",0),e.current.setAttribute("tabIndex",-1),r.focus())},focus(){if(!t)return;o(!0);const n=e.current,r=n?.querySelector(".search input"),a=n?.querySelector(".value.last-focused"),i=n?.querySelector(".value.selector, .value"),l=n?.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=n?.querySelector("#listbox-unlock-button"),c=n?.querySelector(".listbox-cyclic-button"),u=c||r||a||i||s||l;u?.setAttribute("tabIndex",0),u?.focus()},focusSelection(){const e=document.querySelector("#listbox-unlock-button"),t=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm:not(:disabled)"),n=e||t;return n?.setAttribute("tabIndex",0),n?.focus(),n}}}const Od=e=>+e.getAttribute("data-n"),Id=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},xd=e=>{const t=e?.querySelector(".value.last-focused"),n=e?.querySelector(".value.selector"),r=e?.querySelector(".value"),o=t||n||r;return o?.setAttribute("tabIndex",0),o?.focus(),Cd(e),o},Rd=e=>{const t=e?.querySelector(".listbox-cyclic-button:not(:disabled)");return t?.setAttribute("tabIndex",0),t?.focus(),t},wd=(e,t)=>{if(!t.enabled)return;const{currentTarget:n,target:r}=e,o=r.classList.contains("listbox-container"),a=n.closest(".listbox-container"),i=Sd(a),l=1===i?.querySelectorAll(".listbox-container").length;if(o||l)t.blur(!0);else{Cd(a),n.classList.add("last-focused"),t.blur();const e=n.closest(".listbox-container");e.setAttribute("tabIndex",-1),e?.focus()}},Ld={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"},Nd=function({index:e,rowIndex:t,columnIndex:n,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onTouchStart:d,onTouchEnd:p,pages:f,isLocked:h,column:m=!1,checkboxes:q=!1,textAlign:g,direction:y,layoutOptions:b={},freqIsAllowed:v,isSingleSelect:C,actions:S,frequencyMax:E="",histogram:O=!1,keyboard:I,showGray:x=!0,showTick:R=!0,columnCount:w=1,rowCount:L=1,dataOffset:N,deducedFrequencyMode:_,focusListItems:T,listCount:D,sizes:A,translator:P,showSearch:k,isModal:M,contentFontStyle:F,styles:B,fillHeight:j}=a,{dense:z=!1,dataLayout:$="singleColumn",layoutOrder:G}=b,{itemPadding:V}=A;let U,W;const H={max:null,currentIndex:null};if("number"==typeof t&&"number"==typeof n){"row"===G?(U=t*w+n,H.max=L,H.currentIndex=t):(U=n*L+t,H.max=w,H.currentIndex=n);const e=0;W={...o,height:j?"100%":o.height,left:e+(0===n?o.left:Number(o.left)+n*e),top:0===t?o.top:Number(o.top)+t*e}}else U=e,H.max=D,H.currentIndex=e,W={...o};U+=N;const[K,X]=(0,r.useState)(null);(0,r.useEffect)((()=>{null!==K&&(0===H.currentIndex&&T.first&&(K.focus(),T.setFirst(!1)),H.currentIndex===H.max-1&&T.last&&(K.focus(),T.setLast(!1)))}),[K,T.first,T.last]);const Y=(0,r.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i,keyboard:l,isModal:s,rowCount:c,columnCount:u,rowIndex:d,columnIndex:p,layoutOrder:f}){const h=(e,t,n=!1)=>{if(e===vd.ARROW_LEFT||e===vd.ARROW_RIGHT||"number"!=typeof d||"number"!=typeof p){const e=t?.parentElement[n?"nextElementSibling":"previousElementSibling"];return e?.querySelector("[role]")}const r=t?.parentElement.parentElement,o=r?.childElementCount;if(o){const n=(({rowIndex:e,columnIndex:t,rowCount:n,columnCount:r,layoutOrder:o,keyCode:a,numCells:i})=>{const l=e=>{let t;return"row"===o?(t=i%r,e<t?n:n-1):(t=i%n,e<r-1?n:t)};let s=e,c=t;if(a===vd.ARROW_DOWN)if(e>=l(t)-1){if(t===r-1)return-1;s=0,c=t+1}else s=e+1;else if(0===e){if(0===t)return-1;s=l(t-1)-1,c=t-1}else s=e-1;if("row"===o)return s*r+c;const u=i%n;return 0===u||s<u?s*r+c:(s-u)*(r-1)+c+u*r})({rowIndex:d,columnIndex:p,rowCount:c,columnCount:u,layoutOrder:f,keyCode:e,numCells:o}),r=t?.parentElement.parentElement.children[n];return r?.querySelector("[role]")}};let m=!1;const q=e=>{m=e};return c=>{let u;const{currentTarget:d,nativeEvent:p}=c,{keyCode:f,shiftKey:g=!1,ctrlKey:y=!1,metaKey:b=!1}=p;switch(f){case vd.TAB:{const e=d.closest(".listbox-container"),t=void 0!==s?s():void 0;if(d.classList.add("last-focused"),!l?.enabled){if(!t)return;return l.focusSelection(),c.preventDefault(),void c.stopPropagation()}if(g){Id(e)||Rd(e)||(t?l.focusSelection():wd(c,l));break}l.focusSelection()||Rd(e)||Id(e)||(d.blur(),wd(c,l));break}case vd.SHIFT:q(!0);break;case vd.SPACE:e([Od(d)],!1,c);break;case vd.ARROW_DOWN:case vd.ARROW_RIGHT:u=h(f,d,!0),g&&u&&(m&&(e([Od(d)],!0),q(!1)),e([Od(u)],!0));break;case vd.ARROW_UP:case vd.ARROW_LEFT:u=h(f,d,!1),g&&u&&(m&&(e([Od(d)],!0),q(!1)),e([Od(u)],!0));break;case vd.ENTER:if(r(),void 0===s)return;break;case vd.ESCAPE:if(void 0===s)return void o();if(!s())return;o();break;case vd.HOME:if(i.setFirst(!0),y){a?.("overflowStart");break}a?.("start");break;case vd.END:if(i.setLast(!0),y){a?.("overflowEnd");break}a?.("end");break;case vd.A:if(y||b){t();break}return;case vd.F:if(y||b){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...S,focusListItems:T,keyboard:I,isModal:M,rowCount:L,columnCount:w,rowIndex:t,columnIndex:n,layoutOrder:G}),[S,I?.innerTabStops,L,w,t,n,G]),J=(0,r.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:f,cellIndex:U})),[f,U]),Z="S"===J?.qState||"XS"===J?.qState||"L"===J?.qState||"XL"===J?.qState,Q=(0,r.useMemo)((()=>(({column:e,histogram:t,cell:n,showGray:r})=>{if(!n)return[];const o=[e?Wc.column:Wc.row];t||o.push(Wc.rowBorderBottom);const a=function({cell:e,showGray:t}){let n;switch(e.qState){case"XS":n=t?Wc.XS:Wc.S;break;case"S":case"L":n=Wc.S;break;case"A":n=!!t&&Wc.A;break;case"X":case"XL":n=!!t&&Wc.X;break;default:n=!1}return n}({cell:n,showGray:r});return a&&o.push(a),o})({column:m,histogram:O,cell:J,showGray:x})),[J?.qState,O,z]),ee=(0,r.useCallback)((e=>{e.preventDefault()}),[q]),te=(0,r.useMemo)((()=>J&&function({direction:e,cell:t,textAlign:n}){const r=!["NaN",void 0].includes(t?.qNum);let o;return o=!n||n.auto?r?"rtl"===e?"left":"right":{rtl:"right",ltr:"left"}[e]:n?.align||"left",["left","center","right"].includes(o)?o:"left"}({direction:y,cell:J,textAlign:g})),[y,J,g]);if(!J)return null;const ne="grid"===$&&"column"===G,re=J?.qText??"";let oe;if(J.qHighlightRanges?.qRanges?.length){const e=J.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[];oe=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t,n=0){const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(re,e)}const ae={alignItems:"center",display:"flex",fontSize:"8px"},ie="rtl"===y,le={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:ie?8:q?0:void 0,paddingRight:q?0:ie?8:0,justifyContent:te,textAlign:te},se=0===e,ce=Z&&h,ue=!q&&Z&&!h,de=!q&&R,pe=q||!R,fe=function({translator:e,label:t,qState:n,isSelected:r,currentIndex:o,maxIndex:a,showSearch:i}){const l=Ld[n],s=e.get(l),c=[];if(r){const t=i?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=e.get(t);c.push(n)}const u=`${t} ${s}`,d=e.get("CurrentSelections.Of",[o+1,a+1]);return c.unshift(u,d),c.join(". ").trim()}({translator:P,label:re,qState:J.qState,currentIndex:H.currentIndex,maxIndex:H.max,showSearch:k}),he=!ie&&"right"===te||ie&&"left"===te;return r.createElement(iu,{className:Wc.barContainer,checkboxes:q,style:W,styles:B,isGridCol:ne,isGridMode:"grid"===$,dense:z,direction:y,sizes:A,frequencyMode:_,freqHitsValue:he,contentFontStyle:F,"data-testid":"listbox.item"},r.createElement(yd,{role:"row","aria-label":fe,"aria-selected":Z,"aria-setsize":H.max,"aria-rowindex":H.currentIndex,ref:X,container:!0,dataLayout:$,cellPaddingRight:pe,layoutOrder:G,itemPadding:V,gap:0,className:Qc(["value",...Q]),classes:{root:Wc.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:Y,onTouchStart:d,onTouchEnd:p,onContextMenu:ee,tabIndex:se&&I.innerTabStops?0:-1,"data-n":J?.qElemNumber,direction:y,fillHeight:j},J?.qFrequency&&r.createElement(md,{qFrequency:J?.qFrequency,histogram:O,checkboxes:q,isSelected:Z,frequencyMax:E}),r.createElement(Xi,{item:!0,style:le,className:Qc([Wc.cell,Wc.selectedCell]),title:`${re}`},oe?r.createElement(cd,{onChange:i,labels:oe,checkboxes:q,dense:z,showGray:x,qElemNumber:J.qElemNumber,isSelected:Z,cell:J,isGridCol:ne,isSingleSelect:C,valueTextAlign:te,styles:B}):r.createElement(dd,{onChange:i,label:re,qElemNumber:J.qElemNumber,isSelected:Z,dense:z,cell:J,isGridCol:ne,showGray:x,isSingleSelect:C,checkboxes:q,valueTextAlign:te,styles:B})),v&&r.createElement(qd,{cell:J,checkboxes:q,dense:z,showGray:x}),de&&r.createElement(Xi,{item:!0,className:Wc.icon},ce&&r.createElement(cl,{style:ae,size:"small"}),ue&&r.createElement(Yc,{style:ae,size:"small"}))))};var _d=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Td(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||_d(r)&&_d(o)))return!1;var r,o;return!0}const Dd=function(e,t){var n;void 0===t&&(t=Td);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var Ad="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Pd(e){cancelAnimationFrame(e.id)}function kd(e,t){var n=Ad(),r={id:requestAnimationFrame((function o(){Ad()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Md=-1;function Fd(e){if(void 0===e&&(e=!1),-1===Md||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Md=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Md}var Bd=null;function jd(e){if(void 0===e&&(e=!1),null===Bd||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Bd="positive-descending":(t.scrollLeft=1,Bd=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Bd}return Bd}var zd=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function $d(e){var t,n=e.getColumnOffset,o=e.getColumnStartIndexForOffset,a=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,l=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,c=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,d=e.getRowHeight,p=e.getRowOffset,f=e.getRowStartIndexForOffset,h=e.getRowStopIndexForStartIndex,m=e.initInstanceProps,q=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=m(r.props,Tl(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:Tl(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=Dd((function(e,t,n,o,a,i,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=Dd((function(e,t,n,o,a){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,a=r.props,l=a.columnWidth,s=a.direction,c=a.rowHeight,u=r._getItemStyleCache(q&&l,q&&s,q&&c),f=e+":"+t;if(u.hasOwnProperty(f))o=u[f];else{var h=n(r.props,t,r._instanceProps),m="rtl"===s;u[f]=o={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:p(r.props,e,r._instanceProps),height:d(r.props,e,r._instanceProps),width:i(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=Dd((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=r.props.direction,c=a;if("rtl"===t)switch(jd()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&Pd(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=kd(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}Al(t,e),t.getDerivedStateFromProps=function(e,t){return Gd(e,t),g(e),null};var y=t.prototype;return y.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},y.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,i=a.columnCount,d=a.height,p=a.rowCount,f=a.width,h=this.state,m=h.scrollLeft,q=h.scrollTop,g=Fd();void 0!==r&&(r=Math.max(0,Math.min(r,i-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var y=l(this.props,this._instanceProps),b=s(this.props,this._instanceProps)>f?g:0,v=y>d?g:0;this.scrollTo({scrollLeft:void 0!==r?c(this.props,r,n,m,this._instanceProps,v):m,scrollTop:void 0!==o?u(this.props,o,n,q,this._instanceProps,b):q})},y.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},y.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(jd()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},y.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Pd(this._resetIsScrollingTimeoutId)},y.render=function(){var e=this.props,t=e.children,n=e.className,o=e.columnCount,a=e.direction,i=e.height,c=e.innerRef,u=e.innerElementType,d=e.innerTagName,p=e.itemData,f=e.itemKey,h=void 0===f?zd:f,m=e.outerElementType,q=e.outerTagName,g=e.rowCount,y=e.style,b=e.useIsScrolling,v=e.width,C=this.state.isScrolling,S=this._getHorizontalRangeToRender(),E=S[0],O=S[1],I=this._getVerticalRangeToRender(),x=I[0],R=I[1],w=[];if(o>0&&g)for(var L=x;L<=R;L++)for(var N=E;N<=O;N++)w.push((0,r.createElement)(t,{columnIndex:N,data:p,isScrolling:b?C:void 0,key:h({columnIndex:N,data:p,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,N)}));var _=l(this.props,this._instanceProps),T=s(this.props,this._instanceProps);return(0,r.createElement)(m||q||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:sa({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,r.createElement)(u||d||"div",{children:w,ref:c,style:{height:_,pointerEvents:C?"none":void 0,width:T}}))},y._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],p=u[1],f=u[2],h=u[3];this._callOnItemsRendered(i,l,d,p,s,c,f,h)}if("function"==typeof r){var m=this.state,q=m.horizontalScrollDirection,g=m.scrollLeft,y=m.scrollTop,b=m.scrollUpdateWasRequested,v=m.verticalScrollDirection;this._callOnScroll(g,y,q,v,b)}},y._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,p=n||r||i||1;if(0===t||0===l)return[0,0,0,0];var f=o(this.props,d,this._instanceProps),h=a(this.props,f,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,p),q=u&&"forward"!==c?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+q)),f,h]},y._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=f(this.props,c,this._instanceProps),p=h(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),q=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,p+q)),d,p]},t}(r.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var Gd=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Vd=function(e,t){return e};function Ud(e){var t,n=e.getItemOffset,o=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=c(r.props,Tl(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Tl(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=Dd((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=Dd((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,o=r.props,i=o.direction,l=o.itemSize,s=o.layout,c=r._getItemStyleCache(u&&l,u&&s,u&&i);if(c.hasOwnProperty(e))t=c[e];else{var d=n(r.props,e,r._instanceProps),p=a(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,h="rtl"===i,m=f?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=Dd((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(jd()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&Pd(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=kd(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}Al(t,e),t.getDerivedStateFromProps=function(e,t){return Wd(e,t),d(e),null};var p=t.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?Fd():0:s.scrollHeight>s.clientHeight?Fd():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},p.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(jd()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Pd(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,a=e.direction,i=e.height,l=e.innerRef,s=e.innerElementType,c=e.innerTagName,u=e.itemCount,d=e.itemData,p=e.itemKey,f=void 0===p?Vd:p,h=e.layout,m=e.outerElementType,q=e.outerTagName,g=e.style,y=e.useIsScrolling,b=e.width,v=this.state.isScrolling,C="horizontal"===a||"horizontal"===h,S=C?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),O=E[0],I=E[1],x=[];if(u>0)for(var R=O;R<=I;R++)x.push((0,r.createElement)(t,{data:d,key:f(R,d),index:R,isScrolling:y?v:void 0,style:this._getItemStyle(R)}));var w=o(this.props,this._instanceProps);return(0,r.createElement)(m||q||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:sa({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,r.createElement)(s||c||"div",{children:x,ref:l,style:{height:C?"100%":w,pointerEvents:v?"none":void 0,width:C?w:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,i,this._instanceProps),u=s(this.props,c,i,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(r.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var Wd=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},Hd=$d({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(s/2)?0:p>c+Math.floor(s/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(l/2)?0:p>c+Math.floor(l/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),Kd=Ud({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===i||"horizontal"===u?d:l,f=Math.max(0,s*c-p),h=Math.min(f,t*c),m=Math.max(0,t*c-p+c+a);switch("smart"===n&&(n=r>=m-p&&r<=h+p?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var q=Math.round(m+(h-m)/2);return q<Math.ceil(p/2)?0:q>f+Math.floor(p/2)?f:q;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const Xd="#BBB",Yd="#f1f1f1",Jd="ListBox-styledScrollbars";function Zd({renderProps:e,layoutOptions:t,maxCount:n,columnCount:r,rowCount:o,overflowDisclaimer:a,qCardinal:i,dataOffset:l}){const s="column"===t?.layoutOrder&&"singleColumn"!==t.dataLayout,c=((e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex)(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,p=((e,t,n,r)=>e===t*n+r+n)(i,c,s?o:r,l),f=!!l&&((e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex)(e,s),h=d&&!p&&c>=u-1||f||a.state.show;a.set(h)}function Qd(){return Qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qd.apply(null,arguments)}const{StyledFixedSizeList:ep,StyledFixedSizeGrid:tp}=function(){const e=e=>({scrollbarColor:`${Xd} ${Yd}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:Yd},"&::-webkit-scrollbar-thumb":{backgroundColor:Xd,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:ma(Kd,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Jd}`]:e(t)}))),StyledFixedSizeGrid:ma(Hd,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Jd}`]:e(t)})))}}(),np=e=>{const t=(0,r.useMemo)((()=>"text"in e?e:{}),[e]);return(0,r.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)})(t.text,t.font||"12px Source Sans Pro")),[t.text,t.font])};function rp(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}function op({isGridMode:e,dense:t}){let n=t?20:e?32:29;return e&&(n+=4),n}const[ap,ip]=Si({});function lp(e){const t=`${e.id}`,[n]=ap();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function sp(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function cp(e){return e instanceof sp(e).Element||e instanceof Element}function up(e){return e instanceof sp(e).HTMLElement||e instanceof HTMLElement}function dp(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sp(e).ShadowRoot||e instanceof ShadowRoot)}var pp=Math.max,fp=Math.min,hp=Math.round;function mp(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function qp(){return!/^((?!chrome|android).)*safari/i.test(mp())}function gp(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&up(e)&&(o=e.offsetWidth>0&&hp(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&hp(r.height)/e.offsetHeight||1);var i=(cp(e)?sp(e):window).visualViewport,l=!qp()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function yp(e){var t=sp(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function bp(e){return e?(e.nodeName||"").toLowerCase():null}function vp(e){return((cp(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cp(e){return gp(vp(e)).left+yp(e).scrollLeft}function Sp(e){return sp(e).getComputedStyle(e)}function Ep(e){var t=Sp(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Op(e,t,n){void 0===n&&(n=!1);var r=up(t),o=up(t)&&function(e){var t=e.getBoundingClientRect(),n=hp(t.width)/e.offsetWidth||1,r=hp(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=vp(t),i=gp(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==bp(t)||Ep(a))&&(l=function(e){return e!==sp(e)&&up(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:yp(e);var t}(t)),up(t)?((s=gp(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Cp(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Ip(e){var t=gp(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function xp(e){return"html"===bp(e)?e:e.assignedSlot||e.parentNode||(dp(e)?e.host:null)||vp(e)}function Rp(e){return["html","body","#document"].indexOf(bp(e))>=0?e.ownerDocument.body:up(e)&&Ep(e)?e:Rp(xp(e))}function wp(e,t){var n;void 0===t&&(t=[]);var r=Rp(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=sp(r),i=o?[a].concat(a.visualViewport||[],Ep(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(wp(xp(i)))}function Lp(e){return["table","td","th"].indexOf(bp(e))>=0}function Np(e){return up(e)&&"fixed"!==Sp(e).position?e.offsetParent:null}function _p(e){for(var t=sp(e),n=Np(e);n&&Lp(n)&&"static"===Sp(n).position;)n=Np(n);return n&&("html"===bp(n)||"body"===bp(n)&&"static"===Sp(n).position)?t:n||function(e){var t=/firefox/i.test(mp());if(/Trident/i.test(mp())&&up(e)&&"fixed"===Sp(e).position)return null;var n=xp(e);for(dp(n)&&(n=n.host);up(n)&&["html","body"].indexOf(bp(n))<0;){var r=Sp(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Tp="top",Dp="bottom",Ap="right",Pp="left",kp="auto",Mp=[Tp,Dp,Ap,Pp],Fp="start",Bp="end",jp="viewport",zp="popper",$p=Mp.reduce((function(e,t){return e.concat([t+"-"+Fp,t+"-"+Bp])}),[]),Gp=[].concat(Mp,[kp]).reduce((function(e,t){return e.concat([t,t+"-"+Fp,t+"-"+Bp])}),[]),Vp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Up(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Wp(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Hp={placement:"bottom",modifiers:[],strategy:"absolute"};function Kp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Xp(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Hp:o;return function(e,t,n){void 0===n&&(n=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hp,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],l=!1,s={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},a,o.options,l),o.scrollParents={reference:cp(e)?wp(e):e.contextElement?wp(e.contextElement):[],popper:wp(t)};var u,d,p=function(e){var t=Up(e);return Vp.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((u=[].concat(r,o.options.modifiers),d=u.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return o.orderedModifiers=p.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var l=a({state:o,name:t,instance:s,options:r});i.push(l||function(){})}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Kp(t,n)){o.rects={reference:Op(t,_p(n),"fixed"===o.options.strategy),popper:Ip(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var a=o.orderedModifiers[r],i=a.fn,c=a.options,u=void 0===c?{}:c,d=a.name;"function"==typeof i&&(o=i({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Wp((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){c(),l=!0}};if(!Kp(e,t))return s;function c(){i.forEach((function(e){return e()})),i=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Yp={passive:!0};function Jp(e){return e.split("-")[0]}function Zp(e){return e.split("-")[1]}function Qp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ef(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Jp(o):null,i=o?Zp(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Tp:t={x:l,y:n.y-r.height};break;case Dp:t={x:l,y:n.y+n.height};break;case Ap:t={x:n.x+n.width,y:s};break;case Pp:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Qp(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Fp:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Bp:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var tf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nf(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,q="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=q.x,m=q.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=Pp,v=Tp,C=window;if(c){var S=_p(n),E="clientHeight",O="clientWidth";S===sp(n)&&"static"!==Sp(S=vp(n)).position&&"absolute"===l&&(E="scrollHeight",O="scrollWidth"),(o===Tp||(o===Pp||o===Ap)&&a===Bp)&&(v=Dp,m-=(d&&S===C&&C.visualViewport?C.visualViewport.height:S[E])-r.height,m*=s?1:-1),o!==Pp&&(o!==Tp&&o!==Dp||a!==Bp)||(b=Ap,f-=(d&&S===C&&C.visualViewport?C.visualViewport.width:S[O])-r.width,f*=s?1:-1)}var I,x=Object.assign({position:l},c&&tf),R=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:hp(n*o)/o||0,y:hp(r*o)/o||0}}({x:f,y:m},sp(n)):{x:f,y:m};return f=R.x,m=R.y,s?Object.assign({},x,((I={})[v]=y?"0":"",I[b]=g?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",I)):Object.assign({},x,((t={})[v]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var rf={left:"right",right:"left",bottom:"top",top:"bottom"};function of(e){return e.replace(/left|right|bottom|top/g,(function(e){return rf[e]}))}var af={start:"end",end:"start"};function lf(e){return e.replace(/start|end/g,(function(e){return af[e]}))}function sf(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dp(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uf(e,t,n){return t===jp?cf(function(e,t){var n=sp(e),r=vp(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=qp();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Cp(e),y:s}}(e,n)):cp(t)?function(e,t){var n=gp(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):cf(function(e){var t,n=vp(e),r=yp(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=pp(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=pp(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Cp(e),s=-r.scrollTop;return"rtl"===Sp(o||n).direction&&(l+=pp(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(vp(e)))}function df(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pf(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ff(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?jp:c,d=n.elementContext,p=void 0===d?zp:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,q=void 0===m?0:m,g=df("number"!=typeof q?q:pf(q,Mp)),y=p===zp?"reference":zp,b=e.rects.popper,v=e.elements[h?y:p],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=wp(xp(e)),n=["absolute","fixed"].indexOf(Sp(e).position)>=0&&up(e)?_p(e):e;return cp(n)?t.filter((function(e){return cp(e)&&sf(e,n)&&"body"!==bp(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=uf(e,n,r);return t.top=pp(o.top,t.top),t.right=fp(o.right,t.right),t.bottom=fp(o.bottom,t.bottom),t.left=pp(o.left,t.left),t}),uf(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(cp(v)?v:v.contextElement||vp(e.elements.popper),s,u,i),S=gp(e.elements.reference),E=ef({reference:S,element:b,strategy:"absolute",placement:o}),O=cf(Object.assign({},b,E)),I=p===zp?O:S,x={top:C.top-I.top+g.top,bottom:I.bottom-C.bottom+g.bottom,left:C.left-I.left+g.left,right:I.right-C.right+g.right},R=e.modifiersData.offset;if(p===zp&&R){var w=R[o];Object.keys(x).forEach((function(e){var t=[Ap,Dp].indexOf(e)>=0?1:-1,n=[Tp,Dp].indexOf(e)>=0?"y":"x";x[e]+=w[n]*t}))}return x}const hf={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,q=t.options.placement,g=Jp(q),y=s||(g!==q&&h?function(e){if(Jp(e)===kp)return[];var t=of(e);return[lf(e),t,lf(t)]}(q):[of(q)]),b=[q].concat(y).reduce((function(e,n){return e.concat(Jp(n)===kp?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Gp:s,u=Zp(r),d=u?l?$p:$p.filter((function(e){return Zp(e)===u})):Mp,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ff(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Jp(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),v=t.rects.reference,C=t.rects.popper,S=new Map,E=!0,O=b[0],I=0;I<b.length;I++){var x=b[I],R=Jp(x),w=Zp(x)===Fp,L=[Tp,Dp].indexOf(R)>=0,N=L?"width":"height",_=ff(t,{placement:x,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=L?w?Ap:Pp:w?Dp:Tp;v[N]>C[N]&&(T=of(T));var D=of(T),A=[];if(a&&A.push(_[R]<=0),l&&A.push(_[T]<=0,_[D]<=0),A.every((function(e){return e}))){O=x,E=!1;break}S.set(x,A)}if(E)for(var P=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},k=h?3:1;k>0&&"break"!==P(k);k--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function mf(e,t,n){return pp(e,fp(t,n))}const qf={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,q=ff(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Jp(t.placement),y=Zp(t.placement),b=!y,v=Qp(g),C="x"===v?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,O=t.rects.popper,I="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,x="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,w={x:0,y:0};if(S){if(a){var L,N="y"===v?Tp:Pp,_="y"===v?Dp:Ap,T="y"===v?"height":"width",D=S[v],A=D+q[N],P=D-q[_],k=f?-O[T]/2:0,M=y===Fp?E[T]:O[T],F=y===Fp?-O[T]:-E[T],B=t.elements.arrow,j=f&&B?Ip(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=z[N],G=z[_],V=mf(0,E[T],j[T]),U=b?E[T]/2-k-V-$-x.mainAxis:M-V-$-x.mainAxis,W=b?-E[T]/2+k+V+G+x.mainAxis:F+V+G+x.mainAxis,H=t.elements.arrow&&_p(t.elements.arrow),K=H?"y"===v?H.clientTop||0:H.clientLeft||0:0,X=null!=(L=null==R?void 0:R[v])?L:0,Y=D+W-X,J=mf(f?fp(A,D+U-X-K):A,D,f?pp(P,Y):P);S[v]=J,w[v]=J-D}if(l){var Z,Q="x"===v?Tp:Pp,ee="x"===v?Dp:Ap,te=S[C],ne="y"===C?"height":"width",re=te+q[Q],oe=te-q[ee],ae=-1!==[Tp,Pp].indexOf(g),ie=null!=(Z=null==R?void 0:R[C])?Z:0,le=ae?re:te-E[ne]-O[ne]-ie+x.altAxis,se=ae?te+E[ne]+O[ne]-ie-x.altAxis:oe,ce=f&&ae?function(e,t,n){var r=mf(e,t,n);return r>n?n:r}(le,te,se):mf(f?le:re,te,f?se:oe);S[C]=ce,w[C]=ce-te}t.modifiersData[r]=w}},requiresIfExists:["offset"]},gf={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Jp(n.placement),s=Qp(l),c=[Pp,Ap].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return df("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pf(e,Mp))}(o.padding,n),d=Ip(a),p="y"===s?Tp:Pp,f="y"===s?Dp:Ap,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],q=_p(a),g=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,y=h/2-m/2,b=u[p],v=g-d[c]-u[f],C=g/2-d[c]/2+y,S=mf(b,C,v),E=s;n.modifiersData[r]=((t={})[E]=S,t.centerOffset=S-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&sf(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function yf(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bf(e){return[Tp,Ap,Dp,Pp].some((function(t){return e[t]>=0}))}var vf=Xp({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=sp(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,Yp)})),l&&s.addEventListener("resize",n.update,Yp),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Yp)})),l&&s.removeEventListener("resize",n.update,Yp)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ef({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:Jp(t.placement),variation:Zp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nf(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nf(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];up(o)&&bp(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});up(r)&&bp(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Gp.reduce((function(e,n){return e[n]=function(e,t,n){var r=Jp(e),o=[Pp,Tp].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Pp,Ap].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},hf,qf,gf,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ff(t,{elementContext:"reference"}),l=ff(t,{altBoundary:!0}),s=yf(i,r),c=yf(l,o,a),u=bf(s),d=bf(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function Cf(e){return ci("MuiPopper",e)}function Sf(e){return"function"==typeof e?e():e}ui("MuiPopper",["root"]);const Ef={},Of=r.forwardRef((function(e,t){const{anchorEl:n,children:o,direction:a,disablePortal:i,modifiers:l,open:s,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:h,ownerState:m,...q}=e,g=r.useRef(null),y=Ol(g,t),b=r.useRef(null),v=Ol(b,d),C=r.useRef(v);oa((()=>{C.current=v}),[v]),r.useImperativeHandle(d,(()=>b.current),[]);const S=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,a),[E,O]=r.useState(S),[I,x]=r.useState(Sf(n));r.useEffect((()=>{b.current&&b.current.forceUpdate()})),r.useEffect((()=>{n&&x(Sf(n))}),[n]),oa((()=>{if(!I||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=l&&(e=e.concat(l)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=vf(I,g.current,{placement:S,...u,modifiers:e});return C.current(t),()=>{t.destroy(),C.current(null)}}),[I,i,l,s,u,S]);const R={placement:E};null!==h&&(R.TransitionProps=h);const w=(e=>{const{classes:t}=e;return wi({root:["root"]},Cf,t)})(e),L=f.root??"div",N=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...a}=e,i=o?{}:Qs(n,r),{props:l,internalRef:s}=nc({...a,externalSlotProps:i}),c=Ol(s,i?.ref,e.additionalProps?.ref);return Zs(t,{...l,ref:c},r)}({elementType:L,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:w.root});return(0,Yo.jsx)(L,{...N,children:"function"==typeof o?o(R):o})})),If=Bi(r.forwardRef((function(e,t){const{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=Ef,popperRef:f,style:h,transition:m=!1,slotProps:q={},slots:g={},...y}=e,[b,v]=r.useState(!0);if(!s&&!u&&(!m||b))return null;let C;if(a)C=a;else if(n){const e=Sf(n);C=e&&void 0!==e.nodeType?xs(e).body:xs(null).body}const S=u||!s||m&&!b?void 0:"none",E=m?{in:u,onEnter:()=>{v(!1)},onExited:()=>{v(!0)}}:void 0;return(0,Yo.jsx)(Js,{disablePortal:l,container:C,children:(0,Yo.jsx)(Of,{anchorEl:n,direction:i,disablePortal:l,modifiers:c,ref:t,open:m?!b:u,placement:d,popperOptions:p,popperRef:f,slotProps:q,slots:g,...y,style:{position:"fixed",top:0,left:0,display:S,...h},TransitionProps:E,children:o})})})),{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xf=r.forwardRef((function(e,t){const n=Qo(),r=ji({props:e,name:"MuiPopper"}),{anchorEl:o,component:a,components:i,componentsProps:l,container:s,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:q,slots:g,slotProps:y,...b}=r,v=g?.root??i?.Root,C={anchorEl:o,container:s,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:q,...b};return(0,Yo.jsx)(If,{as:a,direction:n?"rtl":"ltr",slots:{root:v},slotProps:y??l,...C,ref:t})}));function Rf(e){return ci("MuiTooltip",e)}const wf=ui("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Lf=Bi(xf,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(pl((({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${wf.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${wf.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${wf.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${wf.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${wf.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${wf.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${wf.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${wf.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]})))),Nf=Bi("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${fl(n.placement.split("-")[0])}`]]}})(pl((({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:br(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${wf.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${wf.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${wf.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5+"em"),fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${wf.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${wf.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t}))),_f=Bi("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(pl((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:br(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))));let Tf=!1;const Df=new Gl;let Af={x:0,y:0};function Pf(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const kf=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiTooltip"}),{arrow:o=!1,children:a,classes:i,components:l={},componentsProps:s={},describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:d=!1,disableInteractive:p=!1,disableTouchListener:f=!1,enterDelay:h=100,enterNextDelay:m=0,enterTouchDelay:q=700,followCursor:g=!1,id:y,leaveDelay:b=0,leaveTouchDelay:v=1500,onClose:C,onOpen:S,open:E,placement:O="bottom",PopperComponent:I,PopperProps:x={},slotProps:R={},slots:w={},title:L,TransitionComponent:N,TransitionProps:_,...T}=n,D=r.isValidElement(a)?a:(0,Yo.jsx)("span",{children:a}),A=Wo(),P=Qo(),[k,M]=r.useState(),[F,B]=r.useState(null),j=r.useRef(!1),z=p||g,$=Vl(),G=Vl(),V=Vl(),U=Vl(),[W,H]=qu({controlled:E,default:!1,name:"Tooltip",state:"open"});let K=W;const X=Sl(y),Y=r.useRef(),J=Rl((()=>{void 0!==Y.current&&(document.body.style.WebkitUserSelect=Y.current,Y.current=void 0),U.clear()}));r.useEffect((()=>J),[J]);const Z=e=>{Df.clear(),Tf=!0,H(!0),S&&!K&&S(e)},Q=Rl((e=>{Df.start(800+b,(()=>{Tf=!1})),H(!1),C&&K&&C(e),$.start(A.transitions.duration.shortest,(()=>{j.current=!1}))})),ee=e=>{j.current&&"touchstart"!==e.type||(k&&k.removeAttribute("title"),G.clear(),V.clear(),h||Tf&&m?G.start(Tf?m:h,(()=>{Z(e)})):Z(e))},te=e=>{G.clear(),V.start(b,(()=>{Q(e)}))},[,ne]=r.useState(!1),re=e=>{El(e.target)||(ne(!1),te(e))},oe=e=>{k||M(e.currentTarget),El(e.target)&&(ne(!0),ee(e))},ae=e=>{j.current=!0;const t=D.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect((()=>{if(K)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&Q(e)}}),[Q,K]);const ie=Il(Ns(D),M,t);L||0===L||(K=!1);const le=r.useRef(),se={},ce="string"==typeof L;c?(se.title=K||!ce||d?null:L,se["aria-describedby"]=K?X:null):(se["aria-label"]=ce?L:null,se["aria-labelledby"]=K&&!ce?X:null);const ue={...se,...T,...D.props,className:xi(T.className,D.props.className),onTouchStart:ae,ref:ie,...g?{onMouseMove:e=>{const t=D.props;t.onMouseMove&&t.onMouseMove(e),Af={x:e.clientX,y:e.clientY},le.current&&le.current.update()}}:{}},de={};f||(ue.onTouchStart=e=>{ae(e),V.clear(),$.clear(),J(),Y.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",U.start(q,(()=>{document.body.style.WebkitUserSelect=Y.current,ee(e)}))},ue.onTouchEnd=e=>{D.props.onTouchEnd&&D.props.onTouchEnd(e),J(),V.start(v,(()=>{Q(e)}))}),d||(ue.onMouseOver=Pf(ee,ue.onMouseOver),ue.onMouseLeave=Pf(te,ue.onMouseLeave),z||(de.onMouseOver=ee,de.onMouseLeave=te)),u||(ue.onFocus=Pf(oe,ue.onFocus),ue.onBlur=Pf(re,ue.onBlur),z||(de.onFocus=oe,de.onBlur=re));const pe={...n,isRtl:P,arrow:o,disableInteractive:z,placement:O,PopperComponentProp:I,touch:j.current},fe="function"==typeof R.popper?R.popper(pe):R.popper,he=r.useMemo((()=>{let e=[{name:"arrow",enabled:Boolean(F),options:{element:F,padding:4}}];return x.popperOptions?.modifiers&&(e=e.concat(x.popperOptions.modifiers)),fe?.popperOptions?.modifiers&&(e=e.concat(fe.popperOptions.modifiers)),{...x.popperOptions,...fe?.popperOptions,modifiers:e}}),[F,x.popperOptions,fe?.popperOptions]),me=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e;return wi({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${fl(a.split("-")[0])}`],arrow:["arrow"]},Rf,t)})(pe),qe="function"==typeof R.transition?R.transition(pe):R.transition,ge={slots:{popper:l.Popper,transition:l.Transition??N,tooltip:l.Tooltip,arrow:l.Arrow,...w},slotProps:{arrow:R.arrow??s.arrow,popper:{...x,...fe??s.popper},tooltip:R.tooltip??s.tooltip,transition:{..._,...qe??s.transition}}},[ye,be]=rc("popper",{elementType:Lf,externalForwardedProps:ge,ownerState:pe,className:xi(me.popper,x?.className)}),[ve,Ce]=rc("transition",{elementType:Us,externalForwardedProps:ge,ownerState:pe}),[Se,Ee]=rc("tooltip",{elementType:Nf,className:me.tooltip,externalForwardedProps:ge,ownerState:pe}),[Oe,Ie]=rc("arrow",{elementType:_f,className:me.arrow,externalForwardedProps:ge,ownerState:pe,ref:B});return(0,Yo.jsxs)(r.Fragment,{children:[r.cloneElement(D,ue),(0,Yo.jsx)(ye,{as:I??xf,placement:O,anchorEl:g?{getBoundingClientRect:()=>({top:Af.y,left:Af.x,right:Af.x,bottom:Af.y,width:0,height:0})}:k,popperRef:le,open:!!k&&K,id:X,transition:!0,...de,...be,popperOptions:he,children:({TransitionProps:e})=>(0,Yo.jsx)(ve,{timeout:A.transitions.duration.shorter,...e,...Ce,children:(0,Yo.jsxs)(Se,{...Ee,children:[L,o?(0,Yo.jsx)(Oe,{...Ie}):null]})})})]})})),Mf=kf,Ff=Bi(Cl,{shouldForwardProp:e=>!["width","dense"].includes(e)})((({width:e,dense:t})=>({minWidth:`${e}px`,textAlign:"center",fontSize:t?"12px":"14px",whiteSpace:"normal",...t&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));function Bf({width:e,text:t,dense:n,tooltip:o}){const{translator:a}=(0,r.useContext)(bi);return r.createElement(Mf,{title:o?a.get(t):""},r.createElement(Ff,{width:e,dense:n,component:"div",variant:"body1",py:"12px"},a.get(t)))}const jf=xu((0,Yo.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),zf=Bi(Rc)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),$f=Bi("div")((()=>({paddingLeft:"6px",flexGrow:1}))),Gf=Bi("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),Vf=Bi(jf)((()=>({fontSize:"14px"})));function Uf({text:e,dismiss:t,dense:n,parentWidth:o=0}){const a="function"==typeof t,i=n?370:282,l=Math.max(o/2-i/2,0),s=Math.min(i,o)-42,c=n&&o<i;return r.createElement(zf,{left:l,style:{maxWidth:i}},r.createElement($f,null,r.createElement(Bf,{text:e,dense:n,width:s,tooltip:c})),r.createElement(Gf,{dense:n},a&&r.createElement(vs,{"aria-label":"close",onClick:()=>t()},r.createElement(Vf,null))))}function Wf({itemWidth:e,layout:t,frequencyMode:n}){const r=e>80,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["N",void 0].includes(n);return!(!r||!a&&!o)}const Hf=e=>e&&"]"!==e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:`[${e.replace(/\]/g,"]]")}]`:e,Kf=e=>{const t=Hf(e);return`Max(AGGR(Count(${t}), ${t}))`},Xf=Bi("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function Yf({model:e,app:t,constraints:n,layout:o,selections:a,selectionState:i,direction:l,checkboxes:s,height:c,width:u,frequencyMode:d,update:p,fetchStart:f,postProcessPages:h,calculatePagesHeight:m=!1,keyboard:q={},showGray:g=!0,scrollState:y,keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:v={set:()=>{}},renderedCallback:C,onCtrlF:S,showSearch:E,isModal:O,styles:I}){const{translator:x}=(0,r.useContext)(bi),[R,w]=(0,r.useState)(!1),L=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:N=s,histogram:_}=o??{},T=(0,r.useRef)(null),D=(0,r.useRef)({queue:[],validPages:!1,dataOffset:0}),A=(0,r.useRef)({pages:[]}),{frequencyMax:P,awaitingFrequencyMax:k}=((e,t)=>{const n=(e=>"fetch"===e?.frequencyMax)(t),[o,a]=(0,r.useState)(),[i,l]=(0,r.useState)(n);return(0,r.useEffect)((()=>{n&&(async()=>{const n=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=Kf(r);return(await t.evaluateEx(o)).qNumber})(t,e);a(n),l(!1)})()}),[n&&t]),{frequencyMax:n?o:t?.frequencyMax,awaitingFrequencyMax:i}})(t,o),{isLoadingData:M,...F}=function({local:e,loaderRef:t,model:n,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}){const[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)([]);let[p]=(0,r.useState)(0);const f=(r,s)=>{const u=e.current.dataOffset;e.current.queue.push({start:r+u,stop:s+u});const f=!!t.current&&t.current._listRef&&t.current._listRef.state.isScrolling;return e.current.queue.length>10&&e.current.queue.shift(),clearTimeout(e.current.timeout),c(!0),new Promise((t=>{e.current.timeout=setTimeout((()=>{const r=e.current.queue.slice(-1)[0],a=n.getListObjectData("/qListObjectDef",[{qTop:r.start>p?r.start-p:0,qHeight:p,qLeft:0,qWidth:1},{qTop:r.start,qHeight:p,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;e.current.validPages=!0,l.current.pages=r,d(r),c(!1),t()}));o&&o(a)}),f?a:0)}))};return{loadMoreItems:{with:({minimumBatchSize:e})=>(e&&(p=e),f)},pages:u,isLoading:s}}({local:D,loaderRef:T,model:e,fetchStart:f,scrollTimeout:0,postProcessPages:h,listData:A}),{getStoreValue:B,setStoreValue:j}=lp(e),z=(0,r.useCallback)(F.loadMoreItems,[o]),[$,G]=(0,r.useState)({show:!1,dismissed:!1}),[V,U]=(0,r.useState)([]);F?.pages&&i.update({setPages:U,pages:F.pages,isSingleSelect:L,layout:o});const W=o?.qListObject.qDimensionInfo.qCardinal;(F?.pages.length&&!k||0===W)&&C?.();const H=(0,r.useCallback)((e=>{if(!V?.length||!D.current.validPages)return!1;D.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=V.filter((e=>t(e)))[0];return n&&t(n)}),[o,V]),{interactionEvents:K,select:X}=function({selectionState:e,selections:t,checkboxes:n=!1,doc:o=document,loaderRef:a}){const i=(0,r.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});(0,r.useEffect)((()=>{if(!a.current?._listRef?._outerRef)return;const e=e=>e.preventDefault(),t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=a.current._listRef._outerRef;return r.addEventListener("gesturestart",e),r.addEventListener("gesturechange",t),r.addEventListener("gestureend",n),()=>{r.removeEventListener("gesturestart",e),r.removeEventListener("gesturechange",t),r.removeEventListener("gestureend",n)}}),[a.current?._listRef?._outerRef]);const l=async()=>!e.selectDisabled?.()&&(e.setSelectableValuesUpdating(),Vc({selections:t,elemNumbers:i.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:i.current.toggle})),s=(t,n)=>{const r=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return Gc(t)}(e.enginePages);return function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([t,n],r)},c=t=>{const{startElemNumber:n}=i.current;if(n===t)return;const r=s(i.current.startElemNumber,t);e.updateItems(r,!0,i.current.elemNumbers)},u=(0,r.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&Kc(t.nativeEvent);i.current.elemNumbers=[n],i.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),i.current.active=!1,l()}),[]),d=(0,r.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&Kc(t);i.current.isRange=!1,i.current.startElemNumber=n,i.current.elemNumbers=[n],i.current.toggle=r,i.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(i.current.active=!1,l()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),p=(0,r.useCallback)((e=>{if(0===e.button&&i.current.active){if(i.current.active=!1,i.current.isRange){const t=+e.currentTarget.getAttribute("data-n");c(t)}l()}}),[]),f=(0,r.useCallback)((e=>{0===e.button&&i.current.active&&(i.current.active=!1,l())}),[]),h=(0,r.useCallback)((t=>{if(!i.current.active)return;i.current.isRange||(i.current.isRange=!0,e.isSelected(i.current.startElemNumber)||(e.updateItem(i.current.startElemNumber,!0),i.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");c(n)}),[]),m=(0,r.useCallback)((t=>{if(i.current.active||i.current.isRange||e.isSingleSelect||t.touches.length<=1)return;if(t.touches.length>2)return void l();const n=Number(t.touches[0].target?.closest(Hc)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Hc)?.getAttribute("data-n"));Number.isNaN(n)||Number.isNaN(n)?l():(i.current.active=!0,s(n,r).length<7&&(i.current.touchRangeSmall=!0),i.current.elemNumbers=[],i.current.touchElemNumbers=[n,r])}),[]),q=(0,r.useCallback)((()=>{if(2!==i.current.touchElemNumbers.length)return;if(i.current.touchRangeSmall)return i.current.touchRangeSmall=!1,i.current.touchElemNumbers=[],void(i.current.active=!1);const[e,t]=i.current.touchElemNumbers;i.current.startElemNumber=e,c(t),i.current.touchElemNumbers=[],i.current.active=!1,i.current.toggle=!0,l()}),[]);(0,r.useEffect)((()=>(o.addEventListener("mouseup",f),()=>{o.removeEventListener("mouseup",f)})),[f]),(0,r.useEffect)((()=>{const n=()=>{e.clearItemStates(!1)},r=()=>{e.clearItemStates(!0),e.triggerStateChanged()};return t.on("clearItemStates",n),t.on("deactivated",n),t.on("cleared",r),()=>{t.removeListener("clearItemStates",n),t.removeListener("deactivated",n),t.removeListener("cleared",r)}}),[t]);const g={};return n?Object.assign(g,{onChange:u}):Object.assign(g,{onMouseUp:p,onMouseDown:d,onMouseEnter:h,onTouchStart:m,onTouchEnd:q}),{interactionEvents:g,select:async(n=[],r=!1,o=void 0)=>{if(e.selectDisabled?.())return!1;const a=!e.isSingleSelect&&Kc(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(n,r,i),e.setSelectableValuesUpdating(),Vc({selections:t,elemNumbers:r?i:n,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:i,selections:a,checkboxes:N,doc:document,loaderRef:T}),{layoutOptions:Y={}}=o||{};let J=!0;Y.dataLayout&&(J="singleColumn"===Y.dataLayout||"row"===Y?.layoutOrder);const Z="grid"===Y?.dataLayout,Q=e=>{const t={...J?{rowIndex:e}:{columnIndex:e}},n=Z?t:e;T.current._listRef.scrollToItem(n)},ee=()=>{if(D.current.queue=[],D.current.validPages=!1,T.current){T.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());D.current.dataOffset=0,Q(0)}};p&&p.call(null,ee),(0,r.useEffect)((()=>{y&&!R&&T.current&&(T.current._listRef.scrollToItem(y.initScrollPos),w(!0))}),[T.current]),(0,r.useEffect)((()=>{ee()}),[o,D.current.dataOffset]);let te=100;const ne="grid"!==Y.dataLayout,re=o?.qListObject.qSize?.qcy,oe=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){const o=e?.length&&r?(({pages:e=[],minimumBatchSize:t,count:n})=>{const r=e.some((e=>e.qArea.qHeight<t)),o=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return r?o:n})({pages:e,minimumBatchSize:t,count:n}):n;return o||0}({pages:V,minimumBatchSize:te,count:re,calculatePagesHeight:m,layoutOptions:Y,model:e});let ae=Wf({itemWidth:u,layout:o,frequencyMode:d});const ie=function(e){return e.some((({qMatrix:e})=>e.some((([e])=>!!e.qFrequency?.match("%")))))?"P":"-"}(V),le=function({layout:e,width:t,height:n,listCount:r,count:o,freqIsAllowed:a,checkboxes:i,styles:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:p,dataLayout:f}=s,{fontSize:h="12px",fontFamily:m="Source sans pro"}=l?.content||{},q=`${h} ${m}`,g=np({text:rp(e),font:q}),y=np({text:rp(5),font:q}),b=np({text:rp(8),font:q}),v=a?y:0,C=i?20:0;let S=56+v+C;!i&&S>=80&&(S+=20);let E,O,I,x,R=g+18+v+C;!i&&R>=80&&(R+=20),R=Math.min(150,Math.max(R,S));const w=op({isGridMode:"grid"===f,dense:p}),L=n??8*w;if(c){let e=t;"row"===c?(E={overflowX:"hidden"},e+=8,({rowCount:x,columnWidth:I,columnCount:O}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-10;let l;const s=Math.min(t,Math.max(1,Math.round(i/Math.max(o,r))));l=!1!==e?.auto?s:Math.min(t,a,s),l=Math.max(l,1);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:R,itemMinWidth:S}))):(E={overflowY:"hidden"},({rowCount:x,columnWidth:I,columnCount:O}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c),l=Math.max(l,1);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:w,listCount:r,listHeight:L,columnAutoWidth:R,containerWidth:e,itemMinWidth:S})))}O=("singleColumn"===f?1:O)||1,x=("singleColumn"===f?o:x)||r;const N=s.dense?838e3:577e3;x=Math.min(x,N);const _=Math.floor(3355e4/I);O=Math.min(O,_)||1;const T=x*O;return{columnCount:O,columnWidth:I,rowCount:x,overflowStyling:E,itemHeight:w,listHeight:L,listWidth:t,scrollBarWidth:10,count:o,listCount:Math.min(r,T),maxCount:{row:N,column:_},itemPadding:4,textWidth:g,freqMinWidth:y,freqMaxWidth:b}}({layout:o,width:u,height:c,listCount:oe,count:re,freqIsAllowed:ae,checkboxes:N,styles:I});le.columnWidth&&(ae=Wf({itemWidth:le.columnWidth,layout:o,frequencyMode:d}));const{listCount:se}=le;j("listCount",se);const ce=B("inputText"),ue=function({layout:e,searchInputText:t,listCount:n}){const{translator:o}=(0,r.useContext)(bi),a=[];if(t?.length){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(n),t=o.get(e,[n]);a.push(t)}const i=function({layout:e,translatorDynamic:t}){const{qStateCounts:n={}}=e?.qListObject?.qDimensionInfo||{},r=n.qSelected+n.qSelectedExcluded+n.qLocked+n.qLockedExcluded;let o;switch(r){case 0:o="ScreenReader.ZeroSelected";break;case 1:o="ScreenReader.OneSelected";break;default:o="ScreenReader.ManySelected"}return t.get(o,[r])}({layout:e,translatorDynamic:o});a.push(i);const l=a.filter((e=>!!e?.length)).join(". ");return l}({layout:o,searchInputText:ce,listCount:se}),de=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function({position:e,isRow:t,sizes:n,layout:r,offset:o}){let a,i=!1,l=o??0;switch(e){case"start":a=0;break;case"end":a=t?n.rowCount:n.columnCount;break;case"overflowStart":l=0,a=0,i=!0;break;case"overflowEnd":l=((e,t)=>e.qListObject.qDimensionInfo.qCardinal-t)(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:J,sizes:le,layout:o,offset:D.current.dataOffset});D.current.dataOffset=n,r&&i.triggerStateChanged(),Q(t)};(0,r.useEffect)((()=>{const e=b.state;e.up?Q(v.state.start-e.up):e.down?Q(v.state.stop+e.down):e.scrollPosition&&de(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:pe}=o?.qListObject.qDimensionInfo||{},[fe,he]=(0,r.useState)({first:!1,last:!1}),{List:me,Grid:qe}=function({layout:e,width:t,checkboxes:n,local:o,isVertical:a,pages:i,selectionState:l,interactionEvents:s,deducedFrequencyMode:c,histogram:u,isSingleSelect:d,select:p,selectAll:f,onCtrlF:h,textAlign:m,selections:q,keyboard:g,showGray:y,scrollState:b,direction:v,sizes:C,listCount:S,overflowDisclaimer:E,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:x,constraints:R,frequencyMax:w,freqIsAllowed:L,translator:N,showSearch:_,isModal:T,styles:D}){const{layoutOptions:A={}}=e||{},{columnWidth:P,listHeight:k,itemHeight:M,rowCount:F,columnCount:B}=C||{},j=("grid"===A.dataLayout?P:t)>80,z={direction:"rtl"===v?"rtl":"ltr",useIsScrolling:!0,className:Jd},$=e?.qListObject.qDimensionInfo.qLocked,G=k<=M,V={isLocked:$,column:!a,pages:i,...$||l.selectDisabled()?{}:s,checkboxes:n,layoutOptions:A,deducedFrequencyMode:c,freqIsAllowed:L,isSingleSelect:d,textAlign:m,sizes:C,actions:{select:p,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:f,onCtrlF:h},frequencyMax:w,histogram:u,keyboard:g,showGray:y,showTick:j,dataOffset:o.current.dataOffset,focusListItems:I,direction:v,translator:N,showSearch:_,isModal:T,styles:D,fillHeight:G};return{List:({onItemsRendered:n,ref:a})=>(o.current.listRef=a,r.createElement(ep,Qd({},z,{dataTestid:"fixed-size-list",scrollDisabled:R?.active,height:k,width:t,itemCount:S,itemData:{...V,listCount:S},itemSize:M,onItemsRendered:t=>{x({start:t.visibleStartIndex,stop:t.visibleStopIndex}),b&&b.setScrollPos(t.visibleStopIndex),Zd({renderProps:t,layoutOptions:A,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:E,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),n({...t})},ref:a}),Nd)),Grid:({onItemsRendered:n,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=A||{},c=Math.min(k,F*M+l);return o.current.listRef=a,r.createElement(tp,Qd({},z,{dataTestid:"fixed-size-grid",scrollDisabled:R?.active,height:c,width:t,columnCount:B,columnWidth:P,rowCount:F,rowHeight:M,style:{...i},itemData:{...V,column:void 0,columnCount:B,rowCount:F},onItemsRendered:t=>{const r="row"===s;x({start:r?t.visibleRowStartIndex:t.visibleColumnStartIndex,stop:r?t.visibleRowStopIndex:t.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,p,f,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,p=i,f=c*o,h=l):(d=s,p=i*a,f=c,h=l*a),{visibleStartIndex:d+p,visibleStopIndex:f+h}}({renderProps:t,scrollState:b,layoutOrder:s,rowCount:F,columnCount:B});Zd({renderProps:t,layoutOptions:A,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:E,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),n(a)},ref:a}),Nd)}}}({direction:l,layout:o,height:c,width:u,checkboxes:N,deducedFrequencyMode:ie,histogram:_,keyboard:q,showGray:g,interactionEvents:K,select:X,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:pe,isVertical:ne,pages:V,selectionState:i,isSingleSelect:L,selections:a,scrollState:y,local:D,sizes:le,listCount:se,overflowDisclaimer:{state:$,set:e=>G((t=>({...t,show:e})))},setScrollPosition:de,focusListItems:{first:fe.first,setFirst:e=>he((t=>({...t,first:e}))),last:fe.last,setLast:e=>he((t=>({...t,last:e})))},setCurrentScrollIndex:v.set,constraints:n,frequencyMax:P,freqIsAllowed:ae,translator:x,showSearch:E,isModal:O,styles:I}),{columnWidth:ge,listHeight:ye,itemHeight:be}=le||{};return ne||(te=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:ge,listHeight:ye,itemHeight:be})),r.createElement(Xf,null,r.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},ue),!se&&W>0&&r.createElement(Bf,{width:u,text:"Listbox.NoMatchesForYourTerms"}),r.createElement(zc,{isItemLoaded:H,itemCount:se||1,loadMoreItems:z.with({minimumBatchSize:te}),threshold:0,minimumBatchSize:te,ref:T,role:"grid"},ne?me:qe),$.show&&!$.dismissed&&r.createElement(Uf,{text:"Listbox.ItemsOverflow",dismiss:()=>G((e=>({...e,dismissed:!0}))),parentWidth:T?.current?._listRef?.props?.width,dense:Y?.dense}))}const Jf=e=>({...e,shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),Zf=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Qf=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),eh=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),th=({layout:e,model:t,translator:n,selectionState:r,isDirectQuery:o=!1,selections:a})=>{if(e.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];const i="/qListObjectDef",l=()=>{a.isActive()||a.begin(i)};return[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:Jf,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectAll(i)}},{key:"selectPossible",type:"menu-icon-button",label:n.get("Selection.SelectPossible"),getSvgIconShape:Qf,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectPossible(i)}},!o&&{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:Zf,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectAlternative(i)}},!o&&{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:eh,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectExcluded(i)}}].filter(Boolean)};function nh(e){return ci("MuiDivider",e)}const rh=ui("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),oh=Bi("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(pl((({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:br(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]})))),ah=Bi("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(pl((({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]})))),ih=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,orientation:i="horizontal",component:l=(o||"vertical"===i?"div":"hr"),flexItem:s=!1,light:c=!1,role:u=("hr"!==l?"separator":void 0),textAlign:d="center",variant:p="fullWidth",...f}=n,h={...n,absolute:r,component:l,flexItem:s,light:c,orientation:i,role:u,textAlign:d,variant:p},m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e;return wi({root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},nh,r)})(h);return(0,Yo.jsx)(oh,{as:l,className:xi(m.root,a),role:u,ref:t,ownerState:h,"aria-orientation":"separator"!==u||"hr"===l&&"vertical"!==i?void 0:i,...f,children:o?(0,Yo.jsx)(ah,{className:m.wrapper,ownerState:h,children:o}):null})}));ih&&(ih.muiSkipListHighlight=!0);const lh=ih,sh=e=>({...e,shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function ch(e){const t=Wo(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const uh={className:"njs-cell-action"},dh=r.forwardRef((({ariaExpanded:e=!1,item:t,addAnchor:n=!1},o)=>{const a=Wo(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=ch(t);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=t.keyboardAction||t.action,p=d?e=>["Enter"].includes(e.key)&&d():null,f=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,h=`actions-toolbar-${t.key}`;return r.createElement(vs,{ref:n?null:o,title:t.label,onClick:t.action,onKeyDown:p,onKeyUp:f,disabled:l,style:s,className:[uh.className,h].join(" "),size:"large",disableRipple:!0,"aria-label":t.label,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":h},c&&ll(t.getSvgIconShape()),n&&r.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),ph=dh,fh=e=>({...e,shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),hh=e=>ll(fh(e)),mh=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]}),qh=e=>ll(mh(e)),gh=r.createContext({}),yh=oa;function bh(e){return ci("MuiListItemIcon",e)}const vh=ui("MuiListItemIcon",["root","alignItemsFlexStart"]),Ch=ui("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Sh(e){return ci("MuiMenuItem",e)}const Eh=ui("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Oh=Bi(os,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(pl((({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Eh.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:br(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Eh.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Eh.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:br(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Eh.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Eh.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${rh.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${rh.inset}`]:{marginLeft:52},[`& .${Ch.root}`]:{marginTop:0,marginBottom:0},[`& .${Ch.inset}`]:{paddingLeft:36},[`& .${vh.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${vh.root} svg`]:{fontSize:"1.25rem"}}}]})))),Ih=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p,...f}=n,h=r.useContext(gh),m=r.useMemo((()=>({dense:i||h.dense||!1,disableGutters:s})),[h.dense,i,s]),q=r.useRef(null);yh((()=>{o&&q.current&&q.current.focus()}),[o]);const g={...n,dense:m.dense,divider:l,disableGutters:s},y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e,l=wi({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},Sh,i);return{...i,...l}})(n),b=Il(q,t);let v;return n.disabled||(v=void 0!==d?d:-1),(0,Yo.jsx)(gh.Provider,{value:m,children:(0,Yo.jsx)(Oh,{ref:b,role:u,tabIndex:v,component:a,focusVisibleClassName:xi(y.focusVisible,c),className:xi(y.root,p),...f,ownerState:g,classes:y})})})),xh=Ih,Rh=Bi("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(pl((({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]})))),wh=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiListItemIcon"}),{className:o,...a}=n,i=r.useContext(gh),l={...n,alignItems:i.alignItems},s=(e=>{const{alignItems:t,classes:n}=e;return wi({root:["root","flex-start"===t&&"alignItemsFlexStart"]},bh,n)})(l);return(0,Yo.jsx)(Rh,{className:xi(s.root,o),ownerState:l,ref:t,...a})})),Lh=wh;function Nh(e){return ci("MuiList",e)}ui("MuiList",["root","padding","dense","subheader"]);const _h=Bi("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Th=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c,...u}=n,d=r.useMemo((()=>({dense:l})),[l]),p={...n,component:i,dense:l,disablePadding:s},f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return wi({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Nh,t)})(p);return(0,Yo.jsx)(gh.Provider,{value:d,children:(0,Yo.jsxs)(_h,{as:i,className:xi(f.root,a),ref:t,ownerState:p,...u,children:[c,o]})})})),Dh=Th,Ah=pc;function Ph(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function kh(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Mh(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function Fh(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Mh(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Bh=r.forwardRef((function(e,t){const{actions:n,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu",...p}=e,f=r.useRef(null),h=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});yh((()=>{o&&f.current.focus()}),[o]),r.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${Ah(Ls(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const m=Il(f,t);let q=-1;r.Children.forEach(i,((e,t)=>{r.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=t),q===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1))):q===t&&(q+=1,q>=i.length&&(q=-1))}));const g=r.Children.map(i,((e,t)=>{if(t===q){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),r.cloneElement(e,t)}return e}));return(0,Yo.jsx)(Dh,{role:"menu",ref:m,className:l,onKeyDown:e=>{const t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(u&&u(e));const r=Rs(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Fh(t,r,c,s,Ph);else if("ArrowUp"===n)e.preventDefault(),Fh(t,r,c,s,kh);else if("Home"===n)e.preventDefault(),Fh(t,null,c,s,Ph);else if("End"===n)e.preventDefault(),Fh(t,null,c,s,kh);else if(1===n.length){const o=h.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=r&&!o.repeating&&Mh(r,o);o.previousKeyMatched&&(l||Fh(t,r,!1,s,Ph,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1,...p,children:g})}));function jh(){return jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jh.apply(null,arguments)}const zh="More-icon",$h=Bi(Mc)((({theme:e})=>({pointerEvents:"none",[`& .${zh} *`]:{color:e.palette.text.primary}})));function Gh({item:e,autoFocus:t,onActionClick:n=()=>{}}){const{hidden:o,disabled:a,hasSvgIconShape:i}=ch(e);return o?null:r.createElement(xh,{autoFocus:t,title:e.label,onClick:()=>{e.action(),n()},disabled:a,tabindex:"0"},i&&r.createElement(Lh,{className:zh},ll(e.getSvgIconShape())),r.createElement(Cl,{noWrap:!0},e.label))}const Vh=r.forwardRef((({actions:e=[],show:t=!0,alignTo:n,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=()=>{},disablePortal:l=!0},s)=>{const c=e.length>0,u=e.findIndex((e=>!e.disabled));return c&&r.createElement($h,jh({},o,{onClose:i,ref:s,open:t,anchorEl:n.current,getContentAnchorEl:l?null:void 0,container:l?n.current:void 0,disablePortal:l,hideBackdrop:!0,transitionDuration:0,slotProps:{root:{className:"njs-action-toolbar-more"},paper:{style:{pointerEvents:"auto",maxWidth:"250px",...a}}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}),r.createElement(Bh,{id:"moreMenuList"},e.map(((e,t)=>r.createElement(Gh,{key:t,item:e,autoFocus:t===u,onActionClick:i})))))}));const Uh="ActionsToolbar",Wh={item:`${Uh}-item`,itemSpacing:`${Uh}-itemSpacing`},Hh=Bi(Mc)((({theme:e})=>({[`& .${Wh.itemSpacing}`]:{padding:e.spacing(0,.25)}}))),Kh=r.forwardRef((({className:e,ariaExpanded:t=!1,actions:n=[],addAnchor:o=!1,isRtl:a=!1},i)=>n.length>0?r.createElement(Xi,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:e},n.map(((e,n)=>r.createElement(Xi,{item:!0,key:e.key,className:`${Wh.itemSpacing} ${Wh.item}`},r.createElement(ph,{ariaExpanded:t,key:e.key,item:e,ref:0===n?i:null,addAnchor:o}))))):null)),Xh={pointerEvents:"none"},Yh=function({show:e=!0,actions:t=[],maxItems:n=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},extraItems:a,more:i={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{},disablePortal:!0},popover:l={show:!1,anchorEl:null},focusHandler:s=null,actionsRefMock:c=null,isRtl:u,autoConfirm:d=!1,layout:p}){const f=function({api:e,layout:t,onConfirm:n=()=>{},onCancel:o=()=>{},onKeyDeactivate:a=()=>{}}){const{translator:i}=(0,r.useContext)(bi);return[{key:"clear",type:"icon-button",label:i.get("Selection.Clear"),enabled:()=>e.canClear(t),action:()=>e.clear(),getSvgIconShape:mh},{key:"cancel",type:"icon-button",label:i.get("Selection.Cancel"),enabled:()=>e.canCancel(t),action:()=>{o(),e.cancel()},keyboardAction:()=>{a(),o(),e.cancel()},getSvgIconShape:fh},{key:"confirm",type:"icon-button",label:i.get("Selection.Confirm"),enabled:()=>e.canConfirm(t),action:()=>{n(),e.confirm()},keyboardAction:()=>{a(),n(),e.confirm()},getSvgIconShape:Xc}]}({...o,layout:p}),{translator:h,keyboardNavigation:m}=(0,r.useContext)(bi),[q,g]=(0,r.useState)(!1),y={vertical:12,horizontal:u?0:(l.anchorEl?.clientWidth??0)-7},b={vertical:"bottom",horizontal:u?-7:"right"},v=(0,r.useRef)(),C=(0,r.useRef)(),S=Wo(),E=(0,r.useMemo)((()=>({margin:S.spacing(.5,0)}))),O=e=>{const t=v.current||c;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]},I=(0,r.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r,isRtl:o}){return a=>{const{target:i,nativeEvent:l}=a,{keyCode:s}=l;switch(s){case vd.ARROW_LEFT:case vd.ARROW_DOWN:case vd.ARROW_RIGHT:case vd.ARROW_UP:if(i.classList.contains("njs-cell-action")){const e=(e=>{const t=e.closest("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)})(i);let t=[vd.ARROW_LEFT,vd.ARROW_DOWN].includes(s);t=o?!t:t,(e=>{const t=document.querySelector("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");n.length&&n[Math.min(Math.max(0,e),n.length-1)].focus()})(t?e-1:e+1)}a.stopPropagation(),a.preventDefault();break;case vd.SPACE:a.preventDefault();break;case vd.TAB:e&&t?.refocusContent&&(a.shiftKey&&n(!1)===a.target||!a.shiftKey&&n(!0)===a.target)&&(a.preventDefault(),a.stopPropagation(),t.refocusContent());break;case vd.ESCAPE:r&&(r.onCancel(),r.api.cancel(),a.preventDefault(),a.stopPropagation())}}}({keyboardNavigation:m,focusHandler:s,getEnabledButton:O,selections:o,isRtl:u})),[m,s,O,o,u]);if((0,r.useEffect)((()=>()=>{g(!1)}),[l.show,e,o.show]),(0,r.useEffect)((()=>{s&&(s.on("focus_toolbar_first",(()=>{const e=O(!1);e?.focus()})),s.on("focus_toolbar_last",(()=>{const e=O(!0);e?.focus()})))}),[]),d)return;let x=i.enabled,R=i.actions;const w=i.alignTo||C,L=t.filter((e=>!e.hidden));if(L.length>n){const e=L.splice(-(L.length-n)-1);x=!0,R=[...e,...i.actions]}if(!o.show&&0===L.length&&!x)return null;const N={key:"more",label:h.get("Menu.More"),getSvgIconShape:sh,hidden:!1,active:q,enabled:()=>x,action:()=>g(!q)},_=L.length>0,T=R.length>0,D=_&&o.show||T&&o.show,A=r.createElement(Xi,{ref:v,onKeyDown:I,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:u?"row-reverse":"row"}},a?.length&&r.createElement(Kh,{className:"actions-toolbar-extra-actions",actions:a,isRtl:u}),_&&r.createElement(Kh,{actions:L}),T&&r.createElement(Kh,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:C,ariaExpanded:q,actions:[N],addAnchor:!0}),D&&r.createElement(Xi,{item:!0,className:Wh.itemSpacing,style:E},r.createElement(lh,{orientation:"vertical"})),o.show&&r.createElement(Kh,{className:"actions-toolbar-default-actions",actions:f,isRtl:u}),q&&r.createElement(Vh,{show:q,actions:R,alignTo:w,popoverProps:i.popoverProps,popoverPaperStyle:i.popoverPaperStyle,onCloseOrActionClick:()=>{g(!1)},disablePortal:i.disablePortal}));return l.show?r.createElement(Hh,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:l.show,anchorEl:l.anchorEl,anchorOrigin:y,transformOrigin:b,hideBackdrop:!0,style:Xh,onMouseDown:e=>{e.stopPropagation()},slotProps:{paper:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:S.spacing(.5,.25)}}}},A):e&&A};var Jh;const Zh=Bi("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Mi})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Qh=Bi("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Mi})(pl((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}))));function em(e){return ci("MuiInputBase",e)}const tm=ui("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function nm(e){return ci("MuiOutlinedInput",e)}const rm={...tm,...ui("MuiOutlinedInput",["root","notchedOutline","input"])};function om(e){return parseInt(e,10)||0}const am={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function im(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const lm=r.forwardRef((function(e,t){const{onChange:n,maxRows:o,minRows:a=1,style:i,value:l,...s}=e,{current:c}=r.useRef(null!=l),u=r.useRef(null),d=Ol(t,u),p=r.useRef(null),f=r.useRef(null),h=r.useCallback((()=>{const t=u.current,n=f.current;if(!t||!n)return;const r=ws(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=r.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const i=r.boxSizing,l=om(r.paddingBottom)+om(r.paddingTop),s=om(r.borderBottomWidth)+om(r.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let p=c;return a&&(p=Math.max(Number(a)*d,p)),o&&(p=Math.min(Number(o)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+("border-box"===i?l+s:0),overflowing:Math.abs(p-c)<=1}}),[o,a,e.placeholder]),m=xl((()=>{const e=u.current,t=h();if(!e||!t||im(t))return!1;const n=t.outerHeightStyle;return null!=p.current&&p.current!==n})),q=r.useCallback((()=>{const e=u.current,t=h();if(!e||!t||im(t))return;const n=t.outerHeightStyle;p.current!==n&&(p.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""}),[h]),g=r.useRef(-1);return oa((()=>{const e=Os(q),t=u?.current;if(!t)return;const n=ws(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver((()=>{m()&&(r.unobserve(t),cancelAnimationFrame(g.current),q(),g.current=requestAnimationFrame((()=>{r.observe(t)})))})),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}}),[h,q,m]),oa((()=>{q()})),(0,Yo.jsxs)(r.Fragment,{children:[(0,Yo.jsx)("textarea",{value:l,onChange:e=>{c||q(),n&&n(e)},ref:d,rows:a,style:i,...s}),(0,Yo.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...am,...i,paddingTop:0,paddingBottom:0}})]})})),sm=lm;function cm(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var um;const dm=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${fl(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},pm=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},fm=Bi("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dm})(pl((({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${tm.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]})))),hm=Bi("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pm})(pl((({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${tm.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${tm.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}}))),mm=function(e){return function(t){return(0,Yo.jsx)(ul,{styles:"function"==typeof e?n=>e({theme:n,...t}):e})}}({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),qm=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:l,color:s,components:c={},componentsProps:u={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:f,endAdornment:h,error:m,fullWidth:q=!1,id:g,inputComponent:y="input",inputProps:b={},inputRef:v,margin:C,maxRows:S,minRows:E,multiline:O=!1,name:I,onBlur:x,onChange:R,onClick:w,onFocus:L,onKeyDown:N,onKeyUp:_,placeholder:T,readOnly:D,renderSuffix:A,rows:P,size:k,slotProps:M={},slots:F={},startAdornment:B,type:j="text",value:z,...$}=n,G=null!=b.value?b.value:z,{current:V}=r.useRef(null!=G),U=r.useRef(),W=r.useCallback((e=>{}),[]),H=Il(U,v,b.ref,W),[K,X]=r.useState(!1),Y=su(),J=du({props:n,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});J.focused=Y?Y.focused:K,r.useEffect((()=>{!Y&&p&&K&&(X(!1),x&&x())}),[Y,p,K,x]);const Z=Y&&Y.onFilled,Q=Y&&Y.onEmpty,ee=r.useCallback((e=>{!function(e,t=!1){return e&&(cm(e.value)&&""!==e.value||t&&cm(e.defaultValue)&&""!==e.defaultValue)}(e)?Q&&Q():Z&&Z()}),[Z,Q]);yh((()=>{V&&ee({value:G})}),[G,ee,V]),r.useEffect((()=>{ee(U.current)}),[]);let te=y,ne=b;O&&"input"===te&&(ne=P?{type:void 0,minRows:P,maxRows:P,...ne}:{type:void 0,maxRows:S,minRows:E,...ne},te=sm),r.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(B))}),[Y,B]);const re={...n,color:J.color||"primary",disabled:J.disabled,endAdornment:h,error:J.error,focused:J.focused,formControl:Y,fullWidth:q,hiddenLabel:J.hiddenLabel,multiline:O,size:J.size,startAdornment:B,type:j},oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return wi({root:["root",`color${fl(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",p&&"medium"!==p&&`size${fl(p)}`,u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},em,t)})(re),ae=F.root||c.Root||fm,ie=M.root||u.root||{},le=F.input||c.Input||hm;return ne={...ne,...M.input??u.input},(0,Yo.jsxs)(r.Fragment,{children:[!f&&"function"==typeof mm&&(um||(um=(0,Yo.jsx)(mm,{}))),(0,Yo.jsxs)(ae,{...ie,ref:t,onClick:e=>{U.current&&e.currentTarget===e.target&&U.current.focus(),w&&w(e)},...$,...!Es(ae)&&{ownerState:{...re,...ie.ownerState}},className:xi(oe.root,ie.className,l,D&&"MuiInputBase-readOnly"),children:[B,(0,Yo.jsx)(lu.Provider,{value:null,children:(0,Yo.jsx)(le,{"aria-invalid":J.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:d,disabled:J.disabled,id:g,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:I,placeholder:T,readOnly:D,required:J.required,rows:P,value:G,onKeyDown:N,onKeyUp:_,type:j,...ne,...!Es(le)&&{as:te,ownerState:{...re,...ne.ownerState}},ref:H,className:xi(oe.input,ne.className,D&&"MuiInputBase-readOnly"),onBlur:e=>{x&&x(e),b.onBlur&&b.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):X(!1)},onChange:(e,...t)=>{if(!V){const t=e.target||U.current;if(null==t)throw new Error(_e(1));ee({value:t.value})}b.onChange&&b.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{L&&L(e),b.onFocus&&b.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):X(!0)}})}),h,A?A({...J,startAdornment:B}):null]})]})})),gm=qm,ym=Bi(fm,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:dm})(pl((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${rm.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${rm.focused} .${rm.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{[`&.${rm.focused} .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}}))),{props:{},style:{[`&.${rm.error} .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${rm.disabled} .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}}))),bm=Bi((function(e){const{children:t,classes:n,className:r,label:o,notched:a,...i}=e,l=null!=o&&""!==o,s={...e,notched:a,withLabel:l};return(0,Yo.jsx)(Zh,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,Yo.jsx)(Qh,{ownerState:s,children:l?(0,Yo.jsx)("span",{children:o}):Jh||(Jh=(0,Yo.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(pl((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}))),vm=Bi(hm,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pm})(pl((({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]})))),Cm=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:c,slots:u={},slotProps:d={},type:p="text",...f}=n,h=(e=>{const{classes:t}=e,n=wi({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},nm,t);return{...t,...n}})(n),m=su(),q=du({props:n,muiFormControl:m,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),g={...n,color:q.color||"primary",disabled:q.disabled,error:q.error,focused:q.focused,formControl:m,fullWidth:a,hiddenLabel:q.hiddenLabel,multiline:s,size:q.size,type:p},y=u.root??o.Root??ym,b=u.input??o.Input??vm,[v,C]=rc("notchedOutline",{elementType:bm,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:g,externalForwardedProps:{slots:u,slotProps:d},additionalProps:{label:null!=l&&""!==l&&q.required?(0,Yo.jsxs)(r.Fragment,{children:[l," ","*"]}):l}});return(0,Yo.jsx)(gm,{slots:{root:y,input:b},slotProps:d,renderSuffix:e=>(0,Yo.jsx)(v,{...C,notched:void 0!==c?c:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:i,multiline:s,ref:t,type:p,...f,classes:{...h,notchedOutline:null}})}));Cm.muiName="Input";const Sm=Cm;function Em(e){return ci("MuiInputAdornment",e)}const Om=ui("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Im;const xm=Bi("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${fl(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(pl((({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Om.positionStart}&:not(.${Om.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]})))),Rm=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:l=!1,disableTypography:s=!1,position:c,variant:u,...d}=n,p=su()||{};let f=u;u&&p.variant,p&&!f&&(f=p.variant);const h={...n,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:l,position:c,variant:f},m=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e;return wi({root:["root",n&&"disablePointerEvents",o&&`position${fl(o)}`,i,r&&"hiddenLabel",a&&`size${fl(a)}`]},Em,t)})(h);return(0,Yo.jsx)(lu.Provider,{value:null,children:(0,Yo.jsx)(xm,{as:i,ownerState:h,className:xi(m.root,a),ref:t,...d,children:"string"!=typeof o||s?(0,Yo.jsxs)(r.Fragment,{children:["start"===c?Im||(Im=(0,Yo.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,o]}):(0,Yo.jsx)(Cl,{color:"textSecondary",children:o})})})})),wm=Rm,Lm=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.588 11.415a6 6 0 1 1 2.828-2.829l4.101 4a1.5 1.5 0 0 1 .014 2.134l-.707.707a1.5 1.5 0 0 1-2.108.014l-4.128-4.026ZM11 6A5 5 0 1 0 1 6a5 5 0 0 0 10 0Zm-1.52 4.888 3.934 3.837a.5.5 0 0 0 .703-.005l.707-.707a.5.5 0 0 0-.005-.711l-3.926-3.829a6.034 6.034 0 0 1-1.413 1.415Z"}}]}))(e)),Nm="/qListObjectDef",_m=e=>e?.substring(0,64e3),Tm=Bi(Sm,{shouldForwardProp:e=>!["styles","dense","isRtl"].includes(e)})((({styles:e,dense:t,isRtl:n})=>{let r={};return t&&(r={fontSize:12,"& input":{paddingTop:"5px",paddingBottom:"5px",color:e.search.color,textAlign:n?"right":"left"}}),{display:"flex",border:"none",fontSize:14,borderRadius:0,backgroundColor:e.search.backgroundColor,backdropFilter:e.background.backgroundImage?e.search.backdropFilter:void 0,paddingLeft:0,paddingRight:0,flexDirection:n?"row-reverse":"row","& fieldset":{borderColor:`${e.search.borderColor}`,borderWidth:"1px 0 1px 0",borderRadius:0},"&.Mui-focused fieldset":{borderColor:`${e.search.highlightBorderColor} !important`},"& .MuiInputBase-root":{...e.search},"& *":{color:e.search.color},"& input":{color:e.search.color,textAlign:n?"right":"left"},...r}})),Dm=Bi(vs)((()=>({border:0,padding:"8px",cursor:"pointer",lineHeight:"12px","&:hover":{backgroundColor:"transparent"},":focus-visible":{borderRadius:"4px",boxShadow:"inset 0 0 0 2px rgb(2, 117, 217)"}})));function Am({popoverOpen:e,selections:t,selectionState:n,model:o,keyboard:a,dense:i=!1,visible:l=!0,autoFocus:s=!0,beginSelectionOnFocus:c=!0,wildCardSearch:u=!1,searchEnabled:d,direction:p,hide:f,styles:h},m){const{translator:q}=(0,r.useContext)(bi),[g,y]=(0,r.useState)(""),[b,v]=(0,r.useState)(!1),C=(0,r.useRef)(),S=(0,r.useRef)(),E=q.get("Listbox.Clear.Search"),{getStoreValue:O,setStoreValue:I}=lp(o),x="rtl"===p,R=async()=>{try{await o.abortListObjectSearch(Nm)}finally{y("")}};(0,r.useEffect)((()=>l?()=>R():()=>{}),[l]),(0,r.useEffect)((()=>(t.on("deactivated",R),()=>{t.removeListener&&t.removeListener("deactivated",R)})),[]),(0,r.useEffect)((()=>{if(b&&C.current){const e=g.length-1;C.current.setSelectionRange(e,e),v(!1)}}),[b,C.current]),(0,r.useEffect)((()=>{I("inputText",g)}),[g]);const w=()=>{C.current?.focus()},L=()=>{R(),w()};return(0,r.useImperativeHandle)(m,(()=>({focus(){w()}}))),l&&!1!==d?r.createElement(Tm,{styles:h,dense:i,isRtl:x,startAdornment:r.createElement(wm,{position:"start",sx:{marginLeft:i?"8px":"9px"}},r.createElement(Lm,{size:i?"small":"normal"})),endAdornment:r.createElement(wm,{position:"end",sx:{marginLeft:0}},""!==g&&r.createElement(Dm,{tabIndex:0,ref:S,title:E,"aria-label":E,onClick:L,onKeyDown:e=>{const t=e.currentTarget.closest(".listbox-container");switch(e.key){case"Enter":L();break;case"Tab":e.shiftKey?w():xd(t);break;default:return}e.preventDefault(),e.stopPropagation()}},r.createElement(hh,{size:i?"small":"normal"}))),className:"search",inputRef:C,size:"small",fullWidth:!0,placeholder:q.get("Listbox.Search"),value:g,onFocus:()=>{u&&(y("**"),v(!0)),c&&!n.selectDisabled()&&!t.isModal()&&t.begin("/qListObjectDef")},onChange:async e=>{const t=_m(e.target.value);return y(t),t.length?o.searchListObjectFor(Nm,t):R()},onKeyDown:async r=>{const{currentTarget:i}=r,l=i.closest(".listbox-container");switch(r.key){case"Enter":(async()=>{let e;const r=_m(g),a=await o.searchListObjectFor(Nm,r);n.selectDisabled()||a&&r.length&&O("listCount")>0&&(e=o.acceptListObjectSearch(Nm,!0),t.selectionsMade=!0,n.clearItemStates(!1),y(""))})();break;case"Escape":if(xd(l),t.cancel(),e)return;break;case"Tab":r.shiftKey?Rd(l)||a.focusSelection():S.current?S.current.focus():xd(l);break;case"f":case"F":if(!r.ctrlKey&&!r.metaKey)return;f&&(f(),xd(l));break;default:return}r.preventDefault(),r.stopPropagation()},autoFocus:s,inputProps:{tabIndex:a.innerTabStops?0:-1,"data-testid":"search-input-field","aria-label":q.get("Listbox.Search.ScreenReaderInstructions")}}):null}const Pm=(0,r.forwardRef)(Am);function km(e){if(!e.session)return[];const{selectionStore:t}=(0,r.useContext)(bi),[n]=t.useAppSelectionsStore(),o=e?e.id:null;let a=n.get(o);return(0,r.useEffect)((()=>{e&&!a&&(a=function({app:e,selectionStore:t}){const n=`${e.id}`,{modalObjectStore:r,appModalStore:o}=t,a=async(e=!0)=>{const{model:t,objectSelections:o}=r.get(n)||{};t&&(await t.endSelections(e),r.clear(n),o.emit("deactivated"))},i={begin:async({model:t,paths:o,accept:i=!0,objectSelections:l})=>{if(l===r.get(n)?.objectSelections)return;a(i),r.set(n,{model:t,objectSelections:l});const s=Array.isArray(o)?o:[o],c=async o=>{try{await t.beginSelections(s),r.set(n,{model:t,objectSelections:l})}catch(t){6003!==t.code||o?r.clear(n):(await e.abortModal(i),c(!0))}};await c()},end:a};o.set(n,i);const l={model:e,isInModal:()=>!!r.get(n),isModal:e=>e?r.get(n)?.objectSelections===e:!!r.get(n),forward:()=>i.end().then((()=>e.forward())),back:()=>i.end().then((()=>e.back())),clear:()=>i.end().then((()=>e.clearAll())),clearField:(t,n="$")=>i.end().then((()=>e.getField(t,n).then((e=>e.clear()))))};return l}({app:e,selectionStore:t}),n.set(o,a),n.dispatch(!0))}),[e]),[a]}function Mm(e){return Object.keys(c().prototype).forEach((t=>{e[t]=c().prototype[t]})),c().init(e),e}const Fm=({appSelections:e,appModal:t,model:n})=>{let r,o=!1,a=!1;const i={id:n.id,setLayout(e){r=e},begin(e){const r=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",r),r.isPrevented()?Promise.resolve():(o=!0,this.emit("activated"),t.begin({model:n,paths:e,accept:!0,objectSelections:i}))},clear(){return a=!1,this.emit("cleared"),r.qListObject?n.clearSelections("/qListObjectDef"):n.resetMadeSelections()},confirm(){return a=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),t.end(!0)},cancel(){return a=!1,o=!1,this.emit("canceled"),this.emit("deactivated"),t.end(!1)},async select(t){const r=this.begin([t.params[0]]);if(!e.isModal())return!1;await r;const o=await n[t.method](...t.params);return a="resetMadeSelections"!==t.method,!!o||(n.resetMadeSelections(),!1)},canClear:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked&&!r.qListObject.qDimensionInfo.qIsOneAndOnlyOne:a,canConfirm:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked:a,canCancel:()=>!(r&&r.qListObject&&r.qListObject.qDimensionInfo&&r.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>e.isModal(i),goModal:e=>t.begin({model:n,paths:e,accept:!1,objectSelections:i}),noModal:(e=!1)=>t.end(e)};return Mm(i),i};function Bm(e,t,n,o){const a=Array.isArray(n)?n:[n],[i]=km(e),[l]=nl(t),{appModalStore:s}=(0,r.useContext)(bi).selectionStore,c=s.get(e.id),[u,d]=(0,r.useState)();return(0,r.useEffect)((()=>{i&&t&&!u&&d(Fm({appSelections:i,appModal:c,model:t}))}),[i,t]),(0,r.useEffect)((()=>{if(!u)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=(({elements:e,objectSelections:t,options:n={}})=>{const r=function({elements:e,handleClickOutside:t}){return n=>{if(!document.contains(n.target))return;const r=e.map((e=>"string"==typeof e?document.querySelector(e):e?.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((e=>e.contains(n.target)))&&t(n)}}({elements:e,handleClickOutside:()=>t.confirm.call(t)});return{activateClickOut(){document.addEventListener("mousedown",r),n?.onSelectionActivated?.()},deactivateClickOut(){document.removeEventListener("mousedown",r),n?.onSelectionDeactivated?.()}}})({elements:a,objectSelections:u,options:o});return u.addListener("activated",e),u.addListener("deactivated",t),()=>{u.isActive()&&u.confirm(),u.removeListener("activated",e),u.removeListener("deactivated",t)}}),[u]),(0,r.useEffect)((()=>{u&&u.setLayout(l)}),[u,l]),[u]}function jm(e={}){const t={itemStates:{},ignoreSelectionState:!1,selectedInEngine:[],enginePages:[],setPages:void 0,lastRowCount:void 0,lastApprMaxGlyphCount:void 0,selectDisabled:void 0,...e,update({setPages:e,pages:n,isSingleSelect:r,selectDisabled:o,layout:a}){this.setPages=e;const i=this.lastRowCount===a.qListObject.qSize.qcy,l=this.lastApprMaxGlyphCount===a.qListObject.qDimensionInfo.qApprMaxGlyphCount;i&&l||(this.lastRowCount=a.qListObject.qSize.qcy,this.lastApprMaxGlyphCount=a.qListObject.qDimensionInfo.qApprMaxGlyphCount,this.clearItemStates(!1)),t.enginePages!==n&&void 0!==n&&(t.enginePages=n??[],t.selectedInEngine=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return n=t.qState,!!$c.includes(n)&&t.qElemNumber;var n}));return t.filter((e=>!1!==e))}));return Gc(t)}(n),t.selectableValuesUpdating=!1,t.triggerStateChanged()),t.isSingleSelect=r,t.selectDisabled=o||t.selectDisabled,t.isDimCalculated=a?.qListObject?.qDimensionInfo?.qIsCalculated??!1},allowedToSelect:()=>!(t.selectDisabled()||t.isDimCalculated&&t.selectableValuesUpdating),setSelectableValuesUpdating(){t.selectableValuesUpdating=!0},useClientItemState:e=>t.ignoreSelectionState||e in t.itemStates,isSelected:e=>t.useClientItemState(e)?!!t.itemStates[e]:t.selectedInEngine.includes(e),getState(e){const{qElemNumber:n,qState:r}=e;return t.useClientItemState(n)?t.itemStates[n]?"XS"===r?"XS":"S":"S"===r||"XS"===r?"A":r:r},updateItemNoEvents(e,n,r){const o=t.isSelected(e);o&&!n?t.itemStates[e]=!1:o||(r?.push(e),t.itemStates[e]=!0)},triggerStateChanged(){if(this.setPages){const e=t.applySelectionsOnPages(t.enginePages);this.setPages(e)}},applySelectionsOnPages(e){const n=e.map((e=>{const n=e.qMatrix.map((e=>{const[n]=e,r=t.getState(n);return[{...n,qState:r},...e.slice(1)]}));return{...e,qMatrix:n}}));return n},updateItem(e,n,r){t.updateItemNoEvents(e,n,r),t.triggerStateChanged()},updateItems(e,n,r){e.forEach((e=>{t.updateItemNoEvents(e,n,r)})),t.triggerStateChanged()},clearItemStates(e){t.itemStates={},t.ignoreSelectionState=e}};return t}const zm=(e,t,n=void 0)=>e?.[t]??n;function $m(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return zm(t,"qSelected",0)+zm(t,"qSelectedExcluded",0)+zm(t,"qLocked",0)+zm(t,"qLockedExcluded",0)>0}function Gm(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function Vm(e){if("object"==typeof e&&Gm(e))return(e.r<<16)+(e.g<<8)+e.b;let t=0,n=0,r=0;if("string"==typeof e){let o;(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))?(t=parseInt(o[1],10),n=parseInt(o[2],10),r=parseInt(o[3],10)):(o=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))?(t=parseInt(o[1],16),n=parseInt(o[2],16),r=parseInt(o[3],16)):(o=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))&&(t=parseInt(o[1]+o[1],16),n=parseInt(o[2]+o[2],16),r=parseInt(o[3]+o[3],16))}return(t<<16)+(n<<8)+r}const Um={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function Wm(...e){const t={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:!1,spaces:{}};let n=0,r=0,o=0,a=1;if(null!==(i=e[0])&&"object"==typeof i&&"type"in i&&"qcm-color"===i.type)({r:n,g:r,b:o,a}=e[0]),t.invalid=e[0].invalid,t.spaces={...e[0].spaces};else if(Gm(e[0]))({r:n,g:r,b:o}=e[0]),"a"in e[0]&&({a}=e[0]);else if(e.length<3)if("string"==typeof e[0]){const i=e[0];let l;if(l=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))n=parseInt(l[1],10),r=parseInt(l[2],10),o=parseInt(l[3],10);else if(l=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i))n=parseInt(l[1],10),r=parseInt(l[2],10),o=parseInt(l[3],10),a=parseFloat(l[4]);else if(l=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))a=parseInt(l[1],10)/255,n=parseInt(l[2],10),r=parseInt(l[3],10),o=parseInt(l[4],10);else if(l=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(i))n=parseInt(l[1],16),r=parseInt(l[2],16),o=parseInt(l[3],16),a=1;else if(l=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(i))n=parseInt(l[1]+l[1],16),r=parseInt(l[2]+l[2],16),o=parseInt(l[3]+l[3],16),a=1;else if(l=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(l[1]),t=parseFloat(l[3]),i=parseFloat(l[5]);e%=360,t/=100,i/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,i=i<0?0:i>1?1:i;const s=i<=.5?2*i*t:(2-2*i)*t;let c=e/60;const u=s*(1-Math.abs(c%2-1));let d=[];switch(c=Math.floor(c),c){case 0:d=[s,u,0];break;case 1:d=[u,s,0];break;case 2:d=[0,s,u];break;case 3:d=[0,u,s];break;case 4:d=[u,0,s];break;case 5:d=[s,0,u];break;default:d=[0,0,0]}const p=i-.5*s;n=d[0]+p,r=d[1]+p,o=d[2]+p,n=Math.round(255*n),r=Math.round(255*r),o=Math.round(255*o),a=1}else if(l=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i)){let e=parseFloat(l[1]),t=parseFloat(l[3]),i=parseFloat(l[5]);a=parseFloat(l[7]),e%=360,t/=100,i/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,i=i<0?0:i>1?1:i;const s=i<=.5?2*i*t:(2-2*i)*t;let c=e/60;const u=s*(1-Math.abs(c%2-1));let d=[];switch(c=Math.floor(c),c){case 0:d=[s,u,0];break;case 1:d=[u,s,0];break;case 2:d=[0,s,u];break;case 3:d=[0,u,s];break;case 4:d=[u,0,s];break;case 5:d=[s,0,u];break;default:d=[0,0,0]}const p=i-.5*s;n=d[0]+p,r=d[1]+p,o=d[2]+p,n=Math.round(255*n),r=Math.round(255*r),o=Math.round(255*o)}else if(l=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(l[1]),t=parseFloat(l[3]),i=parseFloat(l[5]);e%=360,t/=100,i/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,i=i<0?0:i>1?1:i;const s=i*t;let c=e/60;const u=s*(1-Math.abs(c%2-1));let d=[];switch(c=Math.floor(c),c){case 0:d=[s,u,0];break;case 1:d=[u,s,0];break;case 2:d=[0,s,u];break;case 3:d=[0,u,s];break;case 4:d=[u,0,s];break;case 5:d=[s,0,u];break;default:d=[0,0,0]}const p=i-s;n=d[0]+p,r=d[1]+p,o=d[2]+p,n=Math.round(255*n),r=Math.round(255*r),o=Math.round(255*o),a=1}else{const e=i.toLowerCase();if(function(e){return e in Um}(e)){const t=Um[e];({r:n,g:r,b:o}=t),a="a"in t?t.a:1}else t.invalid=!0}}else"number"==typeof e[0]&&e[0]>=0&&"argb"===e[1]?(a=(4278190080&e[0])>>>24,a/=255,n=(16711680&e[0])>>16,r=(65280&e[0])>>8,o=255&e[0]):"number"==typeof e[0]&&e[0]>=0?(n=(16711680&e[0])>>16,r=(65280&e[0])>>8,o=255&e[0]):t.invalid=!0;else 3===e.length||4===e.length?(n=e[0],r=e[1],o=e[2],a=4===e.length?e[3]:1):t.invalid=!0;var i;return Number.isNaN(+n+r+o+a)&&(t.invalid=!0),t.r=Math.floor(n),t.g=Math.floor(r),t.b=Math.floor(o),t.a=a,t}function Hm(e){let t,n,r;if(Gm(e))return t=e.r.toString(16),n=e.g.toString(16),r=e.b.toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${[t,n,r].join("")}`;const o="string"==typeof e?Vm(e):e;return t=((16711680&o)>>16).toString(16),n=((65280&o)>>8).toString(16),r=(255&o).toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${t}${n}${r}`}function Km(e){let t,n,r=0;const o="string"==typeof e?Wm(e):e,a=o.r/255,i=o.g/255,l=o.b/255,{a:s}=o,c=Math.max(a,i,l),u=Math.min(a,i,l),d=(c+u)/2;if(c===u)t=0,r=0;else{switch(n=c-u,t=d>.5?n/(2-c-u):n/(c+u),c){case a:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-a)/n+2;break;case l:r=(a-i)/n+4}r/=6}return{h:360*r,s:100*t,l:100*d,a:s}}function Xm(e){let t,n,r=0;const o="string"==typeof e?Wm(e):e,a=o.r/255,i=o.g/255,l=o.b/255,s=Math.max(a,i,l),c=Math.min(a,i,l),u=s;if(s===c)t=0,r=0;else{switch(n=s-c,t=0===n?0:n/u,s){case a:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-a)/n+2;break;case l:r=(a-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*u}}function Ym(e){if(Gm(e))return`rgb(${e.r}, ${e.g}, ${e.b})`;const t="string"==typeof e?Vm(e):e;return`rgb(${(16711680&t)>>16}, ${(65280&t)>>8}, ${255&t})`}function Jm(e,t){return Gm(e)?`rgba(${e.r}, ${e.g}, ${e.b}, ${void 0!==t?t:e.a})`:Jm(Wm(e),t)}function Zm(e){return Gm(e)?1===e.a?Ym(e):Jm(e):Zm(Wm(e))}const Qm=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function eq(e){return.2126*Qm(e.r)+.7152*Qm(e.g)+.0722*Qm(e.b)}function tq(...e){const t=Wm(...e);return t.invalid||eq(t)<.4}function nq(...e){const t=Wm(...e),n={type:t.type,r:t.r,g:t.g,b:t.b,a:t.a,invalid:t.invalid,spaces:t.spaces},r=()=>(n.spaces.hslaObject||(n.spaces.hslaObject=Km(n)),n.spaces.hslaObject),o=e=>{const t=r(),{h:n,s:o,l:a,a:i}=t;return`hsla(${n}, ${o}, ${Math.max(0,Math.min(a+e,100))}, ${i})`};return{get type(){return n.type},isInvalid:()=>n.invalid,get r(){return n.r},get g(){return n.g},get b(){return n.b},get a(){return n.a},getR:()=>n.r,getG:()=>n.g,getB:()=>n.b,getAlpha:()=>n.a,setAlpha:e=>{n.a=e,n.spaces={}},isEqualTo:e=>{let t;if("string"==typeof e)t=Wm(e);else{if(e.type!==n.type)return!1;t=e}return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a},isDark:()=>tq(n),getRGB:()=>(n.spaces.rgb||(n.spaces.rgb=Ym(n)),n.spaces.rgb),getRGBA:()=>(n.spaces.rgba||(n.spaces.rgba=Jm(n)),n.spaces.rgba),getString:()=>(n.spaces.string||(n.spaces.string=Zm(n)),n.spaces.string),getHex:()=>(n.spaces.hex||(n.spaces.hex=Hm(n)),n.spaces.hex),getHSL:()=>(n.spaces.hsl||(n.spaces.hsl=function(e){let t,n,r=0;const o="string"==typeof e?Wm(e):e,a=o.r/255,i=o.g/255,l=o.b/255,s=Math.max(a,i,l),c=Math.min(a,i,l),u=(s+c)/2;if(s===c)t=0,r=0;else{switch(n=s-c,t=u>.5?n/(2-s-c):n/(s+c),s){case a:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-a)/n+2;break;case l:r=(a-i)/n+4}r/=6}return`hsl(${360*r}, ${100*t}, ${100*u})`}(n)),n.spaces.hsl),getHSLA:()=>(n.spaces.hsla||(n.spaces.hsla=function(e){const{h:t,s:n,l:r,a:o}=Km(e);return`hsla(${t}, ${n}, ${r}, ${o})`}(n)),n.spaces.hsla),getHSLAObject:r,getShiftedHSLA:o,getHSV:()=>(n.spaces.hsv||(n.spaces.hsv=function(e){const{h:t,s:n,v:r}=Xm(e);return`hsv(${t}, ${n}, ${r})`}(n)),n.spaces.hsv),getHSVObject:()=>(n.spaces.hsvObject||(n.spaces.hsvObject=Xm(n)),n.spaces.hsvObject),blend:(e,t)=>`rgba(${Math.floor(n.r+(e.r-n.r)*t)}, ${Math.floor(n.g+(e.g-n.g)*t)}, ${Math.floor(n.b+(e.b-n.b)*t)}, ${Math.floor(n.a+(e.getAlpha()-n.a)*t)})`,getBrightenedColor:(e=1)=>nq(o(18*e)),getDarkenedColor:(e=1)=>nq(o(18*-e))}}function rq(e,t){if(!e||!t)return;const n=eq(e),r=eq(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function oq(e,t){const n=nq("#FFFFFF"),r=nq(e),o=nq(t);if(r.isInvalid()||o.isInvalid()||r.getAlpha()<1||o.getAlpha()<1)return t;const a=rq(n,r),i=rq(o,r),l=a>i||a>4.5;return!l&&i>3?o.getHex():l?"#FFFFFF":"#000000"}function aq(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iq,lq,sq,cq="top",uq="top-right",dq="right",pq="bottom-right",fq="bottom",hq="bottom-left",mq="left",qq="top-left";aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(iq={},"equal-equal",[cq,fq]),"equal-higher",[fq,pq]),"equal-lower",[cq,uq]),"equal-void",[cq,fq]),"higher-equal",[mq,hq,cq,uq]),"higher-higher-acute",[fq,hq,mq,uq]),"higher-higher-obtuse",[fq,cq]),"higher-lower-negative",[cq,uq,dq]),"higher-lower-positive",[fq,hq,mq]),"higher-void",[cq]),aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(iq,"lower-equal",[cq]),"lower-higher-negative",[cq,qq]),"lower-higher-positive",[pq]),"lower-lower-acute",[cq,qq,mq,uq,dq]),"lower-lower-obtuse",[cq,fq]),"lower-void",[cq]),"void-equal",[cq]),"void-higher",[cq,fq]),"void-lower",[cq,fq,mq]),"void-void",[cq]),aq(iq,"unclassified",[cq,fq,dq,mq,uq,pq,hq,qq]);var gq=function(){if(sq)return lq;sq=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},a=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!a)return!1;for(r in n);return void 0===r||e.call(n,r)},i=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return lq=function e(){var t,n,r,s,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(a(s)||(c=o(s)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},i(d,{name:n,newValue:e(h,u,s)})):void 0!==s&&i(d,{name:n,newValue:s}));return d},lq}();function yq(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function bq(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function vq(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(gq);var Cq=1/.7,Sq="\\s*([+-]?\\d+)\\s*",Eq="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Oq="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Iq=/^#([0-9a-f]{3,8})$/,xq=new RegExp(`^rgb\\(${Sq},${Sq},${Sq}\\)$`),Rq=new RegExp(`^rgb\\(${Oq},${Oq},${Oq}\\)$`),wq=new RegExp(`^rgba\\(${Sq},${Sq},${Sq},${Eq}\\)$`),Lq=new RegExp(`^rgba\\(${Oq},${Oq},${Oq},${Eq}\\)$`),Nq=new RegExp(`^hsl\\(${Eq},${Oq},${Oq}\\)$`),_q=new RegExp(`^hsla\\(${Eq},${Oq},${Oq},${Eq}\\)$`),Tq={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Dq(){return this.rgb().formatHex()}function Aq(){return this.rgb().formatRgb()}function Pq(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Iq.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?kq(t):3===n?new jq(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Mq(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Mq(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xq.exec(e))?new jq(t[1],t[2],t[3],1):(t=Rq.exec(e))?new jq(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=wq.exec(e))?Mq(t[1],t[2],t[3],t[4]):(t=Lq.exec(e))?Mq(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Nq.exec(e))?Wq(t[1],t[2]/100,t[3]/100,1):(t=_q.exec(e))?Wq(t[1],t[2]/100,t[3]/100,t[4]):Tq.hasOwnProperty(e)?kq(Tq[e]):"transparent"===e?new jq(NaN,NaN,NaN,0):null}function kq(e){return new jq(e>>16&255,e>>8&255,255&e,1)}function Mq(e,t,n,r){return r<=0&&(e=t=n=NaN),new jq(e,t,n,r)}function Fq(e){return e instanceof vq||(e=Pq(e)),e?new jq((e=e.rgb()).r,e.g,e.b,e.opacity):new jq}function Bq(e,t,n,r){return 1===arguments.length?Fq(e):new jq(e,t,n,null==r?1:r)}function jq(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function zq(){return`#${Uq(this.r)}${Uq(this.g)}${Uq(this.b)}`}function $q(){const e=Gq(this.opacity);return`${1===e?"rgb(":"rgba("}${Vq(this.r)}, ${Vq(this.g)}, ${Vq(this.b)}${1===e?")":`, ${e})`}`}function Gq(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Vq(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Uq(e){return((e=Vq(e))<16?"0":"")+e.toString(16)}function Wq(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Kq(e,t,n,r)}function Hq(e){if(e instanceof Kq)return new Kq(e.h,e.s,e.l,e.opacity);if(e instanceof vq||(e=Pq(e)),!e)return new Kq;if(e instanceof Kq)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,l=a-o,s=(a+o)/2;return l?(i=t===a?(n-r)/l+6*(n<r):n===a?(r-t)/l+2:(t-n)/l+4,l/=s<.5?a+o:2-a-o,i*=60):l=s>0&&s<1?0:i,new Kq(i,l,s,e.opacity)}function Kq(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Xq(e){return(e=(e||0)%360)<0?e+360:e}function Yq(e){return Math.max(0,Math.min(1,e||0))}function Jq(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}yq(vq,Pq,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Dq,formatHex:Dq,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Hq(this).formatHsl()},formatRgb:Aq,toString:Aq}),yq(jq,Bq,bq(vq,{brighter(e){return e=null==e?Cq:Math.pow(Cq,e),new jq(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new jq(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new jq(Vq(this.r),Vq(this.g),Vq(this.b),Gq(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:zq,formatHex:zq,formatHex8:function(){return`#${Uq(this.r)}${Uq(this.g)}${Uq(this.b)}${Uq(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:$q,toString:$q})),yq(Kq,(function(e,t,n,r){return 1===arguments.length?Hq(e):new Kq(e,t,n,null==r?1:r)}),bq(vq,{brighter(e){return e=null==e?Cq:Math.pow(Cq,e),new Kq(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Kq(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new jq(Jq(e>=240?e-240:e+120,o,r),Jq(e,o,r),Jq(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Kq(Xq(this.h),Yq(this.s),Yq(this.l),Gq(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Gq(this.opacity);return`${1===e?"hsl(":"hsla("}${Xq(this.h)}, ${100*Yq(this.s)}%, ${100*Yq(this.l)}%${1===e?")":`, ${e})`}`}}));const Zq=Math.PI/180,Qq=180/Math.PI,eg=4/29,tg=6/29,ng=3*tg*tg;function rg(e){if(e instanceof og)return new og(e.l,e.a,e.b,e.opacity);if(e instanceof cg)return ug(e);e instanceof jq||(e=Fq(e));var t,n,r=sg(e.r),o=sg(e.g),a=sg(e.b),i=ag((.2225045*r+.7168786*o+.0606169*a)/1);return r===o&&o===a?t=n=i:(t=ag((.4360747*r+.3850649*o+.1430804*a)/.96422),n=ag((.0139322*r+.0971045*o+.7141733*a)/.82521)),new og(116*i-16,500*(t-i),200*(i-n),e.opacity)}function og(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ag(e){return e>.008856451679035631?Math.pow(e,1/3):e/ng+eg}function ig(e){return e>tg?e*e*e:ng*(e-eg)}function lg(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function sg(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function cg(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function ug(e){if(isNaN(e.h))return new og(e.l,0,0,e.opacity);var t=e.h*Zq;return new og(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}yq(og,(function(e,t,n,r){return 1===arguments.length?rg(e):new og(e,t,n,null==r?1:r)}),bq(vq,{brighter(e){return new og(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new og(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new jq(lg(3.1338561*(t=.96422*ig(t))-1.6168667*(e=1*ig(e))-.4906146*(n=.82521*ig(n))),lg(-.9787684*t+1.9161415*e+.033454*n),lg(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),yq(cg,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof cg)return new cg(e.h,e.c,e.l,e.opacity);if(e instanceof og||(e=rg(e)),0===e.a&&0===e.b)return new cg(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Qq;return new cg(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new cg(e,t,n,null==r?1:r)}),bq(vq,{brighter(e){return new cg(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new cg(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return ug(this).rgb()}}));var dg=e=>()=>e;function pg(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):dg(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?pg:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):dg(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Bq(e)).r,(t=Bq(t)).r),o=n(e.g,t.g),a=n(e.b,t.b),i=pg(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=a(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);var fg="center",hg="bottom";function mg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qg(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 gg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qg(Object(n),!0).forEach((function(t){mg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}[{key:"NoDataExist",alignment:fg,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:fg,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:fg,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:fg},{key:"DataRangeIncludingZero",alignment:hg},{key:"LimitedData",alignment:hg},{key:"NegativeOrZeroValues",alignment:hg}].reduce((function(e,t){return e[t.key]=t,e}),{});var yg=Object.prototype.hasOwnProperty,bg=Object.prototype.toString,vg=Object.defineProperty,Cg=Object.getOwnPropertyDescriptor,Sg=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===bg.call(e)},Eg=function(e){if(!e||"[object Object]"!==bg.call(e))return!1;var t,n=yg.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&yg.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||yg.call(e,t)},Og=function(e,t){vg&&"__proto__"===t.name?vg(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Ig=function(e,t){if("__proto__"===t){if(!yg.call(e,t))return;if(Cg)return Cg(e,t).value}return e[t]},xg=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Ig(l,n),l!==(o=Ig(t,n))&&(u&&o&&(Eg(o)||(a=Sg(o)))?(a?(a=!1,i=r&&Sg(r)?r:[]):i=r&&Eg(r)?r:{},Og(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&Og(l,{name:n,newValue:o}));return l};function Rg(e,t,n,r){if(!e)return-1;const o=n.cache,a=e.origin?e.origin():null;a&&(e=a);let i=o.fields.indexOf(e),l=-1,s=-1;if(-1===i)for(let t=0;t<o.wrappedFields.length;t++)if(s=o.wrappedFields[t].attrDims.map((e=>e.instance)).indexOf(e),l=o.wrappedFields[t].attrExps.map((e=>e.instance)).indexOf(e),-1!==s||-1!==l){i=t;break}if(Array.isArray(r)&&r.some(((e,t)=>e!==t))){const e=r.indexOf(i);-1!==e&&(i=e)}return i-=t.qArea.qLeft,i<0||i>=t.qArea.qWidth?-1:s>=0?e=>e[i].qAttrDims.qValues[s]:l>=0?e=>e[i].qAttrExps.qValues[l]:e=>e[i]}function wg(e,t,n){let{key:r}=n;const o={value:"function"==typeof e.value?e.value(t):void 0!==e.value?e.value:t};return o.label="function"==typeof e.label?e.label(t):void 0!==e.label?String(e.label):String(o.value),e.field&&(o.source={key:r,field:e.field.key()}),o}function Lg(e){let{cache:t,f:n,mainCell:r,p:o,prop:a,page:i,rowIdx:l,row:s,sourceKey:c,target:u,targetProp:d,columnOrder:p}=e,f=r;if(o.field&&o.field!==n){const e=Rg(o.field,i,{cache:t},p);if(-1===e)return;f=xg({qRow:l},e(s))}u[d]=wg(o,f,{key:c})}function Ng(e,t,n,r){const o=Array.isArray(e)?e:[e];let a=[];for(let e=0;e<o.length;e++)if(void 0!==o[e].field){const i=t.raw(),l=t.key(),s="object"==typeof o[e].field?o[e].field:t.field(o[e].field),{props:c,main:u}=r.normalizeConfig(o[e],t),d=Object.keys(c),p=!!o[e].trackBy,f=typeof o[e].trackBy,h={},m=[],q=[];for(let t=0;t<i.qDataPages.length;t++){const a=Rg(s,i.qDataPages[t],{cache:n},i.qColumnOrder);if(-1!==a)for(let g=0;g<i.qDataPages[t].qMatrix.length;g++){const y=i.qDataPages[t].qArea.qTop+g,b=xg({qRow:y},a(i.qDataPages[t].qMatrix[g])),v=wg(u,b,{key:l});if(!u.filter||u.filter(b)){for(let e=0;e<d.length;e++){const r=c[d[e]];let o=r.fields||[r];r.fields&&(v[d[e]]=[]);for(let a=0;a<o.length;a++)Lg({cache:n,f:s,mainCell:b,p:o[a],prop:d[e],props:c,page:i.qDataPages[t],rowIdx:y,row:i.qDataPages[t].qMatrix[g],sourceKey:l,target:r.fields?v[d[e]]:v,targetProp:r.fields?a:d[e],columnOrder:i.qColumnOrder});if(r.fields){const t=v[d[e]].map((e=>e.value)),n=v[d[e]].map((e=>e.label));v[d[e]]={value:"function"==typeof r.value?r.value(t):void 0!==r.value?r.value:t,label:"function"==typeof r.label?r.label(n):void 0!==r.label?String(r.label):String(v[d[e]].value)}}}p&&r.track({cfg:o[e],itemData:b,obj:v,target:m,tracker:h,trackType:f}),q.push(v)}}}const g=p?r.collect(m,{main:u,propsArr:d,props:c}):q;a=[...a,...g]}return a}function _g(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function Tg(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Ag)):void 0===t&&(t=Dg);for(var n,r,o,a,i,l=new Mg(e),s=[l];n=s.pop();)if((o=t(n.data))&&(i=(o=Array.from(o)).length))for(n.children=o,a=i-1;a>=0;--a)s.push(r=o[a]=new Mg(o[a])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(kg)}function Dg(e){return e.children}function Ag(e){return Array.isArray(e)?e[1]:null}function Pg(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function kg(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Mg(e){this.data=e,this.depth=this.height=0,this.parent=null}function Fg(e){return null==e?null:function(e){if("function"!=typeof e)throw new Error;return e}(e)}Mg.prototype=Tg.prototype={constructor:Mg,count:function(){return this.eachAfter(_g)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,a=this,i=[a],l=[],s=-1;a=i.pop();)if(l.push(a),n=a.children)for(r=0,o=n.length;r<o;++r)i.push(n[r]);for(;a=l.pop();)e.call(t,a,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,a=[o],i=-1;o=a.pop();)if(e.call(t,o,++i,this),n=o.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return Tg(this).eachBefore(Pg)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)a.push(t[n])}while(a.length)}};var Bg={depth:-1},jg={},zg={};function $g(e){return e.id}function Gg(e){return e.parentId}function Vg(e){let t=e.length;if(t<2)return"";for(;--t>1&&!Ug(e,t););return e.slice(0,t)}function Ug(e,t){if("/"===e[t]){let n=0;for(;t>0&&"\\"===e[--t];)++n;if(!(1&n))return!0}return!1}function Wg(e,t){"/"===e.charAt(0)&&(e=e.substring(1));const n=e.split("/");let r,o=t;for(let e=0;e<n.length;e++){if("*"===n[e]&&Array.isArray(o)){const t=[];r=n.slice(e+1).join("/");for(let e=0;e<o.length;e++){let n=Wg(r,o[e]);Array.isArray(n)?t.push(...n):t.push(n)}return t}if(!n[e]&&Array.isArray(o)){const t=new Array(o.length);r=n.slice(e+1).join("/");for(let e=0;e<o.length;e++)t[e]=Wg(r,o[e]);return t}n[e]in o&&(o=o[n[e]])}return o}function Hg(e,t,n){let r=[];if(!e||!e.length)return r;if(t<=0){const t=n>=0?[e[n]]:e;r=[...r,...t]}else for(let o=0;o<e.length;o++)e[o].children&&e[o].children.length&&(r=[...r,...Hg(e[o].children,t-1,n)]);return r}function Kg(e,t,n){if(e===t)return e=>e;if(e>t){const n=Math.max(0,Math.min(100,e-t));return e=>{let t=e;for(let e=0;e<n;++e)t=t.parent;return t}}if(t>e){const r=Math.max(0,Math.min(100,t-e));return e=>Hg(e.children,r-1,n)}return!1}const Xg=/^qDimensionInfo(?:\/(\d+))?/,Yg=/^\/?qMeasureInfo\/(\d+)/,Jg=/\/qAttrExprInfo\/(\d+)/,Zg=/\/qAttrDimInfo\/(\d+)/;function Qg(e){return(e.qColumnOrder&&e.qColumnOrder.length?e.qColumnOrder:e.qDimensionInfo.map(((e,t)=>t))).filter((t=>t<e.qDimensionInfo.length))}function ey(e,t){let{cube:n}=t;if(!e)return-1;let r=e.origin&&e.origin()?e.origin().key():e.key(),o=!1,a=-1,i=-1,l=-1,s=-1,c=-1,u=-1,d=r;const p=n.qEffectiveInterColumnSortOrder,f=Qg(n);return Xg.test(d)&&(o=!0,a=+Xg.exec(d)[1],d=r.replace(Xg,"")),Yg.test(d)&&("K"===n.qMode?c=+Yg.exec(d)[1]:p&&-1!==p.indexOf(-1)?(c=+Yg.exec(d)[1],u=0):u=+Yg.exec(d)[1],d=d.replace(Yg,"")),d&&(Zg.exec(d)?l=+Zg.exec(d)[1]:Jg.exec(d)&&(i=+Jg.exec(d)[1])),s=o?"S"===n.qMode?f[a]:p?p.indexOf(a):a:p&&-1!==p.indexOf(-1)?p.indexOf(-1):n.qDimensionInfo.length-("K"===n.qMode?0:1),{fieldDepth:s+1,pseudoMeasureIndex:c,measureIdx:u,attrDimIdx:l,attrIdx:i}}function ty(e,t){let n,r,o=Kg(e.fieldDepth,t.fieldDepth,t.pseudoMeasureIndex);return n=t.measureIdx>=0?e=>e.data.qValues[t.measureIdx]:e=>e.data,t.attrDimIdx>=0?r=e=>{var n;return null==e||null===(n=e.qAttrDims)||void 0===n?void 0:n.qValues[t.attrDimIdx]}:t.attrIdx>=0&&(r=e=>{var n;return null==e||null===(n=e.qAttrExps)||void 0===n?void 0:n.qValues[t.attrIdx]}),{nodeFn:o,attrFn:r,valueFn:n}}function ny(e,t,n){let{key:r}=n;const o={value:"function"==typeof e.value?e.value(t):void 0!==e.value?e.value:t};return o.label="function"==typeof e.label?e.label(t):void 0!==e.label?String(e.label):String(o.value),e.field&&(o.source={key:r,field:e.field.key()}),o}function ry(e){let{propsArr:t,props:n,item:r,itemData:o,ret:a,sourceKey:i}=e;for(let e=0;e<t.length;e++){const l=n[t[e]],s=l.fields||[l];let c,u;l.fields&&(c=[],u=[]);for(let n=0;n<s.length;n++){const d=s[n];let p,f,h,m,q,g;if("primitive"===d.type?(h=d.value,g=String(d.value)):("function"==typeof d.value&&(p=e=>d.value(e,r)),"function"==typeof d.label&&(f=e=>d.label(e,r)),d.accessor?(m=d.accessor(r),Array.isArray(m)?(q=m.map(d.valueAccessor),d.attrAccessor&&(q=q.map(d.attrAccessor)),p&&(h=q.map(p),p=null),f&&(g=q.map(f),f=null),h=d.reduce?d.reduce(h):h,g=d.reduceLabel?d.reduceLabel(g,h):String(h)):(h=d.attrAccessor?d.attrAccessor(d.valueAccessor(m)):d.valueAccessor(m),g=h)):(h=o,g=o)),l.fields){const e=p?p(h):h;c.push(e),u.push(f&&null!=g?f(g):null!=g?g:String(e))}else{const n=p?p(h):h;a[t[e]]={value:n,label:f?f(g):null!=g?g:String(n)},d.field&&(a[t[e]].source={field:d.field.key(),key:i})}}c&&(a[t[e]]={value:"function"==typeof l.value?l.value(c,r):c,label:"function"==typeof l.label?l.label(u,r):u})}}const oy=(e,t,n)=>{const r="K"===e.qMode?"/qStackedDataPages/*/qData":"/qTreeDataPages/*",o="K"===e.qMode?"qSubNodes":"qNodes",a=Wg(r,e);return a&&a[0]?(t.tree=Tg(a[0],n.children||(e=>e[o])),t.tree):null};const ay=e=>{let{propsArr:t,props:n,cube:r,cache:o,itemDepthObject:a,f:i}=e;for(let e=0;e<t.length;e++){const l=n[t[e]],s=l.fields?l.fields:[l];for(let e=0;e<s.length;e++){const t=s[e];if(t.field!==i){const e=ty(a,ey(t.field,{cube:r,cache:o}));t.accessor=e.nodeFn,t.valueAccessor=e.valueFn,t.attrAccessor=e.attrFn}}}};function iy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;const o=t.raw(),a=t.key(),i="S"===o.qMode?function(e){const t=e.raw().qDataPages.length?e.raw().qDataPages[0].qMatrix:[],n=function(e){const t=e.raw().qColumnOrder,n=e.fields();return t&&t.length===n.length?t:n.map(((e,t)=>t))}(e),r=e.fields(),o=e.fields().filter((e=>"dimension"===e.type())).map((e=>n.indexOf(r.indexOf(e)))),a=e.fields().filter((e=>"measure"===e.type())).map((e=>n.indexOf(r.indexOf(e)))),i={__root:{__id:"__root",qValues:[]}};for(let e=0;e<t.length;e++){const n=t[e];let r="__root",s=!1;for(let e=0;e<o.length;e++){var l;const t=n[o[e]],a="".concat(r,"__").concat(null!==(l=t.qElemNumber)&&void 0!==l?l:t.qElemNo);i[a]||(i[a]=gg({__id:a,__parent:r,qValues:[]},t),s=!0),r=a}if(s)for(let e=0;e<a.length;e++){const t=n[a[e]];i[r].qValues.push(t)}}const s=Object.keys(i).map((e=>i[e]));return function(){var e,t=$g,n=Gg;function r(r){var o,a,i,l,s,c,u,d,p=Array.from(r),f=t,h=n,m=new Map;if(null!=e){const t=p.map(((t,n)=>function(e){let t=(e=`${e}`).length;return Ug(e,t-1)&&!Ug(e,t-2)&&(e=e.slice(0,-1)),"/"===e[0]?e:`/${e}`}(e(t,n,r)))),n=t.map(Vg),o=new Set(t).add("");for(const e of n)o.has(e)||(o.add(e),t.push(e),n.push(Vg(e)),p.push(zg));f=(e,n)=>t[n],h=(e,t)=>n[t]}for(i=0,o=p.length;i<o;++i)a=p[i],c=p[i]=new Mg(a),null!=(u=f(a,i,r))&&(u+="")&&(d=c.id=u,m.set(d,m.has(d)?jg:c)),null!=(u=h(a,i,r))&&(u+="")&&(c.parent=u);for(i=0;i<o;++i)if(u=(c=p[i]).parent){if(!(s=m.get(u)))throw new Error("missing: "+u);if(s===jg)throw new Error("ambiguous: "+u);s.children?s.children.push(c):s.children=[c],c.parent=s}else{if(l)throw new Error("multiple roots");l=c}if(!l)throw new Error("no root");if(null!=e){for(;l.data===zg&&1===l.children.length;)l=l.children[0],--o;for(let e=p.length-1;e>=0&&(c=p[e]).data===zg;--e)c.data=null}if(l.parent=Bg,l.eachBefore((function(e){e.depth=e.parent.depth+1,--o})).eachBefore(kg),l.parent=null,o>0)throw new Error("cycle");return l}return r.id=function(e){return arguments.length?(t=Fg(e),r):t},r.parentId=function(e){return arguments.length?(n=Fg(e),r):n},r.path=function(t){return arguments.length?(e=Fg(t),r):e},r}().id((e=>e.__id)).parentId((e=>e.__parent))(s)}(t):oy(o,n,e);if(!i)return null;const l=i.height,s=[];for(let a=0;a<=l;a++){let i=null;if(a>0)if("S"===o.qMode){let e=Qg(o)[a-1];i=n.fields[e]}else{let e=o.qEffectiveInterColumnSortOrder[a-1];a>o.qEffectiveInterColumnSortOrder.length&&(e=o.qDimensionInfo.length),i=n.fields[e]}const{props:l,main:c}=r.normalizeConfig(gg(gg({},e),{},{field:i?i.key():void 0}),t),u=Object.keys(l);s[a]={propsArr:u,props:l,main:c};const d=i?ey(i,{cube:o,cache:n}):{fieldDepth:0};ay({propsArr:u,props:l,cube:o,cache:n,itemDepthObject:d,f:i})}const c=i.copy().descendants(),u=i.descendants();for(let e=0;e<u.length;e++){const t=s[u[e].depth].propsArr,n=s[u[e].depth].props,r=s[u[e].depth].main,o=c[e],i=o.data,l=ny(r,i,{key:a});ry({propsArr:t,props:n,item:o,itemData:i,ret:l,sourceKey:a,isTree:!0}),u[e].data=l}return i}function ly(e,t,n,r){const o=Array.isArray(e)?e:[e];let a=[];for(let i=0;i<o.length;i++)if(void 0!==o[i].field){const l=t.raw(),s=t.key();if(!oy(l,n,e))continue;const c="object"==typeof o[i].field?o[i].field:t.field(o[i].field),{props:u,main:d}=r.normalizeConfig(o[i],t),p=Object.keys(u),f=ey(c,{cube:l,cache:n}),{nodeFn:h,attrFn:m,valueFn:q}=ty({fieldDepth:0},f);ay({propsArr:p,props:u,cube:l,cache:n,itemDepthObject:f,f:c});const g=!!o[i].trackBy,y=typeof o[i].trackBy,b={},v=[],C=h(n.tree),S=[];for(let e=0;e<C.length;e++){const t=C[e],n=m?m(q(t)):q(t);if(d.filter&&!d.filter(n))continue;const a=ny(d,n,{key:s});ry({propsArr:p,props:u,item:t,itemData:n,ret:a,sourceKey:s}),g&&r.track({cfg:o[i],itemData:n,obj:a,target:v,tracker:b,trackType:y}),S.push(a)}const E=g?r.collect(v,{main:d,propsArr:p,props:u}):S;a=[...a,...E]}return a}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self&&self;var sy,cy,uy=(sy=function(e){e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,a,i,l,s,c,u,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),q=m.search(/[0-9\-\+#]/),g=p-q,y=e.substring(g,g+1),b=g+("."===y||","===y?1:0),v=q>0?e.substring(b,p):"";if(n=(t="-"===(e=e.substring(f,b)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",a=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),u=e[0].split(a),e[0]=u.join(""),(i=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-i;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=u[1]&&u[u.length-1].length){for(m="",g=(d=t[0]).length%s,p=d.length,b=0;b<p;b++)m+=d.charAt(b),!((b-g+1)%s)&&b<p-s&&(m+=a);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+v}},sy(cy={exports:{}}),cy.exports);function dy(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}const py={3:"k",6:"M",9:"G",12:"T",15:"P",18:"E",21:"Z",24:"Y","-3":"m","-6":"μ","-9":"n","-12":"p","-15":"f","-18":"a","-21":"z","-24":"y"},fy=/%\)?$/,hy=/^\(r(0[2-9]|[12]\d|3[0-6])\)/i,my=/^\(oct\)/i,qy=/^\(dec\)/i,gy=/^\(hex\)/i,yy=/^\(bin\)/i,by=/^\(rom\)/i,vy=/^(\(rom\)|\(bin\)|\(hex\)|\(dec\)|\(oct\)|\(r(0[2-9]|[12]\d|3[0-6])\))/i,Cy=/#|0/g;function Sy(e,t,n,r){return e=e.toString(t),n[1]===n[1].toUpperCase()&&(e=e.toUpperCase()),e.length-e.indexOf(".")>10&&(e=e.slice(0,e.indexOf(".")+11)),e.replace(".",r||".")}function Ey(e,t,n){const r=dy(e);return n?r:new RegExp(r||"",t)}function Oy(e,t,n,r){let o,a,i,l,s,c,u,d,p,f=e.pattern;var h,m;r&&(e.abbreviate=!0),h=t,(m=n)&&(m=dy(m)),h&&(h=dy(h)),p=new RegExp("(?:[#0]+".concat(h,")?[#0]+(?:").concat(m,"[#0]+)?")),i=f.match(p),i=i?i[0]:"",l=i?f.substr(0,f.indexOf(i)):f,s=i?f.substring(f.indexOf(i)+i.length):"",i||(i=f?"#":"##########"),t&&t===n&&(o=i.split(n),a=o.pop(),i=o.join("")+n+a,t=""),c=t,t=/,/.test(n)?"¤":",",c&&(i=i.replace(Ey(c,"g"),t)),u=n,n=".",u&&(i=i.replace(Ey(u,"g"),n)),d=i.match(/#/g),d=d?d.length:0;const q=f.split(u);let g;q[1]&&(g=q[1].match(Cy)),e.prefix=l||"",e.postfix=s||"",e.pattern=f,e.maxPrecision=g?g.length:2,e.percentage=fy.test(f),e.numericPattern=i||"",e.numericRegex=new RegExp("".concat(Ey(t,null,!0),"|").concat(Ey(n,null,!0)),"g"),e.groupTemp=c,e.decTemp=u,e.t=t,e.d=n,e.temp=d}class Iy{constructor(e,t,n,r,o){this.localeInfo=e,this.pattern=t,this.thousandDelimiter=n||",",this.decimalDelimiter=r||".",this.type=o||"numeric",this.patternSeparator=";",this.abbreviations=function(e,t){if(!e||!e.qNumericalAbbreviation)return py;const n={};return e.qNumericalAbbreviation.split(t).forEach((e=>{let t=e.split(":");2===t.length&&(n[t[0]]=t[1])})),n}(e,this.patternSeparator),this.prepare()}clone(){const e=new Iy(this.localeInfo,this.pattern,this.thousandDelimiter,this.decimalDelimiter,this.type);return e.subtype=this.subtype,e}format(e,t,n,r){return this.prepare(t,n,r),this.formatValue(e)}prepare(e,t,n){let r;if(void 0===e&&(e=this.pattern),void 0===t&&(t=this.thousandDelimiter),void 0===n&&(n=this.decimalDelimiter),!e)return void(this._prepared={pattern:!1});this._prepared={positive:{d:n,t,abbreviate:!1,isFunctional:!1,prefix:"",postfix:""},negative:{d:n,t,abbreviate:!1,isFunctional:!1,prefix:"",postfix:""},zero:{d:n,t,abbreviate:!1,isFunctional:!1,prefix:"",postfix:""}},r=this._prepared,e=e.split(this.patternSeparator),r.positive.pattern=e[0],r.negative.pattern=e[1],r.zero.pattern=e[2],vy.test(e[0])&&(r.positive.isFunctional=!0),e[1]?vy.test(e[1])&&(r.negative.isFunctional=!0):r.negative=!1,e[2]?vy.test(e[2])&&(r.zero.isFunctional=!0):r.zero=!1;const o="U"===this.type;r.positive.isFunctional||Oy(r.positive,t,n,o),r.negative&&!r.negative.isFunctional&&Oy(r.negative,t,n,o),r.zero&&!r.zero.isFunctional&&Oy(r.zero,t,n,o)}formatValue(e){let t,n,r,o,a,i,l,s,c,u=this._prepared,d="",p="",f=e;if(isNaN(e))return"".concat(f);if(e=+e,!1===u.pattern)return e.toString();if(0===e&&u.zero)return u=u.zero,u.pattern;if(e<0&&u.negative?(u=u.negative,e=-e):u=u.positive,a=u.d,i=u.t,u.isFunctional)e=function(e,t,n){let r;return hy.test(t)?e=Sy(e,Number(/\d{2}/.exec(t)[0]),t,n):my.test(t)?e=Sy(e,8,t,n):qy.test(t)?e=Sy(e,10,t,n):gy.test(t)?e=Sy(e,16,t,n):yy.test(t)?e=Sy(e,2,t,n):by.test(t)&&(r="",e<0&&(r="-",e=-e),0===(e=Math.floor(e))?e="0":e<=5e5?(e=function(e,t){let n,r="",o=Number(String(e).slice(-3)),a=(e-o)/1e3,i=[0,1,4,5,9,10,40,50,90,100,400,500,900].reverse(),l=["0","I","IV","V","IX","X","XL","L","XC","C","CD","D","CM"].reverse();for(;o>0;)for(n=0;n<i.length;n++)if(i[n]<=o){r+=l[n],o-=i[n];break}for(n=0;n<a;n++)r="M".concat(r);return t[1]!==t[1].toUpperCase()&&(r=r.toLowerCase()),r}(e,t),e=r+e):e=t+r+e.toExponential(0)),e}(e,u.pattern,a);else{if(u.percentage&&(e*=100),u.abbreviate){const t=Object.keys(this.abbreviations).map((e=>parseInt(e,10))).sort(((e,t)=>e-t));let r,o,a=t[0];for(l=0,n=Number(Number(e).toExponential().split("e")[1]);a<=n&&l<t.length;)l++,a=t[l];l>0&&(r=t[l-1]),r&&n>0&&r>0?o=r:(n<0&&r<0||!r)&&(a<0&&a-n<=u.maxPrecision?o=a:r<=n&&!(a>0&&-n<=u.maxPrecision)&&(o=r)),o&&(d=this.abbreviations[o],e/=10**o)}if(r=Math.abs(e),t=u.temp,s=u.numericPattern,c=s.split(a)[1],"I"===this.type&&(e=Math.round(e)),o=e,c||"#"!==s.slice(-1)[0])if(r>=1e15||r>0&&r<=1e-14)e=r?r.toExponential(15).replace(/\.?0+(?=e)/,""):"0";else{const t=Number((e+1e-15*(e<0?-1:1)).toFixed(Math.min(20,c?c.length:0)).split(".")[0]);let n=s.split(a)[0];if(n+=a,e=uy(n,t)||"0",c){const t=Math.max(0,Math.min(14,c.length)),n=c.replace(/#+$/,"").length;let o=("I"===this.type?0:r%1+1e-15).toFixed(t).slice(2).replace(/0+$/,"");for(l=o.length;l<n;l++)o+="0";o&&(e+=a+o)}else 0===t&&(o=0)}else if(r>=10**t||r<1||r<1e-4)0===e?e="0":r<1e-4||r>=1e20?(e=(e=o.toExponential(Math.max(1,Math.min(14,t))-1)).replace(/\.?0+(?=e)/,""),p=""):(e=e.toPrecision(Math.max(1,Math.min(14,t)))).indexOf(".")>=0&&(e=(e=e.replace(e.indexOf("e")<0?/0+$/:/\.?0+(?=e)/,"")).replace(".",a));else{for(s+=a,t=Math.max(0,Math.min(20,t-Math.ceil(Math.log(r)/Math.log(10)))),l=0;l<t;l++)s+="#";e=uy(s,e)}e=e.replace(u.numericRegex,(e=>e===i?u.groupTemp:e===a?u.decTemp:"")),o<0&&!/^-/.test(e)&&(e="-".concat(e))}return u.prefix+e+p+d+u.postfix}static getStaticFormatter(){return{prepare(){},formatValue:e=>"".concat(e)}}}function xy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{size:n=5e3,multipleArguments:r=!1,toKey:o=e=>e}=t;let a,i,l=Object.create(null),s=Object.create(null),c=0,u=0;return a=r?function(){return i=o(...arguments),a.has(i)?a.get(i):a.set(i,e(...arguments))}:t=>(i=o(t),a.has(i)?a.get(i):a.set(i,e(t))),a.set=(e,t)=>(c>=n&&(delete l[s[u]],delete s[u],c--,u++),l[e]=t,s[c]=e,c++,t),a.get=e=>l[e],a.has=e=>e in l,a.clear=()=>{l=Object.create(null),s=Object.create(null),c=0,u=0},a.size=()=>c,a}function Ry(e,t,n,r,o){const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new Iy(...t)}(o,e,t,n,r),i=xy(a.formatValue.bind(a),{toKey:e=>isNaN(e)?e:+e});function l(e){return i(e)}return l.format=function(e,t,n,r){return i.clear(),a.format(t,e,n,r)},l.pattern=function(e){return e&&(i.clear(),a.pattern=e,a.prepare()),a.pattern},l}const wy="D",Ly="T",Ny="TS",_y=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ty=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Dy=["January","February","March","April","May","June","July","August","September","October","November","December"],Ay=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Py(e,t){for(let n=e.length;n<t;n++)e="0".concat(e);return e}function ky(e){let t=e.toString().split(".");return t[1]?(t=Number("0.".concat(t[1])),t):0}class My{constructor(e,t,n){const r=e||{};r.qCalendarStrings||(r.qCalendarStrings={qLongDayNames:_y,qDayNames:Ty,qLongMonthNames:Dy,qMonthNames:Ay}),this.localeInfo=r,this.locale_days=r.qCalendarStrings.qLongDayNames.slice(),this.locale_days_abbr=r.qCalendarStrings.qDayNames.slice(),this.locale_months=r.qCalendarStrings.qLongMonthNames.slice(),this.locale_months_abbr=r.qCalendarStrings.qMonthNames.slice(),t||(t={[Ly]:r.qTimeFmt||"hh:mm:ss",[wy]:r.qDateFmt||"YYYY-MM-DD",[Ny]:r.qTimestampFmt||"YYYY-MM-DD hh:mm:ss"}[n]),this.pattern=t}clone(){const e=new My(this.localeInfo,this.pattern);return e.subtype=this.subtype,e}format(e,t){t||(t=this.pattern?this.pattern:"YYYY-MM-DD hh:mm:ss"),t=t.replace(/\[.+]|\[|]/g,"");const n=/t+/gi.test(t);let r;e instanceof Date?r=function(e,t){let n=e.getUTCHours(),r=e.getUTCDay()-1;return t&&(n%=12,n||(n=12)),r<0&&(r=6),{year:e.getUTCFullYear(),month:e.getUTCMonth(),day:r,date:e.getUTCDate(),h:n,m:e.getUTCMinutes(),s:e.getUTCSeconds(),f:e.getUTCMilliseconds(),t:e.getUTCHours()>=12?"pm":"am"}}(e,n):(e<0&&(e=-e,t="-".concat(t)),r=function(e,t){let n,r=function(e){const t=e,n=24*ky(t),r=60*ky(n),o=60*ky(r),a=1e3*ky(o);return{d:Math.floor(t),h:Math.floor(n),m:Math.floor(r),s:Math.floor(o),f:Math.round(a)}}(e),o=r.d,a=r.h,i=r.m,l=r.s,s=r.f,c=0;/w+|t+/gi.test(t)&&(n=new Date(Date.UTC(1899,11,30+Math.floor(e),0,0,Math.round(86400*(e-Math.floor(e))))),isNaN(n.getTime())&&(n=null)),/D+/gi.test(t)||(a+=24*o),/h+/gi.test(t)||(i+=60*a),/m+/gi.test(t)||(l+=60*i),/w+/gi.test(t)&&(c=n?n.getDay()-1:0,c<0&&(c=6));let u="";return n&&(u=n.getUTCHours()>=12?"pm":"am"),{year:0,month:0,day:c,date:o,h:a,m:i,s:l,f:s,t:u}}(e,t));const o=(a=this,i=r,{"Y+|y+":{Y:"".concat(Number("".concat(i.year).slice(-2))),YY:Py("".concat(i.year).slice(-2),2),YYY:Py("".concat(i.year).slice(-3),3),def:e=>Py("".concat(i.year),e.length)},"M+":{M:i.month+1,MM:Py("".concat(i.month+1),2),MMM:a.locale_months_abbr[i.month],def:a.locale_months[i.month]},"W+|w+":{W:i.day,WW:Py("".concat(i.day),2),WWW:a.locale_days_abbr[i.day],def:a.locale_days[i.day]},"D+|d+":{D:i.date,def:e=>Py("".concat(i.date),e.length)},"h+|H+":{h:i.h,def:e=>Py("".concat(i.h),e.length)},"m+":{m:i.m,def:e=>Py("".concat(i.m),e.length)},"s+|S+":{s:i.s,def:e=>Py("".concat(i.s),e.length)},"f+|F+":{def(e){let t="".concat(i.f),n=e.length-t.length;if(n>0)for(let e=0;e<n;e++)t+="0";else n<0&&(t=t.slice(0,e.length));return t}},"t{1,2}|T{1,2}":{def(e){let t=i.t;return e[0].toUpperCase()===e[0]&&(t=t.toUpperCase()),t=t.slice(0,e.length),t}}});var a,i;const l=[];for(const e in o)Object.prototype.hasOwnProperty.call(o,e)&&l.push(e);const s=new RegExp(l.join("|"),"g");return t.replace(s,(e=>{let t,n,r;for(n in o)if(Object.prototype.hasOwnProperty.call(o,n)&&(t=new RegExp(n),t.test(e)))break;if(!t)return"";for(const t in o[n])if(t===e||t.toLowerCase()===e){r=o[n][t],void 0===r&&(r=o[n][t.toLowerCase()]);break}return void 0===r&&(r=o[n].def),"function"==typeof r&&(r=r(e)),r}))}}function Fy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new My(...t)}function By(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"TS",n=Fy(arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,e,t),r=xy(n.format.bind(n),{toKey:e=>"object"==typeof e&&"function"==typeof e.getTime?e.getTime():e});function o(e){return"IV"!==t?function(e){return new Date(Date.UTC(1899,11,30+Math.floor(e),0,0,0,Math.round(864e5*(e-Math.floor(e)))))}(e):e}function a(e){return e=o(e),r(e)}return a.format=function(e,t){return r.clear(),t=o(t),n.format(t,e)},a.locale=function(o){return n=Fy(o,e,t),r=xy(n.format.bind(n),{toKey:e=>"object"==typeof e?e.getTime():e}),this},a.qtype=function(e){return void 0!==e&&(t=e,r.clear()),t},a}function jy(){let e,{meta:t,id:n,key:r,localeInfo:o,fieldExtractor:a,value:i,type:l,sourceField:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const c=i||("dimension"===l?e=>null==e?void 0:e.qElemNo:e=>null==e?void 0:e.qValue),u="dimension"===l?"first":"avg",d=function(e,t){if(e&&e.qNumFormat&&-1!==["D","T","TS","IV"].indexOf(e.qNumFormat.qType))return By(e.qNumFormat.qFmt,e.qNumFormat.qType,t);let n="#",r=t&&void 0!==t.qThousandSep?t.qThousandSep:",",o=t&&void 0!==t.qDecimalSep?t.qDecimalSep:".",a="U",i=e&&!!e.qIsAutoFormat;return e&&e.qNumFormat?(n=e.qNumFormat.qFmt||n,r=e.qNumFormat.qThou||r,o=e.qNumFormat.qDec||o,a=e.qNumFormat.qType||a,i=i&&-1===["M"].indexOf(e.qNumFormat.qType)):i=!0,(i||"U"===a)&&(n="#".concat(o,"##"),a="U"),Ry(n,r,o,a,t)}(t,o),p="dimension"===l?"first":(e,t)=>d(t),f={id:()=>n,key:()=>r,raw:()=>t,title:()=>t.qFallbackTitle||t.label,type:()=>l,origin:()=>s,items:()=>(e||(e=a(f)),e),min:()=>t.qMin,max:()=>t.qMax,value:c,label:e=>(null==e?void 0:e.qText)||"",reduce:u,reduceLabel:p,formatter:()=>d,tags:()=>t.qTags};return f}function zy(e,t,n,r,o){return(t[e]||[]).map(((t,a)=>{const i="".concat(r?"".concat(r,"/"):"").concat(e,"/").concat(a),l={instance:jy(xg({id:"".concat(n?"".concat(n,"/"):"").concat(i),key:i,meta:t},o))};return l.attrDims=zy("qAttrDimInfo",t,n,i,xg({},o,{value:e=>null==e?void 0:e.qElemNo,type:"dimension"})),l.attrExps=zy("qAttrExprInfo",t,n,i,xg({},o,{value:e=>null==e?void 0:e.qNum,type:"measure"})),l.measures=zy("qMeasureInfo",t,n,i,xg({},o,{value:e=>null==e?void 0:e.qValue,type:"measure"})),l}))}function $y(){let{key:e,data:t,config:n={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r={fields:[],wrappedFields:[],allFields:[],virtualFields:[]},o=t;if(!o)throw new Error('Missing "data" input');if(!o.qDimensionInfo)throw new Error('The "data" input is not recognized as a hypercube');const a=$y.util,i={cache:r,cube:o,localeInfo:n.localeInfo,fieldExtractor:null,pages:null,hierarchy:()=>null,virtualFields:n.virtualFields},l={key:()=>e,raw:()=>o,field:e=>function(e,t){let{cache:n}=t;if("number"==typeof e)return n.fields[e];const r=n.allFields;if("function"==typeof e){for(let t=0;t<r.length;t++)if(e(r[t]))return r[t];return!1}if("string"==typeof e){for(let t=0;t<r.length;t++)if(r[t].key()===e||r[t].title()===e)return r[t]}else if(e&&-1!==r.indexOf(e))return e;throw Error("Field not found: ".concat(e))}(e,i),fields:()=>r.fields.slice(),extract:e=>i.extractor(e,l,r,a),hierarchy:e=>i.hierarchy(e,l,r,a),_cache:()=>r};"K"===o.qMode||"T"===o.qMode||!o.qMode&&o.qNodesOnDim?(i.extractor=ly,i.hierarchy=iy,i.pages="K"===o.qMode?o.qStackedDataPages:o.qTreeDataPages):"S"===o.qMode?(i.extractor=Ng,i.pages=o.qDataPages,i.hierarchy=iy):i.extractor=()=>[],i.fieldExtractor=e=>i.extractor({field:e},l,r,a);const s="S"===o.qMode?e=>e.qElemNumber:void 0,c="S"===o.qMode?e=>e.qNum:void 0;r.wrappedFields.push(...zy("qDimensionInfo",o,e,"",xg({},i,{value:s,type:"dimension"}))),r.wrappedFields.push(...zy("qMeasureInfo",o,e,"",xg({},i,{value:c,type:"measure"}))),r.fields=r.wrappedFields.map((e=>e.instance));const u=e=>{e.forEach((e=>{r.allFields.push(e.instance),u(e.measures),u(e.attrDims),u(e.attrExps)}))};return u(r.wrappedFields),(n.virtualFields||[]).forEach((t=>{const n=l.field(t.from),o=jy(gg({meta:n.raw(),id:"".concat(e,"/").concat(t.key),sourceField:n,fieldExtractor:e=>i.extractor({field:e},l,r,a),key:t.key,type:n.type(),localeInfo:i.localeInfo,value:n.value},t.override||{}));r.virtualFields.push(o)})),r.allFields.push(...r.virtualFields),l}const Gy=[["qHyperCube","qHyperCubeDef"],["qTreeData","qTreeDataDef"],["qDimensionInfo","qDimensions"],["qMeasureInfo","qMeasures"],["qAttrDimInfo","qAttributeDimensions"],["qAttrExprInfo","qAttributeExpressions"]],Vy=/\/qDimensionInfo(?:\/(\d+))?/,Uy=/\/qMeasureInfo\/(\d+)/,Wy=/\/qAttrDimInfo\/(\d+)(?:\/(\d+))?/,Hy=/\/qAttrExprInfo\/(\d+)/,Ky=/\/?qHyperCube/,Xy=/\/?qTreeData/,Yy=e=>"".concat(e.substr(0,e.indexOf("/qHyperCubeDef")+14)),Jy=e=>"".concat(e.substr(0,e.indexOf("/qTreeDataDef")+13));function Zy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r=t.byCells,o=t.primarySource,a=[],i={},l=e.isActive();let s=!1;return e.brushes().forEach((e=>{const t=function(e,t){let n=e,r=-1,o=-1,a="",i=e=>e;Ky.test(e)?(a="".concat(n.substr(0,n.indexOf("qHyperCube")+10)),i=Yy):Xy.test(e)&&(a="".concat(n.substr(0,n.indexOf("qTreeData")+9)),i=Jy);let l=!0;if(Vy.test(e)&&(r=+Vy.exec(e)[1]),Uy.test(e)&&(o=+Uy.exec(e)[1]),Wy.test(e)){o=-1,r=0;const e=+Wy.exec(n)[2];isNaN(e)||(r=e,n=n.replace(/\/\d+$/,"")),l=!1}if(Hy.test(e)){const e=o;if(t){o=0;const i=Wg(a,t);o+=(i.qMeasureInfo||[]).length,r>-1?(o=i.qDimensionInfo.slice(0,r).reduce(((e,t)=>e+t.qAttrExprInfo.length),o),r=-1):(o=i.qDimensionInfo.reduce(((e,t)=>e+t.qAttrExprInfo.length),o),o=i.qMeasureInfo.slice(0,e).reduce(((e,t)=>e+t.qAttrExprInfo.length),o)),o+=+Hy.exec(n)[1]}else r>-1?(r=-1,o=+Hy.exec(n)[1]):o+=+Hy.exec(n)[1]+1}return Gy.forEach((e=>{let[t,r]=e;n=n.replace(t,r)})),l&&(n=i(n)),n&&"/"!==n[0]&&(n="/".concat(n)),{measureIdx:o,dimensionIdx:r,path:n}}(e.id,n);if("range"===e.type&&t.measureIdx>-1&&t.dimensionIdx>-1){const n=e.brush.ranges();n.length&&(s=!0,i.multiRangeSelectTreeDataValues||(i.multiRangeSelectTreeDataValues={path:t.path,ranges:[]}),n.forEach((e=>i.multiRangeSelectTreeDataValues.ranges.push({qMeasureIx:t.measureIdx,qDimensionIx:t.dimensionIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:!0,qMaxInclEq:!0}}))))}else{if("range"===e.type&&t.measureIdx>-1){const n=e.brush.ranges();n.length&&(s=!0,i.rangeSelectHyperCubeValues||(i.rangeSelectHyperCubeValues={path:t.path,ranges:[]}),n.forEach((e=>i.rangeSelectHyperCubeValues.ranges.push({qMeasureIx:t.measureIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:!0,qMaxInclEq:!0}}))))}if("range"===e.type&&t.dimensionIdx>-1){const n=e.brush.ranges();n.length&&(s=!0,i.selectHyperCubeContinuousRange||(i.selectHyperCubeContinuousRange={path:t.path,ranges:[]}),n.forEach((e=>i.selectHyperCubeContinuousRange.ranges.push({qDimIx:t.dimensionIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:!0,qMaxInclEq:!1}}))))}if("value"===e.type&&t.dimensionIdx>-1)if(r)if(n&&n.qHyperCube&&("P"===n.qHyperCube.qMode||"T"===n.qHyperCube.qMode||"K"===n.qHyperCube.qMode)){const r=n.qHyperCube,a=r.qNoOfLeftDims,l=r.qEffectiveInterColumnSortOrder.indexOf(t.dimensionIdx);if(i.selectPivotCells||(i.selectPivotCells={path:t.path,cells:[]}),e.id===o||!o){const n=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e)));(0===a||l>=a)&&a>-1?n.forEach((e=>{i.selectPivotCells.cells.push({qType:"T",qCol:e,qRow:l-a})})):n.forEach((e=>{i.selectPivotCells.cells.push({qType:"L",qCol:t.dimensionIdx,qRow:e})})),s=!!i.selectPivotCells.cells.length}}else i.selectHyperCubeCells||(i.selectHyperCubeCells={path:t.path,cols:[]}),i.selectHyperCubeCells.cols.push(t.dimensionIdx),e.id!==o&&(o||i.selectHyperCubeCells.values)||(i.selectHyperCubeCells.values=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e))),s=!!i.selectHyperCubeCells.values.length);else{const n=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e)));s=!!n.length,a.push({params:[t.path,t.dimensionIdx,n,!1],method:"selectHyperCubeValues"})}}})),!s&&l?[{method:"resetMadeSelections",params:[]}]:(i.rangeSelectHyperCubeValues&&a.push({method:"rangeSelectHyperCubeValues",params:[i.rangeSelectHyperCubeValues.path,i.rangeSelectHyperCubeValues.ranges,[],null===(c=t.orMode)||void 0===c||c]}),i.selectHyperCubeContinuousRange&&a.push({method:"selectHyperCubeContinuousRange",params:[i.selectHyperCubeContinuousRange.path,i.selectHyperCubeContinuousRange.ranges]}),i.selectHyperCubeCells&&a.push({method:"selectHyperCubeCells",params:[i.selectHyperCubeCells.path,i.selectHyperCubeCells.values,i.selectHyperCubeCells.cols]}),i.selectPivotCells&&a.push({method:"selectPivotCells",params:[i.selectPivotCells.path,i.selectPivotCells.cells]}),i.multiRangeSelectTreeDataValues&&a.push({method:"multiRangeSelectTreeDataValues",params:[i.multiRangeSelectTreeDataValues.path,i.multiRangeSelectTreeDataValues.ranges]}),a);var c}function Qy(e){$y.util=e.data("matrix").util,e.data("q",$y),e.formatter("q-number",Ry),e.formatter("q-time",By)}Qy.qBrushHelper=Zy,Qy.selections=Zy;"#".concat("chart-modules-tooltip"),Number.MAX_VALUE,new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞‏יִײַ-ﬨשׁ-ﭏ]"),new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]");const eb=/,(?![^(]*\))/,tb=/\s(?![^(]*\))/,nb=/^[0-9]+[a-zA-Z%]+?$/,rb=["none","inset","initial","inherit"],ob=e=>{if(!e)return;const t=e.split(tb).filter((e=>!rb.includes(e.toLowerCase()))).at(-1),n=!t||(e=>"0"===e||nb.test(e))(t)||rb.includes(t.toLowerCase())?void 0:t;return n},ab=e=>e?e.split(eb).map((e=>e.trim())):[];function ib(e,t,n,r){return n&&r?n.getStyle(`object.${r}`,e,t):n?n.getStyle("",e,t):void 0}function lb(e,t,n,r,o){return e&&r?"none"!==e.color?r.getColorPickerColor(e):void 0:ib(t,n,r,o)}const sb={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},cb={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function ub(e,t,n){const r=e?.bgImage;if(r){let o="";if("media"===r.mode||"media"===e.useImage){let e;const a=r?.mediaUrl,{qUrl:i}=a?.qStaticContentUrl||{};o=i?decodeURIComponent(i):void 0,o=function(e,t){return t?function(e){let t,n,r,o;return e?.session?.config?(t=e.session.config,n=new URL(t.url),o="wss:"===n.protocol,r=o?"https://":"http://",r+n.host):""}(e)+t:void 0}(t,o),n&&(e=Object.entries(n).map((([e,t])=>`&${e}=${encodeURIComponent(t)}`)).join("&"),o=`${o}?${e}`)}"expression"===r.mode&&(o=r.expressionUrl?decodeURIComponent(r.expressionUrl):void 0);const a=function(e){let t="center center";return e?.bgImage?.position&&(t=cb[e.bgImage.position]),t}(e),i=function(e){let t=sb.originalSize;const n=e?.bgImage?.sizing;return n&&(t=sb[n]),t}(e);return o?{url:o,pos:a,size:i}:void 0}}function db(e,t,n){const r=e?.bgColor;return r&&t&&(r.useExpression||r.useColorExpression)?t.validateColor(r.colorExpression):lb(r?.color,"","backgroundColor",t,n)}function pb(e,t,n){const r=ib("shadow","boxShadow",t,n);return((e,t,n)=>{if(e&&rb.includes(e.toLowerCase()))return e.toLowerCase();const r=ab(e);if(1!==r.length)return e;let o=n;if(!o){const n=ab(t);if(1!==n.length)return e;o=ob(n[0])}if(!o)return e;const a=ob(r[0]);return a?e.replace(a,o):`${e} ${o}`})(e?.shadow?.boxShadow||r,r,lb(e?.shadow?.boxShadowColor,"shadow","boxShadowColor",t,n))}function fb(e,t,n,r){const o=e?.title?.[t]||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(o.fontStyle,t);return{fontFamily:o.fontFamily||n.getStyle(`object.${r}`,`title.${t}`,"fontFamily"),fontSize:o.fontSize||n.getStyle(`object.${r}`,`title.${t}`,"fontSize"),color:o.color&&"none"!==o.color.color?n.getColorPickerColor(o.color):n.getStyle(`object.${r}`,`title.${t}`,"color"),backgroundColor:o.backgroundColor||n.getStyle(`object.${r}`,`title.${t}`,"backgroundColor"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const hb={selected:"#00873D",alternative:"#E4E4E4",excluded:"#A9A9A9",selectedExcluded:"#A9A9A9",possible:"#FFFFFF"},mb=["theme","selections"];function qb({app:e,themeApi:t,theme:n,queryParams:r,components:o,checkboxes:a}){return function({app:e,themeApi:t,theme:n,queryParams:r,components:o=[],checkboxes:a=!1}){const i=function(e=[]){const t={};return e.forEach((e=>{const n=e?.key;mb.includes(n)&&(t[n]=e)})),t}(o),l=(e,n)=>t.getStyle("object.listBox",e,n),s=e=>e?.index>0||e?.color?t.getColorPickerColor(e):void 0,c=function({getColorPickerColor:e,theme:t,getListboxStyle:n,overrides:r,checkboxes:o}){const a=r.theme?.content?.fontColor,i=e(a)||n("content","color")||t.palette?.text.primary,l=!o&&(r.theme?.content?.useContrastColor??!0),s=r.selections?.colors||{},c=r=>{const o="selected"===r?"main":r,a=`${r}Contrast`,c=e(s[r])||n("",`dataColors.${r}`)||"possible"===r&&n("","backgroundColor")||t.palette?.selected?.[o]||hb[r],u=l?oq(c,i):i||t.palette?.selected[`${a}Text}`];return{[r]:c,[a]:u}};return{...c("selected"),...c("alternative"),...c("excluded"),...c("selectedExcluded"),...c("possible")}}({getColorPickerColor:s,theme:n,getListboxStyle:l,overrides:i,checkboxes:a}),u=i.theme||{},d=s(u.header?.fontColor)||l("title.main","color"),p=function({themeApi:e,themeOverrides:t}){let n;const r=t?.background;return r?(n=r?.useExpression?db({bgColor:r},e,"listBox"):e.getColorPickerColor(r?.color),n):n}({themeApi:t,themeOverrides:u}),f=u.background?.image?ub({bgImage:u.background.image},e,r):void 0,h=p||l("","backgroundColor")||n.palette.background.default,m=function(e,t){const n=nq(t("","backgroundColor"));return n.setAlpha(.7),n.isInvalid()?e:n.getRGBA()}(h,l),q=function(e){return oq("#fff",e("content","color"))}(l),g=u.header?.fontStyle||{},y=u.content?.fontStyle||{},b=(e,t,n)=>!0===e&&t||!1===e&&n||void 0;return{background:{backgroundColor:h,backgroundImage:f?.url&&!f?.url.startsWith("url(")?`url('${f.url}')`:void 0,backgroundRepeat:"no-repeat",backgroundSize:f?.size,backgroundPosition:f?.pos},header:{color:d,fontSize:u.header?.fontSize||l("title.main","fontSize"),fontFamily:u.header?.fontFamily||l("title.main","fontFamily"),fontWeight:b(g.bold,"bold","normal")||l("title.main","fontWeight")||"bold",textDecoration:g.underline?"underline":"initial",fontStyle:b(g.italic,"italic","normal")||l("title.main","fontStyle")||"initial"},content:{backgroundColor:a?void 0:c.possible,color:c.possibleContrast||l("content","color"),fontSize:u.content?.fontSize||l("content","fontSize"),fontFamily:u.content?.fontFamily||l("content","fontFamily"),fontWeight:b(y.bold,"bold","normal")||l("content","fontWeight")||"normal",textDecoration:y.underline?"underline":"initial",fontStyle:b(y.italic,"italic","normal")||l("content","fontStyle")||"initial"},search:{color:q,borderColor:n.palette.divider,highlightBorderColor:n.palette.custom.focusBorder,backgroundColor:m,backdropFilter:"blur(8px)"},selections:c}}({app:e,themeApi:t,theme:n,queryParams:r,components:o,checkboxes:a})}function gb({alignTo:e,anchorOrigin:t={vertical:"bottom",horizontal:"center"},transformOrigin:n={vertical:"top",horizontal:"center"},show:o,close:a,app:i,fieldName:l,stateName:s="$",autoFocus:c,components:u,checkboxes:d,selectDisabled:p=()=>!1,sortCriteria:f=[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],direction:h="ltr"}){const m=Boolean(l?.qLibraryId),q=o&&Boolean(e.current),[g,y]=(0,r.useState)(0),b=Wo(),v=(0,r.useRef)(),[C]=Ji({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:f,qFieldDefs:m?void 0:[l]},qLibraryId:m?l.qLibraryId:void 0}},i,l,s),S=(0,r.useCallback)((()=>{C.lock("/qListObjectDef")}),[C]),E=(0,r.useCallback)((()=>{C.unlock("/qListObjectDef")}),[C]),{translator:O,themeApi:I,keyboardNavigation:x,hostConfig:R}=(0,r.useContext)(bi),w=(0,r.useRef)(),L=(0,r.useRef)(),[N]=Bm(i,C,L),[_]=nl(C),[T]=(0,r.useState)((()=>jm({selectDisabled:p}))),D=Ed({containerRef:L,enabled:x}),{checkboxes:A=d}=_||{},P=qb({themeApi:I,theme:b,hostConfig:R,components:u,checkboxes:A});if((0,r.useEffect)((()=>{N&&q&&(N.isModal(C)||N.goModal("/qListObjectDef"))}),[N,q]),!(C&&_&&O&&P))return null;const k=!0===_.qListObject.qDimensionInfo.qLocked,M=(e,t)=>{const n="escapeKeyDown"!==t;N.noModal(n),a()},F=th({layout:_,model:C,translator:O,selectionState:T,selections:N}),B=$m(_);return r.createElement(Mc,{className:"listbox-container",open:q,onClose:M,anchorEl:e.current,anchorOrigin:t,transformOrigin:n,slotProps:{paper:{style:{minWidth:"250px"}}},onKeyDown:e=>"Enter"===e.key?M():void 0,direction:h},r.createElement(Xi,{container:!0,direction:"column",gap:0,ref:L},r.createElement(Xi,{item:!0,container:!0,style:{direction:h,padding:b.spacing(1)}},r.createElement(Xi,{item:!0},k?r.createElement(vs,{onClick:E,disabled:!k,size:"large"},r.createElement(cl,{title:O.get("Listbox.Unlock")})):r.createElement(vs,{onClick:S,disabled:!B,size:"large"},r.createElement(Ss,{title:O.get("Listbox.Lock")}))),r.createElement(Xi,{item:!0,xs:!0}),r.createElement(Xi,{item:!0},r.createElement(Yh,{layout:_,more:{enabled:!k,actions:F,alignTo:w,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:N,onConfirm:M,onCancel:()=>M(0,"escapeKeyDown")}}))),r.createElement(Xi,{item:!0,xs:!0},r.createElement("div",{ref:w}),r.createElement(Xi,{item:!0},r.createElement(Pm,{ref:v,popoverOpen:q,styles:P,visible:!0,model:C,listCount:g,selections:N,selectionState:T,keyboard:{enabled:!1,innerTabStops:!0,focusSelection:D.focusSelection},autoFocus:c??!0,direction:h})),r.createElement(Yf,{model:C,app:i,layout:_,selections:N,selectionState:T,direction:h,onSetListCount:e=>y(e),onCtrlF:()=>{v.current.focus()},styles:P,keyboard:D}))))}function yb({field:e,api:t,stateIx:n=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=()=>{}}){const{translator:l}=(0,r.useContext)(bi),s=a||(0,r.useRef)(),c=Wo(),[u,d]=(0,r.useState)(!1),p=()=>{d(!1),i()},f=e.selections[n];void 0===f.qTotal&&(f.qTotal=0);const h=f.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},m=(h.qSelected+h.qLocked)/f.qTotal,q=h.qAlternative/f.qTotal,g=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/f.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,b=0===y&&0===f.qTotal;let v="";f.qTotal===y&&f.qTotal>1?v=l.get("CurrentSelections.All"):y>1&&f.qTotal?v=l.get("CurrentSelections.Of",[y,f.qTotal]):f.qSelectedFieldSelectionInfo&&(v=f.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==e.states[n]&&(v=`${e.states[n]}: ${v}`);const C=[{color:c.palette.selected.main,ratio:m},{color:c.palette.selected.alternative,ratio:q},{color:c.palette.selected.excluded,ratio:g}];C.forEach(((e,t)=>{e.offset=t?C[t-1].offset+C[t-1].ratio:0}));let S=null,E=null,O=null,I=null;return a||(S=r.createElement(Xi,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:f.qLocked?"0.3":""}},r.createElement(Cl,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.label),r.createElement(Cl,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},v)),f.qLocked?E=r.createElement(Xi,{item:!0},r.createElement(vs,{size:"large"},r.createElement(cl,null))):f.qOneAndOnlyOne||(E=r.createElement(Xi,{item:!0},r.createElement(vs,{title:l.get("Selection.Clear"),onClick:r=>{r.stopPropagation(),t.clearField(f.qField,e.states[n])},size:"large"},r.createElement(sl,null)))),O=r.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===b&&C.map((e=>r.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:100*e.ratio+"%",left:100*e.offset+"%"}})))),I=r.createElement(Xi,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&(e=>{e.currentTarget.contains(e.target)&&d(!u)})||null},S,E,O,u&&r.createElement(gb,{alignTo:s,show:u,close:p,app:t.model,fieldName:f.qField,stateName:e.states[n]}))),a?r.createElement(gb,{alignTo:s,show:!0,close:p,app:t.model,fieldName:f.qField,stateName:e.states[n]}):I}const bb=e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current};function vb(e){return ci("MuiBadge",e)}const Cb=ui("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Sb=Bi("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Eb=Bi("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${fl(n.anchorOrigin.vertical)}${fl(n.anchorOrigin.horizontal)}${fl(n.overlap)}`],"default"!==n.color&&t[`color${fl(n.color)}`],n.invisible&&t.invisible]}})(pl((({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(hl(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}))));function Ob(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const Ib=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiBadge"}),{anchorOrigin:r,className:o,classes:a,component:i,components:l={},componentsProps:s={},children:c,overlap:u="rectangular",color:d="default",invisible:p=!1,max:f=99,badgeContent:h,slots:m,slotProps:q,showZero:g=!1,variant:y="standard",...b}=n,{badgeContent:v,invisible:C,max:S,displayValue:E}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=bb({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:f,invisible:p,badgeContent:h,showZero:g}),O=bb({anchorOrigin:Ob(r),color:d,overlap:u,variant:y,badgeContent:h}),I=C||null==v&&"dot"!==y,{color:x=d,overlap:R=u,anchorOrigin:w,variant:L=y}=I?O:n,N=Ob(w),_="dot"!==L?E:void 0,T={...n,badgeContent:v,invisible:I,max:S,displayValue:_,showZero:g,anchorOrigin:N,color:x,overlap:R,variant:L},D=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return wi({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${fl(n.vertical)}${fl(n.horizontal)}`,`anchorOrigin${fl(n.vertical)}${fl(n.horizontal)}${fl(o)}`,`overlap${fl(o)}`,"default"!==t&&`color${fl(t)}`]},vb,i)})(T),A={slots:{root:m?.root??l.Root,badge:m?.badge??l.Badge},slotProps:{root:q?.root??s.root,badge:q?.badge??s.badge}},[P,k]=rc("root",{elementType:Sb,externalForwardedProps:{...A,...b},ownerState:T,className:xi(D.root,o),ref:t,additionalProps:{as:i}}),[M,F]=rc("badge",{elementType:Eb,externalForwardedProps:A,ownerState:T,className:D.badge});return(0,Yo.jsxs)(P,{...k,children:[c,(0,Yo.jsx)(M,{...F,children:_})]})})),xb=Ib;function Rb(e){return ci("MuiListItem",e)}ui("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const wb=ui("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Lb(e){return ci("MuiListItemSecondaryAction",e)}ui("MuiListItemSecondaryAction",["root","disableGutters"]);const Nb=Bi("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),_b=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiListItemSecondaryAction"}),{className:o,...a}=n,i=r.useContext(gh),l={...n,disableGutters:i.disableGutters},s=(e=>{const{disableGutters:t,classes:n}=e;return wi({root:["root",t&&"disableGutters"]},Lb,n)})(l);return(0,Yo.jsx)(Nb,{className:xi(s.root,o),ownerState:l,ref:t,...a})}));_b.muiName="ListItemSecondaryAction";const Tb=_b,Db=Bi("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]}})(pl((({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${wb.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]})))),Ab=Bi("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Pb=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiListItem"}),{alignItems:o="center",children:a,className:i,component:l,components:s={},componentsProps:c={},ContainerComponent:u="li",ContainerProps:{className:d,...p}={},dense:f=!1,disableGutters:h=!1,disablePadding:m=!1,divider:q=!1,secondaryAction:g,slotProps:y={},slots:b={},...v}=n,C=r.useContext(gh),S=r.useMemo((()=>({dense:f||C.dense||!1,alignItems:o,disableGutters:h})),[o,C.dense,f,h]),E=r.useRef(null),O=r.Children.toArray(a),I=O.length&&(T=O[O.length-1],D=["ListItemSecondaryAction"],r.isValidElement(T)&&-1!==D.indexOf(T.type.muiName??T.type?._payload?.value?.muiName)),x={...n,alignItems:o,dense:S.dense,disableGutters:h,disablePadding:m,divider:q,hasSecondaryAction:I},R=(e=>{const{alignItems:t,classes:n,dense:r,disableGutters:o,disablePadding:a,divider:i,hasSecondaryAction:l}=e;return wi({root:["root",r&&"dense",!o&&"gutters",!a&&"padding",i&&"divider","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"]},Rb,n)})(x),w=Il(E,t),L=b.root||s.Root||Db,N=y.root||c.root||{},_={className:xi(R.root,N.className,i),...v};var T,D;let A=l||"li";return I?(A=_.component||l?A:"div","li"===u&&("li"===A?A="div":"li"===_.component&&(_.component="div")),(0,Yo.jsx)(gh.Provider,{value:S,children:(0,Yo.jsxs)(Ab,{as:u,className:xi(R.container,d),ref:w,ownerState:x,...p,children:[(0,Yo.jsx)(L,{...N,...!Es(L)&&{as:A,ownerState:{...x,...N.ownerState}},..._,children:O}),O.pop()]})})):(0,Yo.jsx)(gh.Provider,{value:S,children:(0,Yo.jsxs)(L,{...N,as:A,ref:w,...!Es(L)&&{ownerState:{...x,...N.ownerState}},..._,children:[O,g&&(0,Yo.jsx)(Tb,{children:g})]})})})),kb=Pb,Mb=r.createContext({}),Fb=r.createContext(void 0),Bb=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],jb=Bi(os,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${fl(n.color)}`],t[`size${fl(n.size)}`],t[`${n.variant}Size${fl(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(pl((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${pi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${pi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${pi.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${pi.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:br(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${pi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${pi.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${pi.loading}`]:{color:"transparent"}}}]}}))),zb=Bi("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${fl(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Bb]}))),$b=Bi("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${fl(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Bb]}))),Gb=Bi("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}))),Vb=Bi("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Ub=r.forwardRef((function(e,t){const n=r.useContext(Mb),o=r.useContext(Fb),a=ji({props:ta(n,e),name:"MuiButton"}),{children:i,color:l="primary",component:s="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:f,focusVisibleClassName:h,fullWidth:m=!1,id:q,loading:g=null,loadingIndicator:y,loadingPosition:b="center",size:v="medium",startIcon:C,type:S,variant:E="text",...O}=a,I=Sl(q),x=y??(0,Yo.jsx)(hs,{"aria-labelledby":I,color:"inherit",size:16}),R={...a,color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:p,fullWidth:m,loading:g,loadingIndicator:x,loadingPosition:b,size:v,type:S,variant:E},w=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,loading:i,loadingPosition:l,classes:s}=e,c=wi({root:["root",i&&"loading",a,`${a}${fl(t)}`,`size${fl(o)}`,`${a}Size${fl(o)}`,`color${fl(t)}`,n&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${fl(l)}`],startIcon:["icon","startIcon",`iconSize${fl(o)}`],endIcon:["icon","endIcon",`iconSize${fl(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},di,s);return{...s,...c}})(R),L=(C||g&&"start"===b)&&(0,Yo.jsx)(zb,{className:w.startIcon,ownerState:R,children:C||(0,Yo.jsx)(Vb,{className:w.loadingIconPlaceholder,ownerState:R})}),N=(f||g&&"end"===b)&&(0,Yo.jsx)($b,{className:w.endIcon,ownerState:R,children:f||(0,Yo.jsx)(Vb,{className:w.loadingIconPlaceholder,ownerState:R})}),_=o||"",T="boolean"==typeof g?(0,Yo.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:g&&(0,Yo.jsx)(Gb,{className:w.loadingIndicator,ownerState:R,children:x})}):null;return(0,Yo.jsxs)(jb,{ownerState:R,className:xi(n.className,w.root,c,_),component:s,disabled:u||g,focusRipple:!p,focusVisibleClassName:xi(w.focusVisible,h),ref:t,type:S,id:g?I:q,...O,classes:w,children:[L,"end"!==b&&T,i,"end"===b&&T,N]})})),Wb=Ub,Hb=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e)),Kb="MultiState-item",Xb=Bi(Xi)((({theme:e})=>({[`&.${Kb}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Yb({field:e,api:t,moreAlignTo:n=null,onClose:o=()=>{}}){const[a,i]=(0,r.useState)(!!n),[l,s]=(0,r.useState)(-1),[c,u]=(0,r.useState)(n?n.current:null),d=n||(0,r.useRef)(),{translator:p}=(0,r.useContext)(bi),f=p.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;n||(m=r.createElement(r.Fragment,null,r.createElement(Xi,{item:!0,xs:!0,zeroMinWidth:!0},r.createElement(xb,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},r.createElement(Cl,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.label))),r.createElement(Xi,{item:!0},r.createElement("div",{style:{width:"12px"}})),r.createElement(Xi,{item:!0},r.createElement(vs,{size:"large"},r.createElement(Hb,null)))));const q=r.createElement(Dh,{dense:!0},r.createElement(kb,{title:f,onClick:()=>{e.states.forEach((n=>t.clearField(e.name,n)))}},r.createElement(Wb,{variant:"contained",fullWidth:!0},f)),e.states.map(((n,o)=>r.createElement(kb,{key:o,title:e.label,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},r.createElement(hd,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},r.createElement(yb,{field:e,api:t,stateIx:o,skipHandleShowListBoxPopover:!0})))))),g=r.createElement(Mc,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},q),y=n?g:r.createElement(Xb,{container:!0,gap:0,className:Kb,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},m,a&&g,l>-1&&r.createElement(gb,{alignTo:d,show:l>-1,close:h,app:t.model,fieldName:e.selections[l].qField,stateName:e.states[l]}));return n&&l>-1?r.createElement(gb,{alignTo:d,show:l>-1,close:h,app:t.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):y}const Jb="More",Zb={item:`${Jb}-item`,badge:`${Jb}-badge`},Qb=Bi(Xi)((({theme:e})=>({[`&.${Zb.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${Zb.badge}`]:{padding:e.spacing(0,1)}})));function ev({items:e=[],api:t}){const n=Wo(),[o,a]=(0,r.useState)(!1),[i,l]=(0,r.useState)(-1),[s,c]=(0,r.useState)(null),u=(0,r.useRef)(),d=()=>{l(-1)};let p=null;return i>-1&&(p=e[i].states.length>1?r.createElement(Yb,{field:e[i],api:t,moreAlignTo:u,onClose:d}):r.createElement(yb,{field:e[i],api:t,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),r.createElement(Qb,{container:!0,gap:0,className:Zb.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},r.createElement(Xi,{item:!0},r.createElement(hd,{borderRadius:n.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:n.palette.selected.main,color:n.palette.selected.mainContrastText}},r.createElement(Cl,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),r.createElement(Xi,{item:!0},r.createElement(vs,{size:"large"},r.createElement(Hb,null))),o&&r.createElement(Mc,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},r.createElement(Dh,{dense:!0},e.map(((e,n)=>r.createElement(kb,{key:n,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,n)},r.createElement(hd,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?r.createElement(Yb,{field:e,api:t}):r.createElement(yb,{field:e,api:t}))))))),p)}function tv({api:e,app:t}){const n=Wo(),[o]=Qi(t),[a]=nl(o),[i,l]=(0,r.useState)({items:[],more:[]}),{modalObjectStore:s}=(0,r.useContext)(bi).selectionStore,[c,u]=ol(),[d,p]=(0,r.useState)(0);return(0,r.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[u]),(0,r.useEffect)((()=>{if(!(t&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};function n(e,n){e.qSelections.forEach((e=>{const r=e.qField;let o=t[r];void 0===o&&(o={name:r,label:e.qDimensionReferences?.find((e=>e.qLabel))?.qLabel||e.qReadableName||r,states:[],selections:[]},t[r]=o),o.states.push(n),o.selections.push(e)}))}return e.qSelectionObject&&n(e.qSelectionObject,"$"),e.alternateStates&&e.alternateStates.forEach((e=>n(e.qSelectionObject,e.stateName))),Object.keys(t).map((e=>t[e])).filter((e=>!e.selections.some((e=>e.qIsHidden))))}(a);l((n=>{const r=e;if((()=>{const{model:e}=s.get(t.id)||{};return"njsListbox"===e?.genericType})()&&r.length+1===n.items.length){const e=n.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:t}=e.selections[0];e.selections=[{qField:t}];const o=n.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[t,o,a,e.isInModal(),d]),r.createElement(Xi,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((t=>r.createElement(Xi,{item:!0,key:`${t.states.join("::")}::${t.name}`,style:{position:"relative",maxWidth:"240px",minWidth:"120px",background:n.palette.background.paper,borderRight:`1px solid ${n.palette.divider}`}},t.states.length>1?r.createElement(Yb,{field:t,api:e}):r.createElement(yb,{field:t,api:e})))),i.more.length>0&&r.createElement(Xi,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"72px",background:n.palette.background.paper,borderRight:`1px solid ${n.palette.divider}`}},r.createElement(ev,{items:i.more,api:e})))}const nv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e)),rv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function ov({api:e,app:t}){const{translator:n}=(0,r.useContext)(bi),[o]=function(e){const[t]=Qi(e),[n]=nl(t),[o]=rl(e),[a,i]=(0,r.useState)(null);return(0,r.useEffect)((()=>{o&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}}))),o=(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::"),a=(n.qStateNames||[]).map((e=>e)).join("::");o!==a&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,o)}),[o,t,n]),(0,r.useEffect)((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),i({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[a,t,n]}(t);return r.createElement(Xi,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},r.createElement(Xi,{item:!0},r.createElement(vs,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:n.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},r.createElement(nv,null))),r.createElement(Xi,{item:!0},r.createElement(vs,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:n.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},r.createElement(rv,null))),r.createElement(Xi,{item:!0},r.createElement(vs,{disabled:!o||!o.canClear,title:n.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},r.createElement(qh,null))))}const av=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function iv([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function lv(){return av.map(iv).join("")}function sv({app:e}){const t=Wo(),[n]=km(e);return n?r.createElement(Xi,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:t.palette.background.paper,minHeight:"40px"}},r.createElement(Xi,{item:!0,style:{borderRight:`1px solid ${t.palette.divider}`}},r.createElement(ov,{api:n,app:e})),r.createElement(Xi,{item:!0,xs:!0,style:{backgroundColor:t.palette.background.darker,overflow:"hidden"}},r.createElement(tv,{api:n,app:e}))):null}let cv;cv="undefined"!=typeof window?window:"undefined"!=typeof self?self:i.g;let uv=null,dv=null;const pv=cv.clearTimeout,fv=cv.setTimeout,hv=cv.cancelAnimationFrame||cv.mozCancelAnimationFrame||cv.webkitCancelAnimationFrame,mv=cv.requestAnimationFrame||cv.mozRequestAnimationFrame||cv.webkitRequestAnimationFrame;null==hv||null==mv?(uv=pv,dv=function(e){return fv(e,20)}):(uv=function([e,t]){hv(e),pv(t)},dv=function(e){const t=mv((function(){pv(n),e()})),n=fv((function(){hv(t),e()}),20);return[t,n]});class qv extends r.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const r=window.getComputedStyle(this._parentNode)||{},o=parseFloat(r.paddingLeft||"0"),a=parseFloat(r.paddingRight||"0"),i=parseFloat(r.paddingTop||"0"),l=parseFloat(r.paddingBottom||"0"),s=this._parentNode.getBoundingClientRect(),c=s.height-i-l,u=s.width-o-a,d=this._parentNode.offsetHeight-i-l,p=this._parentNode.offsetWidth-o-a;(e||this.state.height===d&&this.state.scaledHeight===c)&&(t||this.state.width===p&&this.state.scaledWidth===u)||(this.setState({height:d,width:p,scaledHeight:c,scaledWidth:u}),"function"==typeof n&&n({height:d,scaledHeight:c,scaledWidth:u,width:p}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=function(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&uv(this.__resizeRAF__),this.__resizeRAF__=dv((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=cv.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:o=!1,disableWidth:a=!1,doNotBailOutOnEmptyChildren:i=!1,nonce:l,onResize:s,style:c={},tagName:u="div",...d}=this.props,{height:p,scaledHeight:f,scaledWidth:h,width:m}=this.state,q={overflow:"visible"},g={};let y=!1;return o||(0===p&&(y=!0),q.height=0,g.height=p,g.scaledHeight=f),a||(0===m&&(y=!0),q.width=0,g.width=m,g.scaledWidth=h),i&&(y=!1),(0,r.createElement)(u,{ref:this._setRef,style:{...q,...c},...d},!y&&e(g))}}function gv({keyboard:e,hovering:t,updateKeyScroll:n,currentScrollIndex:r,isModal:o,constraints:a,selections:i}){return{handleKeyDown:t=>{const{keyCode:n,shiftKey:r=!1}=t.nativeEvent,a=()=>{t.stopPropagation(),t.preventDefault()};if(!e.enabled)return;const l=t.currentTarget.closest(".listbox-container"),s=o();switch(n){case vd.TAB:if(document.activeElement===l||!s&&!l.contains(document.activeElement))return;if(r)xd(l)||Id(l)||wd(t,e);else if(!(Rd(l)||Id(l)||xd(l)))break;a();break;case vd.ENTER:case vd.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),a();break;case vd.ESCAPE:wd(t,e),i.isActive()&&i.cancel()}},handleOnMouseEnter:()=>{t.current=!0},handleOnMouseLeave:()=>{t.current&&(t.current=!1)},globalKeyDown:e=>{if(!t.current||(()=>{const e=a?.select||a?.active,t=o();return e||t})())return;const{keyCode:i,ctrlKey:l=!1,shiftKey:s=!1}=e;switch(i){case vd.ARROW_UP:n({up:1});break;case vd.ARROW_DOWN:n({down:1});break;case vd.PAGE_UP:n({up:r.stop-r.start});break;case vd.PAGE_DOWN:n({down:r.stop-r.start});break;case vd.HOME:n({scrollPosition:l&&s?"overflowStart":"start"});break;case vd.END:n({scrollPosition:l&&s?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const yv=Bi("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function bv({text:e}){const{translator:t}=(0,r.useContext)(bi);return r.createElement(yv,null,t.get(e))}const vv={fontSize:"12px"},Cv=Bi(os)((({theme:e,isLoading:t})=>({position:"absolute",top:0,left:0,height:48,zIndex:2,background:e.palette.custom.disabledBackground,opacity:1,color:e.palette.custom.disabledContrastText,width:"100%",display:"flex",justifyContent:t?"center":"flex-start",paddingLeft:16,paddingRight:16,borderRadius:0,"& *, & p":{color:e.palette.custom.disabledContrastText},"& i":{padding:"7px"}}))),Sv=Bi(Xi,{shouldForwardProp:e=>!["styles","isRtl"].includes(e)})((({styles:e,isRtl:t})=>({flexDirection:t?"row-reverse":"row",wrap:"nowrap",minHeight:32,alignContent:"center",...e.header,"& *":{color:e.header.color}}))),Ev=Bi(Cl)((({styles:e})=>({...e.header,display:"block",alignItems:"center",paddingRight:"1px"})));function Ov({translator:e,toggleLock:t,keyboard:n,isLoading:o}){const a=e.get("SelectionToolbar.ClickToUnlock");return r.createElement(Cv,{title:a,tabIndex:n.enabled?0:-1,onClick:t,"data-testid":"listbox-unlock-button",id:"listbox-unlock-button",isLoading:o},o?r.createElement(hs,{size:16,variant:"indeterminate",color:"primary"}):r.createElement(cl,{disableRipple:!0,style:vv}),!o&&r.createElement(Cl,{fontSize:"14px"},a))}const Iv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M 6 2 h 10 V 1 H 6 Z m 5 5 h 5 V 6 h -5 Z m 5 5 h -5 v -1 h 5 Z M 5 10 h 1 v 2.663 a 3.5 3.5 0 1 0 -2.922 0.036 l -0.406 0.914 A 4.501 4.501 0 1 1 7.329 13 H 9 v 1 H 5 Z"}}]}))(e)),xv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M7 4h9v1H7zm2 4h7v1H9zm2 4h5v1h-5zM1 4v3.526a3.5 3.5 0 0 0 3.5 3.5h2.31L5.22 9.402l.715-.7L8.7 11.527 5.935 14.35l-.714-.7 1.59-1.624H4.5a4.5 4.5 0 0 1-4.5-4.5V4z"}}]}))(e)),Rv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7Z"}}]}))(e)),wv=Bi(Wb)((()=>({borderRadius:4,width:24,height:24,minWidth:22,padding:0}))),Lv=function({iconData:e,translator:t,iconStyle:n,disabled:o,keyboard:a}){if(!e)return;const{icon:i,tooltip:l,onClick:s,onKeyDown:c}=e,u=i,d=t.get(l);return s?r.createElement(wv,{variant:"outlined",onClick:s,tabIndex:a.innerTabStops?0:-1,title:d,size:"large",disableRipple:!0,disabled:o,onKeyDown:c,className:"listbox-cyclic-button","data-testid":"listbox-cyclic-button"},r.createElement(u,{style:n})):r.createElement(u,{title:d,size:"large",style:{...n,padding:"7px"}})};function Nv(){return Nv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nv.apply(null,arguments)}let _v=0;const Tv=function({layout:e,translator:t,styles:n,isRtl:o,showLock:a,showSearchIcon:i,constraints:l,onShowSearch:s,classes:c,containerRect:u,isPopover:d,showToolbar:p,showDetachedToolbarOnly:f,containerRef:h,model:m,selectionState:q,isDirectQuery:g,selections:y,keyboard:b,autoConfirm:v,app:C,disablePortal:S}){const[E,O]=(0,r.useState)(f),[I,x]=(0,r.useState)(e?.qListObject?.qDimensionInfo?.qLocked),[R,w]=(0,r.useState)(!1);(0,r.useEffect)((()=>{x(e?.qListObject?.qDimensionInfo?.qLocked)}),[e?.qListObject?.qDimensionInfo?.qLocked]);const L=(0,r.useRef)(null),N=(({dimInfo:e,app:t,selections:n,isPopover:r,active:o,keyboard:a})=>{switch(e.qGrouping){case"H":return{icon:xv,tooltip:"Listbox.DrillDown",onClick:void 0};case"C":{const i=t&&o,l=()=>{r||n.confirm(),t.getDimension(e.qLibraryId).then((e=>{e.stepCycle?e.stepCycle(1):console.log("engine api spec version doesn't have support for function stepCycle")})).catch((()=>null))};return{icon:i?Rv:Iv,tooltip:"Listbox.Cyclic",onClick:i?l:void 0,onKeyDown:i?e=>{const t=e.currentTarget.closest(".listbox-container");switch(e.keyCode){case vd.SPACE:case vd.ENTER:l();break;case vd.TAB:{if(!a.enabled)return;let n;n=e.shiftKey?a.focusSelection():Id(t)||xd(t),n||wd(e,a)}break;default:return}e.preventDefault(),e.stopPropagation()}:void 0}}default:return}})({dimInfo:e?.qListObject?.qDimensionInfo,app:C,selections:y,isPopover:d,active:!l?.active,keyboard:b}),_=a&&I,T=!a&&I,D=i||T||N,A=9-(D?7:0),P=o?9-(D?7:0):4,k=(i?28:0)+(T?28:0)+(N?28:0),M=function({isLocked:e,setLocked:t,settingLockedState:n,model:r,setSettingLockedState:o}){return()=>{const a=new Date;if(a-_v<500)return Promise.resolve();if(n)return()=>{};o(!0),_v=a;const i=e?r.unlock:r.lock;return t(!e),i.call(r,"/qListObjectDef").catch((()=>{t(e)})).finally((()=>{setTimeout((()=>{o(!1)}),0)}))}}({isLocked:I,setLocked:x,settingLockedState:R,setSettingLockedState:w,model:m}),F=th({layout:e,model:m,translator:t,selectionState:q,isDirectQuery:g,selections:y}),B=I||!a?void 0:[{key:"lock",type:void 0,label:t.get("SelectionToolbar.ClickToLock"),getSvgIconShape:Cs,enabled:()=>!R&&!q.selectDisabled()&&$m(e),action:M}],j=l?.active?r.createElement(Lm,{title:t.get("Listbox.Search"),size:"large",style:{...vv,padding:"7px"}}):r.createElement(vs,{onClick:s,tabIndex:-1,title:t.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},r.createElement(Lm,{style:vv}));(0,r.useEffect)((()=>{if(!L.current||!u)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n,paddingLeft:r,paddingRight:o}){const a=r+o;return!!(e.width<(t?.current?.clientWidth??0)+n+a+2+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:u,titleRef:L,iconsWidth:k,paddingLeft:A,paddingRight:P});O(f||e)}),[k,A,P,L.current,f,Object.entries(u||{}).sort().join(",")]);const z=function({isDetached:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,extraItems:a,selections:i,keyboard:l,autoConfirm:s,disablePortal:c}){return{autoConfirm:s,isDetached:e,show:t&&!e,popover:{show:t&&e,anchorEl:n.current},extraItems:a,more:{enabled:!r,actions:o,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"},disablePortal:c},selections:{show:t,api:i,onConfirm:()=>{l?.focus()},onCancel:()=>{l?.focus()}}}}({isDetached:!d&&E,showToolbar:p,containerRef:h,isPopover:d,isLocked:I,extraItems:B,listboxSelectionToolbarItems:F,selections:y,keyboard:b,autoConfirm:v,disablePortal:S}),$=r.createElement(Yh,Nv({isRtl:o,layout:e},z));if(f)return $;const G=T?r.createElement(cl,{size:"large",style:{...vv,padding:"7px"}}):void 0;return r.createElement(Sv,{item:!0,container:!0,styles:n,isRtl:o,marginY:1,paddingLeft:`${A}px`,paddingRight:`${P}px`,className:"header-container"},_&&r.createElement(Ov,{isLoading:R,translator:t,toggleLock:M,keyboard:b}),D&&r.createElement(Xi,{item:!0,container:!0,alignItems:"center",width:k,className:"header-action-container"},G||i&&j,r.createElement(Lv,{iconData:N,iconStyle:vv,disabled:y.isActive()&&d,translator:t,keyboard:b})),r.createElement(Xi,{item:!0,xs:!0,minWidth:0,justifyContent:o?"flex-end":"flex-start",className:c.listBoxHeader},r.createElement(Ev,{variant:"h6",noWrap:!0,ref:L,title:e.title,styles:n},e.title)),r.createElement(Xi,{item:!0,display:"flex"},$))},Dv="ListBoxInline",Av={listBoxHeader:`${Dv}-listBoxHeader`,screenReaderOnly:`${Dv}-screenReaderOnly`,listboxWrapper:`${Dv}-listboxWrapper`},Pv=Bi(Xi,{shouldForwardProp:e=>!["containerPadding","isGridMode","styles"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n,styles:r})=>({...r.background,[`& .${Av.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${Av.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${Av.listboxWrapper}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus ::-webkit-scrollbar-track":{boxShadow:n?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}})));function kv({options:e,layout:t}){const{app:n,direction:o,frequencyMode:a,checkboxes:i,search:l=!0,focusSearch:s=!1,rangeSelect:c=!0,model:u,selections:d,update:p,fetchStart:f,postProcessPages:h,calculatePagesHeight:m,showGray:q=!0,scrollState:g,renderedCallback:y,toolbar:b=!0,isPopover:v=!1,showLock:C=!1,components:S,selectDisabled:E=()=>!1,disablePortal:O=!0}=e,I=Wo(),{translator:x,keyboardNavigation:R,themeApi:w,queryParams:L,constraints:N}=(0,r.useContext)(bi),{checkboxes:_=i}=t||{},T=qb({app:n,themeApi:w,theme:I,queryParams:L,components:S,checkboxes:_}),D=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:n?.layout}),A=(0,r.useRef)(),P=(0,r.useRef)(),[k,M]=ol(),[F,B]=(0,r.useState)(!1),[j,z]=(0,r.useState)(!1),$=(0,r.useRef)(!1),[G,V]=(0,r.useState)({down:0,up:0,scrollPosition:""}),U=e=>V((t=>({...t,...e}))),[W,H]=(0,r.useState)({start:0,stop:0}),[K]=km(n),[X]=(0,r.useState)((()=>jm({selectDisabled:E}))),Y=Ed({containerRef:A,enabled:R}),J=(0,r.useCallback)((()=>(({app:e,appSelections:t})=>e.isInModalSelection?.()??t.isInModal())({app:n,appSelections:K})),[n,K]),Z=t?.qListObject.qDimensionInfo.qError,Q=Z&&N.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",{handleKeyDown:ee,handleOnMouseEnter:te,handleOnMouseLeave:ne,globalKeyDown:re}=(0,r.useMemo)((()=>gv({keyboard:Y,hovering:$,updateKeyScroll:U,containerRef:A,currentScrollIndex:W,app:n,appSelections:K,constraints:N,isModal:J,selections:d})),[Y,$,U,A,W,n,K,N,J]);(0,r.useEffect)((()=>(document.addEventListener("keydown",re),()=>{document.removeEventListener("keydown",re)})),[re]),(0,r.useEffect)((()=>{!0===l&&z(!0);const e=()=>{B(!0)},t=()=>{B(!1),"toggle"===l&&z(!1)};return v&&(d.isActive()||(d.on("activated",e),d.on("deactivated",t)),B(v)),b&&d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),B(v||d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[b,d,v]);const{wildCardSearch:oe,searchEnabled:ae,autoConfirm:ie=!1,layoutOptions:le={}}=t??{},se=t?.qListObject?.qDimensionInfo?.qLocked,ce=!1!==ae&&"toggle"===l&&!se,ue=t?.title?.length&&!1!==t?.showTitle,de=b&&!ue&&!v,pe=b&&ue||v,fe="rtl"===o;if(!(u&&t&&x&&T))return null;const he=!0===l||"toggle"===l&&j&&!1!==ae,me=le.dense??!1,qe=()=>{z(!j)},ge=()=>{"toggle"===l?qe():P.current.focus()},ye=he&&("toggle"===l||s),be="grid"===le?.dataLayout,ve=function({isGridMode:e,dense:t,height:n,layoutOrder:r}){let o;if(e){let a;a=op({isGridMode:e,dense:t})>n?"0px":"2px",o="row"===r?`${a} 4px`:`${a} 6px ${a} 4px`}else o=void 0;return o}({isGridMode:be,dense:me,height:A.current?.clientHeight,layoutOrder:le.layoutOrder});Z&&y?.();const Ce=pe?30:0,Se=r.createElement(Tv,{app:n,showSearchIcon:ce,onShowSearch:qe,isPopover:v,showToolbar:F,isDirectQuery:D,autoConfirm:ie,showDetachedToolbarOnly:de,layout:t,translator:x,styles:T,isRtl:fe,showLock:C,constraints:N,classes:Av,containerRect:M,containerRef:A,model:u,selectionState:X,selections:d,keyboard:Y,disablePortal:O});return r.createElement(r.Fragment,null,de&&Se,r.createElement(Pv,{className:"listbox-container",container:!0,tabIndex:Y.enabled?-1:void 0,direction:"column",gap:0,containerPadding:ve,styles:T,style:{height:"100%",flexFlow:"column nowrap"},onKeyDown:ee,onMouseEnter:te,onMouseLeave:ne,ref:e=>{A.current=e,k(e)},isGridMode:be,"aria-label":Y.active?x.get("Listbox.ScreenReaderInstructions"):""},pe&&Se,r.createElement(Xi,{item:!0,container:!0,direction:"column",height:"100%",minHeight:Ce,role:"region","aria-label":x.get("Listbox.ResultFilterLabel")},r.createElement(Xi,{item:!0},r.createElement(Pm,{ref:P,selections:d,selectionState:X,model:u,dense:me,keyboard:Y,visible:he,search:l,autoFocus:ye,beginSelectionOnFocus:!v,wildCardSearch:oe,searchEnabled:ae,direction:o,hide:ce&&qe,styles:T})),r.createElement(Xi,{item:!0,xs:!0,className:Av.listboxWrapper},Z?r.createElement(bv,{text:Q}):r.createElement(qv,null,(({height:e,width:i})=>r.createElement(Yf,{model:u,app:n,constraints:N,layout:t,selections:d,selectionState:X,direction:o,frequencyMode:a,rangeSelect:c,checkboxes:_,height:e,width:i,update:p,fetchStart:f,postProcessPages:h,calculatePagesHeight:m,keyboard:Y,showGray:q,scrollState:g,keyScroll:{state:G,reset:()=>V({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:W,set:H},renderedCallback:y,onCtrlF:ge,isModal:J,styles:T})))))))}const Mv=r.memo(kv),Fv=function({options:e={}}){const{model:t}=e,[n]=nl(t);return r.createElement(Mv,{options:e,layout:n})};const Bv={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,autoConfirm:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function jv(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const zv=(e={})=>{const{__DO_NOT_USE__:t={},...n}=e;return{...n,update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1,...t}},$v=(0,r.forwardRef)((({app:e,fieldIdentifier:t,qId:n,stateName:o,element:a,initialOptions:i,renderedCallback:l},s)=>{const[c,u]=(0,r.useState)(i),{isExistingObject:d,hasExternalSelectionsApi:p}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:n,options:c});d||Object.assign(c,{frequencyMode:jv(c.frequencyMode)});const[f,h]=(0,r.useState)(0);(0,r.useEffect)((()=>{if(f)throw new Error("Source or selection Api can not change after a listbox has been mounted");h(f+1)}),[d,p]);const m=d?function({app:e,qId:t,options:n={}}){const[o,a]=(0,r.useState)(),[i]=Yi(),{sessionModel:l}=n,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(n).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,r.useEffect)((()=>{let n=!1,r=()=>{};return async function(){const o=await Promise.resolve(l||async function(t){return i.get(t)||await e.getObject(t)}(t));if(!n){if(!i.get(o.id)){i.set(o.id,o);const e=()=>{i.clear(o.id)};o.once("closed",e),r=()=>{o.removeListener("closed",e)}}a(o)}}(),()=>{n=!0,r()}}),[]),o}({app:e,qId:n,options:c}):function({app:e,fieldIdentifier:t,stateName:n,options:o={}}){const[a,i]=(0,r.useState)(""),[l,s]=(0,r.useState)(!0),[c,u]=(0,r.useState)(),[d,p]=(0,r.useState)(),f=o.title??d;let{histogram:h=!1,frequencyMode:m="N"}=o;a&&a.failedToFetchFieldDef&&(h=!1,m="N"),(0,r.useEffect)((()=>{const n=h||"N"!==m;t.qLibraryId&&n?async function(){try{const n=await e.getDimension(t.qLibraryId),r=await n.getLayout();p(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),p(t))}),[]);const{dense:q,checkboxes:g,listLayout:y,properties:b={}}=o,v={dense:q};"horizontal"===y&&(v.dataLayout="grid",v.layoutOrder="column",v.maxVisibleColumns={auto:!0},v.maxVisibleRows={auto:!1,maxRows:1});const C=(0,r.useRef)();C.current||(C.current=lv());const S=U()(!0,{},Bv,{qInfo:{qId:C.current},qListObjectDef:{qStateName:n,qFrequencyMode:h&&"N"===m?"V":m},histogram:h,checkboxes:g,layoutOptions:v,title:f});let E;if(U()(!0,S,b),t.qLibraryId?(S.qListObjectDef.qLibraryId=t.qLibraryId,E=t.qLibraryId):(S.qListObjectDef.qDef.qFieldDefs=[t],E=t),"P"!==m&&h)if(a?.multiFieldDim)S.frequencyMax="fetch";else{const e=t.qLibraryId?a:E;S.frequencyMax={qValueExpression:Kf(e)}}const[O]=Ji(S,l?null:e,E,n);return(0,r.useEffect)((()=>{O&&u(O)}),[O]),c}({app:e,fieldIdentifier:t,stateName:o,options:c}),q=(0,r.useRef)(a),g=p?c.selectionsApi:Bm(e,m,[q,".njs-action-toolbar-more",".njs-action-toolbar-popover"],c)[0],y=(0,r.useMemo)((()=>({...c,selections:g,model:m,app:e,renderedCallback:l})),[c,g,m,e]);return(0,r.useImperativeHandle)(s,(()=>({setOptions:e=>u(e)})),[]),g&&m?r.createElement(Fv,{options:y}):null})),Gv={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Vv({app:e,fieldIdentifier:t,stateName:n,element:o,options:a={}}){const[i,l]=(0,r.useState)(!!a.show);return r.createElement(gb,{show:i,app:e,alignTo:{current:o},anchorOrigin:a.anchorOrigin,transformOrigin:a.transformOrigin,close:()=>{l(!1),a.onPopoverClose&&a.onPopoverClose()},fieldName:t,stateName:n,autoFocus:a.autoFocus,components:a.components,sortCriteria:a.sortCriteria,direction:a.direction})}function Uv(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Wv(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function Hv({dc:e,def:t,properties:n}){e.qDimensions=e.qDimensions||[],e.qMeasures=e.qMeasures||[],e.qInterColumnSortOrder=e.qInterColumnSortOrder||[],e.qInitialDataFetch=e.qInitialDataFetch||[],e.qColumnOrder=e.qColumnOrder||[],e.qExpansionState=e.qExpansionState||[];const r=n,o={dimensions:()=>e.qDimensions,measures:()=>e.qMeasures,addDimension(n){const a="string"==typeof n?(e=>({qDef:{qFieldDefs:[e]}}))(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||lv(),a.qDef.qSortCriterias=a.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],a.qOtherTotalSpec=a.qOtherTotalSpec||{},a.qAttributeExpressions=a.qAttributeExpressions||[],a.qAttributeDimensions=a.qAttributeDimensions||[],e.qDimensions.length<o.maxDimensions()?(e.qDimensions.push(a),Uv(e.qInterColumnSortOrder,e.qDimensions.length-1),t.dimensions.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qDimensions.push(a)),a},removeDimension(n){const o=e.qDimensions.splice(n,1)[0];return Wv(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?(e=>({qDef:{qDef:e}}))(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||lv(),a.qSortBy=a.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},a.qAttributeDimensions=a.qAttributeDimensions||[],a.qAttributeExpressions=a.qAttributeExpressions||[],e.qMeasures.length<o.maxMeasures()?(e.qMeasures.push(a),Uv(e.qInterColumnSortOrder,e.qDimensions.length+e.qMeasures.length-1),t.measures.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qMeasures.push(a))},removeMeasure(n){const o=e.qMeasures.splice(n,1)[0];Wv(e.qInterColumnSortOrder,e.qDimensions.length+n),t.measures.removed(o,r,n)},maxDimensions:()=>t.dimensions.max(e.qMeasures.length),maxMeasures:()=>t.measures.max(e.qDimensions.length),canAddDimension:()=>e.qDimensions.length<o.maxDimensions(),canAddMeasure:()=>e.qMeasures.length<o.maxMeasures()};return o}function Kv({dc:e,def:t,properties:n}){e.qInitialDataFetch=e.qInitialDataFetch||[];const r=n,o={dimensions:()=>e.qLibraryId||e.qDef&&e.qDef.qFieldDefs&&0!==e.qDef.qFieldDefs.length?[e]:[],measures:()=>[],addDimension(n){const o="string"==typeof n?(e=>({qDef:{qFieldDefs:[e]}}))(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||lv(),o.qDef.qSortCriterias=e.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(o).forEach((t=>{e[t]=o[t]})),t.dimensions.added(o,r),o},removeDimension(n){const o=e;return delete e.qDef,delete e.qLibraryId,t.dimensions.removed(o,r,n),o},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===o.dimensions().length,canAddMeasure:()=>!1};return o}const Xv=e=>({qDef:{qFieldDefs:[e]}});function Yv({children:e,halo:t}){const n={async addDimension(n){const r=(e=>{let t;return t="string"==typeof e?U()(!0,{},Bv,{qListObjectDef:Xv(e)}):e.qListObjectDef?U()(!0,{},Bv,e):U()(!0,{},Bv,{qListObjectDef:e}),t})(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||lv(),!r.title)if(o.qLibraryId){const e=await t.app.getDimension(o.qLibraryId),n=await e.getProperties();n.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:n.qDim.qLabelExpression}}:r.title=n.qDim.title}else r.title=o.qDef.title||o.qDef.qFieldLabels?.[0]||o.qDef.qFieldDefs?.[0];e.push({qProperty:r,qChildren:[]})},addMeasure(){}};return n}function Jv(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}async function Zv({sn:e,properties:t,fields:n,children:r},o){if(!n.length)return;const a=e.qae.data.targets[0];if(!a)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:i}=a,l=i.split("/");let s=t;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){return e.match("/qListObjectDef")?Kv:e.match("/qChildListDef")?Yv:Hv}(i),u=c({dc:s,def:a,properties:t,children:r,halo:o});for(let e=0;e<n.length;++e){const t=n[e];"measure"===Jv(t)?await u.addMeasure(t):await u.addDimension(t)}}const Qv={getValue:(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},setValue:(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},isEmpty:e=>0===Object.keys(e).length&&e.constructor===Object},eC=function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},tC=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},nC=function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r},rC=function(e,t,n){if(n<0)throw Error("newIndex cannot be a negative value!");if(n>=e.length){let t=n-e.length+1;for(;t;)e.push(void 0),t--}const r=e.at(t);e.splice(t,1),e.splice(n,0,r)},oC=2**53-1;function aC(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function iC(e,t){const n=U()(!0,{},t,e);return Qv.getValue(n,"qOtherTotalSpec.qOtherCounted")||Qv.setValue(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Qv.getValue(n,"qOtherTotalSpec.qOtherLimit")||Qv.setValue(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function lC(e,t){return U()(!0,{},t,e)}function sC(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const cC={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===Qv.getValue(e,t)&&Qv.setValue(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:aC,importCommonProperties:function(e,t,n){const r="masterobject"===Qv.getValue(t,"properties.qInfo.qType")?"masterobject":Qv.getValue(n,"qInfo.qType");Qv.setValue(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:iC,createDefaultMeasure:lC,resolveValue:sC,getHypercubePath:function(e){const t=Qv.getValue(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function({exportFormat:e,newHyperCubeDef:t}){const n=e.data[0],r=t.qDimensions.length+t.qMeasures.length;t.qInterColumnSortOrder=n.interColumnSortOrder.concat();let o=t.qInterColumnSortOrder.length;if(o!==r)for(t.qLayoutExclude&&(t.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());o!==r;)o<r?(tC(t.qInterColumnSortOrder,o),++o):(--o,nC(t.qInterColumnSortOrder,o))},createNewProperties:function({exportFormat:e,initialProperties:t,hypercubePath:n}){let r={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(e.properties).forEach((o=>{"qLayoutExclude"===o?e.properties[o].quarantine&&(r.qLayoutExclude.quarantine=U()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?Qv.setValue(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||aC(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=U()(!0,{},t,r),null===r.components&&(r.components=[]),r},getMaxMinDimensionMeasure:function({exportFormat:e,dataDefinition:t={}}){const n=e.data[0],r=t.dimensions||{max:0},o=t.measures||{max:0},a=sC(o.max,n.dimensions.length,oC),i=sC(o.min,n.dimensions.length,0);return{maxDimensions:sC(r.max,a,oC),minDimensions:sC(r.min,i,0),maxMeasures:a,minMeasures:i}},shouldInitLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o}){const a=e.data[0];return a.dimensions.length>t&&t>0||a.measures.length>r&&r>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>o||!r&&a.measures.length>0||!t&&a.dimensions.length>0},initLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o,newHyperCubeDef:a}){const i=e.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(i.dimensions.length>t&&t>0||i.excludedDimensions&&i.excludedDimensions.length&&i.dimensions.length+i.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(i.measures.length>r&&r>0||i.excludedMeasures&&i.excludedMeasures.length&&i.measures.length+i.excludedMeasures.length>o)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&i.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!t&&i.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function({exportFormat:e,maxDimensions:t,minDimensions:n,newHyperCubeDef:r,defaultDimension:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.dimensions.length;++i)r.qDimensions.length<t?r.qDimensions.push(iC(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(iC(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(iC(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(iC(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(iC(a.excludedDimensions[i],o))},addDefaultMeasures:function({exportFormat:e,maxMeasures:t,minMeasures:n,newHyperCubeDef:r,defaultMeasure:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.measures.length;++i)r.qMeasures.length<t?r.qMeasures.push(lC(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(lC(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(lC(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(lC(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(lC(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=Qv.getValue(e,n||"").qHyperCubeDef,o=[...r.qDimensions];r.qDimensions=[],o.forEach((n=>{r.qDimensions.push(n),t.dimensions.added(n,e)}))}},updateMeasuresOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.measures&&"function"==typeof t.measures.added){const r=Qv.getValue(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},uC={exportProperties:e=>function({propertyTree:e,hypercubePath:t}){const n=function(e=1){const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),r=e.qProperty,o=Qv.getValue(r,t||""),a=o.qHyperCubeDef,i=n.data[0];if(a.qInterColumnSortOrder||(a.qInterColumnSortOrder=[]),i.dimensions.push(...a.qDimensions),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qDimensions&&i.excludedDimensions.push(...a.qLayoutExclude.qHyperCubeDef.qDimensions),i.measures.push(...a.qMeasures),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qMeasures&&i.excludedMeasures.push(...a.qLayoutExclude.qHyperCubeDef.qMeasures),i.interColumnSortOrder=a.qInterColumnSortOrder.concat(),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();eC(e,i.interColumnSortOrder)&&(i.interColumnSortOrder=e)}return delete a.qLayoutExclude,Object.keys(r).forEach((e=>{n.properties[e]=r[e]})),t&&(n.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((e=>{n.properties.hasOwnProperty(e)||(n.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(cC.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!Qv.isEmpty(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude,n}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=cC.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=Qv.getValue(t,o||"").qHyperCubeDef,s=Qv.getValue(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:p}=cC.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:f=cC.getDefaultDimension(),defaultMeasure:h=cC.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,cC.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:p})&&cC.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:p,newHyperCubeDef:s}),cC.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:f}),cC.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:p,newHyperCubeDef:s,defaultMeasure:h}),cC.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),cC.copyPropertyIfExist("qMaxStackedCells",l,s),cC.copyPropertyIfExist("qNoOfLeftDims",l,s),cC.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),cC.copyPropertyOrSetDefault("qMode",l,s,"S"),cC.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),cC.copyPropertyOrSetDefault("qSortbyYValue",l,s),cC.copyPropertyOrSetDefault("qIndentMode",l,s),cC.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),cC.importCommonProperties(i,e,t),cC.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),cC.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},dC=e=>Qv.getValue(e,"data.targets.0.propertyPath"),pC=async({halo:e,model:t,cellRef:n,newType:r,properties:o,viewDataMode:a=!1})=>{const i=o?{qProperty:o}:await t.getFullPropertyTree(),l=n.current.getQae(),s=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return uC.exportProperties})(dC(e)))(l);if(!s)throw new Error("Source chart does not support conversion");const c=await(async({halo:e,name:t,version:n})=>{const{types:r}=e;return await r.get({name:t,version:n}).supernova()})({halo:e,name:r}),u=c.qae,d=(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return uC.importProperties})(dC(e)))(u);if(!d)throw new Error("Target chart does not support conversion");return d({exportFormat:s({propertyTree:i,hypercubePath:cC.getHypercubePath(l),viewDataMode:a}),initialProperties:{qInfo:{qType:r},visualization:r,...Qv.getValue(u,"properties.initial",{})},dataDefinition:Qv.getValue(u,"data.targets.0.",{}),hypercubePath:cC.getHypercubePath(u),viewDataMode:a})},fC={hypercube:uC},hC=U().bind(null,!0),mC={},{isArray:qC}=Array;function gC(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function yC(e){return void 0===e}function bC(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function vC(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=yC(e[r||t])?a:e[t],e=e[r||t]})),e}function CC(e,t){let n=!0;if(gC(e)&&gC(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{CC(e[r],t[r])||(n=!1)})),n);if(qC(e)&&qC(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!CC(e[n],t[n]))return!1;return!0}return e===t}mC.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?hC({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;CC(a,i)||bC(t,o)||(yC(i)?r.push({op:"add",path:l,value:a}):gC(a)&&gC(i)?r=r.concat(mC.generate(i,a,l)):qC(a)&&qC(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&yC(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(CC(t,o))return r;if(!yC(t[0])&&yC(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(mC.generate(o[e],t[a],`${n}/${e}`));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${a}`}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:`${n}/${o}`,value:a}))})),Object.keys(e).forEach((o=>{yC(t[o])&&!bC(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},mC.apply=function(e,t){t.forEach((t=>{let n=vC(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(qC(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(qC(o)&&qC(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(gC(o)&&gC(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!bC(i,e)&&delete i[e]})),hC(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=vC(e,t.from);qC(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(qC(n)?n.splice(+r,1):delete n[r]);var i}))},mC.clone=function(e){return hC({},e)},mC.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},mC.updateObject=function(e,t){Object.keys(e).length?mC.apply(e,mC.generate(e,t)):hC(e,t)};const SC=mC;let EC,OC;function IC(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function xC(e,{explicitResize:t=!1}={}){e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null},contraintsWarning:!0}}function RC(e){LC(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function wC(e){if(e.__hooks.obsolete)return Promise.resolve();OC=-1,EC=e;let t=-1;EC.__hooks.initiated&&(t=EC.__hooks.list.length);try{EC.fn.call(null)}catch(e){console.error(e)}EC.__hooks.initiated=!0,t>-1&&t!==EC.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=EC.__hooks;return DC(EC),OC=void 0,EC=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){LC(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){LC(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)})))}(n),n.chain.promise}function LC(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function NC(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function _C(e,t,n,r){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n,r))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function TC(e){return e.__hooks.imperativeHandle}function DC(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function AC(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,DC(e))}function PC(e){if(void 0===EC)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=EC.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function kC(e){return PC(++OC),EC.context[e]}function MC(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function FC(e){return{__hooked:!0,fn:e,initiate:xC,run:wC,teardown:RC,runSnaps:NC,runMenu:_C,focus:qS,blur:gS,observeActions:AC,getImperativeHandle:TC,updateRectOnNextRun:MC}}function BC(e){const t=PC(++OC);if(!t.value){t.component=EC;const n=e=>{if(t.component.__hooks.obsolete)throw new Error("Calling setState on an unmounted component is a no-op and indicates a memory leak in your component.");const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,wC(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function jC(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=PC(++OC);IC(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===EC.__hooks.pendingEffects.indexOf(n)&&EC.__hooks.pendingEffects.push(n))}function zC(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=PC(++OC);IC(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],EC.__hooks.pendingLayoutEffects.push(n))}function $C(e,t){t||console.warn("useMemo called without dependencies.");const n=PC(++OC);return IC(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function GC(e){return $C((()=>({current:e})),[])}function VC(e,t){const[n,r]=BC((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=PC(++OC);return o.component||(o.component=EC),zC((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]}function UC(){return kC("element")}function WC(){const e=UC(),t=EC.__hooks.resizer,[n,r]=BC((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),zC((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n}function HC(){return kC("layout")}function KC(){const e=kC("layout"),[t]=BC({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function XC(){return kC("appLayout")}function YC(){const e=kC("model");return e&&e.session?e:void 0}function JC(){const e=kC("app");return e&&e.session?e:void 0}function ZC(){const e=kC("global");return e&&e.session?e:void 0}function QC(){return kC("selections")}function eS(){return kC("theme")}function tS(){return kC("nebbie")}function nS(){return kC("translator")}function rS(){return kC("deviceType")}function oS(){return kC("navigation")}function aS(){return kC("plugins")}function iS(e,t){const[n]=BC({action(){n._config.action.call(null)}});return n.component||(n.component=EC,EC.__hooks.actions.list.push(n)),$C((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action}function lS(){return EC.__hooks.contraintsWarning&&(console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),EC.__hooks.contraintsWarning=!1),kC("constraints")}function sS(){return kC("interactions")}function cS(){return kC("options")}function uS(e,t){const n=PC(++OC);if(!n.imperative){if(EC.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(IC(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],EC.__hooks.imperativeHandle=r}}function dS(e){const t=PC(++OC);t.value||(t.value=1,EC.__hooks.snaps.push(t)),t.fn=e}function pS(e){const t=PC(++OC);t.value||(t.value=1,EC.__hooks.menus.push(t)),t.fn=e}function fS(){PC(++OC);const e=EC.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function hS(){return kC("emitter")}function mS(){const e=kC("keyboardNavigation"),t=kC("focusHandler");if(!EC.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(gS(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(EC);EC.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),qS(this))}.bind(EC);EC.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(EC);EC.__hooks.accessibility.focusSelectionFunction=r}const n=EC.__hooks.accessibility.focusFunction,r=EC.__hooks.accessibility.exitFunction,o=EC.__hooks.accessibility.focusSelectionFunction,[a,i]=BC({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return EC.__hooks.accessibility.setter=i,EC.__hooks.accessibility.enabled=e,jC((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function qS(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function gS(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const yS={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},bS=Object.keys(yS);function vS(e,t){console.warn("Obsolete API - time to get hooked!");const n={...yS};var r;r=n,Object.keys(c().prototype).forEach((e=>{r[e]=c().prototype[e]})),c().init(r);const o={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==bS.indexOf(t)?n[t]=e.component[t].bind(o):o[t]=e.component[t]}));const a=function({sn:e,component:t}){const n={},r=[],o=(e=>t=>{const n=(r={...t,action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0},Object.keys(c().prototype).forEach((e=>{r[e]=c().prototype[e]})),c().init(r),r);var r;return n})(t);return((e.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=o(e);n[e.key]=t,r.push(t)})),(e.definition.actions||[]).forEach((e=>{const t=o(e);n[e.key]=t})),{actions:n,selectionToolbarItems:r,destroy(){r.length=0}}}({sn:e,component:o}),i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:i,selections:t.selections,actions:a.actions}),Object.assign(n,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[n,a]}const CS=[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],SS=()=>[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]].map((([e,t])=>e+(Math.random()*(t-e)|0).toString(32))).join(""),ES=(e,t)=>e&&e.find((e=>e.qDef?.cId===t))||null,OS=e=>({...e,qDef:{...e.qDef,cId:e.qDef?.cId??SS()}}),IS=e=>({...OS(e),qOtherTotalSpec:e.qOtherTotalSpec??{}}),xS=(e,t,n)=>{const r=t;e.forEach(((e,t)=>{const o=e.qTags,a={qSortByLoadOrder:1};"function"==typeof n.dimensionDefinition.autoSort?n.dimensionDefinition.autoSort(r,n.properties,o,a,n):(a.qSortByNumeric=1,a.qSortByAscii=1),r.qDef.qSortCriterias?r.qDef.qSortCriterias[t]=a:r.qDef.qSortCriterias=[a]}))},RS=new Error("Not supported in this object, need to implement in subclass."),wS=e=>e?[...e].map((e=>e.qDef?.autoSort&&void 0!==e.autoSort?{...e,qDef:{...e.qDef,autoSort:e.autoSort},autoSort:void 0}:e)):[],LS=(e,t)=>{if(e)return t&&Qv.getValue(e,t)?Qv.getValue(e,t).qHyperCube:e.qHyperCube};function NS(e,t){return e.filter(((e,n)=>t.includes(n)))}function _S(e,t,n=void 0){const r=e.getAlternativeDimensions(),o=n??r.length;return r.splice(o,0,t),Promise.resolve(t)}function TS(e,t,n){tC(e.hcProperties.qInterColumnSortOrder,n??t.length-1)}function DS(e,t){return"function"==typeof e.dimensionDefinition.move?Promise.resolve(e.dimensionDefinition.move.call(e,t,e.properties,e)).then((()=>t)):Promise.resolve(t)}function AS(e,t){return e.getAlternativeDimensions().length+t.length>=1e3}function PS(e,t){const n=e.getAlternativeDimensions();return t||e.maxDimensions()<=n.length&&n.length<1e3}async function kS(e,t,n,r,o,a){await e.autoSortDimension(t),tC(e.hcProperties.qInterColumnSortOrder,n+a),r.push(t),o.push(t),"function"==typeof e.dimensionDefinition.add&&e.dimensionDefinition.add.call(e,t,e.properties,e)}function MS(e,t,n=void 0){const r=e.getAlternativeMeasures(),o=n??r.length;return r.splice(o,0,t),Promise.resolve(t)}function FS(e,t){tC(e.hcProperties.qInterColumnSortOrder,e.getDimensions().length+t.length-1)}function BS(e,t){const n=e.getMeasures();return t||e.maxMeasures()<=n.length&&n.length<1e3}function jS(e,t,n,r){const o=e-n.length;let[a]=n.splice(n.length-1,1);return r.splice(0,0,a),[a]=r.splice(o+1,1),n.splice(t,0,a),Promise.resolve(a)}const zS=class{constructor(e){const t=e||{};this.dimensionDefinition=t.dimensionDefinition||{max:0},this.measureDefinition=t.measureDefinition||{max:0},this.dimensionProperties=t.dimensionProperties??{},this.measureProperties=t.measureProperties??{},this.globalChangeListeners=t.globalChangeListeners,this.app=t.app}setProperties(e){this.properties=e,this.isAnalysisType=this.properties?.metaData?.isAnalysisType}setGlobalChangeListeners(e){this.globalChangeListeners=e}setLayout(e){this.layout=e}type(){throw new Error("Must override this method")}getDimensions(){return[]}getDimension(e){const t=this.getDimensions(),n=this.getAlternativeDimensions();return ES(t,e.id)??ES(n,e.id)}getAlternativeDimensions(){throw new Error("Method not implemented.")}addDimension(){throw RS}addDimensions(){throw RS}removeDimension(){throw RS}removeDimensions(){throw RS}autoSortDimension(){throw RS}replaceDimension(){throw RS}getSorting(){throw RS}createLibraryDimension(e){let t=U()(!0,{},this.dimensionProperties||{},e.defaults||{});return t=IS(t),t.qLibraryId=e.id,t.qDef.autoSort=!0,t.qDef.qSortCriterias=CS,delete t.qDef.qFieldDefs,delete t.qDef.qFieldLabels,t}createFieldDimension(e){let t=U()(!0,{},this.dimensionProperties||{},e.defaults||{});return t=IS(t),e.field||(t.qDef.qFieldDefs=[],t.qDef.qFieldLabels=[],t.qDef.qSortCriterias=[]),t.qDef.qFieldDefs=[e.field],t.qDef.qFieldLabels=e.label?[e.label]:[""],t.qDef.qSortCriterias=CS,t.qDef.autoSort=!0,t}addFieldDimension(e){const t=this.createFieldDimension(e);return this.addDimension(t)}addFieldDimensions(e){const t=e.map((e=>this.createFieldDimension(e)));return this.addDimensions(t)}addLibraryDimension(e){const t=this.createLibraryDimension(e);return this.addDimension(t)}addLibraryDimensions(e){const t=e.map((e=>this.createLibraryDimension(e)));return this.addDimensions(t)}async addAltLibraryDimensions(e){const t=e.map((e=>this.createLibraryDimension(e)));return this.addDimensions(t,!0)}async addAltFieldDimensions(e){const t=e.map((e=>this.createFieldDimension(e)));return this.addDimensions(t,!0)}addAlternativeFieldDimension(e){const t=this.createFieldDimension(e);return this.addDimension(t,!0)}addAlternativeLibraryDimension(e){const t=this.createLibraryDimension(e);return this.addDimension(t,!0)}minDimensions(){return"function"==typeof this.dimensionDefinition.min?this.dimensionDefinition.min.call(null,this.properties,this):this.dimensionDefinition.min||0}maxDimensions(e=0){const t=this.getMeasures().length-e;if("function"==typeof this.dimensionDefinition.max){const e=[t];return this.dimensionDefinition.max?.apply(null,e)}return Number.isNaN(+this.dimensionDefinition.max)?1e4:this.dimensionDefinition.max}canAddDimension(){return this.getDimensions().length<this.maxDimensions()}getMeasures(){return[]}getAlternativeMeasures(){throw new Error("Method not implemented.")}addMeasure(){throw RS}addMeasures(){throw RS}removeMeasure(){throw RS}removeMeasures(){throw RS}autoSortMeasure(){throw RS}replaceMeasure(){throw RS}getMeasure(e){const t=this.getMeasures(),n=this.getAlternativeMeasures();return ES(t,e.id)??ES(n,e.id)}createExpressionMeasure(e){const t=U()(!0,{},this.measureProperties||{},e.defaults||{});return t.qDef=t.qDef??{},t.qDef.qNumFormat=t.qDef.qNumFormat??{},t.qDef.qDef=e.expression,t.qDef.qLabel=e.label,t.qDef.autoSort=!0,t}addExpressionMeasure(e){const t=this.createExpressionMeasure(e);return this.addMeasure(t)}addExpressionMeasures(e){const t=e.map((e=>this.createExpressionMeasure(e)));return this.addMeasures(t)}createLibraryMeasure(e){const t=U()(!0,{},this.measureProperties||{},e.defaults||{});return t.qDef=t.qDef??{},t.qDef.qNumFormat=t.qDef.qNumFormat??{},(e=>{const t=e;t.quarantine={qNumFormat:t.qNumFormat||{},isCustomFormatted:t.isCustomFormatted||!1},t.qNumFormat=null,t.isCustomFormatted=void 0})(t.qDef),t.qLibraryId=e.id,t.qDef.autoSort=!0,delete t.qDef.qDef,delete t.qDef.qLabel,t}addLibraryMeasure(e){const t=this.createLibraryMeasure(e);return this.addMeasure(t)}addLibraryMeasures(e){const t=e.map((e=>this.createLibraryMeasure(e)));return this.addMeasures(t)}addAltLibraryMeasures(e){const t=e.map((e=>this.createLibraryMeasure(e)));return this.addMeasures(t,!0)}addAltExpressionMeasures(e){const t=e.map((e=>this.createExpressionMeasure(e)));return this.addMeasures(t,!0)}addAlternativeExpressionMeasure(e){const t=this.createExpressionMeasure(e);return this.addMeasure(t,!0)}addAlternativeLibraryMeasure(e){const t=this.createLibraryMeasure(e);return this.addMeasure(t,!0)}minMeasures(){return"function"==typeof this.measureDefinition.min?this.measureDefinition.min.call(null,this.properties,this):this.measureDefinition.min||0}maxMeasures(e=0){if("function"==typeof this.measureDefinition.max){const t=[this.getDimensions().length-e];return this.measureDefinition.max.apply(null,t)}return Number.isNaN(+this.measureDefinition.max)?1e4:this.measureDefinition.max}canAddMeasure(){return this.getMeasures().length<this.maxMeasures()}updateGlobalChangeListeners(e){this.globalChangeListeners&&(this.globalChangeListeners||[]).forEach((t=>{t&&"function"==typeof t&&t(this.properties,this,{layout:e})}))}},$S=function(e,t,n){const r=e.getDimensions(),o=n??r.length;return r.length<e.maxDimensions()?function(e,t,n){const r=e.getDimensions();return r.splice(n,0,t),e.autoSortDimension(t).then((async()=>(TS(e,r,n),await function(e,t){return t&&"function"==typeof e.dimensionDefinition.add?Promise.resolve(e.dimensionDefinition.add.call(null,t,e.properties,e)).then((()=>t)):Promise.resolve(t)}(e,t),t)))}(e,t,o):Promise.resolve(t)},GS=async function(e,t){!function(e,t){nC(e.hcProperties.qInterColumnSortOrder,t)}(e,t),await function(e,t){const[n]=e.getDimensions().splice(t,1);return n&&"function"==typeof e.dimensionDefinition.remove?Promise.resolve(e.dimensionDefinition.remove.call(null,n,e.properties,e,t)):Promise.resolve()}(e,t)},VS=async function(e,t){!function(e,t){nC(e.hcProperties.qInterColumnSortOrder,e.getDimensions().length+t)}(e,t),await function(e,t){const[n]=e.getMeasures().splice(t,1);return n&&"function"==typeof e.measureDefinition.remove?Promise.resolve(e.measureDefinition.remove.call(null,n,e.properties,e,t)):Promise.resolve()}(e,t)},US=function(e,t){const[n]=e.getAlternativeDimensions().splice(t,1);if(n&&"function"==typeof e.dimensionDefinition.remove)return n.isAlternative=!0,Promise.resolve(e.dimensionDefinition.remove.call(null,n,e.properties,e,t)).then((()=>{delete n.isAlternative}))},WS=class extends zS{constructor(e){super(e),this.path=e.path}setProperties(e){e&&(super.setProperties(e),this.hcProperties=this.path?Qv.getValue(e,`${this.path}.qHyperCubeDef`):e.qHyperCubeDef,this.hcProperties&&(function(e){const t=e;t.hcProperties.qDimensions=t.getDimensions()??[],t.hcProperties.qMeasures=t.getMeasures()??[],t.hcProperties.qInterColumnSortOrder=t.hcProperties.qInterColumnSortOrder??[],t.hcProperties.qLayoutExclude=t.hcProperties.qLayoutExclude??{qHyperCubeDef:{qDimensions:[],qMeasures:[]}},t.hcProperties.qLayoutExclude.qHyperCubeDef=t.hcProperties.qLayoutExclude.qHyperCubeDef??{qDimensions:[],qMeasures:[]},t.hcProperties.qLayoutExclude.qHyperCubeDef.qDimensions=t.getAlternativeDimensions()??[],t.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures=t.getAlternativeMeasures()??[]}(this),function(e){const t=e;t.hcProperties.isHCEnabled&&0===t.hcProperties.qDynamicScript.length&&"S"===t.hcProperties.qMode&&(t.hcProperties.qDynamicScript=[])}(this),this.hcProperties.qDimensions=wS(this.hcProperties.qDimensions),this.hcProperties.qMeasures=wS(this.hcProperties.qMeasures)))}getDimensions(){return this.hcProperties?this.hcProperties.qDimensions:[]}getAlternativeDimensions(){return this.hcProperties?.qLayoutExclude?.qHyperCubeDef?.qDimensions??[]}getDimensionLayout(e){return this.getDimensionLayouts().filter((t=>e===t.cId))[0]}getDimensionLayouts(){const e=LS(this.layout,this.path);return e?e.qDimensionInfo:[]}addDimension(e){const t=IS(e.dimension);return PS(this,e.alternative)?_S(this,t,e.index):$S(this,t,e.index)}async addDimensions(e){const t=this.getDimensions(),n=t.length,r=[];let o=0;const{dimensions:a}=e;for await(const i of a){if(AS(this,t))return r;const a=IS(i);if(PS(this,e.alternative||!1)){const e=await _S(this,a);r.push(e)}else t.length<this.maxDimensions()&&(await kS(this,a,n,t,r,o),o++)}return r}removeDimension(e){const{alternative:t,index:n}=e;t&&US(this,n),GS(this,n)}async removeDimensions(e){const t=this.getAlternativeDimensions(),n=this.getDimensions();if(0===e.indexes.length)return[];let r=[];const o=[...e.indexes].sort(((e,t)=>t-e));if(e.alternative&&t.length>0){r=NS(t,e.indexes);for await(const e of o)await US(this,e)}else if(n.length>0){r=NS(n,e.indexes);for await(const e of o)await GS(this,e)}return r}replaceDimension(e){const{index:t,dimension:n}=e;return this.autoSortDimension(n).then((()=>function(e,t,n){if(!n)return;const r=e.getDimensions(),o=r[t],a={...n,qDef:{...n.qDef,cId:SS()}};return r[t]=a,a&&"function"==typeof e.dimensionDefinition.replace&&e.dimensionDefinition.replace.call(null,a,o,t,e.properties,e),a}(this,t,n)))}reinsertDimension(e){const t=OS(e.dimension);return PS(this,e.alternative)?_S(this,t,e.index).then((()=>{DS(this,t)})):function(e,t,n){const r=e.getDimensions(),o=n??r.length;return r.length<e.maxDimensions()?(r.splice(o,0,t),TS(e,r),DS(e,t)):Promise.resolve(t)}(this,t,e.index)}moveDimension(e){const t=this.getDimensions(),n=this.getAlternativeDimensions();return e.fromIndex<t.length&&e.toIndex<t.length?Promise.resolve(rC(t,e.fromIndex,e.toIndex)):e.fromIndex<t.length&&e.toIndex>=t.length?function(e,t,n,r){const o=t-n.length;let[a]=r.splice(0,1);return n.push(a),[a]=n.splice(e,1),r.splice(o,0,a),Promise.resolve(a)}(e.fromIndex,e.toIndex,t,n):e.fromIndex>=t.length&&e.toIndex<t.length?Promise.resolve(jS(e.fromIndex,e.toIndex,t,n)):Promise.resolve(function(e,t,n,r){const o=e-n.length,a=t-n.length;rC(r,o,a)}(e.fromIndex,e.toIndex,t,n))}autoSortDimension(e){return e.qLibraryId?function(e,t){return e.app.getDimensionList().then((n=>{const r=t?.qLibraryId&&(o=t.qLibraryId,(a=n)&&a.find((e=>e.qInfo.qId===o))||null);var o,a;return r&&xS(r.qData.info,t,e),t}))}(this,e):function(e,t){return e.app.getFieldList().then((n=>{const r=t?.qDef?.qFieldDefs&&((e,t)=>{const n=(e=>{const t=[];return e.forEach((e=>{t.push((e=>{const t=e;return t.isDateField=(e=>e?.qDerivedFieldData&&(e?.qTags?.indexOf("$date")>-1||e?.qTags?.indexOf("$timestamp")>-1))(t),t.isGeoField=(e=>e.qTags.indexOf("$geoname")>-1)(t),t})(e));const n=(e=>{const t=[];return e.qDerivedFieldData?(e.qDerivedFieldData.qDerivedFieldLists.forEach((n=>{n.qFieldDefs.forEach((r=>{var o;t.push({qName:r.qName,displayName:(o=r.qName,o?o.split(".autoCalendar").join(""):""),qSrcTables:e.qSrcTables,qTags:r.qTags,isDerived:!0,isDerivedFromDate:e.isDateField,sourceField:e.qName,derivedDefinitionName:n.qDerivedDefinitionName})}))})),t):t})(e);t.push(...n)})),t})(t.slice(0)),r=(e=>{let t=e;t=t.trim(),"="===t.charAt(0)&&(t=t.substring(1),t=t.trim());const n=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(n)&&(t=t.substring(1,n),t=t.trim()),t})(e);return n&&((e,t)=>t&&t.find((t=>t.qName===e))||null)(r,n)||null})(t.qDef.qFieldDefs[0],n);return r&&xS([r],t,e),t}))}(this,e)}getMeasures(){return this.hcProperties?this.hcProperties.qMeasures:[]}getAlternativeMeasures(){return this.hcProperties?.qLayoutExclude?.qHyperCubeDef?.qMeasures??[]}getMeasureLayouts(){const e=LS(this.layout,this.path);return e?e.qMeasureInfo:[]}getMeasureLayout(e){return this.getMeasureLayouts().filter((t=>e===t.cId))[0]}addMeasure(e){const t=OS(e.measure);return BS(this,e.alternative)?MS(t,this.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures,e.index):function(e,t,n){const r=e.getMeasures(),o=n??r.length;return r.length<e.maxMeasures()?(r.splice(o,0,t),e.autoSortMeasure(t).then((()=>(FS(e,r),function(e,t){return t&&"function"==typeof e.measureDefinition.add?Promise.resolve(e.measureDefinition.add.call(null,t,e.properties,e)):Promise.resolve()}(e,t).then((()=>t)),t)))):Promise.resolve()}(this,t,e.index)}autoSortMeasure(e){const t=e;return t.qSortBy={qSortByLoadOrder:1,qSortByNumeric:-1},Promise.resolve(t)}addMeasures(e){const t=this.getMeasures(),n=[];let r=0;return e.measures.forEach((async o=>{if(function(e,t){return e.getAlternativeMeasures().length+t.length>=1e3}(this,t))return!1;const a=OS(o);return BS(this,e.alternative||!1)?(MS(this,a),n.push(a)):t.length<this.maxMeasures()&&(await function(e,t,n,r,o){const a=e.getDimensions(),i={...t};return i.qSortBy={qSortByLoadOrder:1,qSortByNumeric:-1},tC(e.hcProperties.qInterColumnSortOrder,a.length+n.length+o),n.push(i),r.push(i),"function"==typeof e.measureDefinition.add&&e.measureDefinition.add.call(null,i,e.properties,e),Promise.resolve(r)}(this,a,t,n,r),r++),!0})),n}removeMeasure(e){const{index:t,alternative:n}=e;n&&function(e,t){e.getAlternativeMeasures().splice(t,1)}(this,t),VS(this,t)}async removeMeasures(e){const t=this.getMeasures(),n=this.getAlternativeMeasures();let r=[];if(0===e.length)return r;if(e.alternative&&n.length>0)r=NS(n,e.indexes),function(e,t){const n=e,r=function(e,t){return e.filter(((e,n)=>!t.includes(n)))}(n.getAlternativeMeasures(),t);n.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures=r}(this,e.indexes);else if(t.length>0){r=NS(t,e.indexes);const n=[...e.indexes].sort(((e,t)=>t-e));for await(const e of n)await VS(this,e)}return r}replaceMeasure(e){const{index:t,measure:n}=e;return this.autoSortMeasure(n).then((()=>function(e,t,n){const r=e.getMeasures(),o=r[t],a={...n,qDef:{...n.qDef,cId:SS()}};return r[t]=a,a&&"function"==typeof e.measureDefinition.replace&&e.dimensionDefinition.replace.call(null,a,o,t,e.properties,e),a}(this,t,n)))}reinsertMeasure(e){const t=OS(e.measure);return BS(this,e.alternative)?MS(this,t,e.index):function(e,t,n){const r=e.getMeasures(),o=n??r.length;return r.length<e.maxMeasures()?(r.splice(o,0,t),FS(e,r),function(e,t){return"function"==typeof e.measureDefinition.move?Promise.resolve(e.measureDefinition.move.call(null,t,e.properties,e,!0)).then((()=>t)):Promise.resolve(t)}(e,t)):Promise.resolve(t)}(this,t,e.index)}moveMeasure(e){const t=this.getMeasures(),n=this.getAlternativeMeasures();return e.fromIndex<t.length&&e.toIndex<t.length?Promise.resolve(rC(t,e.fromIndex,e.toIndex)):e.fromIndex<t.length&&e.toIndex>=t.length?function(e,t,n,r){const o=t-n.length;let[a]=r.splice(0,1);return n.push(a),[a]=n.splice(e,1),r.splice(o,0,a),Promise.resolve(a)}(e.fromIndex,e.toIndex,t,n):e.fromIndex>=t.length&&e.toIndex<t.length?jS(e.fromIndex,e.toIndex,t,n):Promise.resolve(function(e,t,n,r){const o=e-n.length,a=t-n.length;rC(r,o,a)}(e.fromIndex,e.toIndex,t,n))}setSorting(e){e&&e.length===this.hcProperties.qInterColumnSortOrder.length&&(this.hcProperties.qInterColumnSortOrder=e)}getSorting(){return this.hcProperties.qInterColumnSortOrder}changeSorting(e){Qv.move(this.hcProperties.qInterColumnSortOrder,e.fromIndex,e.toIndex)}IsHCInStraightMode(){return"S"===this.hcProperties.qMode}setHCEnabled(e){this.hcProperties&&(this.hcProperties.isHCEnabled=e)}getDynamicScripts(){return this.hcProperties?.qDynamicScript||[]}},HS=()=>{};function KS(e,t){return void 0===e?()=>t:()=>e}function XS(e){const t=e||{};return{min:"function"==typeof t.min?t.min:KS(t.min,0),max:"function"==typeof t.max?t.max:KS(t.max,1e3),added:t.added||t.add||HS,description:t.description||HS,moved:t.moved||t.move||HS,removed:t.removed||t.remove||HS,replaced:t.replaced||t.replace||HS,isDefined:()=>!!e}}function YS(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error(`Incorrect definition for ${e} at ${t}. Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef`)}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o})(e,n,{}),dimensions:XS(e.dimensions),measures:XS(e.measures)}}function JS(e={}){let t,n=e.properties||{};return e.properties&&(e.properties.initial||e.properties.onChange)&&(n=e.properties.initial,t=e.properties.onChange),{properties:{initial:n,onChange:t},data:{targets:((e.data||{}).targets||[]).map(YS)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function ZS(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:JS(n.qae),component:n.component||{},create:e=>function(e,t,n){"function"==typeof e.component&&(e.component=FC(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==wC&&console.warn("Detected multiple supernova modules, this might cause problems.");const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints","interactions"],l={},s={};t.model&&t.model.session||(l.select=!0,l.edit=!0,s.select=!1,s.edit=!1);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,navigation:t.navigation,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,externalFocusManagement:t.externalFocusManagement||!1,focusHandler:t.focusHandler,constraints:l,interactions:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify({...r[e],...l})),"interactions"===e&&(t=JSON.stringify({...r[e],...s})),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n,r){return e.component.runMenu(this,t,n,r)},focus(){const t=e.component.getImperativeHandle(this);t&&"function"==typeof t.focus?t.focus():e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return i.forEach((e=>{a[e]=JSON.stringify(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):vS(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(...n){try{e.qae.properties.onChange.call({model:t.model},...n)}catch{console.warn("Error in chart setProperties interceptor onChange call ")}return t.model.__snInterceptor.setProperties.call(this,...n)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=SC.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));SC.apply(o,i);try{e.qae.properties.onChange.call({model:t.model},o)}catch{console.warn("Error in chart applyPatches interceptor onChange call ")}const l=SC.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.__snInterceptor&&(t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor)},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}(r,e,t),definition:t.flags.isEnabled("NEBULA_DATA_HANDLERS")?{dataHandler:e=>new WS(e)}:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}function QS(e){return ci("MuiIcon",e)}ui("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const eE=Bi("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${fl(n.color)}`],t[`fontSize${fl(n.fontSize)}`]]}})(pl((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(e.vars||e).palette.action.active}},{props:{color:"disabled"},style:{color:(e.vars||e).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),tE=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium",...s}=n,c={...n,baseClassName:r,color:a,component:i,fontSize:l},u=(e=>{const{color:t,fontSize:n,classes:r}=e;return wi({root:["root","inherit"!==t&&`color${fl(t)}`,`fontSize${fl(n)}`]},QS,r)})(c);return(0,Yo.jsx)(eE,{as:i,className:xi(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t,...s})}));tE.muiName="Icon";const nE=tE,rE=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function oE({d:e}){const t=Wo();let n="inherit",o=t.palette.success.main;e.missing?o=t.palette.warning.main:e.error&&(n="error",o=t.palette.error.main);const a={color:o},i=r.createElement(Cl,{style:{lineHeight:"30px",paddingRight:t.spacing(1)}},r.createElement(nE,null,e.missing||e.error?r.createElement(rE,{style:a}):r.createElement(Yc,{style:a})));return r.createElement(Xi,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},r.createElement(Xi,{item:!0},i),r.createElement(Xi,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},r.createElement(Cl,{noWrap:!0,component:"p"},r.createElement(Cl,{component:"span",variant:"subtitle2",color:n},e.description),r.createElement(Cl,{component:"span"}," "),r.createElement(Cl,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function aE({data:e}){const t=Wo();return r.createElement(Xi,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,n)=>{const o=e.descriptions.map(((e,t)=>r.createElement(oE,{d:e,key:t})));return o.length>0&&r.createElement(Xi,{container:!0,item:!0,key:n,direction:"column",style:{paddingBottom:t.spacing(2)}},r.createElement(Cl,{noWrap:!0,key:n,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function iE({title:e="Error",message:t="",data:n=[]}){return r.createElement(Xi,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},r.createElement(Xi,{item:!0},r.createElement(rE,{style:{fontSize:"38px"}})),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"h6",align:"center","data-tid":"error-title"},e)),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"subtitle1",align:"center","data-tid":"error-message"},t)),r.createElement(aE,{data:n}))}function lE(){return lE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lE.apply(null,arguments)}const sE="Progress",cE={root:`${sE}-root`,front:`${sE}-front`,back:`${sE}-back`},uE=Bi("div")((({theme:e})=>({[`&.${cE.root}`]:{position:"relative",display:"inline-block"},[`& .${cE.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${cE.back}`]:{color:e.palette.divider}}))),dE={small:16,medium:32,large:64,xlarge:128};function pE({size:e="medium",...t}){const n=dE[e];return r.createElement(uE,{className:cE.root},r.createElement(hs,lE({variant:"determinate",value:100,className:cE.back,size:n,thickness:3},t)),r.createElement(hs,lE({variant:"indeterminate",disableShrink:!0,className:cE.front,size:n,thickness:3},t)))}function fE(){return fE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fE.apply(null,arguments)}const hE={stripes:"LongRunningQuery-stripes"},mE=Bi(Xi)((()=>({[`& .${hE.stripes}`]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function qE({cancel:e,translator:t,...n}){return r.createElement(r.Fragment,null,r.createElement(mE,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},r.createElement(Xi,{item:!0},r.createElement(pE,null)),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"h6",align:"center","data-tid":"update-active"},t.get("Object.Update.Active")))),r.createElement(Xi,fE({item:!0},n),r.createElement(Wb,{variant:"contained",onClick:e},t.get("Cancel"))))}function gE({retry:e,translator:t,...n}){return r.createElement(r.Fragment,null,r.createElement(Xi,{item:!0},r.createElement(rE,{style:{fontSize:"38px"}})),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"h6",align:"center","data-tid":"update-cancelled"},t.get("Object.Update.Cancelled"))),r.createElement(Xi,{item:!0},r.createElement(Wb,fE({variant:"contained",onClick:e},n),t.get("Retry"))))}function yE({canCancel:e,canRetry:t,api:n}){const{translator:o}=(0,r.useContext)(bi);return r.createElement(Xi,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:hE.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&r.createElement(qE,{cancel:n.cancel,translator:o,className:hE.cancel}),t&&r.createElement(gE,{retry:n.retry,translator:o,className:hE.retry}))}function bE(){return r.createElement(Xi,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},r.createElement(pE,{size:"large"}))}const vE={width:0,height:0},CE="Header",SE={containerStyle:`${CE}-containerStyle`,containerTitleStyle:`${CE}-containerTitleStyle`},EE=Bi(Xi)((({theme:e})=>({[`&.${SE.containerStyle}`]:{flexGrow:0},[`&.${SE.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),OE=function({id:e,layout:t,sn:n,anchorEl:o,hovering:a,focusHandler:i,titleStyles:l={},isRtl:s,translator:c}){const u=t.showTitles&&!!t.title,d=t.showTitles&&!!t.subtitle,p=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[f,h]=(0,r.useState)([]);(0,r.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{h([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]);const m=[SE.containerStyle,...u||d?[SE.containerTitleStyle]:[]],q=a||p,g=r.createElement(Yh,{show:!1,selections:{show:p,api:n.component.selections,onKeyDeactivate:i.refocusContent},actions:f,popover:{show:q,anchorEl:o},focusHandler:i,layout:t,isRtl:s});return r.createElement(EE,{item:!0,container:!0,wrap:"nowrap",className:m.join(" ")},r.createElement(Xi,{item:!0,zeroMinWidth:!0,xs:!0,dir:s?"rtl":"ltr"},r.createElement(Xi,{container:!0,wrap:"nowrap",direction:"column"},u?r.createElement(Mf,{title:t.title},r.createElement(Cl,{id:`${e}_title`,variant:"h6",noWrap:!0,className:"njs-cell-title",style:l.main},t.title)):r.createElement("div",{id:`${e}_title`,style:vE,"aria-label":c.get("Accessibility.Object.NoTitle")}),d&&r.createElement(Mf,{title:t.subtitle},r.createElement(Cl,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:l.subTitle},t.subtitle)))),r.createElement(Xi,{item:!0},g))},IE=(e,t)=>{if(!Array.isArray(e))return[];const n=t.get("Object.FilterLabel.Exclude");return e.filter((e=>!1!==e.showInFooter)).map((e=>{let r="";switch(e.type){case"search":r+=(e=>{let t="",n="";const r=e.options?.mode;switch(r){case"beginning_of_word":t="*^",n="*";break;case"ends_with":t="*";break;case"starts_with":n="*";break;case"matches_exactly":break;default:t="*",n="*"}const o=e.options.values?.[0]??"";return""!==o?`"${t}${o}${n}"`:""})(e);break;case"condition":r+=(e=>{const{options:t}=e,n="general"===t?.mode,r="fixed_value"===t?.modifier?.type,o=t?.modifier?.operator?t.modifier.operator.split(" "):[];if(0===o.length||!r&&(!t.firstValue?.aggregator||!t.firstValue?.field)||r&&!t.firstValue?.fixedValue||n&&(!t.conditionField?.aggregator||!t.conditionField?.field))return"";let a,i,l="=";n&&r?(a=`${t.conditionField?.aggregator}(${Hf(t.conditionField?.field)})`,i=`${t.firstValue?.fixedValue}`):!n&&r?(a="",i=`${t.firstValue?.fixedValue}`,l=""):n||r?(a=`${t.conditionField?.aggregator}(${Hf(t.conditionField?.field)})`,i=`${t.firstValue?.aggregator}(${Hf(t.firstValue?.field)})`):(a=`${Hf(e.field)}`,i=`${t.firstValue?.aggregator}(total ${Hf(t.firstValue?.field)})`);const s=`${l}${a}${o[0]}${i}`;let c="";if(o.length>1){if(!r&&(!t.secondValue?.aggregator||!t.secondValue?.field)||r&&!t.secondValue?.fixedValue)return"";let e,i;n&&r?(e=`${t.secondValue?.fixedValue}`,i=` and ${a}`):!n&&r?(e=`${t.secondValue?.fixedValue}`,i=""):n||r?(e=`${t.secondValue?.aggregator}(${Hf(t.secondValue?.field)})`,i=` and ${a}`):(e=`${t.secondValue?.aggregator}(total ${Hf(t.secondValue?.field)})`,i=` and ${a}`),c=`${i}${o[1]}${e}`}return`"${s}${c}"`})(e);break;case"clear_selection":r+=t.get("Object.FilterLabel.All");break;default:r+=e.options?.values?e.options.values.join(", "):t.get("Object.FilterLabel.Unknown")}return""!==r&&(r=r.replace(/^"|"$/g,""),e.exclude&&(r=`${n} ${r}`)),{field:e.field,label:r}})).filter((e=>""!==e.label))},xE=(e,t)=>IE(e,t).map((e=>`${e.field}: ${e.label}`)).join("; "),RE=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M14.07 0a1 1 0 0 1 .816 1.577L10 8.5v4.398a1 1 0 0 1-.532.884l-2.734 1.445A.5.5 0 0 1 6 14.785V8.5L1.112 1.577A1 1 0 0 1 1.93 0zm0 1H1.93L7 8.183v5.772l2-1.057V8.183z"}}]}))(e));function wE({styles:e,children:t}){return r.createElement(Cl,{noWrap:!0,variant:"body2",style:{...e,fontStyle:"italic"}},t)}const LE=function({layout:e,translator:t,filtersFootnoteString:n,footerStyle:o,isRtl:a}){const i=IE(e?.filters??[],t),l={color:o?.color,fontFamily:o?.fontFamily,fontSize:o?.fontSize,fontWeight:o?.fontWeight};return r.createElement(Mf,{title:n},r.createElement(Xi,{container:!0,wrap:"nowrap",sx:{backgroundColor:o?.backgroundColor,padding:o?.padding,borderTop:o?.borderTop},"data-testid":"filters-footnote",justifyContent:a?"flex-end":"flex-start"},r.createElement(Xi,{item:!0,display:"flex"},r.createElement(RE,{style:{fontSize:"12px",color:o.color,margin:"auto"}}),r.createElement(wE,{styles:{...l,marginLeft:"2px"}},t.get("Object.FiltersApplied"),"  ")),r.createElement(Xi,{item:!0,display:"flex"},i.map((e=>r.createElement(Xi,{container:!0,wrap:"nowrap",key:`${e.field}-${e.label}`},r.createElement(wE,{styles:{...l,fontWeight:"bold"}},`${e.field}:`),r.createElement(wE,{styles:l},"   ",e.label,"  ")))))))},NE="Footer-itemStyle",_E=Bi(Xi)((()=>({[`& .${NE}`]:{minWidth:0,width:"100%"}}))),TE="njs-cell-footer",DE=function({layout:e,titleStyles:t={},translator:n,flags:o,isCardTheme:a,isRtl:i}){const l=t.footer,s=e?.filters?.length>0&&e?.qHyperCube?.qMeasureInfo?.length>0,c=xE(e?.filters??[],n),u=!e?.footnote&&s&&c,d=o?.isEnabled("VNA-13_CELLPADDING_FROM_THEME"),p=a?"1px":"6px";return e&&e.showTitles&&(e.footnote||u)?r.createElement(_E,{container:!0},r.createElement(Xi,{item:!0,className:NE,"data-testid":TE,sx:{paddingTop:e=>d?p:e.spacing(1)}},e.footnote&&r.createElement(Mf,{title:e.footnote},r.createElement(Cl,{noWrap:!0,variant:"body2",className:TE,style:l,align:i?"right":"left"},e.footnote)),u&&r.createElement(LE,{layout:e,translator:n,filtersFootnoteString:c,footerStyle:l,isRtl:i}))):null};class AE{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const PE=function({sn:e,snOptions:t,snPlugins:n,layout:o,appLayout:a,halo:i,cellId:l}){const{component:s}=e,{theme:c,language:u,constraints:d,interactions:p,keyboardNavigation:f}=(0,r.useContext)(bi),[h]=(0,r.useState)((()=>new AE)),[m,q]=(0,r.useState)(!1),[g,y]=(0,r.useState)(0),[b,v,C]=ol(),[S,E]=(0,r.useState)(null),O=(0,r.useCallback)((e=>{e&&E(e)}),[]);return(0,r.useEffect)((()=>{if(S)return s.created({options:t}),s.mounted(S),q(!0),()=>{h.stop(),s.willUnmount()}}),[S,s]),(0,r.useEffect)((()=>{m&&S&&v&&(!s.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||h.schedule((()=>{const r=[];return d.passive||r.push("passive"),d.active||r.push("interact"),d.select||r.push("select"),d.edit||r.push("edit"),i.app&&i.app.session&&r.push("fetch"),Promise.resolve(s.render({layout:o,options:t,plugins:n,embed:i.public.nebbie,context:{constraints:d,interactions:p,theme:i.public.theme,appLayout:a,keyboardNavigation:f,...s.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:r}}})).then((e=>{!1!==e&&(0===g&&"function"==typeof t.onInitialRender&&t.onInitialRender.call(null),y(g+1))}))})))}),[v,t,n,S,C,o,a,c,u,d,p,m,f]),r.createElement("div",{ref:b,"data-render-count":g,style:{position:"relative",height:"100%"},className:"njs-viz"},r.createElement("div",{ref:O,id:`${l}_content`,style:{position:"absolute",width:"100%",height:"100%"}}))},kE={linechart:"lineChart",barchart:"barChart",combochart:"comboChart",scatterplot:"scatterPlot",piechart:"pieChart",straightable:"straightTable",pivottable:"pivotTable",table:"straightTable","pivot-table":"pivotTable",listbox:"listBox",referenceline:"referenceLine",datacolors:"dataColors","text-image":"textImage",boxplot:"boxPlot",map:"mapChart",mapchart:"mapChart",bulletchart:"bulletChart"};class ME extends Error{constructor(e,t){super(e),this.originalError=t,this.name="RenderError"}}const FE=["action-button","sn-nav-menu","filterpane","sn-shape"],BE=[...FE,"pivot-table","table","sn-table","sn-pivot-table","kpi","sn-calendar","sn-filter-pane","sn-layout-container","sn-tabbed-container"],jE=e=>-1===FE.indexOf(e),zE=e=>jE(e)?"10px 10px 0":"10px 0 0",$E=new Map;[["auto-chart","Object.AutoChart"],["dummy-chart","Dummy"],["barchart","Object.BarChart"],["combochart","Object.ComboChart"],["container","Object.Container"],["distributionplot","Object.DistributionPlot"],["boxplot","Object.BoxPlot"],["filterpane","Object.FilterPane"],["gauge","Object.Gauge"],["histogram","Object.Histogram"],["kpi","Object.Kpi"],["linechart","Object.LineChart"],["listbox","Object.Listbox"],["piechart","Object.PieChart"],["pivot-table","Object.PivotTable"],["map","Object.Map"],["scatterplot","Object.ScatterPlot"],["sn-table","Object.StraightTable"],["text-image","Object.TextImage"],["treemap","Object.Treemap"],["waterfallchart","Object.WaterfallChart"],["mekkochart","Object.MekkoChart"],["action-button","Object.ActionButton"],["sn-nav-menu","Object.NavMenu"],["bulletchart","Object.BulletChart"],["sn-nlg-chart","Object.NlgChart"],["sn-analysis-autochart","Common.AnalysisTypes"],["sn-tabbed-container","Object.TabContainer"],["qlik-sankey-chart-ext","Object.SankeyChart"],["qlik-radar-chart","Object.RadarChart"],["qlik-funnel-chart-ext","Object.FunnelChart"],["sn-grid-chart","Object.GridChart"],["sn-layout-container","Object.LayoutContainer"]].forEach((([e,t])=>{$E.set(e,t)}));const GE=$E,VE=(e,t)=>{switch(t.type){case"LOADING":return{...e,loading:!0};case"LOADED":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization};case"RENDER":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null};case"LONG_RUNNING_QUERY":return{...e,longRunningQuery:!0};case"ERROR":return{...e,loading:!1,longRunningQuery:!1,error:t.error};default:throw new Error(`Unhandled type: ${t.type}`)}};function UE({delay:e=750}){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const t=setTimeout((()=>n(!0)),e);return()=>clearTimeout(t)}),[]),t?r.createElement(bE,null):null}const WE=e=>!e.qError||7005===e.qError.qErrorCode,HE=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c=`${l?r:i?s||o:a&&t[e].qFallbackTitle||""}`,u=n(e);return{description:u?`${u}${c.length?":":""}`:null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),KE=e=>e&&(Array.isArray(e)?e:[e])||[],XE=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t),l=HE(o,KE(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),s=HE(a,KE(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"));return{reqDimErrors:l,reqMeasErrors:s}};function YE(){return new(c())}const JE=(0,r.forwardRef)((({halo:e,model:t,initialSnOptions:n,initialSnPlugins:o,initialError:a,onMount:i,currentId:l,emitter:s,navigation:c,onError:u},d)=>{const{app:p,types:f}=e,{nebbie:h}=e.public,{theme:m,translator:q,language:g,keyboardNavigation:y,externalFocusManagement:b,disableCellPadding:v=!1,navigation:C,queryParams:S}=(0,r.useContext)(bi),[E]=(0,r.useState)(s||YE),O=Wo(),[I,x,R]=ol(),[w,L]=(0,r.useReducer)(VE,{loading:!1,loaded:!1,longRunningQuery:!1,error:(N=a)?{title:N.message}:null,sn:null,visualization:null});var N;const[_,T]=(0,r.useState)(t),[D,{validating:A,canCancel:P,canRetry:k},M]=nl(_),[F]=rl(p),[B,j,z]=ol(),[$,G]=(0,r.useState)(n),[V,U]=(0,r.useState)(o),W=`njs-cell-${l}`,[H]=Bm(p,_,[`#${W}`,".njs-action-toolbar-popover"]),[K,X]=(0,r.useState)(!1),Y=(0,r.useRef)({enter:null,leave:null}),{titleStyles:J,bgColor:Z,bgImage:Q,border:ee,borderRadius:te,boxShadow:ne}=(({layout:e,theme:t,app:n,themeName:o,disableThemeBorder:a,queryParams:i})=>{const l=(0,r.useMemo)((()=>{if(e&&t){const o=e.components?e.components.find((e=>"general"===e.key)):null,l=(r=e.visualization,kE[r.toLowerCase()]?kE[r.toLowerCase()]:r),s={main:fb(o,"main",t,l),footer:fb(o,"footer",t,l),subTitle:fb(o,"subTitle",t,l)},c=db(o,t,l),u=ub(o,n,i),d=function(e,t,n,r){const o=lb(e?.borderColor,"","borderColor",t,n);let a=e?.borderWidth;return!a&&!r&&(a=ib("","borderWidth",t,n)),a&&o?`${a} solid ${o}`:void 0}(o,t,l,a),p=function(e,t,n){return e?.borderRadius||ib("","borderRadius",t,n)}(o,t,l);return{titleStyles:s,bgColor:c,bgImage:u,border:d,borderRadius:p,boxShadow:pb(o,t,l)}}var r;return{}}),[e,t,n,o,a]);return l})({layout:D,theme:e.public.theme,app:e.app,themeName:m,disableThemeBorder:$?.disableThemeBorder,queryParams:S}),re=!("rtl"!==$?.direction),oe=(0,r.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,r.useEffect)((()=>{Mm(oe.current),oe.current.blurCallback=t=>{oe.current.onBlurHandler?oe.current.onBlurHandler(t):(e.root.toggleFocusOfCells(),t&&z&&z.focus())},oe.current.refocusContent=()=>{w.sn.component&&"function"==typeof w.sn.component.focus&&w.sn.component.focus()}}),[]),(0,r.useEffect)((()=>{if(a)return void i();if(!F||!D)return;if(w.visualization===D.visualization&&w.sn)return void(async e=>{const[t,n]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),h=KE(f.qDimensionInfo||f.qItems).filter(WE),m=KE(f.qMeasureInfo).filter(WE);if(o+=d,a+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,n,t),c=[],u=[];let d=null;for(let a=0;a<n.length;++a){const i=n[a];if(!l&&o){const n=d||await r.getProperties();d=n;const o=XE(e,t,n,i);c.push(...o.reqDimErrors),u.push(...o.reqMeasErrors)}}const p=c.filter((e=>!(e.missing||e.error))).length,f=e.get("Visualization.Incomplete.Dimensions",[p,a]),h=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Measures",[h,i]),q=[{title:f,descriptions:[...c]},{title:m,descriptions:[...u]}],g=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:g}]})(q,D,e.generator.qae.data,_);L(t?{type:"ERROR",error:n}:{type:"RENDER"}),(({sn:e,layout:t,model:n})=>{const r=e&&e.component&&e.component.selections;if(r&&r.id&&n.id&&r.id===n.id){if(t&&t.qSelectionInfo&&t.qSelectionInfo.qInSelections&&!r.isModal()){const{targets:t}=e.generator.qae.data,n=t[0].propertyPath;r.goModal(n)}t.qSelectionInfo&&t.qSelectionInfo.qInSelections||r.isModal()&&r.noModal()}})({sn:w.sn,layout:D,model:_})})(w.sn);const e=f.getSupportedVersion(D.visualization,D.version);return(async(e,t)=>{L({type:"LOADING"}),await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c,onMount:u,navigation:d})=>{try{const p=await(async({types:e,name:t,version:n})=>await e.get({name:t,version:n}).supernova())({types:t,name:n,version:r}),f=p.create({model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c,navigation:d});f&&(e({type:"LOADED",sn:f,visualization:n}),u())}catch(t){e(r?{type:"ERROR",error:{title:t.message,errorObject:t}}:{type:"ERROR",error:{title:`Could not find a version of '${n}' that supports current object version. Did you forget to register ${n}?`}}),u()}})({dispatch:L,types:f,visualization:e,version:t,model:_,app:p,selections:H,nebbie:h,focusHandler:oe.current,emitter:E,onMount:i,navigation:c??C})})(D.visualization,e),()=>{}}),[f,w.sn,_,H,D,F,g]),(0,r.useEffect)((()=>{if(!A)return;const e=setTimeout((()=>L({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[A]),(0,r.useImperativeHandle)(d,(()=>({getQae:()=>w.sn.generator.qae,getExtensionDefinition:()=>w.sn.generator.definition.ext,support(e,t,n){if(D&&w.loaded&&!w.error){const r=t||w.sn.generator.definition.ext?.support;if(r)return function(e,t,n){const r=t[e];return"function"==typeof r?r.call(null,n):"boolean"==typeof r&&r}(e,r,n||D)}return!1},toggleFocus(e){"function"==typeof w.sn.component.focus&&(e?w.sn.component.focus():w.sn.component.blur())},setOnBlurHandler(e){oe.current.onBlurHandler=e},setSnOptions:G,setSnPlugins:U,setModel:T,getImperativeHandle:()=>w.sn?.component&&"function"==typeof w.sn.component.getImperativeHandle?w.sn.component.getImperativeHandle():{},onContextMenu:(...e)=>w.sn?.component.onContextMenu(...e),async takeSnapshot(){const{width:e,height:t}=x;let n=JSON.parse(JSON.stringify(D));return"function"==typeof w.sn.component.setSnapshotData&&(n=await w.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:q.language(),theme:O.name,appLayout:F,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[w.sn,j,x,D,O.name,F]);let ae=null;w.loading&&!w.longRunningQuery?ae=r.createElement(UE,null):w.error?(u&&u(w.error.errorObject?w.error.errorObject:new ME(w.error.title)),ae=r.createElement(iE,w.error)):w.loaded&&(ae=r.createElement(PE,{key:D.visualization,sn:w.sn,halo:e,snOptions:$,snPlugins:V,layout:D,appLayout:F,cellId:l}));const ie=!!e.public.theme?.getStyle("","","_cards"),le=e.public.galaxy?.flags;let se,ce;v?(se=!1,ce=void 0):le?.isEnabled("VNA-13_CELLPADDING_FROM_THEME")?(se=!1,ce=(({layout:e,isError:t,isCardTheme:n,titleStyles:r,translator:o})=>{if(n){const n=e?.showTitles&&!!e?.title,a=e?.showTitles&&!!e?.subtitle,i=e?.filters?.length>0&&e?.qHyperCube?.qMeasureInfo?.length>0,l=e?.visualization,s=xE(e?.filters??[],o),c=!e?.footnote&&i&&s,u=e?.showTitles&&(!!e?.footnote||c);let d;return n&&(r.main.padding=zE(l)),a&&(r.subTitle.padding=((e,t)=>{const n=jE(e);return t?n?"0 10px":"0":zE(e)})(l,n)),u&&(-1===FE.indexOf(l)&&(r.footer.borderTop="1px solid #d9d9d9"),r.footer.padding="6px 10px"),(t||-1===BE.indexOf(l))&&(d=`${n||a?"0":"10px"} 10px ${u?"0":"5px"}`),d}})({layout:D,isError:w.error,isCardTheme:ie,titleStyles:J,translator:q})):(se=!0,ce=void 0);const ue=GE.get(D?.visualization),de=q.get(ue);return r.createElement(Rc,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:Z||"unset",backgroundImage:Q&&Q.url?`url(${Q.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:Q&&Q.size,backgroundPosition:Q&&Q.pos,border:ee,borderRadius:te,boxShadow:ne,boxSizing:"border-box"},elevation:0,square:!0,className:"njs-cell",ref:I,id:W,onMouseEnter:()=>{Y.current.leave&&clearTimeout(Y.current.leave),Y.enter||(Y.current.enter=setTimeout((()=>{X(!0),Y.current.enter=null}),250))},onMouseLeave:()=>{Y.current.enter&&clearTimeout(Y.current.enter),Y.current.leave||(Y.current.leave=setTimeout((()=>{X(!1),Y.current.leave=null}),750))}},r.createElement(Xi,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...se?{padding:O.spacing(1)}:{},...w.longRunningQuery?{opacity:"0.3"}:{}},"aria-labelledby":`${l}_title ${l}_type ${l}_content`},D&&r.createElement("div",{id:`${l}_type`,style:vE,"aria-label":de??D.visualization}),R&&D&&w.sn&&r.createElement(OE,{layout:D,sn:w.sn,anchorEl:R,hovering:K,focusHandler:oe.current,titleStyles:J,isRtl:re,id:l,translator:q}," "),r.createElement(Xi,{tabIndex:y&&!b?0:-1,onKeyDown:y&&!b?t=>{["Enter"," ","Spacebar"].includes(t.key)&&e.root.toggleFocusOfCells(l)}:null,item:!0,xs:!0,className:"njs-cell-body",style:{height:"100%",...ce?{padding:ce}:{}},ref:B},ae),R&&D&&w.sn&&r.createElement(DE,{layout:D,titleStyles:J,translator:q,flags:le,isCardTheme:ie,isRtl:re})),w.longRunningQuery&&r.createElement(yE,{canCancel:P,canRetry:k,api:M}))})),ZE=JE;function QE(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function eO(e="/",t,n){const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?function(e,t){return QE(e)&&QE(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...eO(`${e}${o}/`,t[o],n[o]))})),r}function tO(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error(`Invalid plugin format: The plugin "${e.info.name}" has no "fn" function`)}))}const nO=(e,t,n)=>{if(!e)return Promise.resolve();let r=SC.generate(t,n);return U()(!0,t,n),r&&r.length?(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.__snInterceptor?e.__snInterceptor.applyPatches.call(e,r,!0):e.applyPatches(r,!0)):Promise.resolve()},rO=()=>{};async function oO(e,t,n,o,a,i=async()=>{}){const{onRender:l,onError:s}=t,u=function({model:e,halo:t,navigation:n,initialError:o,onDestroy:a=async()=>{},onRender:i=()=>{},onError:l=()=>{}}={}){let s,u,d,p=rO,f=null,h=null,m=null,q=null,g=!1;const y=new Promise((e=>{m=e})),b=new Promise((e=>{q=e})),v=e=>()=>{e?.(),q(),i(),g=!0};let C={},S=[];const E=new(c());let O={};t.context?.enablePrivateExperimental&&(O={support:e=>!(!h||!g)&&f.current.support(e,u?.support,d),getPropertyPanelDefinition:()=>!(!h||!g)&&(u?u.definition:f.current.getExtensionDefinition().definition),async getHypercubePropertyHandler(){await b;const t=f.current.getQae();if(!t?.data?.targets?.[0]?.propertyPath)return;const n=t.data.targets[0].propertyPath,r=f.current.getExtensionDefinition().data,o=await e.getEffectiveProperties();if(n&&r){const t={app:e.app,dimensionDefinition:r.dimensions,measureDefinition:r.measures,dimensionProperties:o.qHyperCubeDef?.qDimensions?.[0]||cC.getDefaultDimension(),measureProperties:o.qHyperCubeDef?.qMeasures?.[0]||cC.getDefaultMeasure(),globalChangeListeners:void 0,path:n};return new WS(t)}},toggleFocus(e){f.current.toggleFocus(e)},setOnBlurHandler(e){f.current.setOnBlurHandler(e)},onContextMenu:(...e)=>f.current.onContextMenu(...e)});const I={id:e.id,model:e,async destroy(){await a(),p(),p=rO},async convertTo(n,r=!0,o=!1){if(r){if((a=await e.getLayout())&&!a.qHasSoftPatches&&!a.qExtendsId&&(a.qMeta?.privileges||[]).indexOf("update")>-1&&!o){const r=await pC({halo:t,model:e,cellRef:f,newType:n});return await((e,t)=>e.__snInterceptor?e.__snInterceptor.setProperties.call(e,t):e.setProperties(t))(e,r.qProperty),r}const r=await e.getEffectiveProperties(),i=await pC({halo:t,model:e,cellRef:f,newType:n,properties:r}),l=i.qProperty;return await nO(e,r,l),i}var a;return await pC({halo:t,model:e,cellRef:f,newType:n})},async toggleDataView(n){let r;if(s||!1===n)s&&!0!==n&&(r=e,await t.app.destroySessionObject(s),s=void 0,u=void 0,d=void 0);else{let n=t.context.dataViewType;const o=await e.getEffectiveProperties();if(!t.types.getSupportedVersion(n)){if(!t.types.getSupportedVersion("table"))throw new Error("No data view type registered");n="table"}const a=await pC({halo:t,model:e,cellRef:f,newType:n,properties:o,viewDataMode:!0});r=await t.app.createSessionObject(a.qProperty),s=r.id,u=f.current.getExtensionDefinition(),d=await e.getLayout()}r&&f.current.setModel(r)},get viewDataToggled(){return void 0!==s},addListener(e,t){E.addListener(e,t)},removeListener(e,t){E.removeListener(e,t)},getImperativeHandle:async()=>(await b,f.current.getImperativeHandle()),takeSnapshot:async()=>(await b,f.current.takeSnapshot()),...O,__DO_NOT_USE__:{mount(a){if(h)throw new Error("Already mounted");if(!(a instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return h=a,[p,f]=function({halo:e,element:t,model:n,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s,navigation:c,onError:u}){const{root:d}=e,p=r.createRef(),f=lv(),h=Oi.createPortal(r.createElement(ZE,{ref:p,halo:e,model:n,currentId:f,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l,navigation:c,onError:u}),t,f),m=()=>{d.remove(h),n.removeListener("closed",m)};return n.on("closed",m),d.addCell(f,p),(async()=>{try{await d.add(h,m)}catch(e){m(),i(),u(e)}})(),[m,p]}({halo:t,element:a,model:e,initialSnOptions:C,initialSnPlugins:S,initialError:o,onMount:m,emitter:E,navigation:n,onError:l}),y},async applyProperties(t){const n=eO("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;h?(async()=>{await y,f.current.setSnOptions({...C,...e,onInitialRender:v(t)})})():C={...C,...e,onInitialRender:v(t)}})(e)},plugins(e){(async e=>{tO(e),h?(async()=>{await y,f.current.setSnPlugins(e)})():S=e})(e)},exportImage:()=>f.current.exportImage(),takeSnapshot:()=>f.current.takeSnapshot(),getModel:()=>e,convert:{async toType(n){const r=await e.getEffectiveProperties(),o=await pC({halo:t,model:e,cellRef:f,newType:n,properties:r}),a=o.qProperty;return await nO(e,r,a),o},async revert(){await e.clearSoftPatches()}}}};return I}({model:e,halo:n,navigation:o,initialError:a,onDestroy:i,onRender:l,onError:s});return t.options&&u.__DO_NOT_USE__.options(t.options),t.plugins&&u.__DO_NOT_USE__.plugins(t.plugins),t.element&&await u.__DO_NOT_USE__.mount(t.element),u}async function aO({type:e,version:t,fields:n,properties:r,extendProperties:o},a,i,l){let s={};const c=[],{modelStore:u}=l;try{const i=a.types.get({name:e,version:t});s=await i.initialProperties(r,o);const l=await i.supernova();n&&await Zv({sn:l,properties:s,fields:n,children:c},a),r&&l&&l.qae.properties.onChange&&l.qae.properties.onChange.call({},s)}catch(t){s=i?null:{qInfo:{qType:e},visualization:e}}if(!i){const e=await a.app.createObject(s);return c.length>0&&await e.setFullPropertyTree({qProperty:s,qChildren:c}),u.set(e.id,e),e}return s}function iO(e,t,n){return e.bounds?e.bounds:{y:e.row/n*100,x:e.col/t*100,width:e.colspan/t*100,height:e.rowspan/n*100}}const lO=(0,r.forwardRef)((({model:e,halo:t,initialSnOptions:n,initialSnPlugins:o,initialError:a,onMount:i,unmount:l,navigation:s,onError:c},u)=>{const{root:d}=t,[p,f]=(0,r.useState)(e),[h]=nl(p),{theme:m,modelStore:q}=(0,r.useContext)(bi),[g,y]=(0,r.useState)([]),[b,v]=(0,r.useState)(void 0),[C,S]=(0,r.useState)(void 0),[E,O]=(0,r.useState)(""),I=(0,r.useRef)({cellCount:0,cellsRendered:0,initialRender:!1});s?.setCurrentSheetId?.(p.id),(0,r.useEffect)((()=>{if(h){const e=JSON.stringify(h.cells);if(e===E)return;O(e);const o=async()=>{g.forEach((e=>{d.removeCell(e.currentId)}));const e=h.cells;I.cellCount=e.length,I.cellsRendered=0;const o=()=>{I.cellsRendered++,I.cellsRendered!==I.cellCount||I.initialRender||(I.initialRender=!0,n.onInitialRender())},{columns:a,rows:i}=h,l=await Promise.all(e.map((async e=>{let l;const s=new Promise((e=>{l=e})),c=g.find((t=>t.id===e.name));if(c)return c.bounds=iO(e,a,i),delete c.mountedPromise,c;const u=await async function({id:e,options:t,plugins:n,element:r},o,a){const{modelStore:i,rpcRequestModelStore:l}=a,s=`${e}`;let c=l.get(s);c||(c=o.app.getObject(e),l.set(s,c));const u=await c;return i.set(s,u),oO(u,{options:t,plugins:n,element:r},o)}({id:e.name},t,q);return{model:u.model,id:e.name,bounds:iO(e,a,i),cellRef:r.createRef(),currentId:lv(),mounted:l,mountedPromise:s,options:{...n,onInitialRender:o}}})));l.forEach((e=>d.addCell(e.currentId,e.cellRef))),y(l)};o()}}),[h]),(0,r.useEffect)((()=>{const e=()=>{p.removeListener("closed",e),l()};return p.on("closed",e),()=>p.removeListener("closed",e)}),[p]);const x=(0,r.useMemo)((()=>g?g.map((e=>function(e,t,n,o,a,i,l,s){const{x:c,y:u,width:d,height:p}=e.bounds,f={left:`${c}%`,top:`${u}%`,width:`${d}%`,height:`${p}%`,position:"absolute"},h=t.public.galaxy?.flags;return h?.isEnabled("VNA-13_CELLPADDING_FROM_THEME")&&(f.boxSizing="border-box",f.padding="4px"),r.createElement("div",{style:f,key:e.model.id},r.createElement(ZE,{ref:e.cellRef,halo:t,model:e.model,currentId:e.currentId,initialSnOptions:n,initialSnPlugins:o,initialError:a,onMount:i,navigation:l,onError:s}))}(e,t,e.options,o,a,e.mounted,s,c))):[]),[g]);(0,r.useEffect)((()=>{const e=h?.components?h.components.find((e=>"general"===e.key)):null;v(db(e,t.public.theme)),S(ub(e,t.app))}),[h,t.public.theme,t.app,m]),(0,r.useImperativeHandle)(u,(()=>({setModel:f})),[]);const R=!h||void 0===h.height||Number.isNaN(h.height)?"100%":`${Number(h.height)}%`,w=g.map((e=>e.mountedPromise)),L=w.filter((e=>!!e));return L.length&&Promise.all(w).then((()=>{i()})),r.createElement("div",{className:"njs-sheet",style:{width:"100%",height:R,position:"relative",backgroundColor:b,backgroundImage:C&&C.url?`url(${C.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:C&&C.size,backgroundPosition:C&&C.pos}},x)})),sO=lO,cO=()=>{};async function uO({id:e,options:t,plugins:n,element:o,onRender:a,onError:i,navigation:l},s,c){const{modelStore:u,rpcRequestModelStore:d}=c,p=`${e}`;let f=d.get(p);f||(f=s.app.getObject(e),d.set(p,f));const h=await f;u.set(p,h);const m=l||("sheet"===h.genericType?function(e,t,n){const{galaxy:r}=e.public;if(r.anything?.sense?.navigation)return r.anything?.sense?.navigation;const o={model:n},a={goToSheet:async n=>{if(!o.sheetRef)return;const{modelStore:r,rpcRequestModelStore:i}=t,l=`${n}`;let s,c=i.get(l);c||(c=e.app.getObject(n),i.set(l,c));try{if(s=await c,"sheet"!==s.genericType)return}catch(e){return}r.set(l,s),o.sheetRef?.current?.setModel?.(s),o.model=s,a.emit("sheetChanged")},setSheetRef:e=>{o.sheetRef=e},getCurrentSheetId:()=>!!o.model&&o.model.id};return Mm(a),a}(s,c,h):void 0);return"sheet"===h.genericType?async function(e,t,n,o,a,i=async()=>{}){const{onRender:l,onError:s}=t,c=function({model:e,halo:t,navigation:n,initialError:o,onDestroy:a=async()=>{},onRender:i=()=>{},onError:l=()=>{}}={}){let s=cO,c=null,u=null,d=null,p=null;const f=new Promise((e=>{d=e})),h=new Promise((e=>{p=e})),m=e=>()=>{e?.(),p(),i()};let q={},g=[];const y={id:e.id,model:e,navigation:n,getImperativeHandle:async()=>(await h,c.current.getImperativeHandle()),async destroy(){await a(),s(),s=cO},__DO_NOT_USE__:{mount(a){if(u)throw new Error("Already mounted");if(!(a instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return u=a,[s,c]=function({halo:e,element:t,model:n,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l,navigation:s,onError:c}){const{root:u}=e,d=r.createRef();let p;const f=()=>{u.remove(p)};return p=Oi.createPortal(r.createElement(sO,{ref:d,halo:e,model:n,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i,unmount:f,navigation:s,onError:c}),t,n.id),s.setSheetRef(d),u.add(p,f),[f,d]}({halo:t,element:a,model:e,initialSnOptions:q,initialSnPlugins:g,initialError:o,onMount:d,navigation:n,onError:l}),f},async applyProperties(t){const n=eO("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;u?(async()=>{await f,c.current.setSnOptions({...q,...e,onInitialRender:m(t)})})():q={...q,...e,onInitialRender:m(t)}})(e)},plugins(e){(async e=>{tO(e),u?(async()=>{await f,c.current.setSnPlugins(e)})():g=e})(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return y}({model:e,halo:n,navigation:o,initialError:a,onDestroy:i,onRender:l,onError:s});return t.options&&c.__DO_NOT_USE__.options(t.options),t.plugins&&c.__DO_NOT_USE__.plugins(t.plugins),t.element&&await c.__DO_NOT_USE__.mount(t.element),c}(h,{options:t,plugins:n,element:o,onRender:a,onError:i},s,m):oO(h,{options:t,plugins:n,element:o,onRender:a,onError:i},s,m)}function dO(e={}){return{isEnabled:t=>!0===e[t]}}var pO=i(1440),fO=i.n(pO);const hO={};function mO(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error(`Supernova '${e}@${o}' already registered.`);n[o]=function(e,t,n={}){let r,o;const{meta:a}=n,i={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||fO()(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!hO[o]){const a=`${e}${t&&` v${t}`||""}`;if(r&&"function"!=typeof r)throw new Error(`load of visualization '${a}' is not a fuction, wrap load promise in function`);const i=(r||n.load)({name:e,version:t}),l=Promise.resolve(i);hO[o]=l.then((e=>{if(!e)throw new Error(`load() of visualization '${a}' resolved to an invalid object`);return e})).catch((e=>{throw console.warn(e),new ME(`Failed to load visualization: '${a}'`,e)}))}return hO[o]}(i.name,i.version,t,n.load).then((e=>(r=r||ZS(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r))),initialProperties(e,t=!1){return this.supernova().then((()=>{const n={qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0,...JSON.parse(o)};return t?(U()(!0,n,e),n):{...n,...e}}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--)if(n[r[t]].supportsPropertiesVersion(e))return r[t];return null},versions:n}}const qO={context:{},load:()=>{},types:[],themes:[],anything:{},flags:{KPI_REACTCOLORPICKER:!0,CLIENT_IM_3365:!0},snapshot:{get:async e=>{const t=await fetch(`/njs/snapshot/${e}`);if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))}};qO.context={theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1,dataViewType:"sn-table",navigation:void 0};const gO=(e={},t={})=>({...e,...t}),yO=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),bO=function e(t={}){const o=function(e){const t=a({initial:e});return Object.keys(l).forEach((e=>{t.translator.add(l[e])})),{translator:t.translator}}(t.context.language);function i(e,a){if(a)return i.createConfiguration(a)(e);let l={...t.context,translator:o.translator,hostConfig:t.hostConfig};const[s,c]=function({app:e,context:t}){let n,o=!1;const a=new Promise((e=>{n=e})),i=r.createRef(),l=document.createElement("div");l.style.display="none",l.setAttribute("data-nebulajs-version","6.0.0-alpha.4"),l.setAttribute("data-app-id",e.id),document.body.appendChild(l),t&&Ci(t);const s=function(e){const[t,n]=Si({}),[r,o]=Si({}),[a,i]=Si({}),[l,s]=Si({}),[c,u]=Si({}),[,d]=Si({}),p=({type:e,value:t})=>{const r=d.get(t.id);d.set(t.id,{});const a=()=>{o.clear(t.id),u.set(t.id,{}),u.dispatch(!0)},l=()=>{t.removeListener("closed",l),t.removeListener("changed",a),n.clear(t.id),o.clear(t.id),i.clear(t.id),s.clear(t.id),u.clear(t.id),d.clear(t.id)};return"SET"===e&&(r||(t.on("changed",a),t.once("closed",l))),l},[f,h]=Si({},p);return{subscribe:e=>{const t=p({type:"SET",value:e});return()=>{t(),h.clear(e.id)}},destroy:()=>{h.destroy()},useModelStore:f,modelStore:h,useModelChangedStore:c,useRpcResultStore:t,rpcResultStore:n,useRpcRequestStore:r,rpcRequestStore:o,useRpcRequestModelStore:l,rpcRequestModelStore:s,useRpcRequestSessionModelStore:a,rpcRequestSessionModelStore:i,modelChangedStore:u,appId:e}}(e.id),c=function(e){const[t,n]=Si({}),[r,o]=Si({}),[a,i]=Si({});return{useAppSelectionsStore:t,useAppModalStore:r,appSelectionsStore:n,appModalStore:o,useModalObjectStore:a,modalObjectStore:i,appId:e}}(e.id),u=ge.createRoot(l);u.render(r.createElement(Ei,{ref:i,initialContext:t,renderCallback:n,modelStore:s,selectionStore:c}));const d={},p=[],f=[];return[{toggleFocusOfCells(e){Object.keys(d).forEach((t=>{d[t].current?.toggleFocus(t===e)}))},cells:d,addCell(e,t){d[e]=t},removeCell(e){delete d[e]},add:(e,t)=>(async()=>{await a,f.push(e),p.push(t),i.current.setComps(f)})(),remove(e){o||(async()=>{await a;const t=f.indexOf(e);-1!==t&&(p[t]?.(),f.splice(t,1),p.splice(t,1)),i?.current?.setComps(f)})()},setMuiThemeName(e){(async()=>{await a,i.current.setMuiThemeName(e)})()},context(e){(async()=>{await a,e&&Ci(e),i.current.setContext(e)})()},destroy(){o=!0,p.forEach((e=>{e&&e()})),s.destroy(),u.unmount(),document.body.removeChild(l)}},s,c,i,a]}({app:e,context:l}),u=function({themes:e=[],loadTheme:t,root:n}={}){const r=me();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),qe(5e3,{__timedOut:!0})]);e.__timedOut?console.warn(`Timeout when loading theme '${o}'`):(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){console.error(e)}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i)},externalAPI:r.externalAPI}}({themes:t.themes,loadTheme:t.loadTheme,root:s});l.themeApi=u.externalAPI;const d={galaxy:{translator:o.translator,theme:u.externalAPI,flags:dO(t.flags),deviceType:(h=t.context.deviceType,"auto"!==h?h:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"),hostConfig:t.hostConfig,anything:t.anything},theme:u.externalAPI,translator:o.translator,nebbie:null},p={app:e,root:s,config:t,public:d,context:l,types:null},f=function({halo:e,parent:t}){const n={},r=t||{get:()=>{}};return{register:(t,r)=>{n[t.name]||(n[t.name]=mO(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>{if(n[e])return n[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(hO).forEach((t=>{t.split("__")[0]===e&&(hO[t]=void 0)}))}(e)}}}({halo:p});var h;t.types.forEach((e=>f.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let m=new Promise((e=>{(async()=>{if(await u.setTheme(t.context.theme),t.hostConfig&&n&&n.getWebResourceAuthParams){const{queryParams:e}=await n.getWebResourceAuthParams({hostConfig:t.hostConfig});l.queryParams=e,s.context(l)}})().then(e)})),q=null,g=null;const y={render:async e=>(await m,e.id?uO(e,p,c):async function({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l,navigation:s,onRender:c,onError:u},d,p){let f={};const h=[],{modelStore:m,subscribe:q}=p;let g;try{const o=d.types.get({name:e,version:t});f=await o.initialProperties(r,l);const a=await o.supernova();n&&await Zv({sn:a,properties:f,fields:n,children:h},d),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},f)}catch(t){g=t,f={qInfo:{qType:e},visualization:e}}const y=await d.app.createSessionObject(f);h.length>0&&await y.setFullPropertyTree({qProperty:f,qChildren:h}),m.set(y.id,y);const b=q(y);return oO(y,{options:o,plugins:a,element:i,onRender:c,onError:u},d,s,g,(async()=>{await d.app.destroySessionObject(y.id),b()}))}(e,p,c)),destroy:async()=>{s.destroy()},create:async e=>aO(e,p,!1,c),generateProperties:async e=>aO(e,p,!0,c),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==l[n]&&(t||(t={}),t[n]=e[n])})),t&&(l={...l,...t,translator:o.translator},t.theme&&(await m,m=u.setTheme(t.theme),await m),t.language&&p.public.translator.language(t.language),s.context(l))},selections:async()=>(q||(q={mount(t){g?console.error("Already mounted"):(g=function({element:e,app:t}){return Oi.createPortal(r.createElement(sv,{app:t}),e,lv())}({element:t,app:e}),s.add(g))},unmount(){g&&(s.remove(g),g=null)}}),q),field:async t=>{let n;const o="string"==typeof t?t:t.qLibraryId;if(t.qId)n=t.qId;else if(!o)throw new Error("Field identifier or object id must be provided");const a={fieldName:o,async mount(i,l={}){if(!i)throw new Error(`Element for ${o||n} not provided`);if(this._instance)throw new Error(`Field or object ${o||n} already mounted`);const c=()=>a.emit("selectionActivated"),u=()=>a.emit("selectionDeactivated");return new Promise((o=>{[this._instance,this._ref]=function({element:e,app:t,fieldIdentifier:n,qId:o,stateName:a="$",options:i={},renderedCallback:l}){const s=r.createRef();return[Oi.createPortal(r.createElement($v,{ref:s,app:t,element:e,fieldIdentifier:n,qId:o,stateName:a,initialOptions:i,renderedCallback:l}),e,lv()),s]}({element:i,app:e,fieldIdentifier:t,qId:n,options:zv({onSelectionActivated:c,onSelectionDeactivated:u,...l}),stateName:l.stateName||"$",renderedCallback:o}),s.add(this._instance)}))},unmount(){this._instance&&(s.remove(this._instance),this._instance=null,this._ref=null)},__DO_NOT_USE__:{options(e){const t=()=>a.emit("selectionActivated"),n=()=>a.emit("selectionDeactivated");if(a._ref?.current){const r=zv({onSelectionActivated:t,onSelectionDeactivated:n,...e});a._ref.current.setOptions(r)}}}};return Mm(a),a},getRegisteredTypes:f.getList,__DO_NOT_USE__:{types:f,popover(t,n,o){y._popoverInstance&&(s.remove(y._popoverInstance),y._popoverInstance=null);const a=((e={})=>{const t={...Gv};return U()(!0,t,e),t})({onPopoverClose:()=>y.emit("fieldPopoverClose"),...o});y._popoverInstance=r.createElement(Vv,{element:t,key:lv(),app:e,fieldIdentifier:n,options:a,stateName:o.stateName||"$"}),s.add(y._popoverInstance)}}};return p.public.nebbie=y,p.types=f,Mm(y),y}return i.createConfiguration=n=>e(((e,t)=>({context:gO(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:yO(e.types,t.types),themes:yO(e.themes,t.themes),flags:gO(e.flags,t.flags),hostConfig:t.hostConfig||e.hostConfig,anything:gO(e.anything,t.anything)}))(t,n)),i.config=t,i}(qO),vO=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},CO=globalThis.crypto||{getRandomValues:()=>123456},SO=function(e){return t=>{const n=U()({},t);n.qInfo=n.qInfo||{},n.qInfo.qId=n.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^CO.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const r=n._mock;let o=n;return r&&(delete n._mock,o=U()({},n,r)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(o),getProperties:()=>Promise.resolve(n),getEffectiveProperties:()=>Promise.resolve(n),removeListener:()=>{},id:n.qInfo.qId,properties:n,session:e})}},EO=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,OO=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=EO(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},IO=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function xO(e){return!IO.includes(e)}function RO(e){const t=EO(e.getLayout);return t.qInfo&&t.qInfo.qId}function wO(e,t){let n=RO(e);const{delay:r}=t,{id:o,session:a,...i}=e;if(o&&n&&o!==n)throw new Error(`Generic object has multiple IDs, qInfo.qId: ${n}, id: ${o}`);n=n||o||"object - "+ +Date.now();const l={id:n,session:EO(a,{defaultValue:!0}),on:()=>{},once:()=>{},removeListener:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:OO(n,{async:xO(t),delay:r})})),{}),genericType:e.type};return{[n]:l}}function LO(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!RO(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const NO=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(LO);const n=function(e,t){return e.reduce(((e,n)=>({...e,...wO(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},_O=function(){return()=>Promise.resolve({id:"app-layout"})},TO={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new vO,r=new SO(n),o=new NO(e,t),a=new _O,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,destroySessionObject:async()=>{},getObject:o,getAppLayout:a,getListObject:async e=>o(e.qInfo?.qId)};return Promise.resolve(i)}(e,t)},DO=TO,AO={generator:ZS,hook:FC,theme:me,locale:a};var PO=i(5216),kO=i.n(PO);const MO=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"SheetObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomDropDown":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GraphBasics":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Graph":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StraightTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"PivotTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CurrentSelection":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"InputBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"SearchObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Container":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"ListBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"MultiBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Button":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TextObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"BookmarkObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Slider":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"LineArrow":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StatisticsBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qServeOnce","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"StoreData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qLibRef","DefaultValue":""},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qParquetCompression","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetParent":{"In":[],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]},"StepCycle":{"In":[{"Name":"qStep","DefaultValue":0}],"Out":[]},"SetActiveField":{"In":[{"Name":"qIx","DefaultValue":0}],"Out":[]},"GetActiveField":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerify":{"In":[],"Out":[{"Name":"qResult"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]},"GetRawContent":{"In":[],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetSheetObject":{"In":[{"Name":"qObjectId","DefaultValue":""}],"Out":[]},"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false},{"Name":"qIncludeProfiling","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""},"qHasSectionAccess":false,"qUsage":0}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{},"qIncludePatches":false}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"AddSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""},{"Name":"qSourceStateName","DefaultValue":"","Optional":true}],"Out":[]},"RemoveSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerifyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false,"qReloadId":"","qSkipStore":false,"qRowLimit":0},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0,"qServeOnce":false},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"GetSetAnalysis":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true},{"Name":"qBookmarkId","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSetExpression"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetFieldAndColumnSamples":{"In":[{"Name":"qFieldsOrColumnsWithWildcards","DefaultValue":[{"qFieldName":"","qTableName":""}]},{"Name":"qMaxNumberOfValues","DefaultValue":0},{"Name":"qRandSeed","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]},"GetVariables":{"In":[{"Name":"qListDef","DefaultValue":{"qType":"","qShowReserved":false,"qShowConfig":false,"qData":{},"qShowSession":false}}],"Out":[{"Name":"qList"}]},"ExpandExpression":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qExpandedExpression"}]},"DestroySessionVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroySessionVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"SetAppObjectSortingRank":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qRank","DefaultValue":0}],"Out":[]},"GetActiveSheetId":{"In":[],"Out":[{"Name":"qId"}]},"GetLayoutProperties":{"In":[],"Out":[{"Name":"qLayoutProp"}]},"CreateBookmarkEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]},"StoreTempSelectionState":{"In":[{"Name":"qTTLOfTempState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qId"}]},"RestoreTempSelectionState":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ChangeSessionAppOwner":{"In":[{"Name":"qNewOwnerId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ChangeSessionAppSpace":{"In":[{"Name":"qSpaceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetTableProfileData":{"In":[{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qProfiling"}]},"GetMeasureWithLabel":{"In":[{"Name":"qLabel","DefaultValue":""}],"Out":[]},"SearchValues":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0}}],"Out":[{"Name":"qResult"}]},"GetFieldsFromExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qFieldNames"}]},"GetFieldsResourceIds":{"In":[{"Name":"qFieldNames","DefaultValue":[""]}],"Out":[{"Name":"qFields"}]},"UploadTable":{"In":[{"Name":"qDomain","DefaultValue":0},{"Name":"qDatasetId","DefaultValue":""},{"Name":"qTableName","DefaultValue":""},{"Name":"qFieldNames","DefaultValue":[""],"Optional":true}],"Out":[]},"GetExpressionBNF":{"In":[],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetExpressionBNFHash":{"In":[],"Out":[{"Name":"qBnfHash"}]},"SetProhibitBinaryLoad":{"In":[{"Name":"qProhibit","DefaultValue":false}],"Out":[]},"TransformApp":{"In":[{"Name":"qDstParameters","DefaultValue":{"qName":"","qSpaceId":"","qScriptParameterPrefix":""}}],"Out":[{"Name":"qResult"}]},"CreateTemporaryBookmark":{"In":[{"Name":"qOptions","DefaultValue":{"qIncludeVariables":false,"qIncludeAllPatches":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qId"}]},"ApplyTemporaryBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetScriptMeta":{"In":[],"Out":[{"Name":"qMeta"}]},"ReplaceBookmark":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qIgnorePatches","DefaultValue":false,"Optional":true},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"ClearAllSoftPatches":{"In":[],"Out":[]},"BulkRequest":{"In":[{"Name":"qReqs","DefaultValue":{"qOperations":[{"qMethod":"","qId":"","qTarget":0,"qArgs":{}}]}}],"Out":[{"Name":"qBulkRes"}]},"CommitScript":{"In":[{"Name":"qCommitMessage","DefaultValue":"","Optional":true}],"Out":[]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true},{"Name":"qLocale","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[{"Name":"qReason","DefaultValue":"","Optional":true}],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29,"LOCMSG_SCRIPTEDITOR_ACCESS_DENIED_AFTER_RELOAD":30,"LOCMSG_SCRIPTEDITOR_MERGED_UPDATES":31,"LOCMSG_SCRIPTEDITOR_MERGED_INSERTS":32,"LOCMSG_SCRIPTEDITOR_MERGED_DELETES":33},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_GENERIC_NOT_IMPLEMENTED":20,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_423":423,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_APP_SIZE_EXCEEDED":1015,"LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED":1016,"LOCERR_APP_NOT_OPEN":1017,"LOCERR_APP_EVENT_SOURCE_TIMEOUT":1018,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTION_MISSING_CREDENTIALS":2005,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_SERVER_NO_TOKEN":5009,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_MOVE_FAILED":9010,"LOCERR_PERSISTENCE_OBJECT_LOCKED":9011,"LOCERR_PERSISTENCE_ENCRYPTION_KEY_MIGRATION_ONGOING":9012,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD":11047,"LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT":11048,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_BDI_STATUS_OK":24000,"LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED":24001,"LOCERR_TRENDLINE_INVALID_DEF":25000,"LOCERR_TRENDLINE_INVALID_MATH_ERROR":25001,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034,"LOCERR_SETEXPRESSION_TOO_LARGE":30100,"LOCERR_RELOAD_MERGE_LOAD_ERROR":30101,"LOCERR_WIN_FTP_DROPPED":30200,"LOCERR_WIN_FTP_NO_PASSIVE_MODE":30201,"LOCERR_WIN_HTTP_DOWNLEVEL_SERVER":30210,"LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE":30211,"LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION":30212,"LOCERR_WIN_INTERNET_FORCE_RETRY":30220,"LOCERR_WIN_INTERNET_CANNOT_CONNECT":30221,"LOCERR_WIN_INTERNET_CONNECTION_ABORTED":30222,"LOCERR_WIN_INTERNET_CONNECTION_RESET":30223,"LOCERR_WIN_INTERNET_DISCONNECTED":30224,"LOCERR_WIN_INTERNET_INCORRECT_FORMAT":30225,"LOCERR_WIN_INTERNET_INVALID_CA":30226,"LOCERR_WIN_INTERNET_INVALID_OPERATION":30227,"LOCERR_WIN_INTERNET_INVALID_URL":30228,"LOCERR_WIN_INTERNET_ITEM_NOT_FOUND":30229,"LOCERR_WIN_INTERNET_LOGIN_FAILURE":30230,"LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED":30231,"LOCERR_WIN_INTERNET_NEED_UI":30232,"LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID":30233,"LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID":30234,"LOCERR_WIN_INTERNET_SEC_CERT_ERRORS":30235,"LOCERR_WIN_INTERNET_SEC_INVALID_CERT":30236,"LOCERR_WIN_INTERNET_SERVER_UNREACHABLE":30237},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000,"LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED":3000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2,"EXPORT_PARQUET":3},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"ParquetCompression":{"PARQUET_UNCOMPRESSED":1,"PARQUET_SNAPPY":2,"PARQUET_GZIP":3,"PARQUET_BROTLI":4,"PARQUET_ZSTD":5,"PARQUET_LZ4":6,"PARQUET_LZ4_HADOOP":10},"Feature":{"FEATURE_BINNING_DATA":0,"FEATURE_BOOKMARKS":1,"FEATURE_CALCULATED_FIELDS":2,"FEATURE_CONTINUOUS_DATA":3,"FEATURE_INVERTED_SELECTIONS":4,"FEATURE_RANGE_SELECTIONS":5,"FEATURE_REDUCING_DATA":6,"FEATURE_SEARCH":7,"FEATURE_SELECTION_COUNT":8,"FEATURE_SELECTION_INSIGHTS":9,"FEATURE_TABLE_MINI_CHART":10,"FEATURE_TRENDLINES":11,"FEATURE_CALCULATED_DIMENSIONS":12,"FEATURE_INCLUDE_ZERO_VALUES":13,"FEATURE_INCLUDE_NULL_VALUES":14,"FEATURE_FILTER_PANE_PAGING":15,"FEATURE_FILTER_PANE_CUSTOM_SORTING":16,"FEATURE_SHOW_FREQUENCY":17,"FEATURE_LIMITATION":18,"FEATURE_TOTALS":19},"LTrendlineType":{"Average":0,"Linear":1,"Polynomial2":2,"Polynomial3":3,"Polynomial4":4,"Exponential":5,"Power":6,"Logarithmic":7},"ContinuousMode":{"CONTINUOUS_NEVER":0,"CONTINUOUS_IF_POSSIBLE":1,"CONTINUOUS_IF_TIME":2},"TrendlineMode":{"TRENDLINE_MULTILINE":0,"TRENDLINE_SUM":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3,"DATA_MODE_DYNAMIC":4},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3,"SESSION_ERROR_LIMIT_EXCEEDED":4,"SESSION_ERROR_SECURITY_HEADER_CHANGED":5,"SESSION_ACCESS_CONTROL_SETUP_FAILURE":6,"SESSION_ERROR_APP_ACCESS_DENIED":7,"SESSION_ERROR_APP_FAILURE":8},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"OpenApiVersion":{"V2":0,"V3":1},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}}}');var FO=i(1658),BO=i.n(FO);class jO extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}}class zO extends jO{}var $O=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))($O||{});class GO extends jO{}var VO=(e=>(e.EMPTY_HOST="Empty host in config",e.MISSING_REQUIRED_PROPERTY="Missing required property",e.UNSUPPORTED_AUTH_TYPE="Unsupported authType",e.UNSUPPORTED_PROPERTY="Unsupported property",e.NOT_IMPLEMENTED="Not implemented",e.MISSING_FETCH="Missing fetch function",e.NOT_FOUND="Requested resource not found or lacking access permissions",e))(VO||{}),UO=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(UO||{});const WO=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},HO=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},KO="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var XO=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},YO=class extends XO{},JO=class extends XO{},ZO=class extends XO{},QO=class extends XO{},eI=class extends XO{},tI=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)};function nI(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var rI,oI,aI=class{constructor(e){if(this.interceptors={request:{handlers:[],use:nI},response:{handlers:[],use:nI}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=tI(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=tI(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.28.0 ()",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new JO({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const p={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new QO({error:"Failed to authorize using OAuth",...p}):"APIKey"===e.authType?new YO({error:"Failed to authenticate host using api-key",...p}):new YO({error:"Unauthenticated",...p});if(404===u.status)throw new eI({error:u.statusText||"Requested resource not found or lacking access permissions",...p});const{errors:f}=p;throw new ZO({error:f?f[0]?.title:p?.statusText||"Unknown Error",...p})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new ZO({error:"Missing fetch function"})}},iI=Object.create,lI=Object.defineProperty,sI=Object.getOwnPropertyDescriptor,cI=Object.getOwnPropertyNames,uI=Object.getPrototypeOf,dI=Object.prototype.hasOwnProperty,pI=(rI={"node_modules/enigma.js/enigma.js"(e,t){var n,r;n=e,r=function(){var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,a,i,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];r.apply(this,a)}else if(e.isObject(r)){for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];for(o=(l=r.slice()).length,i=0;i<o;i++)l[i].apply(this,a)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,a,i;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(i=a;i-- >0;)if(r[i]===n||r[i].listener&&r[i].listener===n){o=i;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};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})(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&l(o,n.prototype),o}(e,arguments,s(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)},a(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=function(e){function t(e,n,r){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(a=function(e,t,n){return t=s(t),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,i()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,[e])).code=n,a.enigmaError=!0,a.original=r,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(a(Error));function u(e,t,n){return new c(t,e,n)}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})(e)}function p(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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){var r,o,a;r=e,o=t,a=n[t],(o=m(o))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function m(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:String(t)}var q=0,g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),q+=1,n.id=q,n.rpc.on("socket-error",n.onRpcError.bind(n)),n.rpc.on("closed",n.onRpcClosed.bind(n)),n.rpc.on("message",n.onRpcMessage.bind(n)),n.rpc.on("notification",n.onRpcNotification.bind(n)),n.rpc.on("traffic",n.onRpcTraffic.bind(n)),n.on("closed",(function(){return n.onSessionClosed()}))}var t,n,o;return t=e,n=[{key:"onRpcError",value:function(e){this.suspendResume.isSuspended||this.emit("socket-error",e)}},{key:"onRpcClosed",value:function(e){var t=this;if(!this.suspendResume.isSuspended&&1e3!==e.code&&4e3!==e.code)if(this.config.suspendOnClose){var n=e.code,r=e.reason;this.suspendResume.suspend().then((function(){return t.emit("suspended",{initiator:"network",code:n,reason:r})}))}else this.emit("closed",e)}},{key:"onRpcMessage",value:function(e){var t=this;this.suspendResume.isSuspended||(e.change&&e.change.forEach((function(e){return t.emitHandleChanged(e)})),e.close&&e.close.forEach((function(e){return t.emitHandleClosed(e)})))}},{key:"onRpcNotification",value:function(e){this.emit("notification:*",e.method,e.params),this.emit("notification:".concat(e.method),e.params)}},{key:"onRpcTraffic",value:function(e,t,n){this.emit("traffic:*",e,t),this.emit("traffic:".concat(e),t);var r=this.apis.getApi(n);r&&(r.emit("traffic:*",e,t),r.emit("traffic:".concat(e),t))}},{key:"onSessionClosed",value:function(){this.apis.getApis().forEach((function(e){e.api.emit("closed"),e.api.removeAllListeners()})),this.apis.clear()}},{key:"getObjectApi",value:function(e){var t=e.handle,n=e.id,r=e.type,o=e.genericType,a=this.apis.getApi(t);return a||(a=this.definition.generate(r)(this,t,n,o),this.apis.add(t,a),a)}},{key:"open",value:function(){var e=this;if(!this.globalPromise){var t={handle:-1,id:"Global",type:"Global",genericType:"Global"};this.globalPromise=this.rpc.open().then((function(){return e.getObjectApi(t)})).then((function(t){return e.emit("opened"),t}))}return this.globalPromise}},{key:"send",value:function(t){var n=this;if(this.suspendResume.isSuspended)return this.Promise.reject(u(-11,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=f(f({},n.config.protocol),e);delete r.outKey;var o=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,o,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}],o=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var o=t.then;t.then=function(){for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var l=o.apply(this,a);return e.addToPromiseChain(l,n,r),l}}}],n&&h(t.prototype,n),o&&h(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();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})(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function v(e){var t=function(e){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:String(t)}var C=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entries={}}var t,n;return t=e,(n=[{key:"add",value:function(e,t){if(e+="",void 0!==this.entries[e])throw u(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){e+="",this.entries[e]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,E(r.key),r)}}function E(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:String(t)}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})(e)}var I=Object.prototype.hasOwnProperty;function x(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function R(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return 1!==r.length||"object"!==O(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return I.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var w=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new C,this.types=new C}var t,n;return t=e,n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,o=e.extend,a=e.override,i=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var l={extend:o,override:a,init:i};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(l):t.mixins.add(e,[l])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw u(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),function(t,o,a,i){var l=this,s=Object.create(n);r(s),Object.defineProperties(s,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:o,writable:!0},id:{enumerable:!0,value:a},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:i}});var c=this.mixins.get(e)||[];return i!==e&&(this.mixinType(i,s),c=c.concat(this.mixins.get(i)||[])),c.forEach((function(e){"function"==typeof e.init&&e.init({config:l.config,api:s})})),s}.bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,o=1===r.length?r[0].Name:-1,a=x(n);e[a]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:o})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,o=void 0===r?{}:r,a=n.override,i=void 0===a?{}:a;Object.keys(i).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof i[n])throw u(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return i[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(o).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof o[n])throw u(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=o[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=x(n),o=e[r],a=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return R.apply(this,[o,a].concat(t))}}))}}],n&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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})(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_(r.key),r)}}function _(e){var t=function(e){if("object"!=L(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=L(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==L(t)?t:String(t)}var T=function(){function e(t,n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this),this.id=t,this.handle=n,this.resolve=o,this.reject=a}var t,n;return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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})(e)}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,P(r.key),r)}}function P(e){var t=function(e){if("object"!=D(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=D(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==D(t)?t:String(t)}var k=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0,this.closeEvent=void 0}var t,n;return t=e,n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(e){return this.Promise.reject(e)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.closeEvent=e,this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(u(-1,"Socket closed",e))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.socket&&(this.socket.close(e,t),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(u(-1,"Socket error",e))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data),n=this.resolvers[t.id]||{};this.emit("traffic","received",t,n.handle),void 0!==t.id&&this.resolvers[t.id]?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var o=this,a=new T(e,t,n,r);this.resolvers[e]=a,a.on("resolved",(function(e){return o.unregisterResolver(e)})),a.on("rejected",(function(e){return o.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=u(-1,"Not connected",this.closeEvent);return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}],n&&A(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();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})(e)}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,B(r.key),r)}}function B(e){var t=function(e){if("object"!=M(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=M(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==M(t)?t:String(t)}var j=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}var t,n,r;return t=e,n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(u(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(o){if(o.error)return e.push(r.api),n.Promise.resolve();var a=o.result.qReturn.qHandle;return r.api.handle=a,t.push(r.api),n.Promise.resolve(r.api)})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var o=this,a=[],i=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(i.forEach((function(i){var l=e.buildGetMethodName(i.type);if(l){var s=o.rpc.send({method:l,handle:t.handle,params:[i.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(i):(i.handle=e.result.qReturn.qHandle,r.push(i))}));a.push(s)}else n.push(i)})),this.Promise.all(a)):(i.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,o=!1,a=new this.Promise((function(e){n=e})),i=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),o=!0)};return this.rpc.on("notification",i),this.rpc.open(!0).then((function(){return o||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),a})).then((function(e){return r.rpc.removeListener("notification",i),e})).catch((function(e){return r.rpc.removeListener("notification",i),r.Promise.reject(e)}))}}],r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],n&&F(t.prototype,n),r&&F(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function z(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function $(e,t,n){if(n&&n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(n&&null===n.qHandle&&null===n.qType){var r=u(-2,"Object not found");return e.config.Promise.reject(r)}return n}var G=Object.prototype.hasOwnProperty,V=Object.prototype.toString,U=Object.defineProperty,W=Object.getOwnPropertyDescriptor,H=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===V.call(e)},K=function(e){if(!e||"[object Object]"!==V.call(e))return!1;var t,n=G.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&G.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||G.call(e,t)},X=function(e,t){U&&"__proto__"===t.name?U(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Y=function(e,t){if("__proto__"===t){if(!G.call(e,t))return;if(W)return W(e,t).value}return e[t]};function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Z(e){return(Z="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)}var Q=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Y(l,n),l!==(o=Y(t,n))&&(u&&o&&(K(o)||(a=H(o)))?(a?(a=!1,i=r&&H(r)?r:[]):i=r&&K(r)?r:{},X(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&X(l,{name:n,newValue:o}));return l}.bind(null,!0),ee={},te=Array.isArray;function ne(e){return null!=e&&!Array.isArray(e)&&"object"===Z(e)}function re(e){return void 0===e}function oe(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function ae(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var a=isNaN(n)?{}:[];e[n||t]=re(e[n||t])?a:e[t],e=e[n||t]}})),e}function ie(e,t){var n=!0;if(ne(e)&&ne(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){ie(e[r],t[r])||(n=!1)})),n);if(te(e)&&te(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!ie(e[r],t[r]))return!1;return!0}return e===t}function le(e){return(le="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)}ee.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?Q({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);ie(a,i)||oe(t,o)||(re(i)?r.push({op:"add",path:l,value:a}):ne(a)&&ne(i)?r=r.concat(ee.generate(i,a,l)):te(a)&&te(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&re(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(ie(t,o))return r;if(!re(t[0])&&re(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(a=i(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(ee.generate(o[l],t[a],"".concat(n,"/").concat(l)));for(var s=0,c=t.length;s<c;s+=1)-1===(a=i(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):a!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(a)}),o.splice(s,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((function(o){re(t[o])&&!oe(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},ee.apply=function(e,t){t.forEach((function(t){var n,r,o=ae(e,t.path),a=t.path.split("/").splice(-1)[0],i=a&&isNaN(+a)?o[a]:o[+a]||o,l=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,i=e),"add"===t.op||"replace"===t.op)if(te(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(te(i)&&te(t.value)){i.length=0;for(var s=0;s<t.value.length;s+=1e3){var c,d=t.value.slice(s,s+1e3);(c=i).push.apply(c,function(e){if(Array.isArray(e))return J(e)}(r=d)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var n=Object.prototype.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)?J(e,t):void 0}}(r)||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.")}())}}else if(ne(i)&&ne(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!oe(n,e)&&delete n[e]})),Q(i,t.value);else{if(!o)throw u(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var p=ae(e,t.from);te(o)?o.splice(+a,0,p.splice(+l,1)[0]):(o[a]=p[l],delete p[l])}else"remove"===t.op&&(te(o)?o.splice(+a,1):delete o[a])}))},ee.clone=function(e){return Q({},e)},ee.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},ee.updateObject=function(e,t){Object.keys(e).length?ee.apply(e,ee.generate(e,t)):Q(e,t)};var se={};function ce(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw u(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!se[e.id]){var t={};se[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete se[e.id]}))}}(e);var n=se[e.id];return n[t]||(n[t]=new C),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=r[0]&&Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==le(r[0].value)?a=r[0].value:ee.apply(a,r),o.set(n,a)),a}(e,t.handle,"".concat(t.method,"-").concat(n),o[n])})),JSON.parse(JSON.stringify(n))):n}function ue(e,t,n){if(void 0!==n.error){var r=n.error,o=new Error(r.message);return o.code=r.code,o.parameter=r.parameter,e.config.Promise.reject(o)}return n}ce.sessions=se;var de="qReturn";function pe(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[de].qGenericId=n.qSessionAppId||n[de].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[de],hasOwnProperty.call(n,de)?n[de]:-1!==t.outKey?n[t.outKey]:n}function fe(e,t,n){return n.result}function he(e){return(he="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)}function me(e){return function(e){if(Array.isArray(e))return qe(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 qe(e,t);var n=Object.prototype.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)?qe(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 qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ye(r.key),r)}}function ye(e){var t=function(e){if("object"!=he(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=he(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==he(t)?t:String(t)}var be=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.request=[{onFulfilled:z}].concat(me(this.request||[])),this.response=[{onFulfilled:ue},{onFulfilled:ce},{onFulfilled:fe},{onFulfilled:pe}].concat(me(this.response||[]),[{onFulfilled:$}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ve(e){return(ve="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)}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Se(r.key),r)}}function Se(e){var t=function(e){if("object"!=ve(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ve(t)?t:String(t)}function Ee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ee=function(){return!!e})()}function Oe(){return Oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ie(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Oe.apply(this,arguments)}function Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xe(e,t){return(xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Re=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=Ie(t),function(e,t){if(t&&("object"===ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ee()?Reflect.construct(t,n||[],Ie(e).constructor):t.apply(e,n))}(this,t,arguments)}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xe(e,t)}(t,e),n=t,(r=[{key:"add",value:function(e,n){var r=this,o={api:n};return Oe(Ie(t.prototype),"add",this).call(this,e.toString(),o),n.on("closed",(function(){return r.remove(e)})),o}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return Oe(Ie(t.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&Ce(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(C);function we(e){return(we="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)}function Le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ne(r.key),r)}}function Ne(e){var t=function(e){if("object"!=we(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=we(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==we(t)?t:String(t)}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,o=e.responseInterceptors,a=e.url,i=new Re,l=new be({apis:i,Promise:n,request:r,response:o}),s=new k({createSocket:t,Promise:n,url:a}),c=new j({apis:i,Promise:n,rpc:s});return new g({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw u(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw u(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new w(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Le(t.prototype,null),n&&Le(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&i.amdO?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).enigma=r()}},function(){return oI||(0,rI[cI(rI)[0]])((oI={exports:{}}).exports,oI),oI.exports}),fI=((e,t,n)=>(n=null!=e?iI(uI(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of cI(t))dI.call(e,n)||undefined===n||lI(e,n,{get:()=>t[n],enumerable:!(r=sI(t,n))||r.enumerable});return e})(e&&e.__esModule?n:lI(n,"default",{value:e,enumerable:!0}),e)))(pI()),hI=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},mI=class extends hI{},qI=class extends hI{},gI=class extends hI{},yI=class extends hI{},bI=class extends hI{},vI=class extends hI{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},CI=class extends hI{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},SI="qlik-sdk-typescript/0.28.0 ()",EI=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},OI="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function II(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var xI=class{constructor(e){if(this.interceptors={request:{handlers:[],use:II},response:{handlers:[],use:II}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=EI(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=EI(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":SI,...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new qI({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const p={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new yI({error:"Failed to authorize using OAuth",...p}):"APIKey"===e.authType?new mI({error:"Failed to authenticate host using api-key",...p}):new mI({error:"Unauthenticated",...p});if(404===u.status)throw new bI({error:u.statusText||"Requested resource not found or lacking access permissions",...p});const{errors:f}=p;throw new gI({error:f?f[0]?.title:p?.statusText||"Unknown Error",...p})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new gI({error:"Missing fetch function"})}},RI=WebSocket;function wI(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var LI=class{constructor(e,t){this.interceptors={request:{handlers:[],use:wI},response:{handlers:[],use:wI}},this.sessions={},this.config=e,this.rest=t??new xI(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new CI(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e,t={delta:!0}){const n={onFulfilled:(e,t,n)=>{const r=n?.result?.qReturn;if(r&&r.qHandle&&r.qType&&(n.result.qReturn.id=r.qGenericId,n.result.qReturn.handle=r.qHandle,n.result.qReturn.type=r.qType,n.result.qReturn.genericType=r.qGenericType),r&&null===r.qHandle&&null===r.qType)throw new bI({error:"Object not found",code:-2});return n}},{url:r,createSocket:o}=await this.buildUrlAndCreateSocket(e);return this.sessions[r.toString()]=this.sessions[r.toString()]||(()=>{const e=fI.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:r,createSocket:o,protocol:{delta:t.delta}});return this.interceptors.response.use(e.intercept.response[1]),this.interceptors.response.use(n),e.intercept.response=this.interceptors.response.handlers,this.interceptors.request.use(e.intercept.request[0]),e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{this.sessions[e.config?.url]?.eventListeners&&Object.values(this.sessions[e.config?.url]?.eventListeners)?.forEach((e=>{e?.closed?.forEach((e=>{e(t)}))})),t?.code&&t.code>=4e3&&e.onRpcError(new vI(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[r.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[r.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[r.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[r.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||OI,a=EI(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if("APIKey"===n.authType||"OAuth2"===n.authType&&!o)return i;if(["WebIntegration","JWTAuth"].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if("OAuth2"===n.authType&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new gI(`Not implemented: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config);let n;return n="APIKey"===this.config.authType||"OAuth2"===this.config.authType&&!OI?e=>new RI(e,{headers:{"User-Agent":SI,Authorization:`Bearer ${this.config.apiKey}`}}):e=>new RI(e),{url:t,createSocket:n}}};const NI=new GO("Only supported for AuthType.WebIntegration");class _I{constructor(e){if(!e.host)throw new GO("Empty host in config");let t,n,r;try{const r=WO(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new GO("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new GO("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==UO.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===UO.OAuth2&&(this.config.scopes=["user_default",...(this.config?.scopes??[]).filter((e=>"user_default"!==e))]),(e=>{const t=["host","authType"];for(const n of t)if(!(n in e))throw new GO(`${VO.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new GO(VO.EMPTY_HOST);if(!(e.authType in UO))throw new GO(`${VO.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[UO.WebIntegration]:["webIntegrationId"],[UO.APIKey]:["apiKey"],[UO.JWTAuth]:["fetchToken","webIntegrationId"],[UO.OAuth2]:["clientId"],[UO.None]:[]},r=new Set(["webIntegrationId","apiKey","clientId","clientSecret","redirectUri"]);for(const t of n[e.authType])if(!(t in e)||r.has(t)&&!e[t])throw new GO(`${VO.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[UO.APIKey]:["isSecure"],[UO.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[UO.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[UO.JWTAuth]:["csrfToken","isSecure"]},a=new Set([...t,...n[e.authType],...o[e.authType]??[]]);for(const t of Object.keys(e))if(!a.has(t))throw new GO(`${VO.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===UO.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new GO(`${VO.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new aI(this.config);this.rpcClient=new LI(this.config),this.rpc=(e,t={delta:!0})=>this.rpcClient.rpc(e,t),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||KO,a=WO(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===UO.APIKey||n.authType===UO.OAuth2&&!o)return i;if([UO.WebIntegration,UO.JWTAuth].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if(n.authType===UO.OAuth2&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new GO(`${VO.NOT_IMPLEMENTED}: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config,t),this.config.autoRedirect&&this.isAuthenticated().then((e=>{e||this.authenticate()}))}authenticate(){if(this.config.authType!==UO.WebIntegration)throw NI;const e=WO(`${this.config.host}/login`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),e.searchParams.append("qlik-web-integration-id",this.config.webIntegrationId),window.location.assign(e.href)}async isAuthenticated(){return this.rest("/users/me").then((e=>200===e.status)).catch((()=>!1))}async isAuthorized(){return this.isAuthenticated()}deauthenticate(){if(this.config.authType!==UO.WebIntegration)throw NI;const e=WO(`${this.config.host}/logout`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),window.location.assign(e.href)}async getSessionCookie(){const e=await this.config.fetchToken(),t=await this.rest.fetch(WO(`${this.config.host}/login/jwt-session`,this.config?.isSecure).toString(),{method:"POST",credentials:"include",mode:"cors",headers:{"content-type":"application/json",Authorization:`Bearer ${e}`,"qlik-web-integration-id":this.config.webIntegrationId}});if(200!==t.status)throw new zO($O.UNAUTHENTICATED);return t}async authorize(e){const t=e?Object.fromEntries(new URL(e).searchParams.entries()):{},n=t?.code,r=t?.state,o=t?.error;if(o)throw new GO({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(KO&&(this.state=localStorage.getItem(`${this.config.clientId}_state`)??"",this.verifier=localStorage.getItem(`${this.config.clientId}_verifier`)??"",localStorage.removeItem(`${this.config.clientId}_state`),localStorage.removeItem(`${this.config.clientId}_verifier`)),this.state&&r!==this.state)throw new Error("The received state parameter does not match the original state value");const a=JSON.stringify({grant_type:n?"authorization_code":"client_credentials",scope:this.config.scopes.join(" "),...n?{code:n}:{},...this.config.redirectUri?{redirect_uri:this.config.redirectUri}:{},...this.verifier?{code_verifier:this.verifier}:{},client_id:this.config.clientId}),i=await this.rest("/oauth/token",{method:"POST",body:a}),l=await i.json();return this.config.apiKey=l.access_token,this.config.refreshToken=l?.refresh_token,l}async deauthorize(){await this.rest("/oauth/revoke",{method:"POST",body:JSON.stringify({token:this.config.apiKey,token_type_hint:"access_token"})}),this.config.apiKey=""}async refreshToken(){if(this.config.authType!==UO.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new GO("Method only available for AuthType OAuth2, that have offline_access scope");const e=await this.rest("/oauth/token",{method:"POST",body:JSON.stringify({grant_type:"refresh_token",refresh_token:this.config.refreshToken})}).then((e=>e.json()));return this.config.apiKey=e.access_token,this.config.refreshToken=e.refresh_token,e}async generateAuthorizationUrl(e){const{url:t,verifier:n,state:r}=await(async(e,t)=>{const{verifier:n,challenge:r}=await(async()=>{const e=HO(43);return{verifier:e,challenge:await(async e=>{const t=window.crypto,n=(new TextEncoder).encode(e),r=await t.subtle.digest("SHA-256",n),o=Array.from(new Uint8Array(r));return btoa(o.map((e=>String.fromCharCode(e))).join("")).replaceAll(/\+/g,"-").replaceAll(/\//g,"_").replace(/=+$/,"")})(e)}})(),o={response_type:"code",client_id:e.clientId,redirect_uri:e.redirectUri,scope:e.scopes.join(" "),state:t||HO(7),code_challenge:r,code_challenge_method:"S256"},a=Object.keys(o);a.sort();const i=a.map((e=>`${e}=${o[e]}`)).join("&");return{url:WO(`${e.host.replace(/^https?:/,"")}/oauth/authorize?${i}`,e?.isSecure).href,verifier:n,state:o.state}})(this.config,e);return this.verifier=n,this.state=r,KO&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const TI=()=>{const e={};return window.location.search.substring(1).split("&").forEach((t=>{const n=t.indexOf("="),r=t.substr(0,n);let o=decodeURIComponent(t.substring(n+1));"cols"===r&&(o=o.split(",")),e[r]=o})),e},DI=/(wss?):\/\/([^/:?&]+)(?::(\d+))?/,AI=/\/app\/([^?&#:]+)/,PI=/(wss?):\/\/([^/:?&]+)(?::(\d+))?\/?([a-z0-9-._~]+)?/,kI=e=>{const t=DI.exec(e);if(!t)return{engineUrl:e,invalid:!0};let n;const r=e.trim();let o,a=r;const i=AI.exec(r);i&&([,n]=i,a=r.substring(0,i.index),o=r);const l=PI.exec(a);return l?{enigma:{secure:"wss"===t[1],host:t[2],port:t[3]||void 0,prefix:l[4]||void 0,appId:n},engineUrl:a,appUrl:o}:{engineUrl:e,invalid:!0}},MI=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=TI();if(n.engine_url?t={...t,...kI(n.engine_url)}:n.app&&(t={...t,enigma:{...t.enigma,appId:n.app}}),n["qlik-web-integration-id"]&&(t.webIntegrationId=n["qlik-web-integration-id"]),n["qlik-client-id"]&&(t.clientId=n["qlik-client-id"]),t.invalid)return t;const r=`${t.enigma.secure?"https":"http"}://${t.enigma.host}`;return{...t,rootPath:r}})),FI=new Map,BI=[],jI=BI.map,zI=BI.some,$I=BI.hasOwnProperty,GI=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,VI=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,UI=/(?:\.[^/]*|\/)$/;class WI extends Error{constructor(e){super(e)}}function HI(e){const t=GI.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function KI(e){const t=new Map,n=o(null);function r(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise(((t,n)=>{const r=document.createElement("script");r.onload=()=>{try{t(BI.pop()(o(e)))}catch(e){n(new WI("invalid module"))}r.remove()},r.onerror=()=>{n(new WI("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=ZI,document.head.appendChild(r)}))),n}function o(t){return n=>Promise.resolve(e(n,t)).then(r)}function a(e){return arguments.length>1?Promise.all(jI.call(arguments,n)).then(XI):n(e)}return a.alias=function(t){return KI(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function XI(e){const t={};for(const n of e)for(const e in n)$I.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:YI(n,e)}):t[e]=n[e]);return t}function YI(e,t){return()=>e[t]}function JI(e){return"exports"==(e+="")||"module"===e}function ZI(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),BI.push(zI.call(t,JI)?e=>{const r={},o={exports:r};return Promise.all(jI.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(jI.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}WI.prototype.name=WI.name,KI(function(e="https://cdn.jsdelivr.net/npm/",t=["unpkg","jsdelivr","browser","main"]){if(!/\/$/.test(e))throw new Error("origin lacks trailing slash");function n(t){const n=`${e}${t.name}${t.version?`@${t.version}`:""}/package.json`;let r=FI.get(n);return r||FI.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new WI("unable to load package.json");return e.redirected&&!FI.has(e.url)&&FI.set(e.url,r),e.json()}))),r}return async function(r,o){if(r.startsWith(e)&&(r=r.substring(e.length)),/^(\w+:)|\/\//i.test(r))return r;if(/^[.]{0,2}\//i.test(r))return new URL(r,null==o?location:o).href;if(!r.length||/^[\s._]/.test(r)||/\s$/.test(r))throw new WI("illegal name");const a=HI(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(HI(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!UI.test(a.path)&&(a.path+=".js"),a.path&&a.version&&VI.test(a.version))return`${e}${a.name}@${a.version}/${a.path}`;const i=await n(a);return`${e}${i.name}@${i.version}/${a.path||function(e){for(const n of t){let t=e[n];if("string"==typeof t)return t.startsWith("./")&&(t=t.slice(2)),UI.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),ZI.amd={};const QI=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`,o=KI((async e=>r(e)));return o.alias({"@nebula.js/stardust":e})(n||t)},ex={};function tx(e){const t=()=>{QI(e.supernova.name,e.supernova.url).then((t=>{var n;window[e.supernova.name]=t,n=e.supernova.name,ex[n]&&ex[n].forEach((e=>e()))}))};if(e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t(),e.types){const t=e.types.map((e=>QI(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(ex[e]||(ex[e]=[]),ex[e].push(t),window[e]&&t(),()=>{const n=ex[e].indexOf(t);ex[e].splice(n,1)});const nx=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const rx=async e=>{const t=document.querySelector("#chart-container"),n=await MI(),r=await async function(e){const t=window.serveFixtures.get(e);if(!t)throw new Error(`Unable to load fixture ${e}`);const n=t();return function({genericObjects:e}={}){if(!e||0===e.length)return;if(!e[0]||!e[0].getLayout)throw new Error("Invalid getLayout of generic object");const{getLayout:t}=e[0],n="function"==typeof t?t():t;if(!n.visualization)throw new Error('No "visualization" specified on generic object on path "getLayout"');if(!n.qInfo||!n.qInfo.qId)throw new Error('No "qId" specified on generic object on path "getLayout.qInfo')}(n),n}(e.fixture),{type:o,load:a,genericObjects:i,instanceConfig:l,snConfig:s,enigmaMockerOptions:c}=await async function({params:e,fixture:t,serverInfo:n}){const r=U()(!0,{},(({themes:e=[],supernova:t={},flags:n,anything:r})=>{const o={instanceConfig:{themes:e.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))),context:{constraints:{}},flags:n,anything:r}};return t.name&&(o.type=t.name),(t.name||t.url)&&(o.load=async()=>QI(t.name,t.url)),o})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language,keyboardNavigation:e.keyboardNavigation}}}))(e));return r.genericObjects=r.genericObjects||[nx({type:r.type})],function(e){if(!e.type)throw new Error('No visualization type. Specify it either in fixture in the property "type" or as "--type" to Nebula serve.');if(!e.load)throw new Error('Unable to load the visualization. Specify it in option "--entry" to Nebula serve.')}(r),r}({fixture:r,params:e,serverInfo:n}),u=await DO.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),p=n&&n.types||[],f=bO(u,{types:[{name:o,load:a},...p.map((e=>({name:e.name,load:async()=>QI(e.name,e.url)})))],...l}),h=await f.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{h.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function ox(){const e=await MI();await tx(e),e.enigma.appId||(location.href=location.origin);const t=TI(),n=await(async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await MI();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new _I({webIntegrationId:e,autoRedirect:!0,authType:UO.WebIntegration,host:t});return await n.isAuthenticated()||await n.authenticate(),n})({webIntegrationId:n,host:o});a=await t.generateWebsocketUrl(e)}else if(t){const{webSocketUrl:t}=await(await fetch(`/auth/getSocketUrl/${e}`)).json();a=t}else a=BO().buildUrl(r);return(await kO().create({schema:MO,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}})(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>{const a=bO.createConfiguration({themes:n?n.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,context:{theme:r,language:o}});return a(e,{load:e=>Promise.resolve(window[e.name]),types:[{name:t}]})})({app:n,...e,theme:t.theme,language:t.language}),o=document.querySelector("#chart-container");let a,i;if(t["render-config"]){const n=await(await fetch(`/render-config/${t["render-config"]}`)).json();a={...n,...t.object?{id:t.object}:n.id?{id:n.id}:{},type:n.type?n.type:e.supernova.name,fields:t.cols?t.cols:n.fields,element:o}}else a=t.object?{id:t.object,element:o}:{type:e.supernova.name,fields:t.cols||[],element:o};window.onHotChange(e.supernova.name,(async()=>{i&&(i.close(),r.__DO_NOT_USE__.types.clearFromCache(e.supernova.name),r.__DO_NOT_USE__.types.register(e.supernova)),i=await(async()=>{await r.render(a)})()}))}window.addEventListener("load",(function(){const e=TI();e.fixture?rx(e):e.snapshot?async function(){const e=await MI(),{themes:t,supernova:n}=e;await tx(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=bO.createConfiguration({themes:t?t.map((e=>({key:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,types:[{load:e=>Promise.resolve(window[e.name]),name:n.name}],context:{constraints:{passive:!0,active:!0}}});window.onHotChange(n.name,(async()=>{const e=TI();!async function({embed:e,element:t,snapshot:n}){let r={};const o=e=>{t.innerHTML=`<p>${e.message}</p>`,t.setAttribute("data-njs-error",e.message)};try{r="string"==typeof n?await e.config.snapshot.get(n):n}catch(e){throw o(e),e}const{meta:{theme:a,language:i,appLayout:l},layout:s}=r,c=e=>({id:+new Date+"-object",getLayout:async()=>e,on(){},once(){}}),u={id:+new Date+"-app",createSessionObject:async e=>c(e),getObject:async e=>e===s.qInfo.qId?c(s):Promise.reject(new Error(`Could not find an object with id: ${e}`)),getAppLayout:async()=>l||{}},d=await e(u,{context:{theme:a,language:i}});try{await d.render(s.qInfo&&s.qInfo.qId?{id:s.qInfo.qId,element:t}:{type:s.visualization,element:t,properties:s})}catch(e){throw o(e||{message:"Failed to render visualization."}),e}}({embed:o,element:r,snapshot:e.snapshot})}))}():ox()}))})()})();
102
+ `:null,us=Bi("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${fl(n.color)}`]]}})(pl((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ss||{animation:`${is} 1.4s linear infinite`}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),ds=Bi("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),ps=Bi("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${fl(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(pl((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:cs||{animation:`${ls} 1.4s ease-in-out infinite`}}]})))),fs=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate",...d}=n,p={...n,color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u},f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return wi({root:["root",n,`color${fl(r)}`],svg:["svg"],circle:["circle",`circle${fl(n)}`,o&&"circleDisableShrink"]},as,t)})(p),h={},m={},q={};if("determinate"===u){const e=2*Math.PI*((44-s)/2);h.strokeDasharray=e.toFixed(3),q["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,Yo.jsx)(us,{className:xi(f.root,r),style:{width:i,height:i,...m,...l},ownerState:p,ref:t,role:"progressbar",...q,...d,children:(0,Yo.jsx)(ds,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:(0,Yo.jsx)(ps,{className:f.circle,style:h,ownerState:p,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})})})),hs=fs;function ms(e){return ci("MuiIconButton",e)}const qs=ui("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),gs=Bi(os,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${fl(n.color)}`],n.edge&&t[`edge${fl(n.edge)}`],t[`size${fl(n.size)}`]]}})(pl((({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}))),pl((({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}}))),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${qs.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${qs.loading}`]:{color:"transparent"}})))),ys=Bi("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]}))),bs=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium",id:u,loading:d=null,loadingIndicator:p,...f}=n,h=Sl(u),m=p??(0,Yo.jsx)(hs,{"aria-labelledby":h,color:"inherit",size:16}),q={...n,edge:r,color:i,disabled:l,disableFocusRipple:s,loading:d,loadingIndicator:m,size:c},g=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a,loading:i}=e;return wi({root:["root",i&&"loading",n&&"disabled","default"!==r&&`color${fl(r)}`,o&&`edge${fl(o)}`,`size${fl(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},ms,t)})(q);return(0,Yo.jsxs)(gs,{id:d?h:u,className:xi(g.root,a),centerRipple:!0,focusRipple:!s,disabled:l||d,ref:t,...f,ownerState:q,children:["boolean"==typeof d&&(0,Yo.jsx)("span",{className:g.loadingWrapper,style:{display:"contents"},children:(0,Yo.jsx)(ys,{className:g.loadingIndicator,ownerState:q,children:d&&m})}),o]})})),vs=bs,Cs=e=>({...e,viewBox:"0 0 12 16",shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}),Ss=e=>ll(Cs(e)),Es=function(e){return"string"==typeof e};function Os(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}const Is=Os;function xs(e){return e&&e.ownerDocument||document}const Rs=xs;function ws(e){return xs(e).defaultView||window}const Ls=ws;function Ns(e){return parseInt(r.version,10)>=19?e?.props?.ref||null:e?.ref||null}var _s="unmounted",Ts="exited",Ds="entering",As="entered",Ps="exiting",ks=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=Ts,r.appearStatus=Ds):o=As:o=t.unmountOnExit||t.mountOnEnter?_s:Ts,r.state={status:o},r.nextCallback=null,r}Al(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===_s?{status:Ts}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ds&&n!==As&&(t=Ds):n!==Ds&&n!==As||(t=Ps)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ds){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Oi.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ts&&this.setState({status:_s})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Oi.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:Ds},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:As},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:As},(function(){t.props.onEntered(a)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Oi.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Ps},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Ts},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Ts},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Oi.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===_s)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,_l(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(Pl.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function Ms(){}ks.contextType=Pl,ks.propTypes={},ks.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ms,onEntering:Ms,onEntered:Ms,onExit:Ms,onExiting:Ms,onExited:Ms},ks.UNMOUNTED=_s,ks.EXITED=Ts,ks.ENTERING=Ds,ks.ENTERED=As,ks.EXITING=Ps;const Fs=ks,Bs=e=>e.scrollTop;function js(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:o.transitionDelay}}function zs(e){return`scale(${e}, ${e**2})`}const $s={entering:{opacity:1,transform:zs(1)},entered:{opacity:1,transform:"none"}},Gs="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Vs=r.forwardRef((function(e,t){const{addEndListener:n,appear:o=!0,children:a,easing:i,in:l,onEnter:s,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:f,style:h,timeout:m="auto",TransitionComponent:q=Fs,...g}=e,y=Vl(),b=r.useRef(),v=Wo(),C=r.useRef(null),S=Il(C,Ns(a),t),E=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},O=E(u),I=E(((e,t)=>{Bs(e);const{duration:n,delay:r,easing:o}=js({style:h,timeout:m,easing:i},{mode:"enter"});let a;"auto"===m?(a=v.transitions.getAutoHeightDuration(e.clientHeight),b.current=a):a=n,e.style.transition=[v.transitions.create("opacity",{duration:a,delay:r}),v.transitions.create("transform",{duration:Gs?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),x=E(c),R=E(f),w=E((e=>{const{duration:t,delay:n,easing:r}=js({style:h,timeout:m,easing:i},{mode:"exit"});let o;"auto"===m?(o=v.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[v.transitions.create("opacity",{duration:o,delay:n}),v.transitions.create("transform",{duration:Gs?o:.666*o,delay:Gs?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=zs(.75),d&&d(e)})),L=E(p);return(0,Yo.jsx)(q,{appear:o,in:l,nodeRef:C,onEnter:I,onEntered:x,onEntering:O,onExit:w,onExited:L,onExiting:R,addEndListener:e=>{"auto"===m&&y.start(b.current||0,e),n&&n(C.current,e)},timeout:"auto"===m?null:m,...g,children:(e,{ownerState:t,...n})=>r.cloneElement(a,{style:{opacity:0,transform:zs(.75),visibility:"exited"!==e||l?void 0:"hidden",...$s[e],...h,...a.props.style},ref:S,...n})})}));Vs&&(Vs.muiSupportAuto=!0);const Us=Vs,Ws=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Hs(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ws)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Ks(){return!0}const Xs=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=Hs,isEnabled:l=Ks,open:s}=e,c=r.useRef(!1),u=r.useRef(null),d=r.useRef(null),p=r.useRef(null),f=r.useRef(null),h=r.useRef(!1),m=r.useRef(null),q=Ol(Ns(t),m),g=r.useRef(null);r.useEffect((()=>{s&&m.current&&(h.current=!n)}),[n,s]),r.useEffect((()=>{if(!s||!m.current)return;const e=xs(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{a||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[s]),r.useEffect((()=>{if(!s||!m.current)return;const e=xs(m.current),t=t=>{g.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!l()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=i(m.current)),n.length>0){const e=Boolean(g.current?.shiftKey&&"Tab"===g.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,o,a,l,s,i]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return(0,Yo.jsxs)(r.Fragment,{children:[(0,Yo.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:q,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,Yo.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})};function Ys(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const Js=r.forwardRef((function(e,t){const{children:n,container:o,disablePortal:a=!1}=e,[i,l]=r.useState(null),s=Ol(r.isValidElement(n)?Ns(n):null,t);if(oa((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),oa((()=>{if(i&&!a)return Ys(t,i),()=>{Ys(t,null)}}),[t,i,a]),a){if(r.isValidElement(n)){const e={ref:s};return r.cloneElement(n,e)}return n}return i?Oi.createPortal(n,i):i})),Zs=function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}},Qs=function(e,t,n){return"function"==typeof e?e(t,n):e},ec=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n},tc=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t},nc=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=xi(n?.className,a,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},i={...n,...o,...r};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=ec({...o,...r}),l=tc(r),s=tc(o),c=t(i),u=xi(c?.className,n?.className,a,o?.className,r?.className),d={...c?.style,...n?.style,...o?.style,...r?.style},p={...c,...n,...s,...l};return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}};function rc(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...s}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...p}=a,f=u[e]||r,h=Qs(d[e],o),{props:{component:m,...q},internalRef:g}=nc({className:n,...s,externalForwardedProps:"root"===e?p:void 0,externalSlotProps:h}),y=Ol(g,h?.ref,t.ref),b="root"===e?m||c:m;return[f,Zs(f,{..."root"===e&&!c&&!u[e]&&i,..."root"!==e&&!u[e]&&i,...q,...b&&!l&&{as:b},...b&&l&&{component:b},ref:y},o)]}const oc={entering:{opacity:1},entered:{opacity:1}},ac=r.forwardRef((function(e,t){const n=Wo(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,style:q,timeout:g=o,TransitionComponent:y=Fs,...b}=e,v=r.useRef(null),C=Il(v,Ns(l),t),S=e=>t=>{if(e){const n=v.current;void 0===t?e(n):e(n,t)}},E=S(p),O=S(((e,t)=>{Bs(e);const r=js({style:q,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),I=S(d),x=S(m),R=S((e=>{const t=js({style:q,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)})),w=S(h);return(0,Yo.jsx)(y,{appear:i,in:c,nodeRef:v,onEnter:O,onEntered:I,onEntering:E,onExit:R,onExited:w,onExiting:x,addEndListener:e=>{a&&a(v.current,e)},timeout:g,...b,children:(e,{ownerState:t,...n})=>r.cloneElement(l,{style:{opacity:0,visibility:"exited"!==e||c?void 0:"hidden",...oc[e],...q,...l.props.style},ref:C,...n})})})),ic=ac;function lc(e){return ci("MuiBackdrop",e)}ui("MuiBackdrop",["root","invisible"]);const sc=Bi("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),cc=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiBackdrop"}),{children:r,className:o,component:a="div",invisible:i=!1,open:l,components:s={},componentsProps:c={},slotProps:u={},slots:d={},TransitionComponent:p,transitionDuration:f,...h}=n,m={...n,component:a,invisible:i},q=(e=>{const{classes:t,invisible:n}=e;return wi({root:["root",n&&"invisible"]},lc,t)})(m),g={slots:{transition:p,root:s.Root,...d},slotProps:{...c,...u}},[y,b]=rc("root",{elementType:sc,externalForwardedProps:g,className:xi(q.root,o),ownerState:m}),[v,C]=rc("transition",{elementType:ic,externalForwardedProps:g,ownerState:m});return(0,Yo.jsx)(v,{in:l,timeout:f,...h,...C,children:(0,Yo.jsx)(y,{"aria-hidden":!0,...b,classes:q,ref:t,children:r})})})),uc=cc;function dc(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function pc(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function fc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function hc(e){return parseInt(ws(e).getComputedStyle(e).paddingRight,10)||0}function mc(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=!a.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&fc(e,o)}))}function qc(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const gc=()=>{},yc=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&fc(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);mc(t,e.mount,e.modalRef,r,!0);const o=qc(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=qc(this.containers,(t=>t.modals.includes(e))),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=xs(e);return t.body===e?ws(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=pc(ws(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${hc(r)+e}px`;const t=xs(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${hc(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=xs(r).body;else{const t=r.parentElement,n=ws(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=qc(this.containers,(t=>t.modals.includes(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&fc(e.modalRef,t),mc(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&fc(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function bc(e){return ci("MuiModal",e)}ui("MuiModal",["root","hidden","backdrop"]);const vc=Bi("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(pl((({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]})))),Cc=Bi(uc,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Sc=r.forwardRef((function(e,t){const n=ji({name:"MuiModal",props:e}),{BackdropComponent:o=Cc,BackdropProps:a,classes:i,className:l,closeAfterTransition:s=!1,children:c,container:u,component:d,components:p={},componentsProps:f={},disableAutoFocus:h=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:q=!1,disablePortal:g=!1,disableRestoreFocus:y=!1,disableScrollLock:b=!1,hideBackdrop:v=!1,keepMounted:C=!1,onBackdropClick:S,onClose:E,onTransitionEnter:O,onTransitionExited:I,open:x,slotProps:R={},slots:w={},theme:L,...N}=n,_={...n,closeAfterTransition:s,disableAutoFocus:h,disableEnforceFocus:m,disableEscapeKeyDown:q,disablePortal:g,disableRestoreFocus:y,disableScrollLock:b,hideBackdrop:v,keepMounted:C},{getRootProps:T,getBackdropProps:D,getTransitionProps:A,portalRef:P,isTopModal:k,exited:M,hasTransition:F}=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:l,children:s,onClose:c,open:u,rootRef:d}=e,p=r.useRef({}),f=r.useRef(null),h=r.useRef(null),m=Ol(h,d),[q,g]=r.useState(!u),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const v=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),C=()=>{yc.mount(v(),{disableScrollLock:o}),h.current&&(h.current.scrollTop=0)},S=xl((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||xs(f.current).body;yc.add(v(),e),h.current&&C()})),E=()=>yc.isTopModal(v()),O=xl((e=>{f.current=e,e&&(u&&E()?C():h.current&&fc(h.current,b))})),I=r.useCallback((()=>{yc.remove(v(),b)}),[b]);r.useEffect((()=>()=>{I()}),[I]),r.useEffect((()=>{u?S():y&&a||I()}),[u,I,y,a,S]);const x=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},R=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=ec(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:x(r),ref:m}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:R(t),open:u}},getTransitionProps:()=>({onEnter:dc((()=>{g(!1),i&&i()}),s?.props.onEnter??gc),onExited:dc((()=>{g(!0),l&&l(),a&&I()}),s?.props.onExited??gc)}),rootRef:m,portalRef:O,isTopModal:E,exited:q,hasTransition:y}}({..._,rootRef:t}),B={..._,exited:M},j=(e=>{const{open:t,exited:n,classes:r}=e;return wi({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},bc,r)})(B),z={};if(void 0===c.props.tabIndex&&(z.tabIndex="-1"),F){const{onEnter:e,onExited:t}=A();z.onEnter=e,z.onExited=t}const $={slots:{root:p.Root,backdrop:p.Backdrop,...w},slotProps:{...f,...R}},[G,V]=rc("root",{ref:t,elementType:vc,externalForwardedProps:{...$,...N,component:d},getSlotProps:T,ownerState:B,className:xi(l,j?.root,!B.open&&B.exited&&j?.hidden)}),[U,W]=rc("backdrop",{ref:a?.ref,elementType:o,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:e=>D({...e,onClick:t=>{S&&S(t),e?.onClick&&e.onClick(t)}}),className:xi(a?.className,j?.backdrop),ownerState:B});return C||x||F&&!M?(0,Yo.jsx)(Js,{ref:P,container:u,disablePortal:g,children:(0,Yo.jsxs)(G,{...V,children:[!v&&o?(0,Yo.jsx)(U,{...W}):null,(0,Yo.jsx)(Xs,{disableEnforceFocus:m,disableAutoFocus:h,disableRestoreFocus:y,isEnabled:k,open:x,children:r.cloneElement(c,z)})]})}):null})),Ec=Sc;function Oc(e){return ci("MuiPaper",e)}ui("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Ic=Bi("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(pl((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]})))),xc=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiPaper"}),r=Wo(),{className:o,component:a="div",elevation:i=1,square:l=!1,variant:s="elevation",...c}=n,u={...n,component:a,elevation:i,square:l,variant:s},d=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return wi({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Oc,o)})(u);return(0,Yo.jsx)(Ic,{as:a,ownerState:u,className:xi(d.root,o),ref:t,...c,style:{..."elevation"===s&&{"--Paper-shadow":(r.vars||r).shadows[i],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[i]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${br("#fff",No(i))}, ${br("#fff",No(i))})`}},...c.style}})})),Rc=xc;function wc(e){return ci("MuiPopover",e)}function Lc(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return n=>{const r="function"==typeof t?t(n):t,o="function"==typeof e?e({...n,...r}):e,a=xi(n?.className,r?.className,o?.className);return{...r,...o,...!!a&&{className:a},...r?.style&&o?.style&&{style:{...r.style,...o.style}},...r?.sx&&o?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};const n=t,r=xi(n?.className,e?.className);return{...t,...e,...!!r&&{className:r},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Nc(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function _c(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Tc(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Dc(e){return"function"==typeof e?e():e}ui("MuiPopover",["root","paper"]);const Ac=Bi(Ec,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pc=Bi(Rc,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),kc=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:c,className:u,container:d,elevation:p=8,marginThreshold:f=16,open:h,PaperProps:m={},slots:q={},slotProps:g={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:b,transitionDuration:v="auto",TransitionProps:C={},disableScrollLock:S=!1,...E}=n,O=r.useRef(),I={...n,anchorOrigin:i,anchorReference:s,elevation:p,marginThreshold:f,transformOrigin:y,TransitionComponent:b,transitionDuration:v,TransitionProps:C},x=(e=>{const{classes:t}=e;return wi({root:["root"],paper:["paper"]},wc,t)})(I),R=r.useCallback((()=>{if("anchorPosition"===s)return l;const e=Dc(a),t=(e&&1===e.nodeType?e:Rs(O.current).body).getBoundingClientRect();return{top:t.top+Nc(t,i.vertical),left:t.left+_c(t,i.horizontal)}}),[a,i.horizontal,i.vertical,l,s]),w=r.useCallback((e=>({vertical:Nc(e,y.vertical),horizontal:_c(e,y.horizontal)})),[y.horizontal,y.vertical]),L=r.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=w(t);if("none"===s)return{top:null,left:null,transformOrigin:Tc(n)};const r=R();let o=r.top-n.vertical,i=r.left-n.horizontal;const l=o+t.height,c=i+t.width,u=Ls(Dc(a)),d=u.innerHeight-f,p=u.innerWidth-f;if(null!==f&&o<f){const e=o-f;o-=e,n.vertical+=e}else if(null!==f&&l>d){const e=l-d;o-=e,n.vertical+=e}if(null!==f&&i<f){const e=i-f;i-=e,n.horizontal+=e}else if(c>p){const e=c-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Tc(n)}}),[a,s,R,w,f]),[N,_]=r.useState(h),T=r.useCallback((()=>{const e=O.current;if(!e)return;const t=L(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,_(!0)}),[L]);r.useEffect((()=>(S&&window.addEventListener("scroll",T),()=>window.removeEventListener("scroll",T))),[a,S,T]),r.useEffect((()=>{h&&T()})),r.useImperativeHandle(o,(()=>h?{updatePosition:()=>{T()}}:null),[h,T]),r.useEffect((()=>{if(!h)return;const e=Is((()=>{T()})),t=Ls(Dc(a));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,h,T]);let D=v;const A={slots:{transition:b,...q},slotProps:{transition:C,paper:m,...g}},[P,k]=rc("transition",{elementType:Us,externalForwardedProps:A,ownerState:I,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),T()},onExited:t=>{e.onExited?.(t),_(!1)}}),additionalProps:{appear:!0,in:h}});"auto"!==v||P.muiSupportAuto||(D=void 0);const M=d||(a?Rs(Dc(a)).body:void 0),[F,{slots:B,slotProps:j,...z}]=rc("root",{ref:t,elementType:Ac,externalForwardedProps:{...A,...E},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:q.backdrop},slotProps:{backdrop:Lc("function"==typeof g.backdrop?g.backdrop(I):g.backdrop,{invisible:!0})},container:M,open:h},ownerState:I,className:xi(x.root,u)}),[$,G]=rc("paper",{ref:O,className:x.paper,elementType:Pc,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:N?void 0:{opacity:0}},ownerState:I});return(0,Yo.jsx)(F,{...z,...!Es(F)&&{slots:B,slotProps:j,disableScrollLock:S},children:(0,Yo.jsx)(P,{...k,timeout:D,children:(0,Yo.jsx)($,{...G,children:c})})})})),Mc=kc;var Fc=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Bc=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},jc=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Bc(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},Bc(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Fc(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,a=[],i=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(a.push(i,l),i=l=null):(l=s,null===i&&(i=s));if(null!==l){for(var c=Math.min(Math.max(l,i+r-1),n-1),u=l+1;u<=c&&!t(u);u++)l=u;a.push(i,l)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e}))},o=0;o<e.length;o+=2)r(o)}}]),t}(r.PureComponent);const zc=jc,$c=["S","XS"],Gc=e=>e.reduce(((e,t)=>e.concat(t)));async function Vc({selections:e,elemNumbers:t,toggle:n,isSingleSelect:r}){if(0===t.length)return!1;let o=!1;if(!t.some((e=>Number.isNaN(e)))){const a=t;try{o=!1!==await e.select({method:"selectListObjectValues",params:["/qListObjectDef",a,n]})}catch{o=!1}o||(r?e.cancel():e.clear())}return o}const Uc="RowColumn",Wc={row:`${Uc}-row`,rowBorderBottom:`${Uc}-rowBorderBottom`,column:`${Uc}-column`,fieldRoot:`${Uc}-fieldRoot`,cell:`${Uc}-cell`,labelText:`${Uc}-labelText`,labelDense:`${Uc}-labelDense`,highlighted:`${Uc}-highlighted`,checkboxLabel:`${Uc}-checkboxLabel`,icon:`${Uc}-icon`,S:`${Uc}-S`,XS:`${Uc}-XS`,A:`${Uc}-A`,X:`${Uc}-X`,frequencyCount:`${Uc}-frequencyCount`,barContainer:`${Uc}-barContainer`,bar:`${Uc}-bar`,barSelected:`${Uc}-barSelected`,barWithCheckbox:`${Uc}-barWithCheckbox`,barSelectedWithCheckbox:`${Uc}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Uc}-excludedTextWithCheckbox`},Hc=`.${Wc.fieldRoot}`,Kc=e=>!(e?.metaKey||e?.ctrlKey);const Xc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Yc=e=>ll(Xc(e)),Jc=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Zc=({cell:e,checkboxes:t})=>{return(((n=e)?"A"===n.qState:null)||Jc(e))&&t;var n},Qc=e=>e.filter((e=>!!e)).join(" ").trim(),eu=e=>e||"-",tu=({sizes:e,frequencyMode:t,isGridMode:n,freqHitsValue:r})=>"P"===t?`${e.freqMinWidth}px`:n&&!r?"max-content":"25%",nu=({sizes:e,frequencyMode:t,isGridMode:n})=>n?"max-content":"P"===t?e.freqMinWidth:e.freqMaxWidth,ru=({theme:e,checkboxes:t,styles:n,selectionState:r})=>{if(t)return"selected"===r?{[`& .${Wc.labelText}`]:{color:n.selections.selected}}:{};const o=n.selections,a=o[r],i=o[`${r}Contrast`];return{background:a,color:i,"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder}`,outline:"none"},"& $cell":{paddingRight:0},[`& .${Wc.labelText}`]:{color:i},[`& .${Wc.icon}`]:{color:i}}},ou={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},au=Bi("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue","layout","styles"].includes(e)})((({theme:e,checkboxes:t,isGridMode:n,isGridCol:r,dense:o,direction:a,sizes:i,frequencyMode:l,freqHitsValue:s,styles:c})=>{const{backgroundColor:u,...d}=c.content,p=ru({theme:e,styles:c,checkboxes:t,selectionState:"selected"}),f=ru({theme:e,styles:c,checkboxes:t,selectionState:"excluded"}),h={height:"100%",transition:"width 0.2s",border:"1px solid",borderColor:"#D9D9D9",backgroundColor:"#FAFAFA"},m={opacity:"30%"};return{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"},"& .value":{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"}},[`& .${Wc.row}`]:{flexWrap:"nowrap",...c.content},[`& .${Wc.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Wc.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,...c.content},[`& .${Wc.cell}`]:{zIndex:2,display:"flex",alignItems:"center",flexGrow:1,minWidth:t?"52px":"26px",flexBasis:t?"auto":"max-content",paddingLeft:"9px",paddingRight:0},[`& .${Wc.labelText}`]:{lineHeight:"24px",userSelect:"none",paddingRight:"1px",...ou,...d},[`& .${Wc.labelDense}`]:{lineHeight:"18px"},[`& .${Wc.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${Wc.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...ou,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${Wc.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24,color:d.color},[`& .${Wc.S}`]:{...p,border:n?"none":void 0},[`& .${Wc.XS}`]:{...ru({theme:e,styles:c,checkboxes:t,selectionState:"selectedExcluded"}),border:n?"none":void 0},[`& .${Wc.A}`]:{...ru({theme:e,styles:c,checkboxes:t,selectionState:"alternative"}),border:n?"none":void 0},[`& .${Wc.X}`]:{...f,border:n?"none":void 0},[`& .${Wc.X}, & .${Wc.XS}`]:{border:n?"none":void 0,[`& .${Wc.barSelected} .bar-filled`]:{...h}},[`& .${Wc.frequencyCount}`]:{zIndex:3,justifyContent:"flex-end",...ou,flex:`0 0 ${tu({sizes:i,frequencyMode:l,isGridMode:n,freqHitsValue:s})}`,minWidth:!n&&"P"!==l&&s?i.freqMinWidth:"max-content",maxWidth:nu({sizes:i,frequencyMode:l,isGridMode:n}),textAlign:"rtl"===a?"left":"right",paddingLeft:"rtl"!==a?"8px":0},[`&.${Wc.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Wc.bar}`]:{height:o?"16px":"20px",position:"absolute",zIndex:1,alignSelf:"center",left:4,width:"calc(100% - 8px)",display:"flex",alignItems:"center","& .bar-filled":{...h}},[`& .${Wc.barSelected}`]:{"& .bar-filled":{...m}},[`& .${Wc.barWithCheckbox}`]:{left:"rtl"===a?4:29,width:"calc(100% - 33px)"},[`& .${Wc.barSelectedWithCheckbox}`]:{"& .bar-filled":{...m,backgroundColor:c.selections.selected||"#BFE5D0",borderColor:c.selections.selected}},[`& .${Wc.excludedTextWithCheckbox}`]:{color:c.content.color,fontStyle:"italic"}}})),iu=r.memo(au),lu=r.createContext(void 0);function su(){return r.useContext(lu)}function cu(e){return ci("MuiFormControlLabel",e)}const uu=ui("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function du({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}const pu=Bi("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${uu.label}`]:t.label},t.root,t[`labelPlacement${fl(n.labelPlacement)}`]]}})(pl((({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${uu.disabled}`]:{cursor:"default"},[`& .${uu.label}`]:{[`&.${uu.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]})))),fu=Bi("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(pl((({theme:e})=>({[`&.${uu.error}`]:{color:(e.vars||e).palette.error.main}})))),hu=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiFormControlLabel"}),{checked:o,className:a,componentsProps:i={},control:l,disabled:s,disableTypography:c,inputRef:u,label:d,labelPlacement:p="end",name:f,onChange:h,required:m,slots:q={},slotProps:g={},value:y,...b}=n,v=su(),C=s??l.props.disabled??v?.disabled,S=m??l.props.required,E={disabled:C,required:S};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==n[e]&&(E[e]=n[e])}));const O=du({props:n,muiFormControl:v,states:["error"]}),I={...n,disabled:C,labelPlacement:p,required:S,error:O.error},x=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e;return wi({root:["root",n&&"disabled",`labelPlacement${fl(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},cu,t)})(I),R={slots:q,slotProps:{...i,...g}},[w,L]=rc("typography",{elementType:Cl,externalForwardedProps:R,ownerState:I});let N=d;return null==N||N.type===Cl||c||(N=(0,Yo.jsx)(w,{component:"span",...L,className:xi(x.label,L?.className),children:N})),(0,Yo.jsxs)(pu,{className:xi(x.root,a),ownerState:I,ref:t,...b,children:[r.cloneElement(l,E),S?(0,Yo.jsxs)("div",{children:[N,(0,Yo.jsxs)(fu,{ownerState:I,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]}):N]})})),mu=hu,qu=function({controlled:e,default:t,name:n,state:o="value"}){const{current:a}=r.useRef(void 0!==e),[i,l]=r.useState(t);return[a?e:i,r.useCallback((e=>{a||l(e)}),[])]};function gu(e){return ci("PrivateSwitchBase",e)}ui("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const yu=Bi(os,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),bu=Bi("input",{name:"MuiSwitchBase",shouldForwardProp:Mi})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),vu=r.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,defaultChecked:a,disabled:i,disableFocusRipple:l=!1,edge:s=!1,icon:c,id:u,inputProps:d,inputRef:p,name:f,onBlur:h,onChange:m,onFocus:q,readOnly:g,required:y=!1,tabIndex:b,type:v,value:C,slots:S={},slotProps:E={},...O}=e,[I,x]=qu({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),R=su();let w=i;R&&void 0===w&&(w=R.disabled);const L="checkbox"===v||"radio"===v,N={...e,checked:I,disabled:w,disableFocusRipple:l,edge:s},_=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return wi({root:["root",n&&"checked",r&&"disabled",o&&`edge${fl(o)}`],input:["input"]},gu,t)})(N),T={slots:S,slotProps:{input:d,...E}},[D,A]=rc("root",{ref:t,elementType:yu,className:_.root,shouldForwardComponentProp:!0,externalForwardedProps:{...T,component:"span",...O},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{q&&q(e),R&&R.onFocus&&R.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)})(t)}}),ownerState:N,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:w,role:void 0,tabIndex:null}}),[P,k]=rc("input",{ref:p,elementType:bu,className:_.input,externalForwardedProps:T,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;x(t),m&&m(e,t)})(t)}}),ownerState:N,additionalProps:{autoFocus:n,checked:r,defaultChecked:a,disabled:w,id:L?u:void 0,name:f,readOnly:g,required:y,tabIndex:b,type:v,..."checkbox"===v&&void 0===C?{}:{value:C}}});return(0,Yo.jsxs)(D,{...A,children:[(0,Yo.jsx)(P,{...k}),I?o:c]})})),Cu=vu;function Su(e){return ci("MuiSvgIcon",e)}ui("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Eu=Bi("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${fl(n.color)}`],t[`fontSize${fl(n.fontSize)}`]]}})(pl((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),Ou=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:l="svg",fontSize:s="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p="0 0 24 24",...f}=n,h=r.isValidElement(o)&&"svg"===o.type,m={...n,color:i,component:l,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:h},q={};u||(q.viewBox=p);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return wi({root:["root","inherit"!==t&&`color${fl(t)}`,`fontSize${fl(n)}`]},Su,r)})(m);return(0,Yo.jsxs)(Eu,{as:l,className:xi(g.root,a),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t,...q,...f,...h&&o.props,ownerState:m,children:[h?o.props.children:o,d?(0,Yo.jsx)("title",{children:d}):null]})}));Ou.muiName="SvgIcon";const Iu=Ou;function xu(e,t){function n(n,r){return(0,Yo.jsx)(Iu,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=Iu.muiName,r.memo(r.forwardRef(n))}const Ru=xu((0,Yo.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),wu=xu((0,Yo.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Lu=xu((0,Yo.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Nu(e){return ci("MuiCheckbox",e)}const _u=ui("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Tu=Bi(Cu,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${fl(n.size)}`],"default"!==n.color&&t[`color${fl(n.color)}`]]}})(pl((({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{[`&.${_u.checked}, &.${_u.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${_u.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),Du=(0,Yo.jsx)(wu,{}),Au=(0,Yo.jsx)(Ru,{}),Pu=(0,Yo.jsx)(Lu,{}),ku=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiCheckbox"}),{checkedIcon:o=Du,color:a="primary",icon:i=Au,indeterminate:l=!1,indeterminateIcon:s=Pu,inputProps:c,size:u="medium",disableRipple:d=!1,className:p,slots:f={},slotProps:h={},...m}=n,q=l?s:i,g=l?s:o,y={...n,disableRipple:d,color:a,indeterminate:l,size:u},b=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,a=wi({root:["root",n&&"indeterminate",`color${fl(r)}`,`size${fl(o)}`]},Nu,t);return{...t,...a}})(y),v=h.input??c,[C,S]=rc("root",{ref:t,elementType:Tu,className:xi(b.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:f,slotProps:h,...m},ownerState:y,additionalProps:{type:"checkbox",icon:r.cloneElement(q,{fontSize:q.props.fontSize??u}),checkedIcon:r.cloneElement(g,{fontSize:g.props.fontSize??u}),disableRipple:d,slots:f,slotProps:{input:Lc("function"==typeof v?v(y):v,{"data-indeterminate":l})}}});return(0,Yo.jsx)(C,{...S,classes:b})})),Mu="ListBoxCheckbox",Fu={cbIcon:`${Mu}-cbIcon`,cbIconChecked:`${Mu}-cbIconChecked`,cbIconExcluded:`${Mu}-cbIconExcluded`,cbIconAlternative:`${Mu}-cbIconAlternative`,checkbox:`${Mu}-checkbox`,dense:`${Mu}-dense`},Bu=Bi(ku,{shouldForwardProp:e=>"styles"!==e})((({styles:e})=>({[`& .${Fu.cbIcon}`]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},[`& .${Fu.cbIconChecked}`]:{borderRadius:3,backgroundColor:e.selections.selected,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},[`& .${Fu.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.excluded},[`& .${Fu.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.alternative},[`&.${Fu.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Fu.dense}`]:{padding:"4px 8px"}}))),ju=(e,t=!0,n=!1)=>r.createElement("span",{className:e.cbIcon},n&&r.createElement("span",{className:t&&n?e.cbIconExcluded:""}));function zu({onChange:e,checked:t,label:n,dense:o,excluded:a,styles:i,showGray:l=!0,dataN:s}){return r.createElement(Bu,{edge:"start",onChange:e,checked:t,disableRipple:!0,className:[Fu.checkbox,o&&Fu.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n,"data-n":s},name:n,icon:ju(Fu,l,a),checkedIcon:r.createElement("span",{className:Fu.cbIconChecked}),styles:i})}const $u=xu((0,Yo.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Gu=xu((0,Yo.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Vu=Bi("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Mi})({position:"relative",display:"flex"}),Uu=Bi($u,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),Wu=Bi(Gu,{name:"MuiRadioButtonIcon"})(pl((({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})))),Hu=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o={...e,checked:t};return(0,Yo.jsxs)(Vu,{className:n.root,ownerState:o,children:[(0,Yo.jsx)(Uu,{fontSize:r,className:n.background,ownerState:o}),(0,Yo.jsx)(Wu,{fontSize:r,className:n.dot,ownerState:o})]})},Ku=dc,Xu=r.createContext(void 0);function Yu(e){return ci("MuiRadio",e)}const Ju=ui("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),Zu=Bi(Cu,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${fl(n.size)}`],t[`color${fl(n.color)}`]]}})(pl((({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Ju.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t,disabled:!1},style:{[`&.${Ju.checked}`]:{color:(e.vars||e).palette[t].main}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),Qu=(0,Yo.jsx)(Hu,{checked:!0}),ed=(0,Yo.jsx)(Hu,{}),td=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiRadio"}),{checked:o,checkedIcon:a=Qu,color:i="primary",icon:l=ed,name:s,onChange:c,size:u="medium",className:d,disabled:p,disableRipple:f=!1,slots:h={},slotProps:m={},inputProps:q,...g}=n,y=su();let b=p;y&&void 0===b&&(b=y.disabled),b??=!1;const v={...n,disabled:b,disableRipple:f,color:i,size:u},C=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${fl(n)}`,"medium"!==r&&`size${fl(r)}`]};return{...t,...wi(o,Yu,t)}})(v),S=r.useContext(Xu);let E=o;const O=Ku(c,S&&S.onChange);let I=s;S&&(void 0===E&&(E=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(S.value,n.value)),void 0===I&&(I=S.name));const x=m.input??q,[R,w]=rc("root",{ref:t,elementType:Zu,className:xi(C.root,d),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:m,...g},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),O(t,...n)}}),ownerState:v,additionalProps:{type:"radio",icon:r.cloneElement(l,{fontSize:l.props.fontSize??u}),checkedIcon:r.cloneElement(a,{fontSize:a.props.fontSize??u}),disabled:b,name:I,checked:E,slots:h,slotProps:{input:"function"==typeof x?x(v):x}}});return(0,Yo.jsx)(R,{...w,classes:C})})),nd="ListBoxRadioButton-radioButton",rd=Bi(td,{shouldForwardProp:e=>!["dense","styles"].includes(e)})((({checked:e,styles:t,dense:n})=>({[`&.${nd}`]:{right:"5px",color:e?t.selections.selected:t.content.color,padding:n?"0px 0px 0px 12px":void 0,backgroundColor:"transparent"}})));function od({onChange:e,checked:t,label:n,dense:o,dataN:a,styles:i}){return r.createElement(rd,{checked:t,onChange:e,value:n,name:n,className:nd,inputProps:{"data-n":a},disableRipple:!0,size:o?"small":"medium",dense:o,styles:i})}const ad=function({label:e,dense:t,showGray:n=!0,checkboxes:o,cell:a,valueTextAlign:i}){return r.createElement(Cl,{component:"span",variant:"body2",className:Qc([Wc.labelText,t&&Wc.labelDense,n&&Zc({cell:a,checkboxes:o})&&Wc.excludedTextWithCheckbox]),align:i,dir:"auto"},r.createElement("span",null,e))},id=function({label:e,color:t,dense:n,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?r.createElement(ad,{label:e,color:t,dense:n,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},ld=function({onChange:e,label:t,qElemNumber:n,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:p}){const f=r.createElement(zu,{onChange:e,label:t,checked:o,dense:a,excluded:Jc(i),isGridCol:l,showGray:s,dataN:n,styles:p}),h=r.createElement(od,{onChange:e,label:t,checked:o,dense:a,dataN:n,styles:p});return r.createElement(mu,{control:c?h:f,className:Wc.checkboxLabel,label:r.createElement(id,{label:t,dense:a,showGray:s,checkboxes:u,cell:i,valueTextAlign:d}),key:n})};function sd({labels:e,dense:t,showGray:n,checkboxes:o}){const a=e.map((([e,t],n)=>r.createElement("span",{id:n,className:t?Wc.highlighted:""},e)));return r.createElement(ad,{label:a,dense:t,showGray:n,checkboxes:o})}const cd=function({onChange:e,labels:t,checkboxes:n,dense:o,showGray:a,qElemNumber:i,isSelected:l,cell:s,isGridCol:c,isSingleSelect:u,valueTextAlign:d,styles:p}){const f=r.createElement(sd,{labels:t,dense:o,showGray:a,checkboxes:n});return n?r.createElement(ld,{onChange:e,label:f,qElemNumber:i,isSelected:l,dense:o,cell:s,isGridCol:c,showGray:a,isSingleSelect:u,checkboxes:n,valueTextAlign:d,styles:p}):f};function ud({onChange:e,label:t,qElemNumber:n,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:p}){return u?r.createElement(ld,{onChange:e,label:t,qElemNumber:n,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:p}):r.createElement(ad,{label:t,dense:a,showGray:!0,checkboxes:u,cell:i,valueTextAlign:d})}const dd=r.memo(ud),pd=ui("MuiBox",["root"]),fd=Go(),hd=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=qa("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Rt);return r.forwardRef((function(e,r){const l=pr(n),{className:s,component:c="div",...u}=Ri(e);return(0,Yo.jsx)(i,{as:c,ref:r,className:xi(s,a?a(o):o),theme:t&&l[t]||l,...u})}))}({themeId:Uo,defaultTheme:fd,defaultClassName:pd.root,generateClassName:li.generate}),md=function({qFrequency:e,histogram:t,checkboxes:n,isSelected:o,frequencyMax:a}){if(!e||!t||"-"===eu(e))return;const i=(({qFrequency:e,frequencyMax:t})=>{const n=String(e),r="%"===n.substring(n.length-1),o=parseFloat(r?n:e);return`${r?o:o/t*100}%`})({qFrequency:e,checkboxes:n,frequencyMax:a});return r.createElement(hd,{className:Qc([Wc.bar,n&&Wc.barWithCheckbox,o&&(n?Wc.barSelectedWithCheckbox:Wc.barSelected)])},r.createElement(hd,{className:"bar-filled",width:i}))},qd=function({cell:e,checkboxes:t,dense:n,showGray:o}){const a=eu(e?.qFrequency);return r.createElement(Xi,{item:!0,style:{display:"flex",alignItems:"center"},className:Wc.frequencyCount,"aria-label":a,title:a},r.createElement(Cl,{noWrap:!0,color:"inherit",variant:"body2",className:Qc([n&&Wc.labelDense,Wc.labelText,o&&Zc({cell:e,checkboxes:t})&&Wc.excludedTextWithCheckbox])},a))};function gd({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:r}){if("singleColumn"===e)return{height:"100%",width:"100%"};switch(t){case"row":case"column":return{height:r?"100%":`calc(100% - ${n}px)`,width:`calc(100% - ${2*n}px)`,position:"absolute",left:4};default:return{}}}const yd=Bi(Xi,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction","fillHeight"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,cellPaddingRight:r,direction:o,fillHeight:a})=>{const i="padding"+("rtl"===o?"Left":"Right");return{[`&.${Wc.fieldRoot}`]:{...gd({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:a}),[i]:r?"8px":void 0}}})),bd=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===bd.ARROW_UP||e===bd.ARROW_DOWN||e===bd.ARROW_LEFT||e===bd.ARROW_RIGHT}),vd=bd;function Cd(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function Sd(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")||e?.closest(".qv-gs-listbox")}function Ed({containerRef:e,enabled:t}){const[n,o]=(0,r.useState)(!1);return{enabled:t,active:n,innerTabStops:!t||n,blur(n){if(!t)return;o(!1);const r=Sd(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),Cd(e.current),n&&r&&(r.setAttribute("tabIndex",0),e.current.setAttribute("tabIndex",-1),r.focus())},focus(){if(!t)return;o(!0);const n=e.current,r=n?.querySelector(".search input"),a=n?.querySelector(".value.last-focused"),i=n?.querySelector(".value.selector, .value"),l=n?.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=n?.querySelector("#listbox-unlock-button"),c=n?.querySelector(".listbox-cyclic-button"),u=c||r||a||i||s||l;u?.setAttribute("tabIndex",0),u?.focus()},focusSelection(){const e=document.querySelector("#listbox-unlock-button"),t=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm:not(:disabled)"),n=e||t;return n?.setAttribute("tabIndex",0),n?.focus(),n}}}const Od=e=>+e.getAttribute("data-n"),Id=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},xd=e=>{const t=e?.querySelector(".value.last-focused"),n=e?.querySelector(".value.selector"),r=e?.querySelector(".value"),o=t||n||r;return o?.setAttribute("tabIndex",0),o?.focus(),Cd(e),o},Rd=e=>{const t=e?.querySelector(".listbox-cyclic-button:not(:disabled)");return t?.setAttribute("tabIndex",0),t?.focus(),t},wd=(e,t)=>{if(!t.enabled)return;const{currentTarget:n,target:r}=e,o=r.classList.contains("listbox-container"),a=n.closest(".listbox-container"),i=Sd(a),l=1===i?.querySelectorAll(".listbox-container").length;if(o||l)t.blur(!0);else{Cd(a),n.classList.add("last-focused"),t.blur();const e=n.closest(".listbox-container");e.setAttribute("tabIndex",-1),e?.focus()}},Ld={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"},Nd=function({index:e,rowIndex:t,columnIndex:n,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onTouchStart:d,onTouchEnd:p,pages:f,isLocked:h,column:m=!1,checkboxes:q=!1,textAlign:g,direction:y,layoutOptions:b={},freqIsAllowed:v,isSingleSelect:C,actions:S,frequencyMax:E="",histogram:O=!1,keyboard:I,showGray:x=!0,showTick:R=!0,columnCount:w=1,rowCount:L=1,dataOffset:N,deducedFrequencyMode:_,focusListItems:T,listCount:D,sizes:A,translator:P,showSearch:k,isModal:M,contentFontStyle:F,styles:B,fillHeight:j}=a,{dense:z=!1,dataLayout:$="singleColumn",layoutOrder:G}=b,{itemPadding:V}=A;let U,W;const H={max:null,currentIndex:null};if("number"==typeof t&&"number"==typeof n){"row"===G?(U=t*w+n,H.max=L,H.currentIndex=t):(U=n*L+t,H.max=w,H.currentIndex=n);const e=0;W={...o,height:j?"100%":o.height,left:e+(0===n?o.left:Number(o.left)+n*e),top:0===t?o.top:Number(o.top)+t*e}}else U=e,H.max=D,H.currentIndex=e,W={...o};U+=N;const[K,X]=(0,r.useState)(null);(0,r.useEffect)((()=>{null!==K&&(0===H.currentIndex&&T.first&&(K.focus(),T.setFirst(!1)),H.currentIndex===H.max-1&&T.last&&(K.focus(),T.setLast(!1)))}),[K,T.first,T.last]);const Y=(0,r.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i,keyboard:l,isModal:s,rowCount:c,columnCount:u,rowIndex:d,columnIndex:p,layoutOrder:f}){const h=(e,t,n=!1)=>{if(e===vd.ARROW_LEFT||e===vd.ARROW_RIGHT||"number"!=typeof d||"number"!=typeof p){const e=t?.parentElement[n?"nextElementSibling":"previousElementSibling"];return e?.querySelector("[role]")}const r=t?.parentElement.parentElement,o=r?.childElementCount;if(o){const n=(({rowIndex:e,columnIndex:t,rowCount:n,columnCount:r,layoutOrder:o,keyCode:a,numCells:i})=>{const l=e=>{let t;return"row"===o?(t=i%r,e<t?n:n-1):(t=i%n,e<r-1?n:t)};let s=e,c=t;if(a===vd.ARROW_DOWN)if(e>=l(t)-1){if(t===r-1)return-1;s=0,c=t+1}else s=e+1;else if(0===e){if(0===t)return-1;s=l(t-1)-1,c=t-1}else s=e-1;if("row"===o)return s*r+c;const u=i%n;return 0===u||s<u?s*r+c:(s-u)*(r-1)+c+u*r})({rowIndex:d,columnIndex:p,rowCount:c,columnCount:u,layoutOrder:f,keyCode:e,numCells:o}),r=t?.parentElement.parentElement.children[n];return r?.querySelector("[role]")}};let m=!1;const q=e=>{m=e};return c=>{let u;const{currentTarget:d,nativeEvent:p}=c,{keyCode:f,shiftKey:g=!1,ctrlKey:y=!1,metaKey:b=!1}=p;switch(f){case vd.TAB:{const e=d.closest(".listbox-container"),t=void 0!==s?s():void 0;if(d.classList.add("last-focused"),!l?.enabled){if(!t)return;return l.focusSelection(),c.preventDefault(),void c.stopPropagation()}if(g){Id(e)||Rd(e)||(t?l.focusSelection():wd(c,l));break}l.focusSelection()||Rd(e)||Id(e)||(d.blur(),wd(c,l));break}case vd.SHIFT:q(!0);break;case vd.SPACE:e([Od(d)],!1,c);break;case vd.ARROW_DOWN:case vd.ARROW_RIGHT:u=h(f,d,!0),g&&u&&(m&&(e([Od(d)],!0),q(!1)),e([Od(u)],!0));break;case vd.ARROW_UP:case vd.ARROW_LEFT:u=h(f,d,!1),g&&u&&(m&&(e([Od(d)],!0),q(!1)),e([Od(u)],!0));break;case vd.ENTER:if(r(),void 0===s)return;break;case vd.ESCAPE:if(void 0===s)return void o();if(!s())return;o();break;case vd.HOME:if(i.setFirst(!0),y){a?.("overflowStart");break}a?.("start");break;case vd.END:if(i.setLast(!0),y){a?.("overflowEnd");break}a?.("end");break;case vd.A:if(y||b){t();break}return;case vd.F:if(y||b){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...S,focusListItems:T,keyboard:I,isModal:M,rowCount:L,columnCount:w,rowIndex:t,columnIndex:n,layoutOrder:G}),[S,I?.innerTabStops,L,w,t,n,G]),J=(0,r.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:f,cellIndex:U})),[f,U]),Z="S"===J?.qState||"XS"===J?.qState||"L"===J?.qState||"XL"===J?.qState,Q=(0,r.useMemo)((()=>(({column:e,histogram:t,cell:n,showGray:r})=>{if(!n)return[];const o=[e?Wc.column:Wc.row];t||o.push(Wc.rowBorderBottom);const a=function({cell:e,showGray:t}){let n;switch(e.qState){case"XS":n=t?Wc.XS:Wc.S;break;case"S":case"L":n=Wc.S;break;case"A":n=!!t&&Wc.A;break;case"X":case"XL":n=!!t&&Wc.X;break;default:n=!1}return n}({cell:n,showGray:r});return a&&o.push(a),o})({column:m,histogram:O,cell:J,showGray:x})),[J?.qState,O,z]),ee=(0,r.useCallback)((e=>{e.preventDefault()}),[q]),te=(0,r.useMemo)((()=>J&&function({direction:e,cell:t,textAlign:n}){const r=!["NaN",void 0].includes(t?.qNum);let o;return o=!n||n.auto?r?"rtl"===e?"left":"right":{rtl:"right",ltr:"left"}[e]:n?.align||"left",["left","center","right"].includes(o)?o:"left"}({direction:y,cell:J,textAlign:g})),[y,J,g]);if(!J)return null;const ne="grid"===$&&"column"===G,re=J?.qText??"";let oe;if(J.qHighlightRanges?.qRanges?.length){const e=J.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[];oe=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t,n=0){const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(re,e)}const ae={alignItems:"center",display:"flex",fontSize:"8px"},ie="rtl"===y,le={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:ie?8:q?0:void 0,paddingRight:q?0:ie?8:0,justifyContent:te,textAlign:te},se=0===e,ce=Z&&h,ue=!q&&Z&&!h,de=!q&&R,pe=q||!R,fe=function({translator:e,label:t,qState:n,isSelected:r,currentIndex:o,maxIndex:a,showSearch:i}){const l=Ld[n],s=e.get(l),c=[];if(r){const t=i?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=e.get(t);c.push(n)}const u=`${t} ${s}`,d=e.get("CurrentSelections.Of",[o+1,a+1]);return c.unshift(u,d),c.join(". ").trim()}({translator:P,label:re,qState:J.qState,currentIndex:H.currentIndex,maxIndex:H.max,showSearch:k}),he=!ie&&"right"===te||ie&&"left"===te;return r.createElement(iu,{className:Wc.barContainer,checkboxes:q,style:W,styles:B,isGridCol:ne,isGridMode:"grid"===$,dense:z,direction:y,sizes:A,frequencyMode:_,freqHitsValue:he,contentFontStyle:F,"data-testid":"listbox.item"},r.createElement(yd,{role:"row","aria-label":fe,"aria-selected":Z,"aria-setsize":H.max,"aria-rowindex":H.currentIndex,ref:X,container:!0,dataLayout:$,cellPaddingRight:pe,layoutOrder:G,itemPadding:V,gap:0,className:Qc(["value",...Q]),classes:{root:Wc.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:Y,onTouchStart:d,onTouchEnd:p,onContextMenu:ee,tabIndex:se&&I.innerTabStops?0:-1,"data-n":J?.qElemNumber,direction:y,fillHeight:j},J?.qFrequency&&r.createElement(md,{qFrequency:J?.qFrequency,histogram:O,checkboxes:q,isSelected:Z,frequencyMax:E}),r.createElement(Xi,{item:!0,style:le,className:Qc([Wc.cell,Wc.selectedCell]),title:`${re}`},oe?r.createElement(cd,{onChange:i,labels:oe,checkboxes:q,dense:z,showGray:x,qElemNumber:J.qElemNumber,isSelected:Z,cell:J,isGridCol:ne,isSingleSelect:C,valueTextAlign:te,styles:B}):r.createElement(dd,{onChange:i,label:re,qElemNumber:J.qElemNumber,isSelected:Z,dense:z,cell:J,isGridCol:ne,showGray:x,isSingleSelect:C,checkboxes:q,valueTextAlign:te,styles:B})),v&&r.createElement(qd,{cell:J,checkboxes:q,dense:z,showGray:x}),de&&r.createElement(Xi,{item:!0,className:Wc.icon},ce&&r.createElement(cl,{style:ae,size:"small"}),ue&&r.createElement(Yc,{style:ae,size:"small"}))))};var _d=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Td(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||_d(r)&&_d(o)))return!1;var r,o;return!0}const Dd=function(e,t){var n;void 0===t&&(t=Td);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var Ad="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Pd(e){cancelAnimationFrame(e.id)}function kd(e,t){var n=Ad(),r={id:requestAnimationFrame((function o(){Ad()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Md=-1;function Fd(e){if(void 0===e&&(e=!1),-1===Md||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Md=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Md}var Bd=null;function jd(e){if(void 0===e&&(e=!1),null===Bd||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Bd="positive-descending":(t.scrollLeft=1,Bd=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Bd}return Bd}var zd=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function $d(e){var t,n=e.getColumnOffset,o=e.getColumnStartIndexForOffset,a=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,l=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,c=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,d=e.getRowHeight,p=e.getRowOffset,f=e.getRowStartIndexForOffset,h=e.getRowStopIndexForStartIndex,m=e.initInstanceProps,q=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=m(r.props,Tl(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:Tl(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=Dd((function(e,t,n,o,a,i,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=Dd((function(e,t,n,o,a){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,a=r.props,l=a.columnWidth,s=a.direction,c=a.rowHeight,u=r._getItemStyleCache(q&&l,q&&s,q&&c),f=e+":"+t;if(u.hasOwnProperty(f))o=u[f];else{var h=n(r.props,t,r._instanceProps),m="rtl"===s;u[f]=o={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:p(r.props,e,r._instanceProps),height:d(r.props,e,r._instanceProps),width:i(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=Dd((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=r.props.direction,c=a;if("rtl"===t)switch(jd()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&Pd(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=kd(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}Al(t,e),t.getDerivedStateFromProps=function(e,t){return Gd(e,t),g(e),null};var y=t.prototype;return y.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},y.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,i=a.columnCount,d=a.height,p=a.rowCount,f=a.width,h=this.state,m=h.scrollLeft,q=h.scrollTop,g=Fd();void 0!==r&&(r=Math.max(0,Math.min(r,i-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var y=l(this.props,this._instanceProps),b=s(this.props,this._instanceProps)>f?g:0,v=y>d?g:0;this.scrollTo({scrollLeft:void 0!==r?c(this.props,r,n,m,this._instanceProps,v):m,scrollTop:void 0!==o?u(this.props,o,n,q,this._instanceProps,b):q})},y.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},y.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(jd()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},y.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Pd(this._resetIsScrollingTimeoutId)},y.render=function(){var e=this.props,t=e.children,n=e.className,o=e.columnCount,a=e.direction,i=e.height,c=e.innerRef,u=e.innerElementType,d=e.innerTagName,p=e.itemData,f=e.itemKey,h=void 0===f?zd:f,m=e.outerElementType,q=e.outerTagName,g=e.rowCount,y=e.style,b=e.useIsScrolling,v=e.width,C=this.state.isScrolling,S=this._getHorizontalRangeToRender(),E=S[0],O=S[1],I=this._getVerticalRangeToRender(),x=I[0],R=I[1],w=[];if(o>0&&g)for(var L=x;L<=R;L++)for(var N=E;N<=O;N++)w.push((0,r.createElement)(t,{columnIndex:N,data:p,isScrolling:b?C:void 0,key:h({columnIndex:N,data:p,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,N)}));var _=l(this.props,this._instanceProps),T=s(this.props,this._instanceProps);return(0,r.createElement)(m||q||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:sa({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,r.createElement)(u||d||"div",{children:w,ref:c,style:{height:_,pointerEvents:C?"none":void 0,width:T}}))},y._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],p=u[1],f=u[2],h=u[3];this._callOnItemsRendered(i,l,d,p,s,c,f,h)}if("function"==typeof r){var m=this.state,q=m.horizontalScrollDirection,g=m.scrollLeft,y=m.scrollTop,b=m.scrollUpdateWasRequested,v=m.verticalScrollDirection;this._callOnScroll(g,y,q,v,b)}},y._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,p=n||r||i||1;if(0===t||0===l)return[0,0,0,0];var f=o(this.props,d,this._instanceProps),h=a(this.props,f,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,p),q=u&&"forward"!==c?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+q)),f,h]},y._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=f(this.props,c,this._instanceProps),p=h(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),q=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,p+q)),d,p]},t}(r.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var Gd=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Vd=function(e,t){return e};function Ud(e){var t,n=e.getItemOffset,o=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=c(r.props,Tl(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Tl(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=Dd((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=Dd((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,o=r.props,i=o.direction,l=o.itemSize,s=o.layout,c=r._getItemStyleCache(u&&l,u&&s,u&&i);if(c.hasOwnProperty(e))t=c[e];else{var d=n(r.props,e,r._instanceProps),p=a(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,h="rtl"===i,m=f?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=Dd((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(jd()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&Pd(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=kd(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}Al(t,e),t.getDerivedStateFromProps=function(e,t){return Wd(e,t),d(e),null};var p=t.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?Fd():0:s.scrollHeight>s.clientHeight?Fd():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},p.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(jd()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Pd(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,a=e.direction,i=e.height,l=e.innerRef,s=e.innerElementType,c=e.innerTagName,u=e.itemCount,d=e.itemData,p=e.itemKey,f=void 0===p?Vd:p,h=e.layout,m=e.outerElementType,q=e.outerTagName,g=e.style,y=e.useIsScrolling,b=e.width,v=this.state.isScrolling,C="horizontal"===a||"horizontal"===h,S=C?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),O=E[0],I=E[1],x=[];if(u>0)for(var R=O;R<=I;R++)x.push((0,r.createElement)(t,{data:d,key:f(R,d),index:R,isScrolling:y?v:void 0,style:this._getItemStyle(R)}));var w=o(this.props,this._instanceProps);return(0,r.createElement)(m||q||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:sa({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,r.createElement)(s||c||"div",{children:x,ref:l,style:{height:C?"100%":w,pointerEvents:v?"none":void 0,width:C?w:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,i,this._instanceProps),u=s(this.props,c,i,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(r.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var Wd=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},Hd=$d({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(s/2)?0:p>c+Math.floor(s/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(l/2)?0:p>c+Math.floor(l/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),Kd=Ud({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===i||"horizontal"===u?d:l,f=Math.max(0,s*c-p),h=Math.min(f,t*c),m=Math.max(0,t*c-p+c+a);switch("smart"===n&&(n=r>=m-p&&r<=h+p?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var q=Math.round(m+(h-m)/2);return q<Math.ceil(p/2)?0:q>f+Math.floor(p/2)?f:q;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const Xd="#BBB",Yd="#f1f1f1",Jd="ListBox-styledScrollbars";function Zd({renderProps:e,layoutOptions:t,maxCount:n,columnCount:r,rowCount:o,overflowDisclaimer:a,qCardinal:i,dataOffset:l}){const s="column"===t?.layoutOrder&&"singleColumn"!==t.dataLayout,c=((e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex)(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,p=((e,t,n,r)=>e===t*n+r+n)(i,c,s?o:r,l),f=!!l&&((e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex)(e,s),h=d&&!p&&c>=u-1||f||a.state.show;a.set(h)}function Qd(){return Qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qd.apply(null,arguments)}const{StyledFixedSizeList:ep,StyledFixedSizeGrid:tp}=function(){const e=e=>({scrollbarColor:`${Xd} ${Yd}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:Yd},"&::-webkit-scrollbar-thumb":{backgroundColor:Xd,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:ma(Kd,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Jd}`]:e(t)}))),StyledFixedSizeGrid:ma(Hd,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Jd}`]:e(t)})))}}(),np=e=>{const t=(0,r.useMemo)((()=>"text"in e?e:{}),[e]);return(0,r.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)})(t.text,t.font||"12px Source Sans Pro")),[t.text,t.font])};function rp(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}function op({isGridMode:e,dense:t}){let n=t?20:e?32:29;return e&&(n+=4),n}const[ap,ip]=Si({});function lp(e){const t=`${e.id}`,[n]=ap();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function sp(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function cp(e){return e instanceof sp(e).Element||e instanceof Element}function up(e){return e instanceof sp(e).HTMLElement||e instanceof HTMLElement}function dp(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sp(e).ShadowRoot||e instanceof ShadowRoot)}var pp=Math.max,fp=Math.min,hp=Math.round;function mp(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function qp(){return!/^((?!chrome|android).)*safari/i.test(mp())}function gp(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&up(e)&&(o=e.offsetWidth>0&&hp(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&hp(r.height)/e.offsetHeight||1);var i=(cp(e)?sp(e):window).visualViewport,l=!qp()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function yp(e){var t=sp(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function bp(e){return e?(e.nodeName||"").toLowerCase():null}function vp(e){return((cp(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cp(e){return gp(vp(e)).left+yp(e).scrollLeft}function Sp(e){return sp(e).getComputedStyle(e)}function Ep(e){var t=Sp(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Op(e,t,n){void 0===n&&(n=!1);var r=up(t),o=up(t)&&function(e){var t=e.getBoundingClientRect(),n=hp(t.width)/e.offsetWidth||1,r=hp(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=vp(t),i=gp(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==bp(t)||Ep(a))&&(l=function(e){return e!==sp(e)&&up(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:yp(e);var t}(t)),up(t)?((s=gp(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Cp(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Ip(e){var t=gp(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function xp(e){return"html"===bp(e)?e:e.assignedSlot||e.parentNode||(dp(e)?e.host:null)||vp(e)}function Rp(e){return["html","body","#document"].indexOf(bp(e))>=0?e.ownerDocument.body:up(e)&&Ep(e)?e:Rp(xp(e))}function wp(e,t){var n;void 0===t&&(t=[]);var r=Rp(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=sp(r),i=o?[a].concat(a.visualViewport||[],Ep(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(wp(xp(i)))}function Lp(e){return["table","td","th"].indexOf(bp(e))>=0}function Np(e){return up(e)&&"fixed"!==Sp(e).position?e.offsetParent:null}function _p(e){for(var t=sp(e),n=Np(e);n&&Lp(n)&&"static"===Sp(n).position;)n=Np(n);return n&&("html"===bp(n)||"body"===bp(n)&&"static"===Sp(n).position)?t:n||function(e){var t=/firefox/i.test(mp());if(/Trident/i.test(mp())&&up(e)&&"fixed"===Sp(e).position)return null;var n=xp(e);for(dp(n)&&(n=n.host);up(n)&&["html","body"].indexOf(bp(n))<0;){var r=Sp(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Tp="top",Dp="bottom",Ap="right",Pp="left",kp="auto",Mp=[Tp,Dp,Ap,Pp],Fp="start",Bp="end",jp="viewport",zp="popper",$p=Mp.reduce((function(e,t){return e.concat([t+"-"+Fp,t+"-"+Bp])}),[]),Gp=[].concat(Mp,[kp]).reduce((function(e,t){return e.concat([t,t+"-"+Fp,t+"-"+Bp])}),[]),Vp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Up(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Wp(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Hp={placement:"bottom",modifiers:[],strategy:"absolute"};function Kp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Xp(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Hp:o;return function(e,t,n){void 0===n&&(n=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hp,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],l=!1,s={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},a,o.options,l),o.scrollParents={reference:cp(e)?wp(e):e.contextElement?wp(e.contextElement):[],popper:wp(t)};var u,d,p=function(e){var t=Up(e);return Vp.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((u=[].concat(r,o.options.modifiers),d=u.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return o.orderedModifiers=p.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var l=a({state:o,name:t,instance:s,options:r});i.push(l||function(){})}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Kp(t,n)){o.rects={reference:Op(t,_p(n),"fixed"===o.options.strategy),popper:Ip(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var a=o.orderedModifiers[r],i=a.fn,c=a.options,u=void 0===c?{}:c,d=a.name;"function"==typeof i&&(o=i({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Wp((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){c(),l=!0}};if(!Kp(e,t))return s;function c(){i.forEach((function(e){return e()})),i=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Yp={passive:!0};function Jp(e){return e.split("-")[0]}function Zp(e){return e.split("-")[1]}function Qp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ef(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Jp(o):null,i=o?Zp(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Tp:t={x:l,y:n.y-r.height};break;case Dp:t={x:l,y:n.y+n.height};break;case Ap:t={x:n.x+n.width,y:s};break;case Pp:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Qp(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Fp:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Bp:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var tf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nf(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,q="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=q.x,m=q.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=Pp,v=Tp,C=window;if(c){var S=_p(n),E="clientHeight",O="clientWidth";S===sp(n)&&"static"!==Sp(S=vp(n)).position&&"absolute"===l&&(E="scrollHeight",O="scrollWidth"),(o===Tp||(o===Pp||o===Ap)&&a===Bp)&&(v=Dp,m-=(d&&S===C&&C.visualViewport?C.visualViewport.height:S[E])-r.height,m*=s?1:-1),o!==Pp&&(o!==Tp&&o!==Dp||a!==Bp)||(b=Ap,f-=(d&&S===C&&C.visualViewport?C.visualViewport.width:S[O])-r.width,f*=s?1:-1)}var I,x=Object.assign({position:l},c&&tf),R=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:hp(n*o)/o||0,y:hp(r*o)/o||0}}({x:f,y:m},sp(n)):{x:f,y:m};return f=R.x,m=R.y,s?Object.assign({},x,((I={})[v]=y?"0":"",I[b]=g?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",I)):Object.assign({},x,((t={})[v]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var rf={left:"right",right:"left",bottom:"top",top:"bottom"};function of(e){return e.replace(/left|right|bottom|top/g,(function(e){return rf[e]}))}var af={start:"end",end:"start"};function lf(e){return e.replace(/start|end/g,(function(e){return af[e]}))}function sf(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dp(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uf(e,t,n){return t===jp?cf(function(e,t){var n=sp(e),r=vp(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=qp();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Cp(e),y:s}}(e,n)):cp(t)?function(e,t){var n=gp(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):cf(function(e){var t,n=vp(e),r=yp(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=pp(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=pp(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Cp(e),s=-r.scrollTop;return"rtl"===Sp(o||n).direction&&(l+=pp(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(vp(e)))}function df(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pf(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ff(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?jp:c,d=n.elementContext,p=void 0===d?zp:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,q=void 0===m?0:m,g=df("number"!=typeof q?q:pf(q,Mp)),y=p===zp?"reference":zp,b=e.rects.popper,v=e.elements[h?y:p],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=wp(xp(e)),n=["absolute","fixed"].indexOf(Sp(e).position)>=0&&up(e)?_p(e):e;return cp(n)?t.filter((function(e){return cp(e)&&sf(e,n)&&"body"!==bp(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=uf(e,n,r);return t.top=pp(o.top,t.top),t.right=fp(o.right,t.right),t.bottom=fp(o.bottom,t.bottom),t.left=pp(o.left,t.left),t}),uf(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(cp(v)?v:v.contextElement||vp(e.elements.popper),s,u,i),S=gp(e.elements.reference),E=ef({reference:S,element:b,strategy:"absolute",placement:o}),O=cf(Object.assign({},b,E)),I=p===zp?O:S,x={top:C.top-I.top+g.top,bottom:I.bottom-C.bottom+g.bottom,left:C.left-I.left+g.left,right:I.right-C.right+g.right},R=e.modifiersData.offset;if(p===zp&&R){var w=R[o];Object.keys(x).forEach((function(e){var t=[Ap,Dp].indexOf(e)>=0?1:-1,n=[Tp,Dp].indexOf(e)>=0?"y":"x";x[e]+=w[n]*t}))}return x}const hf={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,q=t.options.placement,g=Jp(q),y=s||(g!==q&&h?function(e){if(Jp(e)===kp)return[];var t=of(e);return[lf(e),t,lf(t)]}(q):[of(q)]),b=[q].concat(y).reduce((function(e,n){return e.concat(Jp(n)===kp?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Gp:s,u=Zp(r),d=u?l?$p:$p.filter((function(e){return Zp(e)===u})):Mp,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ff(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Jp(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),v=t.rects.reference,C=t.rects.popper,S=new Map,E=!0,O=b[0],I=0;I<b.length;I++){var x=b[I],R=Jp(x),w=Zp(x)===Fp,L=[Tp,Dp].indexOf(R)>=0,N=L?"width":"height",_=ff(t,{placement:x,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=L?w?Ap:Pp:w?Dp:Tp;v[N]>C[N]&&(T=of(T));var D=of(T),A=[];if(a&&A.push(_[R]<=0),l&&A.push(_[T]<=0,_[D]<=0),A.every((function(e){return e}))){O=x,E=!1;break}S.set(x,A)}if(E)for(var P=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},k=h?3:1;k>0&&"break"!==P(k);k--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function mf(e,t,n){return pp(e,fp(t,n))}const qf={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,q=ff(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Jp(t.placement),y=Zp(t.placement),b=!y,v=Qp(g),C="x"===v?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,O=t.rects.popper,I="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,x="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,w={x:0,y:0};if(S){if(a){var L,N="y"===v?Tp:Pp,_="y"===v?Dp:Ap,T="y"===v?"height":"width",D=S[v],A=D+q[N],P=D-q[_],k=f?-O[T]/2:0,M=y===Fp?E[T]:O[T],F=y===Fp?-O[T]:-E[T],B=t.elements.arrow,j=f&&B?Ip(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=z[N],G=z[_],V=mf(0,E[T],j[T]),U=b?E[T]/2-k-V-$-x.mainAxis:M-V-$-x.mainAxis,W=b?-E[T]/2+k+V+G+x.mainAxis:F+V+G+x.mainAxis,H=t.elements.arrow&&_p(t.elements.arrow),K=H?"y"===v?H.clientTop||0:H.clientLeft||0:0,X=null!=(L=null==R?void 0:R[v])?L:0,Y=D+W-X,J=mf(f?fp(A,D+U-X-K):A,D,f?pp(P,Y):P);S[v]=J,w[v]=J-D}if(l){var Z,Q="x"===v?Tp:Pp,ee="x"===v?Dp:Ap,te=S[C],ne="y"===C?"height":"width",re=te+q[Q],oe=te-q[ee],ae=-1!==[Tp,Pp].indexOf(g),ie=null!=(Z=null==R?void 0:R[C])?Z:0,le=ae?re:te-E[ne]-O[ne]-ie+x.altAxis,se=ae?te+E[ne]+O[ne]-ie-x.altAxis:oe,ce=f&&ae?function(e,t,n){var r=mf(e,t,n);return r>n?n:r}(le,te,se):mf(f?le:re,te,f?se:oe);S[C]=ce,w[C]=ce-te}t.modifiersData[r]=w}},requiresIfExists:["offset"]},gf={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Jp(n.placement),s=Qp(l),c=[Pp,Ap].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return df("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pf(e,Mp))}(o.padding,n),d=Ip(a),p="y"===s?Tp:Pp,f="y"===s?Dp:Ap,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],q=_p(a),g=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,y=h/2-m/2,b=u[p],v=g-d[c]-u[f],C=g/2-d[c]/2+y,S=mf(b,C,v),E=s;n.modifiersData[r]=((t={})[E]=S,t.centerOffset=S-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&sf(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function yf(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bf(e){return[Tp,Ap,Dp,Pp].some((function(t){return e[t]>=0}))}var vf=Xp({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=sp(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,Yp)})),l&&s.addEventListener("resize",n.update,Yp),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Yp)})),l&&s.removeEventListener("resize",n.update,Yp)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ef({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:Jp(t.placement),variation:Zp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nf(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nf(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];up(o)&&bp(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});up(r)&&bp(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Gp.reduce((function(e,n){return e[n]=function(e,t,n){var r=Jp(e),o=[Pp,Tp].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Pp,Ap].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},hf,qf,gf,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ff(t,{elementContext:"reference"}),l=ff(t,{altBoundary:!0}),s=yf(i,r),c=yf(l,o,a),u=bf(s),d=bf(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function Cf(e){return ci("MuiPopper",e)}function Sf(e){return"function"==typeof e?e():e}ui("MuiPopper",["root"]);const Ef={},Of=r.forwardRef((function(e,t){const{anchorEl:n,children:o,direction:a,disablePortal:i,modifiers:l,open:s,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:h,ownerState:m,...q}=e,g=r.useRef(null),y=Ol(g,t),b=r.useRef(null),v=Ol(b,d),C=r.useRef(v);oa((()=>{C.current=v}),[v]),r.useImperativeHandle(d,(()=>b.current),[]);const S=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,a),[E,O]=r.useState(S),[I,x]=r.useState(Sf(n));r.useEffect((()=>{b.current&&b.current.forceUpdate()})),r.useEffect((()=>{n&&x(Sf(n))}),[n]),oa((()=>{if(!I||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=l&&(e=e.concat(l)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=vf(I,g.current,{placement:S,...u,modifiers:e});return C.current(t),()=>{t.destroy(),C.current(null)}}),[I,i,l,s,u,S]);const R={placement:E};null!==h&&(R.TransitionProps=h);const w=(e=>{const{classes:t}=e;return wi({root:["root"]},Cf,t)})(e),L=f.root??"div",N=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...a}=e,i=o?{}:Qs(n,r),{props:l,internalRef:s}=nc({...a,externalSlotProps:i}),c=Ol(s,i?.ref,e.additionalProps?.ref);return Zs(t,{...l,ref:c},r)}({elementType:L,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:w.root});return(0,Yo.jsx)(L,{...N,children:"function"==typeof o?o(R):o})})),If=Bi(r.forwardRef((function(e,t){const{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=Ef,popperRef:f,style:h,transition:m=!1,slotProps:q={},slots:g={},...y}=e,[b,v]=r.useState(!0);if(!s&&!u&&(!m||b))return null;let C;if(a)C=a;else if(n){const e=Sf(n);C=e&&void 0!==e.nodeType?xs(e).body:xs(null).body}const S=u||!s||m&&!b?void 0:"none",E=m?{in:u,onEnter:()=>{v(!1)},onExited:()=>{v(!0)}}:void 0;return(0,Yo.jsx)(Js,{disablePortal:l,container:C,children:(0,Yo.jsx)(Of,{anchorEl:n,direction:i,disablePortal:l,modifiers:c,ref:t,open:m?!b:u,placement:d,popperOptions:p,popperRef:f,slotProps:q,slots:g,...y,style:{position:"fixed",top:0,left:0,display:S,...h},TransitionProps:E,children:o})})})),{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xf=r.forwardRef((function(e,t){const n=Qo(),r=ji({props:e,name:"MuiPopper"}),{anchorEl:o,component:a,components:i,componentsProps:l,container:s,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:q,slots:g,slotProps:y,...b}=r,v=g?.root??i?.Root,C={anchorEl:o,container:s,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:q,...b};return(0,Yo.jsx)(If,{as:a,direction:n?"rtl":"ltr",slots:{root:v},slotProps:y??l,...C,ref:t})}));function Rf(e){return ci("MuiTooltip",e)}const wf=ui("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Lf=Bi(xf,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(pl((({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${wf.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${wf.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${wf.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${wf.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${wf.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${wf.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${wf.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${wf.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]})))),Nf=Bi("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${fl(n.placement.split("-")[0])}`]]}})(pl((({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:br(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${wf.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${wf.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${wf.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5+"em"),fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${wf.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${wf.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${wf.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${wf.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t}))),_f=Bi("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(pl((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:br(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))));let Tf=!1;const Df=new Gl;let Af={x:0,y:0};function Pf(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const kf=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiTooltip"}),{arrow:o=!1,children:a,classes:i,components:l={},componentsProps:s={},describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:d=!1,disableInteractive:p=!1,disableTouchListener:f=!1,enterDelay:h=100,enterNextDelay:m=0,enterTouchDelay:q=700,followCursor:g=!1,id:y,leaveDelay:b=0,leaveTouchDelay:v=1500,onClose:C,onOpen:S,open:E,placement:O="bottom",PopperComponent:I,PopperProps:x={},slotProps:R={},slots:w={},title:L,TransitionComponent:N,TransitionProps:_,...T}=n,D=r.isValidElement(a)?a:(0,Yo.jsx)("span",{children:a}),A=Wo(),P=Qo(),[k,M]=r.useState(),[F,B]=r.useState(null),j=r.useRef(!1),z=p||g,$=Vl(),G=Vl(),V=Vl(),U=Vl(),[W,H]=qu({controlled:E,default:!1,name:"Tooltip",state:"open"});let K=W;const X=Sl(y),Y=r.useRef(),J=Rl((()=>{void 0!==Y.current&&(document.body.style.WebkitUserSelect=Y.current,Y.current=void 0),U.clear()}));r.useEffect((()=>J),[J]);const Z=e=>{Df.clear(),Tf=!0,H(!0),S&&!K&&S(e)},Q=Rl((e=>{Df.start(800+b,(()=>{Tf=!1})),H(!1),C&&K&&C(e),$.start(A.transitions.duration.shortest,(()=>{j.current=!1}))})),ee=e=>{j.current&&"touchstart"!==e.type||(k&&k.removeAttribute("title"),G.clear(),V.clear(),h||Tf&&m?G.start(Tf?m:h,(()=>{Z(e)})):Z(e))},te=e=>{G.clear(),V.start(b,(()=>{Q(e)}))},[,ne]=r.useState(!1),re=e=>{El(e.target)||(ne(!1),te(e))},oe=e=>{k||M(e.currentTarget),El(e.target)&&(ne(!0),ee(e))},ae=e=>{j.current=!0;const t=D.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect((()=>{if(K)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&Q(e)}}),[Q,K]);const ie=Il(Ns(D),M,t);L||0===L||(K=!1);const le=r.useRef(),se={},ce="string"==typeof L;c?(se.title=K||!ce||d?null:L,se["aria-describedby"]=K?X:null):(se["aria-label"]=ce?L:null,se["aria-labelledby"]=K&&!ce?X:null);const ue={...se,...T,...D.props,className:xi(T.className,D.props.className),onTouchStart:ae,ref:ie,...g?{onMouseMove:e=>{const t=D.props;t.onMouseMove&&t.onMouseMove(e),Af={x:e.clientX,y:e.clientY},le.current&&le.current.update()}}:{}},de={};f||(ue.onTouchStart=e=>{ae(e),V.clear(),$.clear(),J(),Y.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",U.start(q,(()=>{document.body.style.WebkitUserSelect=Y.current,ee(e)}))},ue.onTouchEnd=e=>{D.props.onTouchEnd&&D.props.onTouchEnd(e),J(),V.start(v,(()=>{Q(e)}))}),d||(ue.onMouseOver=Pf(ee,ue.onMouseOver),ue.onMouseLeave=Pf(te,ue.onMouseLeave),z||(de.onMouseOver=ee,de.onMouseLeave=te)),u||(ue.onFocus=Pf(oe,ue.onFocus),ue.onBlur=Pf(re,ue.onBlur),z||(de.onFocus=oe,de.onBlur=re));const pe={...n,isRtl:P,arrow:o,disableInteractive:z,placement:O,PopperComponentProp:I,touch:j.current},fe="function"==typeof R.popper?R.popper(pe):R.popper,he=r.useMemo((()=>{let e=[{name:"arrow",enabled:Boolean(F),options:{element:F,padding:4}}];return x.popperOptions?.modifiers&&(e=e.concat(x.popperOptions.modifiers)),fe?.popperOptions?.modifiers&&(e=e.concat(fe.popperOptions.modifiers)),{...x.popperOptions,...fe?.popperOptions,modifiers:e}}),[F,x.popperOptions,fe?.popperOptions]),me=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e;return wi({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${fl(a.split("-")[0])}`],arrow:["arrow"]},Rf,t)})(pe),qe="function"==typeof R.transition?R.transition(pe):R.transition,ge={slots:{popper:l.Popper,transition:l.Transition??N,tooltip:l.Tooltip,arrow:l.Arrow,...w},slotProps:{arrow:R.arrow??s.arrow,popper:{...x,...fe??s.popper},tooltip:R.tooltip??s.tooltip,transition:{..._,...qe??s.transition}}},[ye,be]=rc("popper",{elementType:Lf,externalForwardedProps:ge,ownerState:pe,className:xi(me.popper,x?.className)}),[ve,Ce]=rc("transition",{elementType:Us,externalForwardedProps:ge,ownerState:pe}),[Se,Ee]=rc("tooltip",{elementType:Nf,className:me.tooltip,externalForwardedProps:ge,ownerState:pe}),[Oe,Ie]=rc("arrow",{elementType:_f,className:me.arrow,externalForwardedProps:ge,ownerState:pe,ref:B});return(0,Yo.jsxs)(r.Fragment,{children:[r.cloneElement(D,ue),(0,Yo.jsx)(ye,{as:I??xf,placement:O,anchorEl:g?{getBoundingClientRect:()=>({top:Af.y,left:Af.x,right:Af.x,bottom:Af.y,width:0,height:0})}:k,popperRef:le,open:!!k&&K,id:X,transition:!0,...de,...be,popperOptions:he,children:({TransitionProps:e})=>(0,Yo.jsx)(ve,{timeout:A.transitions.duration.shorter,...e,...Ce,children:(0,Yo.jsxs)(Se,{...Ee,children:[L,o?(0,Yo.jsx)(Oe,{...Ie}):null]})})})]})})),Mf=kf,Ff=Bi(Cl,{shouldForwardProp:e=>!["width","dense"].includes(e)})((({width:e,dense:t})=>({minWidth:`${e}px`,textAlign:"center",fontSize:t?"12px":"14px",whiteSpace:"normal",...t&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));function Bf({width:e,text:t,dense:n,tooltip:o}){const{translator:a}=(0,r.useContext)(bi);return r.createElement(Mf,{title:o?a.get(t):""},r.createElement(Ff,{width:e,dense:n,component:"div",variant:"body1",py:"12px"},a.get(t)))}const jf=xu((0,Yo.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),zf=Bi(Rc)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),$f=Bi("div")((()=>({paddingLeft:"6px",flexGrow:1}))),Gf=Bi("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),Vf=Bi(jf)((()=>({fontSize:"14px"})));function Uf({text:e,dismiss:t,dense:n,parentWidth:o=0}){const a="function"==typeof t,i=n?370:282,l=Math.max(o/2-i/2,0),s=Math.min(i,o)-42,c=n&&o<i;return r.createElement(zf,{left:l,style:{maxWidth:i}},r.createElement($f,null,r.createElement(Bf,{text:e,dense:n,width:s,tooltip:c})),r.createElement(Gf,{dense:n},a&&r.createElement(vs,{"aria-label":"close",onClick:()=>t()},r.createElement(Vf,null))))}function Wf({itemWidth:e,layout:t,frequencyMode:n}){const r=e>80,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["N",void 0].includes(n);return!(!r||!a&&!o)}const Hf=e=>e&&"]"!==e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:`[${e.replace(/\]/g,"]]")}]`:e,Kf=e=>{const t=Hf(e);return`Max(AGGR(Count(${t}), ${t}))`},Xf=Bi("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function Yf({model:e,app:t,constraints:n,layout:o,selections:a,selectionState:i,direction:l,checkboxes:s,height:c,width:u,frequencyMode:d,update:p,fetchStart:f,postProcessPages:h,calculatePagesHeight:m=!1,keyboard:q={},showGray:g=!0,scrollState:y,keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:v={set:()=>{}},renderedCallback:C,onCtrlF:S,showSearch:E,isModal:O,styles:I}){const{translator:x}=(0,r.useContext)(bi),[R,w]=(0,r.useState)(!1),L=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:N=s,histogram:_}=o??{},T=(0,r.useRef)(null),D=(0,r.useRef)({queue:[],validPages:!1,dataOffset:0}),A=(0,r.useRef)({pages:[]}),{frequencyMax:P,awaitingFrequencyMax:k}=((e,t)=>{const n=(e=>"fetch"===e?.frequencyMax)(t),[o,a]=(0,r.useState)(),[i,l]=(0,r.useState)(n);return(0,r.useEffect)((()=>{n&&(async()=>{const n=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=Kf(r);return(await t.evaluateEx(o)).qNumber})(t,e);a(n),l(!1)})()}),[n&&t]),{frequencyMax:n?o:t?.frequencyMax,awaitingFrequencyMax:i}})(t,o),{isLoadingData:M,...F}=function({local:e,loaderRef:t,model:n,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}){const[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)([]);let[p]=(0,r.useState)(0);const f=(r,s)=>{const u=e.current.dataOffset;e.current.queue.push({start:r+u,stop:s+u});const f=!!t.current&&t.current._listRef&&t.current._listRef.state.isScrolling;return e.current.queue.length>10&&e.current.queue.shift(),clearTimeout(e.current.timeout),c(!0),new Promise((t=>{e.current.timeout=setTimeout((()=>{const r=e.current.queue.slice(-1)[0],a=n.getListObjectData("/qListObjectDef",[{qTop:r.start>p?r.start-p:0,qHeight:p,qLeft:0,qWidth:1},{qTop:r.start,qHeight:p,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;e.current.validPages=!0,l.current.pages=r,d(r),c(!1),t()}));o&&o(a)}),f?a:0)}))};return{loadMoreItems:{with:({minimumBatchSize:e})=>(e&&(p=e),f)},pages:u,isLoading:s}}({local:D,loaderRef:T,model:e,fetchStart:f,scrollTimeout:0,postProcessPages:h,listData:A}),{getStoreValue:B,setStoreValue:j}=lp(e),z=(0,r.useCallback)(F.loadMoreItems,[o]),[$,G]=(0,r.useState)({show:!1,dismissed:!1}),[V,U]=(0,r.useState)([]);F?.pages&&i.update({setPages:U,pages:F.pages,isSingleSelect:L,layout:o});const W=o?.qListObject.qDimensionInfo.qCardinal;(F?.pages.length&&!k||0===W)&&C?.();const H=(0,r.useCallback)((e=>{if(!V?.length||!D.current.validPages)return!1;D.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=V.filter((e=>t(e)))[0];return n&&t(n)}),[o,V]),{interactionEvents:K,select:X}=function({selectionState:e,selections:t,checkboxes:n=!1,doc:o=document,loaderRef:a}){const i=(0,r.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});(0,r.useEffect)((()=>{if(!a.current?._listRef?._outerRef)return;const e=e=>e.preventDefault(),t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=a.current._listRef._outerRef;return r.addEventListener("gesturestart",e),r.addEventListener("gesturechange",t),r.addEventListener("gestureend",n),()=>{r.removeEventListener("gesturestart",e),r.removeEventListener("gesturechange",t),r.removeEventListener("gestureend",n)}}),[a.current?._listRef?._outerRef]);const l=async()=>!e.selectDisabled?.()&&(e.setSelectableValuesUpdating(),Vc({selections:t,elemNumbers:i.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:i.current.toggle})),s=(t,n)=>{const r=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return Gc(t)}(e.enginePages);return function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([t,n],r)},c=t=>{const{startElemNumber:n}=i.current;if(n===t)return;const r=s(i.current.startElemNumber,t);e.updateItems(r,!0,i.current.elemNumbers)},u=(0,r.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&Kc(t.nativeEvent);i.current.elemNumbers=[n],i.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),i.current.active=!1,l()}),[]),d=(0,r.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&Kc(t);i.current.isRange=!1,i.current.startElemNumber=n,i.current.elemNumbers=[n],i.current.toggle=r,i.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(i.current.active=!1,l()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),p=(0,r.useCallback)((e=>{if(0===e.button&&i.current.active){if(i.current.active=!1,i.current.isRange){const t=+e.currentTarget.getAttribute("data-n");c(t)}l()}}),[]),f=(0,r.useCallback)((e=>{0===e.button&&i.current.active&&(i.current.active=!1,l())}),[]),h=(0,r.useCallback)((t=>{if(!i.current.active)return;i.current.isRange||(i.current.isRange=!0,e.isSelected(i.current.startElemNumber)||(e.updateItem(i.current.startElemNumber,!0),i.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");c(n)}),[]),m=(0,r.useCallback)((t=>{if(i.current.active||i.current.isRange||e.isSingleSelect||t.touches.length<=1)return;if(t.touches.length>2)return void l();const n=Number(t.touches[0].target?.closest(Hc)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Hc)?.getAttribute("data-n"));Number.isNaN(n)||Number.isNaN(n)?l():(i.current.active=!0,s(n,r).length<7&&(i.current.touchRangeSmall=!0),i.current.elemNumbers=[],i.current.touchElemNumbers=[n,r])}),[]),q=(0,r.useCallback)((()=>{if(2!==i.current.touchElemNumbers.length)return;if(i.current.touchRangeSmall)return i.current.touchRangeSmall=!1,i.current.touchElemNumbers=[],void(i.current.active=!1);const[e,t]=i.current.touchElemNumbers;i.current.startElemNumber=e,c(t),i.current.touchElemNumbers=[],i.current.active=!1,i.current.toggle=!0,l()}),[]);(0,r.useEffect)((()=>(o.addEventListener("mouseup",f),()=>{o.removeEventListener("mouseup",f)})),[f]),(0,r.useEffect)((()=>{const n=()=>{e.clearItemStates(!1)},r=()=>{e.clearItemStates(!0),e.triggerStateChanged()};return t.on("clearItemStates",n),t.on("deactivated",n),t.on("cleared",r),()=>{t.removeListener("clearItemStates",n),t.removeListener("deactivated",n),t.removeListener("cleared",r)}}),[t]);const g={};return n?Object.assign(g,{onChange:u}):Object.assign(g,{onMouseUp:p,onMouseDown:d,onMouseEnter:h,onTouchStart:m,onTouchEnd:q}),{interactionEvents:g,select:async(n=[],r=!1,o=void 0)=>{if(e.selectDisabled?.())return!1;const a=!e.isSingleSelect&&Kc(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(n,r,i),e.setSelectableValuesUpdating(),Vc({selections:t,elemNumbers:r?i:n,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:i,selections:a,checkboxes:N,doc:document,loaderRef:T}),{layoutOptions:Y={}}=o||{};let J=!0;Y.dataLayout&&(J="singleColumn"===Y.dataLayout||"row"===Y?.layoutOrder);const Z="grid"===Y?.dataLayout,Q=e=>{const t={...J?{rowIndex:e}:{columnIndex:e}},n=Z?t:e;T.current._listRef.scrollToItem(n)},ee=()=>{if(D.current.queue=[],D.current.validPages=!1,T.current){T.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());D.current.dataOffset=0,Q(0)}};p&&p.call(null,ee),(0,r.useEffect)((()=>{y&&!R&&T.current&&(T.current._listRef.scrollToItem(y.initScrollPos),w(!0))}),[T.current]),(0,r.useEffect)((()=>{ee()}),[o,D.current.dataOffset]);let te=100;const ne="grid"!==Y.dataLayout,re=o?.qListObject.qSize?.qcy,oe=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){const o=e?.length&&r?(({pages:e=[],minimumBatchSize:t,count:n})=>{const r=e.some((e=>e.qArea.qHeight<t)),o=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return r?o:n})({pages:e,minimumBatchSize:t,count:n}):n;return o||0}({pages:V,minimumBatchSize:te,count:re,calculatePagesHeight:m,layoutOptions:Y,model:e});let ae=Wf({itemWidth:u,layout:o,frequencyMode:d});const ie=function(e){return e.some((({qMatrix:e})=>e.some((([e])=>!!e.qFrequency?.match("%")))))?"P":"-"}(V),le=function({layout:e,width:t,height:n,listCount:r,count:o,freqIsAllowed:a,checkboxes:i,styles:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:p,dataLayout:f}=s,{fontSize:h="12px",fontFamily:m="Source sans pro"}=l?.content||{},q=`${h} ${m}`,g=np({text:rp(e),font:q}),y=np({text:rp(5),font:q}),b=np({text:rp(8),font:q}),v=a?y:0,C=i?20:0;let S=56+v+C;!i&&S>=80&&(S+=20);let E,O,I,x,R=g+18+v+C;!i&&R>=80&&(R+=20),R=Math.min(150,Math.max(R,S));const w=op({isGridMode:"grid"===f,dense:p}),L=n??8*w;if(c){let e=t;"row"===c?(E={overflowX:"hidden"},e+=8,({rowCount:x,columnWidth:I,columnCount:O}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-10;let l;const s=Math.min(t,Math.max(1,Math.round(i/Math.max(o,r))));l=!1!==e?.auto?s:Math.min(t,a,s),l=Math.max(l,1);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:R,itemMinWidth:S}))):(E={overflowY:"hidden"},({rowCount:x,columnWidth:I,columnCount:O}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c),l=Math.max(l,1);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:w,listCount:r,listHeight:L,columnAutoWidth:R,containerWidth:e,itemMinWidth:S})))}O=("singleColumn"===f?1:O)||1,x=("singleColumn"===f?o:x)||r;const N=s.dense?838e3:577e3;x=Math.min(x,N);const _=Math.floor(3355e4/I);O=Math.min(O,_)||1;const T=x*O;return{columnCount:O,columnWidth:I,rowCount:x,overflowStyling:E,itemHeight:w,listHeight:L,listWidth:t,scrollBarWidth:10,count:o,listCount:Math.min(r,T),maxCount:{row:N,column:_},itemPadding:4,textWidth:g,freqMinWidth:y,freqMaxWidth:b}}({layout:o,width:u,height:c,listCount:oe,count:re,freqIsAllowed:ae,checkboxes:N,styles:I});le.columnWidth&&(ae=Wf({itemWidth:le.columnWidth,layout:o,frequencyMode:d}));const{listCount:se}=le;j("listCount",se);const ce=B("inputText"),ue=function({layout:e,searchInputText:t,listCount:n}){const{translator:o}=(0,r.useContext)(bi),a=[];if(t?.length){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(n),t=o.get(e,[n]);a.push(t)}const i=function({layout:e,translatorDynamic:t}){const{qStateCounts:n={}}=e?.qListObject?.qDimensionInfo||{},r=n.qSelected+n.qSelectedExcluded+n.qLocked+n.qLockedExcluded;let o;switch(r){case 0:o="ScreenReader.ZeroSelected";break;case 1:o="ScreenReader.OneSelected";break;default:o="ScreenReader.ManySelected"}return t.get(o,[r])}({layout:e,translatorDynamic:o});a.push(i);const l=a.filter((e=>!!e?.length)).join(". ");return l}({layout:o,searchInputText:ce,listCount:se}),de=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function({position:e,isRow:t,sizes:n,layout:r,offset:o}){let a,i=!1,l=o??0;switch(e){case"start":a=0;break;case"end":a=t?n.rowCount:n.columnCount;break;case"overflowStart":l=0,a=0,i=!0;break;case"overflowEnd":l=((e,t)=>e.qListObject.qDimensionInfo.qCardinal-t)(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:J,sizes:le,layout:o,offset:D.current.dataOffset});D.current.dataOffset=n,r&&i.triggerStateChanged(),Q(t)};(0,r.useEffect)((()=>{const e=b.state;e.up?Q(v.state.start-e.up):e.down?Q(v.state.stop+e.down):e.scrollPosition&&de(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:pe}=o?.qListObject.qDimensionInfo||{},[fe,he]=(0,r.useState)({first:!1,last:!1}),{List:me,Grid:qe}=function({layout:e,width:t,checkboxes:n,local:o,isVertical:a,pages:i,selectionState:l,interactionEvents:s,deducedFrequencyMode:c,histogram:u,isSingleSelect:d,select:p,selectAll:f,onCtrlF:h,textAlign:m,selections:q,keyboard:g,showGray:y,scrollState:b,direction:v,sizes:C,listCount:S,overflowDisclaimer:E,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:x,constraints:R,frequencyMax:w,freqIsAllowed:L,translator:N,showSearch:_,isModal:T,styles:D}){const{layoutOptions:A={}}=e||{},{columnWidth:P,listHeight:k,itemHeight:M,rowCount:F,columnCount:B}=C||{},j=("grid"===A.dataLayout?P:t)>80,z={direction:"rtl"===v?"rtl":"ltr",useIsScrolling:!0,className:Jd},$=e?.qListObject.qDimensionInfo.qLocked,G=k<=M,V={isLocked:$,column:!a,pages:i,...$||l.selectDisabled()?{}:s,checkboxes:n,layoutOptions:A,deducedFrequencyMode:c,freqIsAllowed:L,isSingleSelect:d,textAlign:m,sizes:C,actions:{select:p,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:f,onCtrlF:h},frequencyMax:w,histogram:u,keyboard:g,showGray:y,showTick:j,dataOffset:o.current.dataOffset,focusListItems:I,direction:v,translator:N,showSearch:_,isModal:T,styles:D,fillHeight:G};return{List:({onItemsRendered:n,ref:a})=>(o.current.listRef=a,r.createElement(ep,Qd({},z,{dataTestid:"fixed-size-list",scrollDisabled:R?.active,height:k,width:t,itemCount:S,itemData:{...V,listCount:S},itemSize:M,onItemsRendered:t=>{x({start:t.visibleStartIndex,stop:t.visibleStopIndex}),b&&b.setScrollPos(t.visibleStopIndex),Zd({renderProps:t,layoutOptions:A,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:E,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),n({...t})},ref:a}),Nd)),Grid:({onItemsRendered:n,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=A||{},c=Math.min(k,F*M+l);return o.current.listRef=a,r.createElement(tp,Qd({},z,{dataTestid:"fixed-size-grid",scrollDisabled:R?.active,height:c,width:t,columnCount:B,columnWidth:P,rowCount:F,rowHeight:M,style:{...i},itemData:{...V,column:void 0,columnCount:B,rowCount:F},onItemsRendered:t=>{const r="row"===s;x({start:r?t.visibleRowStartIndex:t.visibleColumnStartIndex,stop:r?t.visibleRowStopIndex:t.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,p,f,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,p=i,f=c*o,h=l):(d=s,p=i*a,f=c,h=l*a),{visibleStartIndex:d+p,visibleStopIndex:f+h}}({renderProps:t,scrollState:b,layoutOrder:s,rowCount:F,columnCount:B});Zd({renderProps:t,layoutOptions:A,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:E,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),n(a)},ref:a}),Nd)}}}({direction:l,layout:o,height:c,width:u,checkboxes:N,deducedFrequencyMode:ie,histogram:_,keyboard:q,showGray:g,interactionEvents:K,select:X,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:pe,isVertical:ne,pages:V,selectionState:i,isSingleSelect:L,selections:a,scrollState:y,local:D,sizes:le,listCount:se,overflowDisclaimer:{state:$,set:e=>G((t=>({...t,show:e})))},setScrollPosition:de,focusListItems:{first:fe.first,setFirst:e=>he((t=>({...t,first:e}))),last:fe.last,setLast:e=>he((t=>({...t,last:e})))},setCurrentScrollIndex:v.set,constraints:n,frequencyMax:P,freqIsAllowed:ae,translator:x,showSearch:E,isModal:O,styles:I}),{columnWidth:ge,listHeight:ye,itemHeight:be}=le||{};return ne||(te=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:ge,listHeight:ye,itemHeight:be})),r.createElement(Xf,null,r.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},ue),!se&&W>0&&r.createElement(Bf,{width:u,text:"Listbox.NoMatchesForYourTerms"}),r.createElement(zc,{isItemLoaded:H,itemCount:se||1,loadMoreItems:z.with({minimumBatchSize:te}),threshold:0,minimumBatchSize:te,ref:T,role:"grid"},ne?me:qe),$.show&&!$.dismissed&&r.createElement(Uf,{text:"Listbox.ItemsOverflow",dismiss:()=>G((e=>({...e,dismissed:!0}))),parentWidth:T?.current?._listRef?.props?.width,dense:Y?.dense}))}const Jf=e=>({...e,shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),Zf=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Qf=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),eh=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),th=({layout:e,model:t,translator:n,selectionState:r,isDirectQuery:o=!1,selections:a})=>{if(e.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];const i="/qListObjectDef",l=()=>{a.isActive()||a.begin(i)};return[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:Jf,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectAll(i)}},{key:"selectPossible",type:"menu-icon-button",label:n.get("Selection.SelectPossible"),getSvgIconShape:Qf,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectPossible(i)}},!o&&{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:Zf,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectAlternative(i)}},!o&&{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:eh,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{l(),r.clearItemStates(!1),t.selectListObjectExcluded(i)}}].filter(Boolean)};function nh(e){return ci("MuiDivider",e)}const rh=ui("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),oh=Bi("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(pl((({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:br(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]})))),ah=Bi("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(pl((({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]})))),ih=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,orientation:i="horizontal",component:l=(o||"vertical"===i?"div":"hr"),flexItem:s=!1,light:c=!1,role:u=("hr"!==l?"separator":void 0),textAlign:d="center",variant:p="fullWidth",...f}=n,h={...n,absolute:r,component:l,flexItem:s,light:c,orientation:i,role:u,textAlign:d,variant:p},m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e;return wi({root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},nh,r)})(h);return(0,Yo.jsx)(oh,{as:l,className:xi(m.root,a),role:u,ref:t,ownerState:h,"aria-orientation":"separator"!==u||"hr"===l&&"vertical"!==i?void 0:i,...f,children:o?(0,Yo.jsx)(ah,{className:m.wrapper,ownerState:h,children:o}):null})}));ih&&(ih.muiSkipListHighlight=!0);const lh=ih,sh=e=>({...e,shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function ch(e){const t=Wo(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const uh={className:"njs-cell-action"},dh=r.forwardRef((({ariaExpanded:e=!1,item:t,addAnchor:n=!1},o)=>{const a=Wo(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=ch(t);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=t.keyboardAction||t.action,p=d?e=>["Enter"].includes(e.key)&&d():null,f=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,h=`actions-toolbar-${t.key}`;return r.createElement(vs,{ref:n?null:o,title:t.label,onClick:t.action,onKeyDown:p,onKeyUp:f,disabled:l,style:s,className:[uh.className,h].join(" "),size:"large",disableRipple:!0,"aria-label":t.label,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":h},c&&ll(t.getSvgIconShape()),n&&r.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),ph=dh,fh=e=>({...e,shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),hh=e=>ll(fh(e)),mh=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]}),qh=e=>ll(mh(e)),gh=r.createContext({}),yh=oa;function bh(e){return ci("MuiListItemIcon",e)}const vh=ui("MuiListItemIcon",["root","alignItemsFlexStart"]),Ch=ui("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Sh(e){return ci("MuiMenuItem",e)}const Eh=ui("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Oh=Bi(os,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(pl((({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Eh.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:br(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Eh.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Eh.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:br(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Eh.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Eh.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${rh.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${rh.inset}`]:{marginLeft:52},[`& .${Ch.root}`]:{marginTop:0,marginBottom:0},[`& .${Ch.inset}`]:{paddingLeft:36},[`& .${vh.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${vh.root} svg`]:{fontSize:"1.25rem"}}}]})))),Ih=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p,...f}=n,h=r.useContext(gh),m=r.useMemo((()=>({dense:i||h.dense||!1,disableGutters:s})),[h.dense,i,s]),q=r.useRef(null);yh((()=>{o&&q.current&&q.current.focus()}),[o]);const g={...n,dense:m.dense,divider:l,disableGutters:s},y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e,l=wi({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},Sh,i);return{...i,...l}})(n),b=Il(q,t);let v;return n.disabled||(v=void 0!==d?d:-1),(0,Yo.jsx)(gh.Provider,{value:m,children:(0,Yo.jsx)(Oh,{ref:b,role:u,tabIndex:v,component:a,focusVisibleClassName:xi(y.focusVisible,c),className:xi(y.root,p),...f,ownerState:g,classes:y})})})),xh=Ih,Rh=Bi("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(pl((({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]})))),wh=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiListItemIcon"}),{className:o,...a}=n,i=r.useContext(gh),l={...n,alignItems:i.alignItems},s=(e=>{const{alignItems:t,classes:n}=e;return wi({root:["root","flex-start"===t&&"alignItemsFlexStart"]},bh,n)})(l);return(0,Yo.jsx)(Rh,{className:xi(s.root,o),ownerState:l,ref:t,...a})})),Lh=wh;function Nh(e){return ci("MuiList",e)}ui("MuiList",["root","padding","dense","subheader"]);const _h=Bi("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Th=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c,...u}=n,d=r.useMemo((()=>({dense:l})),[l]),p={...n,component:i,dense:l,disablePadding:s},f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return wi({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Nh,t)})(p);return(0,Yo.jsx)(gh.Provider,{value:d,children:(0,Yo.jsxs)(_h,{as:i,className:xi(f.root,a),ref:t,ownerState:p,...u,children:[c,o]})})})),Dh=Th,Ah=pc;function Ph(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function kh(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Mh(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function Fh(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Mh(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Bh=r.forwardRef((function(e,t){const{actions:n,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu",...p}=e,f=r.useRef(null),h=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});yh((()=>{o&&f.current.focus()}),[o]),r.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${Ah(Ls(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const m=Il(f,t);let q=-1;r.Children.forEach(i,((e,t)=>{r.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=t),q===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1))):q===t&&(q+=1,q>=i.length&&(q=-1))}));const g=r.Children.map(i,((e,t)=>{if(t===q){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),r.cloneElement(e,t)}return e}));return(0,Yo.jsx)(Dh,{role:"menu",ref:m,className:l,onKeyDown:e=>{const t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(u&&u(e));const r=Rs(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Fh(t,r,c,s,Ph);else if("ArrowUp"===n)e.preventDefault(),Fh(t,r,c,s,kh);else if("Home"===n)e.preventDefault(),Fh(t,null,c,s,Ph);else if("End"===n)e.preventDefault(),Fh(t,null,c,s,kh);else if(1===n.length){const o=h.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=r&&!o.repeating&&Mh(r,o);o.previousKeyMatched&&(l||Fh(t,r,!1,s,Ph,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1,...p,children:g})}));function jh(){return jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jh.apply(null,arguments)}const zh="More-icon",$h=Bi(Mc)((({theme:e})=>({pointerEvents:"none",[`& .${zh} *`]:{color:e.palette.text.primary}})));function Gh({item:e,autoFocus:t,onActionClick:n=()=>{}}){const{hidden:o,disabled:a,hasSvgIconShape:i}=ch(e);return o?null:r.createElement(xh,{autoFocus:t,title:e.label,onClick:()=>{e.action(),n()},disabled:a,tabindex:"0"},i&&r.createElement(Lh,{className:zh},ll(e.getSvgIconShape())),r.createElement(Cl,{noWrap:!0},e.label))}const Vh=r.forwardRef((({actions:e=[],show:t=!0,alignTo:n,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=()=>{},disablePortal:l=!0},s)=>{const c=e.length>0,u=e.findIndex((e=>!e.disabled));return c&&r.createElement($h,jh({},o,{onClose:i,ref:s,open:t,anchorEl:n.current,getContentAnchorEl:l?null:void 0,container:l?n.current:void 0,disablePortal:l,hideBackdrop:!0,transitionDuration:0,slotProps:{root:{className:"njs-action-toolbar-more"},paper:{style:{pointerEvents:"auto",maxWidth:"250px",...a}}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}),r.createElement(Bh,{id:"moreMenuList"},e.map(((e,t)=>r.createElement(Gh,{key:t,item:e,autoFocus:t===u,onActionClick:i})))))}));const Uh="ActionsToolbar",Wh={item:`${Uh}-item`,itemSpacing:`${Uh}-itemSpacing`},Hh=Bi(Mc)((({theme:e})=>({[`& .${Wh.itemSpacing}`]:{padding:e.spacing(0,.25)}}))),Kh=r.forwardRef((({className:e,ariaExpanded:t=!1,actions:n=[],addAnchor:o=!1,isRtl:a=!1},i)=>n.length>0?r.createElement(Xi,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:e},n.map(((e,n)=>r.createElement(Xi,{item:!0,key:e.key,className:`${Wh.itemSpacing} ${Wh.item}`},r.createElement(ph,{ariaExpanded:t,key:e.key,item:e,ref:0===n?i:null,addAnchor:o}))))):null)),Xh={pointerEvents:"none"},Yh=function({show:e=!0,actions:t=[],maxItems:n=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},extraItems:a,more:i={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{},disablePortal:!0},popover:l={show:!1,anchorEl:null},focusHandler:s=null,actionsRefMock:c=null,isRtl:u,autoConfirm:d=!1,layout:p}){const f=function({api:e,layout:t,onConfirm:n=()=>{},onCancel:o=()=>{},onKeyDeactivate:a=()=>{}}){const{translator:i}=(0,r.useContext)(bi);return[{key:"clear",type:"icon-button",label:i.get("Selection.Clear"),enabled:()=>e.canClear(t),action:()=>e.clear(),getSvgIconShape:mh},{key:"cancel",type:"icon-button",label:i.get("Selection.Cancel"),enabled:()=>e.canCancel(t),action:()=>{o(),e.cancel()},keyboardAction:()=>{a(),o(),e.cancel()},getSvgIconShape:fh},{key:"confirm",type:"icon-button",label:i.get("Selection.Confirm"),enabled:()=>e.canConfirm(t),action:()=>{n(),e.confirm()},keyboardAction:()=>{a(),n(),e.confirm()},getSvgIconShape:Xc}]}({...o,layout:p}),{translator:h,keyboardNavigation:m}=(0,r.useContext)(bi),[q,g]=(0,r.useState)(!1),y={vertical:12,horizontal:u?0:(l.anchorEl?.clientWidth??0)-7},b={vertical:"bottom",horizontal:u?-7:"right"},v=(0,r.useRef)(),C=(0,r.useRef)(),S=Wo(),E=(0,r.useMemo)((()=>({margin:S.spacing(.5,0)}))),O=e=>{const t=v.current||c;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]},I=(0,r.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r,isRtl:o}){return a=>{const{target:i,nativeEvent:l}=a,{keyCode:s}=l;switch(s){case vd.ARROW_LEFT:case vd.ARROW_DOWN:case vd.ARROW_RIGHT:case vd.ARROW_UP:if(i.classList.contains("njs-cell-action")){const e=(e=>{const t=e.closest("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)})(i);let t=[vd.ARROW_LEFT,vd.ARROW_DOWN].includes(s);t=o?!t:t,(e=>{const t=document.querySelector("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");n.length&&n[Math.min(Math.max(0,e),n.length-1)].focus()})(t?e-1:e+1)}a.stopPropagation(),a.preventDefault();break;case vd.SPACE:a.preventDefault();break;case vd.TAB:e&&t?.refocusContent&&(a.shiftKey&&n(!1)===a.target||!a.shiftKey&&n(!0)===a.target)&&(a.preventDefault(),a.stopPropagation(),t.refocusContent());break;case vd.ESCAPE:r&&(r.onCancel(),r.api.cancel(),a.preventDefault(),a.stopPropagation())}}}({keyboardNavigation:m,focusHandler:s,getEnabledButton:O,selections:o,isRtl:u})),[m,s,O,o,u]);if((0,r.useEffect)((()=>()=>{g(!1)}),[l.show,e,o.show]),(0,r.useEffect)((()=>{s&&(s.on("focus_toolbar_first",(()=>{const e=O(!1);e?.focus()})),s.on("focus_toolbar_last",(()=>{const e=O(!0);e?.focus()})))}),[]),d)return;let x=i.enabled,R=i.actions;const w=i.alignTo||C,L=t.filter((e=>!e.hidden));if(L.length>n){const e=L.splice(-(L.length-n)-1);x=!0,R=[...e,...i.actions]}if(!o.show&&0===L.length&&!x)return null;const N={key:"more",label:h.get("Menu.More"),getSvgIconShape:sh,hidden:!1,active:q,enabled:()=>x,action:()=>g(!q)},_=L.length>0,T=R.length>0,D=_&&o.show||T&&o.show,A=r.createElement(Xi,{ref:v,onKeyDown:I,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:u?"row-reverse":"row"}},a?.length&&r.createElement(Kh,{className:"actions-toolbar-extra-actions",actions:a,isRtl:u}),_&&r.createElement(Kh,{actions:L}),T&&r.createElement(Kh,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:C,ariaExpanded:q,actions:[N],addAnchor:!0}),D&&r.createElement(Xi,{item:!0,className:Wh.itemSpacing,style:E},r.createElement(lh,{orientation:"vertical"})),o.show&&r.createElement(Kh,{className:"actions-toolbar-default-actions",actions:f,isRtl:u}),q&&r.createElement(Vh,{show:q,actions:R,alignTo:w,popoverProps:i.popoverProps,popoverPaperStyle:i.popoverPaperStyle,onCloseOrActionClick:()=>{g(!1)},disablePortal:i.disablePortal}));return l.show?r.createElement(Hh,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:l.show,anchorEl:l.anchorEl,anchorOrigin:y,transformOrigin:b,hideBackdrop:!0,style:Xh,onMouseDown:e=>{e.stopPropagation()},slotProps:{paper:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:S.spacing(.5,.25)}}}},A):e&&A};var Jh;const Zh=Bi("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Mi})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Qh=Bi("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Mi})(pl((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}))));function em(e){return ci("MuiInputBase",e)}const tm=ui("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function nm(e){return ci("MuiOutlinedInput",e)}const rm={...tm,...ui("MuiOutlinedInput",["root","notchedOutline","input"])};function om(e){return parseInt(e,10)||0}const am={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function im(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const lm=r.forwardRef((function(e,t){const{onChange:n,maxRows:o,minRows:a=1,style:i,value:l,...s}=e,{current:c}=r.useRef(null!=l),u=r.useRef(null),d=Ol(t,u),p=r.useRef(null),f=r.useRef(null),h=r.useCallback((()=>{const t=u.current,n=f.current;if(!t||!n)return;const r=ws(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=r.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const i=r.boxSizing,l=om(r.paddingBottom)+om(r.paddingTop),s=om(r.borderBottomWidth)+om(r.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let p=c;return a&&(p=Math.max(Number(a)*d,p)),o&&(p=Math.min(Number(o)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+("border-box"===i?l+s:0),overflowing:Math.abs(p-c)<=1}}),[o,a,e.placeholder]),m=xl((()=>{const e=u.current,t=h();if(!e||!t||im(t))return!1;const n=t.outerHeightStyle;return null!=p.current&&p.current!==n})),q=r.useCallback((()=>{const e=u.current,t=h();if(!e||!t||im(t))return;const n=t.outerHeightStyle;p.current!==n&&(p.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""}),[h]),g=r.useRef(-1);return oa((()=>{const e=Os(q),t=u?.current;if(!t)return;const n=ws(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver((()=>{m()&&(r.unobserve(t),cancelAnimationFrame(g.current),q(),g.current=requestAnimationFrame((()=>{r.observe(t)})))})),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}}),[h,q,m]),oa((()=>{q()})),(0,Yo.jsxs)(r.Fragment,{children:[(0,Yo.jsx)("textarea",{value:l,onChange:e=>{c||q(),n&&n(e)},ref:d,rows:a,style:i,...s}),(0,Yo.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...am,...i,paddingTop:0,paddingBottom:0}})]})})),sm=lm;function cm(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var um;const dm=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${fl(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},pm=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},fm=Bi("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dm})(pl((({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${tm.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]})))),hm=Bi("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pm})(pl((({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${tm.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${tm.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}}))),mm=function(e){return function(t){return(0,Yo.jsx)(ul,{styles:"function"==typeof e?n=>e({theme:n,...t}):e})}}({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),qm=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:l,color:s,components:c={},componentsProps:u={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:f,endAdornment:h,error:m,fullWidth:q=!1,id:g,inputComponent:y="input",inputProps:b={},inputRef:v,margin:C,maxRows:S,minRows:E,multiline:O=!1,name:I,onBlur:x,onChange:R,onClick:w,onFocus:L,onKeyDown:N,onKeyUp:_,placeholder:T,readOnly:D,renderSuffix:A,rows:P,size:k,slotProps:M={},slots:F={},startAdornment:B,type:j="text",value:z,...$}=n,G=null!=b.value?b.value:z,{current:V}=r.useRef(null!=G),U=r.useRef(),W=r.useCallback((e=>{}),[]),H=Il(U,v,b.ref,W),[K,X]=r.useState(!1),Y=su(),J=du({props:n,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});J.focused=Y?Y.focused:K,r.useEffect((()=>{!Y&&p&&K&&(X(!1),x&&x())}),[Y,p,K,x]);const Z=Y&&Y.onFilled,Q=Y&&Y.onEmpty,ee=r.useCallback((e=>{!function(e,t=!1){return e&&(cm(e.value)&&""!==e.value||t&&cm(e.defaultValue)&&""!==e.defaultValue)}(e)?Q&&Q():Z&&Z()}),[Z,Q]);yh((()=>{V&&ee({value:G})}),[G,ee,V]),r.useEffect((()=>{ee(U.current)}),[]);let te=y,ne=b;O&&"input"===te&&(ne=P?{type:void 0,minRows:P,maxRows:P,...ne}:{type:void 0,maxRows:S,minRows:E,...ne},te=sm),r.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(B))}),[Y,B]);const re={...n,color:J.color||"primary",disabled:J.disabled,endAdornment:h,error:J.error,focused:J.focused,formControl:Y,fullWidth:q,hiddenLabel:J.hiddenLabel,multiline:O,size:J.size,startAdornment:B,type:j},oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return wi({root:["root",`color${fl(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",p&&"medium"!==p&&`size${fl(p)}`,u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},em,t)})(re),ae=F.root||c.Root||fm,ie=M.root||u.root||{},le=F.input||c.Input||hm;return ne={...ne,...M.input??u.input},(0,Yo.jsxs)(r.Fragment,{children:[!f&&"function"==typeof mm&&(um||(um=(0,Yo.jsx)(mm,{}))),(0,Yo.jsxs)(ae,{...ie,ref:t,onClick:e=>{U.current&&e.currentTarget===e.target&&U.current.focus(),w&&w(e)},...$,...!Es(ae)&&{ownerState:{...re,...ie.ownerState}},className:xi(oe.root,ie.className,l,D&&"MuiInputBase-readOnly"),children:[B,(0,Yo.jsx)(lu.Provider,{value:null,children:(0,Yo.jsx)(le,{"aria-invalid":J.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:d,disabled:J.disabled,id:g,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:I,placeholder:T,readOnly:D,required:J.required,rows:P,value:G,onKeyDown:N,onKeyUp:_,type:j,...ne,...!Es(le)&&{as:te,ownerState:{...re,...ne.ownerState}},ref:H,className:xi(oe.input,ne.className,D&&"MuiInputBase-readOnly"),onBlur:e=>{x&&x(e),b.onBlur&&b.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):X(!1)},onChange:(e,...t)=>{if(!V){const t=e.target||U.current;if(null==t)throw new Error(_e(1));ee({value:t.value})}b.onChange&&b.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{L&&L(e),b.onFocus&&b.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):X(!0)}})}),h,A?A({...J,startAdornment:B}):null]})]})})),gm=qm,ym=Bi(fm,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:dm})(pl((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${rm.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${rm.focused} .${rm.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{[`&.${rm.focused} .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}}))),{props:{},style:{[`&.${rm.error} .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${rm.disabled} .${rm.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}}))),bm=Bi((function(e){const{children:t,classes:n,className:r,label:o,notched:a,...i}=e,l=null!=o&&""!==o,s={...e,notched:a,withLabel:l};return(0,Yo.jsx)(Zh,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,Yo.jsx)(Qh,{ownerState:s,children:l?(0,Yo.jsx)("span",{children:o}):Jh||(Jh=(0,Yo.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(pl((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}))),vm=Bi(hm,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pm})(pl((({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]})))),Cm=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:c,slots:u={},slotProps:d={},type:p="text",...f}=n,h=(e=>{const{classes:t}=e,n=wi({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},nm,t);return{...t,...n}})(n),m=su(),q=du({props:n,muiFormControl:m,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),g={...n,color:q.color||"primary",disabled:q.disabled,error:q.error,focused:q.focused,formControl:m,fullWidth:a,hiddenLabel:q.hiddenLabel,multiline:s,size:q.size,type:p},y=u.root??o.Root??ym,b=u.input??o.Input??vm,[v,C]=rc("notchedOutline",{elementType:bm,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:g,externalForwardedProps:{slots:u,slotProps:d},additionalProps:{label:null!=l&&""!==l&&q.required?(0,Yo.jsxs)(r.Fragment,{children:[l," ","*"]}):l}});return(0,Yo.jsx)(gm,{slots:{root:y,input:b},slotProps:d,renderSuffix:e=>(0,Yo.jsx)(v,{...C,notched:void 0!==c?c:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:i,multiline:s,ref:t,type:p,...f,classes:{...h,notchedOutline:null}})}));Cm.muiName="Input";const Sm=Cm;function Em(e){return ci("MuiInputAdornment",e)}const Om=ui("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Im;const xm=Bi("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${fl(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(pl((({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Om.positionStart}&:not(.${Om.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]})))),Rm=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:l=!1,disableTypography:s=!1,position:c,variant:u,...d}=n,p=su()||{};let f=u;u&&p.variant,p&&!f&&(f=p.variant);const h={...n,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:l,position:c,variant:f},m=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e;return wi({root:["root",n&&"disablePointerEvents",o&&`position${fl(o)}`,i,r&&"hiddenLabel",a&&`size${fl(a)}`]},Em,t)})(h);return(0,Yo.jsx)(lu.Provider,{value:null,children:(0,Yo.jsx)(xm,{as:i,ownerState:h,className:xi(m.root,a),ref:t,...d,children:"string"!=typeof o||s?(0,Yo.jsxs)(r.Fragment,{children:["start"===c?Im||(Im=(0,Yo.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,o]}):(0,Yo.jsx)(Cl,{color:"textSecondary",children:o})})})})),wm=Rm,Lm=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.588 11.415a6 6 0 1 1 2.828-2.829l4.101 4a1.5 1.5 0 0 1 .014 2.134l-.707.707a1.5 1.5 0 0 1-2.108.014l-4.128-4.026ZM11 6A5 5 0 1 0 1 6a5 5 0 0 0 10 0Zm-1.52 4.888 3.934 3.837a.5.5 0 0 0 .703-.005l.707-.707a.5.5 0 0 0-.005-.711l-3.926-3.829a6.034 6.034 0 0 1-1.413 1.415Z"}}]}))(e)),Nm="/qListObjectDef",_m=e=>e?.substring(0,64e3),Tm=Bi(Sm,{shouldForwardProp:e=>!["styles","dense","isRtl"].includes(e)})((({styles:e,dense:t,isRtl:n})=>{let r={};return t&&(r={fontSize:12,"& input":{paddingTop:"5px",paddingBottom:"5px",color:e.search.color,textAlign:n?"right":"left"}}),{display:"flex",border:"none",fontSize:14,borderRadius:0,backgroundColor:e.search.backgroundColor,backdropFilter:e.background.backgroundImage?e.search.backdropFilter:void 0,paddingLeft:0,paddingRight:0,flexDirection:n?"row-reverse":"row","& fieldset":{borderColor:`${e.search.borderColor}`,borderWidth:"1px 0 1px 0",borderRadius:0},"&.Mui-focused fieldset":{borderColor:`${e.search.highlightBorderColor} !important`},"& .MuiInputBase-root":{...e.search},"& *":{color:e.search.color},"& input":{color:e.search.color,textAlign:n?"right":"left"},...r}})),Dm=Bi(vs)((()=>({border:0,padding:"8px",cursor:"pointer",lineHeight:"12px","&:hover":{backgroundColor:"transparent"},":focus-visible":{borderRadius:"4px",boxShadow:"inset 0 0 0 2px rgb(2, 117, 217)"}})));function Am({popoverOpen:e,selections:t,selectionState:n,model:o,keyboard:a,dense:i=!1,visible:l=!0,autoFocus:s=!0,beginSelectionOnFocus:c=!0,wildCardSearch:u=!1,searchEnabled:d,direction:p,hide:f,styles:h},m){const{translator:q}=(0,r.useContext)(bi),[g,y]=(0,r.useState)(""),[b,v]=(0,r.useState)(!1),C=(0,r.useRef)(),S=(0,r.useRef)(),E=q.get("Listbox.Clear.Search"),{getStoreValue:O,setStoreValue:I}=lp(o),x="rtl"===p,R=async()=>{try{await o.abortListObjectSearch(Nm)}finally{y("")}};(0,r.useEffect)((()=>l?()=>R():()=>{}),[l]),(0,r.useEffect)((()=>(t.on("deactivated",R),()=>{t.removeListener&&t.removeListener("deactivated",R)})),[]),(0,r.useEffect)((()=>{if(b&&C.current){const e=g.length-1;C.current.setSelectionRange(e,e),v(!1)}}),[b,C.current]),(0,r.useEffect)((()=>{I("inputText",g)}),[g]);const w=()=>{C.current?.focus()},L=()=>{R(),w()};return(0,r.useImperativeHandle)(m,(()=>({focus(){w()}}))),l&&!1!==d?r.createElement(Tm,{styles:h,dense:i,isRtl:x,startAdornment:r.createElement(wm,{position:"start",sx:{marginLeft:i?"8px":"9px"}},r.createElement(Lm,{size:i?"small":"normal"})),endAdornment:r.createElement(wm,{position:"end",sx:{marginLeft:0}},""!==g&&r.createElement(Dm,{tabIndex:0,ref:S,title:E,"aria-label":E,onClick:L,onKeyDown:e=>{const t=e.currentTarget.closest(".listbox-container");switch(e.key){case"Enter":L();break;case"Tab":e.shiftKey?w():xd(t);break;default:return}e.preventDefault(),e.stopPropagation()}},r.createElement(hh,{size:i?"small":"normal"}))),className:"search",inputRef:C,size:"small",fullWidth:!0,placeholder:q.get("Listbox.Search"),value:g,onFocus:()=>{u&&(y("**"),v(!0)),c&&!n.selectDisabled()&&!t.isModal()&&t.begin("/qListObjectDef")},onChange:async e=>{const t=_m(e.target.value);return y(t),t.length?o.searchListObjectFor(Nm,t):R()},onKeyDown:async r=>{const{currentTarget:i}=r,l=i.closest(".listbox-container");switch(r.key){case"Enter":(async()=>{let e;const r=_m(g),a=await o.searchListObjectFor(Nm,r);n.selectDisabled()||a&&r.length&&O("listCount")>0&&(e=o.acceptListObjectSearch(Nm,!0),t.selectionsMade=!0,n.clearItemStates(!1),y(""))})();break;case"Escape":if(xd(l),t.cancel(),e)return;break;case"Tab":r.shiftKey?Rd(l)||a.focusSelection():S.current?S.current.focus():xd(l);break;case"f":case"F":if(!r.ctrlKey&&!r.metaKey)return;f&&(f(),xd(l));break;default:return}r.preventDefault(),r.stopPropagation()},autoFocus:s,inputProps:{tabIndex:a.innerTabStops?0:-1,"data-testid":"search-input-field","aria-label":q.get("Listbox.Search.ScreenReaderInstructions")}}):null}const Pm=(0,r.forwardRef)(Am);function km(e){if(!e.session)return[];const{selectionStore:t}=(0,r.useContext)(bi),[n]=t.useAppSelectionsStore(),o=e?e.id:null;let a=n.get(o);return(0,r.useEffect)((()=>{e&&!a&&(a=function({app:e,selectionStore:t}){const n=`${e.id}`,{modalObjectStore:r,appModalStore:o}=t,a=async(e=!0)=>{const{model:t,objectSelections:o}=r.get(n)||{};t&&(await t.endSelections(e),r.clear(n),o.emit("deactivated"))},i={begin:async({model:t,paths:o,accept:i=!0,objectSelections:l})=>{if(l===r.get(n)?.objectSelections)return;a(i),r.set(n,{model:t,objectSelections:l});const s=Array.isArray(o)?o:[o],c=async o=>{try{await t.beginSelections(s),r.set(n,{model:t,objectSelections:l})}catch(t){6003!==t.code||o?r.clear(n):(await e.abortModal(i),c(!0))}};await c()},end:a};o.set(n,i);const l={model:e,isInModal:()=>!!r.get(n),isModal:e=>e?r.get(n)?.objectSelections===e:!!r.get(n),forward:()=>i.end().then((()=>e.forward())),back:()=>i.end().then((()=>e.back())),clear:()=>i.end().then((()=>e.clearAll())),clearField:(t,n="$")=>i.end().then((()=>e.getField(t,n).then((e=>e.clear()))))};return l}({app:e,selectionStore:t}),n.set(o,a),n.dispatch(!0))}),[e]),[a]}function Mm(e){return Object.keys(c().prototype).forEach((t=>{e[t]=c().prototype[t]})),c().init(e),e}const Fm=({appSelections:e,appModal:t,model:n})=>{let r,o=!1,a=!1;const i={id:n.id,setLayout(e){r=e},begin(e){const r=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",r),r.isPrevented()?Promise.resolve():(o=!0,this.emit("activated"),t.begin({model:n,paths:e,accept:!0,objectSelections:i}))},clear(){return a=!1,this.emit("cleared"),r.qListObject?n.clearSelections("/qListObjectDef"):n.resetMadeSelections()},confirm(){return a=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),t.end(!0)},cancel(){return a=!1,o=!1,this.emit("canceled"),this.emit("deactivated"),t.end(!1)},async select(t){const r=this.begin([t.params[0]]);if(!e.isModal())return!1;await r;const o=await n[t.method](...t.params);return a="resetMadeSelections"!==t.method,!!o||(n.resetMadeSelections(),!1)},canClear:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked&&!r.qListObject.qDimensionInfo.qIsOneAndOnlyOne:a,canConfirm:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked:a,canCancel:()=>!(r&&r.qListObject&&r.qListObject.qDimensionInfo&&r.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>e.isModal(i),goModal:e=>t.begin({model:n,paths:e,accept:!1,objectSelections:i}),noModal:(e=!1)=>t.end(e)};return Mm(i),i};function Bm(e,t,n,o){const a=Array.isArray(n)?n:[n],[i]=km(e),[l]=nl(t),{appModalStore:s}=(0,r.useContext)(bi).selectionStore,c=s.get(e.id),[u,d]=(0,r.useState)();return(0,r.useEffect)((()=>{i&&t&&!u&&d(Fm({appSelections:i,appModal:c,model:t}))}),[i,t]),(0,r.useEffect)((()=>{if(!u)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=(({elements:e,objectSelections:t,options:n={}})=>{const r=function({elements:e,handleClickOutside:t}){return n=>{if(!document.contains(n.target))return;const r=e.map((e=>"string"==typeof e?document.querySelector(e):e?.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((e=>e.contains(n.target)))&&t(n)}}({elements:e,handleClickOutside:()=>t.confirm.call(t)});return{activateClickOut(){document.addEventListener("mousedown",r),n?.onSelectionActivated?.()},deactivateClickOut(){document.removeEventListener("mousedown",r),n?.onSelectionDeactivated?.()}}})({elements:a,objectSelections:u,options:o});return u.addListener("activated",e),u.addListener("deactivated",t),()=>{u.isActive()&&u.confirm(),u.removeListener("activated",e),u.removeListener("deactivated",t)}}),[u]),(0,r.useEffect)((()=>{u&&u.setLayout(l)}),[u,l]),[u]}function jm(e={}){const t={itemStates:{},ignoreSelectionState:!1,selectedInEngine:[],enginePages:[],setPages:void 0,lastRowCount:void 0,lastApprMaxGlyphCount:void 0,selectDisabled:void 0,...e,update({setPages:e,pages:n,isSingleSelect:r,selectDisabled:o,layout:a}){this.setPages=e;const i=this.lastRowCount===a.qListObject.qSize.qcy,l=this.lastApprMaxGlyphCount===a.qListObject.qDimensionInfo.qApprMaxGlyphCount;i&&l||(this.lastRowCount=a.qListObject.qSize.qcy,this.lastApprMaxGlyphCount=a.qListObject.qDimensionInfo.qApprMaxGlyphCount,this.clearItemStates(!1)),t.enginePages!==n&&void 0!==n&&(t.enginePages=n??[],t.selectedInEngine=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return n=t.qState,!!$c.includes(n)&&t.qElemNumber;var n}));return t.filter((e=>!1!==e))}));return Gc(t)}(n),t.selectableValuesUpdating=!1,t.triggerStateChanged()),t.isSingleSelect=r,t.selectDisabled=o||t.selectDisabled,t.isDimCalculated=a?.qListObject?.qDimensionInfo?.qIsCalculated??!1},allowedToSelect:()=>!(t.selectDisabled()||t.isDimCalculated&&t.selectableValuesUpdating),setSelectableValuesUpdating(){t.selectableValuesUpdating=!0},useClientItemState:e=>t.ignoreSelectionState||e in t.itemStates,isSelected:e=>t.useClientItemState(e)?!!t.itemStates[e]:t.selectedInEngine.includes(e),getState(e){const{qElemNumber:n,qState:r}=e;return t.useClientItemState(n)?t.itemStates[n]?"XS"===r?"XS":"S":"S"===r||"XS"===r?"A":r:r},updateItemNoEvents(e,n,r){const o=t.isSelected(e);o&&!n?t.itemStates[e]=!1:o||(r?.push(e),t.itemStates[e]=!0)},triggerStateChanged(){if(this.setPages){const e=t.applySelectionsOnPages(t.enginePages);this.setPages(e)}},applySelectionsOnPages(e){const n=e.map((e=>{const n=e.qMatrix.map((e=>{const[n]=e,r=t.getState(n);return[{...n,qState:r},...e.slice(1)]}));return{...e,qMatrix:n}}));return n},updateItem(e,n,r){t.updateItemNoEvents(e,n,r),t.triggerStateChanged()},updateItems(e,n,r){e.forEach((e=>{t.updateItemNoEvents(e,n,r)})),t.triggerStateChanged()},clearItemStates(e){t.itemStates={},t.ignoreSelectionState=e}};return t}const zm=(e,t,n=void 0)=>e?.[t]??n;function $m(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return zm(t,"qSelected",0)+zm(t,"qSelectedExcluded",0)+zm(t,"qLocked",0)+zm(t,"qLockedExcluded",0)>0}function Gm(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function Vm(e){if("object"==typeof e&&Gm(e))return(e.r<<16)+(e.g<<8)+e.b;let t=0,n=0,r=0;if("string"==typeof e){let o;(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))?(t=parseInt(o[1],10),n=parseInt(o[2],10),r=parseInt(o[3],10)):(o=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))?(t=parseInt(o[1],16),n=parseInt(o[2],16),r=parseInt(o[3],16)):(o=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))&&(t=parseInt(o[1]+o[1],16),n=parseInt(o[2]+o[2],16),r=parseInt(o[3]+o[3],16))}return(t<<16)+(n<<8)+r}const Um={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function Wm(...e){const t={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:!1,spaces:{}};let n=0,r=0,o=0,a=1;if(null!==(i=e[0])&&"object"==typeof i&&"type"in i&&"qcm-color"===i.type)({r:n,g:r,b:o,a}=e[0]),t.invalid=e[0].invalid,t.spaces={...e[0].spaces};else if(Gm(e[0]))({r:n,g:r,b:o}=e[0]),"a"in e[0]&&({a}=e[0]);else if(e.length<3)if("string"==typeof e[0]){const i=e[0];let l;if(l=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))n=parseInt(l[1],10),r=parseInt(l[2],10),o=parseInt(l[3],10);else if(l=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i))n=parseInt(l[1],10),r=parseInt(l[2],10),o=parseInt(l[3],10),a=parseFloat(l[4]);else if(l=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))a=parseInt(l[1],10)/255,n=parseInt(l[2],10),r=parseInt(l[3],10),o=parseInt(l[4],10);else if(l=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(i))n=parseInt(l[1],16),r=parseInt(l[2],16),o=parseInt(l[3],16),a=1;else if(l=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(i))n=parseInt(l[1]+l[1],16),r=parseInt(l[2]+l[2],16),o=parseInt(l[3]+l[3],16),a=1;else if(l=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(l[1]),t=parseFloat(l[3]),i=parseFloat(l[5]);e%=360,t/=100,i/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,i=i<0?0:i>1?1:i;const s=i<=.5?2*i*t:(2-2*i)*t;let c=e/60;const u=s*(1-Math.abs(c%2-1));let d=[];switch(c=Math.floor(c),c){case 0:d=[s,u,0];break;case 1:d=[u,s,0];break;case 2:d=[0,s,u];break;case 3:d=[0,u,s];break;case 4:d=[u,0,s];break;case 5:d=[s,0,u];break;default:d=[0,0,0]}const p=i-.5*s;n=d[0]+p,r=d[1]+p,o=d[2]+p,n=Math.round(255*n),r=Math.round(255*r),o=Math.round(255*o),a=1}else if(l=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i)){let e=parseFloat(l[1]),t=parseFloat(l[3]),i=parseFloat(l[5]);a=parseFloat(l[7]),e%=360,t/=100,i/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,i=i<0?0:i>1?1:i;const s=i<=.5?2*i*t:(2-2*i)*t;let c=e/60;const u=s*(1-Math.abs(c%2-1));let d=[];switch(c=Math.floor(c),c){case 0:d=[s,u,0];break;case 1:d=[u,s,0];break;case 2:d=[0,s,u];break;case 3:d=[0,u,s];break;case 4:d=[u,0,s];break;case 5:d=[s,0,u];break;default:d=[0,0,0]}const p=i-.5*s;n=d[0]+p,r=d[1]+p,o=d[2]+p,n=Math.round(255*n),r=Math.round(255*r),o=Math.round(255*o)}else if(l=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(l[1]),t=parseFloat(l[3]),i=parseFloat(l[5]);e%=360,t/=100,i/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,i=i<0?0:i>1?1:i;const s=i*t;let c=e/60;const u=s*(1-Math.abs(c%2-1));let d=[];switch(c=Math.floor(c),c){case 0:d=[s,u,0];break;case 1:d=[u,s,0];break;case 2:d=[0,s,u];break;case 3:d=[0,u,s];break;case 4:d=[u,0,s];break;case 5:d=[s,0,u];break;default:d=[0,0,0]}const p=i-s;n=d[0]+p,r=d[1]+p,o=d[2]+p,n=Math.round(255*n),r=Math.round(255*r),o=Math.round(255*o),a=1}else{const e=i.toLowerCase();if(function(e){return e in Um}(e)){const t=Um[e];({r:n,g:r,b:o}=t),a="a"in t?t.a:1}else t.invalid=!0}}else"number"==typeof e[0]&&e[0]>=0&&"argb"===e[1]?(a=(4278190080&e[0])>>>24,a/=255,n=(16711680&e[0])>>16,r=(65280&e[0])>>8,o=255&e[0]):"number"==typeof e[0]&&e[0]>=0?(n=(16711680&e[0])>>16,r=(65280&e[0])>>8,o=255&e[0]):t.invalid=!0;else 3===e.length||4===e.length?(n=e[0],r=e[1],o=e[2],a=4===e.length?e[3]:1):t.invalid=!0;var i;return Number.isNaN(+n+r+o+a)&&(t.invalid=!0),t.r=Math.floor(n),t.g=Math.floor(r),t.b=Math.floor(o),t.a=a,t}function Hm(e){let t,n,r;if(Gm(e))return t=e.r.toString(16),n=e.g.toString(16),r=e.b.toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${[t,n,r].join("")}`;const o="string"==typeof e?Vm(e):e;return t=((16711680&o)>>16).toString(16),n=((65280&o)>>8).toString(16),r=(255&o).toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${t}${n}${r}`}function Km(e){let t,n,r=0;const o="string"==typeof e?Wm(e):e,a=o.r/255,i=o.g/255,l=o.b/255,{a:s}=o,c=Math.max(a,i,l),u=Math.min(a,i,l),d=(c+u)/2;if(c===u)t=0,r=0;else{switch(n=c-u,t=d>.5?n/(2-c-u):n/(c+u),c){case a:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-a)/n+2;break;case l:r=(a-i)/n+4}r/=6}return{h:360*r,s:100*t,l:100*d,a:s}}function Xm(e){let t,n,r=0;const o="string"==typeof e?Wm(e):e,a=o.r/255,i=o.g/255,l=o.b/255,s=Math.max(a,i,l),c=Math.min(a,i,l),u=s;if(s===c)t=0,r=0;else{switch(n=s-c,t=0===n?0:n/u,s){case a:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-a)/n+2;break;case l:r=(a-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*u}}function Ym(e){if(Gm(e))return`rgb(${e.r}, ${e.g}, ${e.b})`;const t="string"==typeof e?Vm(e):e;return`rgb(${(16711680&t)>>16}, ${(65280&t)>>8}, ${255&t})`}function Jm(e,t){return Gm(e)?`rgba(${e.r}, ${e.g}, ${e.b}, ${void 0!==t?t:e.a})`:Jm(Wm(e),t)}function Zm(e){return Gm(e)?1===e.a?Ym(e):Jm(e):Zm(Wm(e))}const Qm=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function eq(e){return.2126*Qm(e.r)+.7152*Qm(e.g)+.0722*Qm(e.b)}function tq(...e){const t=Wm(...e);return t.invalid||eq(t)<.4}function nq(...e){const t=Wm(...e),n={type:t.type,r:t.r,g:t.g,b:t.b,a:t.a,invalid:t.invalid,spaces:t.spaces},r=()=>(n.spaces.hslaObject||(n.spaces.hslaObject=Km(n)),n.spaces.hslaObject),o=e=>{const t=r(),{h:n,s:o,l:a,a:i}=t;return`hsla(${n}, ${o}, ${Math.max(0,Math.min(a+e,100))}, ${i})`};return{get type(){return n.type},isInvalid:()=>n.invalid,get r(){return n.r},get g(){return n.g},get b(){return n.b},get a(){return n.a},getR:()=>n.r,getG:()=>n.g,getB:()=>n.b,getAlpha:()=>n.a,setAlpha:e=>{n.a=e,n.spaces={}},isEqualTo:e=>{let t;if("string"==typeof e)t=Wm(e);else{if(e.type!==n.type)return!1;t=e}return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a},isDark:()=>tq(n),getRGB:()=>(n.spaces.rgb||(n.spaces.rgb=Ym(n)),n.spaces.rgb),getRGBA:()=>(n.spaces.rgba||(n.spaces.rgba=Jm(n)),n.spaces.rgba),getString:()=>(n.spaces.string||(n.spaces.string=Zm(n)),n.spaces.string),getHex:()=>(n.spaces.hex||(n.spaces.hex=Hm(n)),n.spaces.hex),getHSL:()=>(n.spaces.hsl||(n.spaces.hsl=function(e){let t,n,r=0;const o="string"==typeof e?Wm(e):e,a=o.r/255,i=o.g/255,l=o.b/255,s=Math.max(a,i,l),c=Math.min(a,i,l),u=(s+c)/2;if(s===c)t=0,r=0;else{switch(n=s-c,t=u>.5?n/(2-s-c):n/(s+c),s){case a:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-a)/n+2;break;case l:r=(a-i)/n+4}r/=6}return`hsl(${360*r}, ${100*t}, ${100*u})`}(n)),n.spaces.hsl),getHSLA:()=>(n.spaces.hsla||(n.spaces.hsla=function(e){const{h:t,s:n,l:r,a:o}=Km(e);return`hsla(${t}, ${n}, ${r}, ${o})`}(n)),n.spaces.hsla),getHSLAObject:r,getShiftedHSLA:o,getHSV:()=>(n.spaces.hsv||(n.spaces.hsv=function(e){const{h:t,s:n,v:r}=Xm(e);return`hsv(${t}, ${n}, ${r})`}(n)),n.spaces.hsv),getHSVObject:()=>(n.spaces.hsvObject||(n.spaces.hsvObject=Xm(n)),n.spaces.hsvObject),blend:(e,t)=>`rgba(${Math.floor(n.r+(e.r-n.r)*t)}, ${Math.floor(n.g+(e.g-n.g)*t)}, ${Math.floor(n.b+(e.b-n.b)*t)}, ${Math.floor(n.a+(e.getAlpha()-n.a)*t)})`,getBrightenedColor:(e=1)=>nq(o(18*e)),getDarkenedColor:(e=1)=>nq(o(18*-e))}}function rq(e,t){if(!e||!t)return;const n=eq(e),r=eq(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function oq(e,t){const n=nq("#FFFFFF"),r=nq(e),o=nq(t);if(r.isInvalid()||o.isInvalid()||r.getAlpha()<1||o.getAlpha()<1)return t;const a=rq(n,r),i=rq(o,r),l=a>i||a>4.5;return!l&&i>3?o.getHex():l?"#FFFFFF":"#000000"}function aq(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iq,lq,sq,cq="top",uq="top-right",dq="right",pq="bottom-right",fq="bottom",hq="bottom-left",mq="left",qq="top-left";aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(iq={},"equal-equal",[cq,fq]),"equal-higher",[fq,pq]),"equal-lower",[cq,uq]),"equal-void",[cq,fq]),"higher-equal",[mq,hq,cq,uq]),"higher-higher-acute",[fq,hq,mq,uq]),"higher-higher-obtuse",[fq,cq]),"higher-lower-negative",[cq,uq,dq]),"higher-lower-positive",[fq,hq,mq]),"higher-void",[cq]),aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(iq,"lower-equal",[cq]),"lower-higher-negative",[cq,qq]),"lower-higher-positive",[pq]),"lower-lower-acute",[cq,qq,mq,uq,dq]),"lower-lower-obtuse",[cq,fq]),"lower-void",[cq]),"void-equal",[cq]),"void-higher",[cq,fq]),"void-lower",[cq,fq,mq]),"void-void",[cq]),aq(iq,"unclassified",[cq,fq,dq,mq,uq,pq,hq,qq]);var gq=function(){if(sq)return lq;sq=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},a=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!a)return!1;for(r in n);return void 0===r||e.call(n,r)},i=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return lq=function e(){var t,n,r,s,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(a(s)||(c=o(s)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},i(d,{name:n,newValue:e(h,u,s)})):void 0!==s&&i(d,{name:n,newValue:s}));return d},lq}();function yq(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function bq(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function vq(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(gq);var Cq=1/.7,Sq="\\s*([+-]?\\d+)\\s*",Eq="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Oq="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Iq=/^#([0-9a-f]{3,8})$/,xq=new RegExp(`^rgb\\(${Sq},${Sq},${Sq}\\)$`),Rq=new RegExp(`^rgb\\(${Oq},${Oq},${Oq}\\)$`),wq=new RegExp(`^rgba\\(${Sq},${Sq},${Sq},${Eq}\\)$`),Lq=new RegExp(`^rgba\\(${Oq},${Oq},${Oq},${Eq}\\)$`),Nq=new RegExp(`^hsl\\(${Eq},${Oq},${Oq}\\)$`),_q=new RegExp(`^hsla\\(${Eq},${Oq},${Oq},${Eq}\\)$`),Tq={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Dq(){return this.rgb().formatHex()}function Aq(){return this.rgb().formatRgb()}function Pq(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Iq.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?kq(t):3===n?new jq(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Mq(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Mq(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xq.exec(e))?new jq(t[1],t[2],t[3],1):(t=Rq.exec(e))?new jq(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=wq.exec(e))?Mq(t[1],t[2],t[3],t[4]):(t=Lq.exec(e))?Mq(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Nq.exec(e))?Wq(t[1],t[2]/100,t[3]/100,1):(t=_q.exec(e))?Wq(t[1],t[2]/100,t[3]/100,t[4]):Tq.hasOwnProperty(e)?kq(Tq[e]):"transparent"===e?new jq(NaN,NaN,NaN,0):null}function kq(e){return new jq(e>>16&255,e>>8&255,255&e,1)}function Mq(e,t,n,r){return r<=0&&(e=t=n=NaN),new jq(e,t,n,r)}function Fq(e){return e instanceof vq||(e=Pq(e)),e?new jq((e=e.rgb()).r,e.g,e.b,e.opacity):new jq}function Bq(e,t,n,r){return 1===arguments.length?Fq(e):new jq(e,t,n,null==r?1:r)}function jq(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function zq(){return`#${Uq(this.r)}${Uq(this.g)}${Uq(this.b)}`}function $q(){const e=Gq(this.opacity);return`${1===e?"rgb(":"rgba("}${Vq(this.r)}, ${Vq(this.g)}, ${Vq(this.b)}${1===e?")":`, ${e})`}`}function Gq(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Vq(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Uq(e){return((e=Vq(e))<16?"0":"")+e.toString(16)}function Wq(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Kq(e,t,n,r)}function Hq(e){if(e instanceof Kq)return new Kq(e.h,e.s,e.l,e.opacity);if(e instanceof vq||(e=Pq(e)),!e)return new Kq;if(e instanceof Kq)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,l=a-o,s=(a+o)/2;return l?(i=t===a?(n-r)/l+6*(n<r):n===a?(r-t)/l+2:(t-n)/l+4,l/=s<.5?a+o:2-a-o,i*=60):l=s>0&&s<1?0:i,new Kq(i,l,s,e.opacity)}function Kq(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Xq(e){return(e=(e||0)%360)<0?e+360:e}function Yq(e){return Math.max(0,Math.min(1,e||0))}function Jq(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}yq(vq,Pq,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Dq,formatHex:Dq,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Hq(this).formatHsl()},formatRgb:Aq,toString:Aq}),yq(jq,Bq,bq(vq,{brighter(e){return e=null==e?Cq:Math.pow(Cq,e),new jq(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new jq(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new jq(Vq(this.r),Vq(this.g),Vq(this.b),Gq(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:zq,formatHex:zq,formatHex8:function(){return`#${Uq(this.r)}${Uq(this.g)}${Uq(this.b)}${Uq(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:$q,toString:$q})),yq(Kq,(function(e,t,n,r){return 1===arguments.length?Hq(e):new Kq(e,t,n,null==r?1:r)}),bq(vq,{brighter(e){return e=null==e?Cq:Math.pow(Cq,e),new Kq(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Kq(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new jq(Jq(e>=240?e-240:e+120,o,r),Jq(e,o,r),Jq(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Kq(Xq(this.h),Yq(this.s),Yq(this.l),Gq(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Gq(this.opacity);return`${1===e?"hsl(":"hsla("}${Xq(this.h)}, ${100*Yq(this.s)}%, ${100*Yq(this.l)}%${1===e?")":`, ${e})`}`}}));const Zq=Math.PI/180,Qq=180/Math.PI,eg=4/29,tg=6/29,ng=3*tg*tg;function rg(e){if(e instanceof og)return new og(e.l,e.a,e.b,e.opacity);if(e instanceof cg)return ug(e);e instanceof jq||(e=Fq(e));var t,n,r=sg(e.r),o=sg(e.g),a=sg(e.b),i=ag((.2225045*r+.7168786*o+.0606169*a)/1);return r===o&&o===a?t=n=i:(t=ag((.4360747*r+.3850649*o+.1430804*a)/.96422),n=ag((.0139322*r+.0971045*o+.7141733*a)/.82521)),new og(116*i-16,500*(t-i),200*(i-n),e.opacity)}function og(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ag(e){return e>.008856451679035631?Math.pow(e,1/3):e/ng+eg}function ig(e){return e>tg?e*e*e:ng*(e-eg)}function lg(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function sg(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function cg(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function ug(e){if(isNaN(e.h))return new og(e.l,0,0,e.opacity);var t=e.h*Zq;return new og(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}yq(og,(function(e,t,n,r){return 1===arguments.length?rg(e):new og(e,t,n,null==r?1:r)}),bq(vq,{brighter(e){return new og(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new og(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new jq(lg(3.1338561*(t=.96422*ig(t))-1.6168667*(e=1*ig(e))-.4906146*(n=.82521*ig(n))),lg(-.9787684*t+1.9161415*e+.033454*n),lg(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),yq(cg,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof cg)return new cg(e.h,e.c,e.l,e.opacity);if(e instanceof og||(e=rg(e)),0===e.a&&0===e.b)return new cg(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Qq;return new cg(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new cg(e,t,n,null==r?1:r)}),bq(vq,{brighter(e){return new cg(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new cg(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return ug(this).rgb()}}));var dg=e=>()=>e;function pg(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):dg(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?pg:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):dg(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Bq(e)).r,(t=Bq(t)).r),o=n(e.g,t.g),a=n(e.b,t.b),i=pg(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=a(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);var fg="center",hg="bottom";function mg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qg(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 gg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qg(Object(n),!0).forEach((function(t){mg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}[{key:"NoDataExist",alignment:fg,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:fg,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:fg,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:fg},{key:"DataRangeIncludingZero",alignment:hg},{key:"LimitedData",alignment:hg},{key:"NegativeOrZeroValues",alignment:hg}].reduce((function(e,t){return e[t.key]=t,e}),{});var yg=Object.prototype.hasOwnProperty,bg=Object.prototype.toString,vg=Object.defineProperty,Cg=Object.getOwnPropertyDescriptor,Sg=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===bg.call(e)},Eg=function(e){if(!e||"[object Object]"!==bg.call(e))return!1;var t,n=yg.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&yg.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||yg.call(e,t)},Og=function(e,t){vg&&"__proto__"===t.name?vg(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Ig=function(e,t){if("__proto__"===t){if(!yg.call(e,t))return;if(Cg)return Cg(e,t).value}return e[t]},xg=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Ig(l,n),l!==(o=Ig(t,n))&&(u&&o&&(Eg(o)||(a=Sg(o)))?(a?(a=!1,i=r&&Sg(r)?r:[]):i=r&&Eg(r)?r:{},Og(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&Og(l,{name:n,newValue:o}));return l};function Rg(e,t,n,r){if(!e)return-1;const o=n.cache,a=e.origin?e.origin():null;a&&(e=a);let i=o.fields.indexOf(e),l=-1,s=-1;if(-1===i)for(let t=0;t<o.wrappedFields.length;t++)if(s=o.wrappedFields[t].attrDims.map((e=>e.instance)).indexOf(e),l=o.wrappedFields[t].attrExps.map((e=>e.instance)).indexOf(e),-1!==s||-1!==l){i=t;break}if(Array.isArray(r)&&r.some(((e,t)=>e!==t))){const e=r.indexOf(i);-1!==e&&(i=e)}return i-=t.qArea.qLeft,i<0||i>=t.qArea.qWidth?-1:s>=0?e=>e[i].qAttrDims.qValues[s]:l>=0?e=>e[i].qAttrExps.qValues[l]:e=>e[i]}function wg(e,t,n){let{key:r}=n;const o={value:"function"==typeof e.value?e.value(t):void 0!==e.value?e.value:t};return o.label="function"==typeof e.label?e.label(t):void 0!==e.label?String(e.label):String(o.value),e.field&&(o.source={key:r,field:e.field.key()}),o}function Lg(e){let{cache:t,f:n,mainCell:r,p:o,prop:a,page:i,rowIdx:l,row:s,sourceKey:c,target:u,targetProp:d,columnOrder:p}=e,f=r;if(o.field&&o.field!==n){const e=Rg(o.field,i,{cache:t},p);if(-1===e)return;f=xg({qRow:l},e(s))}u[d]=wg(o,f,{key:c})}function Ng(e,t,n,r){const o=Array.isArray(e)?e:[e];let a=[];for(let e=0;e<o.length;e++)if(void 0!==o[e].field){const i=t.raw(),l=t.key(),s="object"==typeof o[e].field?o[e].field:t.field(o[e].field),{props:c,main:u}=r.normalizeConfig(o[e],t),d=Object.keys(c),p=!!o[e].trackBy,f=typeof o[e].trackBy,h={},m=[],q=[];for(let t=0;t<i.qDataPages.length;t++){const a=Rg(s,i.qDataPages[t],{cache:n},i.qColumnOrder);if(-1!==a)for(let g=0;g<i.qDataPages[t].qMatrix.length;g++){const y=i.qDataPages[t].qArea.qTop+g,b=xg({qRow:y},a(i.qDataPages[t].qMatrix[g])),v=wg(u,b,{key:l});if(!u.filter||u.filter(b)){for(let e=0;e<d.length;e++){const r=c[d[e]];let o=r.fields||[r];r.fields&&(v[d[e]]=[]);for(let a=0;a<o.length;a++)Lg({cache:n,f:s,mainCell:b,p:o[a],prop:d[e],props:c,page:i.qDataPages[t],rowIdx:y,row:i.qDataPages[t].qMatrix[g],sourceKey:l,target:r.fields?v[d[e]]:v,targetProp:r.fields?a:d[e],columnOrder:i.qColumnOrder});if(r.fields){const t=v[d[e]].map((e=>e.value)),n=v[d[e]].map((e=>e.label));v[d[e]]={value:"function"==typeof r.value?r.value(t):void 0!==r.value?r.value:t,label:"function"==typeof r.label?r.label(n):void 0!==r.label?String(r.label):String(v[d[e]].value)}}}p&&r.track({cfg:o[e],itemData:b,obj:v,target:m,tracker:h,trackType:f}),q.push(v)}}}const g=p?r.collect(m,{main:u,propsArr:d,props:c}):q;a=[...a,...g]}return a}function _g(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function Tg(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Ag)):void 0===t&&(t=Dg);for(var n,r,o,a,i,l=new Mg(e),s=[l];n=s.pop();)if((o=t(n.data))&&(i=(o=Array.from(o)).length))for(n.children=o,a=i-1;a>=0;--a)s.push(r=o[a]=new Mg(o[a])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(kg)}function Dg(e){return e.children}function Ag(e){return Array.isArray(e)?e[1]:null}function Pg(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function kg(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Mg(e){this.data=e,this.depth=this.height=0,this.parent=null}function Fg(e){return null==e?null:function(e){if("function"!=typeof e)throw new Error;return e}(e)}Mg.prototype=Tg.prototype={constructor:Mg,count:function(){return this.eachAfter(_g)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,a=this,i=[a],l=[],s=-1;a=i.pop();)if(l.push(a),n=a.children)for(r=0,o=n.length;r<o;++r)i.push(n[r]);for(;a=l.pop();)e.call(t,a,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,a=[o],i=-1;o=a.pop();)if(e.call(t,o,++i,this),n=o.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return Tg(this).eachBefore(Pg)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)a.push(t[n])}while(a.length)}};var Bg={depth:-1},jg={},zg={};function $g(e){return e.id}function Gg(e){return e.parentId}function Vg(e){let t=e.length;if(t<2)return"";for(;--t>1&&!Ug(e,t););return e.slice(0,t)}function Ug(e,t){if("/"===e[t]){let n=0;for(;t>0&&"\\"===e[--t];)++n;if(!(1&n))return!0}return!1}function Wg(e,t){"/"===e.charAt(0)&&(e=e.substring(1));const n=e.split("/");let r,o=t;for(let e=0;e<n.length;e++){if("*"===n[e]&&Array.isArray(o)){const t=[];r=n.slice(e+1).join("/");for(let e=0;e<o.length;e++){let n=Wg(r,o[e]);Array.isArray(n)?t.push(...n):t.push(n)}return t}if(!n[e]&&Array.isArray(o)){const t=new Array(o.length);r=n.slice(e+1).join("/");for(let e=0;e<o.length;e++)t[e]=Wg(r,o[e]);return t}n[e]in o&&(o=o[n[e]])}return o}function Hg(e,t,n){let r=[];if(!e||!e.length)return r;if(t<=0){const t=n>=0?[e[n]]:e;r=[...r,...t]}else for(let o=0;o<e.length;o++)e[o].children&&e[o].children.length&&(r=[...r,...Hg(e[o].children,t-1,n)]);return r}function Kg(e,t,n){if(e===t)return e=>e;if(e>t){const n=Math.max(0,Math.min(100,e-t));return e=>{let t=e;for(let e=0;e<n;++e)t=t.parent;return t}}if(t>e){const r=Math.max(0,Math.min(100,t-e));return e=>Hg(e.children,r-1,n)}return!1}const Xg=/^qDimensionInfo(?:\/(\d+))?/,Yg=/^\/?qMeasureInfo\/(\d+)/,Jg=/\/qAttrExprInfo\/(\d+)/,Zg=/\/qAttrDimInfo\/(\d+)/;function Qg(e){return(e.qColumnOrder&&e.qColumnOrder.length?e.qColumnOrder:e.qDimensionInfo.map(((e,t)=>t))).filter((t=>t<e.qDimensionInfo.length))}function ey(e,t){let{cube:n}=t;if(!e)return-1;let r=e.origin&&e.origin()?e.origin().key():e.key(),o=!1,a=-1,i=-1,l=-1,s=-1,c=-1,u=-1,d=r;const p=n.qEffectiveInterColumnSortOrder,f=Qg(n);return Xg.test(d)&&(o=!0,a=+Xg.exec(d)[1],d=r.replace(Xg,"")),Yg.test(d)&&("K"===n.qMode?c=+Yg.exec(d)[1]:p&&-1!==p.indexOf(-1)?(c=+Yg.exec(d)[1],u=0):u=+Yg.exec(d)[1],d=d.replace(Yg,"")),d&&(Zg.exec(d)?l=+Zg.exec(d)[1]:Jg.exec(d)&&(i=+Jg.exec(d)[1])),s=o?"S"===n.qMode?f[a]:p?p.indexOf(a):a:p&&-1!==p.indexOf(-1)?p.indexOf(-1):n.qDimensionInfo.length-("K"===n.qMode?0:1),{fieldDepth:s+1,pseudoMeasureIndex:c,measureIdx:u,attrDimIdx:l,attrIdx:i}}function ty(e,t){let n,r,o=Kg(e.fieldDepth,t.fieldDepth,t.pseudoMeasureIndex);return n=t.measureIdx>=0?e=>e.data.qValues[t.measureIdx]:e=>e.data,t.attrDimIdx>=0?r=e=>{var n;return null==e||null===(n=e.qAttrDims)||void 0===n?void 0:n.qValues[t.attrDimIdx]}:t.attrIdx>=0&&(r=e=>{var n;return null==e||null===(n=e.qAttrExps)||void 0===n?void 0:n.qValues[t.attrIdx]}),{nodeFn:o,attrFn:r,valueFn:n}}function ny(e,t,n){let{key:r}=n;const o={value:"function"==typeof e.value?e.value(t):void 0!==e.value?e.value:t};return o.label="function"==typeof e.label?e.label(t):void 0!==e.label?String(e.label):String(o.value),e.field&&(o.source={key:r,field:e.field.key()}),o}function ry(e){let{propsArr:t,props:n,item:r,itemData:o,ret:a,sourceKey:i}=e;for(let e=0;e<t.length;e++){const l=n[t[e]],s=l.fields||[l];let c,u;l.fields&&(c=[],u=[]);for(let n=0;n<s.length;n++){const d=s[n];let p,f,h,m,q,g;if("primitive"===d.type?(h=d.value,g=String(d.value)):("function"==typeof d.value&&(p=e=>d.value(e,r)),"function"==typeof d.label&&(f=e=>d.label(e,r)),d.accessor?(m=d.accessor(r),Array.isArray(m)?(q=m.map(d.valueAccessor),d.attrAccessor&&(q=q.map(d.attrAccessor)),p&&(h=q.map(p),p=null),f&&(g=q.map(f),f=null),h=d.reduce?d.reduce(h):h,g=d.reduceLabel?d.reduceLabel(g,h):String(h)):(h=d.attrAccessor?d.attrAccessor(d.valueAccessor(m)):d.valueAccessor(m),g=h)):(h=o,g=o)),l.fields){const e=p?p(h):h;c.push(e),u.push(f&&null!=g?f(g):null!=g?g:String(e))}else{const n=p?p(h):h;a[t[e]]={value:n,label:f?f(g):null!=g?g:String(n)},d.field&&(a[t[e]].source={field:d.field.key(),key:i})}}c&&(a[t[e]]={value:"function"==typeof l.value?l.value(c,r):c,label:"function"==typeof l.label?l.label(u,r):u})}}const oy=(e,t,n)=>{const r="K"===e.qMode?"/qStackedDataPages/*/qData":"/qTreeDataPages/*",o="K"===e.qMode?"qSubNodes":"qNodes",a=Wg(r,e);return a&&a[0]?(t.tree=Tg(a[0],n.children||(e=>e[o])),t.tree):null};const ay=e=>{let{propsArr:t,props:n,cube:r,cache:o,itemDepthObject:a,f:i}=e;for(let e=0;e<t.length;e++){const l=n[t[e]],s=l.fields?l.fields:[l];for(let e=0;e<s.length;e++){const t=s[e];if(t.field!==i){const e=ty(a,ey(t.field,{cube:r,cache:o}));t.accessor=e.nodeFn,t.valueAccessor=e.valueFn,t.attrAccessor=e.attrFn}}}};function iy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;const o=t.raw(),a=t.key(),i="S"===o.qMode?function(e){const t=e.raw().qDataPages.length?e.raw().qDataPages[0].qMatrix:[],n=function(e){const t=e.raw().qColumnOrder,n=e.fields();return t&&t.length===n.length?t:n.map(((e,t)=>t))}(e),r=e.fields(),o=e.fields().filter((e=>"dimension"===e.type())).map((e=>n.indexOf(r.indexOf(e)))),a=e.fields().filter((e=>"measure"===e.type())).map((e=>n.indexOf(r.indexOf(e)))),i={__root:{__id:"__root",qValues:[]}};for(let e=0;e<t.length;e++){const n=t[e];let r="__root",s=!1;for(let e=0;e<o.length;e++){var l;const t=n[o[e]],a="".concat(r,"__").concat(null!==(l=t.qElemNumber)&&void 0!==l?l:t.qElemNo);i[a]||(i[a]=gg({__id:a,__parent:r,qValues:[]},t),s=!0),r=a}if(s)for(let e=0;e<a.length;e++){const t=n[a[e]];i[r].qValues.push(t)}}const s=Object.keys(i).map((e=>i[e]));return function(){var e,t=$g,n=Gg;function r(r){var o,a,i,l,s,c,u,d,p=Array.from(r),f=t,h=n,m=new Map;if(null!=e){const t=p.map(((t,n)=>function(e){let t=(e=`${e}`).length;return Ug(e,t-1)&&!Ug(e,t-2)&&(e=e.slice(0,-1)),"/"===e[0]?e:`/${e}`}(e(t,n,r)))),n=t.map(Vg),o=new Set(t).add("");for(const e of n)o.has(e)||(o.add(e),t.push(e),n.push(Vg(e)),p.push(zg));f=(e,n)=>t[n],h=(e,t)=>n[t]}for(i=0,o=p.length;i<o;++i)a=p[i],c=p[i]=new Mg(a),null!=(u=f(a,i,r))&&(u+="")&&(d=c.id=u,m.set(d,m.has(d)?jg:c)),null!=(u=h(a,i,r))&&(u+="")&&(c.parent=u);for(i=0;i<o;++i)if(u=(c=p[i]).parent){if(!(s=m.get(u)))throw new Error("missing: "+u);if(s===jg)throw new Error("ambiguous: "+u);s.children?s.children.push(c):s.children=[c],c.parent=s}else{if(l)throw new Error("multiple roots");l=c}if(!l)throw new Error("no root");if(null!=e){for(;l.data===zg&&1===l.children.length;)l=l.children[0],--o;for(let e=p.length-1;e>=0&&(c=p[e]).data===zg;--e)c.data=null}if(l.parent=Bg,l.eachBefore((function(e){e.depth=e.parent.depth+1,--o})).eachBefore(kg),l.parent=null,o>0)throw new Error("cycle");return l}return r.id=function(e){return arguments.length?(t=Fg(e),r):t},r.parentId=function(e){return arguments.length?(n=Fg(e),r):n},r.path=function(t){return arguments.length?(e=Fg(t),r):e},r}().id((e=>e.__id)).parentId((e=>e.__parent))(s)}(t):oy(o,n,e);if(!i)return null;const l=i.height,s=[];for(let a=0;a<=l;a++){let i=null;if(a>0)if("S"===o.qMode){let e=Qg(o)[a-1];i=n.fields[e]}else{let e=o.qEffectiveInterColumnSortOrder[a-1];a>o.qEffectiveInterColumnSortOrder.length&&(e=o.qDimensionInfo.length),i=n.fields[e]}const{props:l,main:c}=r.normalizeConfig(gg(gg({},e),{},{field:i?i.key():void 0}),t),u=Object.keys(l);s[a]={propsArr:u,props:l,main:c};const d=i?ey(i,{cube:o,cache:n}):{fieldDepth:0};ay({propsArr:u,props:l,cube:o,cache:n,itemDepthObject:d,f:i})}const c=i.copy().descendants(),u=i.descendants();for(let e=0;e<u.length;e++){const t=s[u[e].depth].propsArr,n=s[u[e].depth].props,r=s[u[e].depth].main,o=c[e],i=o.data,l=ny(r,i,{key:a});ry({propsArr:t,props:n,item:o,itemData:i,ret:l,sourceKey:a,isTree:!0}),u[e].data=l}return i}function ly(e,t,n,r){const o=Array.isArray(e)?e:[e];let a=[];for(let i=0;i<o.length;i++)if(void 0!==o[i].field){const l=t.raw(),s=t.key();if(!oy(l,n,e))continue;const c="object"==typeof o[i].field?o[i].field:t.field(o[i].field),{props:u,main:d}=r.normalizeConfig(o[i],t),p=Object.keys(u),f=ey(c,{cube:l,cache:n}),{nodeFn:h,attrFn:m,valueFn:q}=ty({fieldDepth:0},f);ay({propsArr:p,props:u,cube:l,cache:n,itemDepthObject:f,f:c});const g=!!o[i].trackBy,y=typeof o[i].trackBy,b={},v=[],C=h(n.tree),S=[];for(let e=0;e<C.length;e++){const t=C[e],n=m?m(q(t)):q(t);if(d.filter&&!d.filter(n))continue;const a=ny(d,n,{key:s});ry({propsArr:p,props:u,item:t,itemData:n,ret:a,sourceKey:s}),g&&r.track({cfg:o[i],itemData:n,obj:a,target:v,tracker:b,trackType:y}),S.push(a)}const E=g?r.collect(v,{main:d,propsArr:p,props:u}):S;a=[...a,...E]}return a}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self&&self;var sy,cy,uy=(sy=function(e){e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,a,i,l,s,c,u,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),q=m.search(/[0-9\-\+#]/),g=p-q,y=e.substring(g,g+1),b=g+("."===y||","===y?1:0),v=q>0?e.substring(b,p):"";if(n=(t="-"===(e=e.substring(f,b)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",a=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),u=e[0].split(a),e[0]=u.join(""),(i=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-i;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=u[1]&&u[u.length-1].length){for(m="",g=(d=t[0]).length%s,p=d.length,b=0;b<p;b++)m+=d.charAt(b),!((b-g+1)%s)&&b<p-s&&(m+=a);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+v}},sy(cy={exports:{}}),cy.exports);function dy(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}const py={3:"k",6:"M",9:"G",12:"T",15:"P",18:"E",21:"Z",24:"Y","-3":"m","-6":"μ","-9":"n","-12":"p","-15":"f","-18":"a","-21":"z","-24":"y"},fy=/%\)?$/,hy=/^\(r(0[2-9]|[12]\d|3[0-6])\)/i,my=/^\(oct\)/i,qy=/^\(dec\)/i,gy=/^\(hex\)/i,yy=/^\(bin\)/i,by=/^\(rom\)/i,vy=/^(\(rom\)|\(bin\)|\(hex\)|\(dec\)|\(oct\)|\(r(0[2-9]|[12]\d|3[0-6])\))/i,Cy=/#|0/g;function Sy(e,t,n,r){return e=e.toString(t),n[1]===n[1].toUpperCase()&&(e=e.toUpperCase()),e.length-e.indexOf(".")>10&&(e=e.slice(0,e.indexOf(".")+11)),e.replace(".",r||".")}function Ey(e,t,n){const r=dy(e);return n?r:new RegExp(r||"",t)}function Oy(e,t,n,r){let o,a,i,l,s,c,u,d,p,f=e.pattern;var h,m;r&&(e.abbreviate=!0),h=t,(m=n)&&(m=dy(m)),h&&(h=dy(h)),p=new RegExp("(?:[#0]+".concat(h,")?[#0]+(?:").concat(m,"[#0]+)?")),i=f.match(p),i=i?i[0]:"",l=i?f.substr(0,f.indexOf(i)):f,s=i?f.substring(f.indexOf(i)+i.length):"",i||(i=f?"#":"##########"),t&&t===n&&(o=i.split(n),a=o.pop(),i=o.join("")+n+a,t=""),c=t,t=/,/.test(n)?"¤":",",c&&(i=i.replace(Ey(c,"g"),t)),u=n,n=".",u&&(i=i.replace(Ey(u,"g"),n)),d=i.match(/#/g),d=d?d.length:0;const q=f.split(u);let g;q[1]&&(g=q[1].match(Cy)),e.prefix=l||"",e.postfix=s||"",e.pattern=f,e.maxPrecision=g?g.length:2,e.percentage=fy.test(f),e.numericPattern=i||"",e.numericRegex=new RegExp("".concat(Ey(t,null,!0),"|").concat(Ey(n,null,!0)),"g"),e.groupTemp=c,e.decTemp=u,e.t=t,e.d=n,e.temp=d}class Iy{constructor(e,t,n,r,o){this.localeInfo=e,this.pattern=t,this.thousandDelimiter=n||",",this.decimalDelimiter=r||".",this.type=o||"numeric",this.patternSeparator=";",this.abbreviations=function(e,t){if(!e||!e.qNumericalAbbreviation)return py;const n={};return e.qNumericalAbbreviation.split(t).forEach((e=>{let t=e.split(":");2===t.length&&(n[t[0]]=t[1])})),n}(e,this.patternSeparator),this.prepare()}clone(){const e=new Iy(this.localeInfo,this.pattern,this.thousandDelimiter,this.decimalDelimiter,this.type);return e.subtype=this.subtype,e}format(e,t,n,r){return this.prepare(t,n,r),this.formatValue(e)}prepare(e,t,n){let r;if(void 0===e&&(e=this.pattern),void 0===t&&(t=this.thousandDelimiter),void 0===n&&(n=this.decimalDelimiter),!e)return void(this._prepared={pattern:!1});this._prepared={positive:{d:n,t,abbreviate:!1,isFunctional:!1,prefix:"",postfix:""},negative:{d:n,t,abbreviate:!1,isFunctional:!1,prefix:"",postfix:""},zero:{d:n,t,abbreviate:!1,isFunctional:!1,prefix:"",postfix:""}},r=this._prepared,e=e.split(this.patternSeparator),r.positive.pattern=e[0],r.negative.pattern=e[1],r.zero.pattern=e[2],vy.test(e[0])&&(r.positive.isFunctional=!0),e[1]?vy.test(e[1])&&(r.negative.isFunctional=!0):r.negative=!1,e[2]?vy.test(e[2])&&(r.zero.isFunctional=!0):r.zero=!1;const o="U"===this.type;r.positive.isFunctional||Oy(r.positive,t,n,o),r.negative&&!r.negative.isFunctional&&Oy(r.negative,t,n,o),r.zero&&!r.zero.isFunctional&&Oy(r.zero,t,n,o)}formatValue(e){let t,n,r,o,a,i,l,s,c,u=this._prepared,d="",p="",f=e;if(isNaN(e))return"".concat(f);if(e=+e,!1===u.pattern)return e.toString();if(0===e&&u.zero)return u=u.zero,u.pattern;if(e<0&&u.negative?(u=u.negative,e=-e):u=u.positive,a=u.d,i=u.t,u.isFunctional)e=function(e,t,n){let r;return hy.test(t)?e=Sy(e,Number(/\d{2}/.exec(t)[0]),t,n):my.test(t)?e=Sy(e,8,t,n):qy.test(t)?e=Sy(e,10,t,n):gy.test(t)?e=Sy(e,16,t,n):yy.test(t)?e=Sy(e,2,t,n):by.test(t)&&(r="",e<0&&(r="-",e=-e),0===(e=Math.floor(e))?e="0":e<=5e5?(e=function(e,t){let n,r="",o=Number(String(e).slice(-3)),a=(e-o)/1e3,i=[0,1,4,5,9,10,40,50,90,100,400,500,900].reverse(),l=["0","I","IV","V","IX","X","XL","L","XC","C","CD","D","CM"].reverse();for(;o>0;)for(n=0;n<i.length;n++)if(i[n]<=o){r+=l[n],o-=i[n];break}for(n=0;n<a;n++)r="M".concat(r);return t[1]!==t[1].toUpperCase()&&(r=r.toLowerCase()),r}(e,t),e=r+e):e=t+r+e.toExponential(0)),e}(e,u.pattern,a);else{if(u.percentage&&(e*=100),u.abbreviate){const t=Object.keys(this.abbreviations).map((e=>parseInt(e,10))).sort(((e,t)=>e-t));let r,o,a=t[0];for(l=0,n=Number(Number(e).toExponential().split("e")[1]);a<=n&&l<t.length;)l++,a=t[l];l>0&&(r=t[l-1]),r&&n>0&&r>0?o=r:(n<0&&r<0||!r)&&(a<0&&a-n<=u.maxPrecision?o=a:r<=n&&!(a>0&&-n<=u.maxPrecision)&&(o=r)),o&&(d=this.abbreviations[o],e/=10**o)}if(r=Math.abs(e),t=u.temp,s=u.numericPattern,c=s.split(a)[1],"I"===this.type&&(e=Math.round(e)),o=e,c||"#"!==s.slice(-1)[0])if(r>=1e15||r>0&&r<=1e-14)e=r?r.toExponential(15).replace(/\.?0+(?=e)/,""):"0";else{const t=Number((e+1e-15*(e<0?-1:1)).toFixed(Math.min(20,c?c.length:0)).split(".")[0]);let n=s.split(a)[0];if(n+=a,e=uy(n,t)||"0",c){const t=Math.max(0,Math.min(14,c.length)),n=c.replace(/#+$/,"").length;let o=("I"===this.type?0:r%1+1e-15).toFixed(t).slice(2).replace(/0+$/,"");for(l=o.length;l<n;l++)o+="0";o&&(e+=a+o)}else 0===t&&(o=0)}else if(r>=10**t||r<1||r<1e-4)0===e?e="0":r<1e-4||r>=1e20?(e=(e=o.toExponential(Math.max(1,Math.min(14,t))-1)).replace(/\.?0+(?=e)/,""),p=""):(e=e.toPrecision(Math.max(1,Math.min(14,t)))).indexOf(".")>=0&&(e=(e=e.replace(e.indexOf("e")<0?/0+$/:/\.?0+(?=e)/,"")).replace(".",a));else{for(s+=a,t=Math.max(0,Math.min(20,t-Math.ceil(Math.log(r)/Math.log(10)))),l=0;l<t;l++)s+="#";e=uy(s,e)}e=e.replace(u.numericRegex,(e=>e===i?u.groupTemp:e===a?u.decTemp:"")),o<0&&!/^-/.test(e)&&(e="-".concat(e))}return u.prefix+e+p+d+u.postfix}static getStaticFormatter(){return{prepare(){},formatValue:e=>"".concat(e)}}}function xy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{size:n=5e3,multipleArguments:r=!1,toKey:o=e=>e}=t;let a,i,l=Object.create(null),s=Object.create(null),c=0,u=0;return a=r?function(){return i=o(...arguments),a.has(i)?a.get(i):a.set(i,e(...arguments))}:t=>(i=o(t),a.has(i)?a.get(i):a.set(i,e(t))),a.set=(e,t)=>(c>=n&&(delete l[s[u]],delete s[u],c--,u++),l[e]=t,s[c]=e,c++,t),a.get=e=>l[e],a.has=e=>e in l,a.clear=()=>{l=Object.create(null),s=Object.create(null),c=0,u=0},a.size=()=>c,a}function Ry(e,t,n,r,o){const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new Iy(...t)}(o,e,t,n,r),i=xy(a.formatValue.bind(a),{toKey:e=>isNaN(e)?e:+e});function l(e){return i(e)}return l.format=function(e,t,n,r){return i.clear(),a.format(t,e,n,r)},l.pattern=function(e){return e&&(i.clear(),a.pattern=e,a.prepare()),a.pattern},l}const wy="D",Ly="T",Ny="TS",_y=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ty=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Dy=["January","February","March","April","May","June","July","August","September","October","November","December"],Ay=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Py(e,t){for(let n=e.length;n<t;n++)e="0".concat(e);return e}function ky(e){let t=e.toString().split(".");return t[1]?(t=Number("0.".concat(t[1])),t):0}class My{constructor(e,t,n){const r=e||{};r.qCalendarStrings||(r.qCalendarStrings={qLongDayNames:_y,qDayNames:Ty,qLongMonthNames:Dy,qMonthNames:Ay}),this.localeInfo=r,this.locale_days=r.qCalendarStrings.qLongDayNames.slice(),this.locale_days_abbr=r.qCalendarStrings.qDayNames.slice(),this.locale_months=r.qCalendarStrings.qLongMonthNames.slice(),this.locale_months_abbr=r.qCalendarStrings.qMonthNames.slice(),t||(t={[Ly]:r.qTimeFmt||"hh:mm:ss",[wy]:r.qDateFmt||"YYYY-MM-DD",[Ny]:r.qTimestampFmt||"YYYY-MM-DD hh:mm:ss"}[n]),this.pattern=t}clone(){const e=new My(this.localeInfo,this.pattern);return e.subtype=this.subtype,e}format(e,t){t||(t=this.pattern?this.pattern:"YYYY-MM-DD hh:mm:ss"),t=t.replace(/\[.+]|\[|]/g,"");const n=/t+/gi.test(t);let r;e instanceof Date?r=function(e,t){let n=e.getUTCHours(),r=e.getUTCDay()-1;return t&&(n%=12,n||(n=12)),r<0&&(r=6),{year:e.getUTCFullYear(),month:e.getUTCMonth(),day:r,date:e.getUTCDate(),h:n,m:e.getUTCMinutes(),s:e.getUTCSeconds(),f:e.getUTCMilliseconds(),t:e.getUTCHours()>=12?"pm":"am"}}(e,n):(e<0&&(e=-e,t="-".concat(t)),r=function(e,t){let n,r=function(e){const t=e,n=24*ky(t),r=60*ky(n),o=60*ky(r),a=1e3*ky(o);return{d:Math.floor(t),h:Math.floor(n),m:Math.floor(r),s:Math.floor(o),f:Math.round(a)}}(e),o=r.d,a=r.h,i=r.m,l=r.s,s=r.f,c=0;/w+|t+/gi.test(t)&&(n=new Date(Date.UTC(1899,11,30+Math.floor(e),0,0,Math.round(86400*(e-Math.floor(e))))),isNaN(n.getTime())&&(n=null)),/D+/gi.test(t)||(a+=24*o),/h+/gi.test(t)||(i+=60*a),/m+/gi.test(t)||(l+=60*i),/w+/gi.test(t)&&(c=n?n.getDay()-1:0,c<0&&(c=6));let u="";return n&&(u=n.getUTCHours()>=12?"pm":"am"),{year:0,month:0,day:c,date:o,h:a,m:i,s:l,f:s,t:u}}(e,t));const o=(a=this,i=r,{"Y+|y+":{Y:"".concat(Number("".concat(i.year).slice(-2))),YY:Py("".concat(i.year).slice(-2),2),YYY:Py("".concat(i.year).slice(-3),3),def:e=>Py("".concat(i.year),e.length)},"M+":{M:i.month+1,MM:Py("".concat(i.month+1),2),MMM:a.locale_months_abbr[i.month],def:a.locale_months[i.month]},"W+|w+":{W:i.day,WW:Py("".concat(i.day),2),WWW:a.locale_days_abbr[i.day],def:a.locale_days[i.day]},"D+|d+":{D:i.date,def:e=>Py("".concat(i.date),e.length)},"h+|H+":{h:i.h,def:e=>Py("".concat(i.h),e.length)},"m+":{m:i.m,def:e=>Py("".concat(i.m),e.length)},"s+|S+":{s:i.s,def:e=>Py("".concat(i.s),e.length)},"f+|F+":{def(e){let t="".concat(i.f),n=e.length-t.length;if(n>0)for(let e=0;e<n;e++)t+="0";else n<0&&(t=t.slice(0,e.length));return t}},"t{1,2}|T{1,2}":{def(e){let t=i.t;return e[0].toUpperCase()===e[0]&&(t=t.toUpperCase()),t=t.slice(0,e.length),t}}});var a,i;const l=[];for(const e in o)Object.prototype.hasOwnProperty.call(o,e)&&l.push(e);const s=new RegExp(l.join("|"),"g");return t.replace(s,(e=>{let t,n,r;for(n in o)if(Object.prototype.hasOwnProperty.call(o,n)&&(t=new RegExp(n),t.test(e)))break;if(!t)return"";for(const t in o[n])if(t===e||t.toLowerCase()===e){r=o[n][t],void 0===r&&(r=o[n][t.toLowerCase()]);break}return void 0===r&&(r=o[n].def),"function"==typeof r&&(r=r(e)),r}))}}function Fy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new My(...t)}function By(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"TS",n=Fy(arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,e,t),r=xy(n.format.bind(n),{toKey:e=>"object"==typeof e&&"function"==typeof e.getTime?e.getTime():e});function o(e){return"IV"!==t?function(e){return new Date(Date.UTC(1899,11,30+Math.floor(e),0,0,0,Math.round(864e5*(e-Math.floor(e)))))}(e):e}function a(e){return e=o(e),r(e)}return a.format=function(e,t){return r.clear(),t=o(t),n.format(t,e)},a.locale=function(o){return n=Fy(o,e,t),r=xy(n.format.bind(n),{toKey:e=>"object"==typeof e?e.getTime():e}),this},a.qtype=function(e){return void 0!==e&&(t=e,r.clear()),t},a}function jy(){let e,{meta:t,id:n,key:r,localeInfo:o,fieldExtractor:a,value:i,type:l,sourceField:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const c=i||("dimension"===l?e=>null==e?void 0:e.qElemNo:e=>null==e?void 0:e.qValue),u="dimension"===l?"first":"avg",d=function(e,t){if(e&&e.qNumFormat&&-1!==["D","T","TS","IV"].indexOf(e.qNumFormat.qType))return By(e.qNumFormat.qFmt,e.qNumFormat.qType,t);let n="#",r=t&&void 0!==t.qThousandSep?t.qThousandSep:",",o=t&&void 0!==t.qDecimalSep?t.qDecimalSep:".",a="U",i=e&&!!e.qIsAutoFormat;return e&&e.qNumFormat?(n=e.qNumFormat.qFmt||n,r=e.qNumFormat.qThou||r,o=e.qNumFormat.qDec||o,a=e.qNumFormat.qType||a,i=i&&-1===["M"].indexOf(e.qNumFormat.qType)):i=!0,(i||"U"===a)&&(n="#".concat(o,"##"),a="U"),Ry(n,r,o,a,t)}(t,o),p="dimension"===l?"first":(e,t)=>d(t),f={id:()=>n,key:()=>r,raw:()=>t,title:()=>t.qFallbackTitle||t.label,type:()=>l,origin:()=>s,items:()=>(e||(e=a(f)),e),min:()=>t.qMin,max:()=>t.qMax,value:c,label:e=>(null==e?void 0:e.qText)||"",reduce:u,reduceLabel:p,formatter:()=>d,tags:()=>t.qTags};return f}function zy(e,t,n,r,o){return(t[e]||[]).map(((t,a)=>{const i="".concat(r?"".concat(r,"/"):"").concat(e,"/").concat(a),l={instance:jy(xg({id:"".concat(n?"".concat(n,"/"):"").concat(i),key:i,meta:t},o))};return l.attrDims=zy("qAttrDimInfo",t,n,i,xg({},o,{value:e=>null==e?void 0:e.qElemNo,type:"dimension"})),l.attrExps=zy("qAttrExprInfo",t,n,i,xg({},o,{value:e=>null==e?void 0:e.qNum,type:"measure"})),l.measures=zy("qMeasureInfo",t,n,i,xg({},o,{value:e=>null==e?void 0:e.qValue,type:"measure"})),l}))}function $y(){let{key:e,data:t,config:n={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r={fields:[],wrappedFields:[],allFields:[],virtualFields:[]},o=t;if(!o)throw new Error('Missing "data" input');if(!o.qDimensionInfo)throw new Error('The "data" input is not recognized as a hypercube');const a=$y.util,i={cache:r,cube:o,localeInfo:n.localeInfo,fieldExtractor:null,pages:null,hierarchy:()=>null,virtualFields:n.virtualFields},l={key:()=>e,raw:()=>o,field:e=>function(e,t){let{cache:n}=t;if("number"==typeof e)return n.fields[e];const r=n.allFields;if("function"==typeof e){for(let t=0;t<r.length;t++)if(e(r[t]))return r[t];return!1}if("string"==typeof e){for(let t=0;t<r.length;t++)if(r[t].key()===e||r[t].title()===e)return r[t]}else if(e&&-1!==r.indexOf(e))return e;throw Error("Field not found: ".concat(e))}(e,i),fields:()=>r.fields.slice(),extract:e=>i.extractor(e,l,r,a),hierarchy:e=>i.hierarchy(e,l,r,a),_cache:()=>r};"K"===o.qMode||"T"===o.qMode||!o.qMode&&o.qNodesOnDim?(i.extractor=ly,i.hierarchy=iy,i.pages="K"===o.qMode?o.qStackedDataPages:o.qTreeDataPages):"S"===o.qMode?(i.extractor=Ng,i.pages=o.qDataPages,i.hierarchy=iy):i.extractor=()=>[],i.fieldExtractor=e=>i.extractor({field:e},l,r,a);const s="S"===o.qMode?e=>e.qElemNumber:void 0,c="S"===o.qMode?e=>e.qNum:void 0;r.wrappedFields.push(...zy("qDimensionInfo",o,e,"",xg({},i,{value:s,type:"dimension"}))),r.wrappedFields.push(...zy("qMeasureInfo",o,e,"",xg({},i,{value:c,type:"measure"}))),r.fields=r.wrappedFields.map((e=>e.instance));const u=e=>{e.forEach((e=>{r.allFields.push(e.instance),u(e.measures),u(e.attrDims),u(e.attrExps)}))};return u(r.wrappedFields),(n.virtualFields||[]).forEach((t=>{const n=l.field(t.from),o=jy(gg({meta:n.raw(),id:"".concat(e,"/").concat(t.key),sourceField:n,fieldExtractor:e=>i.extractor({field:e},l,r,a),key:t.key,type:n.type(),localeInfo:i.localeInfo,value:n.value},t.override||{}));r.virtualFields.push(o)})),r.allFields.push(...r.virtualFields),l}const Gy=[["qHyperCube","qHyperCubeDef"],["qTreeData","qTreeDataDef"],["qDimensionInfo","qDimensions"],["qMeasureInfo","qMeasures"],["qAttrDimInfo","qAttributeDimensions"],["qAttrExprInfo","qAttributeExpressions"]],Vy=/\/qDimensionInfo(?:\/(\d+))?/,Uy=/\/qMeasureInfo\/(\d+)/,Wy=/\/qAttrDimInfo\/(\d+)(?:\/(\d+))?/,Hy=/\/qAttrExprInfo\/(\d+)/,Ky=/\/?qHyperCube/,Xy=/\/?qTreeData/,Yy=e=>"".concat(e.substr(0,e.indexOf("/qHyperCubeDef")+14)),Jy=e=>"".concat(e.substr(0,e.indexOf("/qTreeDataDef")+13));function Zy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r=t.byCells,o=t.primarySource,a=[],i={},l=e.isActive();let s=!1;return e.brushes().forEach((e=>{const t=function(e,t){let n=e,r=-1,o=-1,a="",i=e=>e;Ky.test(e)?(a="".concat(n.substr(0,n.indexOf("qHyperCube")+10)),i=Yy):Xy.test(e)&&(a="".concat(n.substr(0,n.indexOf("qTreeData")+9)),i=Jy);let l=!0;if(Vy.test(e)&&(r=+Vy.exec(e)[1]),Uy.test(e)&&(o=+Uy.exec(e)[1]),Wy.test(e)){o=-1,r=0;const e=+Wy.exec(n)[2];isNaN(e)||(r=e,n=n.replace(/\/\d+$/,"")),l=!1}if(Hy.test(e)){const e=o;if(t){o=0;const i=Wg(a,t);o+=(i.qMeasureInfo||[]).length,r>-1?(o=i.qDimensionInfo.slice(0,r).reduce(((e,t)=>e+t.qAttrExprInfo.length),o),r=-1):(o=i.qDimensionInfo.reduce(((e,t)=>e+t.qAttrExprInfo.length),o),o=i.qMeasureInfo.slice(0,e).reduce(((e,t)=>e+t.qAttrExprInfo.length),o)),o+=+Hy.exec(n)[1]}else r>-1?(r=-1,o=+Hy.exec(n)[1]):o+=+Hy.exec(n)[1]+1}return Gy.forEach((e=>{let[t,r]=e;n=n.replace(t,r)})),l&&(n=i(n)),n&&"/"!==n[0]&&(n="/".concat(n)),{measureIdx:o,dimensionIdx:r,path:n}}(e.id,n);if("range"===e.type&&t.measureIdx>-1&&t.dimensionIdx>-1){const n=e.brush.ranges();n.length&&(s=!0,i.multiRangeSelectTreeDataValues||(i.multiRangeSelectTreeDataValues={path:t.path,ranges:[]}),n.forEach((e=>i.multiRangeSelectTreeDataValues.ranges.push({qMeasureIx:t.measureIdx,qDimensionIx:t.dimensionIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:!0,qMaxInclEq:!0}}))))}else{if("range"===e.type&&t.measureIdx>-1){const n=e.brush.ranges();n.length&&(s=!0,i.rangeSelectHyperCubeValues||(i.rangeSelectHyperCubeValues={path:t.path,ranges:[]}),n.forEach((e=>i.rangeSelectHyperCubeValues.ranges.push({qMeasureIx:t.measureIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:!0,qMaxInclEq:!0}}))))}if("range"===e.type&&t.dimensionIdx>-1){const n=e.brush.ranges();n.length&&(s=!0,i.selectHyperCubeContinuousRange||(i.selectHyperCubeContinuousRange={path:t.path,ranges:[]}),n.forEach((e=>i.selectHyperCubeContinuousRange.ranges.push({qDimIx:t.dimensionIdx,qRange:{qMin:e.min,qMax:e.max,qMinInclEq:!0,qMaxInclEq:!1}}))))}if("value"===e.type&&t.dimensionIdx>-1)if(r)if(n&&n.qHyperCube&&("P"===n.qHyperCube.qMode||"T"===n.qHyperCube.qMode||"K"===n.qHyperCube.qMode)){const r=n.qHyperCube,a=r.qNoOfLeftDims,l=r.qEffectiveInterColumnSortOrder.indexOf(t.dimensionIdx);if(i.selectPivotCells||(i.selectPivotCells={path:t.path,cells:[]}),e.id===o||!o){const n=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e)));(0===a||l>=a)&&a>-1?n.forEach((e=>{i.selectPivotCells.cells.push({qType:"T",qCol:e,qRow:l-a})})):n.forEach((e=>{i.selectPivotCells.cells.push({qType:"L",qCol:t.dimensionIdx,qRow:e})})),s=!!i.selectPivotCells.cells.length}}else i.selectHyperCubeCells||(i.selectHyperCubeCells={path:t.path,cols:[]}),i.selectHyperCubeCells.cols.push(t.dimensionIdx),e.id!==o&&(o||i.selectHyperCubeCells.values)||(i.selectHyperCubeCells.values=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e))),s=!!i.selectHyperCubeCells.values.length);else{const n=e.brush.values().map((e=>+e)).filter((e=>!isNaN(e)));s=!!n.length,a.push({params:[t.path,t.dimensionIdx,n,!1],method:"selectHyperCubeValues"})}}})),!s&&l?[{method:"resetMadeSelections",params:[]}]:(i.rangeSelectHyperCubeValues&&a.push({method:"rangeSelectHyperCubeValues",params:[i.rangeSelectHyperCubeValues.path,i.rangeSelectHyperCubeValues.ranges,[],null===(c=t.orMode)||void 0===c||c]}),i.selectHyperCubeContinuousRange&&a.push({method:"selectHyperCubeContinuousRange",params:[i.selectHyperCubeContinuousRange.path,i.selectHyperCubeContinuousRange.ranges]}),i.selectHyperCubeCells&&a.push({method:"selectHyperCubeCells",params:[i.selectHyperCubeCells.path,i.selectHyperCubeCells.values,i.selectHyperCubeCells.cols]}),i.selectPivotCells&&a.push({method:"selectPivotCells",params:[i.selectPivotCells.path,i.selectPivotCells.cells]}),i.multiRangeSelectTreeDataValues&&a.push({method:"multiRangeSelectTreeDataValues",params:[i.multiRangeSelectTreeDataValues.path,i.multiRangeSelectTreeDataValues.ranges]}),a);var c}function Qy(e){$y.util=e.data("matrix").util,e.data("q",$y),e.formatter("q-number",Ry),e.formatter("q-time",By)}Qy.qBrushHelper=Zy,Qy.selections=Zy;"#".concat("chart-modules-tooltip"),Number.MAX_VALUE,new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞‏יִײַ-ﬨשׁ-ﭏ]"),new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]");const eb=/,(?![^(]*\))/,tb=/\s(?![^(]*\))/,nb=/^[0-9]+[a-zA-Z%]+?$/,rb=["none","inset","initial","inherit"],ob=e=>{if(!e)return;const t=e.split(tb).filter((e=>!rb.includes(e.toLowerCase()))).at(-1),n=!t||(e=>"0"===e||nb.test(e))(t)||rb.includes(t.toLowerCase())?void 0:t;return n},ab=e=>e?e.split(eb).map((e=>e.trim())):[];function ib(e,t,n,r){return n&&r?n.getStyle(`object.${r}`,e,t):n?n.getStyle("",e,t):void 0}function lb(e,t,n,r,o){return e&&r?"none"!==e.color?r.getColorPickerColor(e):void 0:ib(t,n,r,o)}const sb={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},cb={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function ub(e,t,n){const r=e?.bgImage;if(r){let o="";if("media"===r.mode||"media"===e.useImage){let e;const a=r?.mediaUrl,{qUrl:i}=a?.qStaticContentUrl||{};o=i?decodeURIComponent(i):void 0,o=function(e,t){return t?function(e){let t,n,r,o;return e?.session?.config?(t=e.session.config,n=new URL(t.url),o="wss:"===n.protocol,r=o?"https://":"http://",r+n.host):""}(e)+t:void 0}(t,o),n&&(e=Object.entries(n).map((([e,t])=>`&${e}=${encodeURIComponent(t)}`)).join("&"),o=`${o}?${e}`)}"expression"===r.mode&&(o=r.expressionUrl?decodeURIComponent(r.expressionUrl):void 0);const a=function(e){let t="center center";return e?.bgImage?.position&&(t=cb[e.bgImage.position]),t}(e),i=function(e){let t=sb.originalSize;const n=e?.bgImage?.sizing;return n&&(t=sb[n]),t}(e);return o?{url:o,pos:a,size:i}:void 0}}function db(e,t,n){const r=e?.bgColor;return r&&t&&(r.useExpression||r.useColorExpression)?t.validateColor(r.colorExpression):lb(r?.color,"","backgroundColor",t,n)}function pb(e,t,n){const r=ib("shadow","boxShadow",t,n);return((e,t,n)=>{if(e&&rb.includes(e.toLowerCase()))return e.toLowerCase();const r=ab(e);if(1!==r.length)return e;let o=n;if(!o){const n=ab(t);if(1!==n.length)return e;o=ob(n[0])}if(!o)return e;const a=ob(r[0]);return a?e.replace(a,o):`${e} ${o}`})(e?.shadow?.boxShadow||r,r,lb(e?.shadow?.boxShadowColor,"shadow","boxShadowColor",t,n))}function fb(e,t,n,r){const o=e?.title?.[t]||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(o.fontStyle,t);return{fontFamily:o.fontFamily||n.getStyle(`object.${r}`,`title.${t}`,"fontFamily"),fontSize:o.fontSize||n.getStyle(`object.${r}`,`title.${t}`,"fontSize"),color:o.color&&"none"!==o.color.color?n.getColorPickerColor(o.color):n.getStyle(`object.${r}`,`title.${t}`,"color"),backgroundColor:o.backgroundColor||n.getStyle(`object.${r}`,`title.${t}`,"backgroundColor"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const hb={selected:"#00873D",alternative:"#E4E4E4",excluded:"#A9A9A9",selectedExcluded:"#A9A9A9",possible:"#FFFFFF"},mb=["theme","selections"];function qb({app:e,themeApi:t,theme:n,queryParams:r,components:o,checkboxes:a}){return function({app:e,themeApi:t,theme:n,queryParams:r,components:o=[],checkboxes:a=!1}){const i=function(e=[]){const t={};return e.forEach((e=>{const n=e?.key;mb.includes(n)&&(t[n]=e)})),t}(o),l=(e,n)=>t.getStyle("object.listBox",e,n),s=e=>e?.index>0||e?.color?t.getColorPickerColor(e):void 0,c=function({getColorPickerColor:e,theme:t,getListboxStyle:n,overrides:r,checkboxes:o}){const a=r.theme?.content?.fontColor,i=e(a)||n("content","color")||t.palette?.text.primary,l=!o&&(r.theme?.content?.useContrastColor??!0),s=r.selections?.colors||{},c=r=>{const o="selected"===r?"main":r,a=`${r}Contrast`,c=e(s[r])||n("",`dataColors.${r}`)||"possible"===r&&n("","backgroundColor")||t.palette?.selected?.[o]||hb[r],u=l?oq(c,i):i||t.palette?.selected[`${a}Text}`];return{[r]:c,[a]:u}};return{...c("selected"),...c("alternative"),...c("excluded"),...c("selectedExcluded"),...c("possible")}}({getColorPickerColor:s,theme:n,getListboxStyle:l,overrides:i,checkboxes:a}),u=i.theme||{},d=s(u.header?.fontColor)||l("title.main","color"),p=function({themeApi:e,themeOverrides:t}){let n;const r=t?.background;return r?(n=r?.useExpression?db({bgColor:r},e,"listBox"):e.getColorPickerColor(r?.color),n):n}({themeApi:t,themeOverrides:u}),f=u.background?.image?ub({bgImage:u.background.image},e,r):void 0,h=p||l("","backgroundColor")||n.palette.background.default,m=function(e,t){const n=nq(t("","backgroundColor"));return n.setAlpha(.7),n.isInvalid()?e:n.getRGBA()}(h,l),q=function(e){return oq("#fff",e("content","color"))}(l),g=u.header?.fontStyle||{},y=u.content?.fontStyle||{},b=(e,t,n)=>!0===e&&t||!1===e&&n||void 0;return{background:{backgroundColor:h,backgroundImage:f?.url&&!f?.url.startsWith("url(")?`url('${f.url}')`:void 0,backgroundRepeat:"no-repeat",backgroundSize:f?.size,backgroundPosition:f?.pos},header:{color:d,fontSize:u.header?.fontSize||l("title.main","fontSize"),fontFamily:u.header?.fontFamily||l("title.main","fontFamily"),fontWeight:b(g.bold,"bold","normal")||l("title.main","fontWeight")||"bold",textDecoration:g.underline?"underline":"initial",fontStyle:b(g.italic,"italic","normal")||l("title.main","fontStyle")||"initial"},content:{backgroundColor:a?void 0:c.possible,color:c.possibleContrast||l("content","color"),fontSize:u.content?.fontSize||l("content","fontSize"),fontFamily:u.content?.fontFamily||l("content","fontFamily"),fontWeight:b(y.bold,"bold","normal")||l("content","fontWeight")||"normal",textDecoration:y.underline?"underline":"initial",fontStyle:b(y.italic,"italic","normal")||l("content","fontStyle")||"initial"},search:{color:q,borderColor:n.palette.divider,highlightBorderColor:n.palette.custom.focusBorder,backgroundColor:m,backdropFilter:"blur(8px)"},selections:c}}({app:e,themeApi:t,theme:n,queryParams:r,components:o,checkboxes:a})}function gb({alignTo:e,anchorOrigin:t={vertical:"bottom",horizontal:"center"},transformOrigin:n={vertical:"top",horizontal:"center"},show:o,close:a,app:i,fieldName:l,stateName:s="$",autoFocus:c,components:u,checkboxes:d,selectDisabled:p=()=>!1,sortCriteria:f=[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],direction:h="ltr"}){const m=Boolean(l?.qLibraryId),q=o&&Boolean(e.current),[g,y]=(0,r.useState)(0),b=Wo(),v=(0,r.useRef)(),[C]=Ji({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:f,qFieldDefs:m?void 0:[l]},qLibraryId:m?l.qLibraryId:void 0}},i,l,s),S=(0,r.useCallback)((()=>{C.lock("/qListObjectDef")}),[C]),E=(0,r.useCallback)((()=>{C.unlock("/qListObjectDef")}),[C]),{translator:O,themeApi:I,keyboardNavigation:x,hostConfig:R}=(0,r.useContext)(bi),w=(0,r.useRef)(),L=(0,r.useRef)(),[N]=Bm(i,C,L),[_]=nl(C),[T]=(0,r.useState)((()=>jm({selectDisabled:p}))),D=Ed({containerRef:L,enabled:x}),{checkboxes:A=d}=_||{},P=qb({themeApi:I,theme:b,hostConfig:R,components:u,checkboxes:A});if((0,r.useEffect)((()=>{N&&q&&(N.isModal(C)||N.goModal("/qListObjectDef"))}),[N,q]),!(C&&_&&O&&P))return null;const k=!0===_.qListObject.qDimensionInfo.qLocked,M=(e,t)=>{const n="escapeKeyDown"!==t;N.noModal(n),a()},F=th({layout:_,model:C,translator:O,selectionState:T,selections:N}),B=$m(_);return r.createElement(Mc,{className:"listbox-container",open:q,onClose:M,anchorEl:e.current,anchorOrigin:t,transformOrigin:n,slotProps:{paper:{style:{minWidth:"250px"}}},onKeyDown:e=>"Enter"===e.key?M():void 0,direction:h},r.createElement(Xi,{container:!0,direction:"column",gap:0,ref:L},r.createElement(Xi,{item:!0,container:!0,style:{direction:h,padding:b.spacing(1)}},r.createElement(Xi,{item:!0},k?r.createElement(vs,{onClick:E,disabled:!k,size:"large"},r.createElement(cl,{title:O.get("Listbox.Unlock")})):r.createElement(vs,{onClick:S,disabled:!B,size:"large"},r.createElement(Ss,{title:O.get("Listbox.Lock")}))),r.createElement(Xi,{item:!0,xs:!0}),r.createElement(Xi,{item:!0},r.createElement(Yh,{layout:_,more:{enabled:!k,actions:F,alignTo:w,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:N,onConfirm:M,onCancel:()=>M(0,"escapeKeyDown")}}))),r.createElement(Xi,{item:!0,xs:!0},r.createElement("div",{ref:w}),r.createElement(Xi,{item:!0},r.createElement(Pm,{ref:v,popoverOpen:q,styles:P,visible:!0,model:C,listCount:g,selections:N,selectionState:T,keyboard:{enabled:!1,innerTabStops:!0,focusSelection:D.focusSelection},autoFocus:c??!0,direction:h})),r.createElement(Yf,{model:C,app:i,layout:_,selections:N,selectionState:T,direction:h,onSetListCount:e=>y(e),onCtrlF:()=>{v.current.focus()},styles:P,keyboard:D}))))}function yb({field:e,api:t,stateIx:n=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=()=>{}}){const{translator:l}=(0,r.useContext)(bi),s=a||(0,r.useRef)(),c=Wo(),[u,d]=(0,r.useState)(!1),p=()=>{d(!1),i()},f=e.selections[n];void 0===f.qTotal&&(f.qTotal=0);const h=f.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},m=(h.qSelected+h.qLocked)/f.qTotal,q=h.qAlternative/f.qTotal,g=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/f.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,b=0===y&&0===f.qTotal;let v="";f.qTotal===y&&f.qTotal>1?v=l.get("CurrentSelections.All"):y>1&&f.qTotal?v=l.get("CurrentSelections.Of",[y,f.qTotal]):f.qSelectedFieldSelectionInfo&&(v=f.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==e.states[n]&&(v=`${e.states[n]}: ${v}`);const C=[{color:c.palette.selected.main,ratio:m},{color:c.palette.selected.alternative,ratio:q},{color:c.palette.selected.excluded,ratio:g}];C.forEach(((e,t)=>{e.offset=t?C[t-1].offset+C[t-1].ratio:0}));let S=null,E=null,O=null,I=null;return a||(S=r.createElement(Xi,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:f.qLocked?"0.3":""}},r.createElement(Cl,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.label),r.createElement(Cl,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},v)),f.qLocked?E=r.createElement(Xi,{item:!0},r.createElement(vs,{size:"large"},r.createElement(cl,null))):f.qOneAndOnlyOne||(E=r.createElement(Xi,{item:!0},r.createElement(vs,{title:l.get("Selection.Clear"),onClick:r=>{r.stopPropagation(),t.clearField(f.qField,e.states[n])},size:"large"},r.createElement(sl,null)))),O=r.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===b&&C.map((e=>r.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:100*e.ratio+"%",left:100*e.offset+"%"}})))),I=r.createElement(Xi,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&(e=>{e.currentTarget.contains(e.target)&&d(!u)})||null},S,E,O,u&&r.createElement(gb,{alignTo:s,show:u,close:p,app:t.model,fieldName:f.qField,stateName:e.states[n]}))),a?r.createElement(gb,{alignTo:s,show:!0,close:p,app:t.model,fieldName:f.qField,stateName:e.states[n]}):I}const bb=e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current};function vb(e){return ci("MuiBadge",e)}const Cb=ui("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Sb=Bi("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Eb=Bi("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${fl(n.anchorOrigin.vertical)}${fl(n.anchorOrigin.horizontal)}${fl(n.overlap)}`],"default"!==n.color&&t[`color${fl(n.color)}`],n.invisible&&t.invisible]}})(pl((({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(hl(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Cb.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}))));function Ob(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const Ib=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiBadge"}),{anchorOrigin:r,className:o,classes:a,component:i,components:l={},componentsProps:s={},children:c,overlap:u="rectangular",color:d="default",invisible:p=!1,max:f=99,badgeContent:h,slots:m,slotProps:q,showZero:g=!1,variant:y="standard",...b}=n,{badgeContent:v,invisible:C,max:S,displayValue:E}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=bb({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:f,invisible:p,badgeContent:h,showZero:g}),O=bb({anchorOrigin:Ob(r),color:d,overlap:u,variant:y,badgeContent:h}),I=C||null==v&&"dot"!==y,{color:x=d,overlap:R=u,anchorOrigin:w,variant:L=y}=I?O:n,N=Ob(w),_="dot"!==L?E:void 0,T={...n,badgeContent:v,invisible:I,max:S,displayValue:_,showZero:g,anchorOrigin:N,color:x,overlap:R,variant:L},D=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return wi({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${fl(n.vertical)}${fl(n.horizontal)}`,`anchorOrigin${fl(n.vertical)}${fl(n.horizontal)}${fl(o)}`,`overlap${fl(o)}`,"default"!==t&&`color${fl(t)}`]},vb,i)})(T),A={slots:{root:m?.root??l.Root,badge:m?.badge??l.Badge},slotProps:{root:q?.root??s.root,badge:q?.badge??s.badge}},[P,k]=rc("root",{elementType:Sb,externalForwardedProps:{...A,...b},ownerState:T,className:xi(D.root,o),ref:t,additionalProps:{as:i}}),[M,F]=rc("badge",{elementType:Eb,externalForwardedProps:A,ownerState:T,className:D.badge});return(0,Yo.jsxs)(P,{...k,children:[c,(0,Yo.jsx)(M,{...F,children:_})]})})),xb=Ib;function Rb(e){return ci("MuiListItem",e)}ui("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const wb=ui("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Lb(e){return ci("MuiListItemSecondaryAction",e)}ui("MuiListItemSecondaryAction",["root","disableGutters"]);const Nb=Bi("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),_b=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiListItemSecondaryAction"}),{className:o,...a}=n,i=r.useContext(gh),l={...n,disableGutters:i.disableGutters},s=(e=>{const{disableGutters:t,classes:n}=e;return wi({root:["root",t&&"disableGutters"]},Lb,n)})(l);return(0,Yo.jsx)(Nb,{className:xi(s.root,o),ownerState:l,ref:t,...a})}));_b.muiName="ListItemSecondaryAction";const Tb=_b,Db=Bi("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]}})(pl((({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${wb.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]})))),Ab=Bi("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Pb=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiListItem"}),{alignItems:o="center",children:a,className:i,component:l,components:s={},componentsProps:c={},ContainerComponent:u="li",ContainerProps:{className:d,...p}={},dense:f=!1,disableGutters:h=!1,disablePadding:m=!1,divider:q=!1,secondaryAction:g,slotProps:y={},slots:b={},...v}=n,C=r.useContext(gh),S=r.useMemo((()=>({dense:f||C.dense||!1,alignItems:o,disableGutters:h})),[o,C.dense,f,h]),E=r.useRef(null),O=r.Children.toArray(a),I=O.length&&(T=O[O.length-1],D=["ListItemSecondaryAction"],r.isValidElement(T)&&-1!==D.indexOf(T.type.muiName??T.type?._payload?.value?.muiName)),x={...n,alignItems:o,dense:S.dense,disableGutters:h,disablePadding:m,divider:q,hasSecondaryAction:I},R=(e=>{const{alignItems:t,classes:n,dense:r,disableGutters:o,disablePadding:a,divider:i,hasSecondaryAction:l}=e;return wi({root:["root",r&&"dense",!o&&"gutters",!a&&"padding",i&&"divider","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"]},Rb,n)})(x),w=Il(E,t),L=b.root||s.Root||Db,N=y.root||c.root||{},_={className:xi(R.root,N.className,i),...v};var T,D;let A=l||"li";return I?(A=_.component||l?A:"div","li"===u&&("li"===A?A="div":"li"===_.component&&(_.component="div")),(0,Yo.jsx)(gh.Provider,{value:S,children:(0,Yo.jsxs)(Ab,{as:u,className:xi(R.container,d),ref:w,ownerState:x,...p,children:[(0,Yo.jsx)(L,{...N,...!Es(L)&&{as:A,ownerState:{...x,...N.ownerState}},..._,children:O}),O.pop()]})})):(0,Yo.jsx)(gh.Provider,{value:S,children:(0,Yo.jsxs)(L,{...N,as:A,ref:w,...!Es(L)&&{ownerState:{...x,...N.ownerState}},..._,children:[O,g&&(0,Yo.jsx)(Tb,{children:g})]})})})),kb=Pb,Mb=r.createContext({}),Fb=r.createContext(void 0),Bb=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],jb=Bi(os,{shouldForwardProp:e=>Mi(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${fl(n.color)}`],t[`size${fl(n.size)}`],t[`${n.variant}Size${fl(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(pl((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${pi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${pi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${pi.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${pi.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:br(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:br(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${pi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${pi.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${pi.loading}`]:{color:"transparent"}}}]}}))),zb=Bi("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${fl(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Bb]}))),$b=Bi("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${fl(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Bb]}))),Gb=Bi("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}))),Vb=Bi("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Ub=r.forwardRef((function(e,t){const n=r.useContext(Mb),o=r.useContext(Fb),a=ji({props:ta(n,e),name:"MuiButton"}),{children:i,color:l="primary",component:s="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:f,focusVisibleClassName:h,fullWidth:m=!1,id:q,loading:g=null,loadingIndicator:y,loadingPosition:b="center",size:v="medium",startIcon:C,type:S,variant:E="text",...O}=a,I=Sl(q),x=y??(0,Yo.jsx)(hs,{"aria-labelledby":I,color:"inherit",size:16}),R={...a,color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:p,fullWidth:m,loading:g,loadingIndicator:x,loadingPosition:b,size:v,type:S,variant:E},w=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,loading:i,loadingPosition:l,classes:s}=e,c=wi({root:["root",i&&"loading",a,`${a}${fl(t)}`,`size${fl(o)}`,`${a}Size${fl(o)}`,`color${fl(t)}`,n&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${fl(l)}`],startIcon:["icon","startIcon",`iconSize${fl(o)}`],endIcon:["icon","endIcon",`iconSize${fl(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},di,s);return{...s,...c}})(R),L=(C||g&&"start"===b)&&(0,Yo.jsx)(zb,{className:w.startIcon,ownerState:R,children:C||(0,Yo.jsx)(Vb,{className:w.loadingIconPlaceholder,ownerState:R})}),N=(f||g&&"end"===b)&&(0,Yo.jsx)($b,{className:w.endIcon,ownerState:R,children:f||(0,Yo.jsx)(Vb,{className:w.loadingIconPlaceholder,ownerState:R})}),_=o||"",T="boolean"==typeof g?(0,Yo.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:g&&(0,Yo.jsx)(Gb,{className:w.loadingIndicator,ownerState:R,children:x})}):null;return(0,Yo.jsxs)(jb,{ownerState:R,className:xi(n.className,w.root,c,_),component:s,disabled:u||g,focusRipple:!p,focusVisibleClassName:xi(w.focusVisible,h),ref:t,type:S,id:g?I:q,...O,classes:w,children:[L,"end"!==b&&T,i,"end"===b&&T,N]})})),Wb=Ub,Hb=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e)),Kb="MultiState-item",Xb=Bi(Xi)((({theme:e})=>({[`&.${Kb}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Yb({field:e,api:t,moreAlignTo:n=null,onClose:o=()=>{}}){const[a,i]=(0,r.useState)(!!n),[l,s]=(0,r.useState)(-1),[c,u]=(0,r.useState)(n?n.current:null),d=n||(0,r.useRef)(),{translator:p}=(0,r.useContext)(bi),f=p.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;n||(m=r.createElement(r.Fragment,null,r.createElement(Xi,{item:!0,xs:!0,zeroMinWidth:!0},r.createElement(xb,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},r.createElement(Cl,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.label))),r.createElement(Xi,{item:!0},r.createElement("div",{style:{width:"12px"}})),r.createElement(Xi,{item:!0},r.createElement(vs,{size:"large"},r.createElement(Hb,null)))));const q=r.createElement(Dh,{dense:!0},r.createElement(kb,{title:f,onClick:()=>{e.states.forEach((n=>t.clearField(e.name,n)))}},r.createElement(Wb,{variant:"contained",fullWidth:!0},f)),e.states.map(((n,o)=>r.createElement(kb,{key:o,title:e.label,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},r.createElement(hd,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},r.createElement(yb,{field:e,api:t,stateIx:o,skipHandleShowListBoxPopover:!0})))))),g=r.createElement(Mc,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},q),y=n?g:r.createElement(Xb,{container:!0,gap:0,className:Kb,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},m,a&&g,l>-1&&r.createElement(gb,{alignTo:d,show:l>-1,close:h,app:t.model,fieldName:e.selections[l].qField,stateName:e.states[l]}));return n&&l>-1?r.createElement(gb,{alignTo:d,show:l>-1,close:h,app:t.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):y}const Jb="More",Zb={item:`${Jb}-item`,badge:`${Jb}-badge`},Qb=Bi(Xi)((({theme:e})=>({[`&.${Zb.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${Zb.badge}`]:{padding:e.spacing(0,1)}})));function ev({items:e=[],api:t}){const n=Wo(),[o,a]=(0,r.useState)(!1),[i,l]=(0,r.useState)(-1),[s,c]=(0,r.useState)(null),u=(0,r.useRef)(),d=()=>{l(-1)};let p=null;return i>-1&&(p=e[i].states.length>1?r.createElement(Yb,{field:e[i],api:t,moreAlignTo:u,onClose:d}):r.createElement(yb,{field:e[i],api:t,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),r.createElement(Qb,{container:!0,gap:0,className:Zb.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},r.createElement(Xi,{item:!0},r.createElement(hd,{borderRadius:n.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:n.palette.selected.main,color:n.palette.selected.mainContrastText}},r.createElement(Cl,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),r.createElement(Xi,{item:!0},r.createElement(vs,{size:"large"},r.createElement(Hb,null))),o&&r.createElement(Mc,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},r.createElement(Dh,{dense:!0},e.map(((e,n)=>r.createElement(kb,{key:n,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,n)},r.createElement(hd,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?r.createElement(Yb,{field:e,api:t}):r.createElement(yb,{field:e,api:t}))))))),p)}function tv({api:e,app:t}){const n=Wo(),[o]=Qi(t),[a]=nl(o),[i,l]=(0,r.useState)({items:[],more:[]}),{modalObjectStore:s}=(0,r.useContext)(bi).selectionStore,[c,u]=ol(),[d,p]=(0,r.useState)(0);return(0,r.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[u]),(0,r.useEffect)((()=>{if(!(t&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};function n(e,n){e.qSelections.forEach((e=>{const r=e.qField;let o=t[r];void 0===o&&(o={name:r,label:e.qDimensionReferences?.find((e=>e.qLabel))?.qLabel||e.qReadableName||r,states:[],selections:[]},t[r]=o),o.states.push(n),o.selections.push(e)}))}return e.qSelectionObject&&n(e.qSelectionObject,"$"),e.alternateStates&&e.alternateStates.forEach((e=>n(e.qSelectionObject,e.stateName))),Object.keys(t).map((e=>t[e])).filter((e=>!e.selections.some((e=>e.qIsHidden))))}(a);l((n=>{const r=e;if((()=>{const{model:e}=s.get(t.id)||{};return"njsListbox"===e?.genericType})()&&r.length+1===n.items.length){const e=n.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:t}=e.selections[0];e.selections=[{qField:t}];const o=n.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[t,o,a,e.isInModal(),d]),r.createElement(Xi,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((t=>r.createElement(Xi,{item:!0,key:`${t.states.join("::")}::${t.name}`,style:{position:"relative",maxWidth:"240px",minWidth:"120px",background:n.palette.background.paper,borderRight:`1px solid ${n.palette.divider}`}},t.states.length>1?r.createElement(Yb,{field:t,api:e}):r.createElement(yb,{field:t,api:e})))),i.more.length>0&&r.createElement(Xi,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"72px",background:n.palette.background.paper,borderRight:`1px solid ${n.palette.divider}`}},r.createElement(ev,{items:i.more,api:e})))}const nv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e)),rv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function ov({api:e,app:t}){const{translator:n}=(0,r.useContext)(bi),[o]=function(e){const[t]=Qi(e),[n]=nl(t),[o]=rl(e),[a,i]=(0,r.useState)(null);return(0,r.useEffect)((()=>{o&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}}))),o=(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::"),a=(n.qStateNames||[]).map((e=>e)).join("::");o!==a&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,o)}),[o,t,n]),(0,r.useEffect)((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),i({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[a,t,n]}(t);return r.createElement(Xi,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},r.createElement(Xi,{item:!0},r.createElement(vs,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:n.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},r.createElement(nv,null))),r.createElement(Xi,{item:!0},r.createElement(vs,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:n.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},r.createElement(rv,null))),r.createElement(Xi,{item:!0},r.createElement(vs,{disabled:!o||!o.canClear,title:n.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},r.createElement(qh,null))))}const av=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function iv([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function lv(){return av.map(iv).join("")}function sv({app:e}){const t=Wo(),[n]=km(e);return n?r.createElement(Xi,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:t.palette.background.paper,minHeight:"40px"}},r.createElement(Xi,{item:!0,style:{borderRight:`1px solid ${t.palette.divider}`}},r.createElement(ov,{api:n,app:e})),r.createElement(Xi,{item:!0,xs:!0,style:{backgroundColor:t.palette.background.darker,overflow:"hidden"}},r.createElement(tv,{api:n,app:e}))):null}let cv;cv="undefined"!=typeof window?window:"undefined"!=typeof self?self:i.g;let uv=null,dv=null;const pv=cv.clearTimeout,fv=cv.setTimeout,hv=cv.cancelAnimationFrame||cv.mozCancelAnimationFrame||cv.webkitCancelAnimationFrame,mv=cv.requestAnimationFrame||cv.mozRequestAnimationFrame||cv.webkitRequestAnimationFrame;null==hv||null==mv?(uv=pv,dv=function(e){return fv(e,20)}):(uv=function([e,t]){hv(e),pv(t)},dv=function(e){const t=mv((function(){pv(n),e()})),n=fv((function(){hv(t),e()}),20);return[t,n]});class qv extends r.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const r=window.getComputedStyle(this._parentNode)||{},o=parseFloat(r.paddingLeft||"0"),a=parseFloat(r.paddingRight||"0"),i=parseFloat(r.paddingTop||"0"),l=parseFloat(r.paddingBottom||"0"),s=this._parentNode.getBoundingClientRect(),c=s.height-i-l,u=s.width-o-a,d=this._parentNode.offsetHeight-i-l,p=this._parentNode.offsetWidth-o-a;(e||this.state.height===d&&this.state.scaledHeight===c)&&(t||this.state.width===p&&this.state.scaledWidth===u)||(this.setState({height:d,width:p,scaledHeight:c,scaledWidth:u}),"function"==typeof n&&n({height:d,scaledHeight:c,scaledWidth:u,width:p}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=function(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&uv(this.__resizeRAF__),this.__resizeRAF__=dv((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=cv.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:o=!1,disableWidth:a=!1,doNotBailOutOnEmptyChildren:i=!1,nonce:l,onResize:s,style:c={},tagName:u="div",...d}=this.props,{height:p,scaledHeight:f,scaledWidth:h,width:m}=this.state,q={overflow:"visible"},g={};let y=!1;return o||(0===p&&(y=!0),q.height=0,g.height=p,g.scaledHeight=f),a||(0===m&&(y=!0),q.width=0,g.width=m,g.scaledWidth=h),i&&(y=!1),(0,r.createElement)(u,{ref:this._setRef,style:{...q,...c},...d},!y&&e(g))}}function gv({keyboard:e,hovering:t,updateKeyScroll:n,currentScrollIndex:r,isModal:o,constraints:a,selections:i}){return{handleKeyDown:t=>{const{keyCode:n,shiftKey:r=!1}=t.nativeEvent,a=()=>{t.stopPropagation(),t.preventDefault()};if(!e.enabled)return;const l=t.currentTarget.closest(".listbox-container"),s=o();switch(n){case vd.TAB:if(document.activeElement===l||!s&&!l.contains(document.activeElement))return;if(r)xd(l)||Id(l)||wd(t,e);else if(!(Rd(l)||Id(l)||xd(l)))break;a();break;case vd.ENTER:case vd.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),a();break;case vd.ESCAPE:wd(t,e),i.isActive()&&i.cancel()}},handleOnMouseEnter:()=>{t.current=!0},handleOnMouseLeave:()=>{t.current&&(t.current=!1)},globalKeyDown:e=>{if(!t.current||(()=>{const e=a?.select||a?.active,t=o();return e||t})())return;const{keyCode:i,ctrlKey:l=!1,shiftKey:s=!1}=e;switch(i){case vd.ARROW_UP:n({up:1});break;case vd.ARROW_DOWN:n({down:1});break;case vd.PAGE_UP:n({up:r.stop-r.start});break;case vd.PAGE_DOWN:n({down:r.stop-r.start});break;case vd.HOME:n({scrollPosition:l&&s?"overflowStart":"start"});break;case vd.END:n({scrollPosition:l&&s?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const yv=Bi("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function bv({text:e}){const{translator:t}=(0,r.useContext)(bi);return r.createElement(yv,null,t.get(e))}const vv={fontSize:"12px"},Cv=Bi(os)((({theme:e,isLoading:t})=>({position:"absolute",top:0,left:0,height:48,zIndex:2,background:e.palette.custom.disabledBackground,opacity:1,color:e.palette.custom.disabledContrastText,width:"100%",display:"flex",justifyContent:t?"center":"flex-start",paddingLeft:16,paddingRight:16,borderRadius:0,"& *, & p":{color:e.palette.custom.disabledContrastText},"& i":{padding:"7px"}}))),Sv=Bi(Xi,{shouldForwardProp:e=>!["styles","isRtl"].includes(e)})((({styles:e,isRtl:t})=>({flexDirection:t?"row-reverse":"row",wrap:"nowrap",minHeight:32,alignContent:"center",...e.header,"& *":{color:e.header.color}}))),Ev=Bi(Cl)((({styles:e})=>({...e.header,display:"block",alignItems:"center",paddingRight:"1px"})));function Ov({translator:e,toggleLock:t,keyboard:n,isLoading:o}){const a=e.get("SelectionToolbar.ClickToUnlock");return r.createElement(Cv,{title:a,tabIndex:n.enabled?0:-1,onClick:t,"data-testid":"listbox-unlock-button",id:"listbox-unlock-button",isLoading:o},o?r.createElement(hs,{size:16,variant:"indeterminate",color:"primary"}):r.createElement(cl,{disableRipple:!0,style:vv}),!o&&r.createElement(Cl,{fontSize:"14px"},a))}const Iv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M 6 2 h 10 V 1 H 6 Z m 5 5 h 5 V 6 h -5 Z m 5 5 h -5 v -1 h 5 Z M 5 10 h 1 v 2.663 a 3.5 3.5 0 1 0 -2.922 0.036 l -0.406 0.914 A 4.501 4.501 0 1 1 7.329 13 H 9 v 1 H 5 Z"}}]}))(e)),xv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M7 4h9v1H7zm2 4h7v1H9zm2 4h5v1h-5zM1 4v3.526a3.5 3.5 0 0 0 3.5 3.5h2.31L5.22 9.402l.715-.7L8.7 11.527 5.935 14.35l-.714-.7 1.59-1.624H4.5a4.5 4.5 0 0 1-4.5-4.5V4z"}}]}))(e)),Rv=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7Z"}}]}))(e)),wv=Bi(Wb)((()=>({borderRadius:4,width:24,height:24,minWidth:22,padding:0}))),Lv=function({iconData:e,translator:t,iconStyle:n,disabled:o,keyboard:a}){if(!e)return;const{icon:i,tooltip:l,onClick:s,onKeyDown:c}=e,u=i,d=t.get(l);return s?r.createElement(wv,{variant:"outlined",onClick:s,tabIndex:a.innerTabStops?0:-1,title:d,size:"large",disableRipple:!0,disabled:o,onKeyDown:c,className:"listbox-cyclic-button","data-testid":"listbox-cyclic-button"},r.createElement(u,{style:n})):r.createElement(u,{title:d,size:"large",style:{...n,padding:"7px"}})};function Nv(){return Nv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nv.apply(null,arguments)}let _v=0;const Tv=function({layout:e,translator:t,styles:n,isRtl:o,showLock:a,showSearchIcon:i,constraints:l,onShowSearch:s,classes:c,containerRect:u,isPopover:d,showToolbar:p,showDetachedToolbarOnly:f,containerRef:h,model:m,selectionState:q,isDirectQuery:g,selections:y,keyboard:b,autoConfirm:v,app:C,disablePortal:S}){const[E,O]=(0,r.useState)(f),[I,x]=(0,r.useState)(e?.qListObject?.qDimensionInfo?.qLocked),[R,w]=(0,r.useState)(!1);(0,r.useEffect)((()=>{x(e?.qListObject?.qDimensionInfo?.qLocked)}),[e?.qListObject?.qDimensionInfo?.qLocked]);const L=(0,r.useRef)(null),N=(({dimInfo:e,app:t,selections:n,isPopover:r,active:o,keyboard:a})=>{switch(e.qGrouping){case"H":return{icon:xv,tooltip:"Listbox.DrillDown",onClick:void 0};case"C":{const i=t&&o,l=()=>{r||n.confirm(),t.getDimension(e.qLibraryId).then((e=>{e.stepCycle?e.stepCycle(1):console.log("engine api spec version doesn't have support for function stepCycle")})).catch((()=>null))};return{icon:i?Rv:Iv,tooltip:"Listbox.Cyclic",onClick:i?l:void 0,onKeyDown:i?e=>{const t=e.currentTarget.closest(".listbox-container");switch(e.keyCode){case vd.SPACE:case vd.ENTER:l();break;case vd.TAB:{if(!a.enabled)return;let n;n=e.shiftKey?a.focusSelection():Id(t)||xd(t),n||wd(e,a)}break;default:return}e.preventDefault(),e.stopPropagation()}:void 0}}default:return}})({dimInfo:e?.qListObject?.qDimensionInfo,app:C,selections:y,isPopover:d,active:!l?.active,keyboard:b}),_=a&&I,T=!a&&I,D=i||T||N,A=9-(D?7:0),P=o?9-(D?7:0):4,k=(i?28:0)+(T?28:0)+(N?28:0),M=function({isLocked:e,setLocked:t,settingLockedState:n,model:r,setSettingLockedState:o}){return()=>{const a=new Date;if(a-_v<500)return Promise.resolve();if(n)return()=>{};o(!0),_v=a;const i=e?r.unlock:r.lock;return t(!e),i.call(r,"/qListObjectDef").catch((()=>{t(e)})).finally((()=>{setTimeout((()=>{o(!1)}),0)}))}}({isLocked:I,setLocked:x,settingLockedState:R,setSettingLockedState:w,model:m}),F=th({layout:e,model:m,translator:t,selectionState:q,isDirectQuery:g,selections:y}),B=I||!a?void 0:[{key:"lock",type:void 0,label:t.get("SelectionToolbar.ClickToLock"),getSvgIconShape:Cs,enabled:()=>!R&&!q.selectDisabled()&&$m(e),action:M}],j=l?.active?r.createElement(Lm,{title:t.get("Listbox.Search"),size:"large",style:{...vv,padding:"7px"}}):r.createElement(vs,{onClick:s,tabIndex:-1,title:t.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},r.createElement(Lm,{style:vv}));(0,r.useEffect)((()=>{if(!L.current||!u)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n,paddingLeft:r,paddingRight:o}){const a=r+o;return!!(e.width<(t?.current?.clientWidth??0)+n+a+2+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:u,titleRef:L,iconsWidth:k,paddingLeft:A,paddingRight:P});O(f||e)}),[k,A,P,L.current,f,Object.entries(u||{}).sort().join(",")]);const z=function({isDetached:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,extraItems:a,selections:i,keyboard:l,autoConfirm:s,disablePortal:c}){return{autoConfirm:s,isDetached:e,show:t&&!e,popover:{show:t&&e,anchorEl:n.current},extraItems:a,more:{enabled:!r,actions:o,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"},disablePortal:c},selections:{show:t,api:i,onConfirm:()=>{l?.focus()},onCancel:()=>{l?.focus()}}}}({isDetached:!d&&E,showToolbar:p,containerRef:h,isPopover:d,isLocked:I,extraItems:B,listboxSelectionToolbarItems:F,selections:y,keyboard:b,autoConfirm:v,disablePortal:S}),$=r.createElement(Yh,Nv({isRtl:o,layout:e},z));if(f)return $;const G=T?r.createElement(cl,{size:"large",style:{...vv,padding:"7px"}}):void 0;return r.createElement(Sv,{item:!0,container:!0,styles:n,isRtl:o,marginY:1,paddingLeft:`${A}px`,paddingRight:`${P}px`,className:"header-container"},_&&r.createElement(Ov,{isLoading:R,translator:t,toggleLock:M,keyboard:b}),D&&r.createElement(Xi,{item:!0,container:!0,alignItems:"center",width:k,className:"header-action-container"},G||i&&j,r.createElement(Lv,{iconData:N,iconStyle:vv,disabled:y.isActive()&&d,translator:t,keyboard:b})),r.createElement(Xi,{item:!0,xs:!0,minWidth:0,justifyContent:o?"flex-end":"flex-start",className:c.listBoxHeader},r.createElement(Ev,{variant:"h6",noWrap:!0,ref:L,title:e.title,styles:n},e.title)),r.createElement(Xi,{item:!0,display:"flex"},$))},Dv="ListBoxInline",Av={listBoxHeader:`${Dv}-listBoxHeader`,screenReaderOnly:`${Dv}-screenReaderOnly`,listboxWrapper:`${Dv}-listboxWrapper`},Pv=Bi(Xi,{shouldForwardProp:e=>!["containerPadding","isGridMode","styles"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n,styles:r})=>({...r.background,[`& .${Av.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${Av.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${Av.listboxWrapper}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus ::-webkit-scrollbar-track":{boxShadow:n?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}})));function kv({options:e,layout:t}){const{app:n,direction:o,frequencyMode:a,checkboxes:i,search:l=!0,focusSearch:s=!1,rangeSelect:c=!0,model:u,selections:d,update:p,fetchStart:f,postProcessPages:h,calculatePagesHeight:m,showGray:q=!0,scrollState:g,renderedCallback:y,toolbar:b=!0,isPopover:v=!1,showLock:C=!1,components:S,selectDisabled:E=()=>!1,disablePortal:O=!0}=e,I=Wo(),{translator:x,keyboardNavigation:R,themeApi:w,queryParams:L,constraints:N}=(0,r.useContext)(bi),{checkboxes:_=i}=t||{},T=qb({app:n,themeApi:w,theme:I,queryParams:L,components:S,checkboxes:_}),D=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:n?.layout}),A=(0,r.useRef)(),P=(0,r.useRef)(),[k,M]=ol(),[F,B]=(0,r.useState)(!1),[j,z]=(0,r.useState)(!1),$=(0,r.useRef)(!1),[G,V]=(0,r.useState)({down:0,up:0,scrollPosition:""}),U=e=>V((t=>({...t,...e}))),[W,H]=(0,r.useState)({start:0,stop:0}),[K]=km(n),[X]=(0,r.useState)((()=>jm({selectDisabled:E}))),Y=Ed({containerRef:A,enabled:R}),J=(0,r.useCallback)((()=>(({app:e,appSelections:t})=>e.isInModalSelection?.()??t.isInModal())({app:n,appSelections:K})),[n,K]),Z=t?.qListObject.qDimensionInfo.qError,Q=Z&&N.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",{handleKeyDown:ee,handleOnMouseEnter:te,handleOnMouseLeave:ne,globalKeyDown:re}=(0,r.useMemo)((()=>gv({keyboard:Y,hovering:$,updateKeyScroll:U,containerRef:A,currentScrollIndex:W,app:n,appSelections:K,constraints:N,isModal:J,selections:d})),[Y,$,U,A,W,n,K,N,J]);(0,r.useEffect)((()=>(document.addEventListener("keydown",re),()=>{document.removeEventListener("keydown",re)})),[re]),(0,r.useEffect)((()=>{!0===l&&z(!0);const e=()=>{B(!0)},t=()=>{B(!1),"toggle"===l&&z(!1)};return v&&(d.isActive()||(d.on("activated",e),d.on("deactivated",t)),B(v)),b&&d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),B(v||d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[b,d,v]);const{wildCardSearch:oe,searchEnabled:ae,autoConfirm:ie=!1,layoutOptions:le={}}=t??{},se=t?.qListObject?.qDimensionInfo?.qLocked,ce=!1!==ae&&"toggle"===l&&!se,ue=t?.title?.length&&!1!==t?.showTitle,de=b&&!ue&&!v,pe=b&&ue||v,fe="rtl"===o;if(!(u&&t&&x&&T))return null;const he=!0===l||"toggle"===l&&j&&!1!==ae,me=le.dense??!1,qe=()=>{z(!j)},ge=()=>{"toggle"===l?qe():P.current.focus()},ye=he&&("toggle"===l||s),be="grid"===le?.dataLayout,ve=function({isGridMode:e,dense:t,height:n,layoutOrder:r}){let o;if(e){let a;a=op({isGridMode:e,dense:t})>n?"0px":"2px",o="row"===r?`${a} 4px`:`${a} 6px ${a} 4px`}else o=void 0;return o}({isGridMode:be,dense:me,height:A.current?.clientHeight,layoutOrder:le.layoutOrder});Z&&y?.();const Ce=pe?30:0,Se=r.createElement(Tv,{app:n,showSearchIcon:ce,onShowSearch:qe,isPopover:v,showToolbar:F,isDirectQuery:D,autoConfirm:ie,showDetachedToolbarOnly:de,layout:t,translator:x,styles:T,isRtl:fe,showLock:C,constraints:N,classes:Av,containerRect:M,containerRef:A,model:u,selectionState:X,selections:d,keyboard:Y,disablePortal:O});return r.createElement(r.Fragment,null,de&&Se,r.createElement(Pv,{className:"listbox-container",container:!0,tabIndex:Y.enabled?-1:void 0,direction:"column",gap:0,containerPadding:ve,styles:T,style:{height:"100%",flexFlow:"column nowrap"},onKeyDown:ee,onMouseEnter:te,onMouseLeave:ne,ref:e=>{A.current=e,k(e)},isGridMode:be,"aria-label":Y.active?x.get("Listbox.ScreenReaderInstructions"):""},pe&&Se,r.createElement(Xi,{item:!0,container:!0,direction:"column",height:"100%",minHeight:Ce,role:"region","aria-label":x.get("Listbox.ResultFilterLabel")},r.createElement(Xi,{item:!0},r.createElement(Pm,{ref:P,selections:d,selectionState:X,model:u,dense:me,keyboard:Y,visible:he,search:l,autoFocus:ye,beginSelectionOnFocus:!v,wildCardSearch:oe,searchEnabled:ae,direction:o,hide:ce&&qe,styles:T})),r.createElement(Xi,{item:!0,xs:!0,className:Av.listboxWrapper},Z?r.createElement(bv,{text:Q}):r.createElement(qv,null,(({height:e,width:i})=>r.createElement(Yf,{model:u,app:n,constraints:N,layout:t,selections:d,selectionState:X,direction:o,frequencyMode:a,rangeSelect:c,checkboxes:_,height:e,width:i,update:p,fetchStart:f,postProcessPages:h,calculatePagesHeight:m,keyboard:Y,showGray:q,scrollState:g,keyScroll:{state:G,reset:()=>V({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:W,set:H},renderedCallback:y,onCtrlF:ge,isModal:J,styles:T})))))))}const Mv=r.memo(kv),Fv=function({options:e={}}){const{model:t}=e,[n]=nl(t);return r.createElement(Mv,{options:e,layout:n})};const Bv={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,autoConfirm:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function jv(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const zv=(e={})=>{const{__DO_NOT_USE__:t={},...n}=e;return{...n,update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1,...t}},$v=(0,r.forwardRef)((({app:e,fieldIdentifier:t,qId:n,stateName:o,element:a,initialOptions:i,renderedCallback:l},s)=>{const[c,u]=(0,r.useState)(i),{isExistingObject:d,hasExternalSelectionsApi:p}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:n,options:c});d||Object.assign(c,{frequencyMode:jv(c.frequencyMode)});const[f,h]=(0,r.useState)(0);(0,r.useEffect)((()=>{if(f)throw new Error("Source or selection Api can not change after a listbox has been mounted");h(f+1)}),[d,p]);const m=d?function({app:e,qId:t,options:n={}}){const[o,a]=(0,r.useState)(),[i]=Yi(),{sessionModel:l}=n,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(n).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,r.useEffect)((()=>{let n=!1,r=()=>{};return async function(){const o=await Promise.resolve(l||async function(t){return i.get(t)||await e.getObject(t)}(t));if(!n){if(!i.get(o.id)){i.set(o.id,o);const e=()=>{i.clear(o.id)};o.once("closed",e),r=()=>{o.removeListener("closed",e)}}a(o)}}(),()=>{n=!0,r()}}),[]),o}({app:e,qId:n,options:c}):function({app:e,fieldIdentifier:t,stateName:n,options:o={}}){const[a,i]=(0,r.useState)(""),[l,s]=(0,r.useState)(!0),[c,u]=(0,r.useState)(),[d,p]=(0,r.useState)(),f=o.title??d;let{histogram:h=!1,frequencyMode:m="N"}=o;a&&a.failedToFetchFieldDef&&(h=!1,m="N"),(0,r.useEffect)((()=>{const n=h||"N"!==m;t.qLibraryId&&n?async function(){try{const n=await e.getDimension(t.qLibraryId),r=await n.getLayout();p(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),p(t))}),[]);const{dense:q,checkboxes:g,listLayout:y,properties:b={}}=o,v={dense:q};"horizontal"===y&&(v.dataLayout="grid",v.layoutOrder="column",v.maxVisibleColumns={auto:!0},v.maxVisibleRows={auto:!1,maxRows:1});const C=(0,r.useRef)();C.current||(C.current=lv());const S=U()(!0,{},Bv,{qInfo:{qId:C.current},qListObjectDef:{qStateName:n,qFrequencyMode:h&&"N"===m?"V":m},histogram:h,checkboxes:g,layoutOptions:v,title:f});let E;if(U()(!0,S,b),t.qLibraryId?(S.qListObjectDef.qLibraryId=t.qLibraryId,E=t.qLibraryId):(S.qListObjectDef.qDef.qFieldDefs=[t],E=t),"P"!==m&&h)if(a?.multiFieldDim)S.frequencyMax="fetch";else{const e=t.qLibraryId?a:E;S.frequencyMax={qValueExpression:Kf(e)}}const[O]=Ji(S,l?null:e,E,n);return(0,r.useEffect)((()=>{O&&u(O)}),[O]),c}({app:e,fieldIdentifier:t,stateName:o,options:c}),q=(0,r.useRef)(a),g=p?c.selectionsApi:Bm(e,m,[q,".njs-action-toolbar-more",".njs-action-toolbar-popover"],c)[0],y=(0,r.useMemo)((()=>({...c,selections:g,model:m,app:e,renderedCallback:l})),[c,g,m,e]);return(0,r.useImperativeHandle)(s,(()=>({setOptions:e=>u(e)})),[]),g&&m?r.createElement(Fv,{options:y}):null})),Gv={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Vv({app:e,fieldIdentifier:t,stateName:n,element:o,options:a={}}){const[i,l]=(0,r.useState)(!!a.show);return r.createElement(gb,{show:i,app:e,alignTo:{current:o},anchorOrigin:a.anchorOrigin,transformOrigin:a.transformOrigin,close:()=>{l(!1),a.onPopoverClose&&a.onPopoverClose()},fieldName:t,stateName:n,autoFocus:a.autoFocus,components:a.components,sortCriteria:a.sortCriteria,direction:a.direction})}function Uv(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Wv(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function Hv({dc:e,def:t,properties:n}){e.qDimensions=e.qDimensions||[],e.qMeasures=e.qMeasures||[],e.qInterColumnSortOrder=e.qInterColumnSortOrder||[],e.qInitialDataFetch=e.qInitialDataFetch||[],e.qColumnOrder=e.qColumnOrder||[],e.qExpansionState=e.qExpansionState||[];const r=n,o={dimensions:()=>e.qDimensions,measures:()=>e.qMeasures,addDimension(n){const a="string"==typeof n?(e=>({qDef:{qFieldDefs:[e]}}))(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||lv(),a.qDef.qSortCriterias=a.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],a.qOtherTotalSpec=a.qOtherTotalSpec||{},a.qAttributeExpressions=a.qAttributeExpressions||[],a.qAttributeDimensions=a.qAttributeDimensions||[],e.qDimensions.length<o.maxDimensions()?(e.qDimensions.push(a),Uv(e.qInterColumnSortOrder,e.qDimensions.length-1),t.dimensions.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qDimensions.push(a)),a},removeDimension(n){const o=e.qDimensions.splice(n,1)[0];return Wv(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?(e=>({qDef:{qDef:e}}))(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||lv(),a.qSortBy=a.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},a.qAttributeDimensions=a.qAttributeDimensions||[],a.qAttributeExpressions=a.qAttributeExpressions||[],e.qMeasures.length<o.maxMeasures()?(e.qMeasures.push(a),Uv(e.qInterColumnSortOrder,e.qDimensions.length+e.qMeasures.length-1),t.measures.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qMeasures.push(a))},removeMeasure(n){const o=e.qMeasures.splice(n,1)[0];Wv(e.qInterColumnSortOrder,e.qDimensions.length+n),t.measures.removed(o,r,n)},maxDimensions:()=>t.dimensions.max(e.qMeasures.length),maxMeasures:()=>t.measures.max(e.qDimensions.length),canAddDimension:()=>e.qDimensions.length<o.maxDimensions(),canAddMeasure:()=>e.qMeasures.length<o.maxMeasures()};return o}function Kv({dc:e,def:t,properties:n}){e.qInitialDataFetch=e.qInitialDataFetch||[];const r=n,o={dimensions:()=>e.qLibraryId||e.qDef&&e.qDef.qFieldDefs&&0!==e.qDef.qFieldDefs.length?[e]:[],measures:()=>[],addDimension(n){const o="string"==typeof n?(e=>({qDef:{qFieldDefs:[e]}}))(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||lv(),o.qDef.qSortCriterias=e.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(o).forEach((t=>{e[t]=o[t]})),t.dimensions.added(o,r),o},removeDimension(n){const o=e;return delete e.qDef,delete e.qLibraryId,t.dimensions.removed(o,r,n),o},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===o.dimensions().length,canAddMeasure:()=>!1};return o}const Xv=e=>({qDef:{qFieldDefs:[e]}});function Yv({children:e,halo:t}){const n={async addDimension(n){const r=(e=>{let t;return t="string"==typeof e?U()(!0,{},Bv,{qListObjectDef:Xv(e)}):e.qListObjectDef?U()(!0,{},Bv,e):U()(!0,{},Bv,{qListObjectDef:e}),t})(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||lv(),!r.title)if(o.qLibraryId){const e=await t.app.getDimension(o.qLibraryId),n=await e.getProperties();n.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:n.qDim.qLabelExpression}}:r.title=n.qDim.title}else r.title=o.qDef.title||o.qDef.qFieldLabels?.[0]||o.qDef.qFieldDefs?.[0];e.push({qProperty:r,qChildren:[]})},addMeasure(){}};return n}function Jv(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}async function Zv({sn:e,properties:t,fields:n,children:r},o){if(!n.length)return;const a=e.qae.data.targets[0];if(!a)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:i}=a,l=i.split("/");let s=t;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){return e.match("/qListObjectDef")?Kv:e.match("/qChildListDef")?Yv:Hv}(i),u=c({dc:s,def:a,properties:t,children:r,halo:o});for(let e=0;e<n.length;++e){const t=n[e];"measure"===Jv(t)?await u.addMeasure(t):await u.addDimension(t)}}const Qv={getValue:(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},setValue:(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},isEmpty:e=>0===Object.keys(e).length&&e.constructor===Object},eC=function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},tC=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},nC=function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r},rC=function(e,t,n){if(n<0)throw Error("newIndex cannot be a negative value!");if(n>=e.length){let t=n-e.length+1;for(;t;)e.push(void 0),t--}const r=e.at(t);e.splice(t,1),e.splice(n,0,r)},oC=2**53-1;function aC(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function iC(e,t){const n=U()(!0,{},t,e);return Qv.getValue(n,"qOtherTotalSpec.qOtherCounted")||Qv.setValue(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Qv.getValue(n,"qOtherTotalSpec.qOtherLimit")||Qv.setValue(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function lC(e,t){return U()(!0,{},t,e)}function sC(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const cC={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===Qv.getValue(e,t)&&Qv.setValue(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:aC,importCommonProperties:function(e,t,n){const r="masterobject"===Qv.getValue(t,"properties.qInfo.qType")?"masterobject":Qv.getValue(n,"qInfo.qType");Qv.setValue(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:iC,createDefaultMeasure:lC,resolveValue:sC,getHypercubePath:function(e){const t=Qv.getValue(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function({exportFormat:e,newHyperCubeDef:t}){const n=e.data[0],r=t.qDimensions.length+t.qMeasures.length;t.qInterColumnSortOrder=n.interColumnSortOrder.concat();let o=t.qInterColumnSortOrder.length;if(o!==r)for(t.qLayoutExclude&&(t.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());o!==r;)o<r?(tC(t.qInterColumnSortOrder,o),++o):(--o,nC(t.qInterColumnSortOrder,o))},createNewProperties:function({exportFormat:e,initialProperties:t,hypercubePath:n}){let r={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(e.properties).forEach((o=>{"qLayoutExclude"===o?e.properties[o].quarantine&&(r.qLayoutExclude.quarantine=U()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?Qv.setValue(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||aC(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=U()(!0,{},t,r),null===r.components&&(r.components=[]),r},getMaxMinDimensionMeasure:function({exportFormat:e,dataDefinition:t={}}){const n=e.data[0],r=t.dimensions||{max:0},o=t.measures||{max:0},a=sC(o.max,n.dimensions.length,oC),i=sC(o.min,n.dimensions.length,0);return{maxDimensions:sC(r.max,a,oC),minDimensions:sC(r.min,i,0),maxMeasures:a,minMeasures:i}},shouldInitLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o}){const a=e.data[0];return a.dimensions.length>t&&t>0||a.measures.length>r&&r>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>o||!r&&a.measures.length>0||!t&&a.dimensions.length>0},initLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o,newHyperCubeDef:a}){const i=e.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(i.dimensions.length>t&&t>0||i.excludedDimensions&&i.excludedDimensions.length&&i.dimensions.length+i.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(i.measures.length>r&&r>0||i.excludedMeasures&&i.excludedMeasures.length&&i.measures.length+i.excludedMeasures.length>o)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&i.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!t&&i.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function({exportFormat:e,maxDimensions:t,minDimensions:n,newHyperCubeDef:r,defaultDimension:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.dimensions.length;++i)r.qDimensions.length<t?r.qDimensions.push(iC(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(iC(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(iC(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(iC(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(iC(a.excludedDimensions[i],o))},addDefaultMeasures:function({exportFormat:e,maxMeasures:t,minMeasures:n,newHyperCubeDef:r,defaultMeasure:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.measures.length;++i)r.qMeasures.length<t?r.qMeasures.push(lC(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(lC(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(lC(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(lC(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(lC(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=Qv.getValue(e,n||"").qHyperCubeDef,o=[...r.qDimensions];r.qDimensions=[],o.forEach((n=>{r.qDimensions.push(n),t.dimensions.added(n,e)}))}},updateMeasuresOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.measures&&"function"==typeof t.measures.added){const r=Qv.getValue(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},uC={exportProperties:e=>function({propertyTree:e,hypercubePath:t}){const n=function(e=1){const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),r=e.qProperty,o=Qv.getValue(r,t||""),a=o.qHyperCubeDef,i=n.data[0];if(a.qInterColumnSortOrder||(a.qInterColumnSortOrder=[]),i.dimensions.push(...a.qDimensions),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qDimensions&&i.excludedDimensions.push(...a.qLayoutExclude.qHyperCubeDef.qDimensions),i.measures.push(...a.qMeasures),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qMeasures&&i.excludedMeasures.push(...a.qLayoutExclude.qHyperCubeDef.qMeasures),i.interColumnSortOrder=a.qInterColumnSortOrder.concat(),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();eC(e,i.interColumnSortOrder)&&(i.interColumnSortOrder=e)}return delete a.qLayoutExclude,Object.keys(r).forEach((e=>{n.properties[e]=r[e]})),t&&(n.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((e=>{n.properties.hasOwnProperty(e)||(n.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(cC.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!Qv.isEmpty(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude,n}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=cC.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=Qv.getValue(t,o||"").qHyperCubeDef,s=Qv.getValue(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:p}=cC.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:f=cC.getDefaultDimension(),defaultMeasure:h=cC.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,cC.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:p})&&cC.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:p,newHyperCubeDef:s}),cC.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:f}),cC.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:p,newHyperCubeDef:s,defaultMeasure:h}),cC.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),cC.copyPropertyIfExist("qMaxStackedCells",l,s),cC.copyPropertyIfExist("qNoOfLeftDims",l,s),cC.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),cC.copyPropertyOrSetDefault("qMode",l,s,"S"),cC.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),cC.copyPropertyOrSetDefault("qSortbyYValue",l,s),cC.copyPropertyOrSetDefault("qIndentMode",l,s),cC.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),cC.importCommonProperties(i,e,t),cC.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),cC.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},dC=e=>Qv.getValue(e,"data.targets.0.propertyPath"),pC=async({halo:e,model:t,cellRef:n,newType:r,properties:o,viewDataMode:a=!1})=>{const i=o?{qProperty:o}:await t.getFullPropertyTree(),l=n.current.getQae(),s=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return uC.exportProperties})(dC(e)))(l);if(!s)throw new Error("Source chart does not support conversion");const c=await(async({halo:e,name:t,version:n})=>{const{types:r}=e;return await r.get({name:t,version:n}).supernova()})({halo:e,name:r}),u=c.qae,d=(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return uC.importProperties})(dC(e)))(u);if(!d)throw new Error("Target chart does not support conversion");return d({exportFormat:s({propertyTree:i,hypercubePath:cC.getHypercubePath(l),viewDataMode:a}),initialProperties:{qInfo:{qType:r},visualization:r,...Qv.getValue(u,"properties.initial",{})},dataDefinition:Qv.getValue(u,"data.targets.0.",{}),hypercubePath:cC.getHypercubePath(u),viewDataMode:a})},fC={hypercube:uC},hC=U().bind(null,!0),mC={},{isArray:qC}=Array;function gC(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function yC(e){return void 0===e}function bC(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function vC(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=yC(e[r||t])?a:e[t],e=e[r||t]})),e}function CC(e,t){let n=!0;if(gC(e)&&gC(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{CC(e[r],t[r])||(n=!1)})),n);if(qC(e)&&qC(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!CC(e[n],t[n]))return!1;return!0}return e===t}mC.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?hC({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;CC(a,i)||bC(t,o)||(yC(i)?r.push({op:"add",path:l,value:a}):gC(a)&&gC(i)?r=r.concat(mC.generate(i,a,l)):qC(a)&&qC(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&yC(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(CC(t,o))return r;if(!yC(t[0])&&yC(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(mC.generate(o[e],t[a],`${n}/${e}`));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${a}`}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:`${n}/${o}`,value:a}))})),Object.keys(e).forEach((o=>{yC(t[o])&&!bC(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},mC.apply=function(e,t){t.forEach((t=>{let n=vC(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(qC(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(qC(o)&&qC(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(gC(o)&&gC(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!bC(i,e)&&delete i[e]})),hC(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=vC(e,t.from);qC(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(qC(n)?n.splice(+r,1):delete n[r]);var i}))},mC.clone=function(e){return hC({},e)},mC.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},mC.updateObject=function(e,t){Object.keys(e).length?mC.apply(e,mC.generate(e,t)):hC(e,t)};const SC=mC;let EC,OC;function IC(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function xC(e,{explicitResize:t=!1}={}){e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null},contraintsWarning:!0}}function RC(e){LC(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function wC(e){if(e.__hooks.obsolete)return Promise.resolve();OC=-1,EC=e;let t=-1;EC.__hooks.initiated&&(t=EC.__hooks.list.length);try{EC.fn.call(null)}catch(e){console.error(e)}EC.__hooks.initiated=!0,t>-1&&t!==EC.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=EC.__hooks;return DC(EC),OC=void 0,EC=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){LC(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){LC(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)})))}(n),n.chain.promise}function LC(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function NC(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function _C(e,t,n,r){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n,r))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function TC(e){return e.__hooks.imperativeHandle}function DC(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function AC(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,DC(e))}function PC(e){if(void 0===EC)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=EC.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function kC(e){return PC(++OC),EC.context[e]}function MC(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function FC(e){return{__hooked:!0,fn:e,initiate:xC,run:wC,teardown:RC,runSnaps:NC,runMenu:_C,focus:qS,blur:gS,observeActions:AC,getImperativeHandle:TC,updateRectOnNextRun:MC}}function BC(e){const t=PC(++OC);if(!t.value){t.component=EC;const n=e=>{if(t.component.__hooks.obsolete)throw new Error("Calling setState on an unmounted component is a no-op and indicates a memory leak in your component.");const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,wC(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function jC(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=PC(++OC);IC(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===EC.__hooks.pendingEffects.indexOf(n)&&EC.__hooks.pendingEffects.push(n))}function zC(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=PC(++OC);IC(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],EC.__hooks.pendingLayoutEffects.push(n))}function $C(e,t){t||console.warn("useMemo called without dependencies.");const n=PC(++OC);return IC(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function GC(e){return $C((()=>({current:e})),[])}function VC(e,t){const[n,r]=BC((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=PC(++OC);return o.component||(o.component=EC),zC((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]}function UC(){return kC("element")}function WC(){const e=UC(),t=EC.__hooks.resizer,[n,r]=BC((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),zC((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n}function HC(){return kC("layout")}function KC(){const e=kC("layout"),[t]=BC({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function XC(){return kC("appLayout")}function YC(){const e=kC("model");return e&&e.session?e:void 0}function JC(){const e=kC("app");return e&&e.session?e:void 0}function ZC(){const e=kC("global");return e&&e.session?e:void 0}function QC(){return kC("selections")}function eS(){return kC("theme")}function tS(){return kC("nebbie")}function nS(){return kC("translator")}function rS(){return kC("deviceType")}function oS(){return kC("navigation")}function aS(){return kC("plugins")}function iS(e,t){const[n]=BC({action(){n._config.action.call(null)}});return n.component||(n.component=EC,EC.__hooks.actions.list.push(n)),$C((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action}function lS(){return EC.__hooks.contraintsWarning&&(console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),EC.__hooks.contraintsWarning=!1),kC("constraints")}function sS(){return kC("interactions")}function cS(){return kC("options")}function uS(e,t){const n=PC(++OC);if(!n.imperative){if(EC.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(IC(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],EC.__hooks.imperativeHandle=r}}function dS(e){const t=PC(++OC);t.value||(t.value=1,EC.__hooks.snaps.push(t)),t.fn=e}function pS(e){const t=PC(++OC);t.value||(t.value=1,EC.__hooks.menus.push(t)),t.fn=e}function fS(){PC(++OC);const e=EC.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function hS(){return kC("emitter")}function mS(){const e=kC("keyboardNavigation"),t=kC("focusHandler");if(!EC.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(gS(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(EC);EC.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),qS(this))}.bind(EC);EC.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(EC);EC.__hooks.accessibility.focusSelectionFunction=r}const n=EC.__hooks.accessibility.focusFunction,r=EC.__hooks.accessibility.exitFunction,o=EC.__hooks.accessibility.focusSelectionFunction,[a,i]=BC({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return EC.__hooks.accessibility.setter=i,EC.__hooks.accessibility.enabled=e,jC((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function qS(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function gS(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const yS={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},bS=Object.keys(yS);function vS(e,t){console.warn("Obsolete API - time to get hooked!");const n={...yS};var r;r=n,Object.keys(c().prototype).forEach((e=>{r[e]=c().prototype[e]})),c().init(r);const o={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==bS.indexOf(t)?n[t]=e.component[t].bind(o):o[t]=e.component[t]}));const a=function({sn:e,component:t}){const n={},r=[],o=(e=>t=>{const n=(r={...t,action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0},Object.keys(c().prototype).forEach((e=>{r[e]=c().prototype[e]})),c().init(r),r);var r;return n})(t);return((e.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=o(e);n[e.key]=t,r.push(t)})),(e.definition.actions||[]).forEach((e=>{const t=o(e);n[e.key]=t})),{actions:n,selectionToolbarItems:r,destroy(){r.length=0}}}({sn:e,component:o}),i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:i,selections:t.selections,actions:a.actions}),Object.assign(n,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[n,a]}const CS=[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],SS=()=>[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]].map((([e,t])=>e+(Math.random()*(t-e)|0).toString(32))).join(""),ES=(e,t)=>e&&e.find((e=>e.qDef?.cId===t))||null,OS=e=>({...e,qDef:{...e.qDef,cId:e.qDef?.cId??SS()}}),IS=e=>({...OS(e),qOtherTotalSpec:e.qOtherTotalSpec??{}}),xS=(e,t,n)=>{const r=t;e.forEach(((e,t)=>{const o=e.qTags,a={qSortByLoadOrder:1};"function"==typeof n.dimensionDefinition.autoSort?n.dimensionDefinition.autoSort(r,n.properties,o,a,n):(a.qSortByNumeric=1,a.qSortByAscii=1),r.qDef.qSortCriterias?r.qDef.qSortCriterias[t]=a:r.qDef.qSortCriterias=[a]}))},RS=new Error("Not supported in this object, need to implement in subclass."),wS=e=>e?[...e].map((e=>e.qDef?.autoSort&&void 0!==e.autoSort?{...e,qDef:{...e.qDef,autoSort:e.autoSort},autoSort:void 0}:e)):[],LS=(e,t)=>{if(e)return t&&Qv.getValue(e,t)?Qv.getValue(e,t).qHyperCube:e.qHyperCube};function NS(e,t){return e.filter(((e,n)=>t.includes(n)))}function _S(e,t,n=void 0){const r=e.getAlternativeDimensions(),o=n??r.length;return r.splice(o,0,t),Promise.resolve(t)}function TS(e,t,n){tC(e.hcProperties.qInterColumnSortOrder,n??t.length-1)}function DS(e,t){return"function"==typeof e.dimensionDefinition.move?Promise.resolve(e.dimensionDefinition.move.call(e,t,e.properties,e)).then((()=>t)):Promise.resolve(t)}function AS(e,t){return e.getAlternativeDimensions().length+t.length>=1e3}function PS(e,t){const n=e.getAlternativeDimensions();return t||e.maxDimensions()<=n.length&&n.length<1e3}async function kS(e,t,n,r,o,a){await e.autoSortDimension(t),tC(e.hcProperties.qInterColumnSortOrder,n+a),r.push(t),o.push(t),"function"==typeof e.dimensionDefinition.add&&e.dimensionDefinition.add.call(e,t,e.properties,e)}function MS(e,t,n=void 0){const r=e.getAlternativeMeasures(),o=n??r.length;return r.splice(o,0,t),Promise.resolve(t)}function FS(e,t){tC(e.hcProperties.qInterColumnSortOrder,e.getDimensions().length+t.length-1)}function BS(e,t){const n=e.getMeasures();return t||e.maxMeasures()<=n.length&&n.length<1e3}function jS(e,t,n,r){const o=e-n.length;let[a]=n.splice(n.length-1,1);return r.splice(0,0,a),[a]=r.splice(o+1,1),n.splice(t,0,a),Promise.resolve(a)}const zS=class{constructor(e){const t=e||{};this.dimensionDefinition=t.dimensionDefinition||{max:0},this.measureDefinition=t.measureDefinition||{max:0},this.dimensionProperties=t.dimensionProperties??{},this.measureProperties=t.measureProperties??{},this.globalChangeListeners=t.globalChangeListeners,this.app=t.app}setProperties(e){this.properties=e,this.isAnalysisType=this.properties?.metaData?.isAnalysisType}setGlobalChangeListeners(e){this.globalChangeListeners=e}setLayout(e){this.layout=e}type(){throw new Error("Must override this method")}getDimensions(){return[]}getDimension(e){const t=this.getDimensions(),n=this.getAlternativeDimensions();return ES(t,e.id)??ES(n,e.id)}getAlternativeDimensions(){throw new Error("Method not implemented.")}addDimension(){throw RS}addDimensions(){throw RS}removeDimension(){throw RS}removeDimensions(){throw RS}autoSortDimension(){throw RS}replaceDimension(){throw RS}getSorting(){throw RS}createLibraryDimension(e){let t=U()(!0,{},this.dimensionProperties||{},e.defaults||{});return t=IS(t),t.qLibraryId=e.id,t.qDef.autoSort=!0,t.qDef.qSortCriterias=CS,delete t.qDef.qFieldDefs,delete t.qDef.qFieldLabels,t}createFieldDimension(e){let t=U()(!0,{},this.dimensionProperties||{},e.defaults||{});return t=IS(t),e.field||(t.qDef.qFieldDefs=[],t.qDef.qFieldLabels=[],t.qDef.qSortCriterias=[]),t.qDef.qFieldDefs=[e.field],t.qDef.qFieldLabels=e.label?[e.label]:[""],t.qDef.qSortCriterias=CS,t.qDef.autoSort=!0,t}addFieldDimension(e){const t=this.createFieldDimension(e);return this.addDimension(t)}addFieldDimensions(e){const t=e.map((e=>this.createFieldDimension(e)));return this.addDimensions(t)}addLibraryDimension(e){const t=this.createLibraryDimension(e);return this.addDimension(t)}addLibraryDimensions(e){const t=e.map((e=>this.createLibraryDimension(e)));return this.addDimensions(t)}async addAltLibraryDimensions(e){const t=e.map((e=>this.createLibraryDimension(e)));return this.addDimensions(t,!0)}async addAltFieldDimensions(e){const t=e.map((e=>this.createFieldDimension(e)));return this.addDimensions(t,!0)}addAlternativeFieldDimension(e){const t=this.createFieldDimension(e);return this.addDimension(t,!0)}addAlternativeLibraryDimension(e){const t=this.createLibraryDimension(e);return this.addDimension(t,!0)}minDimensions(){return"function"==typeof this.dimensionDefinition.min?this.dimensionDefinition.min.call(null,this.properties,this):this.dimensionDefinition.min||0}maxDimensions(e=0){const t=this.getMeasures().length-e;if("function"==typeof this.dimensionDefinition.max){const e=[t];return this.dimensionDefinition.max?.apply(null,e)}return Number.isNaN(+this.dimensionDefinition.max)?1e4:this.dimensionDefinition.max}canAddDimension(){return this.getDimensions().length<this.maxDimensions()}getMeasures(){return[]}getAlternativeMeasures(){throw new Error("Method not implemented.")}addMeasure(){throw RS}addMeasures(){throw RS}removeMeasure(){throw RS}removeMeasures(){throw RS}autoSortMeasure(){throw RS}replaceMeasure(){throw RS}getMeasure(e){const t=this.getMeasures(),n=this.getAlternativeMeasures();return ES(t,e.id)??ES(n,e.id)}createExpressionMeasure(e){const t=U()(!0,{},this.measureProperties||{},e.defaults||{});return t.qDef=t.qDef??{},t.qDef.qNumFormat=t.qDef.qNumFormat??{},t.qDef.qDef=e.expression,t.qDef.qLabel=e.label,t.qDef.autoSort=!0,t}addExpressionMeasure(e){const t=this.createExpressionMeasure(e);return this.addMeasure(t)}addExpressionMeasures(e){const t=e.map((e=>this.createExpressionMeasure(e)));return this.addMeasures(t)}createLibraryMeasure(e){const t=U()(!0,{},this.measureProperties||{},e.defaults||{});return t.qDef=t.qDef??{},t.qDef.qNumFormat=t.qDef.qNumFormat??{},(e=>{const t=e;t.quarantine={qNumFormat:t.qNumFormat||{},isCustomFormatted:t.isCustomFormatted||!1},t.qNumFormat=null,t.isCustomFormatted=void 0})(t.qDef),t.qLibraryId=e.id,t.qDef.autoSort=!0,delete t.qDef.qDef,delete t.qDef.qLabel,t}addLibraryMeasure(e){const t=this.createLibraryMeasure(e);return this.addMeasure(t)}addLibraryMeasures(e){const t=e.map((e=>this.createLibraryMeasure(e)));return this.addMeasures(t)}addAltLibraryMeasures(e){const t=e.map((e=>this.createLibraryMeasure(e)));return this.addMeasures(t,!0)}addAltExpressionMeasures(e){const t=e.map((e=>this.createExpressionMeasure(e)));return this.addMeasures(t,!0)}addAlternativeExpressionMeasure(e){const t=this.createExpressionMeasure(e);return this.addMeasure(t,!0)}addAlternativeLibraryMeasure(e){const t=this.createLibraryMeasure(e);return this.addMeasure(t,!0)}minMeasures(){return"function"==typeof this.measureDefinition.min?this.measureDefinition.min.call(null,this.properties,this):this.measureDefinition.min||0}maxMeasures(e=0){if("function"==typeof this.measureDefinition.max){const t=[this.getDimensions().length-e];return this.measureDefinition.max.apply(null,t)}return Number.isNaN(+this.measureDefinition.max)?1e4:this.measureDefinition.max}canAddMeasure(){return this.getMeasures().length<this.maxMeasures()}updateGlobalChangeListeners(e){this.globalChangeListeners&&(this.globalChangeListeners||[]).forEach((t=>{t&&"function"==typeof t&&t(this.properties,this,{layout:e})}))}},$S=function(e,t,n){const r=e.getDimensions(),o=n??r.length;return r.length<e.maxDimensions()?function(e,t,n){const r=e.getDimensions();return r.splice(n,0,t),e.autoSortDimension(t).then((async()=>(TS(e,r,n),await function(e,t){return t&&"function"==typeof e.dimensionDefinition.add?Promise.resolve(e.dimensionDefinition.add.call(null,t,e.properties,e)).then((()=>t)):Promise.resolve(t)}(e,t),t)))}(e,t,o):Promise.resolve(t)},GS=async function(e,t){!function(e,t){nC(e.hcProperties.qInterColumnSortOrder,t)}(e,t),await function(e,t){const[n]=e.getDimensions().splice(t,1);return n&&"function"==typeof e.dimensionDefinition.remove?Promise.resolve(e.dimensionDefinition.remove.call(null,n,e.properties,e,t)):Promise.resolve()}(e,t)},VS=async function(e,t){!function(e,t){nC(e.hcProperties.qInterColumnSortOrder,e.getDimensions().length+t)}(e,t),await function(e,t){const[n]=e.getMeasures().splice(t,1);return n&&"function"==typeof e.measureDefinition.remove?Promise.resolve(e.measureDefinition.remove.call(null,n,e.properties,e,t)):Promise.resolve()}(e,t)},US=function(e,t){const[n]=e.getAlternativeDimensions().splice(t,1);if(n&&"function"==typeof e.dimensionDefinition.remove)return n.isAlternative=!0,Promise.resolve(e.dimensionDefinition.remove.call(null,n,e.properties,e,t)).then((()=>{delete n.isAlternative}))},WS=class extends zS{constructor(e){super(e),this.path=e.path}setProperties(e){e&&(super.setProperties(e),this.hcProperties=this.path?Qv.getValue(e,`${this.path}.qHyperCubeDef`):e.qHyperCubeDef,this.hcProperties&&(function(e){const t=e;t.hcProperties.qDimensions=t.getDimensions()??[],t.hcProperties.qMeasures=t.getMeasures()??[],t.hcProperties.qInterColumnSortOrder=t.hcProperties.qInterColumnSortOrder??[],t.hcProperties.qLayoutExclude=t.hcProperties.qLayoutExclude??{qHyperCubeDef:{qDimensions:[],qMeasures:[]}},t.hcProperties.qLayoutExclude.qHyperCubeDef=t.hcProperties.qLayoutExclude.qHyperCubeDef??{qDimensions:[],qMeasures:[]},t.hcProperties.qLayoutExclude.qHyperCubeDef.qDimensions=t.getAlternativeDimensions()??[],t.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures=t.getAlternativeMeasures()??[]}(this),function(e){const t=e;t.hcProperties.isHCEnabled&&0===t.hcProperties.qDynamicScript.length&&"S"===t.hcProperties.qMode&&(t.hcProperties.qDynamicScript=[])}(this),this.hcProperties.qDimensions=wS(this.hcProperties.qDimensions),this.hcProperties.qMeasures=wS(this.hcProperties.qMeasures)))}getDimensions(){return this.hcProperties?this.hcProperties.qDimensions:[]}getAlternativeDimensions(){return this.hcProperties?.qLayoutExclude?.qHyperCubeDef?.qDimensions??[]}getDimensionLayout(e){return this.getDimensionLayouts().filter((t=>e===t.cId))[0]}getDimensionLayouts(){const e=LS(this.layout,this.path);return e?e.qDimensionInfo:[]}addDimension(e){const t=IS(e.dimension);return PS(this,e.alternative)?_S(this,t,e.index):$S(this,t,e.index)}async addDimensions(e){const t=this.getDimensions(),n=t.length,r=[];let o=0;const{dimensions:a}=e;for await(const i of a){if(AS(this,t))return r;const a=IS(i);if(PS(this,e.alternative||!1)){const e=await _S(this,a);r.push(e)}else t.length<this.maxDimensions()&&(await kS(this,a,n,t,r,o),o++)}return r}removeDimension(e){const{alternative:t,index:n}=e;t&&US(this,n),GS(this,n)}async removeDimensions(e){const t=this.getAlternativeDimensions(),n=this.getDimensions();if(0===e.indexes.length)return[];let r=[];const o=[...e.indexes].sort(((e,t)=>t-e));if(e.alternative&&t.length>0){r=NS(t,e.indexes);for await(const e of o)await US(this,e)}else if(n.length>0){r=NS(n,e.indexes);for await(const e of o)await GS(this,e)}return r}replaceDimension(e){const{index:t,dimension:n}=e;return this.autoSortDimension(n).then((()=>function(e,t,n){if(!n)return;const r=e.getDimensions(),o=r[t],a={...n,qDef:{...n.qDef,cId:SS()}};return r[t]=a,a&&"function"==typeof e.dimensionDefinition.replace&&e.dimensionDefinition.replace.call(null,a,o,t,e.properties,e),a}(this,t,n)))}reinsertDimension(e){const t=OS(e.dimension);return PS(this,e.alternative)?_S(this,t,e.index).then((()=>{DS(this,t)})):function(e,t,n){const r=e.getDimensions(),o=n??r.length;return r.length<e.maxDimensions()?(r.splice(o,0,t),TS(e,r),DS(e,t)):Promise.resolve(t)}(this,t,e.index)}moveDimension(e){const t=this.getDimensions(),n=this.getAlternativeDimensions();return e.fromIndex<t.length&&e.toIndex<t.length?Promise.resolve(rC(t,e.fromIndex,e.toIndex)):e.fromIndex<t.length&&e.toIndex>=t.length?function(e,t,n,r){const o=t-n.length;let[a]=r.splice(0,1);return n.push(a),[a]=n.splice(e,1),r.splice(o,0,a),Promise.resolve(a)}(e.fromIndex,e.toIndex,t,n):e.fromIndex>=t.length&&e.toIndex<t.length?Promise.resolve(jS(e.fromIndex,e.toIndex,t,n)):Promise.resolve(function(e,t,n,r){const o=e-n.length,a=t-n.length;rC(r,o,a)}(e.fromIndex,e.toIndex,t,n))}autoSortDimension(e){return e.qLibraryId?function(e,t){return e.app.getDimensionList().then((n=>{const r=t?.qLibraryId&&(o=t.qLibraryId,(a=n)&&a.find((e=>e.qInfo.qId===o))||null);var o,a;return r&&xS(r.qData.info,t,e),t}))}(this,e):function(e,t){return e.app.getFieldList().then((n=>{const r=t?.qDef?.qFieldDefs&&((e,t)=>{const n=(e=>{const t=[];return e.forEach((e=>{t.push((e=>{const t=e;return t.isDateField=(e=>e?.qDerivedFieldData&&(e?.qTags?.indexOf("$date")>-1||e?.qTags?.indexOf("$timestamp")>-1))(t),t.isGeoField=(e=>e.qTags.indexOf("$geoname")>-1)(t),t})(e));const n=(e=>{const t=[];return e.qDerivedFieldData?(e.qDerivedFieldData.qDerivedFieldLists.forEach((n=>{n.qFieldDefs.forEach((r=>{var o;t.push({qName:r.qName,displayName:(o=r.qName,o?o.split(".autoCalendar").join(""):""),qSrcTables:e.qSrcTables,qTags:r.qTags,isDerived:!0,isDerivedFromDate:e.isDateField,sourceField:e.qName,derivedDefinitionName:n.qDerivedDefinitionName})}))})),t):t})(e);t.push(...n)})),t})(t.slice(0)),r=(e=>{let t=e;t=t.trim(),"="===t.charAt(0)&&(t=t.substring(1),t=t.trim());const n=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(n)&&(t=t.substring(1,n),t=t.trim()),t})(e);return n&&((e,t)=>t&&t.find((t=>t.qName===e))||null)(r,n)||null})(t.qDef.qFieldDefs[0],n);return r&&xS([r],t,e),t}))}(this,e)}getMeasures(){return this.hcProperties?this.hcProperties.qMeasures:[]}getAlternativeMeasures(){return this.hcProperties?.qLayoutExclude?.qHyperCubeDef?.qMeasures??[]}getMeasureLayouts(){const e=LS(this.layout,this.path);return e?e.qMeasureInfo:[]}getMeasureLayout(e){return this.getMeasureLayouts().filter((t=>e===t.cId))[0]}addMeasure(e){const t=OS(e.measure);return BS(this,e.alternative)?MS(t,this.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures,e.index):function(e,t,n){const r=e.getMeasures(),o=n??r.length;return r.length<e.maxMeasures()?(r.splice(o,0,t),e.autoSortMeasure(t).then((()=>(FS(e,r),function(e,t){return t&&"function"==typeof e.measureDefinition.add?Promise.resolve(e.measureDefinition.add.call(null,t,e.properties,e)):Promise.resolve()}(e,t).then((()=>t)),t)))):Promise.resolve()}(this,t,e.index)}autoSortMeasure(e){const t=e;return t.qSortBy={qSortByLoadOrder:1,qSortByNumeric:-1},Promise.resolve(t)}addMeasures(e){const t=this.getMeasures(),n=[];let r=0;return e.measures.forEach((async o=>{if(function(e,t){return e.getAlternativeMeasures().length+t.length>=1e3}(this,t))return!1;const a=OS(o);return BS(this,e.alternative||!1)?(MS(this,a),n.push(a)):t.length<this.maxMeasures()&&(await function(e,t,n,r,o){const a=e.getDimensions(),i={...t};return i.qSortBy={qSortByLoadOrder:1,qSortByNumeric:-1},tC(e.hcProperties.qInterColumnSortOrder,a.length+n.length+o),n.push(i),r.push(i),"function"==typeof e.measureDefinition.add&&e.measureDefinition.add.call(null,i,e.properties,e),Promise.resolve(r)}(this,a,t,n,r),r++),!0})),n}removeMeasure(e){const{index:t,alternative:n}=e;n&&function(e,t){e.getAlternativeMeasures().splice(t,1)}(this,t),VS(this,t)}async removeMeasures(e){const t=this.getMeasures(),n=this.getAlternativeMeasures();let r=[];if(0===e.length)return r;if(e.alternative&&n.length>0)r=NS(n,e.indexes),function(e,t){const n=e,r=function(e,t){return e.filter(((e,n)=>!t.includes(n)))}(n.getAlternativeMeasures(),t);n.hcProperties.qLayoutExclude.qHyperCubeDef.qMeasures=r}(this,e.indexes);else if(t.length>0){r=NS(t,e.indexes);const n=[...e.indexes].sort(((e,t)=>t-e));for await(const e of n)await VS(this,e)}return r}replaceMeasure(e){const{index:t,measure:n}=e;return this.autoSortMeasure(n).then((()=>function(e,t,n){const r=e.getMeasures(),o=r[t],a={...n,qDef:{...n.qDef,cId:SS()}};return r[t]=a,a&&"function"==typeof e.measureDefinition.replace&&e.dimensionDefinition.replace.call(null,a,o,t,e.properties,e),a}(this,t,n)))}reinsertMeasure(e){const t=OS(e.measure);return BS(this,e.alternative)?MS(this,t,e.index):function(e,t,n){const r=e.getMeasures(),o=n??r.length;return r.length<e.maxMeasures()?(r.splice(o,0,t),FS(e,r),function(e,t){return"function"==typeof e.measureDefinition.move?Promise.resolve(e.measureDefinition.move.call(null,t,e.properties,e,!0)).then((()=>t)):Promise.resolve(t)}(e,t)):Promise.resolve(t)}(this,t,e.index)}moveMeasure(e){const t=this.getMeasures(),n=this.getAlternativeMeasures();return e.fromIndex<t.length&&e.toIndex<t.length?Promise.resolve(rC(t,e.fromIndex,e.toIndex)):e.fromIndex<t.length&&e.toIndex>=t.length?function(e,t,n,r){const o=t-n.length;let[a]=r.splice(0,1);return n.push(a),[a]=n.splice(e,1),r.splice(o,0,a),Promise.resolve(a)}(e.fromIndex,e.toIndex,t,n):e.fromIndex>=t.length&&e.toIndex<t.length?jS(e.fromIndex,e.toIndex,t,n):Promise.resolve(function(e,t,n,r){const o=e-n.length,a=t-n.length;rC(r,o,a)}(e.fromIndex,e.toIndex,t,n))}setSorting(e){e&&e.length===this.hcProperties.qInterColumnSortOrder.length&&(this.hcProperties.qInterColumnSortOrder=e)}getSorting(){return this.hcProperties.qInterColumnSortOrder}changeSorting(e){Qv.move(this.hcProperties.qInterColumnSortOrder,e.fromIndex,e.toIndex)}IsHCInStraightMode(){return"S"===this.hcProperties.qMode}setHCEnabled(e){this.hcProperties&&(this.hcProperties.isHCEnabled=e)}getDynamicScripts(){return this.hcProperties?.qDynamicScript||[]}},HS=()=>{};function KS(e,t){return void 0===e?()=>t:()=>e}function XS(e){const t=e||{};return{min:"function"==typeof t.min?t.min:KS(t.min,0),max:"function"==typeof t.max?t.max:KS(t.max,1e3),added:t.added||t.add||HS,description:t.description||HS,moved:t.moved||t.move||HS,removed:t.removed||t.remove||HS,replaced:t.replaced||t.replace||HS,isDefined:()=>!!e}}function YS(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error(`Incorrect definition for ${e} at ${t}. Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef`)}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o})(e,n,{}),dimensions:XS(e.dimensions),measures:XS(e.measures)}}function JS(e={}){let t,n=e.properties||{};return e.properties&&(e.properties.initial||e.properties.onChange)&&(n=e.properties.initial,t=e.properties.onChange),{properties:{initial:n,onChange:t},data:{targets:((e.data||{}).targets||[]).map(YS)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function ZS(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:JS(n.qae),component:n.component||{},create:e=>function(e,t,n){"function"==typeof e.component&&(e.component=FC(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==wC&&console.warn("Detected multiple supernova modules, this might cause problems.");const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints","interactions"],l={},s={};t.model&&t.model.session||(l.select=!0,l.edit=!0,s.select=!1,s.edit=!1);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,navigation:t.navigation,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,externalFocusManagement:t.externalFocusManagement||!1,focusHandler:t.focusHandler,constraints:l,interactions:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify({...r[e],...l})),"interactions"===e&&(t=JSON.stringify({...r[e],...s})),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n,r){return e.component.runMenu(this,t,n,r)},focus(){const t=e.component.getImperativeHandle(this);t&&"function"==typeof t.focus?t.focus():e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return i.forEach((e=>{a[e]=JSON.stringify(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):vS(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(...n){try{e.qae.properties.onChange.call({model:t.model},...n)}catch{console.warn("Error in chart setProperties interceptor onChange call ")}return t.model.__snInterceptor.setProperties.call(this,...n)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=SC.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));SC.apply(o,i);try{e.qae.properties.onChange.call({model:t.model},o)}catch{console.warn("Error in chart applyPatches interceptor onChange call ")}const l=SC.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.__snInterceptor&&(t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor)},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}(r,e,t),definition:t.flags.isEnabled("NEBULA_DATA_HANDLERS")?{dataHandler:e=>new WS(e)}:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}function QS(e){return ci("MuiIcon",e)}ui("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const eE=Bi("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${fl(n.color)}`],t[`fontSize${fl(n.fontSize)}`]]}})(pl((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(e.vars||e).palette.action.active}},{props:{color:"disabled"},style:{color:(e.vars||e).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(e.palette).filter(hl()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),tE=r.forwardRef((function(e,t){const n=ji({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium",...s}=n,c={...n,baseClassName:r,color:a,component:i,fontSize:l},u=(e=>{const{color:t,fontSize:n,classes:r}=e;return wi({root:["root","inherit"!==t&&`color${fl(t)}`,`fontSize${fl(n)}`]},QS,r)})(c);return(0,Yo.jsx)(eE,{as:i,className:xi(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t,...s})}));tE.muiName="Icon";const nE=tE,rE=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function oE({d:e}){const t=Wo();let n="inherit",o=t.palette.success.main;e.missing?o=t.palette.warning.main:e.error&&(n="error",o=t.palette.error.main);const a={color:o},i=r.createElement(Cl,{style:{lineHeight:"30px",paddingRight:t.spacing(1)}},r.createElement(nE,null,e.missing||e.error?r.createElement(rE,{style:a}):r.createElement(Yc,{style:a})));return r.createElement(Xi,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},r.createElement(Xi,{item:!0},i),r.createElement(Xi,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},r.createElement(Cl,{noWrap:!0,component:"p"},r.createElement(Cl,{component:"span",variant:"subtitle2",color:n},e.description),r.createElement(Cl,{component:"span"}," "),r.createElement(Cl,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function aE({data:e}){const t=Wo();return r.createElement(Xi,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,n)=>{const o=e.descriptions.map(((e,t)=>r.createElement(oE,{d:e,key:t})));return o.length>0&&r.createElement(Xi,{container:!0,item:!0,key:n,direction:"column",style:{paddingBottom:t.spacing(2)}},r.createElement(Cl,{noWrap:!0,key:n,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function iE({title:e="Error",message:t="",data:n=[]}){return r.createElement(Xi,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},r.createElement(Xi,{item:!0},r.createElement(rE,{style:{fontSize:"38px"}})),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"h6",align:"center","data-tid":"error-title"},e)),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"subtitle1",align:"center","data-tid":"error-message"},t)),r.createElement(aE,{data:n}))}function lE(){return lE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lE.apply(null,arguments)}const sE="Progress",cE={root:`${sE}-root`,front:`${sE}-front`,back:`${sE}-back`},uE=Bi("div")((({theme:e})=>({[`&.${cE.root}`]:{position:"relative",display:"inline-block"},[`& .${cE.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${cE.back}`]:{color:e.palette.divider}}))),dE={small:16,medium:32,large:64,xlarge:128};function pE({size:e="medium",...t}){const n=dE[e];return r.createElement(uE,{className:cE.root},r.createElement(hs,lE({variant:"determinate",value:100,className:cE.back,size:n,thickness:3},t)),r.createElement(hs,lE({variant:"indeterminate",disableShrink:!0,className:cE.front,size:n,thickness:3},t)))}function fE(){return fE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fE.apply(null,arguments)}const hE={stripes:"LongRunningQuery-stripes"},mE=Bi(Xi)((()=>({[`& .${hE.stripes}`]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function qE({cancel:e,translator:t,...n}){return r.createElement(r.Fragment,null,r.createElement(mE,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},r.createElement(Xi,{item:!0},r.createElement(pE,null)),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"h6",align:"center","data-tid":"update-active"},t.get("Object.Update.Active")))),r.createElement(Xi,fE({item:!0},n),r.createElement(Wb,{variant:"contained",onClick:e},t.get("Cancel"))))}function gE({retry:e,translator:t,...n}){return r.createElement(r.Fragment,null,r.createElement(Xi,{item:!0},r.createElement(rE,{style:{fontSize:"38px"}})),r.createElement(Xi,{item:!0},r.createElement(Cl,{variant:"h6",align:"center","data-tid":"update-cancelled"},t.get("Object.Update.Cancelled"))),r.createElement(Xi,{item:!0},r.createElement(Wb,fE({variant:"contained",onClick:e},n),t.get("Retry"))))}function yE({canCancel:e,canRetry:t,api:n}){const{translator:o}=(0,r.useContext)(bi);return r.createElement(Xi,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:hE.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&r.createElement(qE,{cancel:n.cancel,translator:o,className:hE.cancel}),t&&r.createElement(gE,{retry:n.retry,translator:o,className:hE.retry}))}function bE(){return r.createElement(Xi,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},r.createElement(pE,{size:"large"}))}const vE={width:0,height:0},CE="Header",SE={containerStyle:`${CE}-containerStyle`,containerTitleStyle:`${CE}-containerTitleStyle`},EE=Bi(Xi)((({theme:e})=>({[`&.${SE.containerStyle}`]:{flexGrow:0},[`&.${SE.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),OE=function({id:e,layout:t,sn:n,anchorEl:o,hovering:a,focusHandler:i,titleStyles:l={},isRtl:s,translator:c}){const u=t.showTitles&&!!t.title,d=t.showTitles&&!!t.subtitle,p=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[f,h]=(0,r.useState)([]);(0,r.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{h([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]);const m=[SE.containerStyle,...u||d?[SE.containerTitleStyle]:[]],q=a||p,g=r.createElement(Yh,{show:!1,selections:{show:p,api:n.component.selections,onKeyDeactivate:i.refocusContent},actions:f,popover:{show:q,anchorEl:o},focusHandler:i,layout:t,isRtl:s});return r.createElement(EE,{item:!0,container:!0,wrap:"nowrap",className:m.join(" ")},r.createElement(Xi,{item:!0,zeroMinWidth:!0,xs:!0,dir:s?"rtl":"ltr"},r.createElement(Xi,{container:!0,wrap:"nowrap",direction:"column"},u?r.createElement(Mf,{title:t.title},r.createElement(Cl,{id:`${e}_title`,variant:"h6",noWrap:!0,className:"njs-cell-title",style:l.main},t.title)):r.createElement("div",{id:`${e}_title`,style:vE,"aria-label":c.get("Accessibility.Object.NoTitle")}),d&&r.createElement(Mf,{title:t.subtitle},r.createElement(Cl,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:l.subTitle},t.subtitle)))),r.createElement(Xi,{item:!0},g))},IE=(e,t)=>{if(!Array.isArray(e))return[];const n=t.get("Object.FilterLabel.Exclude");return e.filter((e=>!1!==e.showInFooter)).map((e=>{let r="";switch(e.type){case"search":r+=(e=>{let t="",n="";const r=e.options?.mode;switch(r){case"beginning_of_word":t="*^",n="*";break;case"ends_with":t="*";break;case"starts_with":n="*";break;case"matches_exactly":break;default:t="*",n="*"}const o=e.options.values?.[0]??"";return""!==o?`"${t}${o}${n}"`:""})(e);break;case"condition":r+=(e=>{const{options:t}=e,n="general"===t?.mode,r="fixed_value"===t?.modifier?.type,o=t?.modifier?.operator?t.modifier.operator.split(" "):[];if(0===o.length||!r&&(!t.firstValue?.aggregator||!t.firstValue?.field)||r&&!t.firstValue?.fixedValue||n&&(!t.conditionField?.aggregator||!t.conditionField?.field))return"";let a,i,l="=";n&&r?(a=`${t.conditionField?.aggregator}(${Hf(t.conditionField?.field)})`,i=`${t.firstValue?.fixedValue}`):!n&&r?(a="",i=`${t.firstValue?.fixedValue}`,l=""):n||r?(a=`${t.conditionField?.aggregator}(${Hf(t.conditionField?.field)})`,i=`${t.firstValue?.aggregator}(${Hf(t.firstValue?.field)})`):(a=`${Hf(e.field)}`,i=`${t.firstValue?.aggregator}(total ${Hf(t.firstValue?.field)})`);const s=`${l}${a}${o[0]}${i}`;let c="";if(o.length>1){if(!r&&(!t.secondValue?.aggregator||!t.secondValue?.field)||r&&!t.secondValue?.fixedValue)return"";let e,i;n&&r?(e=`${t.secondValue?.fixedValue}`,i=` and ${a}`):!n&&r?(e=`${t.secondValue?.fixedValue}`,i=""):n||r?(e=`${t.secondValue?.aggregator}(${Hf(t.secondValue?.field)})`,i=` and ${a}`):(e=`${t.secondValue?.aggregator}(total ${Hf(t.secondValue?.field)})`,i=` and ${a}`),c=`${i}${o[1]}${e}`}return`"${s}${c}"`})(e);break;case"clear_selection":r+=t.get("Object.FilterLabel.All");break;default:r+=e.options?.values?e.options.values.join(", "):t.get("Object.FilterLabel.Unknown")}return""!==r&&(r=r.replace(/^"|"$/g,""),e.exclude&&(r=`${n} ${r}`)),{field:e.field,label:r}})).filter((e=>""!==e.label))},xE=(e,t)=>IE(e,t).map((e=>`${e.field}: ${e.label}`)).join("; "),RE=e=>ll((e=>({...e,shapes:[{type:"path",attrs:{d:"M14.07 0a1 1 0 0 1 .816 1.577L10 8.5v4.398a1 1 0 0 1-.532.884l-2.734 1.445A.5.5 0 0 1 6 14.785V8.5L1.112 1.577A1 1 0 0 1 1.93 0zm0 1H1.93L7 8.183v5.772l2-1.057V8.183z"}}]}))(e));function wE({styles:e,children:t}){return r.createElement(Cl,{noWrap:!0,variant:"body2",style:{...e,fontStyle:"italic"}},t)}const LE=function({layout:e,translator:t,filtersFootnoteString:n,footerStyle:o,isRtl:a}){const i=IE(e?.filters??[],t),l={color:o?.color,fontFamily:o?.fontFamily,fontSize:o?.fontSize,fontWeight:o?.fontWeight};return r.createElement(Mf,{title:n},r.createElement(Xi,{container:!0,wrap:"nowrap",sx:{backgroundColor:o?.backgroundColor,padding:o?.padding,borderTop:o?.borderTop},"data-testid":"filters-footnote",justifyContent:a?"flex-end":"flex-start"},r.createElement(Xi,{item:!0,display:"flex"},r.createElement(RE,{style:{fontSize:"12px",color:o.color,margin:"auto"}}),r.createElement(wE,{styles:{...l,marginLeft:"2px"}},t.get("Object.FiltersApplied"),"  ")),r.createElement(Xi,{item:!0,display:"flex"},i.map((e=>r.createElement(Xi,{container:!0,wrap:"nowrap",key:`${e.field}-${e.label}`},r.createElement(wE,{styles:{...l,fontWeight:"bold"}},`${e.field}:`),r.createElement(wE,{styles:l},"   ",e.label,"  ")))))))},NE="Footer-itemStyle",_E=Bi(Xi)((()=>({[`& .${NE}`]:{minWidth:0,width:"100%"}}))),TE="njs-cell-footer",DE=function({layout:e,titleStyles:t={},translator:n,flags:o,isCardTheme:a,isRtl:i}){const l=t.footer,s=e?.filters?.length>0&&e?.qHyperCube?.qMeasureInfo?.length>0,c=xE(e?.filters??[],n),u=!e?.footnote&&s&&c,d=o?.isEnabled("VNA-13_CELLPADDING_FROM_THEME"),p=a?"1px":"6px";return e&&e.showTitles&&(e.footnote||u)?r.createElement(_E,{container:!0},r.createElement(Xi,{item:!0,className:NE,"data-testid":TE,sx:{paddingTop:e=>d?p:e.spacing(1)}},e.footnote&&r.createElement(Mf,{title:e.footnote},r.createElement(Cl,{noWrap:!0,variant:"body2",className:TE,style:l,align:i?"right":"left"},e.footnote)),u&&r.createElement(LE,{layout:e,translator:n,filtersFootnoteString:c,footerStyle:l,isRtl:i}))):null};class AE{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const PE=function({sn:e,snOptions:t,snPlugins:n,layout:o,appLayout:a,halo:i,cellId:l}){const{component:s}=e,{theme:c,language:u,constraints:d,interactions:p,keyboardNavigation:f}=(0,r.useContext)(bi),[h]=(0,r.useState)((()=>new AE)),[m,q]=(0,r.useState)(!1),[g,y]=(0,r.useState)(0),[b,v,C]=ol(),[S,E]=(0,r.useState)(null),O=(0,r.useCallback)((e=>{e&&E(e)}),[]);return(0,r.useEffect)((()=>{if(S)return s.created({options:t}),s.mounted(S),q(!0),()=>{h.stop(),s.willUnmount()}}),[S,s]),(0,r.useEffect)((()=>{m&&S&&v&&(!s.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||h.schedule((()=>{const r=[];return d.passive||r.push("passive"),d.active||r.push("interact"),d.select||r.push("select"),d.edit||r.push("edit"),i.app&&i.app.session&&r.push("fetch"),Promise.resolve(s.render({layout:o,options:t,plugins:n,embed:i.public.nebbie,context:{constraints:d,interactions:p,theme:i.public.theme,appLayout:a,keyboardNavigation:f,...s.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:r}}})).then((e=>{!1!==e&&(0===g&&"function"==typeof t.onInitialRender&&t.onInitialRender.call(null),y(g+1))}))})))}),[v,t,n,S,C,o,a,c,u,d,p,m,f]),r.createElement("div",{ref:b,"data-render-count":g,style:{position:"relative",height:"100%"},className:"njs-viz"},r.createElement("div",{ref:O,id:`${l}_content`,style:{position:"absolute",width:"100%",height:"100%"}}))},kE={linechart:"lineChart",barchart:"barChart",combochart:"comboChart",scatterplot:"scatterPlot",piechart:"pieChart",straightable:"straightTable",pivottable:"pivotTable",table:"straightTable","pivot-table":"pivotTable",listbox:"listBox",referenceline:"referenceLine",datacolors:"dataColors","text-image":"textImage",boxplot:"boxPlot",map:"mapChart",mapchart:"mapChart",bulletchart:"bulletChart"};class ME extends Error{constructor(e,t){super(e),this.originalError=t,this.name="RenderError"}}const FE=["action-button","sn-nav-menu","filterpane","sn-shape"],BE=[...FE,"pivot-table","table","sn-table","sn-pivot-table","kpi","sn-calendar","sn-filter-pane","sn-layout-container","sn-tabbed-container"],jE=e=>-1===FE.indexOf(e),zE=e=>jE(e)?"10px 10px 0":"10px 0 0",$E=new Map;[["auto-chart","Object.AutoChart"],["dummy-chart","Dummy"],["barchart","Object.BarChart"],["combochart","Object.ComboChart"],["container","Object.Container"],["distributionplot","Object.DistributionPlot"],["boxplot","Object.BoxPlot"],["filterpane","Object.FilterPane"],["gauge","Object.Gauge"],["histogram","Object.Histogram"],["kpi","Object.Kpi"],["linechart","Object.LineChart"],["listbox","Object.Listbox"],["piechart","Object.PieChart"],["pivot-table","Object.PivotTable"],["map","Object.Map"],["scatterplot","Object.ScatterPlot"],["sn-table","Object.StraightTable"],["text-image","Object.TextImage"],["treemap","Object.Treemap"],["waterfallchart","Object.WaterfallChart"],["mekkochart","Object.MekkoChart"],["action-button","Object.ActionButton"],["sn-nav-menu","Object.NavMenu"],["bulletchart","Object.BulletChart"],["sn-nlg-chart","Object.NlgChart"],["sn-analysis-autochart","Common.AnalysisTypes"],["sn-tabbed-container","Object.TabContainer"],["qlik-sankey-chart-ext","Object.SankeyChart"],["qlik-radar-chart","Object.RadarChart"],["qlik-funnel-chart-ext","Object.FunnelChart"],["sn-grid-chart","Object.GridChart"],["sn-layout-container","Object.LayoutContainer"]].forEach((([e,t])=>{$E.set(e,t)}));const GE=$E,VE=(e,t)=>{switch(t.type){case"LOADING":return{...e,loading:!0};case"LOADED":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization};case"RENDER":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null};case"LONG_RUNNING_QUERY":return{...e,longRunningQuery:!0};case"ERROR":return{...e,loading:!1,longRunningQuery:!1,error:t.error};default:throw new Error(`Unhandled type: ${t.type}`)}};function UE({delay:e=750}){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const t=setTimeout((()=>n(!0)),e);return()=>clearTimeout(t)}),[]),t?r.createElement(bE,null):null}const WE=e=>!e.qError||7005===e.qError.qErrorCode,HE=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c=`${l?r:i?s||o:a&&t[e].qFallbackTitle||""}`,u=n(e);return{description:u?`${u}${c.length?":":""}`:null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),KE=e=>e&&(Array.isArray(e)?e:[e])||[],XE=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t),l=HE(o,KE(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),s=HE(a,KE(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"));return{reqDimErrors:l,reqMeasErrors:s}};function YE(){return new(c())}const JE=(0,r.forwardRef)((({halo:e,model:t,initialSnOptions:n,initialSnPlugins:o,initialError:a,onMount:i,currentId:l,emitter:s,navigation:c,onError:u},d)=>{const{app:p,types:f}=e,{nebbie:h}=e.public,{theme:m,translator:q,language:g,keyboardNavigation:y,externalFocusManagement:b,disableCellPadding:v=!1,navigation:C,queryParams:S}=(0,r.useContext)(bi),[E]=(0,r.useState)(s||YE),O=Wo(),[I,x,R]=ol(),[w,L]=(0,r.useReducer)(VE,{loading:!1,loaded:!1,longRunningQuery:!1,error:(N=a)?{title:N.message}:null,sn:null,visualization:null});var N;const[_,T]=(0,r.useState)(t),[D,{validating:A,canCancel:P,canRetry:k},M]=nl(_),[F]=rl(p),[B,j,z]=ol(),[$,G]=(0,r.useState)(n),[V,U]=(0,r.useState)(o),W=`njs-cell-${l}`,[H]=Bm(p,_,[`#${W}`,".njs-action-toolbar-popover"]),[K,X]=(0,r.useState)(!1),Y=(0,r.useRef)({enter:null,leave:null}),{titleStyles:J,bgColor:Z,bgImage:Q,border:ee,borderRadius:te,boxShadow:ne}=(({layout:e,theme:t,app:n,themeName:o,disableThemeBorder:a,queryParams:i})=>{const l=(0,r.useMemo)((()=>{if(e&&t){const o=e.components?e.components.find((e=>"general"===e.key)):null,l=(r=e.visualization,kE[r.toLowerCase()]?kE[r.toLowerCase()]:r),s={main:fb(o,"main",t,l),footer:fb(o,"footer",t,l),subTitle:fb(o,"subTitle",t,l)},c=db(o,t,l),u=ub(o,n,i),d=function(e,t,n,r){const o=lb(e?.borderColor,"","borderColor",t,n);let a=e?.borderWidth;return!a&&!r&&(a=ib("","borderWidth",t,n)),a&&o?`${a} solid ${o}`:void 0}(o,t,l,a),p=function(e,t,n){return e?.borderRadius||ib("","borderRadius",t,n)}(o,t,l);return{titleStyles:s,bgColor:c,bgImage:u,border:d,borderRadius:p,boxShadow:pb(o,t,l)}}var r;return{}}),[e,t,n,o,a]);return l})({layout:D,theme:e.public.theme,app:e.app,themeName:m,disableThemeBorder:$?.disableThemeBorder,queryParams:S}),re=!("rtl"!==$?.direction),oe=(0,r.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,r.useEffect)((()=>{Mm(oe.current),oe.current.blurCallback=t=>{oe.current.onBlurHandler?oe.current.onBlurHandler(t):(e.root.toggleFocusOfCells(),t&&z&&z.focus())},oe.current.refocusContent=()=>{w.sn.component&&"function"==typeof w.sn.component.focus&&w.sn.component.focus()}}),[]),(0,r.useEffect)((()=>{if(a)return void i();if(!F||!D)return;if(w.visualization===D.visualization&&w.sn)return void(async e=>{const[t,n]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),h=KE(f.qDimensionInfo||f.qItems).filter(WE),m=KE(f.qMeasureInfo).filter(WE);if(o+=d,a+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,n,t),c=[],u=[];let d=null;for(let a=0;a<n.length;++a){const i=n[a];if(!l&&o){const n=d||await r.getProperties();d=n;const o=XE(e,t,n,i);c.push(...o.reqDimErrors),u.push(...o.reqMeasErrors)}}const p=c.filter((e=>!(e.missing||e.error))).length,f=e.get("Visualization.Incomplete.Dimensions",[p,a]),h=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Measures",[h,i]),q=[{title:f,descriptions:[...c]},{title:m,descriptions:[...u]}],g=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:g}]})(q,D,e.generator.qae.data,_);L(t?{type:"ERROR",error:n}:{type:"RENDER"}),(({sn:e,layout:t,model:n})=>{const r=e&&e.component&&e.component.selections;if(r&&r.id&&n.id&&r.id===n.id){if(t&&t.qSelectionInfo&&t.qSelectionInfo.qInSelections&&!r.isModal()){const{targets:t}=e.generator.qae.data,n=t[0].propertyPath;r.goModal(n)}t.qSelectionInfo&&t.qSelectionInfo.qInSelections||r.isModal()&&r.noModal()}})({sn:w.sn,layout:D,model:_})})(w.sn);const e=f.getSupportedVersion(D.visualization,D.version);return(async(e,t)=>{L({type:"LOADING"}),await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c,onMount:u,navigation:d})=>{try{const p=await(async({types:e,name:t,version:n})=>await e.get({name:t,version:n}).supernova())({types:t,name:n,version:r}),f=p.create({model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c,navigation:d});f&&(e({type:"LOADED",sn:f,visualization:n}),u())}catch(t){e(r?{type:"ERROR",error:{title:t.message,errorObject:t}}:{type:"ERROR",error:{title:`Could not find a version of '${n}' that supports current object version. Did you forget to register ${n}?`}}),u()}})({dispatch:L,types:f,visualization:e,version:t,model:_,app:p,selections:H,nebbie:h,focusHandler:oe.current,emitter:E,onMount:i,navigation:c??C})})(D.visualization,e),()=>{}}),[f,w.sn,_,H,D,F,g]),(0,r.useEffect)((()=>{if(!A)return;const e=setTimeout((()=>L({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[A]),(0,r.useImperativeHandle)(d,(()=>({getQae:()=>w.sn.generator.qae,getExtensionDefinition:()=>w.sn.generator.definition.ext,support(e,t,n){if(D&&w.loaded&&!w.error){const r=t||w.sn.generator.definition.ext?.support;if(r)return function(e,t,n){const r=t[e];return"function"==typeof r?r.call(null,n):"boolean"==typeof r&&r}(e,r,n||D)}return!1},toggleFocus(e){"function"==typeof w.sn.component.focus&&(e?w.sn.component.focus():w.sn.component.blur())},setOnBlurHandler(e){oe.current.onBlurHandler=e},setSnOptions:G,setSnPlugins:U,setModel:T,getImperativeHandle:()=>w.sn?.component&&"function"==typeof w.sn.component.getImperativeHandle?w.sn.component.getImperativeHandle():{},onContextMenu:(...e)=>w.sn?.component.onContextMenu(...e),async takeSnapshot(){const{width:e,height:t}=x;let n=JSON.parse(JSON.stringify(D));return"function"==typeof w.sn.component.setSnapshotData&&(n=await w.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:q.language(),theme:O.name,appLayout:F,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[w.sn,j,x,D,O.name,F]);let ae=null;w.loading&&!w.longRunningQuery?ae=r.createElement(UE,null):w.error?(u&&u(w.error.errorObject?w.error.errorObject:new ME(w.error.title)),ae=r.createElement(iE,w.error)):w.loaded&&(ae=r.createElement(PE,{key:D.visualization,sn:w.sn,halo:e,snOptions:$,snPlugins:V,layout:D,appLayout:F,cellId:l}));const ie=!!e.public.theme?.getStyle("","","_cards"),le=e.public.galaxy?.flags;let se,ce;v?(se=!1,ce=void 0):le?.isEnabled("VNA-13_CELLPADDING_FROM_THEME")?(se=!1,ce=(({layout:e,isError:t,isCardTheme:n,titleStyles:r,translator:o})=>{if(n){const n=e?.showTitles&&!!e?.title,a=e?.showTitles&&!!e?.subtitle,i=e?.filters?.length>0&&e?.qHyperCube?.qMeasureInfo?.length>0,l=e?.visualization,s=xE(e?.filters??[],o),c=!e?.footnote&&i&&s,u=e?.showTitles&&(!!e?.footnote||c);let d;return n&&(r.main.padding=zE(l)),a&&(r.subTitle.padding=((e,t)=>{const n=jE(e);return t?n?"0 10px":"0":zE(e)})(l,n)),u&&(-1===FE.indexOf(l)&&(r.footer.borderTop="1px solid #d9d9d9"),r.footer.padding="6px 10px"),(t||-1===BE.indexOf(l))&&(d=`${n||a?"0":"10px"} 10px ${u?"0":"5px"}`),d}})({layout:D,isError:w.error,isCardTheme:ie,titleStyles:J,translator:q})):(se=!0,ce=void 0);const ue=GE.get(D?.visualization),de=q.get(ue);return r.createElement(Rc,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:Z||"unset",backgroundImage:Q&&Q.url?`url(${Q.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:Q&&Q.size,backgroundPosition:Q&&Q.pos,border:ee,borderRadius:te,boxShadow:ne,boxSizing:"border-box"},elevation:0,square:!0,className:"njs-cell",ref:I,id:W,onMouseEnter:()=>{Y.current.leave&&clearTimeout(Y.current.leave),Y.enter||(Y.current.enter=setTimeout((()=>{X(!0),Y.current.enter=null}),250))},onMouseLeave:()=>{Y.current.enter&&clearTimeout(Y.current.enter),Y.current.leave||(Y.current.leave=setTimeout((()=>{X(!1),Y.current.leave=null}),750))}},r.createElement(Xi,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...se?{padding:O.spacing(1)}:{},...w.longRunningQuery?{opacity:"0.3"}:{}},"aria-labelledby":`${l}_title ${l}_type ${l}_content`},D&&r.createElement("div",{id:`${l}_type`,style:vE,"aria-label":de??D.visualization}),R&&D&&w.sn&&r.createElement(OE,{layout:D,sn:w.sn,anchorEl:R,hovering:K,focusHandler:oe.current,titleStyles:J,isRtl:re,id:l,translator:q}," "),r.createElement(Xi,{tabIndex:y&&!b?0:-1,onKeyDown:y&&!b?t=>{["Enter"," ","Spacebar"].includes(t.key)&&e.root.toggleFocusOfCells(l)}:null,item:!0,xs:!0,className:"njs-cell-body",style:{height:"100%",...ce?{padding:ce}:{}},ref:B},ae),R&&D&&w.sn&&r.createElement(DE,{layout:D,titleStyles:J,translator:q,flags:le,isCardTheme:ie,isRtl:re})),w.longRunningQuery&&r.createElement(yE,{canCancel:P,canRetry:k,api:M}))})),ZE=JE;function QE(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function eO(e="/",t,n){const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?function(e,t){return QE(e)&&QE(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...eO(`${e}${o}/`,t[o],n[o]))})),r}function tO(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error(`Invalid plugin format: The plugin "${e.info.name}" has no "fn" function`)}))}const nO=(e,t,n)=>{if(!e)return Promise.resolve();let r=SC.generate(t,n);return U()(!0,t,n),r&&r.length?(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.__snInterceptor?e.__snInterceptor.applyPatches.call(e,r,!0):e.applyPatches(r,!0)):Promise.resolve()},rO=()=>{};async function oO(e,t,n,o,a,i=async()=>{}){const{onRender:l,onError:s}=t,u=function({model:e,halo:t,navigation:n,initialError:o,onDestroy:a=async()=>{},onRender:i=()=>{},onError:l=()=>{}}={}){let s,u,d,p=rO,f=null,h=null,m=null,q=null,g=!1;const y=new Promise((e=>{m=e})),b=new Promise((e=>{q=e})),v=e=>()=>{e?.(),q(),i(),g=!0};let C={},S=[];const E=new(c());let O={};t.context?.enablePrivateExperimental&&(O={support:e=>!(!h||!g)&&f.current.support(e,u?.support,d),getPropertyPanelDefinition:()=>!(!h||!g)&&(u?u.definition:f.current.getExtensionDefinition().definition),async getHypercubePropertyHandler(){await b;const t=f.current.getQae();if(!t?.data?.targets?.[0]?.propertyPath)return;const n=t.data.targets[0].propertyPath,r=f.current.getExtensionDefinition().data,o=await e.getEffectiveProperties();if(n&&r){const t={app:e.app,dimensionDefinition:r.dimensions,measureDefinition:r.measures,dimensionProperties:o.qHyperCubeDef?.qDimensions?.[0]||cC.getDefaultDimension(),measureProperties:o.qHyperCubeDef?.qMeasures?.[0]||cC.getDefaultMeasure(),globalChangeListeners:void 0,path:n};return new WS(t)}},toggleFocus(e){f.current.toggleFocus(e)},setOnBlurHandler(e){f.current.setOnBlurHandler(e)},onContextMenu:(...e)=>f.current.onContextMenu(...e)});const I={id:e.id,model:e,async destroy(){await a(),p(),p=rO},async convertTo(n,r=!0,o=!1){if(r){if((a=await e.getLayout())&&!a.qHasSoftPatches&&!a.qExtendsId&&(a.qMeta?.privileges||[]).indexOf("update")>-1&&!o){const r=await pC({halo:t,model:e,cellRef:f,newType:n});return await((e,t)=>e.__snInterceptor?e.__snInterceptor.setProperties.call(e,t):e.setProperties(t))(e,r.qProperty),r}const r=await e.getEffectiveProperties(),i=await pC({halo:t,model:e,cellRef:f,newType:n,properties:r}),l=i.qProperty;return await nO(e,r,l),i}var a;return await pC({halo:t,model:e,cellRef:f,newType:n})},async toggleDataView(n){let r;if(s||!1===n)s&&!0!==n&&(r=e,await t.app.destroySessionObject(s),s=void 0,u=void 0,d=void 0);else{let n=t.context.dataViewType;const o=await e.getEffectiveProperties();if(!t.types.getSupportedVersion(n)){if(!t.types.getSupportedVersion("table"))throw new Error("No data view type registered");n="table"}const a=await pC({halo:t,model:e,cellRef:f,newType:n,properties:o,viewDataMode:!0});r=await t.app.createSessionObject(a.qProperty),s=r.id,u=f.current.getExtensionDefinition(),d=await e.getLayout()}r&&f.current.setModel(r)},get viewDataToggled(){return void 0!==s},addListener(e,t){E.addListener(e,t)},removeListener(e,t){E.removeListener(e,t)},getImperativeHandle:async()=>(await b,f.current.getImperativeHandle()),takeSnapshot:async()=>(await b,f.current.takeSnapshot()),...O,__DO_NOT_USE__:{mount(a){if(h)throw new Error("Already mounted");if(!(a instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return h=a,[p,f]=function({halo:e,element:t,model:n,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s,navigation:c,onError:u}){const{root:d}=e,p=r.createRef(),f=lv(),h=Oi.createPortal(r.createElement(ZE,{ref:p,halo:e,model:n,currentId:f,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l,navigation:c,onError:u}),t,f),m=()=>{d.remove(h),n.removeListener("closed",m)};return n.on("closed",m),d.addCell(f,p),(async()=>{try{await d.add(h,m)}catch(e){m(),i(),u(e)}})(),[m,p]}({halo:t,element:a,model:e,initialSnOptions:C,initialSnPlugins:S,initialError:o,onMount:m,emitter:E,navigation:n,onError:l}),y},async applyProperties(t){const n=eO("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;h?(async()=>{await y,f.current.setSnOptions({...C,...e,onInitialRender:v(t)})})():C={...C,...e,onInitialRender:v(t)}})(e)},plugins(e){(async e=>{tO(e),h?(async()=>{await y,f.current.setSnPlugins(e)})():S=e})(e)},exportImage:()=>f.current.exportImage(),takeSnapshot:()=>f.current.takeSnapshot(),getModel:()=>e,convert:{async toType(n){const r=await e.getEffectiveProperties(),o=await pC({halo:t,model:e,cellRef:f,newType:n,properties:r}),a=o.qProperty;return await nO(e,r,a),o},async revert(){await e.clearSoftPatches()}}}};return I}({model:e,halo:n,navigation:o,initialError:a,onDestroy:i,onRender:l,onError:s});return t.options&&u.__DO_NOT_USE__.options(t.options),t.plugins&&u.__DO_NOT_USE__.plugins(t.plugins),t.element&&await u.__DO_NOT_USE__.mount(t.element),u}async function aO({type:e,version:t,fields:n,properties:r,extendProperties:o},a,i,l){let s={};const c=[],{modelStore:u}=l;try{const i=a.types.get({name:e,version:t});s=await i.initialProperties(r,o);const l=await i.supernova();n&&await Zv({sn:l,properties:s,fields:n,children:c},a),r&&l&&l.qae.properties.onChange&&l.qae.properties.onChange.call({},s)}catch(t){s=i?null:{qInfo:{qType:e},visualization:e}}if(!i){const e=await a.app.createObject(s);return c.length>0&&await e.setFullPropertyTree({qProperty:s,qChildren:c}),u.set(e.id,e),e}return s}function iO(e,t,n){return e.bounds?e.bounds:{y:e.row/n*100,x:e.col/t*100,width:e.colspan/t*100,height:e.rowspan/n*100}}const lO=(0,r.forwardRef)((({model:e,halo:t,initialSnOptions:n,initialSnPlugins:o,initialError:a,onMount:i,unmount:l,navigation:s,onError:c},u)=>{const{root:d}=t,[p,f]=(0,r.useState)(e),[h]=nl(p),{theme:m,modelStore:q}=(0,r.useContext)(bi),[g,y]=(0,r.useState)([]),[b,v]=(0,r.useState)(void 0),[C,S]=(0,r.useState)(void 0),[E,O]=(0,r.useState)(""),I=(0,r.useRef)({cellCount:0,cellsRendered:0,initialRender:!1});s?.setCurrentSheetId?.(p.id),(0,r.useEffect)((()=>{if(h){const e=JSON.stringify(h.cells);if(e===E)return;O(e);const o=async()=>{g.forEach((e=>{d.removeCell(e.currentId)}));const e=h.cells;I.cellCount=e.length,I.cellsRendered=0;const o=()=>{I.cellsRendered++,I.cellsRendered!==I.cellCount||I.initialRender||(I.initialRender=!0,n.onInitialRender())},{columns:a,rows:i}=h,l=await Promise.all(e.map((async e=>{let l;const s=new Promise((e=>{l=e})),c=g.find((t=>t.id===e.name));if(c)return c.bounds=iO(e,a,i),delete c.mountedPromise,c;const u=await async function({id:e,options:t,plugins:n,element:r},o,a){const{modelStore:i,rpcRequestModelStore:l}=a,s=`${e}`;let c=l.get(s);c||(c=o.app.getObject(e),l.set(s,c));const u=await c;return i.set(s,u),oO(u,{options:t,plugins:n,element:r},o)}({id:e.name},t,q);return{model:u.model,id:e.name,bounds:iO(e,a,i),cellRef:r.createRef(),currentId:lv(),mounted:l,mountedPromise:s,options:{...n,onInitialRender:o}}})));l.forEach((e=>d.addCell(e.currentId,e.cellRef))),y(l)};o()}}),[h]),(0,r.useEffect)((()=>{const e=()=>{p.removeListener("closed",e),l()};return p.on("closed",e),()=>p.removeListener("closed",e)}),[p]);const x=(0,r.useMemo)((()=>g?g.map((e=>function(e,t,n,o,a,i,l,s){const{x:c,y:u,width:d,height:p}=e.bounds,f={left:`${c}%`,top:`${u}%`,width:`${d}%`,height:`${p}%`,position:"absolute"},h=t.public.galaxy?.flags;return h?.isEnabled("VNA-13_CELLPADDING_FROM_THEME")&&(f.boxSizing="border-box",f.padding="4px"),r.createElement("div",{style:f,key:e.model.id},r.createElement(ZE,{ref:e.cellRef,halo:t,model:e.model,currentId:e.currentId,initialSnOptions:n,initialSnPlugins:o,initialError:a,onMount:i,navigation:l,onError:s}))}(e,t,e.options,o,a,e.mounted,s,c))):[]),[g]);(0,r.useEffect)((()=>{const e=h?.components?h.components.find((e=>"general"===e.key)):null;v(db(e,t.public.theme)),S(ub(e,t.app))}),[h,t.public.theme,t.app,m]),(0,r.useImperativeHandle)(u,(()=>({setModel:f})),[]);const R=!h||void 0===h.height||Number.isNaN(h.height)?"100%":`${Number(h.height)}%`,w=g.map((e=>e.mountedPromise)),L=w.filter((e=>!!e));return L.length&&Promise.all(w).then((()=>{i()})),r.createElement("div",{className:"njs-sheet",style:{width:"100%",height:R,position:"relative",backgroundColor:b,backgroundImage:C&&C.url?`url(${C.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:C&&C.size,backgroundPosition:C&&C.pos}},x)})),sO=lO,cO=()=>{};async function uO({id:e,options:t,plugins:n,element:o,onRender:a,onError:i,navigation:l},s,c){const{modelStore:u,rpcRequestModelStore:d}=c,p=`${e}`;let f=d.get(p);f||(f=s.app.getObject(e),d.set(p,f));const h=await f;u.set(p,h);const m=l||("sheet"===h.genericType?function(e,t,n){const{galaxy:r}=e.public;if(r.anything?.sense?.navigation)return r.anything?.sense?.navigation;const o={model:n},a={goToSheet:async n=>{if(!o.sheetRef)return;const{modelStore:r,rpcRequestModelStore:i}=t,l=`${n}`;let s,c=i.get(l);c||(c=e.app.getObject(n),i.set(l,c));try{if(s=await c,"sheet"!==s.genericType)return}catch(e){return}r.set(l,s),o.sheetRef?.current?.setModel?.(s),o.model=s,a.emit("sheetChanged")},setSheetRef:e=>{o.sheetRef=e},getCurrentSheetId:()=>!!o.model&&o.model.id};return Mm(a),a}(s,c,h):void 0);return"sheet"===h.genericType?async function(e,t,n,o,a,i=async()=>{}){const{onRender:l,onError:s}=t,c=function({model:e,halo:t,navigation:n,initialError:o,onDestroy:a=async()=>{},onRender:i=()=>{},onError:l=()=>{}}={}){let s=cO,c=null,u=null,d=null,p=null;const f=new Promise((e=>{d=e})),h=new Promise((e=>{p=e})),m=e=>()=>{e?.(),p(),i()};let q={},g=[];const y={id:e.id,model:e,navigation:n,getImperativeHandle:async()=>(await h,c.current.getImperativeHandle()),async destroy(){await a(),s(),s=cO},__DO_NOT_USE__:{mount(a){if(u)throw new Error("Already mounted");if(!(a instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return u=a,[s,c]=function({halo:e,element:t,model:n,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l,navigation:s,onError:c}){const{root:u}=e,d=r.createRef();let p;const f=()=>{u.remove(p)};return p=Oi.createPortal(r.createElement(sO,{ref:d,halo:e,model:n,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i,unmount:f,navigation:s,onError:c}),t,n.id),s.setSheetRef(d),u.add(p,f),[f,d]}({halo:t,element:a,model:e,initialSnOptions:q,initialSnPlugins:g,initialError:o,onMount:d,navigation:n,onError:l}),f},async applyProperties(t){const n=eO("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;u?(async()=>{await f,c.current.setSnOptions({...q,...e,onInitialRender:m(t)})})():q={...q,...e,onInitialRender:m(t)}})(e)},plugins(e){(async e=>{tO(e),u?(async()=>{await f,c.current.setSnPlugins(e)})():g=e})(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return y}({model:e,halo:n,navigation:o,initialError:a,onDestroy:i,onRender:l,onError:s});return t.options&&c.__DO_NOT_USE__.options(t.options),t.plugins&&c.__DO_NOT_USE__.plugins(t.plugins),t.element&&await c.__DO_NOT_USE__.mount(t.element),c}(h,{options:t,plugins:n,element:o,onRender:a,onError:i},s,m):oO(h,{options:t,plugins:n,element:o,onRender:a,onError:i},s,m)}function dO(e={}){return{isEnabled:t=>!0===e[t]}}var pO=i(1440),fO=i.n(pO);const hO={};function mO(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error(`Supernova '${e}@${o}' already registered.`);n[o]=function(e,t,n={}){let r,o;const{meta:a}=n,i={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||fO()(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!hO[o]){const a=`${e}${t&&` v${t}`||""}`;if(r&&"function"!=typeof r)throw new Error(`load of visualization '${a}' is not a fuction, wrap load promise in function`);const i=(r||n.load)({name:e,version:t}),l=Promise.resolve(i);hO[o]=l.then((e=>{if(!e)throw new Error(`load() of visualization '${a}' resolved to an invalid object`);return e})).catch((e=>{throw console.warn(e),new ME(`Failed to load visualization: '${a}'`,e)}))}return hO[o]}(i.name,i.version,t,n.load).then((e=>(r=r||ZS(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r))),initialProperties(e,t=!1){return this.supernova().then((()=>{const n={qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0,...JSON.parse(o)};return t?(U()(!0,n,e),n):{...n,...e}}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--)if(n[r[t]].supportsPropertiesVersion(e))return r[t];return null},versions:n}}const qO={context:{},load:()=>{},types:[],themes:[],anything:{},flags:{KPI_REACTCOLORPICKER:!0,CLIENT_IM_3365:!0},snapshot:{get:async e=>{const t=await fetch(`/njs/snapshot/${e}`);if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))}};qO.context={theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1,dataViewType:"sn-table",navigation:void 0};const gO=(e={},t={})=>({...e,...t}),yO=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),bO=function e(t={}){const o=function(e){const t=a({initial:e});return Object.keys(l).forEach((e=>{t.translator.add(l[e])})),{translator:t.translator}}(t.context.language);function i(e,a){if(a)return i.createConfiguration(a)(e);let l={...t.context,translator:o.translator,hostConfig:t.hostConfig};const[s,c]=function({app:e,context:t}){let n,o=!1;const a=new Promise((e=>{n=e})),i=r.createRef(),l=document.createElement("div");l.style.display="none",l.setAttribute("data-nebulajs-version","6.0.0-alpha.6"),l.setAttribute("data-app-id",e.id),document.body.appendChild(l),t&&Ci(t);const s=function(e){const[t,n]=Si({}),[r,o]=Si({}),[a,i]=Si({}),[l,s]=Si({}),[c,u]=Si({}),[,d]=Si({}),p=({type:e,value:t})=>{const r=d.get(t.id);d.set(t.id,{});const a=()=>{o.clear(t.id),u.set(t.id,{}),u.dispatch(!0)},l=()=>{t.removeListener("closed",l),t.removeListener("changed",a),n.clear(t.id),o.clear(t.id),i.clear(t.id),s.clear(t.id),u.clear(t.id),d.clear(t.id)};return"SET"===e&&(r||(t.on("changed",a),t.once("closed",l))),l},[f,h]=Si({},p);return{subscribe:e=>{const t=p({type:"SET",value:e});return()=>{t(),h.clear(e.id)}},destroy:()=>{h.destroy()},useModelStore:f,modelStore:h,useModelChangedStore:c,useRpcResultStore:t,rpcResultStore:n,useRpcRequestStore:r,rpcRequestStore:o,useRpcRequestModelStore:l,rpcRequestModelStore:s,useRpcRequestSessionModelStore:a,rpcRequestSessionModelStore:i,modelChangedStore:u,appId:e}}(e.id),c=function(e){const[t,n]=Si({}),[r,o]=Si({}),[a,i]=Si({});return{useAppSelectionsStore:t,useAppModalStore:r,appSelectionsStore:n,appModalStore:o,useModalObjectStore:a,modalObjectStore:i,appId:e}}(e.id),u=ge.createRoot(l);u.render(r.createElement(Ei,{ref:i,initialContext:t,renderCallback:n,modelStore:s,selectionStore:c}));const d={},p=[],f=[];return[{toggleFocusOfCells(e){Object.keys(d).forEach((t=>{d[t].current?.toggleFocus(t===e)}))},cells:d,addCell(e,t){d[e]=t},removeCell(e){delete d[e]},add:(e,t)=>(async()=>{await a,f.push(e),p.push(t),i.current.setComps(f)})(),remove(e){o||(async()=>{await a;const t=f.indexOf(e);-1!==t&&(p[t]?.(),f.splice(t,1),p.splice(t,1)),i?.current?.setComps(f)})()},setMuiThemeName(e){(async()=>{await a,i.current.setMuiThemeName(e)})()},context(e){(async()=>{await a,e&&Ci(e),i.current.setContext(e)})()},destroy(){o=!0,p.forEach((e=>{e&&e()})),s.destroy(),u.unmount(),document.body.removeChild(l)}},s,c,i,a]}({app:e,context:l}),u=function({themes:e=[],loadTheme:t,root:n}={}){const r=me();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),qe(5e3,{__timedOut:!0})]);e.__timedOut?console.warn(`Timeout when loading theme '${o}'`):(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){console.error(e)}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i)},externalAPI:r.externalAPI}}({themes:t.themes,loadTheme:t.loadTheme,root:s});l.themeApi=u.externalAPI;const d={galaxy:{translator:o.translator,theme:u.externalAPI,flags:dO(t.flags),deviceType:(h=t.context.deviceType,"auto"!==h?h:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"),hostConfig:t.hostConfig,anything:t.anything},theme:u.externalAPI,translator:o.translator,nebbie:null},p={app:e,root:s,config:t,public:d,context:l,types:null},f=function({halo:e,parent:t}){const n={},r=t||{get:()=>{}};return{register:(t,r)=>{n[t.name]||(n[t.name]=mO(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>{if(n[e])return n[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(hO).forEach((t=>{t.split("__")[0]===e&&(hO[t]=void 0)}))}(e)}}}({halo:p});var h;t.types.forEach((e=>f.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let m=new Promise((e=>{(async()=>{if(await u.setTheme(t.context.theme),t.hostConfig&&n&&n.getWebResourceAuthParams){const{queryParams:e}=await n.getWebResourceAuthParams({hostConfig:t.hostConfig});l.queryParams=e,s.context(l)}})().then(e)})),q=null,g=null;const y={render:async e=>(await m,e.id?uO(e,p,c):async function({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l,navigation:s,onRender:c,onError:u},d,p){let f={};const h=[],{modelStore:m,subscribe:q}=p;let g;try{const o=d.types.get({name:e,version:t});f=await o.initialProperties(r,l);const a=await o.supernova();n&&await Zv({sn:a,properties:f,fields:n,children:h},d),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},f)}catch(t){g=t,f={qInfo:{qType:e},visualization:e}}const y=await d.app.createSessionObject(f);h.length>0&&await y.setFullPropertyTree({qProperty:f,qChildren:h}),m.set(y.id,y);const b=q(y);return oO(y,{options:o,plugins:a,element:i,onRender:c,onError:u},d,s,g,(async()=>{await d.app.destroySessionObject(y.id),b()}))}(e,p,c)),destroy:async()=>{s.destroy()},create:async e=>aO(e,p,!1,c),generateProperties:async e=>aO(e,p,!0,c),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==l[n]&&(t||(t={}),t[n]=e[n])})),t&&(l={...l,...t,translator:o.translator},t.theme&&(await m,m=u.setTheme(t.theme),await m),t.language&&p.public.translator.language(t.language),s.context(l))},selections:async()=>(q||(q={mount(t){g?console.error("Already mounted"):(g=function({element:e,app:t}){return Oi.createPortal(r.createElement(sv,{app:t}),e,lv())}({element:t,app:e}),s.add(g))},unmount(){g&&(s.remove(g),g=null)}}),q),field:async t=>{let n;const o="string"==typeof t?t:t.qLibraryId;if(t.qId)n=t.qId;else if(!o)throw new Error("Field identifier or object id must be provided");const a={fieldName:o,async mount(i,l={}){if(!i)throw new Error(`Element for ${o||n} not provided`);if(this._instance)throw new Error(`Field or object ${o||n} already mounted`);const c=()=>a.emit("selectionActivated"),u=()=>a.emit("selectionDeactivated");return new Promise((o=>{[this._instance,this._ref]=function({element:e,app:t,fieldIdentifier:n,qId:o,stateName:a="$",options:i={},renderedCallback:l}){const s=r.createRef();return[Oi.createPortal(r.createElement($v,{ref:s,app:t,element:e,fieldIdentifier:n,qId:o,stateName:a,initialOptions:i,renderedCallback:l}),e,lv()),s]}({element:i,app:e,fieldIdentifier:t,qId:n,options:zv({onSelectionActivated:c,onSelectionDeactivated:u,...l}),stateName:l.stateName||"$",renderedCallback:o}),s.add(this._instance)}))},unmount(){this._instance&&(s.remove(this._instance),this._instance=null,this._ref=null)},__DO_NOT_USE__:{options(e){const t=()=>a.emit("selectionActivated"),n=()=>a.emit("selectionDeactivated");if(a._ref?.current){const r=zv({onSelectionActivated:t,onSelectionDeactivated:n,...e});a._ref.current.setOptions(r)}}}};return Mm(a),a},getRegisteredTypes:f.getList,__DO_NOT_USE__:{types:f,popover(t,n,o){y._popoverInstance&&(s.remove(y._popoverInstance),y._popoverInstance=null);const a=((e={})=>{const t={...Gv};return U()(!0,t,e),t})({onPopoverClose:()=>y.emit("fieldPopoverClose"),...o});y._popoverInstance=r.createElement(Vv,{element:t,key:lv(),app:e,fieldIdentifier:n,options:a,stateName:o.stateName||"$"}),s.add(y._popoverInstance)}}};return p.public.nebbie=y,p.types=f,Mm(y),y}return i.createConfiguration=n=>e(((e,t)=>({context:gO(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:yO(e.types,t.types),themes:yO(e.themes,t.themes),flags:gO(e.flags,t.flags),hostConfig:t.hostConfig||e.hostConfig,anything:gO(e.anything,t.anything)}))(t,n)),i.config=t,i}(qO),vO=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},CO=globalThis.crypto||{getRandomValues:()=>123456},SO=function(e){return t=>{const n=U()({},t);n.qInfo=n.qInfo||{},n.qInfo.qId=n.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^CO.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const r=n._mock;let o=n;return r&&(delete n._mock,o=U()({},n,r)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(o),getProperties:()=>Promise.resolve(n),getEffectiveProperties:()=>Promise.resolve(n),removeListener:()=>{},id:n.qInfo.qId,properties:n,session:e})}},EO=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,OO=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=EO(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},IO=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function xO(e){return!IO.includes(e)}function RO(e){const t=EO(e.getLayout);return t.qInfo&&t.qInfo.qId}function wO(e,t){let n=RO(e);const{delay:r}=t,{id:o,session:a,...i}=e;if(o&&n&&o!==n)throw new Error(`Generic object has multiple IDs, qInfo.qId: ${n}, id: ${o}`);n=n||o||"object - "+ +Date.now();const l={id:n,session:EO(a,{defaultValue:!0}),on:()=>{},once:()=>{},removeListener:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:OO(n,{async:xO(t),delay:r})})),{}),genericType:e.type};return{[n]:l}}function LO(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!RO(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const NO=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(LO);const n=function(e,t){return e.reduce(((e,n)=>({...e,...wO(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},_O=function(){return()=>Promise.resolve({id:"app-layout"})},TO={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new vO,r=new SO(n),o=new NO(e,t),a=new _O,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,destroySessionObject:async()=>{},getObject:o,getAppLayout:a,getListObject:async e=>o(e.qInfo?.qId)};return Promise.resolve(i)}(e,t)},DO=TO,AO={generator:ZS,hook:FC,theme:me,locale:a};var PO=i(5216),kO=i.n(PO);const MO=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"SheetObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomDropDown":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GraphBasics":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Graph":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StraightTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"PivotTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CurrentSelection":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"InputBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"SearchObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Container":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"ListBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"MultiBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Button":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TextObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"BookmarkObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Slider":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"LineArrow":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StatisticsBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qServeOnce","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"StoreData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qLibRef","DefaultValue":""},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qParquetCompression","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetParent":{"In":[],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]},"StepCycle":{"In":[{"Name":"qStep","DefaultValue":0}],"Out":[]},"SetActiveField":{"In":[{"Name":"qIx","DefaultValue":0}],"Out":[]},"GetActiveField":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerify":{"In":[],"Out":[{"Name":"qResult"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]},"GetRawContent":{"In":[],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetSheetObject":{"In":[{"Name":"qObjectId","DefaultValue":""}],"Out":[]},"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false},{"Name":"qIncludeProfiling","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""},"qHasSectionAccess":false,"qUsage":0}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{},"qIncludePatches":false}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"AddSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""},{"Name":"qSourceStateName","DefaultValue":"","Optional":true}],"Out":[]},"RemoveSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerifyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false,"qReloadId":"","qSkipStore":false,"qRowLimit":0},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0,"qServeOnce":false},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"GetSetAnalysis":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true},{"Name":"qBookmarkId","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSetExpression"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetFieldAndColumnSamples":{"In":[{"Name":"qFieldsOrColumnsWithWildcards","DefaultValue":[{"qFieldName":"","qTableName":""}]},{"Name":"qMaxNumberOfValues","DefaultValue":0},{"Name":"qRandSeed","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]},"GetVariables":{"In":[{"Name":"qListDef","DefaultValue":{"qType":"","qShowReserved":false,"qShowConfig":false,"qData":{},"qShowSession":false}}],"Out":[{"Name":"qList"}]},"ExpandExpression":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qExpandedExpression"}]},"DestroySessionVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroySessionVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"SetAppObjectSortingRank":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qRank","DefaultValue":0}],"Out":[]},"GetActiveSheetId":{"In":[],"Out":[{"Name":"qId"}]},"GetLayoutProperties":{"In":[],"Out":[{"Name":"qLayoutProp"}]},"CreateBookmarkEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]},"StoreTempSelectionState":{"In":[{"Name":"qTTLOfTempState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qId"}]},"RestoreTempSelectionState":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ChangeSessionAppOwner":{"In":[{"Name":"qNewOwnerId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ChangeSessionAppSpace":{"In":[{"Name":"qSpaceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetTableProfileData":{"In":[{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qProfiling"}]},"GetMeasureWithLabel":{"In":[{"Name":"qLabel","DefaultValue":""}],"Out":[]},"SearchValues":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0}}],"Out":[{"Name":"qResult"}]},"GetFieldsFromExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qFieldNames"}]},"GetFieldsResourceIds":{"In":[{"Name":"qFieldNames","DefaultValue":[""]}],"Out":[{"Name":"qFields"}]},"UploadTable":{"In":[{"Name":"qDomain","DefaultValue":0},{"Name":"qDatasetId","DefaultValue":""},{"Name":"qTableName","DefaultValue":""},{"Name":"qFieldNames","DefaultValue":[""],"Optional":true}],"Out":[]},"GetExpressionBNF":{"In":[],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetExpressionBNFHash":{"In":[],"Out":[{"Name":"qBnfHash"}]},"SetProhibitBinaryLoad":{"In":[{"Name":"qProhibit","DefaultValue":false}],"Out":[]},"TransformApp":{"In":[{"Name":"qDstParameters","DefaultValue":{"qName":"","qSpaceId":"","qScriptParameterPrefix":""}}],"Out":[{"Name":"qResult"}]},"CreateTemporaryBookmark":{"In":[{"Name":"qOptions","DefaultValue":{"qIncludeVariables":false,"qIncludeAllPatches":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qId"}]},"ApplyTemporaryBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetScriptMeta":{"In":[],"Out":[{"Name":"qMeta"}]},"ReplaceBookmark":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qIgnorePatches","DefaultValue":false,"Optional":true},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"ClearAllSoftPatches":{"In":[],"Out":[]},"BulkRequest":{"In":[{"Name":"qReqs","DefaultValue":{"qOperations":[{"qMethod":"","qId":"","qTarget":0,"qArgs":{}}]}}],"Out":[{"Name":"qBulkRes"}]},"CommitScript":{"In":[{"Name":"qCommitMessage","DefaultValue":"","Optional":true}],"Out":[]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true},{"Name":"qLocale","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[{"Name":"qReason","DefaultValue":"","Optional":true}],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29,"LOCMSG_SCRIPTEDITOR_ACCESS_DENIED_AFTER_RELOAD":30,"LOCMSG_SCRIPTEDITOR_MERGED_UPDATES":31,"LOCMSG_SCRIPTEDITOR_MERGED_INSERTS":32,"LOCMSG_SCRIPTEDITOR_MERGED_DELETES":33},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_GENERIC_NOT_IMPLEMENTED":20,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_423":423,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_APP_SIZE_EXCEEDED":1015,"LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED":1016,"LOCERR_APP_NOT_OPEN":1017,"LOCERR_APP_EVENT_SOURCE_TIMEOUT":1018,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTION_MISSING_CREDENTIALS":2005,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_SERVER_NO_TOKEN":5009,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_MOVE_FAILED":9010,"LOCERR_PERSISTENCE_OBJECT_LOCKED":9011,"LOCERR_PERSISTENCE_ENCRYPTION_KEY_MIGRATION_ONGOING":9012,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD":11047,"LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT":11048,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_BDI_STATUS_OK":24000,"LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED":24001,"LOCERR_TRENDLINE_INVALID_DEF":25000,"LOCERR_TRENDLINE_INVALID_MATH_ERROR":25001,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034,"LOCERR_SETEXPRESSION_TOO_LARGE":30100,"LOCERR_RELOAD_MERGE_LOAD_ERROR":30101,"LOCERR_WIN_FTP_DROPPED":30200,"LOCERR_WIN_FTP_NO_PASSIVE_MODE":30201,"LOCERR_WIN_HTTP_DOWNLEVEL_SERVER":30210,"LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE":30211,"LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION":30212,"LOCERR_WIN_INTERNET_FORCE_RETRY":30220,"LOCERR_WIN_INTERNET_CANNOT_CONNECT":30221,"LOCERR_WIN_INTERNET_CONNECTION_ABORTED":30222,"LOCERR_WIN_INTERNET_CONNECTION_RESET":30223,"LOCERR_WIN_INTERNET_DISCONNECTED":30224,"LOCERR_WIN_INTERNET_INCORRECT_FORMAT":30225,"LOCERR_WIN_INTERNET_INVALID_CA":30226,"LOCERR_WIN_INTERNET_INVALID_OPERATION":30227,"LOCERR_WIN_INTERNET_INVALID_URL":30228,"LOCERR_WIN_INTERNET_ITEM_NOT_FOUND":30229,"LOCERR_WIN_INTERNET_LOGIN_FAILURE":30230,"LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED":30231,"LOCERR_WIN_INTERNET_NEED_UI":30232,"LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID":30233,"LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID":30234,"LOCERR_WIN_INTERNET_SEC_CERT_ERRORS":30235,"LOCERR_WIN_INTERNET_SEC_INVALID_CERT":30236,"LOCERR_WIN_INTERNET_SERVER_UNREACHABLE":30237},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000,"LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED":3000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2,"EXPORT_PARQUET":3},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"ParquetCompression":{"PARQUET_UNCOMPRESSED":1,"PARQUET_SNAPPY":2,"PARQUET_GZIP":3,"PARQUET_BROTLI":4,"PARQUET_ZSTD":5,"PARQUET_LZ4":6,"PARQUET_LZ4_HADOOP":10},"Feature":{"FEATURE_BINNING_DATA":0,"FEATURE_BOOKMARKS":1,"FEATURE_CALCULATED_FIELDS":2,"FEATURE_CONTINUOUS_DATA":3,"FEATURE_INVERTED_SELECTIONS":4,"FEATURE_RANGE_SELECTIONS":5,"FEATURE_REDUCING_DATA":6,"FEATURE_SEARCH":7,"FEATURE_SELECTION_COUNT":8,"FEATURE_SELECTION_INSIGHTS":9,"FEATURE_TABLE_MINI_CHART":10,"FEATURE_TRENDLINES":11,"FEATURE_CALCULATED_DIMENSIONS":12,"FEATURE_INCLUDE_ZERO_VALUES":13,"FEATURE_INCLUDE_NULL_VALUES":14,"FEATURE_FILTER_PANE_PAGING":15,"FEATURE_FILTER_PANE_CUSTOM_SORTING":16,"FEATURE_SHOW_FREQUENCY":17,"FEATURE_LIMITATION":18,"FEATURE_TOTALS":19},"LTrendlineType":{"Average":0,"Linear":1,"Polynomial2":2,"Polynomial3":3,"Polynomial4":4,"Exponential":5,"Power":6,"Logarithmic":7},"ContinuousMode":{"CONTINUOUS_NEVER":0,"CONTINUOUS_IF_POSSIBLE":1,"CONTINUOUS_IF_TIME":2},"TrendlineMode":{"TRENDLINE_MULTILINE":0,"TRENDLINE_SUM":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3,"DATA_MODE_DYNAMIC":4},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3,"SESSION_ERROR_LIMIT_EXCEEDED":4,"SESSION_ERROR_SECURITY_HEADER_CHANGED":5,"SESSION_ACCESS_CONTROL_SETUP_FAILURE":6,"SESSION_ERROR_APP_ACCESS_DENIED":7,"SESSION_ERROR_APP_FAILURE":8},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"OpenApiVersion":{"V2":0,"V3":1},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}}}');var FO=i(1658),BO=i.n(FO);class jO extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}}class zO extends jO{}var $O=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))($O||{});class GO extends jO{}var VO=(e=>(e.EMPTY_HOST="Empty host in config",e.MISSING_REQUIRED_PROPERTY="Missing required property",e.UNSUPPORTED_AUTH_TYPE="Unsupported authType",e.UNSUPPORTED_PROPERTY="Unsupported property",e.NOT_IMPLEMENTED="Not implemented",e.MISSING_FETCH="Missing fetch function",e.NOT_FOUND="Requested resource not found or lacking access permissions",e))(VO||{}),UO=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(UO||{});const WO=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},HO=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},KO="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var XO=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},YO=class extends XO{},JO=class extends XO{},ZO=class extends XO{},QO=class extends XO{},eI=class extends XO{},tI=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)};function nI(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var rI,oI,aI=class{constructor(e){if(this.interceptors={request:{handlers:[],use:nI},response:{handlers:[],use:nI}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=tI(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=tI(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.28.0 ()",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new JO({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const p={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new QO({error:"Failed to authorize using OAuth",...p}):"APIKey"===e.authType?new YO({error:"Failed to authenticate host using api-key",...p}):new YO({error:"Unauthenticated",...p});if(404===u.status)throw new eI({error:u.statusText||"Requested resource not found or lacking access permissions",...p});const{errors:f}=p;throw new ZO({error:f?f[0]?.title:p?.statusText||"Unknown Error",...p})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new ZO({error:"Missing fetch function"})}},iI=Object.create,lI=Object.defineProperty,sI=Object.getOwnPropertyDescriptor,cI=Object.getOwnPropertyNames,uI=Object.getPrototypeOf,dI=Object.prototype.hasOwnProperty,pI=(rI={"node_modules/enigma.js/enigma.js"(e,t){var n,r;n=e,r=function(){var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,a,i,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];r.apply(this,a)}else if(e.isObject(r)){for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];for(o=(l=r.slice()).length,i=0;i<o;i++)l[i].apply(this,a)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,a,i;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(i=a;i-- >0;)if(r[i]===n||r[i].listener&&r[i].listener===n){o=i;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};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})(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&l(o,n.prototype),o}(e,arguments,s(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)},a(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=function(e){function t(e,n,r){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(a=function(e,t,n){return t=s(t),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,i()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,[e])).code=n,a.enigmaError=!0,a.original=r,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(a(Error));function u(e,t,n){return new c(t,e,n)}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})(e)}function p(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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){var r,o,a;r=e,o=t,a=n[t],(o=m(o))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function m(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:String(t)}var q=0,g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),q+=1,n.id=q,n.rpc.on("socket-error",n.onRpcError.bind(n)),n.rpc.on("closed",n.onRpcClosed.bind(n)),n.rpc.on("message",n.onRpcMessage.bind(n)),n.rpc.on("notification",n.onRpcNotification.bind(n)),n.rpc.on("traffic",n.onRpcTraffic.bind(n)),n.on("closed",(function(){return n.onSessionClosed()}))}var t,n,o;return t=e,n=[{key:"onRpcError",value:function(e){this.suspendResume.isSuspended||this.emit("socket-error",e)}},{key:"onRpcClosed",value:function(e){var t=this;if(!this.suspendResume.isSuspended&&1e3!==e.code&&4e3!==e.code)if(this.config.suspendOnClose){var n=e.code,r=e.reason;this.suspendResume.suspend().then((function(){return t.emit("suspended",{initiator:"network",code:n,reason:r})}))}else this.emit("closed",e)}},{key:"onRpcMessage",value:function(e){var t=this;this.suspendResume.isSuspended||(e.change&&e.change.forEach((function(e){return t.emitHandleChanged(e)})),e.close&&e.close.forEach((function(e){return t.emitHandleClosed(e)})))}},{key:"onRpcNotification",value:function(e){this.emit("notification:*",e.method,e.params),this.emit("notification:".concat(e.method),e.params)}},{key:"onRpcTraffic",value:function(e,t,n){this.emit("traffic:*",e,t),this.emit("traffic:".concat(e),t);var r=this.apis.getApi(n);r&&(r.emit("traffic:*",e,t),r.emit("traffic:".concat(e),t))}},{key:"onSessionClosed",value:function(){this.apis.getApis().forEach((function(e){e.api.emit("closed"),e.api.removeAllListeners()})),this.apis.clear()}},{key:"getObjectApi",value:function(e){var t=e.handle,n=e.id,r=e.type,o=e.genericType,a=this.apis.getApi(t);return a||(a=this.definition.generate(r)(this,t,n,o),this.apis.add(t,a),a)}},{key:"open",value:function(){var e=this;if(!this.globalPromise){var t={handle:-1,id:"Global",type:"Global",genericType:"Global"};this.globalPromise=this.rpc.open().then((function(){return e.getObjectApi(t)})).then((function(t){return e.emit("opened"),t}))}return this.globalPromise}},{key:"send",value:function(t){var n=this;if(this.suspendResume.isSuspended)return this.Promise.reject(u(-11,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=f(f({},n.config.protocol),e);delete r.outKey;var o=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,o,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}],o=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var o=t.then;t.then=function(){for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var l=o.apply(this,a);return e.addToPromiseChain(l,n,r),l}}}],n&&h(t.prototype,n),o&&h(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();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})(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function v(e){var t=function(e){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:String(t)}var C=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entries={}}var t,n;return t=e,(n=[{key:"add",value:function(e,t){if(e+="",void 0!==this.entries[e])throw u(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){e+="",this.entries[e]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,E(r.key),r)}}function E(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:String(t)}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})(e)}var I=Object.prototype.hasOwnProperty;function x(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function R(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return 1!==r.length||"object"!==O(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return I.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var w=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new C,this.types=new C}var t,n;return t=e,n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,o=e.extend,a=e.override,i=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var l={extend:o,override:a,init:i};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(l):t.mixins.add(e,[l])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw u(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),function(t,o,a,i){var l=this,s=Object.create(n);r(s),Object.defineProperties(s,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:o,writable:!0},id:{enumerable:!0,value:a},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:i}});var c=this.mixins.get(e)||[];return i!==e&&(this.mixinType(i,s),c=c.concat(this.mixins.get(i)||[])),c.forEach((function(e){"function"==typeof e.init&&e.init({config:l.config,api:s})})),s}.bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,o=1===r.length?r[0].Name:-1,a=x(n);e[a]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:o})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,o=void 0===r?{}:r,a=n.override,i=void 0===a?{}:a;Object.keys(i).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof i[n])throw u(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return i[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(o).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof o[n])throw u(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=o[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=x(n),o=e[r],a=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return R.apply(this,[o,a].concat(t))}}))}}],n&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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})(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_(r.key),r)}}function _(e){var t=function(e){if("object"!=L(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=L(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==L(t)?t:String(t)}var T=function(){function e(t,n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this),this.id=t,this.handle=n,this.resolve=o,this.reject=a}var t,n;return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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})(e)}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,P(r.key),r)}}function P(e){var t=function(e){if("object"!=D(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=D(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==D(t)?t:String(t)}var k=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0,this.closeEvent=void 0}var t,n;return t=e,n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(e){return this.Promise.reject(e)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.closeEvent=e,this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(u(-1,"Socket closed",e))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.socket&&(this.socket.close(e,t),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(u(-1,"Socket error",e))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data),n=this.resolvers[t.id]||{};this.emit("traffic","received",t,n.handle),void 0!==t.id&&this.resolvers[t.id]?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var o=this,a=new T(e,t,n,r);this.resolvers[e]=a,a.on("resolved",(function(e){return o.unregisterResolver(e)})),a.on("rejected",(function(e){return o.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=u(-1,"Not connected",this.closeEvent);return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}],n&&A(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();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})(e)}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,B(r.key),r)}}function B(e){var t=function(e){if("object"!=M(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=M(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==M(t)?t:String(t)}var j=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}var t,n,r;return t=e,n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(u(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(o){if(o.error)return e.push(r.api),n.Promise.resolve();var a=o.result.qReturn.qHandle;return r.api.handle=a,t.push(r.api),n.Promise.resolve(r.api)})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var o=this,a=[],i=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(i.forEach((function(i){var l=e.buildGetMethodName(i.type);if(l){var s=o.rpc.send({method:l,handle:t.handle,params:[i.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(i):(i.handle=e.result.qReturn.qHandle,r.push(i))}));a.push(s)}else n.push(i)})),this.Promise.all(a)):(i.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,o=!1,a=new this.Promise((function(e){n=e})),i=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),o=!0)};return this.rpc.on("notification",i),this.rpc.open(!0).then((function(){return o||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),a})).then((function(e){return r.rpc.removeListener("notification",i),e})).catch((function(e){return r.rpc.removeListener("notification",i),r.Promise.reject(e)}))}}],r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],n&&F(t.prototype,n),r&&F(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function z(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function $(e,t,n){if(n&&n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(n&&null===n.qHandle&&null===n.qType){var r=u(-2,"Object not found");return e.config.Promise.reject(r)}return n}var G=Object.prototype.hasOwnProperty,V=Object.prototype.toString,U=Object.defineProperty,W=Object.getOwnPropertyDescriptor,H=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===V.call(e)},K=function(e){if(!e||"[object Object]"!==V.call(e))return!1;var t,n=G.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&G.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||G.call(e,t)},X=function(e,t){U&&"__proto__"===t.name?U(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Y=function(e,t){if("__proto__"===t){if(!G.call(e,t))return;if(W)return W(e,t).value}return e[t]};function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Z(e){return(Z="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)}var Q=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Y(l,n),l!==(o=Y(t,n))&&(u&&o&&(K(o)||(a=H(o)))?(a?(a=!1,i=r&&H(r)?r:[]):i=r&&K(r)?r:{},X(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&X(l,{name:n,newValue:o}));return l}.bind(null,!0),ee={},te=Array.isArray;function ne(e){return null!=e&&!Array.isArray(e)&&"object"===Z(e)}function re(e){return void 0===e}function oe(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function ae(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var a=isNaN(n)?{}:[];e[n||t]=re(e[n||t])?a:e[t],e=e[n||t]}})),e}function ie(e,t){var n=!0;if(ne(e)&&ne(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){ie(e[r],t[r])||(n=!1)})),n);if(te(e)&&te(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!ie(e[r],t[r]))return!1;return!0}return e===t}function le(e){return(le="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)}ee.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?Q({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);ie(a,i)||oe(t,o)||(re(i)?r.push({op:"add",path:l,value:a}):ne(a)&&ne(i)?r=r.concat(ee.generate(i,a,l)):te(a)&&te(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&re(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(ie(t,o))return r;if(!re(t[0])&&re(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(a=i(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(ee.generate(o[l],t[a],"".concat(n,"/").concat(l)));for(var s=0,c=t.length;s<c;s+=1)-1===(a=i(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):a!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(a)}),o.splice(s,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((function(o){re(t[o])&&!oe(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},ee.apply=function(e,t){t.forEach((function(t){var n,r,o=ae(e,t.path),a=t.path.split("/").splice(-1)[0],i=a&&isNaN(+a)?o[a]:o[+a]||o,l=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,i=e),"add"===t.op||"replace"===t.op)if(te(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(te(i)&&te(t.value)){i.length=0;for(var s=0;s<t.value.length;s+=1e3){var c,d=t.value.slice(s,s+1e3);(c=i).push.apply(c,function(e){if(Array.isArray(e))return J(e)}(r=d)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var n=Object.prototype.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)?J(e,t):void 0}}(r)||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.")}())}}else if(ne(i)&&ne(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!oe(n,e)&&delete n[e]})),Q(i,t.value);else{if(!o)throw u(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var p=ae(e,t.from);te(o)?o.splice(+a,0,p.splice(+l,1)[0]):(o[a]=p[l],delete p[l])}else"remove"===t.op&&(te(o)?o.splice(+a,1):delete o[a])}))},ee.clone=function(e){return Q({},e)},ee.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},ee.updateObject=function(e,t){Object.keys(e).length?ee.apply(e,ee.generate(e,t)):Q(e,t)};var se={};function ce(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw u(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!se[e.id]){var t={};se[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete se[e.id]}))}}(e);var n=se[e.id];return n[t]||(n[t]=new C),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=r[0]&&Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==le(r[0].value)?a=r[0].value:ee.apply(a,r),o.set(n,a)),a}(e,t.handle,"".concat(t.method,"-").concat(n),o[n])})),JSON.parse(JSON.stringify(n))):n}function ue(e,t,n){if(void 0!==n.error){var r=n.error,o=new Error(r.message);return o.code=r.code,o.parameter=r.parameter,e.config.Promise.reject(o)}return n}ce.sessions=se;var de="qReturn";function pe(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[de].qGenericId=n.qSessionAppId||n[de].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[de],hasOwnProperty.call(n,de)?n[de]:-1!==t.outKey?n[t.outKey]:n}function fe(e,t,n){return n.result}function he(e){return(he="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)}function me(e){return function(e){if(Array.isArray(e))return qe(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 qe(e,t);var n=Object.prototype.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)?qe(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 qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ye(r.key),r)}}function ye(e){var t=function(e){if("object"!=he(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=he(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==he(t)?t:String(t)}var be=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.request=[{onFulfilled:z}].concat(me(this.request||[])),this.response=[{onFulfilled:ue},{onFulfilled:ce},{onFulfilled:fe},{onFulfilled:pe}].concat(me(this.response||[]),[{onFulfilled:$}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ve(e){return(ve="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)}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Se(r.key),r)}}function Se(e){var t=function(e){if("object"!=ve(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ve(t)?t:String(t)}function Ee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ee=function(){return!!e})()}function Oe(){return Oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ie(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Oe.apply(this,arguments)}function Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xe(e,t){return(xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Re=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=Ie(t),function(e,t){if(t&&("object"===ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ee()?Reflect.construct(t,n||[],Ie(e).constructor):t.apply(e,n))}(this,t,arguments)}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xe(e,t)}(t,e),n=t,(r=[{key:"add",value:function(e,n){var r=this,o={api:n};return Oe(Ie(t.prototype),"add",this).call(this,e.toString(),o),n.on("closed",(function(){return r.remove(e)})),o}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return Oe(Ie(t.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&Ce(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(C);function we(e){return(we="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)}function Le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ne(r.key),r)}}function Ne(e){var t=function(e){if("object"!=we(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=we(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==we(t)?t:String(t)}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,o=e.responseInterceptors,a=e.url,i=new Re,l=new be({apis:i,Promise:n,request:r,response:o}),s=new k({createSocket:t,Promise:n,url:a}),c=new j({apis:i,Promise:n,rpc:s});return new g({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw u(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw u(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new w(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Le(t.prototype,null),n&&Le(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&i.amdO?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).enigma=r()}},function(){return oI||(0,rI[cI(rI)[0]])((oI={exports:{}}).exports,oI),oI.exports}),fI=((e,t,n)=>(n=null!=e?iI(uI(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of cI(t))dI.call(e,n)||undefined===n||lI(e,n,{get:()=>t[n],enumerable:!(r=sI(t,n))||r.enumerable});return e})(e&&e.__esModule?n:lI(n,"default",{value:e,enumerable:!0}),e)))(pI()),hI=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},mI=class extends hI{},qI=class extends hI{},gI=class extends hI{},yI=class extends hI{},bI=class extends hI{},vI=class extends hI{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},CI=class extends hI{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},SI="qlik-sdk-typescript/0.28.0 ()",EI=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},OI="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function II(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var xI=class{constructor(e){if(this.interceptors={request:{handlers:[],use:II},response:{handlers:[],use:II}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=EI(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=EI(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":SI,...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new qI({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const p={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new yI({error:"Failed to authorize using OAuth",...p}):"APIKey"===e.authType?new mI({error:"Failed to authenticate host using api-key",...p}):new mI({error:"Unauthenticated",...p});if(404===u.status)throw new bI({error:u.statusText||"Requested resource not found or lacking access permissions",...p});const{errors:f}=p;throw new gI({error:f?f[0]?.title:p?.statusText||"Unknown Error",...p})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new gI({error:"Missing fetch function"})}},RI=WebSocket;function wI(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var LI=class{constructor(e,t){this.interceptors={request:{handlers:[],use:wI},response:{handlers:[],use:wI}},this.sessions={},this.config=e,this.rest=t??new xI(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new CI(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e,t={delta:!0}){const n={onFulfilled:(e,t,n)=>{const r=n?.result?.qReturn;if(r&&r.qHandle&&r.qType&&(n.result.qReturn.id=r.qGenericId,n.result.qReturn.handle=r.qHandle,n.result.qReturn.type=r.qType,n.result.qReturn.genericType=r.qGenericType),r&&null===r.qHandle&&null===r.qType)throw new bI({error:"Object not found",code:-2});return n}},{url:r,createSocket:o}=await this.buildUrlAndCreateSocket(e);return this.sessions[r.toString()]=this.sessions[r.toString()]||(()=>{const e=fI.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:r,createSocket:o,protocol:{delta:t.delta}});return this.interceptors.response.use(e.intercept.response[1]),this.interceptors.response.use(n),e.intercept.response=this.interceptors.response.handlers,this.interceptors.request.use(e.intercept.request[0]),e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{this.sessions[e.config?.url]?.eventListeners&&Object.values(this.sessions[e.config?.url]?.eventListeners)?.forEach((e=>{e?.closed?.forEach((e=>{e(t)}))})),t?.code&&t.code>=4e3&&e.onRpcError(new vI(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[r.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[r.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[r.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[r.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||OI,a=EI(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if("APIKey"===n.authType||"OAuth2"===n.authType&&!o)return i;if(["WebIntegration","JWTAuth"].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if("OAuth2"===n.authType&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new gI(`Not implemented: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config);let n;return n="APIKey"===this.config.authType||"OAuth2"===this.config.authType&&!OI?e=>new RI(e,{headers:{"User-Agent":SI,Authorization:`Bearer ${this.config.apiKey}`}}):e=>new RI(e),{url:t,createSocket:n}}};const NI=new GO("Only supported for AuthType.WebIntegration");class _I{constructor(e){if(!e.host)throw new GO("Empty host in config");let t,n,r;try{const r=WO(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new GO("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new GO("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==UO.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===UO.OAuth2&&(this.config.scopes=["user_default",...(this.config?.scopes??[]).filter((e=>"user_default"!==e))]),(e=>{const t=["host","authType"];for(const n of t)if(!(n in e))throw new GO(`${VO.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new GO(VO.EMPTY_HOST);if(!(e.authType in UO))throw new GO(`${VO.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[UO.WebIntegration]:["webIntegrationId"],[UO.APIKey]:["apiKey"],[UO.JWTAuth]:["fetchToken","webIntegrationId"],[UO.OAuth2]:["clientId"],[UO.None]:[]},r=new Set(["webIntegrationId","apiKey","clientId","clientSecret","redirectUri"]);for(const t of n[e.authType])if(!(t in e)||r.has(t)&&!e[t])throw new GO(`${VO.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[UO.APIKey]:["isSecure"],[UO.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[UO.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[UO.JWTAuth]:["csrfToken","isSecure"]},a=new Set([...t,...n[e.authType],...o[e.authType]??[]]);for(const t of Object.keys(e))if(!a.has(t))throw new GO(`${VO.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===UO.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new GO(`${VO.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new aI(this.config);this.rpcClient=new LI(this.config),this.rpc=(e,t={delta:!0})=>this.rpcClient.rpc(e,t),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||KO,a=WO(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===UO.APIKey||n.authType===UO.OAuth2&&!o)return i;if([UO.WebIntegration,UO.JWTAuth].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if(n.authType===UO.OAuth2&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new GO(`${VO.NOT_IMPLEMENTED}: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config,t),this.config.autoRedirect&&this.isAuthenticated().then((e=>{e||this.authenticate()}))}authenticate(){if(this.config.authType!==UO.WebIntegration)throw NI;const e=WO(`${this.config.host}/login`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),e.searchParams.append("qlik-web-integration-id",this.config.webIntegrationId),window.location.assign(e.href)}async isAuthenticated(){return this.rest("/users/me").then((e=>200===e.status)).catch((()=>!1))}async isAuthorized(){return this.isAuthenticated()}deauthenticate(){if(this.config.authType!==UO.WebIntegration)throw NI;const e=WO(`${this.config.host}/logout`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),window.location.assign(e.href)}async getSessionCookie(){const e=await this.config.fetchToken(),t=await this.rest.fetch(WO(`${this.config.host}/login/jwt-session`,this.config?.isSecure).toString(),{method:"POST",credentials:"include",mode:"cors",headers:{"content-type":"application/json",Authorization:`Bearer ${e}`,"qlik-web-integration-id":this.config.webIntegrationId}});if(200!==t.status)throw new zO($O.UNAUTHENTICATED);return t}async authorize(e){const t=e?Object.fromEntries(new URL(e).searchParams.entries()):{},n=t?.code,r=t?.state,o=t?.error;if(o)throw new GO({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(KO&&(this.state=localStorage.getItem(`${this.config.clientId}_state`)??"",this.verifier=localStorage.getItem(`${this.config.clientId}_verifier`)??"",localStorage.removeItem(`${this.config.clientId}_state`),localStorage.removeItem(`${this.config.clientId}_verifier`)),this.state&&r!==this.state)throw new Error("The received state parameter does not match the original state value");const a=JSON.stringify({grant_type:n?"authorization_code":"client_credentials",scope:this.config.scopes.join(" "),...n?{code:n}:{},...this.config.redirectUri?{redirect_uri:this.config.redirectUri}:{},...this.verifier?{code_verifier:this.verifier}:{},client_id:this.config.clientId}),i=await this.rest("/oauth/token",{method:"POST",body:a}),l=await i.json();return this.config.apiKey=l.access_token,this.config.refreshToken=l?.refresh_token,l}async deauthorize(){await this.rest("/oauth/revoke",{method:"POST",body:JSON.stringify({token:this.config.apiKey,token_type_hint:"access_token"})}),this.config.apiKey=""}async refreshToken(){if(this.config.authType!==UO.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new GO("Method only available for AuthType OAuth2, that have offline_access scope");const e=await this.rest("/oauth/token",{method:"POST",body:JSON.stringify({grant_type:"refresh_token",refresh_token:this.config.refreshToken})}).then((e=>e.json()));return this.config.apiKey=e.access_token,this.config.refreshToken=e.refresh_token,e}async generateAuthorizationUrl(e){const{url:t,verifier:n,state:r}=await(async(e,t)=>{const{verifier:n,challenge:r}=await(async()=>{const e=HO(43);return{verifier:e,challenge:await(async e=>{const t=window.crypto,n=(new TextEncoder).encode(e),r=await t.subtle.digest("SHA-256",n),o=Array.from(new Uint8Array(r));return btoa(o.map((e=>String.fromCharCode(e))).join("")).replaceAll(/\+/g,"-").replaceAll(/\//g,"_").replace(/=+$/,"")})(e)}})(),o={response_type:"code",client_id:e.clientId,redirect_uri:e.redirectUri,scope:e.scopes.join(" "),state:t||HO(7),code_challenge:r,code_challenge_method:"S256"},a=Object.keys(o);a.sort();const i=a.map((e=>`${e}=${o[e]}`)).join("&");return{url:WO(`${e.host.replace(/^https?:/,"")}/oauth/authorize?${i}`,e?.isSecure).href,verifier:n,state:o.state}})(this.config,e);return this.verifier=n,this.state=r,KO&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const TI=()=>{const e={};return window.location.search.substring(1).split("&").forEach((t=>{const n=t.indexOf("="),r=t.substr(0,n);let o=decodeURIComponent(t.substring(n+1));"cols"===r&&(o=o.split(",")),e[r]=o})),e},DI=/(wss?):\/\/([^/:?&]+)(?::(\d+))?/,AI=/\/app\/([^?&#:]+)/,PI=/(wss?):\/\/([^/:?&]+)(?::(\d+))?\/?([a-z0-9-._~]+)?/,kI=e=>{const t=DI.exec(e);if(!t)return{engineUrl:e,invalid:!0};let n;const r=e.trim();let o,a=r;const i=AI.exec(r);i&&([,n]=i,a=r.substring(0,i.index),o=r);const l=PI.exec(a);return l?{enigma:{secure:"wss"===t[1],host:t[2],port:t[3]||void 0,prefix:l[4]||void 0,appId:n},engineUrl:a,appUrl:o}:{engineUrl:e,invalid:!0}},MI=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=TI();if(n.engine_url?t={...t,...kI(n.engine_url)}:n.app&&(t={...t,enigma:{...t.enigma,appId:n.app}}),n["qlik-web-integration-id"]&&(t.webIntegrationId=n["qlik-web-integration-id"]),n["qlik-client-id"]&&(t.clientId=n["qlik-client-id"]),t.invalid)return t;const r=`${t.enigma.secure?"https":"http"}://${t.enigma.host}`;return{...t,rootPath:r}})),FI=new Map,BI=[],jI=BI.map,zI=BI.some,$I=BI.hasOwnProperty,GI=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,VI=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,UI=/(?:\.[^/]*|\/)$/;class WI extends Error{constructor(e){super(e)}}function HI(e){const t=GI.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function KI(e){const t=new Map,n=o(null);function r(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise(((t,n)=>{const r=document.createElement("script");r.onload=()=>{try{t(BI.pop()(o(e)))}catch(e){n(new WI("invalid module"))}r.remove()},r.onerror=()=>{n(new WI("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=ZI,document.head.appendChild(r)}))),n}function o(t){return n=>Promise.resolve(e(n,t)).then(r)}function a(e){return arguments.length>1?Promise.all(jI.call(arguments,n)).then(XI):n(e)}return a.alias=function(t){return KI(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function XI(e){const t={};for(const n of e)for(const e in n)$I.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:YI(n,e)}):t[e]=n[e]);return t}function YI(e,t){return()=>e[t]}function JI(e){return"exports"==(e+="")||"module"===e}function ZI(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),BI.push(zI.call(t,JI)?e=>{const r={},o={exports:r};return Promise.all(jI.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(jI.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}WI.prototype.name=WI.name,KI(function(e="https://cdn.jsdelivr.net/npm/",t=["unpkg","jsdelivr","browser","main"]){if(!/\/$/.test(e))throw new Error("origin lacks trailing slash");function n(t){const n=`${e}${t.name}${t.version?`@${t.version}`:""}/package.json`;let r=FI.get(n);return r||FI.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new WI("unable to load package.json");return e.redirected&&!FI.has(e.url)&&FI.set(e.url,r),e.json()}))),r}return async function(r,o){if(r.startsWith(e)&&(r=r.substring(e.length)),/^(\w+:)|\/\//i.test(r))return r;if(/^[.]{0,2}\//i.test(r))return new URL(r,null==o?location:o).href;if(!r.length||/^[\s._]/.test(r)||/\s$/.test(r))throw new WI("illegal name");const a=HI(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(HI(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!UI.test(a.path)&&(a.path+=".js"),a.path&&a.version&&VI.test(a.version))return`${e}${a.name}@${a.version}/${a.path}`;const i=await n(a);return`${e}${i.name}@${i.version}/${a.path||function(e){for(const n of t){let t=e[n];if("string"==typeof t)return t.startsWith("./")&&(t=t.slice(2)),UI.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),ZI.amd={};const QI=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`,o=KI((async e=>r(e)));return o.alias({"@nebula.js/stardust":e})(n||t)},ex={};function tx(e){const t=()=>{QI(e.supernova.name,e.supernova.url).then((t=>{var n;window[e.supernova.name]=t,n=e.supernova.name,ex[n]&&ex[n].forEach((e=>e()))}))};if(e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t(),e.types){const t=e.types.map((e=>QI(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(ex[e]||(ex[e]=[]),ex[e].push(t),window[e]&&t(),()=>{const n=ex[e].indexOf(t);ex[e].splice(n,1)});const nx=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const rx=async e=>{const t=document.querySelector("#chart-container"),n=await MI(),r=await async function(e){const t=window.serveFixtures.get(e);if(!t)throw new Error(`Unable to load fixture ${e}`);const n=t();return function({genericObjects:e}={}){if(!e||0===e.length)return;if(!e[0]||!e[0].getLayout)throw new Error("Invalid getLayout of generic object");const{getLayout:t}=e[0],n="function"==typeof t?t():t;if(!n.visualization)throw new Error('No "visualization" specified on generic object on path "getLayout"');if(!n.qInfo||!n.qInfo.qId)throw new Error('No "qId" specified on generic object on path "getLayout.qInfo')}(n),n}(e.fixture),{type:o,load:a,genericObjects:i,instanceConfig:l,snConfig:s,enigmaMockerOptions:c}=await async function({params:e,fixture:t,serverInfo:n}){const r=U()(!0,{},(({themes:e=[],supernova:t={},flags:n,anything:r})=>{const o={instanceConfig:{themes:e.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))),context:{constraints:{}},flags:n,anything:r}};return t.name&&(o.type=t.name),(t.name||t.url)&&(o.load=async()=>QI(t.name,t.url)),o})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language,keyboardNavigation:e.keyboardNavigation}}}))(e));return r.genericObjects=r.genericObjects||[nx({type:r.type})],function(e){if(!e.type)throw new Error('No visualization type. Specify it either in fixture in the property "type" or as "--type" to Nebula serve.');if(!e.load)throw new Error('Unable to load the visualization. Specify it in option "--entry" to Nebula serve.')}(r),r}({fixture:r,params:e,serverInfo:n}),u=await DO.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),p=n&&n.types||[],f=bO(u,{types:[{name:o,load:a},...p.map((e=>({name:e.name,load:async()=>QI(e.name,e.url)})))],...l}),h=await f.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{h.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function ox(){const e=await MI();await tx(e),e.enigma.appId||(location.href=location.origin);const t=TI(),n=await(async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await MI();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new _I({webIntegrationId:e,autoRedirect:!0,authType:UO.WebIntegration,host:t});return await n.isAuthenticated()||await n.authenticate(),n})({webIntegrationId:n,host:o});a=await t.generateWebsocketUrl(e)}else if(t){const{webSocketUrl:t}=await(await fetch(`/auth/getSocketUrl/${e}`)).json();a=t}else a=BO().buildUrl(r);return(await kO().create({schema:MO,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}})(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>{const a=bO.createConfiguration({themes:n?n.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,context:{theme:r,language:o}});return a(e,{load:e=>Promise.resolve(window[e.name]),types:[{name:t}]})})({app:n,...e,theme:t.theme,language:t.language}),o=document.querySelector("#chart-container");let a,i;if(t["render-config"]){const n=await(await fetch(`/render-config/${t["render-config"]}`)).json();a={...n,...t.object?{id:t.object}:n.id?{id:n.id}:{},type:n.type?n.type:e.supernova.name,fields:t.cols?t.cols:n.fields,element:o}}else a=t.object?{id:t.object,element:o}:{type:e.supernova.name,fields:t.cols||[],element:o};window.onHotChange(e.supernova.name,(async()=>{i&&(i.close(),r.__DO_NOT_USE__.types.clearFromCache(e.supernova.name),r.__DO_NOT_USE__.types.register(e.supernova)),i=await(async()=>{await r.render(a)})()}))}window.addEventListener("load",(function(){const e=TI();e.fixture?rx(e):e.snapshot?async function(){const e=await MI(),{themes:t,supernova:n}=e;await tx(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=bO.createConfiguration({themes:t?t.map((e=>({key:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,types:[{load:e=>Promise.resolve(window[e.name]),name:n.name}],context:{constraints:{passive:!0,active:!0}}});window.onHotChange(n.name,(async()=>{const e=TI();!async function({embed:e,element:t,snapshot:n}){let r={};const o=e=>{t.innerHTML=`<p>${e.message}</p>`,t.setAttribute("data-njs-error",e.message)};try{r="string"==typeof n?await e.config.snapshot.get(n):n}catch(e){throw o(e),e}const{meta:{theme:a,language:i,appLayout:l},layout:s}=r,c=e=>({id:+new Date+"-object",getLayout:async()=>e,on(){},once(){}}),u={id:+new Date+"-app",createSessionObject:async e=>c(e),getObject:async e=>e===s.qInfo.qId?c(s):Promise.reject(new Error(`Could not find an object with id: ${e}`)),getAppLayout:async()=>l||{}},d=await e(u,{context:{theme:a,language:i}});try{await d.render(s.qInfo&&s.qInfo.qId?{id:s.qInfo.qId,element:t}:{type:s.visualization,element:t,properties:s})}catch(e){throw o(e||{message:"Failed to render visualization."}),e}}({embed:o,element:r,snapshot:e.snapshot})}))}():ox()}))})()})();
103
103
  //# sourceMappingURL=eRender.js.map