@sassoftware/va-report-components
Version:
The SAS Visual Analytics SDK is a set of JavaScript APIs and web components that enable SAS Visual Analytics report content to be easily embedded in a third-party application or web page.
1 lines • 8.28 MB
JavaScript
/*! License information is available at ../../LICENSE.txt and ../../LICENSE-3RD-PARTY.txt */(globalThis["va-report-componentsJsonp"]=globalThis["va-report-componentsJsonp"]||[]).push([[32,34],Array(157).concat([(e,t,a)=>{"use strict";a.r(t),a.d(t,{SASReport:()=>x,SASReportObject:()=>f,SASReportPage:()=>b});var o=a(2),r=a(158),s=a(693),l=a(225),c=a(694),n=a(695),i=a(696),h=a(220),m=a(697),d=a(679),v=a(173),p=a(231),u=a(731);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},g.apply(this,arguments)}const M=({message:e})=>o.createElement(h.X,{style:{display:"flex",flexShrink:1,height:"100%",justifyContent:"center",alignItems:"center"}},o.createElement(i.w,{text:e,mode:"error"})),z=e=>{const[t,a]=(0,o.useState)(),[r,l]=(0,o.useState)(),[i]=(0,d.T9)(),h=(0,u.H4)();(0,o.useEffect)((()=>(0,p.B5)(e.url,e.authenticationType).subscribe((e=>{e.error?l(e.error):("initalizing"!==e.status&&a("authorized"===e.status),l(void 0))}))),[e.url,e.authenticationType]);let m=e.children;return r?m=o.createElement(v.f6,{currentTheme:i},o.createElement(M,{message:r})):void 0===t?m=o.createElement(v.f6,{currentTheme:i},o.createElement(n.g,null)):!1===t&&(m=o.createElement(v.f6,{currentTheme:i},o.createElement(c.u,{url:e.url,authenticationType:e.authenticationType}))),o.createElement(s.T,{className:h},m)},x=e=>{const[t,a]=(0,o.useState)(),c=(0,u.H4)();return t||"packageUri"in e?o.createElement(s.T,{className:c},o.createElement(M,{message:t||l.L["SASReport.genericError.msg"]()})):o.createElement(z,{url:e.url,authenticationType:e.authenticationType},o.createElement(r.B,{mobileView:!0,reportUri:e.reportUri,host:e.url,authenticationType:e.authenticationType,onError:e=>a(e||l.L["SASReport.genericError.msg"]())}))},f=e=>{const[t,a]=(0,o.useState)(),c=(0,u.H4)();return t||"packageUri"in e?o.createElement(s.T,{className:c},o.createElement(M,{message:t||l.L["SASReport.genericError.msg"]()})):o.createElement(z,{url:e.url,authenticationType:e.authenticationType},o.createElement(r.B,{mobileView:!0,reportUri:e.reportUri,host:e.url,authenticationType:e.authenticationType,objectName:e.objectName||"",onError:e=>a(e||l.L["SASReport.genericError.msg"]())}))};async function y(e,t,a,o){const r={headers:{}};o&&(r.headers.Authorization=o,r.credentials="omit");const s=await fetch(`${e}${t}/content/elements`,r),l=await s.json(),c=l?.items?.filter((e=>"Section"===e?.type))?.findIndex((e=>e?.name===a));if(void 0===c||-1===c)throw new Error(`Unable to find Section with name ${a}`);return c}const C=e=>{const[t,a]=(0,o.useState)("pageIndex"in e?e.pageIndex:void 0),s="pageName"in e?e.pageName:void 0;return(0,o.useEffect)((()=>{if(!s)return;let t=!1;return"guest"===e.authenticationType?(0,m.m9)(e.url).then((o=>{t||y(e.url,e.reportUri,s,o).then((e=>{t||a(e)}))})):y(e.url,e.reportUri,s).then((e=>{t||a(e)})),()=>{t=!0}}),[s,e.url,e.reportUri,e.authenticationType]),void 0===t?o.createElement(n.g,null):o.createElement(r.B,{mobileView:!0,reportUri:e.reportUri,host:e.url,authenticationType:e.authenticationType,sectionIndex:t,onError:e.onError})},b=e=>{const[t,a]=(0,o.useState)(),r=(0,u.H4)();return t||"packageUri"in e?o.createElement(s.T,{className:r},o.createElement(M,{message:t||l.L["SASReport.genericError.msg"]()})):o.createElement(z,{url:e.url,authenticationType:e.authenticationType},o.createElement(C,g({},e,{onError:e=>a(e||l.L["SASReport.genericError.msg"]())})))}},(e,t,a)=>{"use strict";a.d(t,{B:()=>d});var o=a(2),r=a(159),s=a(220),l=a(221),c=a(224),n=a(173),i=a(679),h=a(434),m=a(232);const d=function(e){const[t,a]=(0,o.useState)(null),[d,v]=(0,o.useState)(!1),[p,u]=(0,o.useState)(""),[g,M]=(0,o.useState)(!1),z=(0,o.useRef)(null),x=(0,l.gV)(),[f,y]=(0,i.T9)(),[C,b]=(0,i.$S)();(0,o.useEffect)((()=>{var a,o;const r=e.onError,s=(0,c.A5)(e.host,e.authenticationType),l=e.objectName?null===(a=s.getObjectImage(e.reportUri,e.objectName,t))||void 0===a?void 0:a.subscribe((e=>{e.imageURL?u(e.imageURL):null==r||r(e.error)})):null===(o=s.getReportImage(e.reportUri,t,e.sectionIndex))||void 0===o?void 0:o.subscribe((e=>{e.imageURL?u(e.imageURL):null==r||r(e.error)}));return()=>null==l?void 0:l.unsubscribe()}),[e.host,e.authenticationType,e.reportUri,e.objectName,e.sectionIndex,e.onError,t]);const[S]=(0,h.x)((({contentRect:e})=>{if(e&&!t){const t=e.width,o=e.height;t>0&&o>0&&a({width:t,height:o})}}));return o.createElement(n.f6,{currentTheme:f},o.createElement(s.X,{ref:S,style:{position:"relative",display:"flex",flexShrink:1,flexDirection:"column",height:"100%",justifyContent:"center",backgroundColor:null==y?void 0:y.backgroundColor,fontFamily:null==y?void 0:y.fontFamily}},o.createElement("img",{ref:z,src:p,style:{position:"absolute",width:"100%",height:"100%",visibility:d?"visible":"hidden"},onLoad:()=>{!d&&z.current&&t&&v(!0)},onMouseDown:()=>M(!e.mobileView&&d),"data-testid":(0,m.A8)()?e.objectName+"-image":void 0}),o.createElement("div",{style:{width:"100%",height:"100%",position:"absolute",backgroundColor:"#FFFFFFA0",visibility:d&&g?"visible":"hidden"}}),o.createElement(r.Bu,{style:{zIndex:1},active:g||!d,text:x,animationTokens:C,tokens:b,delay:0})))}},(e,t,a)=>{"use strict";a.d(t,{Bu:()=>w});var o=a(2),r=a(160),s=a.n(r),l=a(161),c=a(169),n=a(171),i=a(173),h=a(189),m=a(190),d=a(215),v=a(216),p=a(217),u=a(219);const g=JSON.parse('{"i":"sas_components-BusyStateIndicator-BusyStateAnimationElement_bar-container","q":"sas_components-BusyStateIndicator-BusyStateAnimationElement_progress-bar"}');var M=a(184);const z=(0,n.zF)(u.Z),x=(0,o.forwardRef)((function(e,t){const a=z(),o=(0,i.Ld)(),r=f(o,{tokens:e.tokens});return(0,M.jsx)(v.Z,{spacing:"s",tabIndex:e.tabIndex??0,ref:t,className:s()(g.i,e.className),style:{...r,...e.style},"aria-label":e.ariaLabel??a("busyStateIndicatorAnimation.default.aria"),"aria-describedby":e.ariaDescribedBy,role:"img",title:a("busyStateIndicatorAnimation.default.tooltip.label"),children:(0,M.jsx)("div",{className:g.q})})})),f=(e,t)=>({...(0,i.je)({bg:e.tokens["color-primary"],"animation-start":e.tokens["color-primary"],"animation-end":e.tokens["color-container-background-0"],width:e.tokens["size-container-xs"],"border-radius":e.tokens["size-border-radius-xxs"],height:"4px",...t?.tokens?.()??{}},"busy-state-bar"),...!e.enableNovaTokens&&y(e,t)}),y=(e,t)=>{switch(e.baseReportThemeName){case"highcontrast2018":case"highcontrast2017":return{...(0,i.je)({bg:e.c.hcBusy,"animation-start":e.tokens["color-primary"],"animation-end":e.c.white,...t?.tokens?.()??{}},"busy-state-bar")}}return{...(0,i.je)({bg:e.reportTokens.stateStatusContent.informational.fg,"animation-start":e.tokens["color-primary"],"animation-end":e.c.white,...t?.tokens?.()??{}},"busy-state-bar")}},C=JSON.parse('{"IJ":"sas_components-BusyStateIndicator-BusyStateIndicator_overlay","SB":"sas_components-BusyStateIndicator-BusyStateIndicator_state","o2":"sas_components-BusyStateIndicator-BusyStateIndicator_state-text","nC":"sas_components-BusyStateIndicator-BusyStateIndicator_container","Hn":"sas_components-BusyStateIndicator-BusyStateIndicator_children-container","NI":"sas_components-BusyStateIndicator-BusyStateIndicator_fill-parent-container","qP":"sas_components-BusyStateIndicator-BusyStateIndicator_button-container"}'),b=(0,n.zF)(u.Z),S=(0,c.e)("BusyStateIndicator-text"),w=(0,o.forwardRef)((function(e,t){const a=b(),r=(0,d.k)(),{text:l,buttonText:c,onButtonPress:n,active:u,children:g,testId:z,hideGraphic:f}=e,y=S(),w=(e=>null==e?300:e>0?e:0)(e.delay),[E,H]=(0,o.useState)(!1),N=(0,o.useRef)(null),L=(0,o.useRef)(null),T=(0,o.useRef)(null),A=(0,o.useRef)(null),I=(0,o.useRef)(null),k=(0,o.useRef)(null),F=(0,o.useRef)(!1),D=(0,i.Ld)(),B=!!u&&(E||0===w),O=l??(f?a("hideGraphicLoading.label"):l),R={...V(D,{tokens:e.tokens}),...e.theme?.(D)};(0,o.useEffect)((()=>{if(!u)return void H(!1);const e=setTimeout((()=>H(!0)),w);return()=>clearTimeout(e)}),[u]);const P=e.activeMsg??a("active.aria");(0,o.useEffect)((()=>{B?(k.current||(k.current=document.activeElement),!e.disableAutoFocus&&L.current?.contains(document.activeElement)?f?A.current?.focus():T.current?.focus():P&&r?.notify(P)):k.current&&(e.disableAutoFocus||k.current?.focus?.(),k.current=null)}),[r,B,P,f,e.disableAutoFocus]);const _=(0,o.useRef)(e.onActive);_.current=e.onActive,(0,o.useEffect)((()=>{B&&_.current?.()}),[B]),(0,p.S)({isOpen:B,message:e.dismissedMsg??a("dismissed.aria")}),B||N.current?.contains(document.activeElement)||(k.current=null);const j=(0,M.jsxs)(v.Z,{className:s()(C.SB,e.className),style:{...R,...e.style},"data-testid":z,ref:N,orientation:"vertical",children:[f?null:(0,M.jsx)(x,{ref:t=>{(0,h.k)(e.busyStateAnimationRef,t),T.current=t},ariaLabel:e.ariaLabel,ariaDescribedBy:O?y:void 0,tokens:e.animationTokens}),O?(0,M.jsx)("span",{ref:A,className:C.o2,id:y,tabIndex:f?0:void 0,children:O}):null,c?(0,M.jsx)("div",{className:C.qP,children:(0,M.jsx)(m.zx,{variant:m.Wu.Small,onPress:n,text:c})}):null]});return g?(0,M.jsxs)("div",{className:s()(C.nC,e.fillParentContainer&&C.NI,e.containerClassName),style:{...R,...e.containerStyle},ref:t,children:[B?(0,M.jsx)("span",{tabIndex:0,ref:I,onFocus:()=>{F.current||(f?A.current?.focus():T.current?.focus())},"data-autofocus-inside":"true"}):null,(0,M.jsx)("div",{className:C.Hn,ref:L,children:g}),B?(0,M.jsx)("div",{className:s()(C.IJ,e.overlayClassName),style:e.overlayStyle,onKeyDown:e=>{"Tab"===e.key&&e.shiftKey&&e.target===(f?A.current:T.current)&&(F.current=!0,I.current?.focus(),F.current=!1)},children:j}):null]}):B?j:null})),V=(e,t)=>({...(0,i.je)({"font-size-m":e.tokens["font-size-body-text-m"],"overlay-bg":t?.tokens?.().bg??(0,l.uK)(e.tokens["color-container-background-0"],.9),fg:t?.tokens?.().fg??e.tokens["color-body-text"],pd:e.tokens["space-base-s"]},"busy-state"),...(0,i.je)({bg:e.tokens["color-container-background-0"]},"button-container"),...!e.enableNovaTokens&&E(e,t)}),E=(e,t)=>{let a="",o="";switch(e.themeVariant){case"dark":a=(0,l.uK)(e.c.p_2,.6),o=e.c.white;break;case"high-contrast":a=(0,l.uK)(e.c.black,.6),o=e.c.white;break;default:a=(0,l.uK)(e.c.white,.8),o=e.c.n_3}return{...(0,i.je)({"font-size-m":e.reportTokens.font.size.m,"overlay-bg":t?.tokens?.().bg??a,fg:t?.tokens?.().fg??o},"busy-state"),...(0,i.je)({bg:e.reportTokens.backgrounds.panes.bg},"button-container")}}},(e,t)=>{var a;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=l(e,s(a)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var a in e)o.call(e,a)&&e[a]&&(t=l(t,a));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},(e,t,a)=>{"use strict";a.d(t,{Ne:()=>o.Ne,mx:()=>o.mx,qj:()=>o.qj,Cv:()=>o.Cv,LX:()=>s.LX,kG:()=>o.kG,A9:()=>s.A9,EW:()=>r.EW,So:()=>s.So,LJ:()=>r.LJ,PS:()=>r.PS,uK:()=>l.u});var o=a(162),r=a(163),s=a(164),l=a(168)},(e,t,a)=>{"use strict";a.d(t,{Cv:()=>v,Ne:()=>n,k8:()=>m,kG:()=>h,mx:()=>i,qj:()=>c,ud:()=>d});const o={colorNeutral:"hsl(216, 13%, 53%)",colorPrimary:"hsl(205, 97%, 35%)",colorSecondary:"hsl(329, 75%, 30%)",colorAlert:"hsl(360, 100%, 42%)",colorWarning:"hsl(40, 100%, 28%)",colorSuccess:"hsl(124, 85%, 26%)",colorInfo:"hsl(205, 99%, 37%)",colorStatusNeutral:"hsl(216, 13%, 45%)",colorUiLight:"hsl(0, 100%, 100%)",colorUiMedium:"hsl(210, 17%, 98%)",colorUiDark:"hsl(220, 13%, 95%)",colorUiBorder:"hsl(218, 12%, 83%)",colorUiPop:"hsl(205, 97%, 41%)",colorTextDefault:"hsl(0, 0%, 0%)",colorTextLabel:"hsl(218, 13%, 46%)",colorTextInverse:"hsl(0, 100%, 100%)",colorTextPrimary:"hsl(205, 97%, 35%)",colorTextSecondary:"hsl(329, 75%, 30%)",colorTextPop:"hsl(0, 0%, 100%)",colorGraph1:"#33a3ff",colorGraph2:"#ffcc32",colorGraph3:"#9471ff",colorGraph4:"#ff8224",colorGraph5:"#2ad1d1",colorGraph6:"#dd5757",colorGraph7:"#15b57b",colorGraph8:"#ff6fbd",colorKPI1:"#dd5757",colorKPI3:"#ffcc32",colorKPI5:"#15b57b"},r={colorNeutral:"hsl(205, 25%, 70%)",colorPrimary:"hsl(205, 97%, 63%)",colorSecondary:"hsl(329, 75%, 43%)",colorAlert:"hsl(360, 100%, 65%)",colorWarning:"hsl(40, 100%, 58%)",colorSuccess:"hsl(124, 85%, 36%)",colorInfo:"hsl(205, 99%, 59%)",colorStatusNeutral:"hsl(205, 25%, 70%)",colorUiLight:"hsl(205, 90%, 8%)",colorUiMedium:"hsl(205, 90%, 15%)",colorUiDark:"hsl(205, 90%, 12%)",colorUiBorder:"hsl(205, 22%, 26%)",colorUiPop:"hsl(205, 90%, 15%)",colorTextDefault:"hsl(0, 100%, 100%)",colorTextLabel:"hsl(223, 10%, 64%)",colorTextInverse:"hsl(205, 90%, 8%)",colorTextPrimary:"hsl(205, 97%, 63%)",colorTextSecondary:"hsl(329, 75%, 43%)",colorTextPop:"hsl(0, 0%, 100%)",colorGraph1:"#2470ad",colorGraph2:"#98863c",colorGraph3:"#5954ad",colorGraph4:"#985b30",colorGraph5:"#238a92",colorGraph6:"#84414b",colorGraph7:"#17785f",colorGraph8:"#985186",colorKPI1:"#84414b",colorKPI3:"#98863c",colorKPI5:"#17785f"},s={colorNeutral:"hsl(205, 30%, 90%)",colorPrimary:"hsl(205, 97%, 76%)",colorSecondary:"hsl(329, 75%, 90%)",colorAlert:"hsl(360, 80%, 80%)",colorWarning:"hsl(40, 80%, 75%)",colorSuccess:"hsl(124, 60%, 75%)",colorInfo:"hsl(205, 80%, 75%)",colorStatusNeutral:"hsl(205, 30%, 90%)",colorUiLight:"hsl(0, 0%, 0%)",colorUiMedium:"hsl(212, 10%, 17%)",colorUiDark:"hsl(0, 0%, 0%)",colorUiBorder:"hsl(218, 12%, 83%)",colorUiPop:"hsl(212, 10%, 12%)",colorTextDefault:"hsl(0, 0%, 100%)",colorTextLabel:"hsl(0, 0%, 100%)",colorTextInverse:"hsl(0, 0%, 0%)",colorTextPrimary:"hsl(205, 97%, 76%)",colorTextSecondary:"hsl(329, 75%, 90%)",colorTextPop:"hsl(0, 0%, 100%)",colorGraph1:"#4aacff",colorGraph2:"#f1d700",colorGraph3:"#c68aff",colorGraph4:"#f98e39",colorGraph5:"#00d692",colorGraph6:"#ff817a",colorGraph7:"#7cbf00",colorGraph8:"#ff6fbd",colorKPI1:"#ff5e4d",colorKPI3:"#f2d94b",colorKPI5:"#7bb04a"},l={neutral:"#768396",primary:"#0378cd",secondary:"#86134f",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016DBA"},c={baseThemeName:"light",colors:{...l,...o},enableNovaTokens:!1},n={...c,colors:{...c.colors,...r},baseThemeName:"dark"},i={...c,baseThemeName:"high-contrast",colors:{...c.colors,secondary:"#EA6CAD",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0",...s}},h={light:c,dark:n,"high-contrast":i},m={sas_corporate:{baseThemeName:"light",colors:{...l,...o}},sas_ignite:{baseThemeName:"dark",colors:{...l,...r}},sas_hcb:{baseThemeName:"high-contrast",colors:{...l,secondary:"#EA6CAD",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0",...s}}},d={marine:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},midnight:{baseThemeName:"dark",colors:{neutral:"#fff",primary:"#0378cd",secondary:"#0378cd",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},midnight2020:{baseThemeName:"dark",colors:{neutral:"#fff",primary:"#0378cd",secondary:"#0378cd",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},opal:{baseThemeName:"light",colors:{neutral:"#768396",primary:"#3c444f",secondary:"#3c444f",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},sail:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#0072b2"}},aqua:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#0072b2"}},umstead:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},highcontrast2020:{baseThemeName:"high-contrast",colors:{neutral:"#fff",primary:"#0378cd",secondary:"#86134f",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},highcontrast2018:{baseThemeName:"high-contrast",colors:{neutral:"#fff",primary:"#44affc",secondary:"#ea6cad",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0"}},highcontrast2017:{baseThemeName:"high-contrast",colors:{neutral:"#fff",primary:"#98fb98",secondary:"#0ff",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0"}},light:{baseThemeName:"light",colors:{neutral:"#768396",primary:"#0378cd",secondary:"#287eab",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},dark:{baseThemeName:"dark",colors:{neutral:"#768396",primary:"#0378cd",secondary:"#287eab",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},snow:{baseThemeName:"light",colors:{neutral:"#768396",primary:"#0378cd",secondary:"#287eab",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},highcontrast:{baseThemeName:"high-contrast",colors:{neutral:"#ffffff",primary:"#00fffc",secondary:"#00fffc",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},light2025:{baseThemeName:"light",colors:{neutral:"#788497",primary:"#0368b0",secondary:"#86134e",alert:"#d60000",warning:"#8f5f00",success:"#0a7b11",information:"#016ebc"}},dark2025:{baseThemeName:"dark",colors:{neutral:"#fff",primary:"#45b0fc",secondary:"#c01b70",alert:"#ff4d4d",warning:"#ffb829",success:"#0eaa18",information:"#2fa8fe"}},highcontrast2025:{baseThemeName:"high-contrast",colors:{neutral:"#dee7ed",primary:"#86ccfd",secondary:"#f9d2e6",alert:"#f5a3a3",warning:"#f2d08c",success:"#99e69e",information:"#8cc8f2"}}},v={...d,...m}},(e,t,a)=>{"use strict";a.d(t,{EW:()=>n,LJ:()=>i,PS:()=>c,V7:()=>h,jG:()=>m});var o=a(24),r=a(164),s=a(162);const l=(0,o.jl)("reportThemes");function c(e){let t;const a=e.baseReportThemeName??e.baseThemeName;return i(a)?t=n(a):(l.warn(`Unsupported 'baseReportThemeName' provided ('${a}'). Defaulting to 'light'.`),t=n("light")),{...t,colors:{...t.colors,...e.colors},overrides:{...t.overrides,...e.overrides}}}function n(e){if(!i(e))return s.kG.light;const{baseThemeName:t,colors:a}=s.ud[e];let o=t;(0,r.IM)(o)||(l.warn(`Unsupported 'baseThemeName' provided ('${o}'). Defaulting to 'light'.`),o="light");const c=s.kG[o],n="light2025"===e||"dark2025"===e||"highcontrast2025"===e;return{...c,colors:{...c.colors,...a},baseReportThemeName:e,enableNovaTokens:n}}function i(e){return s.ud.hasOwnProperty(e)}function h(e){const t=!!e.baseReportThemeName,a="dark"===e.baseThemeName||"high-contrast"===e.baseThemeName;return t&&a}function m(e){switch(e.baseReportThemeName){case"marine":case"midnight":case"opal":case"sail":case"aqua":case"umstead":case"highcontrast2018":case"highcontrast2017":case"light":case"dark":case"snow":case"light2025":case"dark2025":case"highcontrast2025":case"highcontrast":return"2019";default:return"latest"}}},(e,t,a)=>{"use strict";a.d(t,{A9:()=>v,IM:()=>m,LX:()=>h,So:()=>d});var o=a(24),r=a(165),s=a(163),l=a(162);const c=(0,o.jl)("themeOverrides"),n=[{token:"colorNeutral",themeVar:"@neutralColorThemeDesigner"},{token:"colorPrimary",themeVar:"@primaryColorThemeDesigner"},{token:"colorSecondary",themeVar:"@secondaryColorThemeDesigner"},{token:"colorAlert",themeVar:"@alertColor"},{token:"colorWarning",themeVar:"@warningColor"},{token:"colorSuccess",themeVar:"@successColor"},{token:"colorInfo",themeVar:"@informationColor"},{token:"colorStatusNeutral",themeVar:"@neutralColorThemeDesigner"},{token:"colorGraph1",themeVar:"@GraphPaletteColor1"},{token:"colorGraph2",themeVar:"@GraphPaletteColor2"},{token:"colorGraph3",themeVar:"@GraphPaletteColor3"},{token:"colorGraph4",themeVar:"@GraphPaletteColor4"},{token:"colorGraph5",themeVar:"@GraphPaletteColor5"},{token:"colorGraph6",themeVar:"@GraphPaletteColor6"},{token:"colorGraph7",themeVar:"@GraphPaletteColor7"},{token:"colorGraph8",themeVar:"@GraphPaletteColor8"},{token:"colorKPI1",themeVar:"@kpiPaletteRange1"},{token:"colorKPI3",themeVar:"@kpiPaletteRange3"},{token:"colorKPI5",themeVar:"@kpiPaletteRange5"},{token:"primary",themeVar:"@primaryColorThemeDesigner"},{token:"secondary",themeVar:"@secondaryColorThemeDesigner"},{token:"neutral",themeVar:"@neutralColorThemeDesigner"},{token:"alert",themeVar:"@alertColor"},{token:"warning",themeVar:"@warningColor"},{token:"success",themeVar:"@successColor"},{token:"information",themeVar:"@informationColor"}],i=[{token:"fontFamily",themeVar:"@fontFamilyOverride",modify:e=>e.replace(/['"\\~,]+/g,"")},{token:"fontSizeCore",themeVar:"@baseLineFontSizeCore"},{token:"fontSizeBase",themeVar:"@baseLineFontSize"},{token:"bannerBg",themeVar:"@bannerBackgroundColor"},{token:"bannerFg",themeVar:"@bannerTextColor"},{token:"bannerImg",themeVar:"@bannerImageId",modify:e=>e.replace(/"/g,"")},{token:"fontSizeBase",themeVar:"@baseLineFontSize"},{token:"splashFg",themeVar:"@splashScreenAnimationColor"},{token:"splashBg",themeVar:"@splashScreenBackgroundColor"},{token:"splashImg",themeVar:"@splashImageId",modify:e=>e.replace(/"/g,"")},{token:"transitionFg",themeVar:"@transitionScreenAnimationColor"},{token:"transitionBg",themeVar:"@transitionScreenBackgroundColor"},{token:"tableBorderColor",themeVar:"@tableBorderColor"},{token:"tableCellBorderColor",themeVar:"@tableCellBorderColor"},{token:"tableHeaderBackground",themeVar:"@tableHeaderBackground"},{token:"tableHeaderBorderRightColor",themeVar:"@tableHeaderBorderRightColor"},{token:"tableHeaderLabelColor",themeVar:"@tableHeaderLabelColor"},{token:"tableRowBackgroundColorEven",themeVar:"@tableRowBackgroundColorEven"},{token:"tableRowBackgroundColorOdd",themeVar:"@tableRowBackgroundColorOdd"},{token:"tableTextColor",themeVar:"@tableTextColor"},{token:"tableTotalsBackgroundColor",themeVar:"@tableTotalsBackgroundColor"},{token:"tableTotalsTextColor",themeVar:"@tableTotalsTextColor"},{token:"transitionImg",themeVar:"@transitionImageId",modify:e=>e.replace(/"/g,"")}],h=e=>{let t,a=(e=e??{}).baseThemeId;"application"===e.contentType?a&&d(a)||(c.warn(`Unsupported application 'baseThemeId' provided ('${a}'). Defaulting to 'sas_corporate'.`),a="sas_corporate"):"report"===e.contentType?(a&&(0,s.LJ)(a)||(c.warn(`Unsupported report 'baseThemeId' provided ('${a}'). Defaulting to 'light'.`),a="light"),t=a):(c.warn(`Unrecognized value for 'contentType' provided ('${e.contentType}').`),a&&d(a)||(a&&(0,s.LJ)(a)?t=a:a="sas_corporate"));const o=l.Cv[a].baseThemeName,r={};for(const{themeVar:t,token:a}of n){const o=e.styleData?.[t];o&&(r[a]=o)}const h={};for(const{themeVar:t,token:a,modify:o}of i){const r=e.styleData?.[t];r&&(h[a]=o?o(r):r)}return{baseThemeName:o,...t?{baseReportThemeName:t}:{},colors:r,overrides:h}},m=e=>l.kG.hasOwnProperty(e),d=e=>l.k8.hasOwnProperty(e);function v(e){let t,a,o,s,c,n,i,h,m,d=e.colors?.colorNeutral,v=e.colors?.colorPrimary;const p=(0,r.Ym)(0,1,1);switch(e.baseThemeName){case"high-contrast":t=l.kG["high-contrast"],d=d??t.colors.colorNeutral,v=v??t.colors.colorPrimary,a=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,0),o=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.17),s=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,0),c=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.83),n=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.12),i=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,1),h=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,1),m=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,0);break;case"dark":t=l.kG.dark,d=d??t.colors.colorNeutral,v=v??t.colors.colorPrimary,a=(0,r.Ym)((0,r.L)(v).hue,(0,r.L)(v).saturation,.08),o=(0,r.Ym)((0,r.L)(v).hue,(0,r.L)(v).saturation,.15),s=(0,r.Ym)((0,r.L)(v).hue,(0,r.L)(v).saturation,.12),c=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.26),n=(0,r.Ym)((0,r.L)(v).hue,(0,r.L)(v).saturation,.15),i=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,1),h=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.64),m=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,0);break;default:t=l.kG.light,d=d??t.colors.colorNeutral,v=v??t.colors.colorPrimary,a=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,1),o=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.98),s=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.95),c=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.83),n=v,i=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,0),h=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,.46),m=(0,r.Ym)((0,r.L)(d).hue,(0,r.L)(d).saturation,1)}return{colorNeutral:d,colorPrimary:v,colorSecondary:e.colors?.colorSecondary??t.colors.colorSecondary,colorAlert:e.colors?.colorAlert??t.colors.colorAlert,colorWarning:e.colors?.colorWarning??t.colors.colorWarning,colorSuccess:e.colors?.colorSuccess??t.colors.colorSuccess,colorInfo:e.colors?.colorInfo??t.colors.colorInfo,colorStatusNeutral:e.colors?.colorStatusNeutral??t.colors.colorStatusNeutral,colorUiLight:a,colorUiMedium:o,colorUiDark:s,colorUiBorder:c,colorUiPop:n,colorTextDefault:i,colorTextLabel:h,colorTextInverse:m,colorTextPrimary:e.colors?.colorPrimary??t.colors.colorTextPrimary,colorTextSecondary:e.colors?.colorSecondary??t.colors.colorTextSecondary,colorTextPop:p,colorGraph1:e.colors?.colorGraph1??t.colors.colorGraph1,colorGraph2:e.colors?.colorGraph2??t.colors.colorGraph2,colorGraph3:e.colors?.colorGraph3??t.colors.colorGraph3,colorGraph4:e.colors?.colorGraph4??t.colors.colorGraph4,colorGraph5:e.colors?.colorGraph5??t.colors.colorGraph5,colorGraph6:e.colors?.colorGraph6??t.colors.colorGraph6,colorGraph7:e.colors?.colorGraph7??t.colors.colorGraph7,colorGraph8:e.colors?.colorGraph8??t.colors.colorGraph8,colorKPI1:e.colors?.colorKPI1??t.colors.colorKPI1,colorKPI3:e.colors?.colorKPI3??t.colors.colorKPI3,colorKPI5:e.colors?.colorKPI5??t.colors.colorKPI5}}},(e,t,a)=>{"use strict";a.d(t,{_j:()=>W,mj:()=>Y,se:()=>Q,Ym:()=>k,xM:()=>J,$n:()=>X,CD:()=>q,jb:()=>$,L:()=>H,Oq:()=>E,B8:()=>D,m4:()=>B,pW:()=>j,DZ:()=>ee});var o=a(167),r=a(22),s=a(166),l=a(23),c=a(21);function n(e,t,a){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,a){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return a&&(0,c.Z)(r,a.prototype),r},n.apply(null,arguments)}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||(a=e,-1===Function.toString.call(a).indexOf("[native code]")))return e;var a;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,o)}function o(){return n(e,arguments,(0,l.Z)(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),(0,c.Z)(o,e)},i(e)}var h=function(e){function t(t){var a;return a=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,r.Z)(a)}return(0,s.Z)(t,e),t}(i(Error));function m(e,t){return e.substr(-t.length)===t}var d=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function v(e){return"string"!=typeof e?e:e.match(d)?parseFloat(e):e}var p=function(e){return function(t,a){void 0===a&&(a="16px");var o=t,r=a;if("string"==typeof t){if(!m(t,"px"))throw new h(69,e,t);o=v(t)}if("string"==typeof a){if(!m(a,"px"))throw new h(70,e,a);r=v(a)}if("string"==typeof o)throw new h(71,t,e);if("string"==typeof r)throw new h(72,a,e);return""+o/r+e}};p("em");p("rem");function u(e){return Math.round(255*e)}function g(e,t,a){return u(e)+","+u(t)+","+u(a)}function M(e,t,a,o){if(void 0===o&&(o=g),0===t)return o(a,a,a);var r=(e%360+360)%360/60,s=(1-Math.abs(2*a-1))*t,l=s*(1-Math.abs(r%2-1)),c=0,n=0,i=0;r>=0&&r<1?(c=s,n=l):r>=1&&r<2?(c=l,n=s):r>=2&&r<3?(n=s,i=l):r>=3&&r<4?(n=l,i=s):r>=4&&r<5?(c=l,i=s):r>=5&&r<6&&(c=s,i=l);var h=a-s/2;return o(c+h,n+h,i+h)}var z={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var x=/^#[a-fA-F0-9]{6}$/,f=/^#[a-fA-F0-9]{8}$/,y=/^#[a-fA-F0-9]{3}$/,C=/^#[a-fA-F0-9]{4}$/,b=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,S=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,w=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,V=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function E(e){if("string"!=typeof e)throw new h(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return z[t]?"#"+z[t]:e}(e);if(t.match(x))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(f)){var a=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:a}}if(t.match(y))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(C)){var o=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:o}}var r=b.exec(t);if(r)return{red:parseInt(""+r[1],10),green:parseInt(""+r[2],10),blue:parseInt(""+r[3],10)};var s=S.exec(t.substring(0,50));if(s)return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])};var l=w.exec(t);if(l){var c="rgb("+M(parseInt(""+l[1],10),parseInt(""+l[2],10)/100,parseInt(""+l[3],10)/100)+")",n=b.exec(c);if(!n)throw new h(4,t,c);return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)}}var i=V.exec(t.substring(0,50));if(i){var m="rgb("+M(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",d=b.exec(m);if(!d)throw new h(4,t,m);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])}}throw new h(5)}function H(e){return function(e){var t,a=e.red/255,o=e.green/255,r=e.blue/255,s=Math.max(a,o,r),l=Math.min(a,o,r),c=(s+l)/2;if(s===l)return void 0!==e.alpha?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};var n=s-l,i=c>.5?n/(2-s-l):n/(s+l);switch(s){case a:t=(o-r)/n+(o<r?6:0);break;case o:t=(r-a)/n+2;break;default:t=(a-o)/n+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:i,lightness:c,alpha:e.alpha}:{hue:t,saturation:i,lightness:c}}(E(e))}var N=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function L(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function T(e){return L(Math.round(255*e))}function A(e,t,a){return N("#"+T(e)+T(t)+T(a))}function I(e,t,a){return M(e,t,a,A)}function k(e,t,a){if("number"==typeof e&&"number"==typeof t&&"number"==typeof a)return I(e,t,a);if("object"==typeof e&&void 0===t&&void 0===a)return I(e.hue,e.saturation,e.lightness);throw new h(1)}function F(e,t,a,o){if("number"==typeof e&&"number"==typeof t&&"number"==typeof a&&"number"==typeof o)return o>=1?I(e,t,a):"rgba("+M(e,t,a)+","+o+")";if("object"==typeof e&&void 0===t&&void 0===a&&void 0===o)return e.alpha>=1?I(e.hue,e.saturation,e.lightness):"rgba("+M(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new h(2)}function D(e,t,a){if("number"==typeof e&&"number"==typeof t&&"number"==typeof a)return N("#"+L(e)+L(t)+L(a));if("object"==typeof e&&void 0===t&&void 0===a)return N("#"+L(e.red)+L(e.green)+L(e.blue));throw new h(6)}function B(e,t,a,o){if("string"==typeof e&&"number"==typeof t){var r=E(e);return"rgba("+r.red+","+r.green+","+r.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof a&&"number"==typeof o)return o>=1?D(e,t,a):"rgba("+e+","+t+","+a+","+o+")";if("object"==typeof e&&void 0===t&&void 0===a&&void 0===o)return e.alpha>=1?D(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new h(7)}var O=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},R=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},P=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},_=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function j(e){if("object"!=typeof e)throw new h(8);if(R(e))return B(e);if(O(e))return D(e);if(_(e))return F(e);if(P(e))return k(e);throw new h(8)}function U(e,t,a){return function(){var o=a.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):U(e,t,o)}}function Z(e){return U(e,e.length,[])}Z((function(e,t){if("transparent"===t)return t;var a=H(t);return j((0,o.Z)({},a,{hue:a.hue+parseFloat(e)}))}));function G(e,t,a){return Math.max(e,Math.min(t,a))}var W=Z((function(e,t){if("transparent"===t)return t;var a=H(t);return j((0,o.Z)({},a,{lightness:G(0,1,a.lightness-parseFloat(e))}))}));Z((function(e,t){if("transparent"===t)return t;var a=H(t);return j((0,o.Z)({},a,{saturation:G(0,1,a.saturation-parseFloat(e))}))}));function K(e){if("transparent"===e)return 0;var t=E(e),a=Object.keys(t).map((function(e){var a=t[e]/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)})),o=a[0],r=a[1],s=a[2];return parseFloat((.2126*o+.7152*r+.0722*s).toFixed(3))}function Y(e,t){var a=K(e),o=K(t);return parseFloat((a>o?(a+.05)/(o+.05):(o+.05)/(a+.05)).toFixed(2))}function Q(e){return"transparent"===e?e:j((0,o.Z)({},H(e),{saturation:0}))}function J(e){if("object"==typeof e&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness)return e.alpha&&"number"==typeof e.alpha?F({hue:e.hue,saturation:e.saturation,lightness:e.lightness,alpha:e.alpha}):k({hue:e.hue,saturation:e.saturation,lightness:e.lightness});throw new h(45)}var X=Z((function(e,t){if("transparent"===t)return t;var a=H(t);return j((0,o.Z)({},a,{lightness:G(0,1,a.lightness+parseFloat(e))}))}));var q=Z((function(e,t,a){if("transparent"===t)return a;if("transparent"===a)return t;if(0===e)return a;var r=E(t),s=(0,o.Z)({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),l=E(a),c=(0,o.Z)({},l,{alpha:"number"==typeof l.alpha?l.alpha:1}),n=s.alpha-c.alpha,i=2*parseFloat(e)-1,h=((i*n==-1?i:i+n)/(1+i*n)+1)/2,m=1-h;return B({red:Math.floor(s.red*h+c.red*m),green:Math.floor(s.green*h+c.green*m),blue:Math.floor(s.blue*h+c.blue*m),alpha:s.alpha*parseFloat(e)+c.alpha*(1-parseFloat(e))})}));var $=Z((function(e,t){if("transparent"===t)return t;var a=E(t),r="number"==typeof a.alpha?a.alpha:1;return B((0,o.Z)({},a,{alpha:G(0,1,(100*r+100*parseFloat(e))/100)}))}));Z((function(e,t){if("transparent"===t)return t;var a=H(t);return j((0,o.Z)({},a,{saturation:G(0,1,a.saturation+parseFloat(e))}))}));Z((function(e,t){return"transparent"===t?t:j((0,o.Z)({},H(t),{hue:parseFloat(e)}))}));Z((function(e,t){return"transparent"===t?t:j((0,o.Z)({},H(t),{lightness:parseFloat(e)}))}));Z((function(e,t){return"transparent"===t?t:j((0,o.Z)({},H(t),{saturation:parseFloat(e)}))}));Z((function(e,t){return"transparent"===t?t:q(parseFloat(e),"rgb(0, 0, 0)",t)}));Z((function(e,t){return"transparent"===t?t:q(parseFloat(e),"rgb(255, 255, 255)",t)}));var ee=Z((function(e,t){if("transparent"===t)return t;var a=E(t),r="number"==typeof a.alpha?a.alpha:1;return B((0,o.Z)({},a,{alpha:G(0,1,+(100*r-100*parseFloat(e)).toFixed(2)/100)}))}))},(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var o=a(21);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,o.Z)(e,t)}},(e,t,a)=>{"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},o.apply(this,arguments)}a.d(t,{Z:()=>o})},(e,t,a)=>{"use strict";a.d(t,{u:()=>r});var o=a(165);const r=(e,t)=>(0,o.jb)(t,(0,o.DZ)(1,e))},(e,t,a)=>{"use strict";a.d(t,{e:()=>l});var o=a(2),r=a(170);const s=(0,o.createContext)("sas_RC");function l(e){let t=0;function a(a){return`${a}-${e}-${t++}`}return function(e){const t=(0,o.useContext)(s),l=(0,o.useRef)(),[c,n]=(0,o.useState)();if((0,r.Rw)(e))return(0,r.Rw)(l.current)&&(l.current=a(t)),l.current;{if(c&&c.length===e)return c;const o=c?[...c]:[];for(let r=o.length;r<e;r++)o.push(a(t));return o.length=e,n(o),o}}}},(e,t,a)=>{"use strict";function o(e){return null==e}function r(e){return null!=e&&!!e.then&&"function"==typeof e.then}function s(e){throw new Error(`unexpected value (assertNever): ${e}`)}a.d(t,{Rw:()=>o,vE:()=>s,y8:()=>r})},(e,t,a)=>{"use strict";a.d(t,{Kv:()=>c,zF:()=>n,z4:()=>l});var o=a(26),r=a(172);const s={},l=e=>s[e],c=e=>{s[e.name]=(0,o.D)(e)},n=e=>(c((0,o.D)(e)),(0,r.Pb)(e.name),()=>(0,r.OY)(e.name))},(e,t,a)=>{"use strict";a.d(t,{ZP:()=>N,G3:()=>S.G3,Bi:()=>S.Bi,Hf:()=>V,Pb:()=>S.Pb,ZK:()=>H,OY:()=>E});var o=a(2),r=a(16),s=a(17),l=a(20);function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function n(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){(0,l.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var i,h={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},m=o.createContext();var d=function(){function e(){(0,r.Z)(this,e),this.usedNamespaces={}}return(0,s.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function v(){return i}var p={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h=n(n({},h),e)}(e.options.react),function(e){i=e}(e)}};function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,o=new Array(t);a<t;a++)o[a]=e[a];return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o,r,s,l,c=[],n=!0,i=!1;try{if(s=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;n=!1}else for(;!(n=(o=s.call(a)).done)&&(c.push(o.value),c.length!==t);n=!0);}catch(e){i=!0,r=e}finally{try{if(!n&&null!=a.return&&(l=a.return(),Object(l)!==l))return}finally{if(i)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(){if(console&&console.warn){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];"string"==typeof a[0]&&(a[0]="react-i18next:: ".concat(a[0])),(e=console).warn.apply(e,a)}}var z={};function x(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];"string"==typeof t[0]&&z[t[0]]||("string"==typeof t[0]&&(z[t[0]]=new Date),M.apply(void 0,t))}function f(e,t,a){e.loadNamespaces(t,(function(){if(e.isInitialized)a();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),a()}))}}))}function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach((function(t){(0,l.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.i18n,r=(0,o.useContext)(m)||{},s=r.i18n,l=r.defaultNS,c=a||s||v();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new d),!c){x("You will need to pass in an i18next instance by using initReactI18next");var n=function(e){return Array.isArray(e)?e[e.length-1]:e},i=[n,{},!1];return i.t=n,i.i18n={},i.ready=!1,i}c.options.react&&void 0!==c.options.react.wait&&x("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var p=C(C(C({},h),c.options.react),t),u=p.useSuspense,M=p.keyPrefix,z=e||l||c.options&&c.options.defaultNS;z="string"==typeof z?[z]:z||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(z);var y=(c.isInitialized||c.initializedStoreOnce)&&z.every((function(e){return function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,o){if(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.languages[0],r=!!t.options&&t.options.fallbackLng,s=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;var l=function(e,a){var o=t.services.backendConnector.state["".concat(e,"|").concat(a)];return-1===o||2===o};return!(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e)||!t.hasResourceBundle(o,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!l(o,e)||r&&!l(s,e)))}(e,t,a):(x("i18n.languages were undefined or empty",t.languages),!0)}(e,c,p)}));function b(){return c.getFixedT(null,"fallback"===p.nsMode?z:z[0],M)}var S=g((0,o.useState)(b),2),w=S[0],V=S[1],E=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=p.bindI18n,t=p.bindI18nStore;function a(){E.current&&V(b)}return E.current=!0,y||u||f(c,z,(function(){E.current&&V(b)})),e&&c&&c.on(e,a),t&&c&&c.store.on(t,a),function(){E.current=!1,e&&c&&e.split(" ").forEach((function(e){return c.off(e,a)})),t&&c&&t.split(" ").forEach((function(e){return c.store.off(e,a)}))}}),[c,z.join()]);var H=(0,o.useRef)(!0);(0,o.useEffect)((function(){E.current&&!H.current&&V(b),H.current=!1}),[c]);var N=[w,c,y];if(N.t=w,N.i18n=c,N.ready=y,y)return N;if(!y&&!u)return N;throw new Promise((function(e){f(c,z,(function(){e()}))}))}var S=a(14),w=a(15);function V(e,t,a){return(0,S.Hf)({backends:e,backendOptions:t,initialLanguage:a,modules:[p]})}const E=e=>{const{t}=b(e);return(0,o.useCallback)(((a,o)=>t(`${e}:${e}.${a}`,o)),[t,e])},H=()=>{const[e,t]=(0,o.useState)(w.Z.language??S.mh);var a;return a=t,(0,o.useEffect)((()=>(0,S.XN)(a)),[a]),e},N=E},(e,t,a)=>{"use strict";a.d(t,{eq:()=>o.eq,Vt:()=>o.Vt,c8:()=>o.c8,_h:()=>o._h,f6:()=>o.f6,E7:()=>o.E7,je:()=>o.je,O1:()=>o.O1,Ld:()=>o.Ld,r3:()=>o.r3,eT:()=>o.eT,Z7:()=>o.Z7,xi:()=>o.xi,yM:()=>o.yM,TC:()=>o.TC,BV:()=>o.BV});var o=a(174);a(2);a(184);a(183)},(e,t,a)=>{"use strict";a.d(t,{eq:()=>Me,Vt:()=>be,c8:()=>ye,_h:()=>xe,f6:()=>ze,E7:()=>he,je:()=>Fe,O1:()=>ke,Ld:()=>Ae,r3:()=>He,Q9:()=>ue,eT:()=>ge,Z7:()=>Ie,xi:()=>Te,yM:()=>we,TC:()=>Ne,BV:()=>Le});var o=a(2),r=(a(31),a(187)),s=a(186),l=a(188);function c({children:e,isValidProp:t,...a}){t&&(0,s.K)(t),(a={...(0,o.useContext)(r._),...a}).isStatic=(0,l.h)((()=>a.isStatic));const c=(0,o.useMemo)((()=>a),[JSON.stringify(a.transition),a.transformPagePoint,a.reducedMotion]);return o.createElement(r._.Provider,{value:c},e)}var n=a(161),i=a(175);const h={colorGraph1:e=>e.colors.colorGraph1,colorGraph2:e=>e.colors.colorGraph2,colorGraph3:e=>e.colors.colorGraph3,colorGraph4:e=>e.colors.colorGraph4,colorGraph5:e=>e.colors.colorGraph5,colorGraph6:e=>e.colors.colorGraph6,colorGraph7:e=>e.colors.colorGraph7,colorGraph8:e=>e.colors.colorGraph8,colorKPI1:e=>e.colors.colorKPI1,colorKPI3:e=>e.colors.colorKPI3,colorKPI5:e=>e.colors.colorKPI5};var m=a(177);const d=(0,m.PW)(((e,t)=>{const a=L(e,t);switch(e.baseThemeName){case"dark":return{lineColor:a.n5,lineStyle:"solid",lineThickness:1};case"high-contrast":return{lineColor:a.white,lineStyle:"solid",lineThickness:2};default:return{lineColor:a.n_3,lineStyle:"solid",lineThickness:1}}})),v=(e,t)=>({fillColor:L(e,t).backgroundColor,frameBorder:!1});var p=a(165);const u=(e,t,a,o=!1,r=!1)=>{const s=(0,p.L)(e),l=(0,p.L)(t),c=z(s),n=a/100,i=z(l).value>=.5?-n:n,h=o?-i:i,m=r?{hue:s.hue,saturation:s.saturation,lightness:Math.max(0,Math.min(1,s.lightness+h))}:x({hue:c.hue,saturation:c.saturation,value:Math.max(0,Math.min(1,c.value+h))});return(0,p.xM)(m)},g=(e,t,a)=>{const o=(0,p.se)(t),r=a/100;return(0,p.CD)(r,o,e)},M=(e,t,a,o=!1)=>u(e,t,a,!0,o),z=e=>{const t=e.lightness+e.saturation*Math.min(e.lightness,1-e.lightness),a=0===t?0:2*(1-e.lightness/t);return{hue:e.hue,saturation:a,value:t}},x=e=>{const t=e.value-e.value*e.saturation/2,a=0===t||1===t?0:(e.value-t)/Math.min(t,1-t);return{hue:e.hue,saturation:a,lightness:t}},f=(e,t,a,o=!1)=>u(e,t,a,!1,o),y=(e,t,a=50)=>{const o=a/100;return(0,p.CD)(o,e,t)},C=e=>{const t=(0,p.Oq)(e),a=e=>{let t=e/255;return t<=.03928?t/=12.92:t=Math.pow((t+.055)/1.055,2.4),255*t},o=Math.round(.2126*a(t.red)+.7152*a(t.green)+.0722*a(t.blue));return(0,p.B8)({red:o,green:o,blue:o})},b=(e,t)=>{const a=e.map((e=>(0,p.mj)(e,t))),o=Math.max(...a);return e[a.indexOf(o)]},S={nodeDefault(e,t){const a=S.node1(e,t),o=(0,p.se)(a.color),r=(0,p.se)(a.altColor),s=te.rampDefault(e,t),l={color:o,fillColor:o,altColor:r,lineColor:r,textColor:a.textColor,fillPattern:"L1",fillGradientStartColor:s.fillGradientStartColor,fillGradientNeutralColor:s.fillGradientNeutralColor,fillGradientEndColor:s.fillGradientEndColor};return"dark"===e.baseThemeName?{...l,lineThickness:$(e,t).skinGlowThickness}:{...l,lineThickness:Z(e,t).lineThickness}},node1:(e,t)=>w(e,t,V.style1(e,t)),node2:(e,t)=>w(e,t,V.style2(e,t)),node3:(e,t)=>w(e,t,V.style3(e,t)),node4:(e,t)=>w(e,t,V.style4(e,t)),node5:(e,t)=>w(e,t,V.style5(e,t)),node6:(e,t)=>w(e,t,V.style6(e,t)),node7:(e,t)=>w(e,t,V.style7(e,t)),node8:(e,t)=>w(e,t,V.style8(e,t))},w=(e,t,a)=>{const o=L(e,t);switch(e.baseThemeName){case"dark":{const r=y(a.color,oe(e,t).fillColor,60);return{color:r,fillColor:r,altColor:a.altColor,lineColor:a.altColor,textColor:o.n5}}case"high-contrast":{const r=g(a.color,o.white,85);return{color:r,fillColor:r,altColor:a.altColor,lineColor:a.altColor,textColor:oe(e,t).fillColor}}default:{const r=g(a.color,oe(e,t).fillC