@secondstaxorg/sscomp 1.6.7 → 1.6.8
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/index.es.js +308 -216
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +468 -244
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +300 -208
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/types/components/DatePicker/style.d.ts +1 -0
- package/types/components/DatePicker/type.d.ts +7 -0
- package/types/components/DropdownList/style.d.ts +1 -1
- package/types/components/DropdownList/type.d.ts +7 -0
- package/types/components/MarketData/helpers.d.ts +2 -0
- package/types/components/Ribbon/style.d.ts +1 -0
- package/types/components/SSXBar/style.d.ts +1 -0
- package/types/components/SSXBar/types.d.ts +3 -2
- package/types/components/Selector/styles.d.ts +4 -0
- package/types/components/Selector/types.d.ts +28 -2
- package/types/components/TextField/style.d.ts +1 -0
package/dist/index.es.js
CHANGED
|
@@ -510,11 +510,11 @@ import*as e from"react";import t,{useState as i,useEffect as r,forwardRef as n,u
|
|
|
510
510
|
line-height: 19px;
|
|
511
511
|
margin: 0;
|
|
512
512
|
}
|
|
513
|
-
`,R="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AppModulesTable\\AppModulesTable.tsx",V=e=>{const{modules:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.moduleName<t.moduleName?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(I,{__self:void 0,__source:{fileName:R,lineNumber:61}},t.createElement(F,{__self:void 0,__source:{fileName:R,lineNumber:62}},t.createElement("thead",{__self:void 0,__source:{fileName:R,lineNumber:63}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:R,lineNumber:64}},t.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:65}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.moduleName<t.moduleName?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.moduleName<e.moduleName?-1:1)))},__self:void 0,__source:{fileName:R,lineNumber:66}},"Module Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:71}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:72}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:79}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:80}}))))),t.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:86}},"Module Code"),t.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:87}},"Remarks"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:R,lineNumber:91}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:R,lineNumber:93}},t.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:94}},e.moduleName),t.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:95}},e.moduleCode),t.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:96}},t.createElement("div",{__self:void 0,__source:{fileName:R,lineNumber:97}},e.remarks?e.remarks:"-",t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:99}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:R,lineNumber:100}}))))))))),u&&0===u.length&&A&&t.createElement(Q,{__self:void 0,__source:{fileName:R,lineNumber:110}},t.createElement(O,{__self:void 0,__source:{fileName:R,lineNumber:111}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:112}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:R,lineNumber:113}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:R,lineNumber:114}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:115}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:116}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:117}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:118}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:119}})),t.createElement("defs",{__self:void 0,__source:{fileName:R,lineNumber:121}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:R,lineNumber:122}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:R,lineNumber:123}})))),t.createElement("p",{__self:void 0,__source:{fileName:R,lineNumber:127}},"App modules will be displayed here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:R,lineNumber:132}}))},
|
|
513
|
+
`,R="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AppModulesTable\\AppModulesTable.tsx",V=e=>{const{modules:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.moduleName<t.moduleName?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(I,{__self:void 0,__source:{fileName:R,lineNumber:61}},t.createElement(F,{__self:void 0,__source:{fileName:R,lineNumber:62}},t.createElement("thead",{__self:void 0,__source:{fileName:R,lineNumber:63}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:R,lineNumber:64}},t.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:65}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.moduleName<t.moduleName?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.moduleName<e.moduleName?-1:1)))},__self:void 0,__source:{fileName:R,lineNumber:66}},"Module Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:71}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:72}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:79}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:80}}))))),t.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:86}},"Module Code"),t.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:87}},"Remarks"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:R,lineNumber:91}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:R,lineNumber:93}},t.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:94}},e.moduleName),t.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:95}},e.moduleCode),t.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:96}},t.createElement("div",{__self:void 0,__source:{fileName:R,lineNumber:97}},e.remarks?e.remarks:"-",t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:99}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:R,lineNumber:100}}))))))))),u&&0===u.length&&A&&t.createElement(Q,{__self:void 0,__source:{fileName:R,lineNumber:110}},t.createElement(O,{__self:void 0,__source:{fileName:R,lineNumber:111}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:112}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:R,lineNumber:113}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:R,lineNumber:114}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:115}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:116}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:117}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:118}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:119}})),t.createElement("defs",{__self:void 0,__source:{fileName:R,lineNumber:121}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:R,lineNumber:122}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:R,lineNumber:123}})))),t.createElement("p",{__self:void 0,__source:{fileName:R,lineNumber:127}},"App modules will be displayed here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:R,lineNumber:132}}))},Y=o.div`
|
|
514
514
|
position: relative;
|
|
515
515
|
padding: 8px 16px 40px 16px;
|
|
516
516
|
width: 440px;
|
|
517
|
-
`,
|
|
517
|
+
`,z=o.div`
|
|
518
518
|
position: absolute;
|
|
519
519
|
height: 100%;
|
|
520
520
|
border-left: 1px solid;
|
|
@@ -551,7 +551,7 @@ import*as e from"react";import t,{useState as i,useEffect as r,forwardRef as n,u
|
|
|
551
551
|
p.log-description{
|
|
552
552
|
color: ${s["neutral-900"]};
|
|
553
553
|
}
|
|
554
|
-
`,T="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AuditLog\\AuditLog.tsx",W=e=>{const{logDetails:i,variant:r,hideReference:n,hideUser:l,hideTimestamp:o}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&i.map(((e,i)=>t.createElement(
|
|
554
|
+
`,T="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AuditLog\\AuditLog.tsx",W=e=>{const{logDetails:i,variant:r,hideReference:n,hideUser:l,hideTimestamp:o}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&i.map(((e,i)=>t.createElement(Y,{key:i,__self:void 0,__source:{fileName:T,lineNumber:20}},t.createElement("div",{__self:void 0,__source:{fileName:T,lineNumber:21}},t.createElement(z,{className:"default"!==r&&r?"grey":"default",__self:void 0,__source:{fileName:T,lineNumber:22}}),t.createElement(S,{className:"default"!==r&&r?"grey":"default",__self:void 0,__source:{fileName:T,lineNumber:23}})),t.createElement(j,{__self:void 0,__source:{fileName:T,lineNumber:25}},!o&&t.createElement("p",{className:"captionBook",__self:void 0,__source:{fileName:T,lineNumber:26}},e.timestamp),!l&&t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:T,lineNumber:27}},"User: ",e.user),t.createElement("p",{className:"log-description paragraph2Medium",__self:void 0,__source:{fileName:T,lineNumber:28}},e.logDescription),e.reference&&!n&&t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:T,lineNumber:29}},"Reference: ",e.reference))))))},X=o.div`
|
|
555
555
|
display: flex;
|
|
556
556
|
flex-direction: column;
|
|
557
557
|
gap: 24px;
|
|
@@ -921,20 +921,20 @@ import*as e from"react";import t,{useState as i,useEffect as r,forwardRef as n,u
|
|
|
921
921
|
* (c) 2022 Chart.js Contributors
|
|
922
922
|
* Released under the MIT License
|
|
923
923
|
*/
|
|
924
|
-
function be(){}const Ce=function(){let e=0;return function(){return e++}}();function _e(e){return null==e}function ve(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function xe(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const Ne=e=>("number"==typeof e||e instanceof Number)&&isFinite(+e);function we(e,t){return Ne(e)?e:t}function Ee(e,t){return void 0===e?t:e}const ye=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function De(e,t,i){if(e&&"function"==typeof e.call)return e.apply(i,t)}function Be(e,t,i,r){let n,l,o;if(ve(e))if(l=e.length,r)for(n=l-1;n>=0;n--)t.call(i,e[n],n);else for(n=0;n<l;n++)t.call(i,e[n],n);else if(xe(e))for(o=Object.keys(e),l=o.length,n=0;n<l;n++)t.call(i,e[o[n]],o[n])}function Me(e,t){let i,r,n,l;if(!e||!t||e.length!==t.length)return!1;for(i=0,r=e.length;i<r;++i)if(n=e[i],l=t[i],n.datasetIndex!==l.datasetIndex||n.index!==l.index)return!1;return!0}function ke(e){if(ve(e))return e.map(ke);if(xe(e)){const t=Object.create(null),i=Object.keys(e),r=i.length;let n=0;for(;n<r;++n)t[i[n]]=ke(e[i[n]]);return t}return e}function Pe(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Le(e,t,i,r){if(!Pe(e))return;const n=t[e],l=i[e];xe(n)&&xe(l)?He(n,l,r):t[e]=ke(l)}function He(e,t,i){const r=ve(t)?t:[t],n=r.length;if(!xe(e))return e;const l=(i=i||{}).merger||Le;for(let o=0;o<n;++o){if(!xe(t=r[o]))continue;const n=Object.keys(t);for(let r=0,o=n.length;r<o;++r)l(n[r],e,t,i)}return e}function Ie(e,t){return He(e,t,{merger:Fe})}function Fe(e,t,i){if(!Pe(e))return;const r=t[e],n=i[e];xe(r)&&xe(n)?Ie(r,n):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=ke(n))}const Qe={"":e=>e,x:e=>e.x,y:e=>e.y};function Oe(e,t){const i=Qe[t]||(Qe[t]=function(e){const t=function(e){const t=e.split("."),i=[];let r="";for(const e of t)r+=e,r.endsWith("\\")?r=r.slice(0,-1)+".":(i.push(r),r="");return i}(e);return e=>{for(const i of t){if(""===i)break;e=e&&e[i]}return e}}(t));return i(e)}function Re(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ve=e=>void 0!==e,
|
|
924
|
+
function be(){}const Ce=function(){let e=0;return function(){return e++}}();function _e(e){return null==e}function ve(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function xe(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const Ne=e=>("number"==typeof e||e instanceof Number)&&isFinite(+e);function we(e,t){return Ne(e)?e:t}function Ee(e,t){return void 0===e?t:e}const ye=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function De(e,t,i){if(e&&"function"==typeof e.call)return e.apply(i,t)}function Be(e,t,i,r){let n,l,o;if(ve(e))if(l=e.length,r)for(n=l-1;n>=0;n--)t.call(i,e[n],n);else for(n=0;n<l;n++)t.call(i,e[n],n);else if(xe(e))for(o=Object.keys(e),l=o.length,n=0;n<l;n++)t.call(i,e[o[n]],o[n])}function Me(e,t){let i,r,n,l;if(!e||!t||e.length!==t.length)return!1;for(i=0,r=e.length;i<r;++i)if(n=e[i],l=t[i],n.datasetIndex!==l.datasetIndex||n.index!==l.index)return!1;return!0}function ke(e){if(ve(e))return e.map(ke);if(xe(e)){const t=Object.create(null),i=Object.keys(e),r=i.length;let n=0;for(;n<r;++n)t[i[n]]=ke(e[i[n]]);return t}return e}function Pe(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Le(e,t,i,r){if(!Pe(e))return;const n=t[e],l=i[e];xe(n)&&xe(l)?He(n,l,r):t[e]=ke(l)}function He(e,t,i){const r=ve(t)?t:[t],n=r.length;if(!xe(e))return e;const l=(i=i||{}).merger||Le;for(let o=0;o<n;++o){if(!xe(t=r[o]))continue;const n=Object.keys(t);for(let r=0,o=n.length;r<o;++r)l(n[r],e,t,i)}return e}function Ie(e,t){return He(e,t,{merger:Fe})}function Fe(e,t,i){if(!Pe(e))return;const r=t[e],n=i[e];xe(r)&&xe(n)?Ie(r,n):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=ke(n))}const Qe={"":e=>e,x:e=>e.x,y:e=>e.y};function Oe(e,t){const i=Qe[t]||(Qe[t]=function(e){const t=function(e){const t=e.split("."),i=[];let r="";for(const e of t)r+=e,r.endsWith("\\")?r=r.slice(0,-1)+".":(i.push(r),r="");return i}(e);return e=>{for(const i of t){if(""===i)break;e=e&&e[i]}return e}}(t));return i(e)}function Re(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ve=e=>void 0!==e,Ye=e=>"function"==typeof e,ze=(e,t)=>{if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0};const Se=Math.PI,je=2*Se,Te=je+Se,We=Number.POSITIVE_INFINITY,Xe=Se/180,Ze=Se/2,Ue=Se/4,Ge=2*Se/3,Ke=Math.log10,qe=Math.sign;function Je(e){const t=Math.round(e);e=et(e,t,e/1e3)?t:e;const i=Math.pow(10,Math.floor(Ke(e))),r=e/i;return(r<=1?1:r<=2?2:r<=5?5:10)*i}function $e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function et(e,t,i){return Math.abs(e-t)<i}function tt(e,t,i){let r,n,l;for(r=0,n=e.length;r<n;r++)l=e[r][i],isNaN(l)||(t.min=Math.min(t.min,l),t.max=Math.max(t.max,l))}function it(e){return e*(Se/180)}function rt(e){return e*(180/Se)}function nt(e){if(!Ne(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function lt(e,t){const i=t.x-e.x,r=t.y-e.y,n=Math.sqrt(i*i+r*r);let l=Math.atan2(r,i);return l<-.5*Se&&(l+=je),{angle:l,distance:n}}function ot(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function st(e,t){return(e-t+Te)%je-Se}function at(e){return(e%je+je)%je}function ct(e,t,i,r){const n=at(e),l=at(t),o=at(i),s=at(l-n),a=at(o-n),c=at(n-l),d=at(n-o);return n===l||n===o||r&&l===o||s>a&&c<d}function dt(e,t,i){return Math.max(t,Math.min(i,e))}function ut(e,t,i,r=1e-6){return e>=Math.min(t,i)-r&&e<=Math.max(t,i)+r}function ft(e,t,i){i=i||(i=>e[i]<t);let r,n=e.length-1,l=0;for(;n-l>1;)r=l+n>>1,i(r)?l=r:n=r;return{lo:l,hi:n}}const mt=(e,t,i,r)=>ft(e,i,r?r=>e[r][t]<=i:r=>e[r][t]<i),ht=(e,t,i)=>ft(e,i,(r=>e[r][t]>=i));const At=["push","pop","shift","splice","unshift"];function gt(e,t){const i=e._chartjs;if(!i)return;const r=i.listeners,n=r.indexOf(t);-1!==n&&r.splice(n,1),r.length>0||(At.forEach((t=>{delete e[t]})),delete e._chartjs)}function pt(e){const t=new Set;let i,r;for(i=0,r=e.length;i<r;++i)t.add(e[i]);return t.size===r?e:Array.from(t)}const bt="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function Ct(e,t,i){const r=i||(e=>Array.prototype.slice.call(e));let n=!1,l=[];return function(...i){l=r(i),n||(n=!0,bt.call(window,(()=>{n=!1,e.apply(t,l)})))}}const _t=e=>"start"===e?"left":"end"===e?"right":"center",vt=(e,t,i)=>"start"===e?t:"end"===e?i:(t+i)/2;function xt(e,t,i){const r=t.length;let n=0,l=r;if(e._sorted){const{iScale:o,_parsed:s}=e,a=o.axis,{min:c,max:d,minDefined:u,maxDefined:f}=o.getUserBounds();u&&(n=dt(Math.min(mt(s,o.axis,c).lo,i?r:mt(t,a,o.getPixelForValue(c)).lo),0,r-1)),l=f?dt(Math.max(mt(s,o.axis,d,!0).hi+1,i?0:mt(t,a,o.getPixelForValue(d),!0).hi+1),n,r)-n:r-n}return{start:n,count:l}}function Nt(e){const{xScale:t,yScale:i,_scaleRanges:r}=e,n={xmin:t.min,xmax:t.max,ymin:i.min,ymax:i.max};if(!r)return e._scaleRanges=n,!0;const l=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==i.min||r.ymax!==i.max;return Object.assign(r,n),l}const wt=e=>0===e||1===e,Et=(e,t,i)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*je/i),yt=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*je/i)+1,Dt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*Ze),easeOutSine:e=>Math.sin(e*Ze),easeInOutSine:e=>-.5*(Math.cos(Se*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>wt(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>wt(e)?e:Et(e,.075,.3),easeOutElastic:e=>wt(e)?e:yt(e,.075,.3),easeInOutElastic(e){const t=.1125;return wt(e)?e:e<.5?.5*Et(2*e,t,.45):.5+.5*yt(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-Dt.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,i=2.75;return e<1/i?t*e*e:e<2/i?t*(e-=1.5/i)*e+.75:e<2.5/i?t*(e-=2.25/i)*e+.9375:t*(e-=2.625/i)*e+.984375},easeInOutBounce:e=>e<.5?.5*Dt.easeInBounce(2*e):.5*Dt.easeOutBounce(2*e-1)+.5};
|
|
925
925
|
/*!
|
|
926
926
|
* @kurkle/color v0.2.1
|
|
927
927
|
* https://github.com/kurkle/color#readme
|
|
928
928
|
* (c) 2022 Jukka Kurkela
|
|
929
929
|
* Released under the MIT License
|
|
930
930
|
*/
|
|
931
|
-
function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);function kt(e){return Mt(Bt(2.55*e),0,255)}function Pt(e){return Mt(Bt(255*e),0,255)}function Lt(e){return Mt(Bt(e/2.55)/100,0,1)}function Ht(e){return Mt(Bt(100*e),0,100)}const It={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ft=[..."0123456789ABCDEF"],Qt=e=>Ft[15&e],Ot=e=>Ft[(240&e)>>4]+Ft[15&e],Rt=e=>(240&e)>>4==(15&e);function Vt(e){var t=(e=>Rt(e.r)&&Rt(e.g)&&Rt(e.b)&&Rt(e.a))(e)?Qt:Ot;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const zt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Yt(e,t,i){const r=t*Math.min(i,1-i),n=(t,n=(t+e/30)%12)=>i-r*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function St(e,t,i){const r=(r,n=(r+e/60)%6)=>i-i*t*Math.max(Math.min(n,4-n,1),0);return[r(5),r(3),r(1)]}function jt(e,t,i){const r=Yt(e,1,.5);let n;for(t+i>1&&(n=1/(t+i),t*=n,i*=n),n=0;n<3;n++)r[n]*=1-t-i,r[n]+=t;return r}function Tt(e){const t=e.r/255,i=e.g/255,r=e.b/255,n=Math.max(t,i,r),l=Math.min(t,i,r),o=(n+l)/2;let s,a,c;return n!==l&&(c=n-l,a=o>.5?c/(2-n-l):c/(n+l),s=function(e,t,i,r,n){return e===n?(t-i)/r+(t<i?6:0):t===n?(i-e)/r+2:(e-t)/r+4}(t,i,r,c,n),s=60*s+.5),[0|s,a||0,o]}function Wt(e,t,i,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,r)).map(Pt)}function Xt(e,t,i){return Wt(Yt,e,t,i)}function Zt(e){return(e%360+360)%360}function Ut(e){const t=zt.exec(e);let i,r=255;if(!t)return;t[5]!==i&&(r=t[6]?kt(+t[5]):Pt(+t[5]));const n=Zt(+t[2]),l=+t[3]/100,o=+t[4]/100;return i="hwb"===t[1]?function(e,t,i){return Wt(jt,e,t,i)}(n,l,o):"hsv"===t[1]?function(e,t,i){return Wt(St,e,t,i)}(n,l,o):Xt(n,l,o),{r:i[0],g:i[1],b:i[2],a:r}}const Gt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Kt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let qt;function Jt(e){qt||(qt=function(){const e={},t=Object.keys(Kt),i=Object.keys(Gt);let r,n,l,o,s;for(r=0;r<t.length;r++){for(o=s=t[r],n=0;n<i.length;n++)l=i[n],s=s.replace(l,Gt[l]);l=parseInt(Kt[o],16),e[s]=[l>>16&255,l>>8&255,255&l]}return e}(),qt.transparent=[0,0,0,0]);const t=qt[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const ei=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,ti=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ii(e,t,i){if(e){let r=Tt(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*i,0===t?360:1)),r=Xt(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function ri(e,t){return e?Object.assign(t||{},e):e}function ni(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Pt(e[3]))):(t=ri(e,{r:0,g:0,b:0,a:1})).a=Pt(t.a),t}function li(e){return"r"===e.charAt(0)?function(e){const t=$t.exec(e);let i,r,n,l=255;if(t){if(t[7]!==i){const e=+t[7];l=t[8]?kt(e):Mt(255*e,0,255)}return i=+t[1],r=+t[3],n=+t[5],i=255&(t[2]?kt(i):Mt(i,0,255)),r=255&(t[4]?kt(r):Mt(r,0,255)),n=255&(t[6]?kt(n):Mt(n,0,255)),{r:i,g:r,b:n,a:l}}}(e):Ut(e)}class oi{constructor(e){if(e instanceof oi)return e;const t=typeof e;let i;var r,n,l;"object"===t?i=ni(e):"string"===t&&(l=(r=e).length,"#"===r[0]&&(4===l||5===l?n={r:255&17*It[r[1]],g:255&17*It[r[2]],b:255&17*It[r[3]],a:5===l?17*It[r[4]]:255}:7!==l&&9!==l||(n={r:It[r[1]]<<4|It[r[2]],g:It[r[3]]<<4|It[r[4]],b:It[r[5]]<<4|It[r[6]],a:9===l?It[r[7]]<<4|It[r[8]]:255})),i=n||Jt(e)||li(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=ri(this._rgb);return e&&(e.a=Lt(e.a)),e}set rgb(e){this._rgb=ni(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Lt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?Vt(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Tt(e),i=t[0],r=Ht(t[1]),n=Ht(t[2]);return e.a<255?`hsla(${i}, ${r}%, ${n}%, ${Lt(e.a)})`:`hsl(${i}, ${r}%, ${n}%)`}(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,r=e.rgb;let n;const l=t===n?.5:t,o=2*l-1,s=i.a-r.a,a=((o*s==-1?o:(o+s)/(1+o*s))+1)/2;n=1-a,i.r=255&a*i.r+n*r.r+.5,i.g=255&a*i.g+n*r.g+.5,i.b=255&a*i.b+n*r.b+.5,i.a=l*i.a+(1-l)*r.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,i){const r=ti(Lt(e.r)),n=ti(Lt(e.g)),l=ti(Lt(e.b));return{r:Pt(ei(r+i*(ti(Lt(t.r))-r))),g:Pt(ei(n+i*(ti(Lt(t.g))-n))),b:Pt(ei(l+i*(ti(Lt(t.b))-l))),a:e.a+i*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new oi(this.rgb)}alpha(e){return this._rgb.a=Pt(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Bt(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ii(this._rgb,2,e),this}darken(e){return ii(this._rgb,2,-e),this}saturate(e){return ii(this._rgb,1,e),this}desaturate(e){return ii(this._rgb,1,-e),this}rotate(e){return function(e,t){var i=Tt(e);i[0]=Zt(i[0]+t),i=Xt(i),e.r=i[0],e.g=i[1],e.b=i[2]}(this._rgb,e),this}}function si(e){return new oi(e)}function ai(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function ci(e){return ai(e)?e:si(e)}function di(e){return ai(e)?e:si(e).saturate(.5).darken(.1).hexString()}const ui=Object.create(null),fi=Object.create(null);function mi(e,t){if(!t)return e;const i=t.split(".");for(let t=0,r=i.length;t<r;++t){const r=i[t];e=e[r]||(e[r]=Object.create(null))}return e}function hi(e,t,i){return"string"==typeof t?He(mi(e,t),i):He(mi(e,""),t)}var Ai=new class{constructor(e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>di(t.backgroundColor),this.hoverBorderColor=(e,t)=>di(t.borderColor),this.hoverColor=(e,t)=>di(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return hi(this,e,t)}get(e){return mi(this,e)}describe(e,t){return hi(fi,e,t)}override(e,t){return hi(ui,e,t)}route(e,t,i,r){const n=mi(this,e),l=mi(this,i),o="_"+t;Object.defineProperties(n,{[o]:{value:n[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[o],t=l[r];return xe(e)?Object.assign({},t,e):Ee(e,t)},set(e){this[o]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function gi(e,t,i,r,n){let l=t[n];return l||(l=t[n]=e.measureText(n).width,i.push(n)),l>r&&(r=l),r}function pi(e,t,i,r){let n=(r=r||{}).data=r.data||{},l=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(n=r.data={},l=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0;const s=i.length;let a,c,d,u,f;for(a=0;a<s;a++)if(u=i[a],null!=u&&!0!==ve(u))o=gi(e,n,l,o,u);else if(ve(u))for(c=0,d=u.length;c<d;c++)f=u[c],null==f||ve(f)||(o=gi(e,n,l,o,f));e.restore();const m=l.length/2;if(m>i.length){for(a=0;a<m;a++)delete n[l[a]];l.splice(0,m)}return o}function bi(e,t,i){const r=e.currentDevicePixelRatio,n=0!==i?Math.max(i/2,.5):0;return Math.round((t-n)*r)/r+n}function Ci(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function _i(e,t,i,r){vi(e,t,i,r,null)}function vi(e,t,i,r,n){let l,o,s,a,c,d;const u=t.pointStyle,f=t.rotation,m=t.radius;let h=(f||0)*Xe;if(u&&"object"==typeof u&&(l=u.toString(),"[object HTMLImageElement]"===l||"[object HTMLCanvasElement]"===l))return e.save(),e.translate(i,r),e.rotate(h),e.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),void e.restore();if(!(isNaN(m)||m<=0)){switch(e.beginPath(),u){default:n?e.ellipse(i,r,n/2,m,0,0,je):e.arc(i,r,m,0,je),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(h)*m,r-Math.cos(h)*m),h+=Ge,e.lineTo(i+Math.sin(h)*m,r-Math.cos(h)*m),h+=Ge,e.lineTo(i+Math.sin(h)*m,r-Math.cos(h)*m),e.closePath();break;case"rectRounded":c=.516*m,a=m-c,o=Math.cos(h+Ue)*a,s=Math.sin(h+Ue)*a,e.arc(i-o,r-s,c,h-Se,h-Ze),e.arc(i+s,r-o,c,h-Ze,h),e.arc(i+o,r+s,c,h,h+Ze),e.arc(i-s,r+o,c,h+Ze,h+Se),e.closePath();break;case"rect":if(!f){a=Math.SQRT1_2*m,d=n?n/2:a,e.rect(i-d,r-a,2*d,2*a);break}h+=Ue;case"rectRot":o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+s,r-o),e.lineTo(i+o,r+s),e.lineTo(i-s,r+o),e.closePath();break;case"crossRot":h+=Ue;case"cross":o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s),e.moveTo(i+s,r-o),e.lineTo(i-s,r+o);break;case"star":o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s),e.moveTo(i+s,r-o),e.lineTo(i-s,r+o),h+=Ue,o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s),e.moveTo(i+s,r-o),e.lineTo(i-s,r+o);break;case"line":o=n?n/2:Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(h)*m,r+Math.sin(h)*m)}e.fill(),t.borderWidth>0&&e.stroke()}}function xi(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function Ni(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function wi(e){e.restore()}function Ei(e,t,i,r,n){if(!t)return e.lineTo(i.x,i.y);if("middle"===n){const r=(t.x+i.x)/2;e.lineTo(r,t.y),e.lineTo(r,i.y)}else"after"===n!=!!r?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}function yi(e,t,i,r){if(!t)return e.lineTo(i.x,i.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?i.cp2x:i.cp1x,r?i.cp2y:i.cp1y,i.x,i.y)}function Di(e,t,i,r,n,l={}){const o=ve(t)?t:[t],s=l.strokeWidth>0&&""!==l.strokeColor;let a,c;for(e.save(),e.font=n.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]);_e(t.rotation)||e.rotate(t.rotation);t.color&&(e.fillStyle=t.color);t.textAlign&&(e.textAlign=t.textAlign);t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,l),a=0;a<o.length;++a)c=o[a],s&&(l.strokeColor&&(e.strokeStyle=l.strokeColor),_e(l.strokeWidth)||(e.lineWidth=l.strokeWidth),e.strokeText(c,i,r,l.maxWidth)),e.fillText(c,i,r,l.maxWidth),Bi(e,i,r,c,l),r+=n.lineHeight;e.restore()}function Bi(e,t,i,r,n){if(n.strikethrough||n.underline){const l=e.measureText(r),o=t-l.actualBoundingBoxLeft,s=t+l.actualBoundingBoxRight,a=i-l.actualBoundingBoxAscent,c=i+l.actualBoundingBoxDescent,d=n.strikethrough?(a+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=n.decorationWidth||2,e.moveTo(o,d),e.lineTo(s,d),e.stroke()}}function Mi(e,t){const{x:i,y:r,w:n,h:l,radius:o}=t;e.arc(i+o.topLeft,r+o.topLeft,o.topLeft,-Ze,Se,!0),e.lineTo(i,r+l-o.bottomLeft),e.arc(i+o.bottomLeft,r+l-o.bottomLeft,o.bottomLeft,Se,Ze,!0),e.lineTo(i+n-o.bottomRight,r+l),e.arc(i+n-o.bottomRight,r+l-o.bottomRight,o.bottomRight,Ze,0,!0),e.lineTo(i+n,r+o.topRight),e.arc(i+n-o.topRight,r+o.topRight,o.topRight,0,-Ze,!0),e.lineTo(i+o.topLeft,r)}const ki=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Pi=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Li(e,t){const i=(""+e).match(ki);if(!i||"normal"===i[1])return 1.2*t;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100}return t*e}const Hi=e=>+e||0;function Ii(e,t){const i={},r=xe(t),n=r?Object.keys(t):t,l=xe(e)?r?i=>Ee(e[i],e[t[i]]):t=>e[t]:()=>e;for(const e of n)i[e]=Hi(l(e));return i}function Fi(e){return Ii(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Qi(e){return Ii(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Oi(e){const t=Fi(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Ri(e,t){e=e||{},t=t||Ai.font;let i=Ee(e.size,t.size);"string"==typeof i&&(i=parseInt(i,10));let r=Ee(e.style,t.style);r&&!(""+r).match(Pi)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const n={family:Ee(e.family,t.family),lineHeight:Li(Ee(e.lineHeight,t.lineHeight),i),size:i,style:r,weight:Ee(e.weight,t.weight),string:""};return n.string=function(e){return!e||_e(e.size)||_e(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(n),n}function Vi(e,t,i,r){let n,l,o,s=!0;for(n=0,l=e.length;n<l;++n)if(o=e[n],void 0!==o&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==i&&ve(o)&&(o=o[i%o.length],s=!1),void 0!==o))return r&&!s&&(r.cacheable=!1),o}function zi(e,t){return Object.assign(Object.create(e),t)}function Yi(e,t=[""],i=e,r,n=(()=>e[0])){Ve(r)||(r=Ji("_fallback",e));const l={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:n,override:n=>Yi([n,...e],t,i,r)};return new Proxy(l,{deleteProperty:(t,i)=>(delete t[i],delete t._keys,delete e[0][i],!0),get:(i,r)=>Xi(i,r,(()=>function(e,t,i,r){let n;for(const l of t)if(n=Ji(Ti(l,e),i),Ve(n))return Wi(e,n)?Ki(i,r,e,n):n}(r,t,e,i))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>$i(e).includes(t),ownKeys:e=>$i(e),set(e,t,i){const r=e._storage||(e._storage=n());return e[t]=r[t]=i,delete e._keys,!0}})}function Si(e,t,i,r){const n={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:ji(e,r),setContext:t=>Si(e,t,i,r),override:n=>Si(e.override(n),t,i,r)};return new Proxy(n,{deleteProperty:(t,i)=>(delete t[i],delete e[i],!0),get:(e,t,i)=>Xi(e,t,(()=>function(e,t,i){const{_proxy:r,_context:n,_subProxy:l,_descriptors:o}=e;let s=r[t];ze(s)&&o.isScriptable(t)&&(s=function(e,t,i,r){const{_proxy:n,_context:l,_subProxy:o,_stack:s}=i;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),t=t(l,o||r),s.delete(e),Wi(e,t)&&(t=Ki(n._scopes,n,e,t));return t}(t,s,e,i));ve(s)&&s.length&&(s=function(e,t,i,r){const{_proxy:n,_context:l,_subProxy:o,_descriptors:s}=i;if(Ve(l.index)&&r(e))t=t[l.index%t.length];else if(xe(t[0])){const i=t,r=n._scopes.filter((e=>e!==i));t=[];for(const a of i){const i=Ki(r,n,e,a);t.push(Si(i,l,o&&o[e],s))}}return t}(t,s,e,o.isIndexable));Wi(t,s)&&(s=Si(s,n,l&&l[t],o));return s}(e,t,i))),getOwnPropertyDescriptor:(t,i)=>t._descriptors.allKeys?Reflect.has(e,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,i),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,i)=>Reflect.has(e,i),ownKeys:()=>Reflect.ownKeys(e),set:(t,i,r)=>(e[i]=r,delete t[i],!0)})}function ji(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:r=t.indexable,_allKeys:n=t.allKeys}=e;return{allKeys:n,scriptable:i,indexable:r,isScriptable:ze(i)?i:()=>i,isIndexable:ze(r)?r:()=>r}}const Ti=(e,t)=>e?e+Re(t):t,Wi=(e,t)=>xe(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Xi(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=i();return e[t]=r,r}function Zi(e,t,i){return ze(e)?e(t,i):e}const Ui=(e,t)=>!0===e?t:"string"==typeof e?Oe(t,e):void 0;function Gi(e,t,i,r,n){for(const l of t){const t=Ui(i,l);if(t){e.add(t);const l=Zi(t._fallback,i,n);if(Ve(l)&&l!==i&&l!==r)return l}else if(!1===t&&Ve(r)&&i!==r)return null}return!1}function Ki(e,t,i,r){const n=t._rootScopes,l=Zi(t._fallback,i,r),o=[...e,...n],s=new Set;s.add(r);let a=qi(s,o,i,l||i,r);return null!==a&&((!Ve(l)||l===i||(a=qi(s,o,l,a,r),null!==a))&&Yi(Array.from(s),[""],n,l,(()=>function(e,t,i){const r=e._getTarget();t in r||(r[t]={});const n=r[t];if(ve(n)&&xe(i))return i;return n}(t,i,r))))}function qi(e,t,i,r,n){for(;i;)i=Gi(e,t,i,r,n);return i}function Ji(e,t){for(const i of t){if(!i)continue;const t=i[e];if(Ve(t))return t}}function $i(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const i of e)for(const e of Object.keys(i).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function er(e,t,i,r){const{iScale:n}=e,{key:l="r"}=this._parsing,o=new Array(r);let s,a,c,d;for(s=0,a=r;s<a;++s)c=s+i,d=t[c],o[s]={r:n.parse(Oe(d,l),c)};return o}const tr=Number.EPSILON||1e-14,ir=(e,t)=>t<e.length&&!e[t].skip&&e[t],rr=e=>"x"===e?"y":"x";function nr(e,t,i,r){const n=e.skip?t:e,l=t,o=i.skip?t:i,s=ot(l,n),a=ot(o,l);let c=s/(s+a),d=a/(s+a);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=r*c,f=r*d;return{previous:{x:l.x-u*(o.x-n.x),y:l.y-u*(o.y-n.y)},next:{x:l.x+f*(o.x-n.x),y:l.y+f*(o.y-n.y)}}}function lr(e,t="x"){const i=rr(t),r=e.length,n=Array(r).fill(0),l=Array(r);let o,s,a,c=ir(e,0);for(o=0;o<r;++o)if(s=a,a=c,c=ir(e,o+1),a){if(c){const e=c[t]-a[t];n[o]=0!==e?(c[i]-a[i])/e:0}l[o]=s?c?qe(n[o-1])!==qe(n[o])?0:(n[o-1]+n[o])/2:n[o-1]:n[o]}!function(e,t,i){const r=e.length;let n,l,o,s,a,c=ir(e,0);for(let d=0;d<r-1;++d)a=c,c=ir(e,d+1),a&&c&&(et(t[d],0,tr)?i[d]=i[d+1]=0:(n=i[d]/t[d],l=i[d+1]/t[d],s=Math.pow(n,2)+Math.pow(l,2),s<=9||(o=3/Math.sqrt(s),i[d]=n*o*t[d],i[d+1]=l*o*t[d])))}(e,n,l),function(e,t,i="x"){const r=rr(i),n=e.length;let l,o,s,a=ir(e,0);for(let c=0;c<n;++c){if(o=s,s=a,a=ir(e,c+1),!s)continue;const n=s[i],d=s[r];o&&(l=(n-o[i])/3,s[`cp1${i}`]=n-l,s[`cp1${r}`]=d-l*t[c]),a&&(l=(a[i]-n)/3,s[`cp2${i}`]=n+l,s[`cp2${r}`]=d+l*t[c])}}(e,l,t)}function or(e,t,i){return Math.max(Math.min(e,i),t)}function sr(e,t,i,r,n){let l,o,s,a;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)lr(e,n);else{let i=r?e[e.length-1]:e[0];for(l=0,o=e.length;l<o;++l)s=e[l],a=nr(i,s,e[Math.min(l+1,o-(r?0:1))%o],t.tension),s.cp1x=a.previous.x,s.cp1y=a.previous.y,s.cp2x=a.next.x,s.cp2y=a.next.y,i=s}t.capBezierPoints&&function(e,t){let i,r,n,l,o,s=xi(e[0],t);for(i=0,r=e.length;i<r;++i)o=l,l=s,s=i<r-1&&xi(e[i+1],t),l&&(n=e[i],o&&(n.cp1x=or(n.cp1x,t.left,t.right),n.cp1y=or(n.cp1y,t.top,t.bottom)),s&&(n.cp2x=or(n.cp2x,t.left,t.right),n.cp2y=or(n.cp2y,t.top,t.bottom)))}(e,i)}function ar(){return"undefined"!=typeof window&&"undefined"!=typeof document}function cr(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function dr(e,t,i){let r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[i])):r=e,r}const ur=e=>window.getComputedStyle(e,null);const fr=["top","right","bottom","left"];function mr(e,t,i){const r={};i=i?"-"+i:"";for(let n=0;n<4;n++){const l=fr[n];r[l]=parseFloat(e[t+"-"+l+i])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const hr=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function Ar(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:r}=t,n=ur(i),l="border-box"===n.boxSizing,o=mr(n,"padding"),s=mr(n,"border","width"),{x:a,y:c,box:d}=function(e,t){const i=e.touches,r=i&&i.length?i[0]:e,{offsetX:n,offsetY:l}=r;let o,s,a=!1;if(hr(n,l,e.target))o=n,s=l;else{const e=t.getBoundingClientRect();o=r.clientX-e.left,s=r.clientY-e.top,a=!0}return{x:o,y:s,box:a}}(e,i),u=o.left+(d&&s.left),f=o.top+(d&&s.top);let{width:m,height:h}=t;return l&&(m-=o.width+s.width,h-=o.height+s.height),{x:Math.round((a-u)/m*i.width/r),y:Math.round((c-f)/h*i.height/r)}}const gr=e=>Math.round(10*e)/10;function pr(e,t,i,r){const n=ur(e),l=mr(n,"margin"),o=dr(n.maxWidth,e,"clientWidth")||We,s=dr(n.maxHeight,e,"clientHeight")||We,a=function(e,t,i){let r,n;if(void 0===t||void 0===i){const l=cr(e);if(l){const e=l.getBoundingClientRect(),o=ur(l),s=mr(o,"border","width"),a=mr(o,"padding");t=e.width-a.width-s.width,i=e.height-a.height-s.height,r=dr(o.maxWidth,l,"clientWidth"),n=dr(o.maxHeight,l,"clientHeight")}else t=e.clientWidth,i=e.clientHeight}return{width:t,height:i,maxWidth:r||We,maxHeight:n||We}}(e,t,i);let{width:c,height:d}=a;if("content-box"===n.boxSizing){const e=mr(n,"border","width"),t=mr(n,"padding");c-=t.width+e.width,d-=t.height+e.height}return c=Math.max(0,c-l.width),d=Math.max(0,r?Math.floor(c/r):d-l.height),c=gr(Math.min(c,o,a.maxWidth)),d=gr(Math.min(d,s,a.maxHeight)),c&&!d&&(d=gr(c/2)),{width:c,height:d}}function br(e,t,i){const r=t||1,n=Math.floor(e.height*r),l=Math.floor(e.width*r);e.height=n/r,e.width=l/r;const o=e.canvas;return o.style&&(i||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||o.height!==n||o.width!==l)&&(e.currentDevicePixelRatio=r,o.height=n,o.width=l,e.ctx.setTransform(r,0,0,r,0,0),!0)}const Cr=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function _r(e,t){const i=function(e,t){return ur(e).getPropertyValue(t)}(e,t),r=i&&i.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function vr(e,t,i,r){return{x:e.x+i*(t.x-e.x),y:e.y+i*(t.y-e.y)}}function xr(e,t,i,r){return{x:e.x+i*(t.x-e.x),y:"middle"===r?i<.5?e.y:t.y:"after"===r?i<1?e.y:t.y:i>0?t.y:e.y}}function Nr(e,t,i,r){const n={x:e.cp2x,y:e.cp2y},l={x:t.cp1x,y:t.cp1y},o=vr(e,n,i),s=vr(n,l,i),a=vr(l,t,i),c=vr(o,s,i),d=vr(s,a,i);return vr(c,d,i)}const wr=new Map;function Er(e,t,i){return function(e,t){t=t||{};const i=e+JSON.stringify(t);let r=wr.get(i);return r||(r=new Intl.NumberFormat(e,t),wr.set(i,r)),r}(t,i).format(e)}function yr(e,t,i){return e?function(e,t){return{x:i=>e+e+t-i,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,i):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Dr(e,t){let i,r;"ltr"!==t&&"rtl"!==t||(i=e.canvas.style,r=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=r)}function Br(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Mr(e){return"angle"===e?{between:ct,compare:st,normalize:at}:{between:ut,compare:(e,t)=>e-t,normalize:e=>e}}function kr({start:e,end:t,count:i,loop:r,style:n}){return{start:e%i,end:t%i,loop:r&&(t-e+1)%i==0,style:n}}function Pr(e,t,i){if(!i)return[e];const{property:r,start:n,end:l}=i,o=t.length,{compare:s,between:a,normalize:c}=Mr(r),{start:d,end:u,loop:f,style:m}=function(e,t,i){const{property:r,start:n,end:l}=i,{between:o,normalize:s}=Mr(r),a=t.length;let c,d,{start:u,end:f,loop:m}=e;if(m){for(u+=a,f+=a,c=0,d=a;c<d&&o(s(t[u%a][r]),n,l);++c)u--,f--;u%=a,f%=a}return f<u&&(f+=a),{start:u,end:f,loop:m,style:e.style}}(e,t,i),h=[];let A,g,p,b=!1,C=null;const _=()=>b||a(n,p,A)&&0!==s(n,p),v=()=>!b||0===s(l,A)||a(l,p,A);for(let e=d,i=d;e<=u;++e)g=t[e%o],g.skip||(A=c(g[r]),A!==p&&(b=a(A,n,l),null===C&&_()&&(C=0===s(A,n)?e:i),null!==C&&v()&&(h.push(kr({start:C,end:e,loop:f,count:o,style:m})),C=null),i=e,p=A));return null!==C&&h.push(kr({start:C,end:u,loop:f,count:o,style:m})),h}function Lr(e,t){const i=[],r=e.segments;for(let n=0;n<r.length;n++){const l=Pr(r[n],e.points,t);l.length&&i.push(...l)}return i}function Hr(e,t,i,r){return r&&r.setContext&&i?function(e,t,i,r){const n=e._chart.getContext(),l=Ir(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,a=i.length,c=[];let d=l,u=t[0].start,f=u;function m(e,t,r,n){const l=s?-1:1;if(e!==t){for(e+=a;i[e%a].skip;)e-=l;for(;i[t%a].skip;)t+=l;e%a!=t%a&&(c.push({start:e%a,end:t%a,loop:r,style:n}),d=n,u=t%a)}}for(const e of t){u=s?u:e.start;let t,l=i[u%a];for(f=u+1;f<=e.end;f++){const s=i[f%a];t=Ir(r.setContext(zi(n,{type:"segment",p0:l,p1:s,p0DataIndex:(f-1)%a,p1DataIndex:f%a,datasetIndex:o}))),Fr(t,d)&&m(u,f-1,e.loop,d),l=s,d=t}u<f-1&&m(u,f-1,e.loop,d)}return c}(e,t,i,r):t}function Ir(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Fr(e,t){return t&&JSON.stringify(e)!==JSON.stringify(t)}
|
|
931
|
+
function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);function kt(e){return Mt(Bt(2.55*e),0,255)}function Pt(e){return Mt(Bt(255*e),0,255)}function Lt(e){return Mt(Bt(e/2.55)/100,0,1)}function Ht(e){return Mt(Bt(100*e),0,100)}const It={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ft=[..."0123456789ABCDEF"],Qt=e=>Ft[15&e],Ot=e=>Ft[(240&e)>>4]+Ft[15&e],Rt=e=>(240&e)>>4==(15&e);function Vt(e){var t=(e=>Rt(e.r)&&Rt(e.g)&&Rt(e.b)&&Rt(e.a))(e)?Qt:Ot;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const Yt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function zt(e,t,i){const r=t*Math.min(i,1-i),n=(t,n=(t+e/30)%12)=>i-r*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function St(e,t,i){const r=(r,n=(r+e/60)%6)=>i-i*t*Math.max(Math.min(n,4-n,1),0);return[r(5),r(3),r(1)]}function jt(e,t,i){const r=zt(e,1,.5);let n;for(t+i>1&&(n=1/(t+i),t*=n,i*=n),n=0;n<3;n++)r[n]*=1-t-i,r[n]+=t;return r}function Tt(e){const t=e.r/255,i=e.g/255,r=e.b/255,n=Math.max(t,i,r),l=Math.min(t,i,r),o=(n+l)/2;let s,a,c;return n!==l&&(c=n-l,a=o>.5?c/(2-n-l):c/(n+l),s=function(e,t,i,r,n){return e===n?(t-i)/r+(t<i?6:0):t===n?(i-e)/r+2:(e-t)/r+4}(t,i,r,c,n),s=60*s+.5),[0|s,a||0,o]}function Wt(e,t,i,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,r)).map(Pt)}function Xt(e,t,i){return Wt(zt,e,t,i)}function Zt(e){return(e%360+360)%360}function Ut(e){const t=Yt.exec(e);let i,r=255;if(!t)return;t[5]!==i&&(r=t[6]?kt(+t[5]):Pt(+t[5]));const n=Zt(+t[2]),l=+t[3]/100,o=+t[4]/100;return i="hwb"===t[1]?function(e,t,i){return Wt(jt,e,t,i)}(n,l,o):"hsv"===t[1]?function(e,t,i){return Wt(St,e,t,i)}(n,l,o):Xt(n,l,o),{r:i[0],g:i[1],b:i[2],a:r}}const Gt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Kt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let qt;function Jt(e){qt||(qt=function(){const e={},t=Object.keys(Kt),i=Object.keys(Gt);let r,n,l,o,s;for(r=0;r<t.length;r++){for(o=s=t[r],n=0;n<i.length;n++)l=i[n],s=s.replace(l,Gt[l]);l=parseInt(Kt[o],16),e[s]=[l>>16&255,l>>8&255,255&l]}return e}(),qt.transparent=[0,0,0,0]);const t=qt[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const ei=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,ti=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ii(e,t,i){if(e){let r=Tt(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*i,0===t?360:1)),r=Xt(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function ri(e,t){return e?Object.assign(t||{},e):e}function ni(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Pt(e[3]))):(t=ri(e,{r:0,g:0,b:0,a:1})).a=Pt(t.a),t}function li(e){return"r"===e.charAt(0)?function(e){const t=$t.exec(e);let i,r,n,l=255;if(t){if(t[7]!==i){const e=+t[7];l=t[8]?kt(e):Mt(255*e,0,255)}return i=+t[1],r=+t[3],n=+t[5],i=255&(t[2]?kt(i):Mt(i,0,255)),r=255&(t[4]?kt(r):Mt(r,0,255)),n=255&(t[6]?kt(n):Mt(n,0,255)),{r:i,g:r,b:n,a:l}}}(e):Ut(e)}class oi{constructor(e){if(e instanceof oi)return e;const t=typeof e;let i;var r,n,l;"object"===t?i=ni(e):"string"===t&&(l=(r=e).length,"#"===r[0]&&(4===l||5===l?n={r:255&17*It[r[1]],g:255&17*It[r[2]],b:255&17*It[r[3]],a:5===l?17*It[r[4]]:255}:7!==l&&9!==l||(n={r:It[r[1]]<<4|It[r[2]],g:It[r[3]]<<4|It[r[4]],b:It[r[5]]<<4|It[r[6]],a:9===l?It[r[7]]<<4|It[r[8]]:255})),i=n||Jt(e)||li(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=ri(this._rgb);return e&&(e.a=Lt(e.a)),e}set rgb(e){this._rgb=ni(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Lt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?Vt(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Tt(e),i=t[0],r=Ht(t[1]),n=Ht(t[2]);return e.a<255?`hsla(${i}, ${r}%, ${n}%, ${Lt(e.a)})`:`hsl(${i}, ${r}%, ${n}%)`}(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,r=e.rgb;let n;const l=t===n?.5:t,o=2*l-1,s=i.a-r.a,a=((o*s==-1?o:(o+s)/(1+o*s))+1)/2;n=1-a,i.r=255&a*i.r+n*r.r+.5,i.g=255&a*i.g+n*r.g+.5,i.b=255&a*i.b+n*r.b+.5,i.a=l*i.a+(1-l)*r.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,i){const r=ti(Lt(e.r)),n=ti(Lt(e.g)),l=ti(Lt(e.b));return{r:Pt(ei(r+i*(ti(Lt(t.r))-r))),g:Pt(ei(n+i*(ti(Lt(t.g))-n))),b:Pt(ei(l+i*(ti(Lt(t.b))-l))),a:e.a+i*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new oi(this.rgb)}alpha(e){return this._rgb.a=Pt(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Bt(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ii(this._rgb,2,e),this}darken(e){return ii(this._rgb,2,-e),this}saturate(e){return ii(this._rgb,1,e),this}desaturate(e){return ii(this._rgb,1,-e),this}rotate(e){return function(e,t){var i=Tt(e);i[0]=Zt(i[0]+t),i=Xt(i),e.r=i[0],e.g=i[1],e.b=i[2]}(this._rgb,e),this}}function si(e){return new oi(e)}function ai(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function ci(e){return ai(e)?e:si(e)}function di(e){return ai(e)?e:si(e).saturate(.5).darken(.1).hexString()}const ui=Object.create(null),fi=Object.create(null);function mi(e,t){if(!t)return e;const i=t.split(".");for(let t=0,r=i.length;t<r;++t){const r=i[t];e=e[r]||(e[r]=Object.create(null))}return e}function hi(e,t,i){return"string"==typeof t?He(mi(e,t),i):He(mi(e,""),t)}var Ai=new class{constructor(e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>di(t.backgroundColor),this.hoverBorderColor=(e,t)=>di(t.borderColor),this.hoverColor=(e,t)=>di(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return hi(this,e,t)}get(e){return mi(this,e)}describe(e,t){return hi(fi,e,t)}override(e,t){return hi(ui,e,t)}route(e,t,i,r){const n=mi(this,e),l=mi(this,i),o="_"+t;Object.defineProperties(n,{[o]:{value:n[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[o],t=l[r];return xe(e)?Object.assign({},t,e):Ee(e,t)},set(e){this[o]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function gi(e,t,i,r,n){let l=t[n];return l||(l=t[n]=e.measureText(n).width,i.push(n)),l>r&&(r=l),r}function pi(e,t,i,r){let n=(r=r||{}).data=r.data||{},l=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(n=r.data={},l=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0;const s=i.length;let a,c,d,u,f;for(a=0;a<s;a++)if(u=i[a],null!=u&&!0!==ve(u))o=gi(e,n,l,o,u);else if(ve(u))for(c=0,d=u.length;c<d;c++)f=u[c],null==f||ve(f)||(o=gi(e,n,l,o,f));e.restore();const m=l.length/2;if(m>i.length){for(a=0;a<m;a++)delete n[l[a]];l.splice(0,m)}return o}function bi(e,t,i){const r=e.currentDevicePixelRatio,n=0!==i?Math.max(i/2,.5):0;return Math.round((t-n)*r)/r+n}function Ci(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function _i(e,t,i,r){vi(e,t,i,r,null)}function vi(e,t,i,r,n){let l,o,s,a,c,d;const u=t.pointStyle,f=t.rotation,m=t.radius;let h=(f||0)*Xe;if(u&&"object"==typeof u&&(l=u.toString(),"[object HTMLImageElement]"===l||"[object HTMLCanvasElement]"===l))return e.save(),e.translate(i,r),e.rotate(h),e.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),void e.restore();if(!(isNaN(m)||m<=0)){switch(e.beginPath(),u){default:n?e.ellipse(i,r,n/2,m,0,0,je):e.arc(i,r,m,0,je),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(h)*m,r-Math.cos(h)*m),h+=Ge,e.lineTo(i+Math.sin(h)*m,r-Math.cos(h)*m),h+=Ge,e.lineTo(i+Math.sin(h)*m,r-Math.cos(h)*m),e.closePath();break;case"rectRounded":c=.516*m,a=m-c,o=Math.cos(h+Ue)*a,s=Math.sin(h+Ue)*a,e.arc(i-o,r-s,c,h-Se,h-Ze),e.arc(i+s,r-o,c,h-Ze,h),e.arc(i+o,r+s,c,h,h+Ze),e.arc(i-s,r+o,c,h+Ze,h+Se),e.closePath();break;case"rect":if(!f){a=Math.SQRT1_2*m,d=n?n/2:a,e.rect(i-d,r-a,2*d,2*a);break}h+=Ue;case"rectRot":o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+s,r-o),e.lineTo(i+o,r+s),e.lineTo(i-s,r+o),e.closePath();break;case"crossRot":h+=Ue;case"cross":o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s),e.moveTo(i+s,r-o),e.lineTo(i-s,r+o);break;case"star":o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s),e.moveTo(i+s,r-o),e.lineTo(i-s,r+o),h+=Ue,o=Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s),e.moveTo(i+s,r-o),e.lineTo(i-s,r+o);break;case"line":o=n?n/2:Math.cos(h)*m,s=Math.sin(h)*m,e.moveTo(i-o,r-s),e.lineTo(i+o,r+s);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(h)*m,r+Math.sin(h)*m)}e.fill(),t.borderWidth>0&&e.stroke()}}function xi(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function Ni(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function wi(e){e.restore()}function Ei(e,t,i,r,n){if(!t)return e.lineTo(i.x,i.y);if("middle"===n){const r=(t.x+i.x)/2;e.lineTo(r,t.y),e.lineTo(r,i.y)}else"after"===n!=!!r?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}function yi(e,t,i,r){if(!t)return e.lineTo(i.x,i.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?i.cp2x:i.cp1x,r?i.cp2y:i.cp1y,i.x,i.y)}function Di(e,t,i,r,n,l={}){const o=ve(t)?t:[t],s=l.strokeWidth>0&&""!==l.strokeColor;let a,c;for(e.save(),e.font=n.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]);_e(t.rotation)||e.rotate(t.rotation);t.color&&(e.fillStyle=t.color);t.textAlign&&(e.textAlign=t.textAlign);t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,l),a=0;a<o.length;++a)c=o[a],s&&(l.strokeColor&&(e.strokeStyle=l.strokeColor),_e(l.strokeWidth)||(e.lineWidth=l.strokeWidth),e.strokeText(c,i,r,l.maxWidth)),e.fillText(c,i,r,l.maxWidth),Bi(e,i,r,c,l),r+=n.lineHeight;e.restore()}function Bi(e,t,i,r,n){if(n.strikethrough||n.underline){const l=e.measureText(r),o=t-l.actualBoundingBoxLeft,s=t+l.actualBoundingBoxRight,a=i-l.actualBoundingBoxAscent,c=i+l.actualBoundingBoxDescent,d=n.strikethrough?(a+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=n.decorationWidth||2,e.moveTo(o,d),e.lineTo(s,d),e.stroke()}}function Mi(e,t){const{x:i,y:r,w:n,h:l,radius:o}=t;e.arc(i+o.topLeft,r+o.topLeft,o.topLeft,-Ze,Se,!0),e.lineTo(i,r+l-o.bottomLeft),e.arc(i+o.bottomLeft,r+l-o.bottomLeft,o.bottomLeft,Se,Ze,!0),e.lineTo(i+n-o.bottomRight,r+l),e.arc(i+n-o.bottomRight,r+l-o.bottomRight,o.bottomRight,Ze,0,!0),e.lineTo(i+n,r+o.topRight),e.arc(i+n-o.topRight,r+o.topRight,o.topRight,0,-Ze,!0),e.lineTo(i+o.topLeft,r)}const ki=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Pi=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Li(e,t){const i=(""+e).match(ki);if(!i||"normal"===i[1])return 1.2*t;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100}return t*e}const Hi=e=>+e||0;function Ii(e,t){const i={},r=xe(t),n=r?Object.keys(t):t,l=xe(e)?r?i=>Ee(e[i],e[t[i]]):t=>e[t]:()=>e;for(const e of n)i[e]=Hi(l(e));return i}function Fi(e){return Ii(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Qi(e){return Ii(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Oi(e){const t=Fi(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Ri(e,t){e=e||{},t=t||Ai.font;let i=Ee(e.size,t.size);"string"==typeof i&&(i=parseInt(i,10));let r=Ee(e.style,t.style);r&&!(""+r).match(Pi)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const n={family:Ee(e.family,t.family),lineHeight:Li(Ee(e.lineHeight,t.lineHeight),i),size:i,style:r,weight:Ee(e.weight,t.weight),string:""};return n.string=function(e){return!e||_e(e.size)||_e(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(n),n}function Vi(e,t,i,r){let n,l,o,s=!0;for(n=0,l=e.length;n<l;++n)if(o=e[n],void 0!==o&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==i&&ve(o)&&(o=o[i%o.length],s=!1),void 0!==o))return r&&!s&&(r.cacheable=!1),o}function Yi(e,t){return Object.assign(Object.create(e),t)}function zi(e,t=[""],i=e,r,n=(()=>e[0])){Ve(r)||(r=Ji("_fallback",e));const l={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:n,override:n=>zi([n,...e],t,i,r)};return new Proxy(l,{deleteProperty:(t,i)=>(delete t[i],delete t._keys,delete e[0][i],!0),get:(i,r)=>Xi(i,r,(()=>function(e,t,i,r){let n;for(const l of t)if(n=Ji(Ti(l,e),i),Ve(n))return Wi(e,n)?Ki(i,r,e,n):n}(r,t,e,i))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>$i(e).includes(t),ownKeys:e=>$i(e),set(e,t,i){const r=e._storage||(e._storage=n());return e[t]=r[t]=i,delete e._keys,!0}})}function Si(e,t,i,r){const n={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:ji(e,r),setContext:t=>Si(e,t,i,r),override:n=>Si(e.override(n),t,i,r)};return new Proxy(n,{deleteProperty:(t,i)=>(delete t[i],delete e[i],!0),get:(e,t,i)=>Xi(e,t,(()=>function(e,t,i){const{_proxy:r,_context:n,_subProxy:l,_descriptors:o}=e;let s=r[t];Ye(s)&&o.isScriptable(t)&&(s=function(e,t,i,r){const{_proxy:n,_context:l,_subProxy:o,_stack:s}=i;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),t=t(l,o||r),s.delete(e),Wi(e,t)&&(t=Ki(n._scopes,n,e,t));return t}(t,s,e,i));ve(s)&&s.length&&(s=function(e,t,i,r){const{_proxy:n,_context:l,_subProxy:o,_descriptors:s}=i;if(Ve(l.index)&&r(e))t=t[l.index%t.length];else if(xe(t[0])){const i=t,r=n._scopes.filter((e=>e!==i));t=[];for(const a of i){const i=Ki(r,n,e,a);t.push(Si(i,l,o&&o[e],s))}}return t}(t,s,e,o.isIndexable));Wi(t,s)&&(s=Si(s,n,l&&l[t],o));return s}(e,t,i))),getOwnPropertyDescriptor:(t,i)=>t._descriptors.allKeys?Reflect.has(e,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,i),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,i)=>Reflect.has(e,i),ownKeys:()=>Reflect.ownKeys(e),set:(t,i,r)=>(e[i]=r,delete t[i],!0)})}function ji(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:r=t.indexable,_allKeys:n=t.allKeys}=e;return{allKeys:n,scriptable:i,indexable:r,isScriptable:Ye(i)?i:()=>i,isIndexable:Ye(r)?r:()=>r}}const Ti=(e,t)=>e?e+Re(t):t,Wi=(e,t)=>xe(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Xi(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=i();return e[t]=r,r}function Zi(e,t,i){return Ye(e)?e(t,i):e}const Ui=(e,t)=>!0===e?t:"string"==typeof e?Oe(t,e):void 0;function Gi(e,t,i,r,n){for(const l of t){const t=Ui(i,l);if(t){e.add(t);const l=Zi(t._fallback,i,n);if(Ve(l)&&l!==i&&l!==r)return l}else if(!1===t&&Ve(r)&&i!==r)return null}return!1}function Ki(e,t,i,r){const n=t._rootScopes,l=Zi(t._fallback,i,r),o=[...e,...n],s=new Set;s.add(r);let a=qi(s,o,i,l||i,r);return null!==a&&((!Ve(l)||l===i||(a=qi(s,o,l,a,r),null!==a))&&zi(Array.from(s),[""],n,l,(()=>function(e,t,i){const r=e._getTarget();t in r||(r[t]={});const n=r[t];if(ve(n)&&xe(i))return i;return n}(t,i,r))))}function qi(e,t,i,r,n){for(;i;)i=Gi(e,t,i,r,n);return i}function Ji(e,t){for(const i of t){if(!i)continue;const t=i[e];if(Ve(t))return t}}function $i(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const i of e)for(const e of Object.keys(i).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function er(e,t,i,r){const{iScale:n}=e,{key:l="r"}=this._parsing,o=new Array(r);let s,a,c,d;for(s=0,a=r;s<a;++s)c=s+i,d=t[c],o[s]={r:n.parse(Oe(d,l),c)};return o}const tr=Number.EPSILON||1e-14,ir=(e,t)=>t<e.length&&!e[t].skip&&e[t],rr=e=>"x"===e?"y":"x";function nr(e,t,i,r){const n=e.skip?t:e,l=t,o=i.skip?t:i,s=ot(l,n),a=ot(o,l);let c=s/(s+a),d=a/(s+a);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=r*c,f=r*d;return{previous:{x:l.x-u*(o.x-n.x),y:l.y-u*(o.y-n.y)},next:{x:l.x+f*(o.x-n.x),y:l.y+f*(o.y-n.y)}}}function lr(e,t="x"){const i=rr(t),r=e.length,n=Array(r).fill(0),l=Array(r);let o,s,a,c=ir(e,0);for(o=0;o<r;++o)if(s=a,a=c,c=ir(e,o+1),a){if(c){const e=c[t]-a[t];n[o]=0!==e?(c[i]-a[i])/e:0}l[o]=s?c?qe(n[o-1])!==qe(n[o])?0:(n[o-1]+n[o])/2:n[o-1]:n[o]}!function(e,t,i){const r=e.length;let n,l,o,s,a,c=ir(e,0);for(let d=0;d<r-1;++d)a=c,c=ir(e,d+1),a&&c&&(et(t[d],0,tr)?i[d]=i[d+1]=0:(n=i[d]/t[d],l=i[d+1]/t[d],s=Math.pow(n,2)+Math.pow(l,2),s<=9||(o=3/Math.sqrt(s),i[d]=n*o*t[d],i[d+1]=l*o*t[d])))}(e,n,l),function(e,t,i="x"){const r=rr(i),n=e.length;let l,o,s,a=ir(e,0);for(let c=0;c<n;++c){if(o=s,s=a,a=ir(e,c+1),!s)continue;const n=s[i],d=s[r];o&&(l=(n-o[i])/3,s[`cp1${i}`]=n-l,s[`cp1${r}`]=d-l*t[c]),a&&(l=(a[i]-n)/3,s[`cp2${i}`]=n+l,s[`cp2${r}`]=d+l*t[c])}}(e,l,t)}function or(e,t,i){return Math.max(Math.min(e,i),t)}function sr(e,t,i,r,n){let l,o,s,a;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)lr(e,n);else{let i=r?e[e.length-1]:e[0];for(l=0,o=e.length;l<o;++l)s=e[l],a=nr(i,s,e[Math.min(l+1,o-(r?0:1))%o],t.tension),s.cp1x=a.previous.x,s.cp1y=a.previous.y,s.cp2x=a.next.x,s.cp2y=a.next.y,i=s}t.capBezierPoints&&function(e,t){let i,r,n,l,o,s=xi(e[0],t);for(i=0,r=e.length;i<r;++i)o=l,l=s,s=i<r-1&&xi(e[i+1],t),l&&(n=e[i],o&&(n.cp1x=or(n.cp1x,t.left,t.right),n.cp1y=or(n.cp1y,t.top,t.bottom)),s&&(n.cp2x=or(n.cp2x,t.left,t.right),n.cp2y=or(n.cp2y,t.top,t.bottom)))}(e,i)}function ar(){return"undefined"!=typeof window&&"undefined"!=typeof document}function cr(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function dr(e,t,i){let r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[i])):r=e,r}const ur=e=>window.getComputedStyle(e,null);const fr=["top","right","bottom","left"];function mr(e,t,i){const r={};i=i?"-"+i:"";for(let n=0;n<4;n++){const l=fr[n];r[l]=parseFloat(e[t+"-"+l+i])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const hr=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function Ar(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:r}=t,n=ur(i),l="border-box"===n.boxSizing,o=mr(n,"padding"),s=mr(n,"border","width"),{x:a,y:c,box:d}=function(e,t){const i=e.touches,r=i&&i.length?i[0]:e,{offsetX:n,offsetY:l}=r;let o,s,a=!1;if(hr(n,l,e.target))o=n,s=l;else{const e=t.getBoundingClientRect();o=r.clientX-e.left,s=r.clientY-e.top,a=!0}return{x:o,y:s,box:a}}(e,i),u=o.left+(d&&s.left),f=o.top+(d&&s.top);let{width:m,height:h}=t;return l&&(m-=o.width+s.width,h-=o.height+s.height),{x:Math.round((a-u)/m*i.width/r),y:Math.round((c-f)/h*i.height/r)}}const gr=e=>Math.round(10*e)/10;function pr(e,t,i,r){const n=ur(e),l=mr(n,"margin"),o=dr(n.maxWidth,e,"clientWidth")||We,s=dr(n.maxHeight,e,"clientHeight")||We,a=function(e,t,i){let r,n;if(void 0===t||void 0===i){const l=cr(e);if(l){const e=l.getBoundingClientRect(),o=ur(l),s=mr(o,"border","width"),a=mr(o,"padding");t=e.width-a.width-s.width,i=e.height-a.height-s.height,r=dr(o.maxWidth,l,"clientWidth"),n=dr(o.maxHeight,l,"clientHeight")}else t=e.clientWidth,i=e.clientHeight}return{width:t,height:i,maxWidth:r||We,maxHeight:n||We}}(e,t,i);let{width:c,height:d}=a;if("content-box"===n.boxSizing){const e=mr(n,"border","width"),t=mr(n,"padding");c-=t.width+e.width,d-=t.height+e.height}return c=Math.max(0,c-l.width),d=Math.max(0,r?Math.floor(c/r):d-l.height),c=gr(Math.min(c,o,a.maxWidth)),d=gr(Math.min(d,s,a.maxHeight)),c&&!d&&(d=gr(c/2)),{width:c,height:d}}function br(e,t,i){const r=t||1,n=Math.floor(e.height*r),l=Math.floor(e.width*r);e.height=n/r,e.width=l/r;const o=e.canvas;return o.style&&(i||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||o.height!==n||o.width!==l)&&(e.currentDevicePixelRatio=r,o.height=n,o.width=l,e.ctx.setTransform(r,0,0,r,0,0),!0)}const Cr=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function _r(e,t){const i=function(e,t){return ur(e).getPropertyValue(t)}(e,t),r=i&&i.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function vr(e,t,i,r){return{x:e.x+i*(t.x-e.x),y:e.y+i*(t.y-e.y)}}function xr(e,t,i,r){return{x:e.x+i*(t.x-e.x),y:"middle"===r?i<.5?e.y:t.y:"after"===r?i<1?e.y:t.y:i>0?t.y:e.y}}function Nr(e,t,i,r){const n={x:e.cp2x,y:e.cp2y},l={x:t.cp1x,y:t.cp1y},o=vr(e,n,i),s=vr(n,l,i),a=vr(l,t,i),c=vr(o,s,i),d=vr(s,a,i);return vr(c,d,i)}const wr=new Map;function Er(e,t,i){return function(e,t){t=t||{};const i=e+JSON.stringify(t);let r=wr.get(i);return r||(r=new Intl.NumberFormat(e,t),wr.set(i,r)),r}(t,i).format(e)}function yr(e,t,i){return e?function(e,t){return{x:i=>e+e+t-i,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,i):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Dr(e,t){let i,r;"ltr"!==t&&"rtl"!==t||(i=e.canvas.style,r=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=r)}function Br(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Mr(e){return"angle"===e?{between:ct,compare:st,normalize:at}:{between:ut,compare:(e,t)=>e-t,normalize:e=>e}}function kr({start:e,end:t,count:i,loop:r,style:n}){return{start:e%i,end:t%i,loop:r&&(t-e+1)%i==0,style:n}}function Pr(e,t,i){if(!i)return[e];const{property:r,start:n,end:l}=i,o=t.length,{compare:s,between:a,normalize:c}=Mr(r),{start:d,end:u,loop:f,style:m}=function(e,t,i){const{property:r,start:n,end:l}=i,{between:o,normalize:s}=Mr(r),a=t.length;let c,d,{start:u,end:f,loop:m}=e;if(m){for(u+=a,f+=a,c=0,d=a;c<d&&o(s(t[u%a][r]),n,l);++c)u--,f--;u%=a,f%=a}return f<u&&(f+=a),{start:u,end:f,loop:m,style:e.style}}(e,t,i),h=[];let A,g,p,b=!1,C=null;const _=()=>b||a(n,p,A)&&0!==s(n,p),v=()=>!b||0===s(l,A)||a(l,p,A);for(let e=d,i=d;e<=u;++e)g=t[e%o],g.skip||(A=c(g[r]),A!==p&&(b=a(A,n,l),null===C&&_()&&(C=0===s(A,n)?e:i),null!==C&&v()&&(h.push(kr({start:C,end:e,loop:f,count:o,style:m})),C=null),i=e,p=A));return null!==C&&h.push(kr({start:C,end:u,loop:f,count:o,style:m})),h}function Lr(e,t){const i=[],r=e.segments;for(let n=0;n<r.length;n++){const l=Pr(r[n],e.points,t);l.length&&i.push(...l)}return i}function Hr(e,t,i,r){return r&&r.setContext&&i?function(e,t,i,r){const n=e._chart.getContext(),l=Ir(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,a=i.length,c=[];let d=l,u=t[0].start,f=u;function m(e,t,r,n){const l=s?-1:1;if(e!==t){for(e+=a;i[e%a].skip;)e-=l;for(;i[t%a].skip;)t+=l;e%a!=t%a&&(c.push({start:e%a,end:t%a,loop:r,style:n}),d=n,u=t%a)}}for(const e of t){u=s?u:e.start;let t,l=i[u%a];for(f=u+1;f<=e.end;f++){const s=i[f%a];t=Ir(r.setContext(Yi(n,{type:"segment",p0:l,p1:s,p0DataIndex:(f-1)%a,p1DataIndex:f%a,datasetIndex:o}))),Fr(t,d)&&m(u,f-1,e.loop,d),l=s,d=t}u<f-1&&m(u,f-1,e.loop,d)}return c}(e,t,i,r):t}function Ir(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Fr(e,t){return t&&JSON.stringify(e)!==JSON.stringify(t)}
|
|
932
932
|
/*!
|
|
933
933
|
* Chart.js v3.9.1
|
|
934
934
|
* https://www.chartjs.org
|
|
935
935
|
* (c) 2022 Chart.js Contributors
|
|
936
936
|
* Released under the MIT License
|
|
937
|
-
*/var Qr=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,r){const n=t.listeners[r],l=t.duration;n.forEach((r=>r({chart:e,initial:t.initial,numSteps:l,currentStep:Math.min(i-t.start,l)})))}_refresh(){this._request||(this._running=!0,this._request=bt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((i,r)=>{if(!i.running||!i.items.length)return;const n=i.items;let l,o=n.length-1,s=!1;for(;o>=0;--o)l=n[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),s=!0):(n[o]=n[n.length-1],n.pop());s&&(r.draw(),this._notify(r,i,e,"progress")),n.length||(i.running=!1,this._notify(r,i,e,"complete"),i.initial=!1),t+=n.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const Or="transparent",Rr={boolean:(e,t,i)=>i>.5?t:e,color(e,t,i){const r=ci(e||Or),n=r.valid&&ci(t||Or);return n&&n.valid?n.mix(r,i).hexString():t},number:(e,t,i)=>e+(t-e)*i};class Vr{constructor(e,t,i,r){const n=t[i];r=Vi([e.to,r,n,e.from]);const l=Vi([e.from,n,r]);this._active=!0,this._fn=e.fn||Rr[e.type||typeof l],this._easing=Dt[e.easing]||Dt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=l,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const r=this._target[this._prop],n=i-this._start,l=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(l,e.duration)),this._total+=n,this._loop=!!e.loop,this._to=Vi([e.to,t,r,e.from]),this._from=Vi([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,r=this._prop,n=this._from,l=this._loop,o=this._to;let s;if(this._active=n!==o&&(l||t<i),!this._active)return this._target[r]=o,void this._notify(!0);t<0?this._target[r]=n:(s=t/i%2,s=l&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(n,o,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,i)=>{e.push({res:t,rej:i})}))}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let e=0;e<i.length;e++)i[e][t]()}}Ai.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const zr=Object.keys(Ai.animation);Ai.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),Ai.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Ai.describe("animations",{_fallback:"animation"}),Ai.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}});class Yr{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!xe(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach((i=>{const r=e[i];if(!xe(r))return;const n={};for(const e of zr)n[e]=r[e];(ve(r.properties)&&r.properties||[i]).forEach((e=>{e!==i&&t.has(e)||t.set(e,n)}))}))}_animateOptions(e,t){const i=t.options,r=function(e,t){if(!t)return;let i=e.options;if(!i)return void(e.options=t);i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(e,i);if(!r)return[];const n=this._createAnimations(r,i);return i.$shared&&function(e,t){const i=[],r=Object.keys(t);for(let t=0;t<r.length;t++){const n=e[r[t]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(e.options.$animations,i).then((()=>{e.options=i}),(()=>{})),n}_createAnimations(e,t){const i=this._properties,r=[],n=e.$animations||(e.$animations={}),l=Object.keys(t),o=Date.now();let s;for(s=l.length-1;s>=0;--s){const a=l[s];if("$"===a.charAt(0))continue;if("options"===a){r.push(...this._animateOptions(e,t));continue}const c=t[a];let d=n[a];const u=i.get(a);if(d){if(u&&d.active()){d.update(u,c,o);continue}d.cancel()}u&&u.duration?(n[a]=d=new Vr(u,e,a,c),r.push(d)):e[a]=c}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const i=this._createAnimations(e,t);return i.length?(Qr.add(this._chart,i),!0):void 0}}function Sr(e,t){const i=e&&e.options||{},r=i.reverse,n=void 0===i.min?t:0,l=void 0===i.max?t:0;return{start:r?l:n,end:r?n:l}}function jr(e,t){const i=[],r=e._getSortedDatasetMetas(t);let n,l;for(n=0,l=r.length;n<l;++n)i.push(r[n].index);return i}function Tr(e,t,i,r={}){const n=e.keys,l="single"===r.mode;let o,s,a,c;if(null!==t){for(o=0,s=n.length;o<s;++o){if(a=+n[o],a===i){if(r.all)continue;break}c=e.values[a],Ne(c)&&(l||0===t||qe(t)===qe(c))&&(t+=c)}return t}}function Wr(e,t){const i=e&&e.options.stacked;return i||void 0===i&&void 0!==t.stack}function Xr(e,t,i){const r=e[t]||(e[t]={});return r[i]||(r[i]={})}function Zr(e,t,i,r){for(const n of t.getMatchingVisibleMetas(r).reverse()){const t=e[n.index];if(i&&t>0||!i&&t<0)return n.index}return null}function Ur(e,t){const{chart:i,_cachedMeta:r}=e,n=i._stacks||(i._stacks={}),{iScale:l,vScale:o,index:s}=r,a=l.axis,c=o.axis,d=function(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}(l,o,r),u=t.length;let f;for(let e=0;e<u;++e){const i=t[e],{[a]:l,[c]:u}=i;f=(i._stacks||(i._stacks={}))[c]=Xr(n,d,l),f[s]=u,f._top=Zr(f,o,!0,r.type),f._bottom=Zr(f,o,!1,r.type)}}function Gr(e,t){const i=e.scales;return Object.keys(i).filter((e=>i[e].axis===t)).shift()}function Kr(e,t){const i=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][i])return;delete t[r][i]}}}const qr=e=>"reset"===e||"none"===e,Jr=(e,t)=>t?e:Object.assign({},e);class $r{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Wr(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Kr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),r=(e,t,i,r)=>"x"===e?t:"r"===e?r:i,n=t.xAxisID=Ee(i.xAxisID,Gr(e,"x")),l=t.yAxisID=Ee(i.yAxisID,Gr(e,"y")),o=t.rAxisID=Ee(i.rAxisID,Gr(e,"r")),s=t.indexAxis,a=t.iAxisID=r(s,n,l,o),c=t.vAxisID=r(s,l,n,o);t.xScale=this.getScaleForId(n),t.yScale=this.getScaleForId(l),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(a),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&>(this._data,this),e._stacked&&Kr(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(xe(t))this._data=function(e){const t=Object.keys(e),i=new Array(t.length);let r,n,l;for(r=0,n=t.length;r<n;++r)l=t[r],i[r]={x:l,y:e[l]};return i}(t);else if(i!==t){if(i){gt(i,this);const e=this._cachedMeta;Kr(e),e._parsed=[]}t&&Object.isExtensible(t)&&(n=this,(r=t)._chartjs?r._chartjs.listeners.push(n):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),At.forEach((e=>{const t="_onData"+Re(e),i=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value(...e){const n=i.apply(this,e);return r._chartjs.listeners.forEach((i=>{"function"==typeof i[t]&&i[t](...e)})),n}})})))),this._syncList=[],this._data=t}var r,n}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const n=t._stacked;t._stacked=Wr(t.vScale,t),t.stack!==i.stack&&(r=!0,Kr(t),t.stack=i.stack),this._resyncElements(e),(r||n!==t._stacked)&&Ur(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:r}=this,{iScale:n,_stacked:l}=i,o=n.axis;let s,a,c,d=0===e&&t===r.length||i._sorted,u=e>0&&i._parsed[e-1];if(!1===this._parsing)i._parsed=r,i._sorted=!0,c=r;else{c=ve(r[e])?this.parseArrayData(i,r,e,t):xe(r[e])?this.parseObjectData(i,r,e,t):this.parsePrimitiveData(i,r,e,t);const n=()=>null===a[o]||u&&a[o]<u[o];for(s=0;s<t;++s)i._parsed[s+e]=a=c[s],d&&(n()&&(d=!1),u=a);i._sorted=d}l&&Ur(this,c)}parsePrimitiveData(e,t,i,r){const{iScale:n,vScale:l}=e,o=n.axis,s=l.axis,a=n.getLabels(),c=n===l,d=new Array(r);let u,f,m;for(u=0,f=r;u<f;++u)m=u+i,d[u]={[o]:c||n.parse(a[m],m),[s]:l.parse(t[m],m)};return d}parseArrayData(e,t,i,r){const{xScale:n,yScale:l}=e,o=new Array(r);let s,a,c,d;for(s=0,a=r;s<a;++s)c=s+i,d=t[c],o[s]={x:n.parse(d[0],c),y:l.parse(d[1],c)};return o}parseObjectData(e,t,i,r){const{xScale:n,yScale:l}=e,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,a=new Array(r);let c,d,u,f;for(c=0,d=r;c<d;++c)u=c+i,f=t[u],a[c]={x:n.parse(Oe(f,o),u),y:l.parse(Oe(f,s),u)};return a}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){const r=this.chart,n=this._cachedMeta,l=t[e.axis];return Tr({keys:jr(r,!0),values:t._stacks[e.axis]},l,n.index,{mode:i})}updateRangeFromParsed(e,t,i,r){const n=i[t.axis];let l=null===n?NaN:n;const o=r&&i._stacks[t.axis];r&&o&&(r.values=o,l=Tr(r,n,this._cachedMeta.index)),e.min=Math.min(e.min,l),e.max=Math.max(e.max,l)}getMinMax(e,t){const i=this._cachedMeta,r=i._parsed,n=i._sorted&&e===i.iScale,l=r.length,o=this._getOtherScale(e),s=((e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:jr(i,!0),values:null})(t,i,this.chart),a={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(e){const{min:t,max:i,minDefined:r,maxDefined:n}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(o);let u,f;function m(){f=r[u];const t=f[o.axis];return!Ne(f[e.axis])||c>t||d<t}for(u=0;u<l&&(m()||(this.updateRangeFromParsed(a,e,f,s),!n));++u);if(n)for(u=l-1;u>=0;--u)if(!m()){this.updateRangeFromParsed(a,e,f,s);break}return a}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let r,n,l;for(r=0,n=t.length;r<n;++r)l=t[r][e.axis],Ne(l)&&i.push(l);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,i=t.iScale,r=t.vScale,n=this.getParsed(e);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:r?""+r.getLabelForValue(n[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,i,r,n;return xe(e)?(t=e.top,i=e.right,r=e.bottom,n=e.left):t=i=r=n=e,{top:t,right:i,bottom:r,left:n,disabled:!1===e}}(Ee(this.options.clip,function(e,t,i){if(!1===i)return!1;const r=Sr(e,i),n=Sr(t,i);return{top:n.end,right:r.end,bottom:n.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,i=this._cachedMeta,r=i.data||[],n=t.chartArea,l=[],o=this._drawStart||0,s=this._drawCount||r.length-o,a=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(e,n,o,s),c=o;c<o+s;++c){const t=r[c];t.hidden||(t.active&&a?l.push(t):t.draw(e,n))}for(c=0;c<l.length;++c)l[c].draw(e,n)}getStyle(e,t){const i=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){const r=this.getDataset();let n;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];n=t.$context||(t.$context=function(e,t,i){return zi(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),n.parsed=this.getParsed(e),n.raw=r.data[e],n.index=n.dataIndex=e}else n=this.$context||(this.$context=function(e,t){return zi(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),n.dataset=r,n.index=n.datasetIndex=this.index;return n.active=!!t,n.mode=i,n}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){const r="active"===t,n=this._cachedDataOpts,l=e+"-"+t,o=n[l],s=this.enableOptionSharing&&Ve(i);if(o)return Jr(o,s);const a=this.chart.config,c=a.datasetElementScopeKeys(this._type,e),d=r?[`${e}Hover`,"hover",e,""]:[e,""],u=a.getOptionScopes(this.getDataset(),c),f=Object.keys(Ai.elements[e]),m=a.resolveNamedOptions(u,f,(()=>this.getContext(i,r)),d);return m.$shared&&(m.$shared=s,n[l]=Object.freeze(Jr(m,s))),m}_resolveAnimations(e,t,i){const r=this.chart,n=this._cachedDataOpts,l=`animation-${t}`,o=n[l];if(o)return o;let s;if(!1!==r.options.animation){const r=this.chart.config,n=r.datasetAnimationScopeKeys(this._type,t),l=r.getOptionScopes(this.getDataset(),n);s=r.createResolver(l,this.getContext(e,i,t))}const a=new Yr(r,s&&s.animations);return s&&s._cacheable&&(n[l]=Object.freeze(a)),a}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||qr(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),r=this._sharedOptions,n=this.getSharedOptions(i),l=this.includeOptions(t,n)||n!==r;return this.updateSharedOptions(n,t,i),{sharedOptions:n,includeOptions:l}}updateElement(e,t,i,r){qr(r)?Object.assign(e,i):this._resolveAnimations(t,r).update(e,i)}updateSharedOptions(e,t,i){e&&!qr(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,r){e.active=r;const n=this.getStyle(t,r);this._resolveAnimations(t,i,r).update(e,{options:!r&&this.getSharedOptions(n)||n})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,i=this._cachedMeta.data;for(const[e,t,i]of this._syncList)this[e](t,i);this._syncList=[];const r=i.length,n=t.length,l=Math.min(n,r);l&&this.parse(0,l),n>r?this._insertElements(r,n-r,e):n<r&&this._removeElements(n,r-n)}_insertElements(e,t,i=!0){const r=this._cachedMeta,n=r.data,l=e+t;let o;const s=e=>{for(e.length+=t,o=e.length-1;o>=l;o--)e[o]=e[o-t]};for(s(n),o=e;o<l;++o)n[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),i&&this.updateElements(n,e,t,"reset")}updateElements(e,t,i,r){}_removeElements(e,t){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(e,t);i._stacked&&Kr(i,r)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,i,r]=e;this[t](i,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function en(e){const t=e.iScale,i=function(e,t){if(!e._cache.$bar){const i=e.getMatchingVisibleMetas(t);let r=[];for(let t=0,n=i.length;t<n;t++)r=r.concat(i[t].controller.getAllParsedValues(e));e._cache.$bar=pt(r.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let r,n,l,o,s=t._length;const a=()=>{32767!==l&&-32768!==l&&(Ve(o)&&(s=Math.min(s,Math.abs(l-o)||s)),o=l)};for(r=0,n=i.length;r<n;++r)l=t.getPixelForValue(i[r]),a();for(o=void 0,r=0,n=t.ticks.length;r<n;++r)l=t.getPixelForTick(r),a();return s}function tn(e,t,i,r){return ve(e)?function(e,t,i,r){const n=i.parse(e[0],r),l=i.parse(e[1],r),o=Math.min(n,l),s=Math.max(n,l);let a=o,c=s;Math.abs(o)>Math.abs(s)&&(a=s,c=o),t[i.axis]=c,t._custom={barStart:a,barEnd:c,start:n,end:l,min:o,max:s}}(e,t,i,r):t[i.axis]=i.parse(e,r),t}function rn(e,t,i,r){const n=e.iScale,l=e.vScale,o=n.getLabels(),s=n===l,a=[];let c,d,u,f;for(c=i,d=i+r;c<d;++c)f=t[c],u={},u[n.axis]=s||n.parse(o[c],c),a.push(tn(f,u,l,c));return a}function nn(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function ln(e,t,i,r){let n=t.borderSkipped;const l={};if(!n)return void(e.borderSkipped=l);if(!0===n)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:o,end:s,reverse:a,top:c,bottom:d}=function(e){let t,i,r,n,l;return e.horizontal?(t=e.base>e.x,i="left",r="right"):(t=e.base<e.y,i="bottom",r="top"),t?(n="end",l="start"):(n="start",l="end"),{start:i,end:r,reverse:t,top:n,bottom:l}}(e);"middle"===n&&i&&(e.enableBorderRadius=!0,(i._top||0)===r?n=c:(i._bottom||0)===r?n=d:(l[on(d,o,s,a)]=!0,n=c)),l[on(n,o,s,a)]=!0,e.borderSkipped=l}function on(e,t,i,r){var n,l,o;return r?(o=i,e=sn(e=(n=e)===(l=t)?o:n===o?l:n,i,t)):e=sn(e,t,i),e}function sn(e,t,i){return"start"===e?t:"end"===e?i:e}function an(e,{inflateAmount:t},i){e.inflateAmount="auto"===t?1===i?.33:0:t}$r.defaults={},$r.prototype.datasetElementType=null,$r.prototype.dataElementType=null;class cn extends $r{parsePrimitiveData(e,t,i,r){return rn(e,t,i,r)}parseArrayData(e,t,i,r){return rn(e,t,i,r)}parseObjectData(e,t,i,r){const{iScale:n,vScale:l}=e,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,a="x"===n.axis?o:s,c="x"===l.axis?o:s,d=[];let u,f,m,h;for(u=i,f=i+r;u<f;++u)h=t[u],m={},m[n.axis]=n.parse(Oe(h,a),u),d.push(tn(Oe(h,c),m,l,u));return d}updateRangeFromParsed(e,t,i,r){super.updateRangeFromParsed(e,t,i,r);const n=i._custom;n&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,n.min),e.max=Math.max(e.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:i,vScale:r}=t,n=this.getParsed(e),l=n._custom,o=nn(l)?"["+l.start+", "+l.end+"]":""+r.getLabelForValue(n[r.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,i,r){const n="reset"===r,{index:l,_cachedMeta:{vScale:o}}=this,s=o.getBasePixel(),a=o.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(t,r);for(let f=t;f<t+i;f++){const t=this.getParsed(f),i=n||_e(t[o.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),m=this._calculateBarIndexPixels(f,c),h=(t._stacks||{})[o.axis],A={horizontal:a,base:i.base,enableBorderRadius:!h||nn(t._custom)||l===h._top||l===h._bottom,x:a?i.head:m.center,y:a?m.center:i.head,height:a?m.size:Math.abs(i.size),width:a?Math.abs(i.size):m.size};u&&(A.options=d||this.resolveDataElementOptions(f,e[f].active?"active":r));const g=A.options||e[f].options;ln(A,g,h,l),an(A,g,c.ratio),this.updateElement(e[f],f,A,r)}}_getStacks(e,t){const{iScale:i}=this._cachedMeta,r=i.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),n=i.options.stacked,l=[],o=e=>{const i=e.controller.getParsed(t),r=i&&i[e.vScale.axis];if(_e(r)||isNaN(r))return!0};for(const i of r)if((void 0===t||!o(i))&&((!1===n||-1===l.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&l.push(i.stack),i.index===e))break;return l.length||l.push(void 0),l}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,i){const r=this._getStacks(e,i),n=void 0!==t?r.indexOf(t):-1;return-1===n?r.length-1:n}_getRuler(){const e=this.options,t=this._cachedMeta,i=t.iScale,r=[];let n,l;for(n=0,l=t.data.length;n<l;++n)r.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));const o=e.barThickness;return{min:o||en(t),pixels:r,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:i},options:{base:r,minBarLength:n}}=this,l=r||0,o=this.getParsed(e),s=o._custom,a=nn(s);let c,d,u=o[t.axis],f=0,m=i?this.applyStack(t,o,i):u;m!==u&&(f=m-u,m=u),a&&(u=s.barStart,m=s.barEnd-s.barStart,0!==u&&qe(u)!==qe(s.barEnd)&&(f=0),f+=u);const h=_e(r)||a?f:r;let A=t.getPixelForValue(h);if(c=this.chart.getDataVisibility(e)?t.getPixelForValue(f+m):A,d=c-A,Math.abs(d)<n){d=function(e,t,i){return 0!==e?qe(e):(t.isHorizontal()?1:-1)*(t.min>=i?1:-1)}(d,t,l)*n,u===l&&(A-=d/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),r=Math.min(e,i),o=Math.max(e,i);A=Math.max(Math.min(A,o),r),c=A+d}if(A===t.getPixelForValue(l)){const e=qe(d)*t.getLineWidthForValue(l)/2;A+=e,d-=e}return{size:d,base:A,head:c,center:c+d/2}}_calculateBarIndexPixels(e,t){const i=t.scale,r=this.options,n=r.skipNull,l=Ee(r.maxBarThickness,1/0);let o,s;if(t.grouped){const i=n?this._getStackCount(e):t.stackCount,a="flex"===r.barThickness?function(e,t,i,r){const n=t.pixels,l=n[e];let o=e>0?n[e-1]:null,s=e<n.length-1?n[e+1]:null;const a=i.categoryPercentage;null===o&&(o=l-(null===s?t.end-t.start:s-l)),null===s&&(s=l+l-o);const c=l-(l-Math.min(o,s))/2*a;return{chunk:Math.abs(s-o)/2*a/r,ratio:i.barPercentage,start:c}}(e,t,r,i):function(e,t,i,r){const n=i.barThickness;let l,o;return _e(n)?(l=t.min*i.categoryPercentage,o=i.barPercentage):(l=n*r,o=1),{chunk:l/r,ratio:o,start:t.pixels[e]-l/2}}(e,t,r,i),c=this._getStackIndex(this.index,this._cachedMeta.stack,n?e:void 0);o=a.start+a.chunk*c+a.chunk/2,s=Math.min(l,a.chunk*a.ratio)}else o=i.getPixelForValue(this.getParsed(e)[i.axis],e),s=Math.min(l,t.min*t.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}}draw(){const e=this._cachedMeta,t=e.vScale,i=e.data,r=i.length;let n=0;for(;n<r;++n)null!==this.getParsed(n)[t.axis]&&i[n].draw(this._ctx)}}cn.id="bar",cn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},cn.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class dn extends $r{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,i,r){const n=super.parsePrimitiveData(e,t,i,r);for(let e=0;e<n.length;e++)n[e]._custom=this.resolveDataElementOptions(e+i).radius;return n}parseArrayData(e,t,i,r){const n=super.parseArrayData(e,t,i,r);for(let e=0;e<n.length;e++){const r=t[i+e];n[e]._custom=Ee(r[2],this.resolveDataElementOptions(e+i).radius)}return n}parseObjectData(e,t,i,r){const n=super.parseObjectData(e,t,i,r);for(let e=0;e<n.length;e++){const r=t[i+e];n[e]._custom=Ee(r&&r.r&&+r.r,this.resolveDataElementOptions(e+i).radius)}return n}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:i,yScale:r}=t,n=this.getParsed(e),l=i.getLabelForValue(n.x),o=r.getLabelForValue(n.y),s=n._custom;return{label:t.label,value:"("+l+", "+o+(s?", "+s:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,i,r){const n="reset"===r,{iScale:l,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:a}=this._getSharedOptions(t,r),c=l.axis,d=o.axis;for(let u=t;u<t+i;u++){const t=e[u],i=!n&&this.getParsed(u),f={},m=f[c]=n?l.getPixelForDecimal(.5):l.getPixelForValue(i[c]),h=f[d]=n?o.getBasePixel():o.getPixelForValue(i[d]);f.skip=isNaN(m)||isNaN(h),a&&(f.options=s||this.resolveDataElementOptions(u,t.active?"active":r),n&&(f.options.radius=0)),this.updateElement(t,u,f,r)}}resolveDataElementOptions(e,t){const i=this.getParsed(e);let r=super.resolveDataElementOptions(e,t);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const n=r.radius;return"active"!==t&&(r.radius=0),r.radius+=Ee(i&&i._custom,n),r}}dn.id="bubble",dn.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},dn.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class un extends $r{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const i=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=i;else{let n,l,o=e=>+i[e];if(xe(i[e])){const{key:e="value"}=this._parsing;o=t=>+Oe(i[t],e)}for(n=e,l=e+t;n<l;++n)r._parsed[n]=o(n)}}_getRotation(){return it(this.options.rotation-90)}_getCircumference(){return it(this.options.circumference)}_getRotationExtents(){let e=je,t=-je;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const r=this.chart.getDatasetMeta(i).controller,n=r._getRotation(),l=r._getCircumference();e=Math.min(e,n),t=Math.max(t,n+l)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:i}=t,r=this._cachedMeta,n=r.data,l=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,o=Math.max((Math.min(i.width,i.height)-l)/2,0),s=Math.min((a=this.options.cutout,c=o,"string"==typeof a&&a.endsWith("%")?parseFloat(a)/100:a/c),1);var a,c;const d=this._getRingWeight(this.index),{circumference:u,rotation:f}=this._getRotationExtents(),{ratioX:m,ratioY:h,offsetX:A,offsetY:g}=function(e,t,i){let r=1,n=1,l=0,o=0;if(t<je){const s=e,a=s+t,c=Math.cos(s),d=Math.sin(s),u=Math.cos(a),f=Math.sin(a),m=(e,t,r)=>ct(e,s,a,!0)?1:Math.max(t,t*i,r,r*i),h=(e,t,r)=>ct(e,s,a,!0)?-1:Math.min(t,t*i,r,r*i),A=m(0,c,u),g=m(Ze,d,f),p=h(Se,c,u),b=h(Se+Ze,d,f);r=(A-p)/2,n=(g-b)/2,l=-(A+p)/2,o=-(g+b)/2}return{ratioX:r,ratioY:n,offsetX:l,offsetY:o}}(f,u,s),p=(i.width-l)/m,b=(i.height-l)/h,C=Math.max(Math.min(p,b)/2,0),_=ye(this.options.radius,C),v=(_-Math.max(_*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=A*_,this.offsetY=g*_,r.total=this.calculateTotal(),this.outerRadius=_-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*d,0),this.updateElements(n,0,n.length,e)}_circumference(e,t){const i=this.options,r=this._cachedMeta,n=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*n/je)}updateElements(e,t,i,r){const n="reset"===r,l=this.chart,o=l.chartArea,s=l.options.animation,a=(o.left+o.right)/2,c=(o.top+o.bottom)/2,d=n&&s.animateScale,u=d?0:this.innerRadius,f=d?0:this.outerRadius,{sharedOptions:m,includeOptions:h}=this._getSharedOptions(t,r);let A,g=this._getRotation();for(A=0;A<t;++A)g+=this._circumference(A,n);for(A=t;A<t+i;++A){const t=this._circumference(A,n),i=e[A],l={x:a+this.offsetX,y:c+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:f,innerRadius:u};h&&(l.options=m||this.resolveDataElementOptions(A,i.active?"active":r)),g+=t,this.updateElement(i,A,l,r)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let i,r=0;for(i=0;i<t.length;i++){const n=e._parsed[i];null===n||isNaN(n)||!this.chart.getDataVisibility(i)||t[i].hidden||(r+=Math.abs(n))}return r}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?je*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,r=i.data.labels||[],n=Er(t._parsed[e],i.options.locale);return{label:r[e]||"",value:n}}getMaxBorderWidth(e){let t=0;const i=this.chart;let r,n,l,o,s;if(!e)for(r=0,n=i.data.datasets.length;r<n;++r)if(i.isDatasetVisible(r)){l=i.getDatasetMeta(r),e=l.data,o=l.controller;break}if(!e)return 0;for(r=0,n=e.length;r<n;++r)s=o.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let i=0,r=e.length;i<r;++i){const e=this.resolveDataElementOptions(i);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(Ee(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}un.id="doughnut",un.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},un.descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e},un.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,r)=>{const n=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(e){let t=e.label;const i=": "+e.formattedValue;return ve(t)?(t=t.slice(),t[0]+=i):t+=i,t}}}}};class fn extends $r{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:i,data:r=[],_dataset:n}=t,l=this.chart._animationsDisabled;let{start:o,count:s}=xt(t,r,l);this._drawStart=o,this._drawCount=s,Nt(t)&&(o=0,s=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=r;const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),a.segment=this.options.segment,this.updateElement(i,void 0,{animated:!l,options:a},e),this.updateElements(r,o,s,e)}updateElements(e,t,i,r){const n="reset"===r,{iScale:l,vScale:o,_stacked:s,_dataset:a}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(t,r),u=l.axis,f=o.axis,{spanGaps:m,segment:h}=this.options,A=$e(m)?m:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||n||"none"===r;let p=t>0&&this.getParsed(t-1);for(let m=t;m<t+i;++m){const t=e[m],i=this.getParsed(m),b=g?t:{},C=_e(i[f]),_=b[u]=l.getPixelForValue(i[u],m),v=b[f]=n||C?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,i,s):i[f],m);b.skip=isNaN(_)||isNaN(v)||C,b.stop=m>0&&Math.abs(i[u]-p[u])>A,h&&(b.parsed=i,b.raw=a.data[m]),d&&(b.options=c||this.resolveDataElementOptions(m,t.active?"active":r)),g||this.updateElement(t,m,b,r),p=i}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,i=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return i;const n=r[0].size(this.resolveDataElementOptions(0)),l=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,n,l)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}fn.id="line",fn.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},fn.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class mn extends $r{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,r=i.data.labels||[],n=Er(t._parsed[e].r,i.options.locale);return{label:r[e]||"",value:n}}parseObjectData(e,t,i,r){return er.bind(this)(e,t,i,r)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,i)=>{const r=this.getParsed(i).r;!isNaN(r)&&this.chart.getDataVisibility(i)&&(r<t.min&&(t.min=r),r>t.max&&(t.max=r))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,i=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),n=Math.max(r/2,0),l=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=n-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,t,i,r){const n="reset"===r,l=this.chart,o=l.options.animation,s=this._cachedMeta.rScale,a=s.xCenter,c=s.yCenter,d=s.getIndexAngle(0)-.5*Se;let u,f=d;const m=360/this.countVisibleElements();for(u=0;u<t;++u)f+=this._computeAngle(u,r,m);for(u=t;u<t+i;u++){const t=e[u];let i=f,h=f+this._computeAngle(u,r,m),A=l.getDataVisibility(u)?s.getDistanceFromCenterForValue(this.getParsed(u).r):0;f=h,n&&(o.animateScale&&(A=0),o.animateRotate&&(i=h=d));const g={x:a,y:c,innerRadius:0,outerRadius:A,startAngle:i,endAngle:h,options:this.resolveDataElementOptions(u,t.active?"active":r)};this.updateElement(t,u,g,r)}}countVisibleElements(){const e=this._cachedMeta;let t=0;return e.data.forEach(((e,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&t++})),t}_computeAngle(e,t,i){return this.chart.getDataVisibility(e)?it(this.resolveDataElementOptions(e,t).angle||i):0}}mn.id="polarArea",mn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},mn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,r)=>{const n=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:e=>e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class hn extends un{}hn.id="pie",hn.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class An extends $r{getLabelAndValue(e){const t=this._cachedMeta.vScale,i=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(i[t.axis])}}parseObjectData(e,t,i,r){return er.bind(this)(e,t,i,r)}update(e){const t=this._cachedMeta,i=t.dataset,r=t.data||[],n=t.iScale.getLabels();if(i.points=r,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const l={_loop:!0,_fullLoop:n.length===r.length,options:t};this.updateElement(i,void 0,l,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,i,r){const n=this._cachedMeta.rScale,l="reset"===r;for(let o=t;o<t+i;o++){const t=e[o],i=this.resolveDataElementOptions(o,t.active?"active":r),s=n.getPointPositionForValue(o,this.getParsed(o).r),a=l?n.xCenter:s.x,c=l?n.yCenter:s.y,d={x:a,y:c,angle:s.angle,skip:isNaN(a)||isNaN(c),options:i};this.updateElement(t,o,d,r)}}}An.id="radar",An.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},An.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class gn{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return $e(this.x)&&$e(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const r={};return e.forEach((e=>{r[e]=i[e]&&i[e].active()?i[e]._to:this[e]})),r}}gn.defaults={},gn.defaultRoutes=void 0;const pn={values:e=>ve(e)?e:""+e,numeric(e,t,i){if(0===e)return"0";const r=this.chart.options.locale;let n,l=e;if(i.length>1){const t=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(t<1e-4||t>1e15)&&(n="scientific"),l=function(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e));return i}(e,i)}const o=Ke(Math.abs(l)),s=Math.max(Math.min(-1*Math.floor(o),20),0),a={notation:n,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(a,this.options.ticks.format),Er(e,r,a)},logarithmic(e,t,i){if(0===e)return"0";const r=e/Math.pow(10,Math.floor(Ke(e)));return 1===r||2===r||5===r?pn.numeric.call(this,e,t,i):""}};var bn={formatters:pn};function Cn(e,t){const i=e.options.ticks,r=i.maxTicksLimit||function(e){const t=e.options.offset,i=e._tickSize(),r=e._length/i+(t?0:1),n=e._maxLength/i;return Math.floor(Math.min(r,n))}(e),n=i.major.enabled?function(e){const t=[];let i,r;for(i=0,r=e.length;i<r;i++)e[i].major&&t.push(i);return t}(t):[],l=n.length,o=n[0],s=n[l-1],a=[];if(l>r)return function(e,t,i,r){let n,l=0,o=i[0];for(r=Math.ceil(r),n=0;n<e.length;n++)n===o&&(t.push(e[n]),l++,o=i[l*r])}(t,a,n,l/r),a;const c=function(e,t,i){const r=function(e){const t=e.length;let i,r;if(t<2)return!1;for(r=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==r)return!1;return r}(e),n=t.length/i;if(!r)return Math.max(n,1);const l=function(e){const t=[],i=Math.sqrt(e);let r;for(r=1;r<i;r++)e%r==0&&(t.push(r),t.push(e/r));return i===(0|i)&&t.push(i),t.sort(((e,t)=>e-t)).pop(),t}(r);for(let e=0,t=l.length-1;e<t;e++){const t=l[e];if(t>n)return t}return Math.max(n,1)}(n,t,r);if(l>0){let e,i;const r=l>1?Math.round((s-o)/(l-1)):null;for(_n(t,a,c,_e(r)?0:o-r,o),e=0,i=l-1;e<i;e++)_n(t,a,c,n[e],n[e+1]);return _n(t,a,c,s,_e(r)?t.length:s+r),a}return _n(t,a,c),a}function _n(e,t,i,r,n){const l=Ee(r,0),o=Math.min(Ee(n,e.length),e.length);let s,a,c,d=0;for(i=Math.ceil(i),n&&(s=n-r,i=s/Math.floor(s/i)),c=l;c<0;)d++,c=Math.round(l+d*i);for(a=Math.max(l,0);a<o;a++)a===c&&(t.push(e[a]),d++,c=Math.round(l+d*i))}Ai.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:bn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Ai.route("scale.ticks","color","","color"),Ai.route("scale.grid","color","","borderColor"),Ai.route("scale.grid","borderColor","","borderColor"),Ai.route("scale.title","color","","color"),Ai.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e}),Ai.describe("scales",{_fallback:"scale"}),Ai.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e});const vn=(e,t,i)=>"top"===t||"left"===t?e[t]+i:e[t]-i;function xn(e,t){const i=[],r=e.length/t,n=e.length;let l=0;for(;l<n;l+=r)i.push(e[Math.floor(l)]);return i}function Nn(e,t,i){const r=e.ticks.length,n=Math.min(t,r-1),l=e._startPixel,o=e._endPixel,s=1e-6;let a,c=e.getPixelForTick(n);if(!(i&&(a=1===r?Math.max(c-l,o-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(n-1))/2,c+=n<t?a:-a,c<l-s||c>o+s)))return c}function wn(e){return e.drawTicks?e.tickLength:0}function En(e,t){if(!e.display)return 0;const i=Ri(e.font,t),r=Oi(e.padding);return(ve(e.text)?e.text.length:1)*i.lineHeight+r.height}function yn(e,t,i){let r=_t(e);return(i&&"right"!==t||!i&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class Dn extends gn{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:r}=this;return e=we(e,Number.POSITIVE_INFINITY),t=we(t,Number.NEGATIVE_INFINITY),i=we(i,Number.POSITIVE_INFINITY),r=we(r,Number.NEGATIVE_INFINITY),{min:we(e,i),max:we(t,r),minDefined:Ne(e),maxDefined:Ne(t)}}getMinMax(e){let t,{min:i,max:r,minDefined:n,maxDefined:l}=this.getUserBounds();if(n&&l)return{min:i,max:r};const o=this.getMatchingVisibleMetas();for(let s=0,a=o.length;s<a;++s)t=o[s].controller.getMinMax(this,e),n||(i=Math.min(i,t.min)),l||(r=Math.max(r,t.max));return i=l&&i>r?r:i,r=n&&i>r?i:r,{min:we(i,we(r,i)),max:we(r,we(i,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){De(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:r,grace:n,ticks:l}=this.options,o=l.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,i){const{min:r,max:n}=e,l=ye(t,(n-r)/2),o=(e,t)=>i&&0===e?0:e+t;return{min:o(r,-Math.abs(l)),max:o(n,l)}}(this,n,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=o<this.ticks.length;this._convertTicksToLabels(s?xn(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),l.display&&(l.autoSkip||"auto"===l.source)&&(this.ticks=Cn(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,i=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,i=!i),this._startPixel=e,this._endPixel=t,this._reversePixels=i,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){De(this.options.afterUpdate,[this])}beforeSetDimensions(){De(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){De(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),De(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){De(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let i,r,n;for(i=0,r=e.length;i<r;i++)n=e[i],n.label=De(t.callback,[n.value,i,e],this)}afterTickToLabelConversion(){De(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){De(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,i=this.ticks.length,r=t.minRotation||0,n=t.maxRotation;let l,o,s,a=r;if(!this._isVisible()||!t.display||r>=n||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,f=dt(this.chart.width-d,0,this.maxWidth);l=e.offset?this.maxWidth/i:f/(i-1),d+6>l&&(l=f/(i-(e.offset?.5:1)),o=this.maxHeight-wn(e.grid)-t.padding-En(e.title,this.chart.options.font),s=Math.sqrt(d*d+u*u),a=rt(Math.min(Math.asin(dt((c.highest.height+6)/l,-1,1)),Math.asin(dt(o/s,-1,1))-Math.asin(dt(u/s,-1,1)))),a=Math.max(r,Math.min(n,a))),this.labelRotation=a}afterCalculateLabelRotation(){De(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){De(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:r,grid:n}}=this,l=this._isVisible(),o=this.isHorizontal();if(l){const l=En(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=wn(n)+l):(e.height=this.maxHeight,e.width=wn(n)+l),i.display&&this.ticks.length){const{first:t,last:r,widest:n,highest:l}=this._getLabelSizes(),s=2*i.padding,a=it(this.labelRotation),c=Math.cos(a),d=Math.sin(a);if(o){const t=i.mirror?0:d*n.width+c*l.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=i.mirror?0:c*n.width+d*l.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,d,c)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,r){const{ticks:{align:n,padding:l},position:o}=this.options,s=0!==this.labelRotation,a="top"!==o&&"x"===this.axis;if(this.isHorizontal()){const o=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,u=0;s?a?(d=r*e.width,u=i*t.height):(d=i*e.height,u=r*t.width):"start"===n?u=t.width:"end"===n?d=e.width:"inner"!==n&&(d=e.width/2,u=t.width/2),this.paddingLeft=Math.max((d-o+l)*this.width/(this.width-o),0),this.paddingRight=Math.max((u-c+l)*this.width/(this.width-c),0)}else{let i=t.height/2,r=e.height/2;"start"===n?(i=0,r=e.height):"end"===n&&(i=t.height,r=0),this.paddingTop=i+l,this.paddingBottom=r+l}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){De(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,i=e.length;t<i;t++)_e(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let i=this.ticks;t<i.length&&(i=xn(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length)}return e}_computeLabelSizes(e,t){const{ctx:i,_longestTextCache:r}=this,n=[],l=[];let o,s,a,c,d,u,f,m,h,A,g,p=0,b=0;for(o=0;o<t;++o){if(c=e[o].label,d=this._resolveTickFontOptions(o),i.font=u=d.string,f=r[u]=r[u]||{data:{},gc:[]},m=d.lineHeight,h=A=0,_e(c)||ve(c)){if(ve(c))for(s=0,a=c.length;s<a;++s)g=c[s],_e(g)||ve(g)||(h=gi(i,f.data,f.gc,h,g),A+=m)}else h=gi(i,f.data,f.gc,h,c),A=m;n.push(h),l.push(A),p=Math.max(h,p),b=Math.max(A,b)}!function(e,t){Be(e,(e=>{const i=e.gc,r=i.length/2;let n;if(r>t){for(n=0;n<r;++n)delete e.data[i[n]];i.splice(0,r)}}))}(r,t);const C=n.indexOf(p),_=l.indexOf(b),v=e=>({width:n[e]||0,height:l[e]||0});return{first:v(0),last:v(t-1),widest:v(C),highest:v(_),widths:n,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return dt(this._alignToPixels?bi(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const i=t[e];return i.$context||(i.$context=function(e,t,i){return zi(e,{tick:i,index:t,type:"tick"})}(this.getContext(),e,i))}return this.$context||(this.$context=zi(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=it(this.labelRotation),i=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),n=this._getLabelSizes(),l=e.autoSkipPadding||0,o=n?n.widest.width+l:0,s=n?n.highest.height+l:0;return this.isHorizontal()?s*i>o*r?o/i:s/r:s*r<o*i?s/i:o/r}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,i=this.chart,r=this.options,{grid:n,position:l}=r,o=n.offset,s=this.isHorizontal(),a=this.ticks.length+(o?1:0),c=wn(n),d=[],u=n.setContext(this.getContext()),f=u.drawBorder?u.borderWidth:0,m=f/2,h=function(e){return bi(i,e,f)};let A,g,p,b,C,_,v,x,N,w,E,y;if("top"===l)A=h(this.bottom),_=this.bottom-c,x=A-m,w=h(e.top)+m,y=e.bottom;else if("bottom"===l)A=h(this.top),w=e.top,y=h(e.bottom)-m,_=A+m,x=this.top+c;else if("left"===l)A=h(this.right),C=this.right-c,v=A-m,N=h(e.left)+m,E=e.right;else if("right"===l)A=h(this.left),N=e.left,E=h(e.right)-m,C=A+m,v=this.left+c;else if("x"===t){if("center"===l)A=h((e.top+e.bottom)/2+.5);else if(xe(l)){const e=Object.keys(l)[0],t=l[e];A=h(this.chart.scales[e].getPixelForValue(t))}w=e.top,y=e.bottom,_=A+m,x=_+c}else if("y"===t){if("center"===l)A=h((e.left+e.right)/2);else if(xe(l)){const e=Object.keys(l)[0],t=l[e];A=h(this.chart.scales[e].getPixelForValue(t))}C=A-m,v=C-c,N=e.left,E=e.right}const D=Ee(r.ticks.maxTicksLimit,a),B=Math.max(1,Math.ceil(a/D));for(g=0;g<a;g+=B){const e=n.setContext(this.getContext(g)),t=e.lineWidth,r=e.color,l=e.borderDash||[],a=e.borderDashOffset,c=e.tickWidth,u=e.tickColor,f=e.tickBorderDash||[],m=e.tickBorderDashOffset;p=Nn(this,g,o),void 0!==p&&(b=bi(i,p,t),s?C=v=N=E=b:_=x=w=y=b,d.push({tx1:C,ty1:_,tx2:v,ty2:x,x1:N,y1:w,x2:E,y2:y,width:t,color:r,borderDash:l,borderDashOffset:a,tickWidth:c,tickColor:u,tickBorderDash:f,tickBorderDashOffset:m}))}return this._ticksLength=a,this._borderValue=A,d}_computeLabelItems(e){const t=this.axis,i=this.options,{position:r,ticks:n}=i,l=this.isHorizontal(),o=this.ticks,{align:s,crossAlign:a,padding:c,mirror:d}=n,u=wn(i.grid),f=u+c,m=d?-c:f,h=-it(this.labelRotation),A=[];let g,p,b,C,_,v,x,N,w,E,y,D,B="middle";if("top"===r)v=this.bottom-m,x=this._getXAxisLabelAlignment();else if("bottom"===r)v=this.top+m,x=this._getXAxisLabelAlignment();else if("left"===r){const e=this._getYAxisLabelAlignment(u);x=e.textAlign,_=e.x}else if("right"===r){const e=this._getYAxisLabelAlignment(u);x=e.textAlign,_=e.x}else if("x"===t){if("center"===r)v=(e.top+e.bottom)/2+f;else if(xe(r)){const e=Object.keys(r)[0],t=r[e];v=this.chart.scales[e].getPixelForValue(t)+f}x=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===r)_=(e.left+e.right)/2-f;else if(xe(r)){const e=Object.keys(r)[0],t=r[e];_=this.chart.scales[e].getPixelForValue(t)}x=this._getYAxisLabelAlignment(u).textAlign}"y"===t&&("start"===s?B="top":"end"===s&&(B="bottom"));const M=this._getLabelSizes();for(g=0,p=o.length;g<p;++g){b=o[g],C=b.label;const e=n.setContext(this.getContext(g));N=this.getPixelForTick(g)+n.labelOffset,w=this._resolveTickFontOptions(g),E=w.lineHeight,y=ve(C)?C.length:1;const t=y/2,i=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let u,f=x;if(l?(_=N,"inner"===x&&(f=g===p-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),D="top"===r?"near"===a||0!==h?-y*E+E/2:"center"===a?-M.highest.height/2-t*E+E:-M.highest.height+E/2:"near"===a||0!==h?E/2:"center"===a?M.highest.height/2-t*E:M.highest.height-y*E,d&&(D*=-1)):(v=N,D=(1-y)*E/2),e.showLabelBackdrop){const t=Oi(e.backdropPadding),i=M.heights[g],r=M.widths[g];let n=v+D-t.top,l=_-t.left;switch(B){case"middle":n-=i/2;break;case"bottom":n-=i}switch(x){case"center":l-=r/2;break;case"right":l-=r}u={left:l,top:n,width:r+t.width,height:i+t.height,color:e.backdropColor}}A.push({rotation:h,label:C,font:w,color:i,strokeColor:s,strokeWidth:c,textOffset:D,textAlign:f,textBaseline:B,translation:[_,v],backdrop:u})}return A}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-it(this.labelRotation))return"top"===e?"left":"right";let i="center";return"start"===t.align?i="left":"end"===t.align?i="right":"inner"===t.align&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:r,padding:n}}=this.options,l=e+n,o=this._getLabelSizes().widest.width;let s,a;return"left"===t?r?(a=this.right+n,"near"===i?s="left":"center"===i?(s="center",a+=o/2):(s="right",a+=o)):(a=this.right-l,"near"===i?s="right":"center"===i?(s="center",a-=o/2):(s="left",a=this.left)):"right"===t?r?(a=this.left+n,"near"===i?s="right":"center"===i?(s="center",a-=o/2):(s="left",a-=o)):(a=this.left+l,"near"===i?s="left":"center"===i?(s="center",a+=o/2):(s="right",a=this.right)):s="right",{textAlign:s,x:a}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:r,width:n,height:l}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,r,n,l),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const i=this.ticks.findIndex((t=>t.value===e));if(i>=0){return t.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let n,l;const o=(e,t,r)=>{r.width&&r.color&&(i.save(),i.lineWidth=r.width,i.strokeStyle=r.color,i.setLineDash(r.borderDash||[]),i.lineDashOffset=r.borderDashOffset,i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.stroke(),i.restore())};if(t.display)for(n=0,l=r.length;n<l;++n){const e=r[n];t.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&o({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{grid:i}}=this,r=i.setContext(this.getContext()),n=i.drawBorder?r.borderWidth:0;if(!n)return;const l=i.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let s,a,c,d;this.isHorizontal()?(s=bi(e,this.left,n)-n/2,a=bi(e,this.right,l)+l/2,c=d=o):(c=bi(e,this.top,n)-n/2,d=bi(e,this.bottom,l)+l/2,s=a=o),t.save(),t.lineWidth=r.borderWidth,t.strokeStyle=r.borderColor,t.beginPath(),t.moveTo(s,c),t.lineTo(a,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,i=this._computeLabelArea();i&&Ni(t,i);const r=this._labelItems||(this._labelItems=this._computeLabelItems(e));let n,l;for(n=0,l=r.length;n<l;++n){const e=r[n],i=e.font,l=e.label;e.backdrop&&(t.fillStyle=e.backdrop.color,t.fillRect(e.backdrop.left,e.backdrop.top,e.backdrop.width,e.backdrop.height)),Di(t,l,0,e.textOffset,i,e)}i&&wi(t)}drawTitle(){const{ctx:e,options:{position:t,title:i,reverse:r}}=this;if(!i.display)return;const n=Ri(i.font),l=Oi(i.padding),o=i.align;let s=n.lineHeight/2;"bottom"===t||"center"===t||xe(t)?(s+=l.bottom,ve(i.text)&&(s+=n.lineHeight*(i.text.length-1))):s+=l.top;const{titleX:a,titleY:c,maxWidth:d,rotation:u}=function(e,t,i,r){const{top:n,left:l,bottom:o,right:s,chart:a}=e,{chartArea:c,scales:d}=a;let u,f,m,h=0;const A=o-n,g=s-l;if(e.isHorizontal()){if(f=vt(r,l,s),xe(i)){const e=Object.keys(i)[0],r=i[e];m=d[e].getPixelForValue(r)+A-t}else m="center"===i?(c.bottom+c.top)/2+A-t:vn(e,i,t);u=s-l}else{if(xe(i)){const e=Object.keys(i)[0],r=i[e];f=d[e].getPixelForValue(r)-g+t}else f="center"===i?(c.left+c.right)/2-g+t:vn(e,i,t);m=vt(r,o,n),h="left"===i?-Ze:Ze}return{titleX:f,titleY:m,maxWidth:u,rotation:h}}(this,s,t,o);Di(e,i.text,0,0,n,{color:i.color,maxWidth:d,rotation:u,textAlign:yn(o,t,r),textBaseline:"middle",translation:[a,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,i=Ee(e.grid&&e.grid.z,-1);return this._isVisible()&&this.draw===Dn.prototype.draw?[{z:i,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let n,l;for(n=0,l=t.length;n<l;++n){const l=t[n];l[i]!==this.id||e&&l.type!==e||r.push(l)}return r}_resolveTickFontOptions(e){return Ri(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Bn{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let i;(function(e){return"id"in e&&"defaults"in e})(t)&&(i=this.register(t));const r=this.items,n=e.id,l=this.scope+"."+n;if(!n)throw new Error("class does not have id: "+e);return n in r||(r[n]=e,function(e,t,i){const r=He(Object.create(null),[i?Ai.get(i):{},Ai.get(t),e.defaults]);Ai.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((i=>{const r=i.split("."),n=r.pop(),l=[e].concat(r).join("."),o=t[i].split("."),s=o.pop(),a=o.join(".");Ai.route(l,n,a,s)}))}(t,e.defaultRoutes);e.descriptors&&Ai.describe(t,e.descriptors)}(e,l,i),this.override&&Ai.override(e.id,e.overrides)),l}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,r=this.scope;i in t&&delete t[i],r&&i in Ai[r]&&(delete Ai[r][i],this.override&&delete ui[i])}}var Mn=new class{constructor(){this.controllers=new Bn($r,"datasets",!0),this.elements=new Bn(gn,"elements"),this.plugins=new Bn(Object,"plugins"),this.scales=new Bn(Dn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach((t=>{const r=i||this._getRegistryForType(t);i||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Be(t,(t=>{const r=i||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,i){const r=Re(e);De(i["before"+r],[],i),t[e](i),De(i["after"+r],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+i+".");return r}};class kn extends $r{update(e){const t=this._cachedMeta,{data:i=[]}=t,r=this.chart._animationsDisabled;let{start:n,count:l}=xt(t,i,r);if(this._drawStart=n,this._drawCount=l,Nt(t)&&(n=0,l=i.length),this.options.showLine){const{dataset:n,_dataset:l}=t;n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!l._decimated,n.points=i;const o=this.resolveDatasetElementOptions(e);o.segment=this.options.segment,this.updateElement(n,void 0,{animated:!r,options:o},e)}this.updateElements(i,n,l,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=Mn.getElement("line")),super.addElements()}updateElements(e,t,i,r){const n="reset"===r,{iScale:l,vScale:o,_stacked:s,_dataset:a}=this._cachedMeta,c=this.resolveDataElementOptions(t,r),d=this.getSharedOptions(c),u=this.includeOptions(r,d),f=l.axis,m=o.axis,{spanGaps:h,segment:A}=this.options,g=$e(h)?h:Number.POSITIVE_INFINITY,p=this.chart._animationsDisabled||n||"none"===r;let b=t>0&&this.getParsed(t-1);for(let c=t;c<t+i;++c){const t=e[c],i=this.getParsed(c),h=p?t:{},C=_e(i[m]),_=h[f]=l.getPixelForValue(i[f],c),v=h[m]=n||C?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,i,s):i[m],c);h.skip=isNaN(_)||isNaN(v)||C,h.stop=c>0&&Math.abs(i[f]-b[f])>g,A&&(h.parsed=i,h.raw=a.data[c]),u&&(h.options=d||this.resolveDataElementOptions(c,t.active?"active":r)),p||this.updateElement(t,c,h,r),b=i}this.updateSharedOptions(d,r,c)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}const i=e.dataset,r=i.options&&i.options.borderWidth||0;if(!t.length)return r;const n=t[0].size(this.resolveDataElementOptions(0)),l=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,n,l)/2}}kn.id="scatter",kn.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},kn.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:e=>"("+e.label+", "+e.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Pn=Object.freeze({__proto__:null,BarController:cn,BubbleController:dn,DoughnutController:un,LineController:fn,PolarAreaController:mn,PieController:hn,RadarController:An,ScatterController:kn});function Ln(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Hn{constructor(e){this.options=e||{}}init(e){}formats(){return Ln()}parse(e,t){return Ln()}format(e,t){return Ln()}add(e,t,i){return Ln()}diff(e,t,i){return Ln()}startOf(e,t,i){return Ln()}endOf(e,t){return Ln()}}Hn.override=function(e){Object.assign(Hn.prototype,e)};var In={_date:Hn};function Fn(e,t,i,r){const{controller:n,data:l,_sorted:o}=e,s=n._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&o&&l.length){const e=s._reversePixels?ht:mt;if(!r)return e(l,t,i);if(n._sharedOptions){const r=l[0],n="function"==typeof r.getRange&&r.getRange(t);if(n){const r=e(l,t,i-n),o=e(l,t,i+n);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:l.length-1}}function Qn(e,t,i,r,n){const l=e.getSortedVisibleDatasetMetas(),o=i[t];for(let e=0,i=l.length;e<i;++e){const{index:i,data:s}=l[e],{lo:a,hi:c}=Fn(l[e],t,o,n);for(let e=a;e<=c;++e){const t=s[e];t.skip||r(t,i,e)}}}function On(e,t,i,r,n){const l=[];if(!n&&!e.isPointInArea(t))return l;return Qn(e,i,t,(function(i,o,s){(n||xi(i,e.chartArea,0))&&i.inRange(t.x,t.y,r)&&l.push({element:i,datasetIndex:o,index:s})}),!0),l}function Rn(e,t,i,r,n,l){let o=[];const s=function(e){const t=-1!==e.indexOf("x"),i=-1!==e.indexOf("y");return function(e,r){const n=t?Math.abs(e.x-r.x):0,l=i?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(l,2))}}(i);let a=Number.POSITIVE_INFINITY;return Qn(e,i,t,(function(i,c,d){const u=i.inRange(t.x,t.y,n);if(r&&!u)return;const f=i.getCenterPoint(n);if(!(!!l||e.isPointInArea(f))&&!u)return;const m=s(t,f);m<a?(o=[{element:i,datasetIndex:c,index:d}],a=m):m===a&&o.push({element:i,datasetIndex:c,index:d})})),o}function Vn(e,t,i,r,n,l){return l||e.isPointInArea(t)?"r"!==i||r?Rn(e,t,i,r,n,l):function(e,t,i,r){let n=[];return Qn(e,i,t,(function(e,i,l){const{startAngle:o,endAngle:s}=e.getProps(["startAngle","endAngle"],r),{angle:a}=lt(e,{x:t.x,y:t.y});ct(a,o,s)&&n.push({element:e,datasetIndex:i,index:l})})),n}(e,t,i,n):[]}function zn(e,t,i,r,n){const l=[],o="x"===i?"inXRange":"inYRange";let s=!1;return Qn(e,i,t,((e,r,a)=>{e[o](t[i],n)&&(l.push({element:e,datasetIndex:r,index:a}),s=s||e.inRange(t.x,t.y,n))})),r&&!s?[]:l}var Yn={evaluateInteractionItems:Qn,modes:{index(e,t,i,r){const n=Ar(t,e),l=i.axis||"x",o=i.includeInvisible||!1,s=i.intersect?On(e,n,l,r,o):Vn(e,n,l,!1,r,o),a=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=s[0].index,i=e.data[t];i&&!i.skip&&a.push({element:i,datasetIndex:e.index,index:t})})),a):[]},dataset(e,t,i,r){const n=Ar(t,e),l=i.axis||"xy",o=i.includeInvisible||!1;let s=i.intersect?On(e,n,l,r,o):Vn(e,n,l,!1,r,o);if(s.length>0){const t=s[0].datasetIndex,i=e.getDatasetMeta(t).data;s=[];for(let e=0;e<i.length;++e)s.push({element:i[e],datasetIndex:t,index:e})}return s},point:(e,t,i,r)=>On(e,Ar(t,e),i.axis||"xy",r,i.includeInvisible||!1),nearest(e,t,i,r){const n=Ar(t,e),l=i.axis||"xy",o=i.includeInvisible||!1;return Vn(e,n,l,i.intersect,r,o)},x:(e,t,i,r)=>zn(e,Ar(t,e),"x",i.intersect,r),y:(e,t,i,r)=>zn(e,Ar(t,e),"y",i.intersect,r)}};const Sn=["left","top","right","bottom"];function jn(e,t){return e.filter((e=>e.pos===t))}function Tn(e,t){return e.filter((e=>-1===Sn.indexOf(e.pos)&&e.box.axis===t))}function Wn(e,t){return e.sort(((e,i)=>{const r=t?i:e,n=t?e:i;return r.weight===n.weight?r.index-n.index:r.weight-n.weight}))}function Xn(e,t){const i=function(e){const t={};for(const i of e){const{stack:e,pos:r,stackWeight:n}=i;if(!e||!Sn.includes(r))continue;const l=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});l.count++,l.weight+=n}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:n}=t;let l,o,s;for(l=0,o=e.length;l<o;++l){s=e[l];const{fullSize:o}=s.box,a=i[s.stack],c=a&&s.stackWeight/a.weight;s.horizontal?(s.width=c?c*r:o&&t.availableWidth,s.height=n):(s.width=r,s.height=c?c*n:o&&t.availableHeight)}return i}function Zn(e,t,i,r){return Math.max(e[i],t[i])+Math.max(e[r],t[r])}function Un(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Gn(e,t,i,r){const{pos:n,box:l}=i,o=e.maxPadding;if(!xe(n)){i.size&&(e[n]-=i.size);const t=r[i.stack]||{size:0,count:1};t.size=Math.max(t.size,i.horizontal?l.height:l.width),i.size=t.size/t.count,e[n]+=i.size}l.getPadding&&Un(o,l.getPadding());const s=Math.max(0,t.outerWidth-Zn(o,e,"left","right")),a=Math.max(0,t.outerHeight-Zn(o,e,"top","bottom")),c=s!==e.w,d=a!==e.h;return e.w=s,e.h=a,i.horizontal?{same:c,other:d}:{same:d,other:c}}function Kn(e,t){const i=t.maxPadding;function r(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],i[e])})),r}return r(e?["left","right"]:["top","bottom"])}function qn(e,t,i,r){const n=[];let l,o,s,a,c,d;for(l=0,o=e.length,c=0;l<o;++l){s=e[l],a=s.box,a.update(s.width||t.w,s.height||t.h,Kn(s.horizontal,t));const{same:o,other:u}=Gn(t,i,s,r);c|=o&&n.length,d=d||u,a.fullSize||n.push(s)}return c&&qn(n,t,i,r)||d}function Jn(e,t,i,r,n){e.top=i,e.left=t,e.right=t+r,e.bottom=i+n,e.width=r,e.height=n}function $n(e,t,i,r){const n=i.padding;let{x:l,y:o}=t;for(const s of e){const e=s.box,a=r[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/a.weight||1;if(s.horizontal){const r=t.w*c,l=a.size||e.height;Ve(a.start)&&(o=a.start),e.fullSize?Jn(e,n.left,o,i.outerWidth-n.right-n.left,l):Jn(e,t.left+a.placed,o,r,l),a.start=o,a.placed+=r,o=e.bottom}else{const r=t.h*c,o=a.size||e.width;Ve(a.start)&&(l=a.start),e.fullSize?Jn(e,l,n.top,o,i.outerHeight-n.bottom-n.top):Jn(e,l,t.top+a.placed,o,r),a.start=l,a.placed+=r,l=e.right}}t.x=l,t.y=o}Ai.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var el={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;-1!==i&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,r){if(!e)return;const n=Oi(e.options.layout.padding),l=Math.max(t-n.width,0),o=Math.max(i-n.height,0),s=function(e){const t=function(e){const t=[];let i,r,n,l,o,s;for(i=0,r=(e||[]).length;i<r;++i)n=e[i],({position:l,options:{stack:o,stackWeight:s=1}}=n),t.push({index:i,box:n,pos:l,horizontal:n.isHorizontal(),weight:n.weight,stack:o&&l+o,stackWeight:s});return t}(e),i=Wn(t.filter((e=>e.box.fullSize)),!0),r=Wn(jn(t,"left"),!0),n=Wn(jn(t,"right")),l=Wn(jn(t,"top"),!0),o=Wn(jn(t,"bottom")),s=Tn(t,"x"),a=Tn(t,"y");return{fullSize:i,leftAndTop:r.concat(l),rightAndBottom:n.concat(a).concat(o).concat(s),chartArea:jn(t,"chartArea"),vertical:r.concat(n).concat(a),horizontal:l.concat(o).concat(s)}}(e.boxes),a=s.vertical,c=s.horizontal;Be(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const d=a.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,u=Object.freeze({outerWidth:t,outerHeight:i,padding:n,availableWidth:l,availableHeight:o,vBoxMaxWidth:l/2/d,hBoxMaxHeight:o/2}),f=Object.assign({},n);Un(f,Oi(r));const m=Object.assign({maxPadding:f,w:l,h:o,x:n.left,y:n.top},n),h=Xn(a.concat(c),u);qn(s.fullSize,m,u,h),qn(a,m,u,h),qn(c,m,u,h)&&qn(a,m,u,h),function(e){const t=e.maxPadding;function i(i){const r=Math.max(t[i]-e[i],0);return e[i]+=r,r}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}(m),$n(s.leftAndTop,m,u,h),m.x+=m.w,m.y+=m.h,$n(s.rightAndBottom,m,u,h),e.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Be(s.chartArea,(t=>{const i=t.box;Object.assign(i,e.chartArea),i.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})}))}};class tl{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,r){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):i)}}isAttached(e){return!0}updateConfig(e){}}class il extends tl{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const rl="$chartjs",nl={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ll=e=>null===e||""===e;const ol=!!Cr&&{passive:!0};function sl(e,t,i){e.canvas.removeEventListener(t,i,ol)}function al(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function cl(e,t,i){const r=e.canvas,n=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||al(i.addedNodes,r),t=t&&!al(i.removedNodes,r);t&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function dl(e,t,i){const r=e.canvas,n=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||al(i.removedNodes,r),t=t&&!al(i.addedNodes,r);t&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const ul=new Map;let fl=0;function ml(){const e=window.devicePixelRatio;e!==fl&&(fl=e,ul.forEach(((t,i)=>{i.currentDevicePixelRatio!==e&&t()})))}function hl(e,t,i){const r=e.canvas,n=r&&cr(r);if(!n)return;const l=Ct(((e,t)=>{const r=n.clientWidth;i(e,t),r<n.clientWidth&&i()}),window),o=new ResizeObserver((e=>{const t=e[0],i=t.contentRect.width,r=t.contentRect.height;0===i&&0===r||l(i,r)}));return o.observe(n),function(e,t){ul.size||window.addEventListener("resize",ml),ul.set(e,t)}(e,l),o}function Al(e,t,i){i&&i.disconnect(),"resize"===t&&function(e){ul.delete(e),ul.size||window.removeEventListener("resize",ml)}(e)}function gl(e,t,i){const r=e.canvas,n=Ct((t=>{null!==e.ctx&&i(function(e,t){const i=nl[e.type]||e.type,{x:r,y:n}=Ar(e,t);return{type:i,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==n?n:null}}(t,e))}),e,(e=>{const t=e[0];return[t,t.offsetX,t.offsetY]}));return function(e,t,i){e.addEventListener(t,i,ol)}(r,t,n),n}class pl extends tl{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(function(e,t){const i=e.style,r=e.getAttribute("height"),n=e.getAttribute("width");if(e[rl]={initial:{height:r,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",ll(n)){const t=_r(e,"width");void 0!==t&&(e.width=t)}if(ll(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=_r(e,"height");void 0!==t&&(e.height=t)}}(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[rl])return!1;const i=t[rl].initial;["height","width"].forEach((e=>{const r=i[e];_e(r)?t.removeAttribute(e):t.setAttribute(e,r)}));const r=i.style||{};return Object.keys(r).forEach((e=>{t.style[e]=r[e]})),t.width=t.width,delete t[rl],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),n={attach:cl,detach:dl,resize:hl}[t]||gl;r[t]=n(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),r=i[t];if(!r)return;({attach:Al,detach:Al,resize:Al}[t]||sl)(e,t,r),i[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,r){return pr(e,t,i,r)}isAttached(e){const t=cr(e);return!(!t||!t.isConnected)}}class bl{constructor(){this._init=[]}notify(e,t,i,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const n=r?this._descriptors(e).filter(r):this._descriptors(e),l=this._notify(n,e,t,i);return"afterDestroy"===t&&(this._notify(n,e,"stop"),this._notify(this._init,e,"uninstall")),l}_notify(e,t,i,r){r=r||{};for(const n of e){const e=n.plugin;if(!1===De(e[i],[t,r,n.options],e)&&r.cancelable)return!1}return!0}invalidate(){_e(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const i=e&&e.config,r=Ee(i.options&&i.options.plugins,{}),n=function(e){const t={},i=[],r=Object.keys(Mn.plugins.items);for(let e=0;e<r.length;e++)i.push(Mn.getPlugin(r[e]));const n=e.plugins||[];for(let e=0;e<n.length;e++){const r=n[e];-1===i.indexOf(r)&&(i.push(r),t[r.id]=!0)}return{plugins:i,localIds:t}}(i);return!1!==r||t?function(e,{plugins:t,localIds:i},r,n){const l=[],o=e.getContext();for(const s of t){const t=s.id,a=Cl(r[t],n);null!==a&&l.push({plugin:s,options:_l(e.config,{plugin:s,local:i[t]},a,o)})}return l}(e,n,r,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],i=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,i),e,"stop"),this._notify(r(i,t),e,"start")}}function Cl(e,t){return t||!1!==e?!0===e?{}:e:null}function _l(e,{plugin:t,local:i},r,n){const l=e.pluginScopeKeys(t),o=e.getOptionScopes(r,l);return i&&t.defaults&&o.push(t.defaults),e.createResolver(o,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function vl(e,t){const i=Ai.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function xl(e,t){return"x"===e||"y"===e?e:t.axis||("top"===(i=t.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||e.charAt(0).toLowerCase();var i}function Nl(e){const t=e.options||(e.options={});t.plugins=Ee(t.plugins,{}),t.scales=function(e,t){const i=ui[e.type]||{scales:{}},r=t.scales||{},n=vl(e.type,t),l=Object.create(null),o=Object.create(null);return Object.keys(r).forEach((e=>{const t=r[e];if(!xe(t))return console.error(`Invalid scale configuration for scale: ${e}`);if(t._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const s=xl(e,t),a=function(e,t){return e===t?"_index_":"_value_"}(s,n),c=i.scales||{};l[s]=l[s]||e,o[e]=Ie(Object.create(null),[{axis:s},t,c[s],c[a]])})),e.data.datasets.forEach((i=>{const n=i.type||e.type,s=i.indexAxis||vl(n,t),a=(ui[n]||{}).scales||{};Object.keys(a).forEach((e=>{const t=function(e,t){let i=e;return"_index_"===e?i=t:"_value_"===e&&(i="x"===t?"y":"x"),i}(e,s),n=i[t+"AxisID"]||l[t]||t;o[n]=o[n]||Object.create(null),Ie(o[n],[{axis:t},r[n],a[e]])}))})),Object.keys(o).forEach((e=>{const t=o[e];Ie(t,[Ai.scales[t.type],Ai.scale])})),o}(e,t)}function wl(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const El=new Map,yl=new Set;function Dl(e,t){let i=El.get(e);return i||(i=t(),El.set(e,i),yl.add(i)),i}const Bl=(e,t,i)=>{const r=Oe(t,i);void 0!==r&&e.add(r)};class Ml{constructor(e){this._config=function(e){return(e=e||{}).data=wl(e.data),Nl(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=wl(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Nl(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Dl(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Dl(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Dl(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Dl(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const i=this._scopeCache;let r=i.get(e);return r&&!t||(r=new Map,i.set(e,r)),r}getOptionScopes(e,t,i){const{options:r,type:n}=this,l=this._cachedScopes(e,i),o=l.get(t);if(o)return o;const s=new Set;t.forEach((t=>{e&&(s.add(e),t.forEach((t=>Bl(s,e,t)))),t.forEach((e=>Bl(s,r,e))),t.forEach((e=>Bl(s,ui[n]||{},e))),t.forEach((e=>Bl(s,Ai,e))),t.forEach((e=>Bl(s,fi,e)))}));const a=Array.from(s);return 0===a.length&&a.push(Object.create(null)),yl.has(t)&&l.set(t,a),a}chartOptionScopes(){const{options:e,type:t}=this;return[e,ui[t]||{},Ai.datasets[t]||{},{type:t},Ai,fi]}resolveNamedOptions(e,t,i,r=[""]){const n={$shared:!0},{resolver:l,subPrefixes:o}=kl(this._resolverCache,e,r);let s=l;if(function(e,t){const{isScriptable:i,isIndexable:r}=ji(e);for(const n of t){const t=i(n),l=r(n),o=(l||t)&&e[n];if(t&&(ze(o)||Pl(o))||l&&ve(o))return!0}return!1}(l,t)){n.$shared=!1;s=Si(l,i=ze(i)?i():i,this.createResolver(e,i,o))}for(const e of t)n[e]=s[e];return n}createResolver(e,t,i=[""],r){const{resolver:n}=kl(this._resolverCache,e,i);return xe(t)?Si(n,t,void 0,r):n}}function kl(e,t,i){let r=e.get(t);r||(r=new Map,e.set(t,r));const n=i.join();let l=r.get(n);if(!l){l={resolver:Yi(t,i),subPrefixes:i.filter((e=>!e.toLowerCase().includes("hover")))},r.set(n,l)}return l}const Pl=e=>xe(e)&&Object.getOwnPropertyNames(e).reduce(((t,i)=>t||ze(e[i])),!1);const Ll=["top","bottom","left","right","chartArea"];function Hl(e,t){return"top"===e||"bottom"===e||-1===Ll.indexOf(e)&&"x"===t}function Il(e,t){return function(i,r){return i[e]===r[e]?i[t]-r[t]:i[e]-r[e]}}function Fl(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),De(i&&i.onComplete,[e],t)}function Ql(e){const t=e.chart,i=t.options.animation;De(i&&i.onProgress,[e],t)}function Ol(e){return ar()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Rl={},Vl=e=>{const t=Ol(e);return Object.values(Rl).filter((e=>e.canvas===t)).pop()};function zl(e,t,i){const r=Object.keys(e);for(const n of r){const r=+n;if(r>=t){const l=e[n];delete e[n],(i>0||r>t)&&(e[r+i]=l)}}}let Yl=class{constructor(e,t){const i=this.config=new Ml(t),r=Ol(e),n=Vl(r);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const l=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(e){return!ar()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?il:pl}(r)),this.platform.updateConfig(i);const o=this.platform.acquireContext(r,l.aspectRatio),s=o&&o.canvas,a=s&&s.height,c=s&&s.width;this.id=Ce(),this.ctx=o,this.canvas=s,this.width=c,this.height=a,this._options=l,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bl,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let i;return function(...r){return t?(clearTimeout(i),i=setTimeout(e,t,r)):e.apply(this,r),t}}((e=>this.update(e)),l.resizeDelay||0),this._dataChanges=[],Rl[this.id]=this,o&&s?(Qr.listen(this,"complete",Fl),Qr.listen(this,"progress",Ql),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:r,_aspectRatio:n}=this;return _e(e)?t&&n?n:r?i/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():br(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ci(this.canvas,this.ctx),this}stop(){return Qr.stop(this),this}resize(e,t){Qr.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,r=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,l=this.platform.getMaximumSize(r,e,t,n),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=l.width,this.height=l.height,this._aspectRatio=this.aspectRatio,br(this,o,!0)&&(this.notifyPlugins("resize",{size:l}),De(i.onResize,[this,l],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Be(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,r=Object.keys(i).reduce(((e,t)=>(e[t]=!1,e)),{});let n=[];t&&(n=n.concat(Object.keys(t).map((e=>{const i=t[e],r=xl(e,i),n="r"===r,l="x"===r;return{options:i,dposition:n?"chartArea":l?"bottom":"left",dtype:n?"radialLinear":l?"category":"linear"}})))),Be(n,(t=>{const n=t.options,l=n.id,o=xl(l,n),s=Ee(n.type,t.dtype);void 0!==n.position&&Hl(n.position,o)===Hl(t.dposition)||(n.position=t.dposition),r[l]=!0;let a=null;if(l in i&&i[l].type===s)a=i[l];else{a=new(Mn.getScale(s))({id:l,type:s,ctx:this.ctx,chart:this}),i[a.id]=a}a.init(n,e)})),Be(r,((e,t)=>{e||delete i[t]})),Be(i,(e=>{el.configure(this,e,e.options),el.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort(((e,t)=>e.index-t.index)),i>t){for(let e=t;e<i;++e)this._destroyDatasetMeta(e);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(Il("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,i)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=t.length;i<r;i++){const r=t[i];let n=this.getDatasetMeta(i);const l=r.type||this.config.type;if(n.type&&n.type!==l&&(this._destroyDatasetMeta(i),n=this.getDatasetMeta(i)),n.type=l,n.indexAxis=r.indexAxis||vl(l,this.options),n.order=r.order||0,n.index=i,n.label=""+r.label,n.visible=this.isDatasetVisible(i),n.controller)n.controller.updateIndex(i),n.controller.linkScales();else{const t=Mn.getController(l),{datasetElementType:r,dataElementType:o}=Ai.datasets[l];Object.assign(t.prototype,{dataElementType:Mn.getElement(o),datasetElementType:r&&Mn.getElement(r)}),n.controller=new t(this,i),e.push(n.controller)}}return this._updateMetasets(),e}_resetElements(){Be(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let l=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),i=!r&&-1===n.indexOf(t);t.buildOrUpdateElements(i),l=Math.max(+t.getMaxOverflow(),l)}l=this._minPadding=i.layout.autoPadding?l:0,this._updateLayout(l),r||Be(n,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Il("z","_idx"));const{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Be(this.scales,(e=>{el.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);Ye(t,i)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:n}of t){zl(e,r,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),r=i(0);for(let e=1;e<t;e++)if(!Ye(r,i(e)))return;return Array.from(r).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;el.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],Be(this.boxes,(e=>{i&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,ze(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const i=this.getDatasetMeta(e),r={meta:i,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(i.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Qr.has(this)?this.attached&&!Qr.running(this)&&Qr.start(this):(this.draw(),Fl({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,i=[];let r,n;for(r=0,n=t.length;r<n;++r){const n=t[r];e&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i=e._clip,r=!i.disabled,n=this.chartArea,l={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",l)&&(r&&Ni(t,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),e.controller.draw(),r&&wi(t),l.cancelable=!1,this.notifyPlugins("afterDatasetDraw",l))}isPointInArea(e){return xi(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,r){const n=Yn.modes[t];return"function"==typeof n?n(this,e,i,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let r=i.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=zi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return"boolean"==typeof i.hidden?!i.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){const r=i?"show":"hide",n=this.getDatasetMeta(e),l=n.controller._resolveAnimations(void 0,r);Ve(t)?(n.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),l.update(n,{visible:i}),this.update((t=>t.datasetIndex===e?r:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Qr.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Ci(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete Rl[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,i=(i,r)=>{t.addEventListener(this,i,r),e[i]=r},r=(e,t,i)=>{e.offsetX=t,e.offsetY=i,this._eventHandler(e)};Be(this.options.events,(e=>i(e,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(i,r)=>{t.addEventListener(this,i,r),e[i]=r},r=(i,r)=>{e[i]&&(t.removeEventListener(this,i,r),delete e[i])},n=(e,t)=>{this.canvas&&this.resize(e,t)};let l;const o=()=>{r("attach",o),this.attached=!0,this.resize(),i("resize",n),i("detach",l)};l=()=>{this.attached=!1,r("resize",n),this._stop(),this._resize(0,0),i("attach",o)},t.isAttached(this.canvas)?o():l()}unbindEvents(){Be(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},Be(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const r=i?"set":"remove";let n,l,o,s;for("dataset"===t&&(n=this.getDatasetMeta(e[0].datasetIndex),n.controller["_"+r+"DatasetHoverStyle"]()),o=0,s=e.length;o<s;++o){l=e[o];const t=l&&this.getDatasetMeta(l.datasetIndex).controller;t&&t[r+"HoverStyle"](l.element,l.datasetIndex,l.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],i=e.map((({datasetIndex:e,index:t})=>{const i=this.getDatasetMeta(e);if(!i)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:i.data[t],index:t}}));!Me(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}_updateHoverStyles(e,t,i){const r=this.options.hover,n=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),l=n(t,e),o=i?e:n(e,t);l.length&&this.updateHoverStyle(l,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",i,r))return;const n=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(n||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:r=[],options:n}=this,l=t,o=this._getActiveElements(e,r,i,l),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),a=function(e,t,i,r){return i&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,i,s);i&&(this._lastEvent=null,De(n.onHover,[e,o,this],this),s&&De(n.onClick,[e,o,this],this));const c=!Me(o,r);return(c||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=a,c}_getActiveElements(e,t,i,r){if("mouseout"===e.type)return[];if(!i)return t;const n=this.options.hover;return this.getElementsAtEventForMode(e,n.mode,n,r)}};const Sl=()=>Be(Yl.instances,(e=>e._plugins.invalidate())),jl=!0;function Tl(e,t,i){const{startAngle:r,pixelMargin:n,x:l,y:o,outerRadius:s,innerRadius:a}=t;let c=n/s;e.beginPath(),e.arc(l,o,s,r-c,i+c),a>n?(c=n/a,e.arc(l,o,a,i+c,r-c,!0)):e.arc(l,o,n,i+Ze,r-Ze),e.closePath(),e.clip()}function Wl(e,t,i,r){const n=Ii(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const l=(i-t)/2,o=Math.min(l,r*t/2),s=e=>{const t=(i-Math.min(l,e))*r/2;return dt(e,0,Math.min(l,t))};return{outerStart:s(n.outerStart),outerEnd:s(n.outerEnd),innerStart:dt(n.innerStart,0,o),innerEnd:dt(n.innerEnd,0,o)}}function Xl(e,t,i,r){return{x:i+e*Math.cos(t),y:r+e*Math.sin(t)}}function Zl(e,t,i,r,n,l){const{x:o,y:s,startAngle:a,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+r+i-c,0),f=d>0?d+r+i+c:0;let m=0;const h=n-a;if(r){const e=((d>0?d-r:0)+(u>0?u-r:0))/2;m=(h-(0!==e?h*e/(e+r):h))/2}const A=(h-Math.max(.001,h*u-i/Se)/u)/2,g=a+A+m,p=n-A-m,{outerStart:b,outerEnd:C,innerStart:_,innerEnd:v}=Wl(t,f,u,p-g),x=u-b,N=u-C,w=g+b/x,E=p-C/N,y=f+_,D=f+v,B=g+_/y,M=p-v/D;if(e.beginPath(),l){if(e.arc(o,s,u,w,E),C>0){const t=Xl(N,E,o,s);e.arc(t.x,t.y,C,E,p+Ze)}const t=Xl(D,p,o,s);if(e.lineTo(t.x,t.y),v>0){const t=Xl(D,M,o,s);e.arc(t.x,t.y,v,p+Ze,M+Math.PI)}if(e.arc(o,s,f,p-v/f,g+_/f,!0),_>0){const t=Xl(y,B,o,s);e.arc(t.x,t.y,_,B+Math.PI,g-Ze)}const i=Xl(x,g,o,s);if(e.lineTo(i.x,i.y),b>0){const t=Xl(x,w,o,s);e.arc(t.x,t.y,b,g-Ze,w)}}else{e.moveTo(o,s);const t=Math.cos(w)*u+o,i=Math.sin(w)*u+s;e.lineTo(t,i);const r=Math.cos(E)*u+o,n=Math.sin(E)*u+s;e.lineTo(r,n)}e.closePath()}function Ul(e,t,i,r,n,l){const{options:o}=t,{borderWidth:s,borderJoinStyle:a}=o,c="inner"===o.borderAlign;s&&(c?(e.lineWidth=2*s,e.lineJoin=a||"round"):(e.lineWidth=s,e.lineJoin=a||"bevel"),t.fullCircles&&function(e,t,i){const{x:r,y:n,startAngle:l,pixelMargin:o,fullCircles:s}=t,a=Math.max(t.outerRadius-o,0),c=t.innerRadius+o;let d;for(i&&Tl(e,t,l+je),e.beginPath(),e.arc(r,n,c,l+je,l,!0),d=0;d<s;++d)e.stroke();for(e.beginPath(),e.arc(r,n,a,l,l+je),d=0;d<s;++d)e.stroke()}(e,t,c),c&&Tl(e,t,n),Zl(e,t,i,r,n,l),e.stroke())}Object.defineProperties(Yl,{defaults:{enumerable:jl,value:Ai},instances:{enumerable:jl,value:Rl},overrides:{enumerable:jl,value:ui},registry:{enumerable:jl,value:Mn},version:{enumerable:jl,value:"3.9.1"},getChart:{enumerable:jl,value:Vl},register:{enumerable:jl,value:(...e)=>{Mn.add(...e),Sl()}},unregister:{enumerable:jl,value:(...e)=>{Mn.remove(...e),Sl()}}});class Gl extends gn{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,i){const r=this.getProps(["x","y"],i),{angle:n,distance:l}=lt(r,{x:e,y:t}),{startAngle:o,endAngle:s,innerRadius:a,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,f=Ee(d,s-o)>=je||ct(n,o,s),m=ut(l,a+u,c+u);return f&&m}getCenterPoint(e){const{x:t,y:i,startAngle:r,endAngle:n,innerRadius:l,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:s,spacing:a}=this.options,c=(r+n)/2,d=(l+o+a+s)/2;return{x:t+Math.cos(c)*d,y:i+Math.sin(c)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:i}=this,r=(t.offset||0)/2,n=(t.spacing||0)/2,l=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=i>je?Math.floor(i/je):0,0===i||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=0;if(r){o=r/2;const t=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(t)*o,Math.sin(t)*o),this.circumference>=Se&&(o=r)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const s=function(e,t,i,r,n){const{fullCircles:l,startAngle:o,circumference:s}=t;let a=t.endAngle;if(l){Zl(e,t,i,r,o+je,n);for(let t=0;t<l;++t)e.fill();isNaN(s)||(a=o+s%je,s%je==0&&(a+=je))}return Zl(e,t,i,r,a,n),e.fill(),a}(e,this,o,n,l);Ul(e,this,o,n,s,l),e.restore()}}function Kl(e,t,i=t){e.lineCap=Ee(i.borderCapStyle,t.borderCapStyle),e.setLineDash(Ee(i.borderDash,t.borderDash)),e.lineDashOffset=Ee(i.borderDashOffset,t.borderDashOffset),e.lineJoin=Ee(i.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Ee(i.borderWidth,t.borderWidth),e.strokeStyle=Ee(i.borderColor,t.borderColor)}function ql(e,t,i){e.lineTo(i.x,i.y)}function Jl(e,t,i={}){const r=e.length,{start:n=0,end:l=r-1}=i,{start:o,end:s}=t,a=Math.max(n,o),c=Math.min(l,s),d=n<o&&l<o||n>s&&l>s;return{count:r,start:a,loop:t.loop,ilen:c<a&&!d?r+c-a:c-a}}function $l(e,t,i,r){const{points:n,options:l}=t,{count:o,start:s,loop:a,ilen:c}=Jl(n,i,r),d=function(e){return e.stepped?Ei:e.tension||"monotone"===e.cubicInterpolationMode?yi:ql}(l);let u,f,m,{move:h=!0,reverse:A}=r||{};for(u=0;u<=c;++u)f=n[(s+(A?c-u:u))%o],f.skip||(h?(e.moveTo(f.x,f.y),h=!1):d(e,m,f,A,l.stepped),m=f);return a&&(f=n[(s+(A?c:0))%o],d(e,m,f,A,l.stepped)),!!a}function eo(e,t,i,r){const n=t.points,{count:l,start:o,ilen:s}=Jl(n,i,r),{move:a=!0,reverse:c}=r||{};let d,u,f,m,h,A,g=0,p=0;const b=e=>(o+(c?s-e:e))%l,C=()=>{m!==h&&(e.lineTo(g,h),e.lineTo(g,m),e.lineTo(g,A))};for(a&&(u=n[b(0)],e.moveTo(u.x,u.y)),d=0;d<=s;++d){if(u=n[b(d)],u.skip)continue;const t=u.x,i=u.y,r=0|t;r===f?(i<m?m=i:i>h&&(h=i),g=(p*g+t)/++p):(C(),e.lineTo(t,i),f=r,p=0,m=h=i),A=i}C()}function to(e){const t=e.options,i=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||i)?eo:$l}Gl.id="arc",Gl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Gl.defaultRoutes={backgroundColor:"backgroundColor"};const io="function"==typeof Path2D;function ro(e,t,i,r){io&&!t.options.segment?function(e,t,i,r){let n=t._path;n||(n=t._path=new Path2D,t.path(n,i,r)&&n.closePath()),Kl(e,t.options),e.stroke(n)}(e,t,i,r):function(e,t,i,r){const{segments:n,options:l}=t,o=to(t);for(const s of n)Kl(e,l,s.style),e.beginPath(),o(e,t,s,{start:i,end:i+r-1})&&e.closePath(),e.stroke()}(e,t,i,r)}class no extends gn{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;sr(this._points,i,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const i=e.points,r=e.options.spanGaps,n=i.length;if(!n)return[];const l=!!e._loop,{start:o,end:s}=function(e,t,i,r){let n=0,l=t-1;if(i&&!r)for(;n<t&&!e[n].skip;)n++;for(;n<t&&e[n].skip;)n++;for(n%=t,i&&(l+=n);l>n&&e[l%t].skip;)l--;return l%=t,{start:n,end:l}}(i,n,l,r);return Hr(e,!0===r?[{start:o,end:s,loop:l}]:function(e,t,i,r){const n=e.length,l=[];let o,s=t,a=e[t];for(o=t+1;o<=i;++o){const i=e[o%n];i.skip||i.stop?a.skip||(r=!1,l.push({start:t%n,end:(o-1)%n,loop:r}),t=s=i.stop?o:null):(s=o,a.skip&&(t=o)),a=i}return null!==s&&l.push({start:t%n,end:s%n,loop:r}),l}(i,o,s<o?s+n:s,!!e._fullLoop&&0===o&&s===n-1),i,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,i=e.length;return i&&t[e[i-1].end]}interpolate(e,t){const i=this.options,r=e[t],n=this.points,l=Lr(this,{property:t,start:r,end:r});if(!l.length)return;const o=[],s=function(e){return e.stepped?xr:e.tension||"monotone"===e.cubicInterpolationMode?Nr:vr}(i);let a,c;for(a=0,c=l.length;a<c;++a){const{start:c,end:d}=l[a],u=n[c],f=n[d];if(u===f){o.push(u);continue}const m=s(u,f,Math.abs((r-u[t])/(f[t]-u[t])),i.stepped);m[t]=e[t],o.push(m)}return 1===o.length?o[0]:o}pathSegment(e,t,i){return to(this)(e,this,t,i)}path(e,t,i){const r=this.segments,n=to(this);let l=this._loop;t=t||0,i=i||this.points.length-t;for(const o of r)l&=n(e,this,o,{start:t,end:t+i-1});return!!l}draw(e,t,i,r){const n=this.options||{};(this.points||[]).length&&n.borderWidth&&(e.save(),ro(e,this,i,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function lo(e,t,i,r){const n=e.options,{[i]:l}=e.getProps([i],r);return Math.abs(t-l)<n.radius+n.hitRadius}no.id="line",no.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},no.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},no.descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};class oo extends gn{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,i){const r=this.options,{x:n,y:l}=this.getProps(["x","y"],i);return Math.pow(e-n,2)+Math.pow(t-l,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return lo(this,e,"x",t)}inYRange(e,t){return lo(this,e,"y",t)}getCenterPoint(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const i=this.options;this.skip||i.radius<.1||!xi(this,t,this.size(i)/2)||(e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.fillStyle=i.backgroundColor,_i(e,i,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function so(e,t){const{x:i,y:r,base:n,width:l,height:o}=e.getProps(["x","y","base","width","height"],t);let s,a,c,d,u;return e.horizontal?(u=o/2,s=Math.min(i,n),a=Math.max(i,n),c=r-u,d=r+u):(u=l/2,s=i-u,a=i+u,c=Math.min(r,n),d=Math.max(r,n)),{left:s,top:c,right:a,bottom:d}}function ao(e,t,i,r){return e?0:dt(t,i,r)}function co(e){const t=so(e),i=t.right-t.left,r=t.bottom-t.top,n=function(e,t,i){const r=e.options.borderWidth,n=e.borderSkipped,l=Fi(r);return{t:ao(n.top,l.top,0,i),r:ao(n.right,l.right,0,t),b:ao(n.bottom,l.bottom,0,i),l:ao(n.left,l.left,0,t)}}(e,i/2,r/2),l=function(e,t,i){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),n=e.options.borderRadius,l=Qi(n),o=Math.min(t,i),s=e.borderSkipped,a=r||xe(n);return{topLeft:ao(!a||s.top||s.left,l.topLeft,0,o),topRight:ao(!a||s.top||s.right,l.topRight,0,o),bottomLeft:ao(!a||s.bottom||s.left,l.bottomLeft,0,o),bottomRight:ao(!a||s.bottom||s.right,l.bottomRight,0,o)}}(e,i/2,r/2);return{outer:{x:t.left,y:t.top,w:i,h:r,radius:l},inner:{x:t.left+n.l,y:t.top+n.t,w:i-n.l-n.r,h:r-n.t-n.b,radius:{topLeft:Math.max(0,l.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,l.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,l.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,l.bottomRight-Math.max(n.b,n.r))}}}}function uo(e,t,i,r){const n=null===t,l=null===i,o=e&&!(n&&l)&&so(e,r);return o&&(n||ut(t,o.left,o.right))&&(l||ut(i,o.top,o.bottom))}function fo(e,t){e.rect(t.x,t.y,t.w,t.h)}function mo(e,t,i={}){const r=e.x!==i.x?-t:0,n=e.y!==i.y?-t:0,l=(e.x+e.w!==i.x+i.w?t:0)-r,o=(e.y+e.h!==i.y+i.h?t:0)-n;return{x:e.x+r,y:e.y+n,w:e.w+l,h:e.h+o,radius:e.radius}}oo.id="point",oo.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},oo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class ho extends gn{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:i,backgroundColor:r}}=this,{inner:n,outer:l}=co(this),o=(s=l.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?Mi:fo;var s;e.save(),l.w===n.w&&l.h===n.h||(e.beginPath(),o(e,mo(l,t,n)),e.clip(),o(e,mo(n,-t,l)),e.fillStyle=i,e.fill("evenodd")),e.beginPath(),o(e,mo(n,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,i){return uo(this,e,t,i)}inXRange(e,t){return uo(this,e,null,t)}inYRange(e,t){return uo(this,null,e,t)}getCenterPoint(e){const{x:t,y:i,base:r,horizontal:n}=this.getProps(["x","y","base","horizontal"],e);return{x:n?(t+r)/2:t,y:n?i:(i+r)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}ho.id="bar",ho.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},ho.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Ao=Object.freeze({__proto__:null,ArcElement:Gl,LineElement:no,PointElement:oo,BarElement:ho});function go(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function po(e){e.data.datasets.forEach((e=>{go(e)}))}var bo={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,i)=>{if(!i.enabled)return void po(e);const r=e.width;e.data.datasets.forEach(((t,n)=>{const{_data:l,indexAxis:o}=t,s=e.getDatasetMeta(n),a=l||t.data;if("y"===Vi([o,e.options.indexAxis]))return;if(!s.controller.supportsDecimation)return;const c=e.scales[s.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(e.options.parsing)return;let{start:d,count:u}=function(e,t){const i=t.length;let r,n=0;const{iScale:l}=e,{min:o,max:s,minDefined:a,maxDefined:c}=l.getUserBounds();return a&&(n=dt(mt(t,l.axis,o).lo,0,i-1)),r=c?dt(mt(t,l.axis,s).hi+1,n,i)-n:i-n,{start:n,count:r}}(s,a);if(u<=(i.threshold||4*r))return void go(t);let f;switch(_e(l)&&(t._data=a,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),i.algorithm){case"lttb":f=function(e,t,i,r,n){const l=n.samples||r;if(l>=i)return e.slice(t,t+i);const o=[],s=(i-2)/(l-2);let a=0;const c=t+i-1;let d,u,f,m,h,A=t;for(o[a++]=e[A],d=0;d<l-2;d++){let r,n=0,l=0;const c=Math.floor((d+1)*s)+1+t,g=Math.min(Math.floor((d+2)*s)+1,i)+t,p=g-c;for(r=c;r<g;r++)n+=e[r].x,l+=e[r].y;n/=p,l/=p;const b=Math.floor(d*s)+1+t,C=Math.min(Math.floor((d+1)*s)+1,i)+t,{x:_,y:v}=e[A];for(f=m=-1,r=b;r<C;r++)m=.5*Math.abs((_-n)*(e[r].y-v)-(_-e[r].x)*(l-v)),m>f&&(f=m,u=e[r],h=r);o[a++]=u,A=h}return o[a++]=e[c],o}(a,d,u,r,i);break;case"min-max":f=function(e,t,i,r){let n,l,o,s,a,c,d,u,f,m,h=0,A=0;const g=[],p=t+i-1,b=e[t].x,C=e[p].x-b;for(n=t;n<t+i;++n){l=e[n],o=(l.x-b)/C*r,s=l.y;const t=0|o;if(t===a)s<f?(f=s,c=n):s>m&&(m=s,d=n),h=(A*h+l.x)/++A;else{const i=n-1;if(!_e(c)&&!_e(d)){const t=Math.min(c,d),r=Math.max(c,d);t!==u&&t!==i&&g.push({...e[t],x:h}),r!==u&&r!==i&&g.push({...e[r],x:h})}n>0&&i!==u&&g.push(e[i]),g.push(l),a=t,A=0,f=m=s,c=d=u=n}}return g}(a,d,u,r);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}t._decimated=f}))},destroy(e){po(e)}};function Co(e,t,i,r){if(r)return;let n=t[e],l=i[e];return"angle"===e&&(n=at(n),l=at(l)),{property:e,start:n,end:l}}function _o(e,t,i){for(;t>e;t--){const e=i[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function vo(e,t,i,r){return e&&t?r(e[i],t[i]):e?e[i]:t?t[i]:0}function xo(e,t){let i=[],r=!1;return ve(e)?(r=!0,i=e):i=function(e,t){const{x:i=null,y:r=null}=e||{},n=t.points,l=[];return t.segments.forEach((({start:e,end:t})=>{t=_o(e,t,n);const o=n[e],s=n[t];null!==r?(l.push({x:o.x,y:r}),l.push({x:s.x,y:r})):null!==i&&(l.push({x:i,y:o.y}),l.push({x:i,y:s.y}))})),l}(e,t),i.length?new no({points:i,options:{tension:0},_loop:r,_fullLoop:r}):null}function No(e){return e&&!1!==e.fill}function wo(e,t,i){let r=e[t].fill;const n=[t];let l;if(!i)return r;for(;!1!==r&&-1===n.indexOf(r);){if(!Ne(r))return r;if(l=e[r],!l)return!1;if(l.visible)return r;n.push(r),r=l.fill}return!1}function Eo(e,t,i){const r=function(e){const t=e.options,i=t.fill;let r=Ee(i&&i.target,i);void 0===r&&(r=!!t.backgroundColor);if(!1===r||null===r)return!1;if(!0===r)return"origin";return r}(e);if(xe(r))return!isNaN(r.value)&&r;let n=parseFloat(r);return Ne(n)&&Math.floor(n)===n?function(e,t,i,r){"-"!==e&&"+"!==e||(i=t+i);if(i===t||i<0||i>=r)return!1;return i}(r[0],t,n,i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function yo(e,t,i){const r=[];for(let n=0;n<i.length;n++){const l=i[n],{first:o,last:s,point:a}=Do(l,t,"x");if(!(!a||o&&s))if(o)r.unshift(a);else if(e.push(a),!s)break}e.push(...r)}function Do(e,t,i){const r=e.interpolate(t,i);if(!r)return{};const n=r[i],l=e.segments,o=e.points;let s=!1,a=!1;for(let e=0;e<l.length;e++){const t=l[e],r=o[t.start][i],c=o[t.end][i];if(ut(n,r,c)){s=n===r,a=n===c;break}}return{first:s,last:a,point:r}}class Bo{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,i){const{x:r,y:n,radius:l}=this;return t=t||{start:0,end:je},e.arc(r,n,l,t.end,t.start,!0),!i.bounds}interpolate(e){const{x:t,y:i,radius:r}=this,n=e.angle;return{x:t+Math.cos(n)*r,y:i+Math.sin(n)*r,angle:n}}}function Mo(e){const{chart:t,fill:i,line:r}=e;if(Ne(i))return function(e,t){const i=e.getDatasetMeta(t),r=i&&e.isDatasetVisible(t);return r?i.dataset:null}(t,i);if("stack"===i)return function(e){const{scale:t,index:i,line:r}=e,n=[],l=r.segments,o=r.points,s=function(e,t){const i=[],r=e.getMatchingVisibleMetas("line");for(let e=0;e<r.length;e++){const n=r[e];if(n.index===t)break;n.hidden||i.unshift(n.dataset)}return i}(t,i);s.push(xo({x:null,y:t.bottom},r));for(let e=0;e<l.length;e++){const t=l[e];for(let e=t.start;e<=t.end;e++)yo(n,o[e],s)}return new no({points:n,options:{}})}(e);if("shape"===i)return!0;const n=function(e){const t=e.scale||{};if(t.getPointPositionForValue)return function(e){const{scale:t,fill:i}=e,r=t.options,n=t.getLabels().length,l=r.reverse?t.max:t.min,o=function(e,t,i){let r;return r="start"===e?i:"end"===e?t.options.reverse?t.min:t.max:xe(e)?e.value:t.getBaseValue(),r}(i,t,l),s=[];if(r.grid.circular){const e=t.getPointPositionForValue(0,l);return new Bo({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(o)})}for(let e=0;e<n;++e)s.push(t.getPointPositionForValue(e,o));return s}(e);return function(e){const{scale:t={},fill:i}=e,r=function(e,t){let i=null;return"start"===e?i=t.bottom:"end"===e?i=t.top:xe(e)?i=t.getPixelForValue(e.value):t.getBasePixel&&(i=t.getBasePixel()),i}(i,t);if(Ne(r)){const e=t.isHorizontal();return{x:e?r:null,y:e?null:r}}return null}(e)}(e);return n instanceof Bo?n:xo(n,r)}function ko(e,t,i){const r=Mo(t),{line:n,scale:l,axis:o}=t,s=n.options,a=s.fill,c=s.backgroundColor,{above:d=c,below:u=c}=a||{};r&&n.points.length&&(Ni(e,i),function(e,t){const{line:i,target:r,above:n,below:l,area:o,scale:s}=t,a=i._loop?"angle":t.axis;e.save(),"x"===a&&l!==n&&(Po(e,r,o.top),Lo(e,{line:i,target:r,color:n,scale:s,property:a}),e.restore(),e.save(),Po(e,r,o.bottom));Lo(e,{line:i,target:r,color:l,scale:s,property:a}),e.restore()}(e,{line:n,target:r,above:d,below:u,area:i,scale:l,axis:o}),wi(e))}function Po(e,t,i){const{segments:r,points:n}=t;let l=!0,o=!1;e.beginPath();for(const s of r){const{start:r,end:a}=s,c=n[r],d=n[_o(r,a,n)];l?(e.moveTo(c.x,c.y),l=!1):(e.lineTo(c.x,i),e.lineTo(c.x,c.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(d.x,i)}e.lineTo(t.first().x,i),e.closePath(),e.clip()}function Lo(e,t){const{line:i,target:r,property:n,color:l,scale:o}=t,s=function(e,t,i){const r=e.segments,n=e.points,l=t.points,o=[];for(const e of r){let{start:r,end:s}=e;s=_o(r,s,n);const a=Co(i,n[r],n[s],e.loop);if(!t.segments){o.push({source:e,target:a,start:n[r],end:n[s]});continue}const c=Lr(t,a);for(const t of c){const r=Co(i,l[t.start],l[t.end],t.loop),s=Pr(e,n,r);for(const e of s)o.push({source:e,target:t,start:{[i]:vo(a,r,"start",Math.max)},end:{[i]:vo(a,r,"end",Math.min)}})}}return o}(i,r,n);for(const{source:t,target:a,start:c,end:d}of s){const{style:{backgroundColor:s=l}={}}=t,u=!0!==r;e.save(),e.fillStyle=s,Ho(e,o,u&&Co(n,c,d)),e.beginPath();const f=!!i.pathSegment(e,t);let m;if(u){f?e.closePath():Io(e,r,d,n);const t=!!r.pathSegment(e,a,{move:f,reverse:!0});m=f&&t,m||Io(e,r,c,n)}e.closePath(),e.fill(m?"evenodd":"nonzero"),e.restore()}}function Ho(e,t,i){const{top:r,bottom:n}=t.chart.chartArea,{property:l,start:o,end:s}=i||{};"x"===l&&(e.beginPath(),e.rect(o,r,s-o,n-r),e.clip())}function Io(e,t,i,r){const n=t.interpolate(i,r);n&&e.lineTo(n.x,n.y)}var Fo={id:"filler",afterDatasetsUpdate(e,t,i){const r=(e.data.datasets||[]).length,n=[];let l,o,s,a;for(o=0;o<r;++o)l=e.getDatasetMeta(o),s=l.dataset,a=null,s&&s.options&&s instanceof no&&(a={visible:e.isDatasetVisible(o),index:o,fill:Eo(s,o,r),chart:e,axis:l.controller.options.indexAxis,scale:l.vScale,line:s}),l.$filler=a,n.push(a);for(o=0;o<r;++o)a=n[o],a&&!1!==a.fill&&(a.fill=wo(n,o,i.propagate))},beforeDraw(e,t,i){const r="beforeDraw"===i.drawTime,n=e.getSortedVisibleDatasetMetas(),l=e.chartArea;for(let t=n.length-1;t>=0;--t){const i=n[t].$filler;i&&(i.line.updateControlPoints(l,i.axis),r&&i.fill&&ko(e.ctx,i,l))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"!==i.drawTime)return;const r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){const i=r[t].$filler;No(i)&&ko(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,i){const r=t.meta.$filler;No(r)&&"beforeDatasetDraw"===i.drawTime&&ko(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Qo=(e,t)=>{let{boxHeight:i=t,boxWidth:r=t}=e;return e.usePointStyle&&(i=Math.min(i,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:i,itemHeight:Math.max(t,i)}};class Oo extends gn{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=De(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,i)=>e.sort(t,i,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const i=e.labels,r=Ri(i.font),n=r.size,l=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Qo(i,n);let a,c;t.font=r.string,this.isHorizontal()?(a=this.maxWidth,c=this._fitRows(l,n,o,s)+10):(c=this.maxHeight,a=this._fitCols(l,n,o,s)+10),this.width=Math.min(a,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,r){const{ctx:n,maxWidth:l,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],a=this.lineWidths=[0],c=r+o;let d=e;n.textAlign="left",n.textBaseline="middle";let u=-1,f=-c;return this.legendItems.forEach(((e,m)=>{const h=i+t/2+n.measureText(e.text).width;(0===m||a[a.length-1]+h+2*o>l)&&(d+=c,a[a.length-(m>0?0:1)]=0,f+=c,u++),s[m]={left:0,top:f,row:u,width:h,height:r},a[a.length-1]+=h+o})),d}_fitCols(e,t,i,r){const{ctx:n,maxHeight:l,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],a=this.columnSizes=[],c=l-e;let d=o,u=0,f=0,m=0,h=0;return this.legendItems.forEach(((e,l)=>{const A=i+t/2+n.measureText(e.text).width;l>0&&f+r+2*o>c&&(d+=u+o,a.push({width:u,height:f}),m+=u+o,h++,u=f=0),s[l]={left:m,top:f,col:h,width:A,height:r},u=Math.max(u,A),f+=r+o})),d+=u,a.push({width:u,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:r},rtl:n}}=this,l=yr(n,this.left,this.width);if(this.isHorizontal()){let n=0,o=vt(i,this.left+r,this.right-this.lineWidths[n]);for(const s of t)n!==s.row&&(n=s.row,o=vt(i,this.left+r,this.right-this.lineWidths[n])),s.top+=this.top+e+r,s.left=l.leftForLtr(l.x(o),s.width),o+=s.width+r}else{let n=0,o=vt(i,this.top+e+r,this.bottom-this.columnSizes[n].height);for(const s of t)s.col!==n&&(n=s.col,o=vt(i,this.top+e+r,this.bottom-this.columnSizes[n].height)),s.top=o,s.left+=this.left+r,s.left=l.leftForLtr(l.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Ni(e,this),this._draw(),wi(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:r}=this,{align:n,labels:l}=e,o=Ai.color,s=yr(e.rtl,this.left,this.width),a=Ri(l.font),{color:c,padding:d}=l,u=a.size,f=u/2;let m;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=a.string;const{boxWidth:h,boxHeight:A,itemHeight:g}=Qo(l,u),p=this.isHorizontal(),b=this._computeTitleHeight();m=p?{x:vt(n,this.left+d,this.right-i[0]),y:this.top+d+b,line:0}:{x:this.left+d,y:vt(n,this.top+b+d,this.bottom-t[0].height),line:0},Dr(this.ctx,e.textDirection);const C=g+d;this.legendItems.forEach(((_,v)=>{r.strokeStyle=_.fontColor||c,r.fillStyle=_.fontColor||c;const x=r.measureText(_.text).width,N=s.textAlign(_.textAlign||(_.textAlign=l.textAlign)),w=h+f+x;let E=m.x,y=m.y;s.setWidth(this.width),p?v>0&&E+w+d>this.right&&(y=m.y+=C,m.line++,E=m.x=vt(n,this.left+d,this.right-i[m.line])):v>0&&y+C>this.bottom&&(E=m.x=E+t[m.line].width+d,m.line++,y=m.y=vt(n,this.top+b+d,this.bottom-t[m.line].height));!function(e,t,i){if(isNaN(h)||h<=0||isNaN(A)||A<0)return;r.save();const n=Ee(i.lineWidth,1);if(r.fillStyle=Ee(i.fillStyle,o),r.lineCap=Ee(i.lineCap,"butt"),r.lineDashOffset=Ee(i.lineDashOffset,0),r.lineJoin=Ee(i.lineJoin,"miter"),r.lineWidth=n,r.strokeStyle=Ee(i.strokeStyle,o),r.setLineDash(Ee(i.lineDash,[])),l.usePointStyle){const o={radius:A*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},a=s.xPlus(e,h/2);vi(r,o,a,t+f,l.pointStyleWidth&&h)}else{const l=t+Math.max((u-A)/2,0),o=s.leftForLtr(e,h),a=Qi(i.borderRadius);r.beginPath(),Object.values(a).some((e=>0!==e))?Mi(r,{x:o,y:l,w:h,h:A,radius:a}):r.rect(o,l,h,A),r.fill(),0!==n&&r.stroke()}r.restore()}(s.x(E),y,_),E=((e,t,i,r)=>e===(r?"left":"right")?i:"center"===e?(t+i)/2:t)(N,E+h+f,p?E+w:this.right,e.rtl),function(e,t,i){Di(r,i.text,e,t+g/2,a,{strikethrough:i.hidden,textAlign:s.textAlign(i.textAlign)})}(s.x(E),y,_),p?m.x+=w+d:m.y+=C})),Br(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=Ri(t.font),r=Oi(t.padding);if(!t.display)return;const n=yr(e.rtl,this.left,this.width),l=this.ctx,o=t.position,s=i.size/2,a=r.top+s;let c,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),c=this.top+a,d=vt(e.align,d,this.right-u);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=a+vt(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=vt(o,d,d+u);l.textAlign=n.textAlign(_t(o)),l.textBaseline="middle",l.strokeStyle=t.color,l.fillStyle=t.color,l.font=i.string,Di(l,t.text,f,c,i)}_computeTitleHeight(){const e=this.options.title,t=Ri(e.font),i=Oi(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,r,n;if(ut(e,this.left,this.right)&&ut(t,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(r=n[i],ut(e,r.left,r.left+r.width)&&ut(t,r.top,r.top+r.height))return this.legendItems[i];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const i=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const l=this._hoveredItem,o=(n=i,null!==(r=l)&&null!==n&&r.datasetIndex===n.datasetIndex&&r.index===n.index);l&&!o&&De(t.onLeave,[e,l,this],this),this._hoveredItem=i,i&&!o&&De(t.onHover,[e,i,this],this)}else i&&De(t.onClick,[e,i,this],this);var r,n}}var Ro={id:"legend",_element:Oo,start(e,t,i){const r=e.legend=new Oo({ctx:e.ctx,options:i,chart:e});el.configure(e,r,i),el.addBox(e,r)},stop(e){el.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){const r=e.legend;el.configure(e,r,i),r.options=i},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){const r=t.datasetIndex,n=i.chart;n.isDatasetVisible(r)?(n.hide(r),t.hidden=!0):(n.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:r,textAlign:n,color:l}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const o=e.controller.getStyle(i?0:void 0),s=Oi(o.borderWidth);return{text:t[e.index].label,fillStyle:o.backgroundColor,fontColor:l,hidden:!e.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:o.borderColor,pointStyle:r||o.pointStyle,rotation:o.rotation,textAlign:n||o.textAlign,borderRadius:0,datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Vo extends gn{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const r=ve(i.text)?i.text.length:1;this._padding=Oi(i.padding);const n=r*Ri(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:i,bottom:r,right:n,options:l}=this,o=l.align;let s,a,c,d=0;return this.isHorizontal()?(a=vt(o,i,n),c=t+e,s=n-i):("left"===l.position?(a=i+e,c=vt(o,r,t),d=-.5*Se):(a=n-e,c=vt(o,t,r),d=.5*Se),s=r-t),{titleX:a,titleY:c,maxWidth:s,rotation:d}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const i=Ri(t.font),r=i.lineHeight/2+this._padding.top,{titleX:n,titleY:l,maxWidth:o,rotation:s}=this._drawArgs(r);Di(e,t.text,0,0,i,{color:t.color,maxWidth:o,rotation:s,textAlign:_t(t.align),textBaseline:"middle",translation:[n,l]})}}var zo={id:"title",_element:Vo,start(e,t,i){!function(e,t){const i=new Vo({ctx:e.ctx,options:t,chart:e});el.configure(e,i,t),el.addBox(e,i),e.titleBlock=i}(e,i)},stop(e){const t=e.titleBlock;el.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){const r=e.titleBlock;el.configure(e,r,i),r.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Yo=new WeakMap;var So={id:"subtitle",start(e,t,i){const r=new Vo({ctx:e.ctx,options:i,chart:e});el.configure(e,r,i),el.addBox(e,r),Yo.set(e,r)},stop(e){el.removeBox(e,Yo.get(e)),Yo.delete(e)},beforeUpdate(e,t,i){const r=Yo.get(e);el.configure(e,r,i),r.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const jo={average(e){if(!e.length)return!1;let t,i,r=0,n=0,l=0;for(t=0,i=e.length;t<i;++t){const i=e[t].element;if(i&&i.hasValue()){const e=i.tooltipPosition();r+=e.x,n+=e.y,++l}}return{x:r/l,y:n/l}},nearest(e,t){if(!e.length)return!1;let i,r,n,l=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(i=0,r=e.length;i<r;++i){const r=e[i].element;if(r&&r.hasValue()){const e=ot(t,r.getCenterPoint());e<s&&(s=e,n=r)}}if(n){const e=n.tooltipPosition();l=e.x,o=e.y}return{x:l,y:o}}};function To(e,t){return t&&(ve(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Wo(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Xo(e,t){const{element:i,datasetIndex:r,index:n}=t,l=e.getDatasetMeta(r).controller,{label:o,value:s}=l.getLabelAndValue(n);return{chart:e,label:o,parsed:l.getParsed(n),raw:e.data.datasets[r].data[n],formattedValue:s,dataset:l.getDataset(),dataIndex:n,datasetIndex:r,element:i}}function Zo(e,t){const i=e.chart.ctx,{body:r,footer:n,title:l}=e,{boxWidth:o,boxHeight:s}=t,a=Ri(t.bodyFont),c=Ri(t.titleFont),d=Ri(t.footerFont),u=l.length,f=n.length,m=r.length,h=Oi(t.padding);let A=h.height,g=0,p=r.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(p+=e.beforeBody.length+e.afterBody.length,u&&(A+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),p){A+=m*(t.displayColors?Math.max(s,a.lineHeight):a.lineHeight)+(p-m)*a.lineHeight+(p-1)*t.bodySpacing}f&&(A+=t.footerMarginTop+f*d.lineHeight+(f-1)*t.footerSpacing);let b=0;const C=function(e){g=Math.max(g,i.measureText(e).width+b)};return i.save(),i.font=c.string,Be(e.title,C),i.font=a.string,Be(e.beforeBody.concat(e.afterBody),C),b=t.displayColors?o+2+t.boxPadding:0,Be(r,(e=>{Be(e.before,C),Be(e.lines,C),Be(e.after,C)})),b=0,i.font=d.string,Be(e.footer,C),i.restore(),g+=h.width,{width:g,height:A}}function Uo(e,t,i,r){const{x:n,width:l}=i,{width:o,chartArea:{left:s,right:a}}=e;let c="center";return"center"===r?c=n<=(s+a)/2?"left":"right":n<=l/2?c="left":n>=o-l/2&&(c="right"),function(e,t,i,r){const{x:n,width:l}=r,o=i.caretSize+i.caretPadding;return"left"===e&&n+l+o>t.width||"right"===e&&n-l-o<0||void 0}(c,e,t,i)&&(c="center"),c}function Go(e,t,i){const r=i.yAlign||t.yAlign||function(e,t){const{y:i,height:r}=t;return i<r/2?"top":i>e.height-r/2?"bottom":"center"}(e,i);return{xAlign:i.xAlign||t.xAlign||Uo(e,t,i,r),yAlign:r}}function Ko(e,t,i,r){const{caretSize:n,caretPadding:l,cornerRadius:o}=e,{xAlign:s,yAlign:a}=i,c=n+l,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:m}=Qi(o);let h=function(e,t){let{x:i,width:r}=e;return"right"===t?i-=r:"center"===t&&(i-=r/2),i}(t,s);const A=function(e,t,i){let{y:r,height:n}=e;return"top"===t?r+=i:r-="bottom"===t?n+i:n/2,r}(t,a,c);return"center"===a?"left"===s?h+=c:"right"===s&&(h-=c):"left"===s?h-=Math.max(d,f)+n:"right"===s&&(h+=Math.max(u,m)+n),{x:dt(h,0,r.width-t.width),y:dt(A,0,r.height-t.height)}}function qo(e,t,i){const r=Oi(i.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function Jo(e){return To([],Wo(e))}function $o(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}class es extends gn{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&t.options.animation&&i.animations,n=new Yr(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,i=this._tooltipItems,zi(e,{tooltip:t,tooltipItems:i,type:"tooltip"})));var e,t,i}getTitle(e,t){const{callbacks:i}=t,r=i.beforeTitle.apply(this,[e]),n=i.title.apply(this,[e]),l=i.afterTitle.apply(this,[e]);let o=[];return o=To(o,Wo(r)),o=To(o,Wo(n)),o=To(o,Wo(l)),o}getBeforeBody(e,t){return Jo(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:i}=t,r=[];return Be(e,(e=>{const t={before:[],lines:[],after:[]},n=$o(i,e);To(t.before,Wo(n.beforeLabel.call(this,e))),To(t.lines,n.label.call(this,e)),To(t.after,Wo(n.afterLabel.call(this,e))),r.push(t)})),r}getAfterBody(e,t){return Jo(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:i}=t,r=i.beforeFooter.apply(this,[e]),n=i.footer.apply(this,[e]),l=i.afterFooter.apply(this,[e]);let o=[];return o=To(o,Wo(r)),o=To(o,Wo(n)),o=To(o,Wo(l)),o}_createItems(e){const t=this._active,i=this.chart.data,r=[],n=[],l=[];let o,s,a=[];for(o=0,s=t.length;o<s;++o)a.push(Xo(this.chart,t[o]));return e.filter&&(a=a.filter(((t,r,n)=>e.filter(t,r,n,i)))),e.itemSort&&(a=a.sort(((t,r)=>e.itemSort(t,r,i)))),Be(a,(t=>{const i=$o(e.callbacks,t);r.push(i.labelColor.call(this,t)),n.push(i.labelPointStyle.call(this,t)),l.push(i.labelTextColor.call(this,t))})),this.labelColors=r,this.labelPointStyles=n,this.labelTextColors=l,this.dataPoints=a,a}update(e,t){const i=this.options.setContext(this.getContext()),r=this._active;let n,l=[];if(r.length){const e=jo[i.position].call(this,r,this._eventPosition);l=this._createItems(i),this.title=this.getTitle(l,i),this.beforeBody=this.getBeforeBody(l,i),this.body=this.getBody(l,i),this.afterBody=this.getAfterBody(l,i),this.footer=this.getFooter(l,i);const t=this._size=Zo(this,i),o=Object.assign({},e,t),s=Go(this.chart,i,o),a=Ko(i,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,n={opacity:1,x:a.x,y:a.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=l,this.$context=void 0,n&&this._resolveAnimations().update(this,n),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,r){const n=this.getCaretPosition(e,i,r);t.lineTo(n.x1,n.y1),t.lineTo(n.x2,n.y2),t.lineTo(n.x3,n.y3)}getCaretPosition(e,t,i){const{xAlign:r,yAlign:n}=this,{caretSize:l,cornerRadius:o}=i,{topLeft:s,topRight:a,bottomLeft:c,bottomRight:d}=Qi(o),{x:u,y:f}=e,{width:m,height:h}=t;let A,g,p,b,C,_;return"center"===n?(C=f+h/2,"left"===r?(A=u,g=A-l,b=C+l,_=C-l):(A=u+m,g=A+l,b=C-l,_=C+l),p=A):(g="left"===r?u+Math.max(s,c)+l:"right"===r?u+m-Math.max(a,d)-l:this.caretX,"top"===n?(b=f,C=b-l,A=g-l,p=g+l):(b=f+h,C=b+l,A=g+l,p=g-l),_=b),{x1:A,x2:g,x3:p,y1:b,y2:C,y3:_}}drawTitle(e,t,i){const r=this.title,n=r.length;let l,o,s;if(n){const a=yr(i.rtl,this.x,this.width);for(e.x=qo(this,i.titleAlign,i),t.textAlign=a.textAlign(i.titleAlign),t.textBaseline="middle",l=Ri(i.titleFont),o=i.titleSpacing,t.fillStyle=i.titleColor,t.font=l.string,s=0;s<n;++s)t.fillText(r[s],a.x(e.x),e.y+l.lineHeight/2),e.y+=l.lineHeight+o,s+1===n&&(e.y+=i.titleMarginBottom-o)}}_drawColorBox(e,t,i,r,n){const l=this.labelColors[i],o=this.labelPointStyles[i],{boxHeight:s,boxWidth:a,boxPadding:c}=n,d=Ri(n.bodyFont),u=qo(this,"left",n),f=r.x(u),m=s<d.lineHeight?(d.lineHeight-s)/2:0,h=t.y+m;if(n.usePointStyle){const t={radius:Math.min(a,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},i=r.leftForLtr(f,a)+a/2,c=h+s/2;e.strokeStyle=n.multiKeyBackground,e.fillStyle=n.multiKeyBackground,_i(e,t,i,c),e.strokeStyle=l.borderColor,e.fillStyle=l.backgroundColor,_i(e,t,i,c)}else{e.lineWidth=xe(l.borderWidth)?Math.max(...Object.values(l.borderWidth)):l.borderWidth||1,e.strokeStyle=l.borderColor,e.setLineDash(l.borderDash||[]),e.lineDashOffset=l.borderDashOffset||0;const t=r.leftForLtr(f,a-c),i=r.leftForLtr(r.xPlus(f,1),a-c-2),o=Qi(l.borderRadius);Object.values(o).some((e=>0!==e))?(e.beginPath(),e.fillStyle=n.multiKeyBackground,Mi(e,{x:t,y:h,w:a,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=l.backgroundColor,e.beginPath(),Mi(e,{x:i,y:h+1,w:a-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=n.multiKeyBackground,e.fillRect(t,h,a,s),e.strokeRect(t,h,a,s),e.fillStyle=l.backgroundColor,e.fillRect(i,h+1,a-2,s-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:r}=this,{bodySpacing:n,bodyAlign:l,displayColors:o,boxHeight:s,boxWidth:a,boxPadding:c}=i,d=Ri(i.bodyFont);let u=d.lineHeight,f=0;const m=yr(i.rtl,this.x,this.width),h=function(i){t.fillText(i,m.x(e.x+f),e.y+u/2),e.y+=u+n},A=m.textAlign(l);let g,p,b,C,_,v,x;for(t.textAlign=l,t.textBaseline="middle",t.font=d.string,e.x=qo(this,A,i),t.fillStyle=i.bodyColor,Be(this.beforeBody,h),f=o&&"right"!==A?"center"===l?a/2+c:a+2+c:0,C=0,v=r.length;C<v;++C){for(g=r[C],p=this.labelTextColors[C],t.fillStyle=p,Be(g.before,h),b=g.lines,o&&b.length&&(this._drawColorBox(t,e,C,m,i),u=Math.max(d.lineHeight,s)),_=0,x=b.length;_<x;++_)h(b[_]),u=d.lineHeight;Be(g.after,h)}f=0,u=d.lineHeight,Be(this.afterBody,h),e.y-=n}drawFooter(e,t,i){const r=this.footer,n=r.length;let l,o;if(n){const s=yr(i.rtl,this.x,this.width);for(e.x=qo(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=s.textAlign(i.footerAlign),t.textBaseline="middle",l=Ri(i.footerFont),t.fillStyle=i.footerColor,t.font=l.string,o=0;o<n;++o)t.fillText(r[o],s.x(e.x),e.y+l.lineHeight/2),e.y+=l.lineHeight+i.footerSpacing}}drawBackground(e,t,i,r){const{xAlign:n,yAlign:l}=this,{x:o,y:s}=e,{width:a,height:c}=i,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:m}=Qi(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+d,s),"top"===l&&this.drawCaret(e,t,i,r),t.lineTo(o+a-u,s),t.quadraticCurveTo(o+a,s,o+a,s+u),"center"===l&&"right"===n&&this.drawCaret(e,t,i,r),t.lineTo(o+a,s+c-m),t.quadraticCurveTo(o+a,s+c,o+a-m,s+c),"bottom"===l&&this.drawCaret(e,t,i,r),t.lineTo(o+f,s+c),t.quadraticCurveTo(o,s+c,o,s+c-f),"center"===l&&"left"===n&&this.drawCaret(e,t,i,r),t.lineTo(o,s+d),t.quadraticCurveTo(o,s,o+d,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,r=i&&i.x,n=i&&i.y;if(r||n){const i=jo[e.position].call(this,this._active,this._eventPosition);if(!i)return;const l=this._size=Zo(this,e),o=Object.assign({},i,this._size),s=Go(t,e,o),a=Ko(e,o,s,t);r._to===a.x&&n._to===a.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=l.width,this.height=l.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,a))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const l=Oi(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=i,this.drawBackground(n,e,r,t),Dr(e,t.textDirection),n.y+=l.top,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),Br(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,r=e.map((({datasetIndex:e,index:t})=>{const i=this.chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[t],index:t}})),n=!Me(i,r),l=this._positionChanged(r,t);(n||l)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,n=this._active||[],l=this._getActiveElements(e,n,t,i),o=this._positionChanged(l,e),s=t||!Me(l,n)||o;return s&&(this._active=l,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,i,r){const n=this.options;if("mouseout"===e.type)return[];if(!r)return t;const l=this.chart.getElementsAtEventForMode(e,n.mode,n,i);return n.reverse&&l.reverse(),l}_positionChanged(e,t){const{caretX:i,caretY:r,options:n}=this,l=jo[n.position].call(this,e,t);return!1!==l&&(i!==l.x||r!==l.y)}}es.positioners=jo;var ts={id:"tooltip",_element:es,positioners:jo,afterInit(e,t,i){i&&(e.tooltip=new es({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",i))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:be,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,r=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return i[t.dataIndex]}return""},afterTitle:be,beforeBody:be,beforeLabel:be,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return _e(i)||(t+=i),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:be,afterBody:be,beforeFooter:be,footer:be,afterFooter:be}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},is=Object.freeze({__proto__:null,Decimation:bo,Filler:Fo,Legend:Ro,SubTitle:So,Title:zo,Tooltip:ts});function rs(e,t,i,r){const n=e.indexOf(t);if(-1===n)return((e,t,i,r)=>("string"==typeof t?(i=e.push(t)-1,r.unshift({index:i,label:t})):isNaN(t)&&(i=null),i))(e,t,i,r);return n!==e.lastIndexOf(t)?i:n}class ns extends Dn{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:i,label:r}of t)e[i]===r&&e.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(_e(e))return null;const i=this.getLabels();return((e,t)=>null===e?null:dt(Math.round(e),0,t))(t=isFinite(t)&&i[t]===e?t:rs(i,e,Ee(t,e),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(i=0),t||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const e=this.min,t=this.max,i=this.options.offset,r=[];let n=this.getLabels();n=0===e&&t===n.length-1?n:n.slice(e,t+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=e;i<=t;i++)r.push({value:i});return r}getLabelForValue(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function ls(e,t){const i=[],{bounds:r,step:n,min:l,max:o,precision:s,count:a,maxTicks:c,maxDigits:d,includeBounds:u}=e,f=n||1,m=c-1,{min:h,max:A}=t,g=!_e(l),p=!_e(o),b=!_e(a),C=(A-h)/(d+1);let _,v,x,N,w=Je((A-h)/m/f)*f;if(w<1e-14&&!g&&!p)return[{value:h},{value:A}];N=Math.ceil(A/w)-Math.floor(h/w),N>m&&(w=Je(N*w/m/f)*f),_e(s)||(_=Math.pow(10,s),w=Math.ceil(w*_)/_),"ticks"===r?(v=Math.floor(h/w)*w,x=Math.ceil(A/w)*w):(v=h,x=A),g&&p&&n&&function(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}((o-l)/n,w/1e3)?(N=Math.round(Math.min((o-l)/w,c)),w=(o-l)/N,v=l,x=o):b?(v=g?l:v,x=p?o:x,N=a-1,w=(x-v)/N):(N=(x-v)/w,N=et(N,Math.round(N),w/1e3)?Math.round(N):Math.ceil(N));const E=Math.max(nt(w),nt(v));_=Math.pow(10,_e(s)?E:s),v=Math.round(v*_)/_,x=Math.round(x*_)/_;let y=0;for(g&&(u&&v!==l?(i.push({value:l}),v<l&&y++,et(Math.round((v+y*w)*_)/_,l,os(l,C,e))&&y++):v<l&&y++);y<N;++y)i.push({value:Math.round((v+y*w)*_)/_});return p&&u&&x!==o?i.length&&et(i[i.length-1].value,o,os(o,C,e))?i[i.length-1].value=o:i.push({value:o}):p&&x!==o||i.push({value:x}),i}function os(e,t,{horizontal:i,minRotation:r}){const n=it(r),l=(i?Math.sin(n):Math.cos(n))||.001,o=.75*t*(""+e).length;return Math.min(t/l,o)}ns.id="category",ns.defaults={ticks:{callback:ns.prototype.getLabelForValue}};class ss extends Dn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return _e(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:r,max:n}=this;const l=e=>r=t?r:e,o=e=>n=i?n:e;if(e){const e=qe(r),t=qe(n);e<0&&t<0?o(0):e>0&&t>0&&l(0)}if(r===n){let t=1;(n>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(t=Math.abs(.05*n)),o(n+t),e||l(r-t)}this.min=r,this.max=n}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:i,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const r=ls({maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&tt(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const r=(i-t)/Math.max(e.length-1,1)/2;t-=r,i+=r}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return Er(e,this.chart.options.locale,this.options.ticks.format)}}class as extends ss{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Ne(e)?e:0,this.max=Ne(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=it(this.options.ticks.minRotation),r=(e?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,n.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function cs(e){return 1===e/Math.pow(10,Math.floor(Ke(e)))}as.id="linear",as.defaults={ticks:{callback:bn.formatters.numeric}};class ds extends Dn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=ss.prototype.parse.apply(this,[e,t]);if(0!==i)return Ne(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Ne(e)?Math.max(0,e):null,this.max=Ne(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,r=this.max;const n=t=>i=e?i:t,l=e=>r=t?r:e,o=(e,t)=>Math.pow(10,Math.floor(Ke(e))+t);i===r&&(i<=0?(n(1),l(10)):(n(o(i,-1)),l(o(r,1)))),i<=0&&n(o(r,-1)),r<=0&&l(o(i,1)),this._zero&&this.min!==this._suggestedMin&&i===o(this.min,0)&&n(o(i,-1)),this.min=i,this.max=r}buildTicks(){const e=this.options,t=function(e,t){const i=Math.floor(Ke(t.max)),r=Math.ceil(t.max/Math.pow(10,i)),n=[];let l=we(e.min,Math.pow(10,Math.floor(Ke(t.min)))),o=Math.floor(Ke(l)),s=Math.floor(l/Math.pow(10,o)),a=o<0?Math.pow(10,Math.abs(o)):1;do{n.push({value:l,major:cs(l)}),++s,10===s&&(s=1,++o,a=o>=0?1:a),l=Math.round(s*Math.pow(10,o)*a)/a}while(o<i||o===i&&s<r);const c=we(e.max,l);return n.push({value:c,major:cs(l)}),n}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&tt(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Er(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ke(e),this._valueRange=Ke(this.max)-Ke(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ke(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function us(e){const t=e.ticks;if(t.display&&e.display){const e=Oi(t.backdropPadding);return Ee(t.font&&t.font.size,Ai.font.size)+e.height}return 0}function fs(e,t,i,r,n){return e===r||e===n?{start:t-i/2,end:t+i/2}:e<r||e>n?{start:t-i,end:t}:{start:t,end:t+i}}function ms(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),r=[],n=[],l=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?Se/l:0;for(let u=0;u<l;u++){const l=o.setContext(e.getPointLabelContext(u));n[u]=l.padding;const f=e.getPointPosition(u,e.drawingArea+n[u],s),m=Ri(l.font),h=(a=e.ctx,c=m,d=ve(d=e._pointLabels[u])?d:[d],{w:pi(a,c.string,d),h:d.length*c.lineHeight});r[u]=h;const A=at(e.getIndexAngle(u)+s),g=Math.round(rt(A));hs(i,t,A,fs(g,f.x,h.w,0,180),fs(g,f.y,h.h,90,270))}var a,c,d;e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=function(e,t,i){const r=[],n=e._pointLabels.length,l=e.options,o=us(l)/2,s=e.drawingArea,a=l.pointLabels.centerPointLabels?Se/n:0;for(let l=0;l<n;l++){const n=e.getPointPosition(l,s+o+i[l],a),c=Math.round(rt(at(n.angle+Ze))),d=t[l],u=ps(n.y,d.h,c),f=As(c),m=gs(n.x,d.w,f);r.push({x:n.x,y:u,textAlign:f,left:m,top:u,right:m+d.w,bottom:u+d.h})}return r}(e,r,n)}function hs(e,t,i,r,n){const l=Math.abs(Math.sin(i)),o=Math.abs(Math.cos(i));let s=0,a=0;r.start<t.l?(s=(t.l-r.start)/l,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/l,e.r=Math.max(e.r,t.r+s)),n.start<t.t?(a=(t.t-n.start)/o,e.t=Math.min(e.t,t.t-a)):n.end>t.b&&(a=(n.end-t.b)/o,e.b=Math.max(e.b,t.b+a))}function As(e){return 0===e||180===e?"center":e<180?"left":"right"}function gs(e,t,i){return"right"===i?e-=t:"center"===i&&(e-=t/2),e}function ps(e,t,i){return 90===i||270===i?e-=t/2:(i>270||i<90)&&(e-=t),e}function bs(e,t,i,r){const{ctx:n}=e;if(i)n.arc(e.xCenter,e.yCenter,t,0,je);else{let i=e.getPointPosition(0,t);n.moveTo(i.x,i.y);for(let l=1;l<r;l++)i=e.getPointPosition(l,t),n.lineTo(i.x,i.y)}}ds.id="logarithmic",ds.defaults={ticks:{callback:bn.formatters.logarithmic,major:{enabled:!0}}};class Cs extends ss{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Oi(us(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=Ne(e)&&!isNaN(e)?e:0,this.max=Ne(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/us(this.options))}generateTickLabels(e){ss.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const i=De(this.options.pointLabels.callback,[e,t],this);return i||0===i?i:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?ms(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,r))}getIndexAngle(e){return at(e*(je/(this._pointLabels.length||1))+it(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(_e(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(_e(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const i=t[e];return function(e,t,i){return zi(e,{label:i,index:t,type:"pointLabel"})}(this.getContext(),e,i)}}getPointPosition(e,t,i=0){const r=this.getIndexAngle(e)-Ze+i;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:i,right:r,bottom:n}=this._pointLabelItems[e];return{left:t,top:i,right:r,bottom:n}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),bs(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:i,grid:r}=t,n=this._pointLabels.length;let l,o,s;if(t.pointLabels.display&&function(e,t){const{ctx:i,options:{pointLabels:r}}=e;for(let n=t-1;n>=0;n--){const t=r.setContext(e.getPointLabelContext(n)),l=Ri(t.font),{x:o,y:s,textAlign:a,left:c,top:d,right:u,bottom:f}=e._pointLabelItems[n],{backdropColor:m}=t;if(!_e(m)){const e=Qi(t.borderRadius),r=Oi(t.backdropPadding);i.fillStyle=m;const n=c-r.left,l=d-r.top,o=u-c+r.width,s=f-d+r.height;Object.values(e).some((e=>0!==e))?(i.beginPath(),Mi(i,{x:n,y:l,w:o,h:s,radius:e}),i.fill()):i.fillRect(n,l,o,s)}Di(i,e._pointLabels[n],o,s+l.lineHeight/2,l,{color:t.color,textAlign:a,textBaseline:"middle"})}}(this,n),r.display&&this.ticks.forEach(((e,t)=>{if(0!==t){o=this.getDistanceFromCenterForValue(e.value);!function(e,t,i,r){const n=e.ctx,l=t.circular,{color:o,lineWidth:s}=t;!l&&!r||!o||!s||i<0||(n.save(),n.strokeStyle=o,n.lineWidth=s,n.setLineDash(t.borderDash),n.lineDashOffset=t.borderDashOffset,n.beginPath(),bs(e,i,l,r),n.closePath(),n.stroke(),n.restore())}(this,r.setContext(this.getContext(t-1)),o,n)}})),i.display){for(e.save(),l=n-1;l>=0;l--){const r=i.setContext(this.getPointLabelContext(l)),{color:n,lineWidth:a}=r;a&&n&&(e.lineWidth=a,e.strokeStyle=n,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,o=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),s=this.getPointPosition(l,o),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(s.x,s.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let n,l;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((r,o)=>{if(0===o&&!t.reverse)return;const s=i.setContext(this.getContext(o)),a=Ri(s.font);if(n=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=a.string,l=e.measureText(r.label).width,e.fillStyle=s.backdropColor;const t=Oi(s.backdropPadding);e.fillRect(-l/2-t.left,-n-a.size/2-t.top,l+t.width,a.size+t.height)}Di(e,r.label,0,-n,a,{color:s.color})})),e.restore()}drawTitle(){}}Cs.id="radialLinear",Cs.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:bn.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}},Cs.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Cs.descriptors={angleLines:{_fallback:"grid"}};const _s={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},vs=Object.keys(_s);function xs(e,t){return e-t}function Ns(e,t){if(_e(t))return null;const i=e._adapter,{parser:r,round:n,isoWeekday:l}=e._parseOpts;let o=t;return"function"==typeof r&&(o=r(o)),Ne(o)||(o="string"==typeof r?i.parse(o,r):i.parse(o)),null===o?null:(n&&(o="week"!==n||!$e(l)&&!0!==l?i.startOf(o,n):i.startOf(o,"isoWeek",l)),+o)}function ws(e,t,i,r){const n=vs.length;for(let l=vs.indexOf(e);l<n-1;++l){const e=_s[vs[l]],n=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((i-t)/(n*e.size))<=r)return vs[l]}return vs[n-1]}function Es(e,t,i){if(i){if(i.length){const{lo:r,hi:n}=ft(i,t);e[i[r]>=t?i[r]:i[n]]=!0}}else e[t]=!0}function ys(e,t,i){const r=[],n={},l=t.length;let o,s;for(o=0;o<l;++o)s=t[o],n[s]=o,r.push({value:s,major:!1});return 0!==l&&i?function(e,t,i,r){const n=e._adapter,l=+n.startOf(t[0].value,r),o=t[t.length-1].value;let s,a;for(s=l;s<=o;s=+n.add(s,1,r))a=i[s],a>=0&&(t[a].major=!0);return t}(e,r,n,i):r}class Ds extends Dn{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const i=e.time||(e.time={}),r=this._adapter=new In._date(e.adapters.date);r.init(t),Ie(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Ns(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:r,max:n,minDefined:l,maxDefined:o}=this.getUserBounds();function s(e){l||isNaN(e.min)||(r=Math.min(r,e.min)),o||isNaN(e.max)||(n=Math.max(n,e.max))}l&&o||(s(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||s(this.getMinMax(!1))),r=Ne(r)&&!isNaN(r)?r:+t.startOf(Date.now(),i),n=Ne(n)&&!isNaN(n)?n:+t.endOf(Date.now(),i)+1,this.min=Math.min(r,n-1),this.max=Math.max(r+1,n)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,r="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const n=this.min,l=function(e,t,i){let r=0,n=e.length;for(;r<n&&e[r]<t;)r++;for(;n>r&&e[n-1]>i;)n--;return r>0||n<e.length?e.slice(r,n):e}(r,n,this.max);return this._unit=t.unit||(i.autoSkip?ws(t.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(e,t,i,r,n){for(let l=vs.length-1;l>=vs.indexOf(i);l--){const i=vs[l];if(_s[i].common&&e._adapter.diff(n,r,i)>=t-1)return i}return vs[i?vs.indexOf(i):0]}(this,l.length,t.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(e){for(let t=vs.indexOf(e)+1,i=vs.length;t<i;++t)if(_s[vs[t]].common)return vs[t]}(this._unit):void 0,this.initOffsets(r),e.reverse&&l.reverse(),ys(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(e){let t,i,r=0,n=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),r=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,i=this.getDecimalForValue(e[e.length-1]),n=1===e.length?i:(i-this.getDecimalForValue(e[e.length-2]))/2);const l=e.length<3?.5:.25;r=dt(r,0,l),n=dt(n,0,l),this._offsets={start:r,end:n,factor:1/(r+1+n)}}_generate(){const e=this._adapter,t=this.min,i=this.max,r=this.options,n=r.time,l=n.unit||ws(n.minUnit,t,i,this._getLabelCapacity(t)),o=Ee(n.stepSize,1),s="week"===l&&n.isoWeekday,a=$e(s)||!0===s,c={};let d,u,f=t;if(a&&(f=+e.startOf(f,"isoWeek",s)),f=+e.startOf(f,a?"day":l),e.diff(i,t,l)>1e5*o)throw new Error(t+" and "+i+" are too far apart with stepSize of "+o+" "+l);const m="data"===r.ticks.source&&this.getDataTimestamps();for(d=f,u=0;d<i;d=+e.add(d,o,l),u++)Es(c,d,m);return d!==i&&"ticks"!==r.bounds&&1!==u||Es(c,d,m),Object.keys(c).sort(((e,t)=>e-t)).map((e=>+e))}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}_tickFormatFunction(e,t,i,r){const n=this.options,l=n.time.displayFormats,o=this._unit,s=this._majorUnit,a=o&&l[o],c=s&&l[s],d=i[t],u=s&&c&&d&&d.major,f=this._adapter.format(e,r||(u?c:a)),m=n.ticks.callback;return m?De(m,[f,t,i],this):f}generateTickLabels(e){let t,i,r;for(t=0,i=e.length;t<i;++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,i=this.ctx.measureText(e).width,r=it(this.isHorizontal()?t.maxRotation:t.minRotation),n=Math.cos(r),l=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:i*n+o*l,h:i*l+o*n}}_getLabelCapacity(e){const t=this.options.time,i=t.displayFormats,r=i[t.unit]||i.millisecond,n=this._tickFormatFunction(e,0,ys(this,[e],this._majorUnit),r),l=this._getLabelSize(n),o=Math.floor(this.isHorizontal()?this.width/l.w:this.height/l.h)-1;return o>0?o:1}getDataTimestamps(){let e,t,i=this._cache.data||[];if(i.length)return i;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(e=0,t=r.length;e<t;++e)i=i.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const e=this._cache.labels||[];let t,i;if(e.length)return e;const r=this.getLabels();for(t=0,i=r.length;t<i;++t)e.push(Ns(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return pt(e.sort(xs))}}function Bs(e,t,i){let r,n,l,o,s=0,a=e.length-1;i?(t>=e[s].pos&&t<=e[a].pos&&({lo:s,hi:a}=mt(e,"pos",t)),({pos:r,time:l}=e[s]),({pos:n,time:o}=e[a])):(t>=e[s].time&&t<=e[a].time&&({lo:s,hi:a}=mt(e,"time",t)),({time:r,pos:l}=e[s]),({time:n,pos:o}=e[a]));const c=n-r;return c?l+(o-l)*(t-r)/c:l}Ds.id="time",Ds.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Ms extends Ds{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Bs(t,this.min),this._tableRange=Bs(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,r=[],n=[];let l,o,s,a,c;for(l=0,o=e.length;l<o;++l)a=e[l],a>=t&&a<=i&&r.push(a);if(r.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(l=0,o=r.length;l<o;++l)c=r[l+1],s=r[l-1],a=r[l],Math.round((c+s)/2)!==a&&n.push({time:a,pos:l/(o-1)});return n}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return e=t.length&&i.length?this.normalize(t.concat(i)):t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Bs(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return Bs(this._table,i*this._tableRange+this._minPos,!0)}}Ms.id="timeseries",Ms.defaults=Ds.defaults;const ks=[Pn,Ao,is,Object.freeze({__proto__:null,CategoryScale:ns,LinearScale:as,LogarithmicScale:ds,RadialLinearScale:Cs,TimeScale:Ds,TimeSeriesScale:Ms})],Ps="label";function Ls(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Hs(e,t){e.labels=t}function Is(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ps;const r=[];e.datasets=t.map((t=>{const n=e.datasets.find((e=>e[i]===t[i]));return n&&t.data&&!r.includes(n)?(r.push(n),Object.assign(n,t),n):{...t}}))}function Fs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ps;const i={labels:[],datasets:[]};return Hs(i,e.labels),Is(i,e.datasets,t),i}function Qs(e,i){let{height:n=150,width:o=300,redraw:s=!1,datasetIdKey:a,type:c,data:d,options:u,plugins:f=[],fallbackContent:m,updateMode:h,...A}=e;const g=l(null),p=l(),b=()=>{g.current&&(p.current=new Yl(g.current,{type:c,data:Fs(d,a),options:u&&{...u},plugins:f}),Ls(i,p.current))},C=()=>{Ls(i,null),p.current&&(p.current.destroy(),p.current=null)};return r((()=>{var e,t;!s&&p.current&&u&&(e=p.current,t=u,Object.assign(e.options,t))}),[s,u]),r((()=>{!s&&p.current&&Hs(p.current.config.data,d.labels)}),[s,d.labels]),r((()=>{!s&&p.current&&d.datasets&&Is(p.current.config.data,d.datasets,a)}),[s,d.datasets]),r((()=>{p.current&&(s?(C(),setTimeout(b)):p.current.update(h))}),[s,u,d.labels,d.datasets,h]),r((()=>{p.current&&(C(),setTimeout(b))}),[c]),r((()=>(b(),()=>C())),[]),t.createElement("canvas",Object.assign({ref:g,role:"img",height:n,width:o},A),m)}const Os=n(Qs);function Rs(e,i){return Yl.register(i),n(((i,r)=>t.createElement(Os,Object.assign({},i,{ref:r,type:e}))))}const Vs=Rs("line",fn);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var zs={};({get exports(){return zs},set exports(e){zs=e}}).exports=function(){var e=1e3,t=6e4,i=36e5,r="millisecond",n="second",l="minute",o="hour",s="day",a="week",c="month",d="quarter",u="year",f="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}},p=function(e,t,i){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(i)+e},b={s:p,z:function(e){var t=-e.utcOffset(),i=Math.abs(t),r=Math.floor(i/60),n=i%60;return(t<=0?"+":"-")+p(r,2,"0")+":"+p(n,2,"0")},m:function e(t,i){if(t.date()<i.date())return-e(i,t);var r=12*(i.year()-t.year())+(i.month()-t.month()),n=t.clone().add(r,c),l=i-n<0,o=t.clone().add(r+(l?-1:1),c);return+(-(r+(i-n)/(l?n-o:o-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:u,w:a,d:s,D:f,h:o,m:l,s:n,ms:r,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},C="en",_={};_[C]=g;var v=function(e){return e instanceof E},x=function e(t,i,r){var n;if(!t)return C;if("string"==typeof t){var l=t.toLowerCase();_[l]&&(n=l),i&&(_[l]=i,n=l);var o=t.split("-");if(!n&&o.length>1)return e(o[0])}else{var s=t.name;_[s]=t,n=s}return!r&&n&&(C=n),n||!r&&C},N=function(e,t){if(v(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new E(i)},w=b;w.l=x,w.i=v,w.w=function(e,t){return N(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=x(e.locale,null,!0),this.parse(e)}var p=g.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var n=r[2]-1||0,l=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return w},p.isValid=function(){return!(this.$d.toString()===m)},p.isSame=function(e,t){var i=N(e);return this.startOf(t)<=i&&i<=this.endOf(t)},p.isAfter=function(e,t){return N(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<N(e)},p.$g=function(e,t,i){return w.u(e)?this[t]:this.set(i,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,t){var i=this,r=!!w.u(t)||t,d=w.p(e),m=function(e,t){var n=w.w(i.$u?Date.UTC(i.$y,t,e):new Date(i.$y,t,e),i);return r?n:n.endOf(s)},h=function(e,t){return w.w(i.toDate()[e].apply(i.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),i)},A=this.$W,g=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(d){case u:return r?m(1,0):m(31,11);case c:return r?m(1,g):m(0,g+1);case a:var C=this.$locale().weekStart||0,_=(A<C?A+7:A)-C;return m(r?p-_:p+(6-_),g);case s:case f:return h(b+"Hours",0);case o:return h(b+"Minutes",1);case l:return h(b+"Seconds",2);case n:return h(b+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(e,t){var i,a=w.p(e),d="set"+(this.$u?"UTC":""),m=(i={},i[s]=d+"Date",i[f]=d+"Date",i[c]=d+"Month",i[u]=d+"FullYear",i[o]=d+"Hours",i[l]=d+"Minutes",i[n]=d+"Seconds",i[r]=d+"Milliseconds",i)[a],h=a===s?this.$D+(t-this.$W):t;if(a===c||a===u){var A=this.clone().set(f,1);A.$d[m](h),A.init(),this.$d=A.set(f,Math.min(this.$D,A.daysInMonth())).$d}else m&&this.$d[m](h);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[w.p(e)]()},p.add=function(r,d){var f,m=this;r=Number(r);var h=w.p(d),A=function(e){var t=N(m);return w.w(t.date(t.date()+Math.round(e*r)),m)};if(h===c)return this.set(c,this.$M+r);if(h===u)return this.set(u,this.$y+r);if(h===s)return A(1);if(h===a)return A(7);var g=(f={},f[l]=t,f[o]=i,f[n]=e,f)[h]||1,p=this.$d.getTime()+r*g;return w.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,i=this.$locale();if(!this.isValid())return i.invalidDate||m;var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=w.z(this),l=this.$H,o=this.$m,s=this.$M,a=i.weekdays,c=i.months,d=function(e,i,n,l){return e&&(e[i]||e(t,r))||n[i].slice(0,l)},u=function(e){return w.s(l%12||12,e,"0")},f=i.meridiem||function(e,t,i){var r=e<12?"AM":"PM";return i?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:w.s(s+1,2,"0"),MMM:d(i.monthsShort,s,c,3),MMMM:d(c,s),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:d(i.weekdaysMin,this.$W,a,2),ddd:d(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(l),HH:w.s(l,2,"0"),h:u(1),hh:u(2),a:f(l,o,!0),A:f(l,o,!1),m:String(o),mm:w.s(o,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:n};return r.replace(A,(function(e,t){return t||h[e]||n.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(r,f,m){var h,A=w.p(f),g=N(r),p=(g.utcOffset()-this.utcOffset())*t,b=this-g,C=w.m(this,g);return C=(h={},h[u]=C/12,h[c]=C,h[d]=C/3,h[a]=(b-p)/6048e5,h[s]=(b-p)/864e5,h[o]=b/i,h[l]=b/t,h[n]=b/e,h)[A]||b,m?C:w.a(C)},p.daysInMonth=function(){return this.endOf(c).$D},p.$locale=function(){return _[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var i=this.clone(),r=x(e,t,!0);return r&&(i.$L=r),i},p.clone=function(){return w.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},g}(),y=E.prototype;return N.prototype=y,[["$ms",r],["$s",n],["$m",l],["$H",o],["$W",s],["$M",c],["$y",u],["$D",f]].forEach((function(e){y[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),N.extend=function(e,t){return e.$i||(e(t,E,N),e.$i=!0),N},N.locale=x,N.isDayjs=v,N.unix=function(e){return N(1e3*e)},N.en=_[C],N.Ls=_,N.p={},N}();var Ys=zs;const Ss=o.div`
|
|
937
|
+
*/var Qr=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,r){const n=t.listeners[r],l=t.duration;n.forEach((r=>r({chart:e,initial:t.initial,numSteps:l,currentStep:Math.min(i-t.start,l)})))}_refresh(){this._request||(this._running=!0,this._request=bt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((i,r)=>{if(!i.running||!i.items.length)return;const n=i.items;let l,o=n.length-1,s=!1;for(;o>=0;--o)l=n[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),s=!0):(n[o]=n[n.length-1],n.pop());s&&(r.draw(),this._notify(r,i,e,"progress")),n.length||(i.running=!1,this._notify(r,i,e,"complete"),i.initial=!1),t+=n.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const Or="transparent",Rr={boolean:(e,t,i)=>i>.5?t:e,color(e,t,i){const r=ci(e||Or),n=r.valid&&ci(t||Or);return n&&n.valid?n.mix(r,i).hexString():t},number:(e,t,i)=>e+(t-e)*i};class Vr{constructor(e,t,i,r){const n=t[i];r=Vi([e.to,r,n,e.from]);const l=Vi([e.from,n,r]);this._active=!0,this._fn=e.fn||Rr[e.type||typeof l],this._easing=Dt[e.easing]||Dt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=l,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const r=this._target[this._prop],n=i-this._start,l=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(l,e.duration)),this._total+=n,this._loop=!!e.loop,this._to=Vi([e.to,t,r,e.from]),this._from=Vi([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,r=this._prop,n=this._from,l=this._loop,o=this._to;let s;if(this._active=n!==o&&(l||t<i),!this._active)return this._target[r]=o,void this._notify(!0);t<0?this._target[r]=n:(s=t/i%2,s=l&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(n,o,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,i)=>{e.push({res:t,rej:i})}))}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let e=0;e<i.length;e++)i[e][t]()}}Ai.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Yr=Object.keys(Ai.animation);Ai.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),Ai.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Ai.describe("animations",{_fallback:"animation"}),Ai.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}});class zr{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!xe(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach((i=>{const r=e[i];if(!xe(r))return;const n={};for(const e of Yr)n[e]=r[e];(ve(r.properties)&&r.properties||[i]).forEach((e=>{e!==i&&t.has(e)||t.set(e,n)}))}))}_animateOptions(e,t){const i=t.options,r=function(e,t){if(!t)return;let i=e.options;if(!i)return void(e.options=t);i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(e,i);if(!r)return[];const n=this._createAnimations(r,i);return i.$shared&&function(e,t){const i=[],r=Object.keys(t);for(let t=0;t<r.length;t++){const n=e[r[t]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(e.options.$animations,i).then((()=>{e.options=i}),(()=>{})),n}_createAnimations(e,t){const i=this._properties,r=[],n=e.$animations||(e.$animations={}),l=Object.keys(t),o=Date.now();let s;for(s=l.length-1;s>=0;--s){const a=l[s];if("$"===a.charAt(0))continue;if("options"===a){r.push(...this._animateOptions(e,t));continue}const c=t[a];let d=n[a];const u=i.get(a);if(d){if(u&&d.active()){d.update(u,c,o);continue}d.cancel()}u&&u.duration?(n[a]=d=new Vr(u,e,a,c),r.push(d)):e[a]=c}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const i=this._createAnimations(e,t);return i.length?(Qr.add(this._chart,i),!0):void 0}}function Sr(e,t){const i=e&&e.options||{},r=i.reverse,n=void 0===i.min?t:0,l=void 0===i.max?t:0;return{start:r?l:n,end:r?n:l}}function jr(e,t){const i=[],r=e._getSortedDatasetMetas(t);let n,l;for(n=0,l=r.length;n<l;++n)i.push(r[n].index);return i}function Tr(e,t,i,r={}){const n=e.keys,l="single"===r.mode;let o,s,a,c;if(null!==t){for(o=0,s=n.length;o<s;++o){if(a=+n[o],a===i){if(r.all)continue;break}c=e.values[a],Ne(c)&&(l||0===t||qe(t)===qe(c))&&(t+=c)}return t}}function Wr(e,t){const i=e&&e.options.stacked;return i||void 0===i&&void 0!==t.stack}function Xr(e,t,i){const r=e[t]||(e[t]={});return r[i]||(r[i]={})}function Zr(e,t,i,r){for(const n of t.getMatchingVisibleMetas(r).reverse()){const t=e[n.index];if(i&&t>0||!i&&t<0)return n.index}return null}function Ur(e,t){const{chart:i,_cachedMeta:r}=e,n=i._stacks||(i._stacks={}),{iScale:l,vScale:o,index:s}=r,a=l.axis,c=o.axis,d=function(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}(l,o,r),u=t.length;let f;for(let e=0;e<u;++e){const i=t[e],{[a]:l,[c]:u}=i;f=(i._stacks||(i._stacks={}))[c]=Xr(n,d,l),f[s]=u,f._top=Zr(f,o,!0,r.type),f._bottom=Zr(f,o,!1,r.type)}}function Gr(e,t){const i=e.scales;return Object.keys(i).filter((e=>i[e].axis===t)).shift()}function Kr(e,t){const i=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][i])return;delete t[r][i]}}}const qr=e=>"reset"===e||"none"===e,Jr=(e,t)=>t?e:Object.assign({},e);class $r{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Wr(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Kr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),r=(e,t,i,r)=>"x"===e?t:"r"===e?r:i,n=t.xAxisID=Ee(i.xAxisID,Gr(e,"x")),l=t.yAxisID=Ee(i.yAxisID,Gr(e,"y")),o=t.rAxisID=Ee(i.rAxisID,Gr(e,"r")),s=t.indexAxis,a=t.iAxisID=r(s,n,l,o),c=t.vAxisID=r(s,l,n,o);t.xScale=this.getScaleForId(n),t.yScale=this.getScaleForId(l),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(a),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&>(this._data,this),e._stacked&&Kr(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(xe(t))this._data=function(e){const t=Object.keys(e),i=new Array(t.length);let r,n,l;for(r=0,n=t.length;r<n;++r)l=t[r],i[r]={x:l,y:e[l]};return i}(t);else if(i!==t){if(i){gt(i,this);const e=this._cachedMeta;Kr(e),e._parsed=[]}t&&Object.isExtensible(t)&&(n=this,(r=t)._chartjs?r._chartjs.listeners.push(n):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),At.forEach((e=>{const t="_onData"+Re(e),i=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value(...e){const n=i.apply(this,e);return r._chartjs.listeners.forEach((i=>{"function"==typeof i[t]&&i[t](...e)})),n}})})))),this._syncList=[],this._data=t}var r,n}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const n=t._stacked;t._stacked=Wr(t.vScale,t),t.stack!==i.stack&&(r=!0,Kr(t),t.stack=i.stack),this._resyncElements(e),(r||n!==t._stacked)&&Ur(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:r}=this,{iScale:n,_stacked:l}=i,o=n.axis;let s,a,c,d=0===e&&t===r.length||i._sorted,u=e>0&&i._parsed[e-1];if(!1===this._parsing)i._parsed=r,i._sorted=!0,c=r;else{c=ve(r[e])?this.parseArrayData(i,r,e,t):xe(r[e])?this.parseObjectData(i,r,e,t):this.parsePrimitiveData(i,r,e,t);const n=()=>null===a[o]||u&&a[o]<u[o];for(s=0;s<t;++s)i._parsed[s+e]=a=c[s],d&&(n()&&(d=!1),u=a);i._sorted=d}l&&Ur(this,c)}parsePrimitiveData(e,t,i,r){const{iScale:n,vScale:l}=e,o=n.axis,s=l.axis,a=n.getLabels(),c=n===l,d=new Array(r);let u,f,m;for(u=0,f=r;u<f;++u)m=u+i,d[u]={[o]:c||n.parse(a[m],m),[s]:l.parse(t[m],m)};return d}parseArrayData(e,t,i,r){const{xScale:n,yScale:l}=e,o=new Array(r);let s,a,c,d;for(s=0,a=r;s<a;++s)c=s+i,d=t[c],o[s]={x:n.parse(d[0],c),y:l.parse(d[1],c)};return o}parseObjectData(e,t,i,r){const{xScale:n,yScale:l}=e,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,a=new Array(r);let c,d,u,f;for(c=0,d=r;c<d;++c)u=c+i,f=t[u],a[c]={x:n.parse(Oe(f,o),u),y:l.parse(Oe(f,s),u)};return a}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){const r=this.chart,n=this._cachedMeta,l=t[e.axis];return Tr({keys:jr(r,!0),values:t._stacks[e.axis]},l,n.index,{mode:i})}updateRangeFromParsed(e,t,i,r){const n=i[t.axis];let l=null===n?NaN:n;const o=r&&i._stacks[t.axis];r&&o&&(r.values=o,l=Tr(r,n,this._cachedMeta.index)),e.min=Math.min(e.min,l),e.max=Math.max(e.max,l)}getMinMax(e,t){const i=this._cachedMeta,r=i._parsed,n=i._sorted&&e===i.iScale,l=r.length,o=this._getOtherScale(e),s=((e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:jr(i,!0),values:null})(t,i,this.chart),a={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(e){const{min:t,max:i,minDefined:r,maxDefined:n}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(o);let u,f;function m(){f=r[u];const t=f[o.axis];return!Ne(f[e.axis])||c>t||d<t}for(u=0;u<l&&(m()||(this.updateRangeFromParsed(a,e,f,s),!n));++u);if(n)for(u=l-1;u>=0;--u)if(!m()){this.updateRangeFromParsed(a,e,f,s);break}return a}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let r,n,l;for(r=0,n=t.length;r<n;++r)l=t[r][e.axis],Ne(l)&&i.push(l);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,i=t.iScale,r=t.vScale,n=this.getParsed(e);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:r?""+r.getLabelForValue(n[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,i,r,n;return xe(e)?(t=e.top,i=e.right,r=e.bottom,n=e.left):t=i=r=n=e,{top:t,right:i,bottom:r,left:n,disabled:!1===e}}(Ee(this.options.clip,function(e,t,i){if(!1===i)return!1;const r=Sr(e,i),n=Sr(t,i);return{top:n.end,right:r.end,bottom:n.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,i=this._cachedMeta,r=i.data||[],n=t.chartArea,l=[],o=this._drawStart||0,s=this._drawCount||r.length-o,a=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(e,n,o,s),c=o;c<o+s;++c){const t=r[c];t.hidden||(t.active&&a?l.push(t):t.draw(e,n))}for(c=0;c<l.length;++c)l[c].draw(e,n)}getStyle(e,t){const i=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){const r=this.getDataset();let n;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];n=t.$context||(t.$context=function(e,t,i){return Yi(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),n.parsed=this.getParsed(e),n.raw=r.data[e],n.index=n.dataIndex=e}else n=this.$context||(this.$context=function(e,t){return Yi(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),n.dataset=r,n.index=n.datasetIndex=this.index;return n.active=!!t,n.mode=i,n}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){const r="active"===t,n=this._cachedDataOpts,l=e+"-"+t,o=n[l],s=this.enableOptionSharing&&Ve(i);if(o)return Jr(o,s);const a=this.chart.config,c=a.datasetElementScopeKeys(this._type,e),d=r?[`${e}Hover`,"hover",e,""]:[e,""],u=a.getOptionScopes(this.getDataset(),c),f=Object.keys(Ai.elements[e]),m=a.resolveNamedOptions(u,f,(()=>this.getContext(i,r)),d);return m.$shared&&(m.$shared=s,n[l]=Object.freeze(Jr(m,s))),m}_resolveAnimations(e,t,i){const r=this.chart,n=this._cachedDataOpts,l=`animation-${t}`,o=n[l];if(o)return o;let s;if(!1!==r.options.animation){const r=this.chart.config,n=r.datasetAnimationScopeKeys(this._type,t),l=r.getOptionScopes(this.getDataset(),n);s=r.createResolver(l,this.getContext(e,i,t))}const a=new zr(r,s&&s.animations);return s&&s._cacheable&&(n[l]=Object.freeze(a)),a}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||qr(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),r=this._sharedOptions,n=this.getSharedOptions(i),l=this.includeOptions(t,n)||n!==r;return this.updateSharedOptions(n,t,i),{sharedOptions:n,includeOptions:l}}updateElement(e,t,i,r){qr(r)?Object.assign(e,i):this._resolveAnimations(t,r).update(e,i)}updateSharedOptions(e,t,i){e&&!qr(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,r){e.active=r;const n=this.getStyle(t,r);this._resolveAnimations(t,i,r).update(e,{options:!r&&this.getSharedOptions(n)||n})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,i=this._cachedMeta.data;for(const[e,t,i]of this._syncList)this[e](t,i);this._syncList=[];const r=i.length,n=t.length,l=Math.min(n,r);l&&this.parse(0,l),n>r?this._insertElements(r,n-r,e):n<r&&this._removeElements(n,r-n)}_insertElements(e,t,i=!0){const r=this._cachedMeta,n=r.data,l=e+t;let o;const s=e=>{for(e.length+=t,o=e.length-1;o>=l;o--)e[o]=e[o-t]};for(s(n),o=e;o<l;++o)n[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),i&&this.updateElements(n,e,t,"reset")}updateElements(e,t,i,r){}_removeElements(e,t){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(e,t);i._stacked&&Kr(i,r)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,i,r]=e;this[t](i,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function en(e){const t=e.iScale,i=function(e,t){if(!e._cache.$bar){const i=e.getMatchingVisibleMetas(t);let r=[];for(let t=0,n=i.length;t<n;t++)r=r.concat(i[t].controller.getAllParsedValues(e));e._cache.$bar=pt(r.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let r,n,l,o,s=t._length;const a=()=>{32767!==l&&-32768!==l&&(Ve(o)&&(s=Math.min(s,Math.abs(l-o)||s)),o=l)};for(r=0,n=i.length;r<n;++r)l=t.getPixelForValue(i[r]),a();for(o=void 0,r=0,n=t.ticks.length;r<n;++r)l=t.getPixelForTick(r),a();return s}function tn(e,t,i,r){return ve(e)?function(e,t,i,r){const n=i.parse(e[0],r),l=i.parse(e[1],r),o=Math.min(n,l),s=Math.max(n,l);let a=o,c=s;Math.abs(o)>Math.abs(s)&&(a=s,c=o),t[i.axis]=c,t._custom={barStart:a,barEnd:c,start:n,end:l,min:o,max:s}}(e,t,i,r):t[i.axis]=i.parse(e,r),t}function rn(e,t,i,r){const n=e.iScale,l=e.vScale,o=n.getLabels(),s=n===l,a=[];let c,d,u,f;for(c=i,d=i+r;c<d;++c)f=t[c],u={},u[n.axis]=s||n.parse(o[c],c),a.push(tn(f,u,l,c));return a}function nn(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function ln(e,t,i,r){let n=t.borderSkipped;const l={};if(!n)return void(e.borderSkipped=l);if(!0===n)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:o,end:s,reverse:a,top:c,bottom:d}=function(e){let t,i,r,n,l;return e.horizontal?(t=e.base>e.x,i="left",r="right"):(t=e.base<e.y,i="bottom",r="top"),t?(n="end",l="start"):(n="start",l="end"),{start:i,end:r,reverse:t,top:n,bottom:l}}(e);"middle"===n&&i&&(e.enableBorderRadius=!0,(i._top||0)===r?n=c:(i._bottom||0)===r?n=d:(l[on(d,o,s,a)]=!0,n=c)),l[on(n,o,s,a)]=!0,e.borderSkipped=l}function on(e,t,i,r){var n,l,o;return r?(o=i,e=sn(e=(n=e)===(l=t)?o:n===o?l:n,i,t)):e=sn(e,t,i),e}function sn(e,t,i){return"start"===e?t:"end"===e?i:e}function an(e,{inflateAmount:t},i){e.inflateAmount="auto"===t?1===i?.33:0:t}$r.defaults={},$r.prototype.datasetElementType=null,$r.prototype.dataElementType=null;class cn extends $r{parsePrimitiveData(e,t,i,r){return rn(e,t,i,r)}parseArrayData(e,t,i,r){return rn(e,t,i,r)}parseObjectData(e,t,i,r){const{iScale:n,vScale:l}=e,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,a="x"===n.axis?o:s,c="x"===l.axis?o:s,d=[];let u,f,m,h;for(u=i,f=i+r;u<f;++u)h=t[u],m={},m[n.axis]=n.parse(Oe(h,a),u),d.push(tn(Oe(h,c),m,l,u));return d}updateRangeFromParsed(e,t,i,r){super.updateRangeFromParsed(e,t,i,r);const n=i._custom;n&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,n.min),e.max=Math.max(e.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:i,vScale:r}=t,n=this.getParsed(e),l=n._custom,o=nn(l)?"["+l.start+", "+l.end+"]":""+r.getLabelForValue(n[r.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,i,r){const n="reset"===r,{index:l,_cachedMeta:{vScale:o}}=this,s=o.getBasePixel(),a=o.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(t,r);for(let f=t;f<t+i;f++){const t=this.getParsed(f),i=n||_e(t[o.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),m=this._calculateBarIndexPixels(f,c),h=(t._stacks||{})[o.axis],A={horizontal:a,base:i.base,enableBorderRadius:!h||nn(t._custom)||l===h._top||l===h._bottom,x:a?i.head:m.center,y:a?m.center:i.head,height:a?m.size:Math.abs(i.size),width:a?Math.abs(i.size):m.size};u&&(A.options=d||this.resolveDataElementOptions(f,e[f].active?"active":r));const g=A.options||e[f].options;ln(A,g,h,l),an(A,g,c.ratio),this.updateElement(e[f],f,A,r)}}_getStacks(e,t){const{iScale:i}=this._cachedMeta,r=i.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),n=i.options.stacked,l=[],o=e=>{const i=e.controller.getParsed(t),r=i&&i[e.vScale.axis];if(_e(r)||isNaN(r))return!0};for(const i of r)if((void 0===t||!o(i))&&((!1===n||-1===l.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&l.push(i.stack),i.index===e))break;return l.length||l.push(void 0),l}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,i){const r=this._getStacks(e,i),n=void 0!==t?r.indexOf(t):-1;return-1===n?r.length-1:n}_getRuler(){const e=this.options,t=this._cachedMeta,i=t.iScale,r=[];let n,l;for(n=0,l=t.data.length;n<l;++n)r.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));const o=e.barThickness;return{min:o||en(t),pixels:r,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:i},options:{base:r,minBarLength:n}}=this,l=r||0,o=this.getParsed(e),s=o._custom,a=nn(s);let c,d,u=o[t.axis],f=0,m=i?this.applyStack(t,o,i):u;m!==u&&(f=m-u,m=u),a&&(u=s.barStart,m=s.barEnd-s.barStart,0!==u&&qe(u)!==qe(s.barEnd)&&(f=0),f+=u);const h=_e(r)||a?f:r;let A=t.getPixelForValue(h);if(c=this.chart.getDataVisibility(e)?t.getPixelForValue(f+m):A,d=c-A,Math.abs(d)<n){d=function(e,t,i){return 0!==e?qe(e):(t.isHorizontal()?1:-1)*(t.min>=i?1:-1)}(d,t,l)*n,u===l&&(A-=d/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),r=Math.min(e,i),o=Math.max(e,i);A=Math.max(Math.min(A,o),r),c=A+d}if(A===t.getPixelForValue(l)){const e=qe(d)*t.getLineWidthForValue(l)/2;A+=e,d-=e}return{size:d,base:A,head:c,center:c+d/2}}_calculateBarIndexPixels(e,t){const i=t.scale,r=this.options,n=r.skipNull,l=Ee(r.maxBarThickness,1/0);let o,s;if(t.grouped){const i=n?this._getStackCount(e):t.stackCount,a="flex"===r.barThickness?function(e,t,i,r){const n=t.pixels,l=n[e];let o=e>0?n[e-1]:null,s=e<n.length-1?n[e+1]:null;const a=i.categoryPercentage;null===o&&(o=l-(null===s?t.end-t.start:s-l)),null===s&&(s=l+l-o);const c=l-(l-Math.min(o,s))/2*a;return{chunk:Math.abs(s-o)/2*a/r,ratio:i.barPercentage,start:c}}(e,t,r,i):function(e,t,i,r){const n=i.barThickness;let l,o;return _e(n)?(l=t.min*i.categoryPercentage,o=i.barPercentage):(l=n*r,o=1),{chunk:l/r,ratio:o,start:t.pixels[e]-l/2}}(e,t,r,i),c=this._getStackIndex(this.index,this._cachedMeta.stack,n?e:void 0);o=a.start+a.chunk*c+a.chunk/2,s=Math.min(l,a.chunk*a.ratio)}else o=i.getPixelForValue(this.getParsed(e)[i.axis],e),s=Math.min(l,t.min*t.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}}draw(){const e=this._cachedMeta,t=e.vScale,i=e.data,r=i.length;let n=0;for(;n<r;++n)null!==this.getParsed(n)[t.axis]&&i[n].draw(this._ctx)}}cn.id="bar",cn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},cn.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class dn extends $r{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,i,r){const n=super.parsePrimitiveData(e,t,i,r);for(let e=0;e<n.length;e++)n[e]._custom=this.resolveDataElementOptions(e+i).radius;return n}parseArrayData(e,t,i,r){const n=super.parseArrayData(e,t,i,r);for(let e=0;e<n.length;e++){const r=t[i+e];n[e]._custom=Ee(r[2],this.resolveDataElementOptions(e+i).radius)}return n}parseObjectData(e,t,i,r){const n=super.parseObjectData(e,t,i,r);for(let e=0;e<n.length;e++){const r=t[i+e];n[e]._custom=Ee(r&&r.r&&+r.r,this.resolveDataElementOptions(e+i).radius)}return n}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:i,yScale:r}=t,n=this.getParsed(e),l=i.getLabelForValue(n.x),o=r.getLabelForValue(n.y),s=n._custom;return{label:t.label,value:"("+l+", "+o+(s?", "+s:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,i,r){const n="reset"===r,{iScale:l,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:a}=this._getSharedOptions(t,r),c=l.axis,d=o.axis;for(let u=t;u<t+i;u++){const t=e[u],i=!n&&this.getParsed(u),f={},m=f[c]=n?l.getPixelForDecimal(.5):l.getPixelForValue(i[c]),h=f[d]=n?o.getBasePixel():o.getPixelForValue(i[d]);f.skip=isNaN(m)||isNaN(h),a&&(f.options=s||this.resolveDataElementOptions(u,t.active?"active":r),n&&(f.options.radius=0)),this.updateElement(t,u,f,r)}}resolveDataElementOptions(e,t){const i=this.getParsed(e);let r=super.resolveDataElementOptions(e,t);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const n=r.radius;return"active"!==t&&(r.radius=0),r.radius+=Ee(i&&i._custom,n),r}}dn.id="bubble",dn.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},dn.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class un extends $r{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const i=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=i;else{let n,l,o=e=>+i[e];if(xe(i[e])){const{key:e="value"}=this._parsing;o=t=>+Oe(i[t],e)}for(n=e,l=e+t;n<l;++n)r._parsed[n]=o(n)}}_getRotation(){return it(this.options.rotation-90)}_getCircumference(){return it(this.options.circumference)}_getRotationExtents(){let e=je,t=-je;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const r=this.chart.getDatasetMeta(i).controller,n=r._getRotation(),l=r._getCircumference();e=Math.min(e,n),t=Math.max(t,n+l)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:i}=t,r=this._cachedMeta,n=r.data,l=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,o=Math.max((Math.min(i.width,i.height)-l)/2,0),s=Math.min((a=this.options.cutout,c=o,"string"==typeof a&&a.endsWith("%")?parseFloat(a)/100:a/c),1);var a,c;const d=this._getRingWeight(this.index),{circumference:u,rotation:f}=this._getRotationExtents(),{ratioX:m,ratioY:h,offsetX:A,offsetY:g}=function(e,t,i){let r=1,n=1,l=0,o=0;if(t<je){const s=e,a=s+t,c=Math.cos(s),d=Math.sin(s),u=Math.cos(a),f=Math.sin(a),m=(e,t,r)=>ct(e,s,a,!0)?1:Math.max(t,t*i,r,r*i),h=(e,t,r)=>ct(e,s,a,!0)?-1:Math.min(t,t*i,r,r*i),A=m(0,c,u),g=m(Ze,d,f),p=h(Se,c,u),b=h(Se+Ze,d,f);r=(A-p)/2,n=(g-b)/2,l=-(A+p)/2,o=-(g+b)/2}return{ratioX:r,ratioY:n,offsetX:l,offsetY:o}}(f,u,s),p=(i.width-l)/m,b=(i.height-l)/h,C=Math.max(Math.min(p,b)/2,0),_=ye(this.options.radius,C),v=(_-Math.max(_*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=A*_,this.offsetY=g*_,r.total=this.calculateTotal(),this.outerRadius=_-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*d,0),this.updateElements(n,0,n.length,e)}_circumference(e,t){const i=this.options,r=this._cachedMeta,n=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*n/je)}updateElements(e,t,i,r){const n="reset"===r,l=this.chart,o=l.chartArea,s=l.options.animation,a=(o.left+o.right)/2,c=(o.top+o.bottom)/2,d=n&&s.animateScale,u=d?0:this.innerRadius,f=d?0:this.outerRadius,{sharedOptions:m,includeOptions:h}=this._getSharedOptions(t,r);let A,g=this._getRotation();for(A=0;A<t;++A)g+=this._circumference(A,n);for(A=t;A<t+i;++A){const t=this._circumference(A,n),i=e[A],l={x:a+this.offsetX,y:c+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:f,innerRadius:u};h&&(l.options=m||this.resolveDataElementOptions(A,i.active?"active":r)),g+=t,this.updateElement(i,A,l,r)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let i,r=0;for(i=0;i<t.length;i++){const n=e._parsed[i];null===n||isNaN(n)||!this.chart.getDataVisibility(i)||t[i].hidden||(r+=Math.abs(n))}return r}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?je*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,r=i.data.labels||[],n=Er(t._parsed[e],i.options.locale);return{label:r[e]||"",value:n}}getMaxBorderWidth(e){let t=0;const i=this.chart;let r,n,l,o,s;if(!e)for(r=0,n=i.data.datasets.length;r<n;++r)if(i.isDatasetVisible(r)){l=i.getDatasetMeta(r),e=l.data,o=l.controller;break}if(!e)return 0;for(r=0,n=e.length;r<n;++r)s=o.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let i=0,r=e.length;i<r;++i){const e=this.resolveDataElementOptions(i);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(Ee(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}un.id="doughnut",un.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},un.descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e},un.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,r)=>{const n=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(e){let t=e.label;const i=": "+e.formattedValue;return ve(t)?(t=t.slice(),t[0]+=i):t+=i,t}}}}};class fn extends $r{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:i,data:r=[],_dataset:n}=t,l=this.chart._animationsDisabled;let{start:o,count:s}=xt(t,r,l);this._drawStart=o,this._drawCount=s,Nt(t)&&(o=0,s=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=r;const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),a.segment=this.options.segment,this.updateElement(i,void 0,{animated:!l,options:a},e),this.updateElements(r,o,s,e)}updateElements(e,t,i,r){const n="reset"===r,{iScale:l,vScale:o,_stacked:s,_dataset:a}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(t,r),u=l.axis,f=o.axis,{spanGaps:m,segment:h}=this.options,A=$e(m)?m:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||n||"none"===r;let p=t>0&&this.getParsed(t-1);for(let m=t;m<t+i;++m){const t=e[m],i=this.getParsed(m),b=g?t:{},C=_e(i[f]),_=b[u]=l.getPixelForValue(i[u],m),v=b[f]=n||C?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,i,s):i[f],m);b.skip=isNaN(_)||isNaN(v)||C,b.stop=m>0&&Math.abs(i[u]-p[u])>A,h&&(b.parsed=i,b.raw=a.data[m]),d&&(b.options=c||this.resolveDataElementOptions(m,t.active?"active":r)),g||this.updateElement(t,m,b,r),p=i}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,i=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return i;const n=r[0].size(this.resolveDataElementOptions(0)),l=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,n,l)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}fn.id="line",fn.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},fn.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class mn extends $r{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,r=i.data.labels||[],n=Er(t._parsed[e].r,i.options.locale);return{label:r[e]||"",value:n}}parseObjectData(e,t,i,r){return er.bind(this)(e,t,i,r)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,i)=>{const r=this.getParsed(i).r;!isNaN(r)&&this.chart.getDataVisibility(i)&&(r<t.min&&(t.min=r),r>t.max&&(t.max=r))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,i=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),n=Math.max(r/2,0),l=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=n-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,t,i,r){const n="reset"===r,l=this.chart,o=l.options.animation,s=this._cachedMeta.rScale,a=s.xCenter,c=s.yCenter,d=s.getIndexAngle(0)-.5*Se;let u,f=d;const m=360/this.countVisibleElements();for(u=0;u<t;++u)f+=this._computeAngle(u,r,m);for(u=t;u<t+i;u++){const t=e[u];let i=f,h=f+this._computeAngle(u,r,m),A=l.getDataVisibility(u)?s.getDistanceFromCenterForValue(this.getParsed(u).r):0;f=h,n&&(o.animateScale&&(A=0),o.animateRotate&&(i=h=d));const g={x:a,y:c,innerRadius:0,outerRadius:A,startAngle:i,endAngle:h,options:this.resolveDataElementOptions(u,t.active?"active":r)};this.updateElement(t,u,g,r)}}countVisibleElements(){const e=this._cachedMeta;let t=0;return e.data.forEach(((e,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&t++})),t}_computeAngle(e,t,i){return this.chart.getDataVisibility(e)?it(this.resolveDataElementOptions(e,t).angle||i):0}}mn.id="polarArea",mn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},mn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,r)=>{const n=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:e=>e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class hn extends un{}hn.id="pie",hn.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class An extends $r{getLabelAndValue(e){const t=this._cachedMeta.vScale,i=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(i[t.axis])}}parseObjectData(e,t,i,r){return er.bind(this)(e,t,i,r)}update(e){const t=this._cachedMeta,i=t.dataset,r=t.data||[],n=t.iScale.getLabels();if(i.points=r,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const l={_loop:!0,_fullLoop:n.length===r.length,options:t};this.updateElement(i,void 0,l,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,i,r){const n=this._cachedMeta.rScale,l="reset"===r;for(let o=t;o<t+i;o++){const t=e[o],i=this.resolveDataElementOptions(o,t.active?"active":r),s=n.getPointPositionForValue(o,this.getParsed(o).r),a=l?n.xCenter:s.x,c=l?n.yCenter:s.y,d={x:a,y:c,angle:s.angle,skip:isNaN(a)||isNaN(c),options:i};this.updateElement(t,o,d,r)}}}An.id="radar",An.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},An.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class gn{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return $e(this.x)&&$e(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const r={};return e.forEach((e=>{r[e]=i[e]&&i[e].active()?i[e]._to:this[e]})),r}}gn.defaults={},gn.defaultRoutes=void 0;const pn={values:e=>ve(e)?e:""+e,numeric(e,t,i){if(0===e)return"0";const r=this.chart.options.locale;let n,l=e;if(i.length>1){const t=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(t<1e-4||t>1e15)&&(n="scientific"),l=function(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e));return i}(e,i)}const o=Ke(Math.abs(l)),s=Math.max(Math.min(-1*Math.floor(o),20),0),a={notation:n,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(a,this.options.ticks.format),Er(e,r,a)},logarithmic(e,t,i){if(0===e)return"0";const r=e/Math.pow(10,Math.floor(Ke(e)));return 1===r||2===r||5===r?pn.numeric.call(this,e,t,i):""}};var bn={formatters:pn};function Cn(e,t){const i=e.options.ticks,r=i.maxTicksLimit||function(e){const t=e.options.offset,i=e._tickSize(),r=e._length/i+(t?0:1),n=e._maxLength/i;return Math.floor(Math.min(r,n))}(e),n=i.major.enabled?function(e){const t=[];let i,r;for(i=0,r=e.length;i<r;i++)e[i].major&&t.push(i);return t}(t):[],l=n.length,o=n[0],s=n[l-1],a=[];if(l>r)return function(e,t,i,r){let n,l=0,o=i[0];for(r=Math.ceil(r),n=0;n<e.length;n++)n===o&&(t.push(e[n]),l++,o=i[l*r])}(t,a,n,l/r),a;const c=function(e,t,i){const r=function(e){const t=e.length;let i,r;if(t<2)return!1;for(r=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==r)return!1;return r}(e),n=t.length/i;if(!r)return Math.max(n,1);const l=function(e){const t=[],i=Math.sqrt(e);let r;for(r=1;r<i;r++)e%r==0&&(t.push(r),t.push(e/r));return i===(0|i)&&t.push(i),t.sort(((e,t)=>e-t)).pop(),t}(r);for(let e=0,t=l.length-1;e<t;e++){const t=l[e];if(t>n)return t}return Math.max(n,1)}(n,t,r);if(l>0){let e,i;const r=l>1?Math.round((s-o)/(l-1)):null;for(_n(t,a,c,_e(r)?0:o-r,o),e=0,i=l-1;e<i;e++)_n(t,a,c,n[e],n[e+1]);return _n(t,a,c,s,_e(r)?t.length:s+r),a}return _n(t,a,c),a}function _n(e,t,i,r,n){const l=Ee(r,0),o=Math.min(Ee(n,e.length),e.length);let s,a,c,d=0;for(i=Math.ceil(i),n&&(s=n-r,i=s/Math.floor(s/i)),c=l;c<0;)d++,c=Math.round(l+d*i);for(a=Math.max(l,0);a<o;a++)a===c&&(t.push(e[a]),d++,c=Math.round(l+d*i))}Ai.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:bn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Ai.route("scale.ticks","color","","color"),Ai.route("scale.grid","color","","borderColor"),Ai.route("scale.grid","borderColor","","borderColor"),Ai.route("scale.title","color","","color"),Ai.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e}),Ai.describe("scales",{_fallback:"scale"}),Ai.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e});const vn=(e,t,i)=>"top"===t||"left"===t?e[t]+i:e[t]-i;function xn(e,t){const i=[],r=e.length/t,n=e.length;let l=0;for(;l<n;l+=r)i.push(e[Math.floor(l)]);return i}function Nn(e,t,i){const r=e.ticks.length,n=Math.min(t,r-1),l=e._startPixel,o=e._endPixel,s=1e-6;let a,c=e.getPixelForTick(n);if(!(i&&(a=1===r?Math.max(c-l,o-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(n-1))/2,c+=n<t?a:-a,c<l-s||c>o+s)))return c}function wn(e){return e.drawTicks?e.tickLength:0}function En(e,t){if(!e.display)return 0;const i=Ri(e.font,t),r=Oi(e.padding);return(ve(e.text)?e.text.length:1)*i.lineHeight+r.height}function yn(e,t,i){let r=_t(e);return(i&&"right"!==t||!i&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class Dn extends gn{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:r}=this;return e=we(e,Number.POSITIVE_INFINITY),t=we(t,Number.NEGATIVE_INFINITY),i=we(i,Number.POSITIVE_INFINITY),r=we(r,Number.NEGATIVE_INFINITY),{min:we(e,i),max:we(t,r),minDefined:Ne(e),maxDefined:Ne(t)}}getMinMax(e){let t,{min:i,max:r,minDefined:n,maxDefined:l}=this.getUserBounds();if(n&&l)return{min:i,max:r};const o=this.getMatchingVisibleMetas();for(let s=0,a=o.length;s<a;++s)t=o[s].controller.getMinMax(this,e),n||(i=Math.min(i,t.min)),l||(r=Math.max(r,t.max));return i=l&&i>r?r:i,r=n&&i>r?i:r,{min:we(i,we(r,i)),max:we(r,we(i,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){De(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:r,grace:n,ticks:l}=this.options,o=l.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,i){const{min:r,max:n}=e,l=ye(t,(n-r)/2),o=(e,t)=>i&&0===e?0:e+t;return{min:o(r,-Math.abs(l)),max:o(n,l)}}(this,n,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=o<this.ticks.length;this._convertTicksToLabels(s?xn(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),l.display&&(l.autoSkip||"auto"===l.source)&&(this.ticks=Cn(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,i=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,i=!i),this._startPixel=e,this._endPixel=t,this._reversePixels=i,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){De(this.options.afterUpdate,[this])}beforeSetDimensions(){De(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){De(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),De(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){De(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let i,r,n;for(i=0,r=e.length;i<r;i++)n=e[i],n.label=De(t.callback,[n.value,i,e],this)}afterTickToLabelConversion(){De(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){De(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,i=this.ticks.length,r=t.minRotation||0,n=t.maxRotation;let l,o,s,a=r;if(!this._isVisible()||!t.display||r>=n||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,f=dt(this.chart.width-d,0,this.maxWidth);l=e.offset?this.maxWidth/i:f/(i-1),d+6>l&&(l=f/(i-(e.offset?.5:1)),o=this.maxHeight-wn(e.grid)-t.padding-En(e.title,this.chart.options.font),s=Math.sqrt(d*d+u*u),a=rt(Math.min(Math.asin(dt((c.highest.height+6)/l,-1,1)),Math.asin(dt(o/s,-1,1))-Math.asin(dt(u/s,-1,1)))),a=Math.max(r,Math.min(n,a))),this.labelRotation=a}afterCalculateLabelRotation(){De(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){De(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:r,grid:n}}=this,l=this._isVisible(),o=this.isHorizontal();if(l){const l=En(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=wn(n)+l):(e.height=this.maxHeight,e.width=wn(n)+l),i.display&&this.ticks.length){const{first:t,last:r,widest:n,highest:l}=this._getLabelSizes(),s=2*i.padding,a=it(this.labelRotation),c=Math.cos(a),d=Math.sin(a);if(o){const t=i.mirror?0:d*n.width+c*l.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=i.mirror?0:c*n.width+d*l.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,d,c)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,r){const{ticks:{align:n,padding:l},position:o}=this.options,s=0!==this.labelRotation,a="top"!==o&&"x"===this.axis;if(this.isHorizontal()){const o=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,u=0;s?a?(d=r*e.width,u=i*t.height):(d=i*e.height,u=r*t.width):"start"===n?u=t.width:"end"===n?d=e.width:"inner"!==n&&(d=e.width/2,u=t.width/2),this.paddingLeft=Math.max((d-o+l)*this.width/(this.width-o),0),this.paddingRight=Math.max((u-c+l)*this.width/(this.width-c),0)}else{let i=t.height/2,r=e.height/2;"start"===n?(i=0,r=e.height):"end"===n&&(i=t.height,r=0),this.paddingTop=i+l,this.paddingBottom=r+l}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){De(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,i=e.length;t<i;t++)_e(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let i=this.ticks;t<i.length&&(i=xn(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length)}return e}_computeLabelSizes(e,t){const{ctx:i,_longestTextCache:r}=this,n=[],l=[];let o,s,a,c,d,u,f,m,h,A,g,p=0,b=0;for(o=0;o<t;++o){if(c=e[o].label,d=this._resolveTickFontOptions(o),i.font=u=d.string,f=r[u]=r[u]||{data:{},gc:[]},m=d.lineHeight,h=A=0,_e(c)||ve(c)){if(ve(c))for(s=0,a=c.length;s<a;++s)g=c[s],_e(g)||ve(g)||(h=gi(i,f.data,f.gc,h,g),A+=m)}else h=gi(i,f.data,f.gc,h,c),A=m;n.push(h),l.push(A),p=Math.max(h,p),b=Math.max(A,b)}!function(e,t){Be(e,(e=>{const i=e.gc,r=i.length/2;let n;if(r>t){for(n=0;n<r;++n)delete e.data[i[n]];i.splice(0,r)}}))}(r,t);const C=n.indexOf(p),_=l.indexOf(b),v=e=>({width:n[e]||0,height:l[e]||0});return{first:v(0),last:v(t-1),widest:v(C),highest:v(_),widths:n,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return dt(this._alignToPixels?bi(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const i=t[e];return i.$context||(i.$context=function(e,t,i){return Yi(e,{tick:i,index:t,type:"tick"})}(this.getContext(),e,i))}return this.$context||(this.$context=Yi(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=it(this.labelRotation),i=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),n=this._getLabelSizes(),l=e.autoSkipPadding||0,o=n?n.widest.width+l:0,s=n?n.highest.height+l:0;return this.isHorizontal()?s*i>o*r?o/i:s/r:s*r<o*i?s/i:o/r}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,i=this.chart,r=this.options,{grid:n,position:l}=r,o=n.offset,s=this.isHorizontal(),a=this.ticks.length+(o?1:0),c=wn(n),d=[],u=n.setContext(this.getContext()),f=u.drawBorder?u.borderWidth:0,m=f/2,h=function(e){return bi(i,e,f)};let A,g,p,b,C,_,v,x,N,w,E,y;if("top"===l)A=h(this.bottom),_=this.bottom-c,x=A-m,w=h(e.top)+m,y=e.bottom;else if("bottom"===l)A=h(this.top),w=e.top,y=h(e.bottom)-m,_=A+m,x=this.top+c;else if("left"===l)A=h(this.right),C=this.right-c,v=A-m,N=h(e.left)+m,E=e.right;else if("right"===l)A=h(this.left),N=e.left,E=h(e.right)-m,C=A+m,v=this.left+c;else if("x"===t){if("center"===l)A=h((e.top+e.bottom)/2+.5);else if(xe(l)){const e=Object.keys(l)[0],t=l[e];A=h(this.chart.scales[e].getPixelForValue(t))}w=e.top,y=e.bottom,_=A+m,x=_+c}else if("y"===t){if("center"===l)A=h((e.left+e.right)/2);else if(xe(l)){const e=Object.keys(l)[0],t=l[e];A=h(this.chart.scales[e].getPixelForValue(t))}C=A-m,v=C-c,N=e.left,E=e.right}const D=Ee(r.ticks.maxTicksLimit,a),B=Math.max(1,Math.ceil(a/D));for(g=0;g<a;g+=B){const e=n.setContext(this.getContext(g)),t=e.lineWidth,r=e.color,l=e.borderDash||[],a=e.borderDashOffset,c=e.tickWidth,u=e.tickColor,f=e.tickBorderDash||[],m=e.tickBorderDashOffset;p=Nn(this,g,o),void 0!==p&&(b=bi(i,p,t),s?C=v=N=E=b:_=x=w=y=b,d.push({tx1:C,ty1:_,tx2:v,ty2:x,x1:N,y1:w,x2:E,y2:y,width:t,color:r,borderDash:l,borderDashOffset:a,tickWidth:c,tickColor:u,tickBorderDash:f,tickBorderDashOffset:m}))}return this._ticksLength=a,this._borderValue=A,d}_computeLabelItems(e){const t=this.axis,i=this.options,{position:r,ticks:n}=i,l=this.isHorizontal(),o=this.ticks,{align:s,crossAlign:a,padding:c,mirror:d}=n,u=wn(i.grid),f=u+c,m=d?-c:f,h=-it(this.labelRotation),A=[];let g,p,b,C,_,v,x,N,w,E,y,D,B="middle";if("top"===r)v=this.bottom-m,x=this._getXAxisLabelAlignment();else if("bottom"===r)v=this.top+m,x=this._getXAxisLabelAlignment();else if("left"===r){const e=this._getYAxisLabelAlignment(u);x=e.textAlign,_=e.x}else if("right"===r){const e=this._getYAxisLabelAlignment(u);x=e.textAlign,_=e.x}else if("x"===t){if("center"===r)v=(e.top+e.bottom)/2+f;else if(xe(r)){const e=Object.keys(r)[0],t=r[e];v=this.chart.scales[e].getPixelForValue(t)+f}x=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===r)_=(e.left+e.right)/2-f;else if(xe(r)){const e=Object.keys(r)[0],t=r[e];_=this.chart.scales[e].getPixelForValue(t)}x=this._getYAxisLabelAlignment(u).textAlign}"y"===t&&("start"===s?B="top":"end"===s&&(B="bottom"));const M=this._getLabelSizes();for(g=0,p=o.length;g<p;++g){b=o[g],C=b.label;const e=n.setContext(this.getContext(g));N=this.getPixelForTick(g)+n.labelOffset,w=this._resolveTickFontOptions(g),E=w.lineHeight,y=ve(C)?C.length:1;const t=y/2,i=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let u,f=x;if(l?(_=N,"inner"===x&&(f=g===p-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),D="top"===r?"near"===a||0!==h?-y*E+E/2:"center"===a?-M.highest.height/2-t*E+E:-M.highest.height+E/2:"near"===a||0!==h?E/2:"center"===a?M.highest.height/2-t*E:M.highest.height-y*E,d&&(D*=-1)):(v=N,D=(1-y)*E/2),e.showLabelBackdrop){const t=Oi(e.backdropPadding),i=M.heights[g],r=M.widths[g];let n=v+D-t.top,l=_-t.left;switch(B){case"middle":n-=i/2;break;case"bottom":n-=i}switch(x){case"center":l-=r/2;break;case"right":l-=r}u={left:l,top:n,width:r+t.width,height:i+t.height,color:e.backdropColor}}A.push({rotation:h,label:C,font:w,color:i,strokeColor:s,strokeWidth:c,textOffset:D,textAlign:f,textBaseline:B,translation:[_,v],backdrop:u})}return A}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-it(this.labelRotation))return"top"===e?"left":"right";let i="center";return"start"===t.align?i="left":"end"===t.align?i="right":"inner"===t.align&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:r,padding:n}}=this.options,l=e+n,o=this._getLabelSizes().widest.width;let s,a;return"left"===t?r?(a=this.right+n,"near"===i?s="left":"center"===i?(s="center",a+=o/2):(s="right",a+=o)):(a=this.right-l,"near"===i?s="right":"center"===i?(s="center",a-=o/2):(s="left",a=this.left)):"right"===t?r?(a=this.left+n,"near"===i?s="right":"center"===i?(s="center",a-=o/2):(s="left",a-=o)):(a=this.left+l,"near"===i?s="left":"center"===i?(s="center",a+=o/2):(s="right",a=this.right)):s="right",{textAlign:s,x:a}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:r,width:n,height:l}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,r,n,l),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const i=this.ticks.findIndex((t=>t.value===e));if(i>=0){return t.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let n,l;const o=(e,t,r)=>{r.width&&r.color&&(i.save(),i.lineWidth=r.width,i.strokeStyle=r.color,i.setLineDash(r.borderDash||[]),i.lineDashOffset=r.borderDashOffset,i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.stroke(),i.restore())};if(t.display)for(n=0,l=r.length;n<l;++n){const e=r[n];t.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&o({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{grid:i}}=this,r=i.setContext(this.getContext()),n=i.drawBorder?r.borderWidth:0;if(!n)return;const l=i.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let s,a,c,d;this.isHorizontal()?(s=bi(e,this.left,n)-n/2,a=bi(e,this.right,l)+l/2,c=d=o):(c=bi(e,this.top,n)-n/2,d=bi(e,this.bottom,l)+l/2,s=a=o),t.save(),t.lineWidth=r.borderWidth,t.strokeStyle=r.borderColor,t.beginPath(),t.moveTo(s,c),t.lineTo(a,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,i=this._computeLabelArea();i&&Ni(t,i);const r=this._labelItems||(this._labelItems=this._computeLabelItems(e));let n,l;for(n=0,l=r.length;n<l;++n){const e=r[n],i=e.font,l=e.label;e.backdrop&&(t.fillStyle=e.backdrop.color,t.fillRect(e.backdrop.left,e.backdrop.top,e.backdrop.width,e.backdrop.height)),Di(t,l,0,e.textOffset,i,e)}i&&wi(t)}drawTitle(){const{ctx:e,options:{position:t,title:i,reverse:r}}=this;if(!i.display)return;const n=Ri(i.font),l=Oi(i.padding),o=i.align;let s=n.lineHeight/2;"bottom"===t||"center"===t||xe(t)?(s+=l.bottom,ve(i.text)&&(s+=n.lineHeight*(i.text.length-1))):s+=l.top;const{titleX:a,titleY:c,maxWidth:d,rotation:u}=function(e,t,i,r){const{top:n,left:l,bottom:o,right:s,chart:a}=e,{chartArea:c,scales:d}=a;let u,f,m,h=0;const A=o-n,g=s-l;if(e.isHorizontal()){if(f=vt(r,l,s),xe(i)){const e=Object.keys(i)[0],r=i[e];m=d[e].getPixelForValue(r)+A-t}else m="center"===i?(c.bottom+c.top)/2+A-t:vn(e,i,t);u=s-l}else{if(xe(i)){const e=Object.keys(i)[0],r=i[e];f=d[e].getPixelForValue(r)-g+t}else f="center"===i?(c.left+c.right)/2-g+t:vn(e,i,t);m=vt(r,o,n),h="left"===i?-Ze:Ze}return{titleX:f,titleY:m,maxWidth:u,rotation:h}}(this,s,t,o);Di(e,i.text,0,0,n,{color:i.color,maxWidth:d,rotation:u,textAlign:yn(o,t,r),textBaseline:"middle",translation:[a,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,i=Ee(e.grid&&e.grid.z,-1);return this._isVisible()&&this.draw===Dn.prototype.draw?[{z:i,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let n,l;for(n=0,l=t.length;n<l;++n){const l=t[n];l[i]!==this.id||e&&l.type!==e||r.push(l)}return r}_resolveTickFontOptions(e){return Ri(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Bn{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let i;(function(e){return"id"in e&&"defaults"in e})(t)&&(i=this.register(t));const r=this.items,n=e.id,l=this.scope+"."+n;if(!n)throw new Error("class does not have id: "+e);return n in r||(r[n]=e,function(e,t,i){const r=He(Object.create(null),[i?Ai.get(i):{},Ai.get(t),e.defaults]);Ai.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((i=>{const r=i.split("."),n=r.pop(),l=[e].concat(r).join("."),o=t[i].split("."),s=o.pop(),a=o.join(".");Ai.route(l,n,a,s)}))}(t,e.defaultRoutes);e.descriptors&&Ai.describe(t,e.descriptors)}(e,l,i),this.override&&Ai.override(e.id,e.overrides)),l}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,r=this.scope;i in t&&delete t[i],r&&i in Ai[r]&&(delete Ai[r][i],this.override&&delete ui[i])}}var Mn=new class{constructor(){this.controllers=new Bn($r,"datasets",!0),this.elements=new Bn(gn,"elements"),this.plugins=new Bn(Object,"plugins"),this.scales=new Bn(Dn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach((t=>{const r=i||this._getRegistryForType(t);i||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Be(t,(t=>{const r=i||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,i){const r=Re(e);De(i["before"+r],[],i),t[e](i),De(i["after"+r],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+i+".");return r}};class kn extends $r{update(e){const t=this._cachedMeta,{data:i=[]}=t,r=this.chart._animationsDisabled;let{start:n,count:l}=xt(t,i,r);if(this._drawStart=n,this._drawCount=l,Nt(t)&&(n=0,l=i.length),this.options.showLine){const{dataset:n,_dataset:l}=t;n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!l._decimated,n.points=i;const o=this.resolveDatasetElementOptions(e);o.segment=this.options.segment,this.updateElement(n,void 0,{animated:!r,options:o},e)}this.updateElements(i,n,l,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=Mn.getElement("line")),super.addElements()}updateElements(e,t,i,r){const n="reset"===r,{iScale:l,vScale:o,_stacked:s,_dataset:a}=this._cachedMeta,c=this.resolveDataElementOptions(t,r),d=this.getSharedOptions(c),u=this.includeOptions(r,d),f=l.axis,m=o.axis,{spanGaps:h,segment:A}=this.options,g=$e(h)?h:Number.POSITIVE_INFINITY,p=this.chart._animationsDisabled||n||"none"===r;let b=t>0&&this.getParsed(t-1);for(let c=t;c<t+i;++c){const t=e[c],i=this.getParsed(c),h=p?t:{},C=_e(i[m]),_=h[f]=l.getPixelForValue(i[f],c),v=h[m]=n||C?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,i,s):i[m],c);h.skip=isNaN(_)||isNaN(v)||C,h.stop=c>0&&Math.abs(i[f]-b[f])>g,A&&(h.parsed=i,h.raw=a.data[c]),u&&(h.options=d||this.resolveDataElementOptions(c,t.active?"active":r)),p||this.updateElement(t,c,h,r),b=i}this.updateSharedOptions(d,r,c)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}const i=e.dataset,r=i.options&&i.options.borderWidth||0;if(!t.length)return r;const n=t[0].size(this.resolveDataElementOptions(0)),l=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,n,l)/2}}kn.id="scatter",kn.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},kn.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:e=>"("+e.label+", "+e.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Pn=Object.freeze({__proto__:null,BarController:cn,BubbleController:dn,DoughnutController:un,LineController:fn,PolarAreaController:mn,PieController:hn,RadarController:An,ScatterController:kn});function Ln(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Hn{constructor(e){this.options=e||{}}init(e){}formats(){return Ln()}parse(e,t){return Ln()}format(e,t){return Ln()}add(e,t,i){return Ln()}diff(e,t,i){return Ln()}startOf(e,t,i){return Ln()}endOf(e,t){return Ln()}}Hn.override=function(e){Object.assign(Hn.prototype,e)};var In={_date:Hn};function Fn(e,t,i,r){const{controller:n,data:l,_sorted:o}=e,s=n._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&o&&l.length){const e=s._reversePixels?ht:mt;if(!r)return e(l,t,i);if(n._sharedOptions){const r=l[0],n="function"==typeof r.getRange&&r.getRange(t);if(n){const r=e(l,t,i-n),o=e(l,t,i+n);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:l.length-1}}function Qn(e,t,i,r,n){const l=e.getSortedVisibleDatasetMetas(),o=i[t];for(let e=0,i=l.length;e<i;++e){const{index:i,data:s}=l[e],{lo:a,hi:c}=Fn(l[e],t,o,n);for(let e=a;e<=c;++e){const t=s[e];t.skip||r(t,i,e)}}}function On(e,t,i,r,n){const l=[];if(!n&&!e.isPointInArea(t))return l;return Qn(e,i,t,(function(i,o,s){(n||xi(i,e.chartArea,0))&&i.inRange(t.x,t.y,r)&&l.push({element:i,datasetIndex:o,index:s})}),!0),l}function Rn(e,t,i,r,n,l){let o=[];const s=function(e){const t=-1!==e.indexOf("x"),i=-1!==e.indexOf("y");return function(e,r){const n=t?Math.abs(e.x-r.x):0,l=i?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(l,2))}}(i);let a=Number.POSITIVE_INFINITY;return Qn(e,i,t,(function(i,c,d){const u=i.inRange(t.x,t.y,n);if(r&&!u)return;const f=i.getCenterPoint(n);if(!(!!l||e.isPointInArea(f))&&!u)return;const m=s(t,f);m<a?(o=[{element:i,datasetIndex:c,index:d}],a=m):m===a&&o.push({element:i,datasetIndex:c,index:d})})),o}function Vn(e,t,i,r,n,l){return l||e.isPointInArea(t)?"r"!==i||r?Rn(e,t,i,r,n,l):function(e,t,i,r){let n=[];return Qn(e,i,t,(function(e,i,l){const{startAngle:o,endAngle:s}=e.getProps(["startAngle","endAngle"],r),{angle:a}=lt(e,{x:t.x,y:t.y});ct(a,o,s)&&n.push({element:e,datasetIndex:i,index:l})})),n}(e,t,i,n):[]}function Yn(e,t,i,r,n){const l=[],o="x"===i?"inXRange":"inYRange";let s=!1;return Qn(e,i,t,((e,r,a)=>{e[o](t[i],n)&&(l.push({element:e,datasetIndex:r,index:a}),s=s||e.inRange(t.x,t.y,n))})),r&&!s?[]:l}var zn={evaluateInteractionItems:Qn,modes:{index(e,t,i,r){const n=Ar(t,e),l=i.axis||"x",o=i.includeInvisible||!1,s=i.intersect?On(e,n,l,r,o):Vn(e,n,l,!1,r,o),a=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=s[0].index,i=e.data[t];i&&!i.skip&&a.push({element:i,datasetIndex:e.index,index:t})})),a):[]},dataset(e,t,i,r){const n=Ar(t,e),l=i.axis||"xy",o=i.includeInvisible||!1;let s=i.intersect?On(e,n,l,r,o):Vn(e,n,l,!1,r,o);if(s.length>0){const t=s[0].datasetIndex,i=e.getDatasetMeta(t).data;s=[];for(let e=0;e<i.length;++e)s.push({element:i[e],datasetIndex:t,index:e})}return s},point:(e,t,i,r)=>On(e,Ar(t,e),i.axis||"xy",r,i.includeInvisible||!1),nearest(e,t,i,r){const n=Ar(t,e),l=i.axis||"xy",o=i.includeInvisible||!1;return Vn(e,n,l,i.intersect,r,o)},x:(e,t,i,r)=>Yn(e,Ar(t,e),"x",i.intersect,r),y:(e,t,i,r)=>Yn(e,Ar(t,e),"y",i.intersect,r)}};const Sn=["left","top","right","bottom"];function jn(e,t){return e.filter((e=>e.pos===t))}function Tn(e,t){return e.filter((e=>-1===Sn.indexOf(e.pos)&&e.box.axis===t))}function Wn(e,t){return e.sort(((e,i)=>{const r=t?i:e,n=t?e:i;return r.weight===n.weight?r.index-n.index:r.weight-n.weight}))}function Xn(e,t){const i=function(e){const t={};for(const i of e){const{stack:e,pos:r,stackWeight:n}=i;if(!e||!Sn.includes(r))continue;const l=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});l.count++,l.weight+=n}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:n}=t;let l,o,s;for(l=0,o=e.length;l<o;++l){s=e[l];const{fullSize:o}=s.box,a=i[s.stack],c=a&&s.stackWeight/a.weight;s.horizontal?(s.width=c?c*r:o&&t.availableWidth,s.height=n):(s.width=r,s.height=c?c*n:o&&t.availableHeight)}return i}function Zn(e,t,i,r){return Math.max(e[i],t[i])+Math.max(e[r],t[r])}function Un(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Gn(e,t,i,r){const{pos:n,box:l}=i,o=e.maxPadding;if(!xe(n)){i.size&&(e[n]-=i.size);const t=r[i.stack]||{size:0,count:1};t.size=Math.max(t.size,i.horizontal?l.height:l.width),i.size=t.size/t.count,e[n]+=i.size}l.getPadding&&Un(o,l.getPadding());const s=Math.max(0,t.outerWidth-Zn(o,e,"left","right")),a=Math.max(0,t.outerHeight-Zn(o,e,"top","bottom")),c=s!==e.w,d=a!==e.h;return e.w=s,e.h=a,i.horizontal?{same:c,other:d}:{same:d,other:c}}function Kn(e,t){const i=t.maxPadding;function r(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],i[e])})),r}return r(e?["left","right"]:["top","bottom"])}function qn(e,t,i,r){const n=[];let l,o,s,a,c,d;for(l=0,o=e.length,c=0;l<o;++l){s=e[l],a=s.box,a.update(s.width||t.w,s.height||t.h,Kn(s.horizontal,t));const{same:o,other:u}=Gn(t,i,s,r);c|=o&&n.length,d=d||u,a.fullSize||n.push(s)}return c&&qn(n,t,i,r)||d}function Jn(e,t,i,r,n){e.top=i,e.left=t,e.right=t+r,e.bottom=i+n,e.width=r,e.height=n}function $n(e,t,i,r){const n=i.padding;let{x:l,y:o}=t;for(const s of e){const e=s.box,a=r[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/a.weight||1;if(s.horizontal){const r=t.w*c,l=a.size||e.height;Ve(a.start)&&(o=a.start),e.fullSize?Jn(e,n.left,o,i.outerWidth-n.right-n.left,l):Jn(e,t.left+a.placed,o,r,l),a.start=o,a.placed+=r,o=e.bottom}else{const r=t.h*c,o=a.size||e.width;Ve(a.start)&&(l=a.start),e.fullSize?Jn(e,l,n.top,o,i.outerHeight-n.bottom-n.top):Jn(e,l,t.top+a.placed,o,r),a.start=l,a.placed+=r,l=e.right}}t.x=l,t.y=o}Ai.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var el={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;-1!==i&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,r){if(!e)return;const n=Oi(e.options.layout.padding),l=Math.max(t-n.width,0),o=Math.max(i-n.height,0),s=function(e){const t=function(e){const t=[];let i,r,n,l,o,s;for(i=0,r=(e||[]).length;i<r;++i)n=e[i],({position:l,options:{stack:o,stackWeight:s=1}}=n),t.push({index:i,box:n,pos:l,horizontal:n.isHorizontal(),weight:n.weight,stack:o&&l+o,stackWeight:s});return t}(e),i=Wn(t.filter((e=>e.box.fullSize)),!0),r=Wn(jn(t,"left"),!0),n=Wn(jn(t,"right")),l=Wn(jn(t,"top"),!0),o=Wn(jn(t,"bottom")),s=Tn(t,"x"),a=Tn(t,"y");return{fullSize:i,leftAndTop:r.concat(l),rightAndBottom:n.concat(a).concat(o).concat(s),chartArea:jn(t,"chartArea"),vertical:r.concat(n).concat(a),horizontal:l.concat(o).concat(s)}}(e.boxes),a=s.vertical,c=s.horizontal;Be(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const d=a.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,u=Object.freeze({outerWidth:t,outerHeight:i,padding:n,availableWidth:l,availableHeight:o,vBoxMaxWidth:l/2/d,hBoxMaxHeight:o/2}),f=Object.assign({},n);Un(f,Oi(r));const m=Object.assign({maxPadding:f,w:l,h:o,x:n.left,y:n.top},n),h=Xn(a.concat(c),u);qn(s.fullSize,m,u,h),qn(a,m,u,h),qn(c,m,u,h)&&qn(a,m,u,h),function(e){const t=e.maxPadding;function i(i){const r=Math.max(t[i]-e[i],0);return e[i]+=r,r}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}(m),$n(s.leftAndTop,m,u,h),m.x+=m.w,m.y+=m.h,$n(s.rightAndBottom,m,u,h),e.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Be(s.chartArea,(t=>{const i=t.box;Object.assign(i,e.chartArea),i.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})}))}};class tl{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,r){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):i)}}isAttached(e){return!0}updateConfig(e){}}class il extends tl{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const rl="$chartjs",nl={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ll=e=>null===e||""===e;const ol=!!Cr&&{passive:!0};function sl(e,t,i){e.canvas.removeEventListener(t,i,ol)}function al(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function cl(e,t,i){const r=e.canvas,n=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||al(i.addedNodes,r),t=t&&!al(i.removedNodes,r);t&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function dl(e,t,i){const r=e.canvas,n=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||al(i.removedNodes,r),t=t&&!al(i.addedNodes,r);t&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const ul=new Map;let fl=0;function ml(){const e=window.devicePixelRatio;e!==fl&&(fl=e,ul.forEach(((t,i)=>{i.currentDevicePixelRatio!==e&&t()})))}function hl(e,t,i){const r=e.canvas,n=r&&cr(r);if(!n)return;const l=Ct(((e,t)=>{const r=n.clientWidth;i(e,t),r<n.clientWidth&&i()}),window),o=new ResizeObserver((e=>{const t=e[0],i=t.contentRect.width,r=t.contentRect.height;0===i&&0===r||l(i,r)}));return o.observe(n),function(e,t){ul.size||window.addEventListener("resize",ml),ul.set(e,t)}(e,l),o}function Al(e,t,i){i&&i.disconnect(),"resize"===t&&function(e){ul.delete(e),ul.size||window.removeEventListener("resize",ml)}(e)}function gl(e,t,i){const r=e.canvas,n=Ct((t=>{null!==e.ctx&&i(function(e,t){const i=nl[e.type]||e.type,{x:r,y:n}=Ar(e,t);return{type:i,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==n?n:null}}(t,e))}),e,(e=>{const t=e[0];return[t,t.offsetX,t.offsetY]}));return function(e,t,i){e.addEventListener(t,i,ol)}(r,t,n),n}class pl extends tl{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(function(e,t){const i=e.style,r=e.getAttribute("height"),n=e.getAttribute("width");if(e[rl]={initial:{height:r,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",ll(n)){const t=_r(e,"width");void 0!==t&&(e.width=t)}if(ll(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=_r(e,"height");void 0!==t&&(e.height=t)}}(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[rl])return!1;const i=t[rl].initial;["height","width"].forEach((e=>{const r=i[e];_e(r)?t.removeAttribute(e):t.setAttribute(e,r)}));const r=i.style||{};return Object.keys(r).forEach((e=>{t.style[e]=r[e]})),t.width=t.width,delete t[rl],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),n={attach:cl,detach:dl,resize:hl}[t]||gl;r[t]=n(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),r=i[t];if(!r)return;({attach:Al,detach:Al,resize:Al}[t]||sl)(e,t,r),i[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,r){return pr(e,t,i,r)}isAttached(e){const t=cr(e);return!(!t||!t.isConnected)}}class bl{constructor(){this._init=[]}notify(e,t,i,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const n=r?this._descriptors(e).filter(r):this._descriptors(e),l=this._notify(n,e,t,i);return"afterDestroy"===t&&(this._notify(n,e,"stop"),this._notify(this._init,e,"uninstall")),l}_notify(e,t,i,r){r=r||{};for(const n of e){const e=n.plugin;if(!1===De(e[i],[t,r,n.options],e)&&r.cancelable)return!1}return!0}invalidate(){_e(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const i=e&&e.config,r=Ee(i.options&&i.options.plugins,{}),n=function(e){const t={},i=[],r=Object.keys(Mn.plugins.items);for(let e=0;e<r.length;e++)i.push(Mn.getPlugin(r[e]));const n=e.plugins||[];for(let e=0;e<n.length;e++){const r=n[e];-1===i.indexOf(r)&&(i.push(r),t[r.id]=!0)}return{plugins:i,localIds:t}}(i);return!1!==r||t?function(e,{plugins:t,localIds:i},r,n){const l=[],o=e.getContext();for(const s of t){const t=s.id,a=Cl(r[t],n);null!==a&&l.push({plugin:s,options:_l(e.config,{plugin:s,local:i[t]},a,o)})}return l}(e,n,r,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],i=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,i),e,"stop"),this._notify(r(i,t),e,"start")}}function Cl(e,t){return t||!1!==e?!0===e?{}:e:null}function _l(e,{plugin:t,local:i},r,n){const l=e.pluginScopeKeys(t),o=e.getOptionScopes(r,l);return i&&t.defaults&&o.push(t.defaults),e.createResolver(o,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function vl(e,t){const i=Ai.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function xl(e,t){return"x"===e||"y"===e?e:t.axis||("top"===(i=t.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||e.charAt(0).toLowerCase();var i}function Nl(e){const t=e.options||(e.options={});t.plugins=Ee(t.plugins,{}),t.scales=function(e,t){const i=ui[e.type]||{scales:{}},r=t.scales||{},n=vl(e.type,t),l=Object.create(null),o=Object.create(null);return Object.keys(r).forEach((e=>{const t=r[e];if(!xe(t))return console.error(`Invalid scale configuration for scale: ${e}`);if(t._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const s=xl(e,t),a=function(e,t){return e===t?"_index_":"_value_"}(s,n),c=i.scales||{};l[s]=l[s]||e,o[e]=Ie(Object.create(null),[{axis:s},t,c[s],c[a]])})),e.data.datasets.forEach((i=>{const n=i.type||e.type,s=i.indexAxis||vl(n,t),a=(ui[n]||{}).scales||{};Object.keys(a).forEach((e=>{const t=function(e,t){let i=e;return"_index_"===e?i=t:"_value_"===e&&(i="x"===t?"y":"x"),i}(e,s),n=i[t+"AxisID"]||l[t]||t;o[n]=o[n]||Object.create(null),Ie(o[n],[{axis:t},r[n],a[e]])}))})),Object.keys(o).forEach((e=>{const t=o[e];Ie(t,[Ai.scales[t.type],Ai.scale])})),o}(e,t)}function wl(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const El=new Map,yl=new Set;function Dl(e,t){let i=El.get(e);return i||(i=t(),El.set(e,i),yl.add(i)),i}const Bl=(e,t,i)=>{const r=Oe(t,i);void 0!==r&&e.add(r)};class Ml{constructor(e){this._config=function(e){return(e=e||{}).data=wl(e.data),Nl(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=wl(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Nl(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Dl(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Dl(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Dl(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Dl(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const i=this._scopeCache;let r=i.get(e);return r&&!t||(r=new Map,i.set(e,r)),r}getOptionScopes(e,t,i){const{options:r,type:n}=this,l=this._cachedScopes(e,i),o=l.get(t);if(o)return o;const s=new Set;t.forEach((t=>{e&&(s.add(e),t.forEach((t=>Bl(s,e,t)))),t.forEach((e=>Bl(s,r,e))),t.forEach((e=>Bl(s,ui[n]||{},e))),t.forEach((e=>Bl(s,Ai,e))),t.forEach((e=>Bl(s,fi,e)))}));const a=Array.from(s);return 0===a.length&&a.push(Object.create(null)),yl.has(t)&&l.set(t,a),a}chartOptionScopes(){const{options:e,type:t}=this;return[e,ui[t]||{},Ai.datasets[t]||{},{type:t},Ai,fi]}resolveNamedOptions(e,t,i,r=[""]){const n={$shared:!0},{resolver:l,subPrefixes:o}=kl(this._resolverCache,e,r);let s=l;if(function(e,t){const{isScriptable:i,isIndexable:r}=ji(e);for(const n of t){const t=i(n),l=r(n),o=(l||t)&&e[n];if(t&&(Ye(o)||Pl(o))||l&&ve(o))return!0}return!1}(l,t)){n.$shared=!1;s=Si(l,i=Ye(i)?i():i,this.createResolver(e,i,o))}for(const e of t)n[e]=s[e];return n}createResolver(e,t,i=[""],r){const{resolver:n}=kl(this._resolverCache,e,i);return xe(t)?Si(n,t,void 0,r):n}}function kl(e,t,i){let r=e.get(t);r||(r=new Map,e.set(t,r));const n=i.join();let l=r.get(n);if(!l){l={resolver:zi(t,i),subPrefixes:i.filter((e=>!e.toLowerCase().includes("hover")))},r.set(n,l)}return l}const Pl=e=>xe(e)&&Object.getOwnPropertyNames(e).reduce(((t,i)=>t||Ye(e[i])),!1);const Ll=["top","bottom","left","right","chartArea"];function Hl(e,t){return"top"===e||"bottom"===e||-1===Ll.indexOf(e)&&"x"===t}function Il(e,t){return function(i,r){return i[e]===r[e]?i[t]-r[t]:i[e]-r[e]}}function Fl(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),De(i&&i.onComplete,[e],t)}function Ql(e){const t=e.chart,i=t.options.animation;De(i&&i.onProgress,[e],t)}function Ol(e){return ar()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Rl={},Vl=e=>{const t=Ol(e);return Object.values(Rl).filter((e=>e.canvas===t)).pop()};function Yl(e,t,i){const r=Object.keys(e);for(const n of r){const r=+n;if(r>=t){const l=e[n];delete e[n],(i>0||r>t)&&(e[r+i]=l)}}}let zl=class{constructor(e,t){const i=this.config=new Ml(t),r=Ol(e),n=Vl(r);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const l=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(e){return!ar()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?il:pl}(r)),this.platform.updateConfig(i);const o=this.platform.acquireContext(r,l.aspectRatio),s=o&&o.canvas,a=s&&s.height,c=s&&s.width;this.id=Ce(),this.ctx=o,this.canvas=s,this.width=c,this.height=a,this._options=l,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bl,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let i;return function(...r){return t?(clearTimeout(i),i=setTimeout(e,t,r)):e.apply(this,r),t}}((e=>this.update(e)),l.resizeDelay||0),this._dataChanges=[],Rl[this.id]=this,o&&s?(Qr.listen(this,"complete",Fl),Qr.listen(this,"progress",Ql),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:r,_aspectRatio:n}=this;return _e(e)?t&&n?n:r?i/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():br(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ci(this.canvas,this.ctx),this}stop(){return Qr.stop(this),this}resize(e,t){Qr.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,r=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,l=this.platform.getMaximumSize(r,e,t,n),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=l.width,this.height=l.height,this._aspectRatio=this.aspectRatio,br(this,o,!0)&&(this.notifyPlugins("resize",{size:l}),De(i.onResize,[this,l],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Be(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,r=Object.keys(i).reduce(((e,t)=>(e[t]=!1,e)),{});let n=[];t&&(n=n.concat(Object.keys(t).map((e=>{const i=t[e],r=xl(e,i),n="r"===r,l="x"===r;return{options:i,dposition:n?"chartArea":l?"bottom":"left",dtype:n?"radialLinear":l?"category":"linear"}})))),Be(n,(t=>{const n=t.options,l=n.id,o=xl(l,n),s=Ee(n.type,t.dtype);void 0!==n.position&&Hl(n.position,o)===Hl(t.dposition)||(n.position=t.dposition),r[l]=!0;let a=null;if(l in i&&i[l].type===s)a=i[l];else{a=new(Mn.getScale(s))({id:l,type:s,ctx:this.ctx,chart:this}),i[a.id]=a}a.init(n,e)})),Be(r,((e,t)=>{e||delete i[t]})),Be(i,(e=>{el.configure(this,e,e.options),el.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort(((e,t)=>e.index-t.index)),i>t){for(let e=t;e<i;++e)this._destroyDatasetMeta(e);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(Il("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,i)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=t.length;i<r;i++){const r=t[i];let n=this.getDatasetMeta(i);const l=r.type||this.config.type;if(n.type&&n.type!==l&&(this._destroyDatasetMeta(i),n=this.getDatasetMeta(i)),n.type=l,n.indexAxis=r.indexAxis||vl(l,this.options),n.order=r.order||0,n.index=i,n.label=""+r.label,n.visible=this.isDatasetVisible(i),n.controller)n.controller.updateIndex(i),n.controller.linkScales();else{const t=Mn.getController(l),{datasetElementType:r,dataElementType:o}=Ai.datasets[l];Object.assign(t.prototype,{dataElementType:Mn.getElement(o),datasetElementType:r&&Mn.getElement(r)}),n.controller=new t(this,i),e.push(n.controller)}}return this._updateMetasets(),e}_resetElements(){Be(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let l=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),i=!r&&-1===n.indexOf(t);t.buildOrUpdateElements(i),l=Math.max(+t.getMaxOverflow(),l)}l=this._minPadding=i.layout.autoPadding?l:0,this._updateLayout(l),r||Be(n,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Il("z","_idx"));const{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Be(this.scales,(e=>{el.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);ze(t,i)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:n}of t){Yl(e,r,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),r=i(0);for(let e=1;e<t;e++)if(!ze(r,i(e)))return;return Array.from(r).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;el.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],Be(this.boxes,(e=>{i&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,Ye(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const i=this.getDatasetMeta(e),r={meta:i,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(i.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Qr.has(this)?this.attached&&!Qr.running(this)&&Qr.start(this):(this.draw(),Fl({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,i=[];let r,n;for(r=0,n=t.length;r<n;++r){const n=t[r];e&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i=e._clip,r=!i.disabled,n=this.chartArea,l={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",l)&&(r&&Ni(t,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),e.controller.draw(),r&&wi(t),l.cancelable=!1,this.notifyPlugins("afterDatasetDraw",l))}isPointInArea(e){return xi(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,r){const n=zn.modes[t];return"function"==typeof n?n(this,e,i,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let r=i.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=Yi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return"boolean"==typeof i.hidden?!i.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){const r=i?"show":"hide",n=this.getDatasetMeta(e),l=n.controller._resolveAnimations(void 0,r);Ve(t)?(n.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),l.update(n,{visible:i}),this.update((t=>t.datasetIndex===e?r:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Qr.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Ci(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete Rl[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,i=(i,r)=>{t.addEventListener(this,i,r),e[i]=r},r=(e,t,i)=>{e.offsetX=t,e.offsetY=i,this._eventHandler(e)};Be(this.options.events,(e=>i(e,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(i,r)=>{t.addEventListener(this,i,r),e[i]=r},r=(i,r)=>{e[i]&&(t.removeEventListener(this,i,r),delete e[i])},n=(e,t)=>{this.canvas&&this.resize(e,t)};let l;const o=()=>{r("attach",o),this.attached=!0,this.resize(),i("resize",n),i("detach",l)};l=()=>{this.attached=!1,r("resize",n),this._stop(),this._resize(0,0),i("attach",o)},t.isAttached(this.canvas)?o():l()}unbindEvents(){Be(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},Be(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const r=i?"set":"remove";let n,l,o,s;for("dataset"===t&&(n=this.getDatasetMeta(e[0].datasetIndex),n.controller["_"+r+"DatasetHoverStyle"]()),o=0,s=e.length;o<s;++o){l=e[o];const t=l&&this.getDatasetMeta(l.datasetIndex).controller;t&&t[r+"HoverStyle"](l.element,l.datasetIndex,l.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],i=e.map((({datasetIndex:e,index:t})=>{const i=this.getDatasetMeta(e);if(!i)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:i.data[t],index:t}}));!Me(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}_updateHoverStyles(e,t,i){const r=this.options.hover,n=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),l=n(t,e),o=i?e:n(e,t);l.length&&this.updateHoverStyle(l,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",i,r))return;const n=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(n||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:r=[],options:n}=this,l=t,o=this._getActiveElements(e,r,i,l),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),a=function(e,t,i,r){return i&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,i,s);i&&(this._lastEvent=null,De(n.onHover,[e,o,this],this),s&&De(n.onClick,[e,o,this],this));const c=!Me(o,r);return(c||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=a,c}_getActiveElements(e,t,i,r){if("mouseout"===e.type)return[];if(!i)return t;const n=this.options.hover;return this.getElementsAtEventForMode(e,n.mode,n,r)}};const Sl=()=>Be(zl.instances,(e=>e._plugins.invalidate())),jl=!0;function Tl(e,t,i){const{startAngle:r,pixelMargin:n,x:l,y:o,outerRadius:s,innerRadius:a}=t;let c=n/s;e.beginPath(),e.arc(l,o,s,r-c,i+c),a>n?(c=n/a,e.arc(l,o,a,i+c,r-c,!0)):e.arc(l,o,n,i+Ze,r-Ze),e.closePath(),e.clip()}function Wl(e,t,i,r){const n=Ii(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const l=(i-t)/2,o=Math.min(l,r*t/2),s=e=>{const t=(i-Math.min(l,e))*r/2;return dt(e,0,Math.min(l,t))};return{outerStart:s(n.outerStart),outerEnd:s(n.outerEnd),innerStart:dt(n.innerStart,0,o),innerEnd:dt(n.innerEnd,0,o)}}function Xl(e,t,i,r){return{x:i+e*Math.cos(t),y:r+e*Math.sin(t)}}function Zl(e,t,i,r,n,l){const{x:o,y:s,startAngle:a,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+r+i-c,0),f=d>0?d+r+i+c:0;let m=0;const h=n-a;if(r){const e=((d>0?d-r:0)+(u>0?u-r:0))/2;m=(h-(0!==e?h*e/(e+r):h))/2}const A=(h-Math.max(.001,h*u-i/Se)/u)/2,g=a+A+m,p=n-A-m,{outerStart:b,outerEnd:C,innerStart:_,innerEnd:v}=Wl(t,f,u,p-g),x=u-b,N=u-C,w=g+b/x,E=p-C/N,y=f+_,D=f+v,B=g+_/y,M=p-v/D;if(e.beginPath(),l){if(e.arc(o,s,u,w,E),C>0){const t=Xl(N,E,o,s);e.arc(t.x,t.y,C,E,p+Ze)}const t=Xl(D,p,o,s);if(e.lineTo(t.x,t.y),v>0){const t=Xl(D,M,o,s);e.arc(t.x,t.y,v,p+Ze,M+Math.PI)}if(e.arc(o,s,f,p-v/f,g+_/f,!0),_>0){const t=Xl(y,B,o,s);e.arc(t.x,t.y,_,B+Math.PI,g-Ze)}const i=Xl(x,g,o,s);if(e.lineTo(i.x,i.y),b>0){const t=Xl(x,w,o,s);e.arc(t.x,t.y,b,g-Ze,w)}}else{e.moveTo(o,s);const t=Math.cos(w)*u+o,i=Math.sin(w)*u+s;e.lineTo(t,i);const r=Math.cos(E)*u+o,n=Math.sin(E)*u+s;e.lineTo(r,n)}e.closePath()}function Ul(e,t,i,r,n,l){const{options:o}=t,{borderWidth:s,borderJoinStyle:a}=o,c="inner"===o.borderAlign;s&&(c?(e.lineWidth=2*s,e.lineJoin=a||"round"):(e.lineWidth=s,e.lineJoin=a||"bevel"),t.fullCircles&&function(e,t,i){const{x:r,y:n,startAngle:l,pixelMargin:o,fullCircles:s}=t,a=Math.max(t.outerRadius-o,0),c=t.innerRadius+o;let d;for(i&&Tl(e,t,l+je),e.beginPath(),e.arc(r,n,c,l+je,l,!0),d=0;d<s;++d)e.stroke();for(e.beginPath(),e.arc(r,n,a,l,l+je),d=0;d<s;++d)e.stroke()}(e,t,c),c&&Tl(e,t,n),Zl(e,t,i,r,n,l),e.stroke())}Object.defineProperties(zl,{defaults:{enumerable:jl,value:Ai},instances:{enumerable:jl,value:Rl},overrides:{enumerable:jl,value:ui},registry:{enumerable:jl,value:Mn},version:{enumerable:jl,value:"3.9.1"},getChart:{enumerable:jl,value:Vl},register:{enumerable:jl,value:(...e)=>{Mn.add(...e),Sl()}},unregister:{enumerable:jl,value:(...e)=>{Mn.remove(...e),Sl()}}});class Gl extends gn{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,i){const r=this.getProps(["x","y"],i),{angle:n,distance:l}=lt(r,{x:e,y:t}),{startAngle:o,endAngle:s,innerRadius:a,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,f=Ee(d,s-o)>=je||ct(n,o,s),m=ut(l,a+u,c+u);return f&&m}getCenterPoint(e){const{x:t,y:i,startAngle:r,endAngle:n,innerRadius:l,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:s,spacing:a}=this.options,c=(r+n)/2,d=(l+o+a+s)/2;return{x:t+Math.cos(c)*d,y:i+Math.sin(c)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:i}=this,r=(t.offset||0)/2,n=(t.spacing||0)/2,l=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=i>je?Math.floor(i/je):0,0===i||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=0;if(r){o=r/2;const t=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(t)*o,Math.sin(t)*o),this.circumference>=Se&&(o=r)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const s=function(e,t,i,r,n){const{fullCircles:l,startAngle:o,circumference:s}=t;let a=t.endAngle;if(l){Zl(e,t,i,r,o+je,n);for(let t=0;t<l;++t)e.fill();isNaN(s)||(a=o+s%je,s%je==0&&(a+=je))}return Zl(e,t,i,r,a,n),e.fill(),a}(e,this,o,n,l);Ul(e,this,o,n,s,l),e.restore()}}function Kl(e,t,i=t){e.lineCap=Ee(i.borderCapStyle,t.borderCapStyle),e.setLineDash(Ee(i.borderDash,t.borderDash)),e.lineDashOffset=Ee(i.borderDashOffset,t.borderDashOffset),e.lineJoin=Ee(i.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Ee(i.borderWidth,t.borderWidth),e.strokeStyle=Ee(i.borderColor,t.borderColor)}function ql(e,t,i){e.lineTo(i.x,i.y)}function Jl(e,t,i={}){const r=e.length,{start:n=0,end:l=r-1}=i,{start:o,end:s}=t,a=Math.max(n,o),c=Math.min(l,s),d=n<o&&l<o||n>s&&l>s;return{count:r,start:a,loop:t.loop,ilen:c<a&&!d?r+c-a:c-a}}function $l(e,t,i,r){const{points:n,options:l}=t,{count:o,start:s,loop:a,ilen:c}=Jl(n,i,r),d=function(e){return e.stepped?Ei:e.tension||"monotone"===e.cubicInterpolationMode?yi:ql}(l);let u,f,m,{move:h=!0,reverse:A}=r||{};for(u=0;u<=c;++u)f=n[(s+(A?c-u:u))%o],f.skip||(h?(e.moveTo(f.x,f.y),h=!1):d(e,m,f,A,l.stepped),m=f);return a&&(f=n[(s+(A?c:0))%o],d(e,m,f,A,l.stepped)),!!a}function eo(e,t,i,r){const n=t.points,{count:l,start:o,ilen:s}=Jl(n,i,r),{move:a=!0,reverse:c}=r||{};let d,u,f,m,h,A,g=0,p=0;const b=e=>(o+(c?s-e:e))%l,C=()=>{m!==h&&(e.lineTo(g,h),e.lineTo(g,m),e.lineTo(g,A))};for(a&&(u=n[b(0)],e.moveTo(u.x,u.y)),d=0;d<=s;++d){if(u=n[b(d)],u.skip)continue;const t=u.x,i=u.y,r=0|t;r===f?(i<m?m=i:i>h&&(h=i),g=(p*g+t)/++p):(C(),e.lineTo(t,i),f=r,p=0,m=h=i),A=i}C()}function to(e){const t=e.options,i=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||i)?eo:$l}Gl.id="arc",Gl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Gl.defaultRoutes={backgroundColor:"backgroundColor"};const io="function"==typeof Path2D;function ro(e,t,i,r){io&&!t.options.segment?function(e,t,i,r){let n=t._path;n||(n=t._path=new Path2D,t.path(n,i,r)&&n.closePath()),Kl(e,t.options),e.stroke(n)}(e,t,i,r):function(e,t,i,r){const{segments:n,options:l}=t,o=to(t);for(const s of n)Kl(e,l,s.style),e.beginPath(),o(e,t,s,{start:i,end:i+r-1})&&e.closePath(),e.stroke()}(e,t,i,r)}class no extends gn{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;sr(this._points,i,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const i=e.points,r=e.options.spanGaps,n=i.length;if(!n)return[];const l=!!e._loop,{start:o,end:s}=function(e,t,i,r){let n=0,l=t-1;if(i&&!r)for(;n<t&&!e[n].skip;)n++;for(;n<t&&e[n].skip;)n++;for(n%=t,i&&(l+=n);l>n&&e[l%t].skip;)l--;return l%=t,{start:n,end:l}}(i,n,l,r);return Hr(e,!0===r?[{start:o,end:s,loop:l}]:function(e,t,i,r){const n=e.length,l=[];let o,s=t,a=e[t];for(o=t+1;o<=i;++o){const i=e[o%n];i.skip||i.stop?a.skip||(r=!1,l.push({start:t%n,end:(o-1)%n,loop:r}),t=s=i.stop?o:null):(s=o,a.skip&&(t=o)),a=i}return null!==s&&l.push({start:t%n,end:s%n,loop:r}),l}(i,o,s<o?s+n:s,!!e._fullLoop&&0===o&&s===n-1),i,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,i=e.length;return i&&t[e[i-1].end]}interpolate(e,t){const i=this.options,r=e[t],n=this.points,l=Lr(this,{property:t,start:r,end:r});if(!l.length)return;const o=[],s=function(e){return e.stepped?xr:e.tension||"monotone"===e.cubicInterpolationMode?Nr:vr}(i);let a,c;for(a=0,c=l.length;a<c;++a){const{start:c,end:d}=l[a],u=n[c],f=n[d];if(u===f){o.push(u);continue}const m=s(u,f,Math.abs((r-u[t])/(f[t]-u[t])),i.stepped);m[t]=e[t],o.push(m)}return 1===o.length?o[0]:o}pathSegment(e,t,i){return to(this)(e,this,t,i)}path(e,t,i){const r=this.segments,n=to(this);let l=this._loop;t=t||0,i=i||this.points.length-t;for(const o of r)l&=n(e,this,o,{start:t,end:t+i-1});return!!l}draw(e,t,i,r){const n=this.options||{};(this.points||[]).length&&n.borderWidth&&(e.save(),ro(e,this,i,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function lo(e,t,i,r){const n=e.options,{[i]:l}=e.getProps([i],r);return Math.abs(t-l)<n.radius+n.hitRadius}no.id="line",no.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},no.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},no.descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};class oo extends gn{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,i){const r=this.options,{x:n,y:l}=this.getProps(["x","y"],i);return Math.pow(e-n,2)+Math.pow(t-l,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return lo(this,e,"x",t)}inYRange(e,t){return lo(this,e,"y",t)}getCenterPoint(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const i=this.options;this.skip||i.radius<.1||!xi(this,t,this.size(i)/2)||(e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.fillStyle=i.backgroundColor,_i(e,i,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function so(e,t){const{x:i,y:r,base:n,width:l,height:o}=e.getProps(["x","y","base","width","height"],t);let s,a,c,d,u;return e.horizontal?(u=o/2,s=Math.min(i,n),a=Math.max(i,n),c=r-u,d=r+u):(u=l/2,s=i-u,a=i+u,c=Math.min(r,n),d=Math.max(r,n)),{left:s,top:c,right:a,bottom:d}}function ao(e,t,i,r){return e?0:dt(t,i,r)}function co(e){const t=so(e),i=t.right-t.left,r=t.bottom-t.top,n=function(e,t,i){const r=e.options.borderWidth,n=e.borderSkipped,l=Fi(r);return{t:ao(n.top,l.top,0,i),r:ao(n.right,l.right,0,t),b:ao(n.bottom,l.bottom,0,i),l:ao(n.left,l.left,0,t)}}(e,i/2,r/2),l=function(e,t,i){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),n=e.options.borderRadius,l=Qi(n),o=Math.min(t,i),s=e.borderSkipped,a=r||xe(n);return{topLeft:ao(!a||s.top||s.left,l.topLeft,0,o),topRight:ao(!a||s.top||s.right,l.topRight,0,o),bottomLeft:ao(!a||s.bottom||s.left,l.bottomLeft,0,o),bottomRight:ao(!a||s.bottom||s.right,l.bottomRight,0,o)}}(e,i/2,r/2);return{outer:{x:t.left,y:t.top,w:i,h:r,radius:l},inner:{x:t.left+n.l,y:t.top+n.t,w:i-n.l-n.r,h:r-n.t-n.b,radius:{topLeft:Math.max(0,l.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,l.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,l.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,l.bottomRight-Math.max(n.b,n.r))}}}}function uo(e,t,i,r){const n=null===t,l=null===i,o=e&&!(n&&l)&&so(e,r);return o&&(n||ut(t,o.left,o.right))&&(l||ut(i,o.top,o.bottom))}function fo(e,t){e.rect(t.x,t.y,t.w,t.h)}function mo(e,t,i={}){const r=e.x!==i.x?-t:0,n=e.y!==i.y?-t:0,l=(e.x+e.w!==i.x+i.w?t:0)-r,o=(e.y+e.h!==i.y+i.h?t:0)-n;return{x:e.x+r,y:e.y+n,w:e.w+l,h:e.h+o,radius:e.radius}}oo.id="point",oo.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},oo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class ho extends gn{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:i,backgroundColor:r}}=this,{inner:n,outer:l}=co(this),o=(s=l.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?Mi:fo;var s;e.save(),l.w===n.w&&l.h===n.h||(e.beginPath(),o(e,mo(l,t,n)),e.clip(),o(e,mo(n,-t,l)),e.fillStyle=i,e.fill("evenodd")),e.beginPath(),o(e,mo(n,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,i){return uo(this,e,t,i)}inXRange(e,t){return uo(this,e,null,t)}inYRange(e,t){return uo(this,null,e,t)}getCenterPoint(e){const{x:t,y:i,base:r,horizontal:n}=this.getProps(["x","y","base","horizontal"],e);return{x:n?(t+r)/2:t,y:n?i:(i+r)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}ho.id="bar",ho.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},ho.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Ao=Object.freeze({__proto__:null,ArcElement:Gl,LineElement:no,PointElement:oo,BarElement:ho});function go(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function po(e){e.data.datasets.forEach((e=>{go(e)}))}var bo={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,i)=>{if(!i.enabled)return void po(e);const r=e.width;e.data.datasets.forEach(((t,n)=>{const{_data:l,indexAxis:o}=t,s=e.getDatasetMeta(n),a=l||t.data;if("y"===Vi([o,e.options.indexAxis]))return;if(!s.controller.supportsDecimation)return;const c=e.scales[s.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(e.options.parsing)return;let{start:d,count:u}=function(e,t){const i=t.length;let r,n=0;const{iScale:l}=e,{min:o,max:s,minDefined:a,maxDefined:c}=l.getUserBounds();return a&&(n=dt(mt(t,l.axis,o).lo,0,i-1)),r=c?dt(mt(t,l.axis,s).hi+1,n,i)-n:i-n,{start:n,count:r}}(s,a);if(u<=(i.threshold||4*r))return void go(t);let f;switch(_e(l)&&(t._data=a,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),i.algorithm){case"lttb":f=function(e,t,i,r,n){const l=n.samples||r;if(l>=i)return e.slice(t,t+i);const o=[],s=(i-2)/(l-2);let a=0;const c=t+i-1;let d,u,f,m,h,A=t;for(o[a++]=e[A],d=0;d<l-2;d++){let r,n=0,l=0;const c=Math.floor((d+1)*s)+1+t,g=Math.min(Math.floor((d+2)*s)+1,i)+t,p=g-c;for(r=c;r<g;r++)n+=e[r].x,l+=e[r].y;n/=p,l/=p;const b=Math.floor(d*s)+1+t,C=Math.min(Math.floor((d+1)*s)+1,i)+t,{x:_,y:v}=e[A];for(f=m=-1,r=b;r<C;r++)m=.5*Math.abs((_-n)*(e[r].y-v)-(_-e[r].x)*(l-v)),m>f&&(f=m,u=e[r],h=r);o[a++]=u,A=h}return o[a++]=e[c],o}(a,d,u,r,i);break;case"min-max":f=function(e,t,i,r){let n,l,o,s,a,c,d,u,f,m,h=0,A=0;const g=[],p=t+i-1,b=e[t].x,C=e[p].x-b;for(n=t;n<t+i;++n){l=e[n],o=(l.x-b)/C*r,s=l.y;const t=0|o;if(t===a)s<f?(f=s,c=n):s>m&&(m=s,d=n),h=(A*h+l.x)/++A;else{const i=n-1;if(!_e(c)&&!_e(d)){const t=Math.min(c,d),r=Math.max(c,d);t!==u&&t!==i&&g.push({...e[t],x:h}),r!==u&&r!==i&&g.push({...e[r],x:h})}n>0&&i!==u&&g.push(e[i]),g.push(l),a=t,A=0,f=m=s,c=d=u=n}}return g}(a,d,u,r);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}t._decimated=f}))},destroy(e){po(e)}};function Co(e,t,i,r){if(r)return;let n=t[e],l=i[e];return"angle"===e&&(n=at(n),l=at(l)),{property:e,start:n,end:l}}function _o(e,t,i){for(;t>e;t--){const e=i[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function vo(e,t,i,r){return e&&t?r(e[i],t[i]):e?e[i]:t?t[i]:0}function xo(e,t){let i=[],r=!1;return ve(e)?(r=!0,i=e):i=function(e,t){const{x:i=null,y:r=null}=e||{},n=t.points,l=[];return t.segments.forEach((({start:e,end:t})=>{t=_o(e,t,n);const o=n[e],s=n[t];null!==r?(l.push({x:o.x,y:r}),l.push({x:s.x,y:r})):null!==i&&(l.push({x:i,y:o.y}),l.push({x:i,y:s.y}))})),l}(e,t),i.length?new no({points:i,options:{tension:0},_loop:r,_fullLoop:r}):null}function No(e){return e&&!1!==e.fill}function wo(e,t,i){let r=e[t].fill;const n=[t];let l;if(!i)return r;for(;!1!==r&&-1===n.indexOf(r);){if(!Ne(r))return r;if(l=e[r],!l)return!1;if(l.visible)return r;n.push(r),r=l.fill}return!1}function Eo(e,t,i){const r=function(e){const t=e.options,i=t.fill;let r=Ee(i&&i.target,i);void 0===r&&(r=!!t.backgroundColor);if(!1===r||null===r)return!1;if(!0===r)return"origin";return r}(e);if(xe(r))return!isNaN(r.value)&&r;let n=parseFloat(r);return Ne(n)&&Math.floor(n)===n?function(e,t,i,r){"-"!==e&&"+"!==e||(i=t+i);if(i===t||i<0||i>=r)return!1;return i}(r[0],t,n,i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function yo(e,t,i){const r=[];for(let n=0;n<i.length;n++){const l=i[n],{first:o,last:s,point:a}=Do(l,t,"x");if(!(!a||o&&s))if(o)r.unshift(a);else if(e.push(a),!s)break}e.push(...r)}function Do(e,t,i){const r=e.interpolate(t,i);if(!r)return{};const n=r[i],l=e.segments,o=e.points;let s=!1,a=!1;for(let e=0;e<l.length;e++){const t=l[e],r=o[t.start][i],c=o[t.end][i];if(ut(n,r,c)){s=n===r,a=n===c;break}}return{first:s,last:a,point:r}}class Bo{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,i){const{x:r,y:n,radius:l}=this;return t=t||{start:0,end:je},e.arc(r,n,l,t.end,t.start,!0),!i.bounds}interpolate(e){const{x:t,y:i,radius:r}=this,n=e.angle;return{x:t+Math.cos(n)*r,y:i+Math.sin(n)*r,angle:n}}}function Mo(e){const{chart:t,fill:i,line:r}=e;if(Ne(i))return function(e,t){const i=e.getDatasetMeta(t),r=i&&e.isDatasetVisible(t);return r?i.dataset:null}(t,i);if("stack"===i)return function(e){const{scale:t,index:i,line:r}=e,n=[],l=r.segments,o=r.points,s=function(e,t){const i=[],r=e.getMatchingVisibleMetas("line");for(let e=0;e<r.length;e++){const n=r[e];if(n.index===t)break;n.hidden||i.unshift(n.dataset)}return i}(t,i);s.push(xo({x:null,y:t.bottom},r));for(let e=0;e<l.length;e++){const t=l[e];for(let e=t.start;e<=t.end;e++)yo(n,o[e],s)}return new no({points:n,options:{}})}(e);if("shape"===i)return!0;const n=function(e){const t=e.scale||{};if(t.getPointPositionForValue)return function(e){const{scale:t,fill:i}=e,r=t.options,n=t.getLabels().length,l=r.reverse?t.max:t.min,o=function(e,t,i){let r;return r="start"===e?i:"end"===e?t.options.reverse?t.min:t.max:xe(e)?e.value:t.getBaseValue(),r}(i,t,l),s=[];if(r.grid.circular){const e=t.getPointPositionForValue(0,l);return new Bo({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(o)})}for(let e=0;e<n;++e)s.push(t.getPointPositionForValue(e,o));return s}(e);return function(e){const{scale:t={},fill:i}=e,r=function(e,t){let i=null;return"start"===e?i=t.bottom:"end"===e?i=t.top:xe(e)?i=t.getPixelForValue(e.value):t.getBasePixel&&(i=t.getBasePixel()),i}(i,t);if(Ne(r)){const e=t.isHorizontal();return{x:e?r:null,y:e?null:r}}return null}(e)}(e);return n instanceof Bo?n:xo(n,r)}function ko(e,t,i){const r=Mo(t),{line:n,scale:l,axis:o}=t,s=n.options,a=s.fill,c=s.backgroundColor,{above:d=c,below:u=c}=a||{};r&&n.points.length&&(Ni(e,i),function(e,t){const{line:i,target:r,above:n,below:l,area:o,scale:s}=t,a=i._loop?"angle":t.axis;e.save(),"x"===a&&l!==n&&(Po(e,r,o.top),Lo(e,{line:i,target:r,color:n,scale:s,property:a}),e.restore(),e.save(),Po(e,r,o.bottom));Lo(e,{line:i,target:r,color:l,scale:s,property:a}),e.restore()}(e,{line:n,target:r,above:d,below:u,area:i,scale:l,axis:o}),wi(e))}function Po(e,t,i){const{segments:r,points:n}=t;let l=!0,o=!1;e.beginPath();for(const s of r){const{start:r,end:a}=s,c=n[r],d=n[_o(r,a,n)];l?(e.moveTo(c.x,c.y),l=!1):(e.lineTo(c.x,i),e.lineTo(c.x,c.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(d.x,i)}e.lineTo(t.first().x,i),e.closePath(),e.clip()}function Lo(e,t){const{line:i,target:r,property:n,color:l,scale:o}=t,s=function(e,t,i){const r=e.segments,n=e.points,l=t.points,o=[];for(const e of r){let{start:r,end:s}=e;s=_o(r,s,n);const a=Co(i,n[r],n[s],e.loop);if(!t.segments){o.push({source:e,target:a,start:n[r],end:n[s]});continue}const c=Lr(t,a);for(const t of c){const r=Co(i,l[t.start],l[t.end],t.loop),s=Pr(e,n,r);for(const e of s)o.push({source:e,target:t,start:{[i]:vo(a,r,"start",Math.max)},end:{[i]:vo(a,r,"end",Math.min)}})}}return o}(i,r,n);for(const{source:t,target:a,start:c,end:d}of s){const{style:{backgroundColor:s=l}={}}=t,u=!0!==r;e.save(),e.fillStyle=s,Ho(e,o,u&&Co(n,c,d)),e.beginPath();const f=!!i.pathSegment(e,t);let m;if(u){f?e.closePath():Io(e,r,d,n);const t=!!r.pathSegment(e,a,{move:f,reverse:!0});m=f&&t,m||Io(e,r,c,n)}e.closePath(),e.fill(m?"evenodd":"nonzero"),e.restore()}}function Ho(e,t,i){const{top:r,bottom:n}=t.chart.chartArea,{property:l,start:o,end:s}=i||{};"x"===l&&(e.beginPath(),e.rect(o,r,s-o,n-r),e.clip())}function Io(e,t,i,r){const n=t.interpolate(i,r);n&&e.lineTo(n.x,n.y)}var Fo={id:"filler",afterDatasetsUpdate(e,t,i){const r=(e.data.datasets||[]).length,n=[];let l,o,s,a;for(o=0;o<r;++o)l=e.getDatasetMeta(o),s=l.dataset,a=null,s&&s.options&&s instanceof no&&(a={visible:e.isDatasetVisible(o),index:o,fill:Eo(s,o,r),chart:e,axis:l.controller.options.indexAxis,scale:l.vScale,line:s}),l.$filler=a,n.push(a);for(o=0;o<r;++o)a=n[o],a&&!1!==a.fill&&(a.fill=wo(n,o,i.propagate))},beforeDraw(e,t,i){const r="beforeDraw"===i.drawTime,n=e.getSortedVisibleDatasetMetas(),l=e.chartArea;for(let t=n.length-1;t>=0;--t){const i=n[t].$filler;i&&(i.line.updateControlPoints(l,i.axis),r&&i.fill&&ko(e.ctx,i,l))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"!==i.drawTime)return;const r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){const i=r[t].$filler;No(i)&&ko(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,i){const r=t.meta.$filler;No(r)&&"beforeDatasetDraw"===i.drawTime&&ko(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Qo=(e,t)=>{let{boxHeight:i=t,boxWidth:r=t}=e;return e.usePointStyle&&(i=Math.min(i,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:i,itemHeight:Math.max(t,i)}};class Oo extends gn{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=De(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,i)=>e.sort(t,i,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const i=e.labels,r=Ri(i.font),n=r.size,l=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Qo(i,n);let a,c;t.font=r.string,this.isHorizontal()?(a=this.maxWidth,c=this._fitRows(l,n,o,s)+10):(c=this.maxHeight,a=this._fitCols(l,n,o,s)+10),this.width=Math.min(a,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,r){const{ctx:n,maxWidth:l,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],a=this.lineWidths=[0],c=r+o;let d=e;n.textAlign="left",n.textBaseline="middle";let u=-1,f=-c;return this.legendItems.forEach(((e,m)=>{const h=i+t/2+n.measureText(e.text).width;(0===m||a[a.length-1]+h+2*o>l)&&(d+=c,a[a.length-(m>0?0:1)]=0,f+=c,u++),s[m]={left:0,top:f,row:u,width:h,height:r},a[a.length-1]+=h+o})),d}_fitCols(e,t,i,r){const{ctx:n,maxHeight:l,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],a=this.columnSizes=[],c=l-e;let d=o,u=0,f=0,m=0,h=0;return this.legendItems.forEach(((e,l)=>{const A=i+t/2+n.measureText(e.text).width;l>0&&f+r+2*o>c&&(d+=u+o,a.push({width:u,height:f}),m+=u+o,h++,u=f=0),s[l]={left:m,top:f,col:h,width:A,height:r},u=Math.max(u,A),f+=r+o})),d+=u,a.push({width:u,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:r},rtl:n}}=this,l=yr(n,this.left,this.width);if(this.isHorizontal()){let n=0,o=vt(i,this.left+r,this.right-this.lineWidths[n]);for(const s of t)n!==s.row&&(n=s.row,o=vt(i,this.left+r,this.right-this.lineWidths[n])),s.top+=this.top+e+r,s.left=l.leftForLtr(l.x(o),s.width),o+=s.width+r}else{let n=0,o=vt(i,this.top+e+r,this.bottom-this.columnSizes[n].height);for(const s of t)s.col!==n&&(n=s.col,o=vt(i,this.top+e+r,this.bottom-this.columnSizes[n].height)),s.top=o,s.left+=this.left+r,s.left=l.leftForLtr(l.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Ni(e,this),this._draw(),wi(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:r}=this,{align:n,labels:l}=e,o=Ai.color,s=yr(e.rtl,this.left,this.width),a=Ri(l.font),{color:c,padding:d}=l,u=a.size,f=u/2;let m;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=a.string;const{boxWidth:h,boxHeight:A,itemHeight:g}=Qo(l,u),p=this.isHorizontal(),b=this._computeTitleHeight();m=p?{x:vt(n,this.left+d,this.right-i[0]),y:this.top+d+b,line:0}:{x:this.left+d,y:vt(n,this.top+b+d,this.bottom-t[0].height),line:0},Dr(this.ctx,e.textDirection);const C=g+d;this.legendItems.forEach(((_,v)=>{r.strokeStyle=_.fontColor||c,r.fillStyle=_.fontColor||c;const x=r.measureText(_.text).width,N=s.textAlign(_.textAlign||(_.textAlign=l.textAlign)),w=h+f+x;let E=m.x,y=m.y;s.setWidth(this.width),p?v>0&&E+w+d>this.right&&(y=m.y+=C,m.line++,E=m.x=vt(n,this.left+d,this.right-i[m.line])):v>0&&y+C>this.bottom&&(E=m.x=E+t[m.line].width+d,m.line++,y=m.y=vt(n,this.top+b+d,this.bottom-t[m.line].height));!function(e,t,i){if(isNaN(h)||h<=0||isNaN(A)||A<0)return;r.save();const n=Ee(i.lineWidth,1);if(r.fillStyle=Ee(i.fillStyle,o),r.lineCap=Ee(i.lineCap,"butt"),r.lineDashOffset=Ee(i.lineDashOffset,0),r.lineJoin=Ee(i.lineJoin,"miter"),r.lineWidth=n,r.strokeStyle=Ee(i.strokeStyle,o),r.setLineDash(Ee(i.lineDash,[])),l.usePointStyle){const o={radius:A*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},a=s.xPlus(e,h/2);vi(r,o,a,t+f,l.pointStyleWidth&&h)}else{const l=t+Math.max((u-A)/2,0),o=s.leftForLtr(e,h),a=Qi(i.borderRadius);r.beginPath(),Object.values(a).some((e=>0!==e))?Mi(r,{x:o,y:l,w:h,h:A,radius:a}):r.rect(o,l,h,A),r.fill(),0!==n&&r.stroke()}r.restore()}(s.x(E),y,_),E=((e,t,i,r)=>e===(r?"left":"right")?i:"center"===e?(t+i)/2:t)(N,E+h+f,p?E+w:this.right,e.rtl),function(e,t,i){Di(r,i.text,e,t+g/2,a,{strikethrough:i.hidden,textAlign:s.textAlign(i.textAlign)})}(s.x(E),y,_),p?m.x+=w+d:m.y+=C})),Br(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=Ri(t.font),r=Oi(t.padding);if(!t.display)return;const n=yr(e.rtl,this.left,this.width),l=this.ctx,o=t.position,s=i.size/2,a=r.top+s;let c,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),c=this.top+a,d=vt(e.align,d,this.right-u);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=a+vt(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=vt(o,d,d+u);l.textAlign=n.textAlign(_t(o)),l.textBaseline="middle",l.strokeStyle=t.color,l.fillStyle=t.color,l.font=i.string,Di(l,t.text,f,c,i)}_computeTitleHeight(){const e=this.options.title,t=Ri(e.font),i=Oi(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,r,n;if(ut(e,this.left,this.right)&&ut(t,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(r=n[i],ut(e,r.left,r.left+r.width)&&ut(t,r.top,r.top+r.height))return this.legendItems[i];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const i=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const l=this._hoveredItem,o=(n=i,null!==(r=l)&&null!==n&&r.datasetIndex===n.datasetIndex&&r.index===n.index);l&&!o&&De(t.onLeave,[e,l,this],this),this._hoveredItem=i,i&&!o&&De(t.onHover,[e,i,this],this)}else i&&De(t.onClick,[e,i,this],this);var r,n}}var Ro={id:"legend",_element:Oo,start(e,t,i){const r=e.legend=new Oo({ctx:e.ctx,options:i,chart:e});el.configure(e,r,i),el.addBox(e,r)},stop(e){el.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){const r=e.legend;el.configure(e,r,i),r.options=i},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){const r=t.datasetIndex,n=i.chart;n.isDatasetVisible(r)?(n.hide(r),t.hidden=!0):(n.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:r,textAlign:n,color:l}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const o=e.controller.getStyle(i?0:void 0),s=Oi(o.borderWidth);return{text:t[e.index].label,fillStyle:o.backgroundColor,fontColor:l,hidden:!e.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:o.borderColor,pointStyle:r||o.pointStyle,rotation:o.rotation,textAlign:n||o.textAlign,borderRadius:0,datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Vo extends gn{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const r=ve(i.text)?i.text.length:1;this._padding=Oi(i.padding);const n=r*Ri(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:i,bottom:r,right:n,options:l}=this,o=l.align;let s,a,c,d=0;return this.isHorizontal()?(a=vt(o,i,n),c=t+e,s=n-i):("left"===l.position?(a=i+e,c=vt(o,r,t),d=-.5*Se):(a=n-e,c=vt(o,t,r),d=.5*Se),s=r-t),{titleX:a,titleY:c,maxWidth:s,rotation:d}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const i=Ri(t.font),r=i.lineHeight/2+this._padding.top,{titleX:n,titleY:l,maxWidth:o,rotation:s}=this._drawArgs(r);Di(e,t.text,0,0,i,{color:t.color,maxWidth:o,rotation:s,textAlign:_t(t.align),textBaseline:"middle",translation:[n,l]})}}var Yo={id:"title",_element:Vo,start(e,t,i){!function(e,t){const i=new Vo({ctx:e.ctx,options:t,chart:e});el.configure(e,i,t),el.addBox(e,i),e.titleBlock=i}(e,i)},stop(e){const t=e.titleBlock;el.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){const r=e.titleBlock;el.configure(e,r,i),r.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const zo=new WeakMap;var So={id:"subtitle",start(e,t,i){const r=new Vo({ctx:e.ctx,options:i,chart:e});el.configure(e,r,i),el.addBox(e,r),zo.set(e,r)},stop(e){el.removeBox(e,zo.get(e)),zo.delete(e)},beforeUpdate(e,t,i){const r=zo.get(e);el.configure(e,r,i),r.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const jo={average(e){if(!e.length)return!1;let t,i,r=0,n=0,l=0;for(t=0,i=e.length;t<i;++t){const i=e[t].element;if(i&&i.hasValue()){const e=i.tooltipPosition();r+=e.x,n+=e.y,++l}}return{x:r/l,y:n/l}},nearest(e,t){if(!e.length)return!1;let i,r,n,l=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(i=0,r=e.length;i<r;++i){const r=e[i].element;if(r&&r.hasValue()){const e=ot(t,r.getCenterPoint());e<s&&(s=e,n=r)}}if(n){const e=n.tooltipPosition();l=e.x,o=e.y}return{x:l,y:o}}};function To(e,t){return t&&(ve(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Wo(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Xo(e,t){const{element:i,datasetIndex:r,index:n}=t,l=e.getDatasetMeta(r).controller,{label:o,value:s}=l.getLabelAndValue(n);return{chart:e,label:o,parsed:l.getParsed(n),raw:e.data.datasets[r].data[n],formattedValue:s,dataset:l.getDataset(),dataIndex:n,datasetIndex:r,element:i}}function Zo(e,t){const i=e.chart.ctx,{body:r,footer:n,title:l}=e,{boxWidth:o,boxHeight:s}=t,a=Ri(t.bodyFont),c=Ri(t.titleFont),d=Ri(t.footerFont),u=l.length,f=n.length,m=r.length,h=Oi(t.padding);let A=h.height,g=0,p=r.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(p+=e.beforeBody.length+e.afterBody.length,u&&(A+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),p){A+=m*(t.displayColors?Math.max(s,a.lineHeight):a.lineHeight)+(p-m)*a.lineHeight+(p-1)*t.bodySpacing}f&&(A+=t.footerMarginTop+f*d.lineHeight+(f-1)*t.footerSpacing);let b=0;const C=function(e){g=Math.max(g,i.measureText(e).width+b)};return i.save(),i.font=c.string,Be(e.title,C),i.font=a.string,Be(e.beforeBody.concat(e.afterBody),C),b=t.displayColors?o+2+t.boxPadding:0,Be(r,(e=>{Be(e.before,C),Be(e.lines,C),Be(e.after,C)})),b=0,i.font=d.string,Be(e.footer,C),i.restore(),g+=h.width,{width:g,height:A}}function Uo(e,t,i,r){const{x:n,width:l}=i,{width:o,chartArea:{left:s,right:a}}=e;let c="center";return"center"===r?c=n<=(s+a)/2?"left":"right":n<=l/2?c="left":n>=o-l/2&&(c="right"),function(e,t,i,r){const{x:n,width:l}=r,o=i.caretSize+i.caretPadding;return"left"===e&&n+l+o>t.width||"right"===e&&n-l-o<0||void 0}(c,e,t,i)&&(c="center"),c}function Go(e,t,i){const r=i.yAlign||t.yAlign||function(e,t){const{y:i,height:r}=t;return i<r/2?"top":i>e.height-r/2?"bottom":"center"}(e,i);return{xAlign:i.xAlign||t.xAlign||Uo(e,t,i,r),yAlign:r}}function Ko(e,t,i,r){const{caretSize:n,caretPadding:l,cornerRadius:o}=e,{xAlign:s,yAlign:a}=i,c=n+l,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:m}=Qi(o);let h=function(e,t){let{x:i,width:r}=e;return"right"===t?i-=r:"center"===t&&(i-=r/2),i}(t,s);const A=function(e,t,i){let{y:r,height:n}=e;return"top"===t?r+=i:r-="bottom"===t?n+i:n/2,r}(t,a,c);return"center"===a?"left"===s?h+=c:"right"===s&&(h-=c):"left"===s?h-=Math.max(d,f)+n:"right"===s&&(h+=Math.max(u,m)+n),{x:dt(h,0,r.width-t.width),y:dt(A,0,r.height-t.height)}}function qo(e,t,i){const r=Oi(i.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function Jo(e){return To([],Wo(e))}function $o(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}class es extends gn{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&t.options.animation&&i.animations,n=new zr(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,i=this._tooltipItems,Yi(e,{tooltip:t,tooltipItems:i,type:"tooltip"})));var e,t,i}getTitle(e,t){const{callbacks:i}=t,r=i.beforeTitle.apply(this,[e]),n=i.title.apply(this,[e]),l=i.afterTitle.apply(this,[e]);let o=[];return o=To(o,Wo(r)),o=To(o,Wo(n)),o=To(o,Wo(l)),o}getBeforeBody(e,t){return Jo(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:i}=t,r=[];return Be(e,(e=>{const t={before:[],lines:[],after:[]},n=$o(i,e);To(t.before,Wo(n.beforeLabel.call(this,e))),To(t.lines,n.label.call(this,e)),To(t.after,Wo(n.afterLabel.call(this,e))),r.push(t)})),r}getAfterBody(e,t){return Jo(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:i}=t,r=i.beforeFooter.apply(this,[e]),n=i.footer.apply(this,[e]),l=i.afterFooter.apply(this,[e]);let o=[];return o=To(o,Wo(r)),o=To(o,Wo(n)),o=To(o,Wo(l)),o}_createItems(e){const t=this._active,i=this.chart.data,r=[],n=[],l=[];let o,s,a=[];for(o=0,s=t.length;o<s;++o)a.push(Xo(this.chart,t[o]));return e.filter&&(a=a.filter(((t,r,n)=>e.filter(t,r,n,i)))),e.itemSort&&(a=a.sort(((t,r)=>e.itemSort(t,r,i)))),Be(a,(t=>{const i=$o(e.callbacks,t);r.push(i.labelColor.call(this,t)),n.push(i.labelPointStyle.call(this,t)),l.push(i.labelTextColor.call(this,t))})),this.labelColors=r,this.labelPointStyles=n,this.labelTextColors=l,this.dataPoints=a,a}update(e,t){const i=this.options.setContext(this.getContext()),r=this._active;let n,l=[];if(r.length){const e=jo[i.position].call(this,r,this._eventPosition);l=this._createItems(i),this.title=this.getTitle(l,i),this.beforeBody=this.getBeforeBody(l,i),this.body=this.getBody(l,i),this.afterBody=this.getAfterBody(l,i),this.footer=this.getFooter(l,i);const t=this._size=Zo(this,i),o=Object.assign({},e,t),s=Go(this.chart,i,o),a=Ko(i,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,n={opacity:1,x:a.x,y:a.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=l,this.$context=void 0,n&&this._resolveAnimations().update(this,n),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,r){const n=this.getCaretPosition(e,i,r);t.lineTo(n.x1,n.y1),t.lineTo(n.x2,n.y2),t.lineTo(n.x3,n.y3)}getCaretPosition(e,t,i){const{xAlign:r,yAlign:n}=this,{caretSize:l,cornerRadius:o}=i,{topLeft:s,topRight:a,bottomLeft:c,bottomRight:d}=Qi(o),{x:u,y:f}=e,{width:m,height:h}=t;let A,g,p,b,C,_;return"center"===n?(C=f+h/2,"left"===r?(A=u,g=A-l,b=C+l,_=C-l):(A=u+m,g=A+l,b=C-l,_=C+l),p=A):(g="left"===r?u+Math.max(s,c)+l:"right"===r?u+m-Math.max(a,d)-l:this.caretX,"top"===n?(b=f,C=b-l,A=g-l,p=g+l):(b=f+h,C=b+l,A=g+l,p=g-l),_=b),{x1:A,x2:g,x3:p,y1:b,y2:C,y3:_}}drawTitle(e,t,i){const r=this.title,n=r.length;let l,o,s;if(n){const a=yr(i.rtl,this.x,this.width);for(e.x=qo(this,i.titleAlign,i),t.textAlign=a.textAlign(i.titleAlign),t.textBaseline="middle",l=Ri(i.titleFont),o=i.titleSpacing,t.fillStyle=i.titleColor,t.font=l.string,s=0;s<n;++s)t.fillText(r[s],a.x(e.x),e.y+l.lineHeight/2),e.y+=l.lineHeight+o,s+1===n&&(e.y+=i.titleMarginBottom-o)}}_drawColorBox(e,t,i,r,n){const l=this.labelColors[i],o=this.labelPointStyles[i],{boxHeight:s,boxWidth:a,boxPadding:c}=n,d=Ri(n.bodyFont),u=qo(this,"left",n),f=r.x(u),m=s<d.lineHeight?(d.lineHeight-s)/2:0,h=t.y+m;if(n.usePointStyle){const t={radius:Math.min(a,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},i=r.leftForLtr(f,a)+a/2,c=h+s/2;e.strokeStyle=n.multiKeyBackground,e.fillStyle=n.multiKeyBackground,_i(e,t,i,c),e.strokeStyle=l.borderColor,e.fillStyle=l.backgroundColor,_i(e,t,i,c)}else{e.lineWidth=xe(l.borderWidth)?Math.max(...Object.values(l.borderWidth)):l.borderWidth||1,e.strokeStyle=l.borderColor,e.setLineDash(l.borderDash||[]),e.lineDashOffset=l.borderDashOffset||0;const t=r.leftForLtr(f,a-c),i=r.leftForLtr(r.xPlus(f,1),a-c-2),o=Qi(l.borderRadius);Object.values(o).some((e=>0!==e))?(e.beginPath(),e.fillStyle=n.multiKeyBackground,Mi(e,{x:t,y:h,w:a,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=l.backgroundColor,e.beginPath(),Mi(e,{x:i,y:h+1,w:a-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=n.multiKeyBackground,e.fillRect(t,h,a,s),e.strokeRect(t,h,a,s),e.fillStyle=l.backgroundColor,e.fillRect(i,h+1,a-2,s-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:r}=this,{bodySpacing:n,bodyAlign:l,displayColors:o,boxHeight:s,boxWidth:a,boxPadding:c}=i,d=Ri(i.bodyFont);let u=d.lineHeight,f=0;const m=yr(i.rtl,this.x,this.width),h=function(i){t.fillText(i,m.x(e.x+f),e.y+u/2),e.y+=u+n},A=m.textAlign(l);let g,p,b,C,_,v,x;for(t.textAlign=l,t.textBaseline="middle",t.font=d.string,e.x=qo(this,A,i),t.fillStyle=i.bodyColor,Be(this.beforeBody,h),f=o&&"right"!==A?"center"===l?a/2+c:a+2+c:0,C=0,v=r.length;C<v;++C){for(g=r[C],p=this.labelTextColors[C],t.fillStyle=p,Be(g.before,h),b=g.lines,o&&b.length&&(this._drawColorBox(t,e,C,m,i),u=Math.max(d.lineHeight,s)),_=0,x=b.length;_<x;++_)h(b[_]),u=d.lineHeight;Be(g.after,h)}f=0,u=d.lineHeight,Be(this.afterBody,h),e.y-=n}drawFooter(e,t,i){const r=this.footer,n=r.length;let l,o;if(n){const s=yr(i.rtl,this.x,this.width);for(e.x=qo(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=s.textAlign(i.footerAlign),t.textBaseline="middle",l=Ri(i.footerFont),t.fillStyle=i.footerColor,t.font=l.string,o=0;o<n;++o)t.fillText(r[o],s.x(e.x),e.y+l.lineHeight/2),e.y+=l.lineHeight+i.footerSpacing}}drawBackground(e,t,i,r){const{xAlign:n,yAlign:l}=this,{x:o,y:s}=e,{width:a,height:c}=i,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:m}=Qi(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+d,s),"top"===l&&this.drawCaret(e,t,i,r),t.lineTo(o+a-u,s),t.quadraticCurveTo(o+a,s,o+a,s+u),"center"===l&&"right"===n&&this.drawCaret(e,t,i,r),t.lineTo(o+a,s+c-m),t.quadraticCurveTo(o+a,s+c,o+a-m,s+c),"bottom"===l&&this.drawCaret(e,t,i,r),t.lineTo(o+f,s+c),t.quadraticCurveTo(o,s+c,o,s+c-f),"center"===l&&"left"===n&&this.drawCaret(e,t,i,r),t.lineTo(o,s+d),t.quadraticCurveTo(o,s,o+d,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,r=i&&i.x,n=i&&i.y;if(r||n){const i=jo[e.position].call(this,this._active,this._eventPosition);if(!i)return;const l=this._size=Zo(this,e),o=Object.assign({},i,this._size),s=Go(t,e,o),a=Ko(e,o,s,t);r._to===a.x&&n._to===a.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=l.width,this.height=l.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,a))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const l=Oi(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=i,this.drawBackground(n,e,r,t),Dr(e,t.textDirection),n.y+=l.top,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),Br(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,r=e.map((({datasetIndex:e,index:t})=>{const i=this.chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[t],index:t}})),n=!Me(i,r),l=this._positionChanged(r,t);(n||l)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,n=this._active||[],l=this._getActiveElements(e,n,t,i),o=this._positionChanged(l,e),s=t||!Me(l,n)||o;return s&&(this._active=l,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,i,r){const n=this.options;if("mouseout"===e.type)return[];if(!r)return t;const l=this.chart.getElementsAtEventForMode(e,n.mode,n,i);return n.reverse&&l.reverse(),l}_positionChanged(e,t){const{caretX:i,caretY:r,options:n}=this,l=jo[n.position].call(this,e,t);return!1!==l&&(i!==l.x||r!==l.y)}}es.positioners=jo;var ts={id:"tooltip",_element:es,positioners:jo,afterInit(e,t,i){i&&(e.tooltip=new es({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",i))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:be,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,r=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return i[t.dataIndex]}return""},afterTitle:be,beforeBody:be,beforeLabel:be,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return _e(i)||(t+=i),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:be,afterBody:be,beforeFooter:be,footer:be,afterFooter:be}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},is=Object.freeze({__proto__:null,Decimation:bo,Filler:Fo,Legend:Ro,SubTitle:So,Title:Yo,Tooltip:ts});function rs(e,t,i,r){const n=e.indexOf(t);if(-1===n)return((e,t,i,r)=>("string"==typeof t?(i=e.push(t)-1,r.unshift({index:i,label:t})):isNaN(t)&&(i=null),i))(e,t,i,r);return n!==e.lastIndexOf(t)?i:n}class ns extends Dn{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:i,label:r}of t)e[i]===r&&e.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(_e(e))return null;const i=this.getLabels();return((e,t)=>null===e?null:dt(Math.round(e),0,t))(t=isFinite(t)&&i[t]===e?t:rs(i,e,Ee(t,e),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(i=0),t||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const e=this.min,t=this.max,i=this.options.offset,r=[];let n=this.getLabels();n=0===e&&t===n.length-1?n:n.slice(e,t+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=e;i<=t;i++)r.push({value:i});return r}getLabelForValue(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function ls(e,t){const i=[],{bounds:r,step:n,min:l,max:o,precision:s,count:a,maxTicks:c,maxDigits:d,includeBounds:u}=e,f=n||1,m=c-1,{min:h,max:A}=t,g=!_e(l),p=!_e(o),b=!_e(a),C=(A-h)/(d+1);let _,v,x,N,w=Je((A-h)/m/f)*f;if(w<1e-14&&!g&&!p)return[{value:h},{value:A}];N=Math.ceil(A/w)-Math.floor(h/w),N>m&&(w=Je(N*w/m/f)*f),_e(s)||(_=Math.pow(10,s),w=Math.ceil(w*_)/_),"ticks"===r?(v=Math.floor(h/w)*w,x=Math.ceil(A/w)*w):(v=h,x=A),g&&p&&n&&function(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}((o-l)/n,w/1e3)?(N=Math.round(Math.min((o-l)/w,c)),w=(o-l)/N,v=l,x=o):b?(v=g?l:v,x=p?o:x,N=a-1,w=(x-v)/N):(N=(x-v)/w,N=et(N,Math.round(N),w/1e3)?Math.round(N):Math.ceil(N));const E=Math.max(nt(w),nt(v));_=Math.pow(10,_e(s)?E:s),v=Math.round(v*_)/_,x=Math.round(x*_)/_;let y=0;for(g&&(u&&v!==l?(i.push({value:l}),v<l&&y++,et(Math.round((v+y*w)*_)/_,l,os(l,C,e))&&y++):v<l&&y++);y<N;++y)i.push({value:Math.round((v+y*w)*_)/_});return p&&u&&x!==o?i.length&&et(i[i.length-1].value,o,os(o,C,e))?i[i.length-1].value=o:i.push({value:o}):p&&x!==o||i.push({value:x}),i}function os(e,t,{horizontal:i,minRotation:r}){const n=it(r),l=(i?Math.sin(n):Math.cos(n))||.001,o=.75*t*(""+e).length;return Math.min(t/l,o)}ns.id="category",ns.defaults={ticks:{callback:ns.prototype.getLabelForValue}};class ss extends Dn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return _e(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:r,max:n}=this;const l=e=>r=t?r:e,o=e=>n=i?n:e;if(e){const e=qe(r),t=qe(n);e<0&&t<0?o(0):e>0&&t>0&&l(0)}if(r===n){let t=1;(n>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(t=Math.abs(.05*n)),o(n+t),e||l(r-t)}this.min=r,this.max=n}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:i,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const r=ls({maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&tt(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const r=(i-t)/Math.max(e.length-1,1)/2;t-=r,i+=r}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return Er(e,this.chart.options.locale,this.options.ticks.format)}}class as extends ss{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Ne(e)?e:0,this.max=Ne(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=it(this.options.ticks.minRotation),r=(e?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,n.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function cs(e){return 1===e/Math.pow(10,Math.floor(Ke(e)))}as.id="linear",as.defaults={ticks:{callback:bn.formatters.numeric}};class ds extends Dn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=ss.prototype.parse.apply(this,[e,t]);if(0!==i)return Ne(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Ne(e)?Math.max(0,e):null,this.max=Ne(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,r=this.max;const n=t=>i=e?i:t,l=e=>r=t?r:e,o=(e,t)=>Math.pow(10,Math.floor(Ke(e))+t);i===r&&(i<=0?(n(1),l(10)):(n(o(i,-1)),l(o(r,1)))),i<=0&&n(o(r,-1)),r<=0&&l(o(i,1)),this._zero&&this.min!==this._suggestedMin&&i===o(this.min,0)&&n(o(i,-1)),this.min=i,this.max=r}buildTicks(){const e=this.options,t=function(e,t){const i=Math.floor(Ke(t.max)),r=Math.ceil(t.max/Math.pow(10,i)),n=[];let l=we(e.min,Math.pow(10,Math.floor(Ke(t.min)))),o=Math.floor(Ke(l)),s=Math.floor(l/Math.pow(10,o)),a=o<0?Math.pow(10,Math.abs(o)):1;do{n.push({value:l,major:cs(l)}),++s,10===s&&(s=1,++o,a=o>=0?1:a),l=Math.round(s*Math.pow(10,o)*a)/a}while(o<i||o===i&&s<r);const c=we(e.max,l);return n.push({value:c,major:cs(l)}),n}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&tt(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Er(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ke(e),this._valueRange=Ke(this.max)-Ke(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ke(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function us(e){const t=e.ticks;if(t.display&&e.display){const e=Oi(t.backdropPadding);return Ee(t.font&&t.font.size,Ai.font.size)+e.height}return 0}function fs(e,t,i,r,n){return e===r||e===n?{start:t-i/2,end:t+i/2}:e<r||e>n?{start:t-i,end:t}:{start:t,end:t+i}}function ms(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),r=[],n=[],l=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?Se/l:0;for(let u=0;u<l;u++){const l=o.setContext(e.getPointLabelContext(u));n[u]=l.padding;const f=e.getPointPosition(u,e.drawingArea+n[u],s),m=Ri(l.font),h=(a=e.ctx,c=m,d=ve(d=e._pointLabels[u])?d:[d],{w:pi(a,c.string,d),h:d.length*c.lineHeight});r[u]=h;const A=at(e.getIndexAngle(u)+s),g=Math.round(rt(A));hs(i,t,A,fs(g,f.x,h.w,0,180),fs(g,f.y,h.h,90,270))}var a,c,d;e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=function(e,t,i){const r=[],n=e._pointLabels.length,l=e.options,o=us(l)/2,s=e.drawingArea,a=l.pointLabels.centerPointLabels?Se/n:0;for(let l=0;l<n;l++){const n=e.getPointPosition(l,s+o+i[l],a),c=Math.round(rt(at(n.angle+Ze))),d=t[l],u=ps(n.y,d.h,c),f=As(c),m=gs(n.x,d.w,f);r.push({x:n.x,y:u,textAlign:f,left:m,top:u,right:m+d.w,bottom:u+d.h})}return r}(e,r,n)}function hs(e,t,i,r,n){const l=Math.abs(Math.sin(i)),o=Math.abs(Math.cos(i));let s=0,a=0;r.start<t.l?(s=(t.l-r.start)/l,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/l,e.r=Math.max(e.r,t.r+s)),n.start<t.t?(a=(t.t-n.start)/o,e.t=Math.min(e.t,t.t-a)):n.end>t.b&&(a=(n.end-t.b)/o,e.b=Math.max(e.b,t.b+a))}function As(e){return 0===e||180===e?"center":e<180?"left":"right"}function gs(e,t,i){return"right"===i?e-=t:"center"===i&&(e-=t/2),e}function ps(e,t,i){return 90===i||270===i?e-=t/2:(i>270||i<90)&&(e-=t),e}function bs(e,t,i,r){const{ctx:n}=e;if(i)n.arc(e.xCenter,e.yCenter,t,0,je);else{let i=e.getPointPosition(0,t);n.moveTo(i.x,i.y);for(let l=1;l<r;l++)i=e.getPointPosition(l,t),n.lineTo(i.x,i.y)}}ds.id="logarithmic",ds.defaults={ticks:{callback:bn.formatters.logarithmic,major:{enabled:!0}}};class Cs extends ss{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Oi(us(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=Ne(e)&&!isNaN(e)?e:0,this.max=Ne(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/us(this.options))}generateTickLabels(e){ss.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const i=De(this.options.pointLabels.callback,[e,t],this);return i||0===i?i:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?ms(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,r))}getIndexAngle(e){return at(e*(je/(this._pointLabels.length||1))+it(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(_e(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(_e(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const i=t[e];return function(e,t,i){return Yi(e,{label:i,index:t,type:"pointLabel"})}(this.getContext(),e,i)}}getPointPosition(e,t,i=0){const r=this.getIndexAngle(e)-Ze+i;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:i,right:r,bottom:n}=this._pointLabelItems[e];return{left:t,top:i,right:r,bottom:n}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),bs(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:i,grid:r}=t,n=this._pointLabels.length;let l,o,s;if(t.pointLabels.display&&function(e,t){const{ctx:i,options:{pointLabels:r}}=e;for(let n=t-1;n>=0;n--){const t=r.setContext(e.getPointLabelContext(n)),l=Ri(t.font),{x:o,y:s,textAlign:a,left:c,top:d,right:u,bottom:f}=e._pointLabelItems[n],{backdropColor:m}=t;if(!_e(m)){const e=Qi(t.borderRadius),r=Oi(t.backdropPadding);i.fillStyle=m;const n=c-r.left,l=d-r.top,o=u-c+r.width,s=f-d+r.height;Object.values(e).some((e=>0!==e))?(i.beginPath(),Mi(i,{x:n,y:l,w:o,h:s,radius:e}),i.fill()):i.fillRect(n,l,o,s)}Di(i,e._pointLabels[n],o,s+l.lineHeight/2,l,{color:t.color,textAlign:a,textBaseline:"middle"})}}(this,n),r.display&&this.ticks.forEach(((e,t)=>{if(0!==t){o=this.getDistanceFromCenterForValue(e.value);!function(e,t,i,r){const n=e.ctx,l=t.circular,{color:o,lineWidth:s}=t;!l&&!r||!o||!s||i<0||(n.save(),n.strokeStyle=o,n.lineWidth=s,n.setLineDash(t.borderDash),n.lineDashOffset=t.borderDashOffset,n.beginPath(),bs(e,i,l,r),n.closePath(),n.stroke(),n.restore())}(this,r.setContext(this.getContext(t-1)),o,n)}})),i.display){for(e.save(),l=n-1;l>=0;l--){const r=i.setContext(this.getPointLabelContext(l)),{color:n,lineWidth:a}=r;a&&n&&(e.lineWidth=a,e.strokeStyle=n,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,o=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),s=this.getPointPosition(l,o),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(s.x,s.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let n,l;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((r,o)=>{if(0===o&&!t.reverse)return;const s=i.setContext(this.getContext(o)),a=Ri(s.font);if(n=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=a.string,l=e.measureText(r.label).width,e.fillStyle=s.backdropColor;const t=Oi(s.backdropPadding);e.fillRect(-l/2-t.left,-n-a.size/2-t.top,l+t.width,a.size+t.height)}Di(e,r.label,0,-n,a,{color:s.color})})),e.restore()}drawTitle(){}}Cs.id="radialLinear",Cs.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:bn.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}},Cs.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Cs.descriptors={angleLines:{_fallback:"grid"}};const _s={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},vs=Object.keys(_s);function xs(e,t){return e-t}function Ns(e,t){if(_e(t))return null;const i=e._adapter,{parser:r,round:n,isoWeekday:l}=e._parseOpts;let o=t;return"function"==typeof r&&(o=r(o)),Ne(o)||(o="string"==typeof r?i.parse(o,r):i.parse(o)),null===o?null:(n&&(o="week"!==n||!$e(l)&&!0!==l?i.startOf(o,n):i.startOf(o,"isoWeek",l)),+o)}function ws(e,t,i,r){const n=vs.length;for(let l=vs.indexOf(e);l<n-1;++l){const e=_s[vs[l]],n=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((i-t)/(n*e.size))<=r)return vs[l]}return vs[n-1]}function Es(e,t,i){if(i){if(i.length){const{lo:r,hi:n}=ft(i,t);e[i[r]>=t?i[r]:i[n]]=!0}}else e[t]=!0}function ys(e,t,i){const r=[],n={},l=t.length;let o,s;for(o=0;o<l;++o)s=t[o],n[s]=o,r.push({value:s,major:!1});return 0!==l&&i?function(e,t,i,r){const n=e._adapter,l=+n.startOf(t[0].value,r),o=t[t.length-1].value;let s,a;for(s=l;s<=o;s=+n.add(s,1,r))a=i[s],a>=0&&(t[a].major=!0);return t}(e,r,n,i):r}class Ds extends Dn{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const i=e.time||(e.time={}),r=this._adapter=new In._date(e.adapters.date);r.init(t),Ie(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Ns(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:r,max:n,minDefined:l,maxDefined:o}=this.getUserBounds();function s(e){l||isNaN(e.min)||(r=Math.min(r,e.min)),o||isNaN(e.max)||(n=Math.max(n,e.max))}l&&o||(s(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||s(this.getMinMax(!1))),r=Ne(r)&&!isNaN(r)?r:+t.startOf(Date.now(),i),n=Ne(n)&&!isNaN(n)?n:+t.endOf(Date.now(),i)+1,this.min=Math.min(r,n-1),this.max=Math.max(r+1,n)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,r="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const n=this.min,l=function(e,t,i){let r=0,n=e.length;for(;r<n&&e[r]<t;)r++;for(;n>r&&e[n-1]>i;)n--;return r>0||n<e.length?e.slice(r,n):e}(r,n,this.max);return this._unit=t.unit||(i.autoSkip?ws(t.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(e,t,i,r,n){for(let l=vs.length-1;l>=vs.indexOf(i);l--){const i=vs[l];if(_s[i].common&&e._adapter.diff(n,r,i)>=t-1)return i}return vs[i?vs.indexOf(i):0]}(this,l.length,t.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(e){for(let t=vs.indexOf(e)+1,i=vs.length;t<i;++t)if(_s[vs[t]].common)return vs[t]}(this._unit):void 0,this.initOffsets(r),e.reverse&&l.reverse(),ys(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(e){let t,i,r=0,n=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),r=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,i=this.getDecimalForValue(e[e.length-1]),n=1===e.length?i:(i-this.getDecimalForValue(e[e.length-2]))/2);const l=e.length<3?.5:.25;r=dt(r,0,l),n=dt(n,0,l),this._offsets={start:r,end:n,factor:1/(r+1+n)}}_generate(){const e=this._adapter,t=this.min,i=this.max,r=this.options,n=r.time,l=n.unit||ws(n.minUnit,t,i,this._getLabelCapacity(t)),o=Ee(n.stepSize,1),s="week"===l&&n.isoWeekday,a=$e(s)||!0===s,c={};let d,u,f=t;if(a&&(f=+e.startOf(f,"isoWeek",s)),f=+e.startOf(f,a?"day":l),e.diff(i,t,l)>1e5*o)throw new Error(t+" and "+i+" are too far apart with stepSize of "+o+" "+l);const m="data"===r.ticks.source&&this.getDataTimestamps();for(d=f,u=0;d<i;d=+e.add(d,o,l),u++)Es(c,d,m);return d!==i&&"ticks"!==r.bounds&&1!==u||Es(c,d,m),Object.keys(c).sort(((e,t)=>e-t)).map((e=>+e))}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}_tickFormatFunction(e,t,i,r){const n=this.options,l=n.time.displayFormats,o=this._unit,s=this._majorUnit,a=o&&l[o],c=s&&l[s],d=i[t],u=s&&c&&d&&d.major,f=this._adapter.format(e,r||(u?c:a)),m=n.ticks.callback;return m?De(m,[f,t,i],this):f}generateTickLabels(e){let t,i,r;for(t=0,i=e.length;t<i;++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,i=this.ctx.measureText(e).width,r=it(this.isHorizontal()?t.maxRotation:t.minRotation),n=Math.cos(r),l=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:i*n+o*l,h:i*l+o*n}}_getLabelCapacity(e){const t=this.options.time,i=t.displayFormats,r=i[t.unit]||i.millisecond,n=this._tickFormatFunction(e,0,ys(this,[e],this._majorUnit),r),l=this._getLabelSize(n),o=Math.floor(this.isHorizontal()?this.width/l.w:this.height/l.h)-1;return o>0?o:1}getDataTimestamps(){let e,t,i=this._cache.data||[];if(i.length)return i;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(e=0,t=r.length;e<t;++e)i=i.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const e=this._cache.labels||[];let t,i;if(e.length)return e;const r=this.getLabels();for(t=0,i=r.length;t<i;++t)e.push(Ns(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return pt(e.sort(xs))}}function Bs(e,t,i){let r,n,l,o,s=0,a=e.length-1;i?(t>=e[s].pos&&t<=e[a].pos&&({lo:s,hi:a}=mt(e,"pos",t)),({pos:r,time:l}=e[s]),({pos:n,time:o}=e[a])):(t>=e[s].time&&t<=e[a].time&&({lo:s,hi:a}=mt(e,"time",t)),({time:r,pos:l}=e[s]),({time:n,pos:o}=e[a]));const c=n-r;return c?l+(o-l)*(t-r)/c:l}Ds.id="time",Ds.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Ms extends Ds{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Bs(t,this.min),this._tableRange=Bs(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,r=[],n=[];let l,o,s,a,c;for(l=0,o=e.length;l<o;++l)a=e[l],a>=t&&a<=i&&r.push(a);if(r.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(l=0,o=r.length;l<o;++l)c=r[l+1],s=r[l-1],a=r[l],Math.round((c+s)/2)!==a&&n.push({time:a,pos:l/(o-1)});return n}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return e=t.length&&i.length?this.normalize(t.concat(i)):t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Bs(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return Bs(this._table,i*this._tableRange+this._minPos,!0)}}Ms.id="timeseries",Ms.defaults=Ds.defaults;const ks=[Pn,Ao,is,Object.freeze({__proto__:null,CategoryScale:ns,LinearScale:as,LogarithmicScale:ds,RadialLinearScale:Cs,TimeScale:Ds,TimeSeriesScale:Ms})],Ps="label";function Ls(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Hs(e,t){e.labels=t}function Is(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ps;const r=[];e.datasets=t.map((t=>{const n=e.datasets.find((e=>e[i]===t[i]));return n&&t.data&&!r.includes(n)?(r.push(n),Object.assign(n,t),n):{...t}}))}function Fs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ps;const i={labels:[],datasets:[]};return Hs(i,e.labels),Is(i,e.datasets,t),i}function Qs(e,i){let{height:n=150,width:o=300,redraw:s=!1,datasetIdKey:a,type:c,data:d,options:u,plugins:f=[],fallbackContent:m,updateMode:h,...A}=e;const g=l(null),p=l(),b=()=>{g.current&&(p.current=new zl(g.current,{type:c,data:Fs(d,a),options:u&&{...u},plugins:f}),Ls(i,p.current))},C=()=>{Ls(i,null),p.current&&(p.current.destroy(),p.current=null)};return r((()=>{var e,t;!s&&p.current&&u&&(e=p.current,t=u,Object.assign(e.options,t))}),[s,u]),r((()=>{!s&&p.current&&Hs(p.current.config.data,d.labels)}),[s,d.labels]),r((()=>{!s&&p.current&&d.datasets&&Is(p.current.config.data,d.datasets,a)}),[s,d.datasets]),r((()=>{p.current&&(s?(C(),setTimeout(b)):p.current.update(h))}),[s,u,d.labels,d.datasets,h]),r((()=>{p.current&&(C(),setTimeout(b))}),[c]),r((()=>(b(),()=>C())),[]),t.createElement("canvas",Object.assign({ref:g,role:"img",height:n,width:o},A),m)}const Os=n(Qs);function Rs(e,i){return zl.register(i),n(((i,r)=>t.createElement(Os,Object.assign({},i,{ref:r,type:e}))))}const Vs=Rs("line",fn);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var Ys={};({get exports(){return Ys},set exports(e){Ys=e}}).exports=function(){var e=1e3,t=6e4,i=36e5,r="millisecond",n="second",l="minute",o="hour",s="day",a="week",c="month",d="quarter",u="year",f="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}},p=function(e,t,i){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(i)+e},b={s:p,z:function(e){var t=-e.utcOffset(),i=Math.abs(t),r=Math.floor(i/60),n=i%60;return(t<=0?"+":"-")+p(r,2,"0")+":"+p(n,2,"0")},m:function e(t,i){if(t.date()<i.date())return-e(i,t);var r=12*(i.year()-t.year())+(i.month()-t.month()),n=t.clone().add(r,c),l=i-n<0,o=t.clone().add(r+(l?-1:1),c);return+(-(r+(i-n)/(l?n-o:o-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:u,w:a,d:s,D:f,h:o,m:l,s:n,ms:r,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},C="en",_={};_[C]=g;var v=function(e){return e instanceof E},x=function e(t,i,r){var n;if(!t)return C;if("string"==typeof t){var l=t.toLowerCase();_[l]&&(n=l),i&&(_[l]=i,n=l);var o=t.split("-");if(!n&&o.length>1)return e(o[0])}else{var s=t.name;_[s]=t,n=s}return!r&&n&&(C=n),n||!r&&C},N=function(e,t){if(v(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new E(i)},w=b;w.l=x,w.i=v,w.w=function(e,t){return N(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=x(e.locale,null,!0),this.parse(e)}var p=g.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var n=r[2]-1||0,l=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return w},p.isValid=function(){return!(this.$d.toString()===m)},p.isSame=function(e,t){var i=N(e);return this.startOf(t)<=i&&i<=this.endOf(t)},p.isAfter=function(e,t){return N(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<N(e)},p.$g=function(e,t,i){return w.u(e)?this[t]:this.set(i,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,t){var i=this,r=!!w.u(t)||t,d=w.p(e),m=function(e,t){var n=w.w(i.$u?Date.UTC(i.$y,t,e):new Date(i.$y,t,e),i);return r?n:n.endOf(s)},h=function(e,t){return w.w(i.toDate()[e].apply(i.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),i)},A=this.$W,g=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(d){case u:return r?m(1,0):m(31,11);case c:return r?m(1,g):m(0,g+1);case a:var C=this.$locale().weekStart||0,_=(A<C?A+7:A)-C;return m(r?p-_:p+(6-_),g);case s:case f:return h(b+"Hours",0);case o:return h(b+"Minutes",1);case l:return h(b+"Seconds",2);case n:return h(b+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(e,t){var i,a=w.p(e),d="set"+(this.$u?"UTC":""),m=(i={},i[s]=d+"Date",i[f]=d+"Date",i[c]=d+"Month",i[u]=d+"FullYear",i[o]=d+"Hours",i[l]=d+"Minutes",i[n]=d+"Seconds",i[r]=d+"Milliseconds",i)[a],h=a===s?this.$D+(t-this.$W):t;if(a===c||a===u){var A=this.clone().set(f,1);A.$d[m](h),A.init(),this.$d=A.set(f,Math.min(this.$D,A.daysInMonth())).$d}else m&&this.$d[m](h);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[w.p(e)]()},p.add=function(r,d){var f,m=this;r=Number(r);var h=w.p(d),A=function(e){var t=N(m);return w.w(t.date(t.date()+Math.round(e*r)),m)};if(h===c)return this.set(c,this.$M+r);if(h===u)return this.set(u,this.$y+r);if(h===s)return A(1);if(h===a)return A(7);var g=(f={},f[l]=t,f[o]=i,f[n]=e,f)[h]||1,p=this.$d.getTime()+r*g;return w.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,i=this.$locale();if(!this.isValid())return i.invalidDate||m;var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=w.z(this),l=this.$H,o=this.$m,s=this.$M,a=i.weekdays,c=i.months,d=function(e,i,n,l){return e&&(e[i]||e(t,r))||n[i].slice(0,l)},u=function(e){return w.s(l%12||12,e,"0")},f=i.meridiem||function(e,t,i){var r=e<12?"AM":"PM";return i?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:w.s(s+1,2,"0"),MMM:d(i.monthsShort,s,c,3),MMMM:d(c,s),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:d(i.weekdaysMin,this.$W,a,2),ddd:d(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(l),HH:w.s(l,2,"0"),h:u(1),hh:u(2),a:f(l,o,!0),A:f(l,o,!1),m:String(o),mm:w.s(o,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:n};return r.replace(A,(function(e,t){return t||h[e]||n.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(r,f,m){var h,A=w.p(f),g=N(r),p=(g.utcOffset()-this.utcOffset())*t,b=this-g,C=w.m(this,g);return C=(h={},h[u]=C/12,h[c]=C,h[d]=C/3,h[a]=(b-p)/6048e5,h[s]=(b-p)/864e5,h[o]=b/i,h[l]=b/t,h[n]=b/e,h)[A]||b,m?C:w.a(C)},p.daysInMonth=function(){return this.endOf(c).$D},p.$locale=function(){return _[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var i=this.clone(),r=x(e,t,!0);return r&&(i.$L=r),i},p.clone=function(){return w.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},g}(),y=E.prototype;return N.prototype=y,[["$ms",r],["$s",n],["$m",l],["$H",o],["$W",s],["$M",c],["$y",u],["$D",f]].forEach((function(e){y[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),N.extend=function(e,t){return e.$i||(e(t,E,N),e.$i=!0),N},N.locale=x,N.isDayjs=v,N.unix=function(e){return N(1e3*e)},N.en=_[C],N.Ls=_,N.p={},N}();var zs=Ys;const Ss=o.div`
|
|
938
938
|
width: 448px;
|
|
939
939
|
height: 174px;
|
|
940
940
|
border-radius: 8px;
|
|
@@ -977,7 +977,7 @@ function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
977
977
|
}
|
|
978
978
|
`,Us=o.div`
|
|
979
979
|
color: ${s["neutral-400"]};
|
|
980
|
-
`,Gs="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Chart\\Chart.tsx";
|
|
980
|
+
`,Gs="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Chart\\Chart.tsx";zl.register(...ks);const Ks=e=>{const{ratesData:n,exchCurrFlag:l,baseCurrCode:o,exchCurrName:a,exchCurrCode:c}=e,[d,u]=i({}),[f,m]=i(0),h=e=>e<0?{borderColor:s["error-500"],fillColor:s["error-50"]}:e>0?{borderColor:s["success-500"],fillColor:s["success-50"]}:{borderColor:s["neutral-500"],fillColor:s["neutral-50"]};r((()=>{let e={dates:[],data:[],change:0};if(n&&n.length>0)for(let t=0;t<n.length;t++)n[t].exchCurrency===c&&n[t].baseCurrency===o&&e.dates.length<7&&e.data.length<7&&(e.dates.push(zs(n[t].currDate).format("D MMM")),e.data.push(n[t].rate),e.change=n[t].rateChange,m(n[t].rateChange));let t={labels:e.dates,datasets:[{label:"",data:e.data,borderColor:h(e.change).borderColor,backgroundColor:h(e.change).fillColor,fill:!0,tension:.23,borderWidth:1}]};u(t)}),[n,o,c]);return t.createElement(t.Fragment,null,d.labels&&d.labels.length>0&&t.createElement(Ss,{__self:void 0,__source:{fileName:Gs,lineNumber:122}},t.createElement(Ts,{__self:void 0,__source:{fileName:Gs,lineNumber:123}},t.createElement(Ws,{__self:void 0,__source:{fileName:Gs,lineNumber:124}},t.createElement("img",{src:l,alt:"Base currency flag",__self:void 0,__source:{fileName:Gs,lineNumber:125}}),t.createElement("div",{__self:void 0,__source:{fileName:Gs,lineNumber:126}},t.createElement("p",{className:"paragraph2Medium",__self:void 0,__source:{fileName:Gs,lineNumber:127}},a),t.createElement("p",{className:"paragraph2Regular",__self:void 0,__source:{fileName:Gs,lineNumber:128}},c))),t.createElement(Xs,{style:{textAlign:"right"},__self:void 0,__source:{fileName:Gs,lineNumber:131}},t.createElement(Zs,{className:"paragraph1Regular",__self:void 0,__source:{fileName:Gs,lineNumber:132}},f<0&&t.createElement("i",{className:"icon-arrow-down-right error",__self:void 0,__source:{fileName:Gs,lineNumber:133}}),f>0&&t.createElement("i",{className:"icon-arrow-up-right success",__self:void 0,__source:{fileName:Gs,lineNumber:134}}),0===f&&t.createElement("i",{className:"icon-dash neutral",__self:void 0,__source:{fileName:Gs,lineNumber:135}}),c," 1.0000 = ",o," ",d.datasets[0].data[d.datasets[0].data.length-1]),t.createElement(Us,{className:"paragraph1Regular",__self:void 0,__source:{fileName:Gs,lineNumber:138}},`${function(e){const t=zs(new Date).format("YYYY M D"),i=zs(e).format("YYYY M D"),r=zs(t),n=zs(i);return 0===r.diff(n)?"today, ":6627744e5===r.diff(n)?"yesterday, ":r.diff(n)>864e5?"":void 0}(d.labels[d.labels.length-1])}${zs(d.labels[d.labels.length-1]).format("MMM D")}`))),t.createElement("div",{__self:void 0,__source:{fileName:Gs,lineNumber:141}},t.createElement(js,{__self:void 0,__source:{fileName:Gs,lineNumber:142}},t.createElement(Vs,{data:d,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},scales:{y:{display:!1},x:{display:!1}},elements:{point:{radius:0}}},__self:void 0,__source:{fileName:Gs,lineNumber:143}})),t.createElement("div",{style:{height:"10px",background:h(f).fillColor},__self:void 0,__source:{fileName:Gs,lineNumber:145}}))))};const qs=o.div`
|
|
981
981
|
width: 424px;
|
|
982
982
|
height: 118px;
|
|
983
983
|
border-radius: 8px;
|
|
@@ -1021,7 +1021,7 @@ function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1021
1021
|
}
|
|
1022
1022
|
`,ra=o.div`
|
|
1023
1023
|
color: ${s["neutral-400"]};
|
|
1024
|
-
`,na="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartMedium\\ChartMedium.tsx";
|
|
1024
|
+
`,na="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartMedium\\ChartMedium.tsx";zl.register(...ks);const la=e=>{const{ratesData:n,exchCurrFlag:l,baseCurrCode:o,exchCurrName:a,exchCurrCode:c}=e,[d,u]=i({}),[f,m]=i(0),h=e=>e<0?{borderColor:s["error-500"],fillColor:s["error-50"]}:e>0?{borderColor:s["success-500"],fillColor:s["success-50"]}:{borderColor:s["neutral-500"],fillColor:s["neutral-50"]};r((()=>{let e={dates:[],data:[],change:0};if(n&&n.length>0)for(let t=0;t<n.length;t++)n[t].exchCurrency===c&&n[t].baseCurrency===o&&e.dates.length<7&&e.data.length<7&&(e.dates.push(zs(n[t].currDate).format("D MMM")),e.data.push(n[t].rate),e.change=n[t].rateChange,m(n[t].rateChange));let t={labels:e.dates,datasets:[{label:"",data:e.data,borderColor:h(e.change).borderColor,backgroundColor:h(e.change).fillColor,fill:!0,tension:.23,borderWidth:1}]};u(t)}),[n,o,c]);return t.createElement(t.Fragment,null,d.labels&&d.labels.length>0&&t.createElement(qs,{__self:void 0,__source:{fileName:na,lineNumber:119}},t.createElement($s,{__self:void 0,__source:{fileName:na,lineNumber:120}},t.createElement(ea,{__self:void 0,__source:{fileName:na,lineNumber:121}},t.createElement("img",{src:l,alt:"Base currency flag",__self:void 0,__source:{fileName:na,lineNumber:122}}),t.createElement("div",{__self:void 0,__source:{fileName:na,lineNumber:123}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:na,lineNumber:124}},a),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:na,lineNumber:125}},c))),t.createElement(ta,{style:{textAlign:"right"},__self:void 0,__source:{fileName:na,lineNumber:128}},t.createElement(ia,{className:"captionBook",__self:void 0,__source:{fileName:na,lineNumber:129}},f<0&&t.createElement("i",{className:"icon-arrow-down-right error",__self:void 0,__source:{fileName:na,lineNumber:130}}),f>0&&t.createElement("i",{className:"icon-arrow-up-right success",__self:void 0,__source:{fileName:na,lineNumber:131}}),0===f&&t.createElement("i",{className:"icon-dash neutral",__self:void 0,__source:{fileName:na,lineNumber:132}}),c," 1.0000 = ",o," ",d.datasets[0].data[d.datasets[0].data.length-1]),t.createElement(ra,{className:"captionBook",__self:void 0,__source:{fileName:na,lineNumber:135}},`${function(e){const t=zs(new Date).format("YYYY M D"),i=zs(e).format("YYYY M D"),r=zs(t),n=zs(i);return 0===r.diff(n)?"today, ":6627744e5===r.diff(n)?"yesterday, ":r.diff(n)>864e5?"":void 0}(d.labels[d.labels.length-1])}${zs(d.labels[d.labels.length-1]).format("MMM D")}`))),t.createElement("div",{__self:void 0,__source:{fileName:na,lineNumber:138}},t.createElement(Js,{__self:void 0,__source:{fileName:na,lineNumber:139}},t.createElement(Vs,{data:d,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},scales:{y:{display:!1},x:{display:!1}},elements:{point:{radius:0}}},__self:void 0,__source:{fileName:na,lineNumber:140}})),t.createElement("div",{style:{height:"10px",background:h(f).fillColor},__self:void 0,__source:{fileName:na,lineNumber:142}}))))};const oa=o.div`
|
|
1025
1025
|
width: 170px;
|
|
1026
1026
|
height: 101px;
|
|
1027
1027
|
border-radius: 8px;
|
|
@@ -1071,7 +1071,7 @@ function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1071
1071
|
}
|
|
1072
1072
|
`;const da=o.div`
|
|
1073
1073
|
color: ${s["neutral-400"]};
|
|
1074
|
-
`,ua="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartSmall\\ChartSmall.tsx";
|
|
1074
|
+
`,ua="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartSmall\\ChartSmall.tsx";zl.register(...ks);const fa=e=>{const{ratesData:n,exchCurrFlag:l,baseCurrCode:o,exchCurrName:a,exchCurrCode:c}=e,[d,u]=i({}),[f,m]=i(0),h=e=>e<0?{borderColor:s["error-500"],fillColor:s["error-50"]}:e>0?{borderColor:s["success-500"],fillColor:s["success-50"]}:{borderColor:s["neutral-500"],fillColor:s["neutral-50"]};r((()=>{let e={dates:[],data:[],change:0};if(n&&n.length>0)for(let t=0;t<n.length;t++)n[t].exchCurrency===c&&n[t].baseCurrency===o&&e.dates.length<7&&e.data.length<7&&(e.dates.push(zs(n[t].currDate).format("D MMM")),e.data.push(n[t].rate),e.change=n[t].rateChange,m(n[t].rateChange));let t={labels:e.dates,datasets:[{label:"",data:e.data,borderColor:h(e.change).borderColor,backgroundColor:h(e.change).fillColor,fill:!0,tension:.23,borderWidth:1}]};u(t)}),[n,o,c]);return t.createElement(t.Fragment,null,d.labels&&d.labels.length>0&&t.createElement(oa,{__self:void 0,__source:{fileName:ua,lineNumber:119}},t.createElement(aa,{__self:void 0,__source:{fileName:ua,lineNumber:120}},t.createElement(ca,{__self:void 0,__source:{fileName:ua,lineNumber:121}},t.createElement("img",{src:l,alt:"Base currency flag",__self:void 0,__source:{fileName:ua,lineNumber:122}}),t.createElement("div",{__self:void 0,__source:{fileName:ua,lineNumber:123}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:ua,lineNumber:124}},c," ",d.datasets[0].data[d.datasets[0].data.length-1]),t.createElement(da,{className:"footerBook",__self:void 0,__source:{fileName:ua,lineNumber:125}},`${function(e){const t=zs(new Date).format("YYYY M D"),i=zs(e).format("YYYY M D"),r=zs(t),n=zs(i);return 0===r.diff(n)?"today, ":6627744e5===r.diff(n)?"yesterday, ":r.diff(n)>864e5?"":void 0}(d.labels[d.labels.length-1])}${zs(d.labels[d.labels.length-1]).format("MMM D")}`)))),t.createElement("div",{__self:void 0,__source:{fileName:ua,lineNumber:129}},t.createElement(sa,{__self:void 0,__source:{fileName:ua,lineNumber:130}},t.createElement(Vs,{data:d,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},scales:{y:{display:!1},x:{display:!1}},elements:{point:{radius:0}}},__self:void 0,__source:{fileName:ua,lineNumber:131}})),t.createElement("div",{style:{height:"15px",background:h(f).fillColor},__self:void 0,__source:{fileName:ua,lineNumber:133}}))))},ma=o.div`
|
|
1075
1075
|
position: absolute;
|
|
1076
1076
|
bottom: 0;
|
|
1077
1077
|
left: 0;
|
|
@@ -1349,14 +1349,9 @@ function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1349
1349
|
gap: 4px;
|
|
1350
1350
|
label{
|
|
1351
1351
|
color:${s["primary-900"]};
|
|
1352
|
-
font-weight: 500;
|
|
1353
|
-
font-family: "Circular Book Medium", sans-serif;
|
|
1354
1352
|
}
|
|
1355
1353
|
span{
|
|
1356
1354
|
color: ${s["neutral-600"]};
|
|
1357
|
-
font-size: 14px;
|
|
1358
|
-
line-height: 17px;
|
|
1359
|
-
font-weight: 400;
|
|
1360
1355
|
}
|
|
1361
1356
|
`,Qa=o.div`
|
|
1362
1357
|
position: relative;
|
|
@@ -1376,6 +1371,9 @@ function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1376
1371
|
&.success{
|
|
1377
1372
|
border-color: ${s["success-500"]};
|
|
1378
1373
|
}
|
|
1374
|
+
&.error{
|
|
1375
|
+
border-color: ${s["error-500"]};
|
|
1376
|
+
}
|
|
1379
1377
|
&.focused{
|
|
1380
1378
|
border-color: ${s["primary-500"]};
|
|
1381
1379
|
}
|
|
@@ -1404,6 +1402,19 @@ function Bt(e){return e+.5|0}const Mt=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1404
1402
|
font-weight: 400;
|
|
1405
1403
|
line-height: 140%;
|
|
1406
1404
|
}
|
|
1405
|
+
|
|
1406
|
+
.sr-only{
|
|
1407
|
+
position: absolute;
|
|
1408
|
+
width: 1px;
|
|
1409
|
+
left: 0;
|
|
1410
|
+
top: 0;
|
|
1411
|
+
height: 1px;
|
|
1412
|
+
margin: -1px;
|
|
1413
|
+
overflow: hidden;
|
|
1414
|
+
clip: rect(0, 0, 0, 0);
|
|
1415
|
+
white-space: nowrap;
|
|
1416
|
+
border: 0;
|
|
1417
|
+
}
|
|
1407
1418
|
`,Ra=o.div`
|
|
1408
1419
|
background:#ffffff;
|
|
1409
1420
|
padding: 16px;
|
|
@@ -1523,13 +1534,20 @@ button{
|
|
|
1523
1534
|
background: ${s["neutral-50"]};
|
|
1524
1535
|
}
|
|
1525
1536
|
}
|
|
1526
|
-
`,Va="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DatePicker\\DatePicker.tsx",za=e=>{const{onChange:n,label:o,subtext:s,disablePastDays:a,disableFutureDays:c,placeholder:d,width:u}=e,[f,m]=i(null),[h,A]=i(!1),g=l(null);r((()=>{document.addEventListener("click",(function(e){A(g.current.contains(e.target))}))}),[]);return t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12,position:"relative"},__self:void 0,__source:{fileName:Va,lineNumber:39}},o&&t.createElement(Fa,{__self:void 0,__source:{fileName:Va,lineNumber:41}},t.createElement("label",{__self:void 0,__source:{fileName:Va,lineNumber:42}},o),s&&t.createElement("span",{__self:void 0,__source:{fileName:Va,lineNumber:43}},s)),t.createElement(Qa,{ref:g,className:f?"success":"",style:{width:u||"100%"},__self:void 0,__source:{fileName:Va,lineNumber:46}},t.createElement(Oa,{className:`${f?"success":""} ${h?"focused":""}`,__self:void 0,__source:{fileName:Va,lineNumber:47}},t.createElement("input",{type:"text",value:f?f.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"",readOnly:!0,placeholder:`${d||"Select date"}`,onClick:()=>{A(!0)},__self:void 0,__source:{fileName:Va,lineNumber:48}}),t.createElement("button",{type:"button",onClick:()=>{h&&setTimeout((()=>{A(!1)}),50)},__self:void 0,__source:{fileName:Va,lineNumber:55}},t.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Va,lineNumber:63}},t.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:Va,lineNumber:64}})))),h&&t.createElement("div",{style:{position:"absolute",marginTop:4},__self:void 0,__source:{fileName:Va,lineNumber:69}},t.createElement(Ya,{onChange:e=>{m(e),n(e),setTimeout((()=>{A(!1)}),10)},selected:f,disablePastDaysProp:!!a,disableFutureDaysProp:!!c,__self:void 0,__source:{fileName:Va,lineNumber:70}}))))},Ya=({onChange:e,selected:r,disablePastDaysProp:n,disableFutureDaysProp:l})=>{const[o,s]=i(r||new Date),[a,c]=i((new Date).getFullYear()),[d,u]=i(!0),f=(e,t)=>new Date(e,t+1,0).getDate(),m=t=>{const i=new Date(o.getFullYear(),o.getMonth(),t);e(i)},h=e=>{s(new Date(o.setFullYear(e))),u(!d)};return t.createElement(Ra,{__self:void 0,__source:{fileName:Va,lineNumber:226}},t.createElement("div",{className:"header",__self:void 0,__source:{fileName:Va,lineNumber:227}},!d&&t.createElement("button",{type:"button",onClick:()=>{c(a-20)},__self:void 0,__source:{fileName:Va,lineNumber:229}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Va,lineNumber:231}},t.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Va,lineNumber:232}}))),d&&t.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()-1))},__self:void 0,__source:{fileName:Va,lineNumber:237}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Va,lineNumber:239}},t.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Va,lineNumber:240}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{u(!d)},__self:void 0,__source:{fileName:Va,lineNumber:244}},o.toLocaleString("en-us",{month:"long",year:"numeric"}),t.createElement("svg",{className:d?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Va,lineNumber:246}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Va,lineNumber:247}}))),d&&t.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()+1))},__self:void 0,__source:{fileName:Va,lineNumber:251}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Va,lineNumber:253}},t.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Va,lineNumber:254}}))),!d&&t.createElement("button",{type:"button",onClick:()=>{c(a+20)},__self:void 0,__source:{fileName:Va,lineNumber:259}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Va,lineNumber:261}},t.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Va,lineNumber:262}})))),t.createElement("div",{style:{display:d?"block ":"none"},__self:void 0,__source:{fileName:Va,lineNumber:268}},t.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:Va,lineNumber:269}},["Su","Mo","Tu","We","Th","Fr","Sa"].map((e=>t.createElement("div",{key:e,className:"weekday",__self:void 0,__source:{fileName:Va,lineNumber:271}},e)))),t.createElement("div",{className:"days",__self:void 0,__source:{fileName:Va,lineNumber:276}},(()=>{const e=o.getFullYear(),i=o.getMonth(),s=f(e,i),a=((e,t)=>new Date(e,t,1).getDay())(e,i),c=f(e,0===i?11:i-1),d=[];for(let e=a-1;e>=0;e--){const i=c-e;d.push(t.createElement("div",{key:`previous-day-${i}`,className:"calendar-day previous-month-day",__self:void 0,__source:{fileName:Va,lineNumber:143}},i))}const u=new Date,h=u.getDate();for(let o=1;o<=s;o++){const s=r&&r.getDate()===o&&r.getMonth()===i&&r.getFullYear()===e,a=o===h&&i===u.getMonth()&&e===u.getFullYear(),c=n&&(e<u.getFullYear()||e===u.getFullYear()&&i<u.getMonth()||e===u.getFullYear()&&i===u.getMonth()&&o<h),f=l&&(e>u.getFullYear()||e===u.getFullYear()&&i>u.getMonth()||e===u.getFullYear()&&i===u.getMonth()&&o>h),A=s?"selected-day":a?"current-day":c?"past-day":f?"future-day":"",g=c||f?()=>{}:()=>m(o);d.push(t.createElement("div",{key:`current-day-${o}`,className:`calendar-day ${A}`,onClick:g,__self:void 0,__source:{fileName:Va,lineNumber:184}},o))}const A=(7-d.length%7)%7;for(let e=1;e<=A;e++)d.push(t.createElement("div",{key:`next-day-${e}`,className:"calendar-day next-month-day",__self:void 0,__source:{fileName:Va,lineNumber:199}},e));return d})())),t.createElement("div",{style:{display:d?"none":"block"},__self:void 0,__source:{fileName:Va,lineNumber:280}},(e=>{const i=[];for(let r=e-10;r<=e+10;r++){const e=r===o.getFullYear()?"selected-year":"";i.push(t.createElement("div",{key:r,onClick:()=>h(r),className:`year-option ${e}`,__self:void 0,__source:{fileName:Va,lineNumber:212}},r))}return t.createElement("div",{className:"year-picker",__self:void 0,__source:{fileName:Va,lineNumber:219}},t.createElement("div",{className:"year-options",__self:void 0,__source:{fileName:Va,lineNumber:220}},i))})(a)))},Sa=o.div`
|
|
1537
|
+
`,Va=o.p`
|
|
1538
|
+
color: ${s["error-500"]};
|
|
1539
|
+
margin-top: 8px;
|
|
1540
|
+
display: flex;
|
|
1541
|
+
gap: 8px;
|
|
1542
|
+
justify-content: start;
|
|
1543
|
+
align-items: center;
|
|
1544
|
+
`,Ya="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DatePicker\\DatePicker.tsx",za=e=>{const{onChange:n,label:o,subtext:s,disablePastDays:a,disableFutureDays:c,placeholder:d,width:u,required:f}=e,[m,h]=i(null),[A,g]=i(!1),[p,b]=i(""),C=l(null);r((()=>{document.addEventListener("click",(function(e){C.current&&g(C.current.contains(e.target))}))}),[]);return t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12,position:"relative"},__self:void 0,__source:{fileName:Ya,lineNumber:43}},o&&t.createElement(Fa,{__self:void 0,__source:{fileName:Ya,lineNumber:45}},t.createElement("label",{className:"paragraph2Medium",__self:void 0,__source:{fileName:Ya,lineNumber:46}},o),s&&t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Ya,lineNumber:47}},s)),t.createElement(Qa,{ref:C,className:p,style:{width:u||"100%"},__self:void 0,__source:{fileName:Ya,lineNumber:50}},t.createElement(Oa,{className:`${p} ${A?"focused":""}`,__self:void 0,__source:{fileName:Ya,lineNumber:51}},t.createElement("input",{type:"text",className:"sr-only",required:f,value:m||"",onChange:()=>{},onInvalid:()=>{b("error")},__self:void 0,__source:{fileName:Ya,lineNumber:52}}),t.createElement("input",{type:"text",value:m?m.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"",readOnly:!0,placeholder:`${d||"Select date"}`,onClick:()=>{g(!0)},onBlur:()=>{f&&!m&&b("error")},__self:void 0,__source:{fileName:Ya,lineNumber:55}}),t.createElement("button",{type:"button",onClick:()=>{A&&setTimeout((()=>{g(!1)}),50)},__self:void 0,__source:{fileName:Ya,lineNumber:67}},t.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:75}},t.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:76}})))),A&&t.createElement("div",{style:{position:"absolute",marginTop:4},__self:void 0,__source:{fileName:Ya,lineNumber:81}},t.createElement(Sa,{onChange:e=>{var t;h(t=e),n(t),setTimeout((()=>{g(!1)}),10),b("success")},selected:m,disablePastDaysProp:!!a,disableFutureDaysProp:!!c,__self:void 0,__source:{fileName:Ya,lineNumber:82}})),f&&"error"===p&&t.createElement(Va,{__self:void 0,__source:{fileName:Ya,lineNumber:89}},t.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:91}},t.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:Ya,lineNumber:92}})),t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Ya,lineNumber:94}},"This field is required"))))},Sa=({onChange:e,selected:r,disablePastDaysProp:n,disableFutureDaysProp:l})=>{const[o,s]=i(r||new Date),[a,c]=i((new Date).getFullYear()),[d,u]=i(!0),f=(e,t)=>new Date(e,t+1,0).getDate(),m=t=>{const i=new Date(o.getFullYear(),o.getMonth(),t);e(i)},h=e=>{s(new Date(o.setFullYear(e))),u(!d)};return t.createElement(Ra,{__self:void 0,__source:{fileName:Ya,lineNumber:250}},t.createElement("div",{className:"header",__self:void 0,__source:{fileName:Ya,lineNumber:251}},!d&&t.createElement("button",{type:"button",onClick:()=>{c(a-20)},__self:void 0,__source:{fileName:Ya,lineNumber:253}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:255}},t.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:256}}))),d&&t.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()-1))},__self:void 0,__source:{fileName:Ya,lineNumber:261}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:263}},t.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:264}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{u(!d)},__self:void 0,__source:{fileName:Ya,lineNumber:268}},o.toLocaleString("en-us",{month:"long",year:"numeric"}),t.createElement("svg",{className:d?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:270}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:271}}))),d&&t.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()+1))},__self:void 0,__source:{fileName:Ya,lineNumber:275}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:277}},t.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:278}}))),!d&&t.createElement("button",{type:"button",onClick:()=>{c(a+20)},__self:void 0,__source:{fileName:Ya,lineNumber:283}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:285}},t.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:286}})))),t.createElement("div",{style:{display:d?"block ":"none"},__self:void 0,__source:{fileName:Ya,lineNumber:292}},t.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:Ya,lineNumber:293}},["Su","Mo","Tu","We","Th","Fr","Sa"].map((e=>t.createElement("div",{key:e,className:"weekday",__self:void 0,__source:{fileName:Ya,lineNumber:295}},e)))),t.createElement("div",{className:"days",__self:void 0,__source:{fileName:Ya,lineNumber:300}},(()=>{const e=o.getFullYear(),i=o.getMonth(),s=f(e,i),a=((e,t)=>new Date(e,t,1).getDay())(e,i),c=f(e,0===i?11:i-1),d=[];for(let e=a-1;e>=0;e--){const i=c-e;d.push(t.createElement("div",{key:`previous-day-${i}`,className:"calendar-day previous-month-day",__self:void 0,__source:{fileName:Ya,lineNumber:167}},i))}const u=new Date,h=u.getDate();for(let o=1;o<=s;o++){const s=r&&r.getDate()===o&&r.getMonth()===i&&r.getFullYear()===e,a=o===h&&i===u.getMonth()&&e===u.getFullYear(),c=n&&(e<u.getFullYear()||e===u.getFullYear()&&i<u.getMonth()||e===u.getFullYear()&&i===u.getMonth()&&o<h),f=l&&(e>u.getFullYear()||e===u.getFullYear()&&i>u.getMonth()||e===u.getFullYear()&&i===u.getMonth()&&o>h),A=s?"selected-day":a?"current-day":c?"past-day":f?"future-day":"",g=c||f?()=>{}:()=>m(o);d.push(t.createElement("div",{key:`current-day-${o}`,className:`calendar-day ${A}`,onClick:g,__self:void 0,__source:{fileName:Ya,lineNumber:208}},o))}const A=(7-d.length%7)%7;for(let e=1;e<=A;e++)d.push(t.createElement("div",{key:`next-day-${e}`,className:"calendar-day next-month-day",__self:void 0,__source:{fileName:Ya,lineNumber:223}},e));return d})())),t.createElement("div",{style:{display:d?"none":"block"},__self:void 0,__source:{fileName:Ya,lineNumber:304}},(e=>{const i=[];for(let r=e-10;r<=e+10;r++){const e=r===o.getFullYear()?"selected-year":"";i.push(t.createElement("div",{key:r,onClick:()=>h(r),className:`year-option ${e}`,__self:void 0,__source:{fileName:Ya,lineNumber:236}},r))}return t.createElement("div",{className:"year-picker",__self:void 0,__source:{fileName:Ya,lineNumber:243}},t.createElement("div",{className:"year-options",__self:void 0,__source:{fileName:Ya,lineNumber:244}},i))})(a)))},ja=o.div`
|
|
1527
1545
|
div.input-field{
|
|
1528
1546
|
display: flex;
|
|
1529
1547
|
flex-direction: column;
|
|
1530
1548
|
gap: 12px;
|
|
1531
1549
|
}
|
|
1532
|
-
`,
|
|
1550
|
+
`,Ta=o.div`
|
|
1533
1551
|
display: flex;
|
|
1534
1552
|
flex-direction: column;
|
|
1535
1553
|
gap: 4px;
|
|
@@ -1544,7 +1562,7 @@ button{
|
|
|
1544
1562
|
line-height: 17px;
|
|
1545
1563
|
font-weight: 400;
|
|
1546
1564
|
}
|
|
1547
|
-
`,
|
|
1565
|
+
`,Wa=o.div`
|
|
1548
1566
|
//width: 430px;
|
|
1549
1567
|
border: 1px solid ${s["neutral-200"]};
|
|
1550
1568
|
border-radius: 8px;
|
|
@@ -1584,7 +1602,7 @@ button{
|
|
|
1584
1602
|
cursor: pointer;
|
|
1585
1603
|
padding-inline: 16px;
|
|
1586
1604
|
}
|
|
1587
|
-
`,
|
|
1605
|
+
`,Xa=o.div`
|
|
1588
1606
|
width: 908px;
|
|
1589
1607
|
padding: 16px;
|
|
1590
1608
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
@@ -1766,7 +1784,7 @@ button{
|
|
|
1766
1784
|
.other-month{
|
|
1767
1785
|
color: ${s["neutral-200"]};
|
|
1768
1786
|
}
|
|
1769
|
-
`,
|
|
1787
|
+
`,Za=o.div`
|
|
1770
1788
|
.year-header{
|
|
1771
1789
|
display: flex;
|
|
1772
1790
|
justify-content: space-between;
|
|
@@ -1787,7 +1805,7 @@ button{
|
|
|
1787
1805
|
background: ${s["primary-900"]};
|
|
1788
1806
|
color: #ffffff;
|
|
1789
1807
|
}
|
|
1790
|
-
`,Za="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DateRangePicker\\DateRangePicker.tsx",Ua=({selectedDateRange:e,label:n,subtext:l,placeholder:o,showActionButtons:s,width:a})=>{const[d,u]=i(new Date),[f,m]=i((()=>{const e=new Date;return e.setMonth(e.getMonth()+1),e})),[h,A]=i(null),[g,p]=i(null),[b,C]=i(!1),[_,v]=i(!1),[x,N]=i(!1);function w(e){const t=document.querySelector(".datepicker-comp"),i=document.querySelector(".year-view");t.contains(e.target)||i.contains(e.target)?C(!0):C(!1)}r((()=>(document.addEventListener("click",w),()=>{document.removeEventListener("click",w)})),[g,_,x]);const E=e=>{const t=new Date(d);if(t.setMonth(d.getMonth()+e),t>=f){const e=new Date(t);e.setMonth(e.getMonth()+1),m(e)}u(t)},y=e=>{const t=new Date(f);if(t.setMonth(f.getMonth()+e),t<=d){const e=new Date(t);e.setMonth(e.getMonth()-1),u(e)}m(t)},D=e=>{const{returnedYear:r,monthYear:n,yearPickerVisible:l,selYear:o}=e,[s,a]=i((new Date).getFullYear());return t.createElement(Xa,{__self:void 0,__source:{fileName:Za,lineNumber:134}},t.createElement("div",{className:"header cal-header",__self:void 0,__source:{fileName:Za,lineNumber:135}},t.createElement("button",{type:"button",onClick:()=>{a((e=>e-21))},__self:void 0,__source:{fileName:Za,lineNumber:136}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:137}},t.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:138}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{l(!1),setTimeout((()=>{C(!0)}),3)},__self:void 0,__source:{fileName:Za,lineNumber:141}},n,t.createElement("svg",{className:"year-view",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:148}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:149}}))),t.createElement("button",{type:"button",onClick:()=>{a((e=>e+21))},__self:void 0,__source:{fileName:Za,lineNumber:152}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:153}},t.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:154}})))),t.createElement("div",{className:"years-grid",__self:void 0,__source:{fileName:Za,lineNumber:158}},(()=>{const e=[];for(let i=s-10;i<=s+10;i++)e.push(t.createElement("div",{className:`year-option ${i===(new Date).getFullYear()?"curr-year":""} ${o===i?"sel-year":""}`,key:i,onClick:()=>{r(i),l(!1),setTimeout((()=>{C(!0)}),3)},__self:void 0,__source:{fileName:Za,lineNumber:122}},i));return e})()))},B=(i,r)=>{const n=r?d:f,l=n.getMonth(),o=n.getFullYear(),a=new Date(o,l,1),c=new Date(o,l+1,0),u=c.getDate(),m=a.getDay(),b=m+u+(6-c.getDay()),_=[];for(let i=0;i<b;i++){const r=i-m+1,n=new Date(o,l,r),a=i>=m&&i<m+u,c=h&&n.toDateString()===h.toDateString()||g&&n.toDateString()===g.toDateString(),d=h&&g&&n>h&&n<g;let f="";if(!a){const e=new Date(o,l,r);f+="day other-month",r<=0?(e.setMonth(l-1),e.setDate(r)):(e.setMonth(l+1),e.setDate(r-u)),_.push(t.createElement("div",{key:i,className:f,__self:void 0,__source:{fileName:Za,lineNumber:207}},e.getDate()));continue}const b=()=>{return t=n,void(h?g?(A(null),p(null),e({startDate:null,endDate:null})):(t>=h?(p(t),e({startDate:h,endDate:t})):(p(h),A(t),e({startDate:t,endDate:h})),s||setTimeout((()=>{C(!1)}),500)):(A(t),p(null),e({startDate:t,endDate:null})));var t};c&&(h&&g?n.toDateString()===h.toDateString()?f+=" selected start":n.toDateString()===g.toDateString()?f+=" selected end":f+=" selected":f+=" selected"),_.push(t.createElement("div",{key:i,className:`day ${f} ${d?"within-range":""}`,onClick:b,__self:void 0,__source:{fileName:Za,lineNumber:231}},r))}return t.createElement(t.Fragment,null,t.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:Za,lineNumber:245}},["Su","Mo","Tu","We","Th","Fr","Sa"].map(((e,i)=>t.createElement("div",{key:i,className:"weekday",__self:void 0,__source:{fileName:Za,lineNumber:247}},e)))),t.createElement("div",{className:"calendar-grid",__self:void 0,__source:{fileName:Za,lineNumber:252}},_))},M=["January","February","March","April","May","June","July","August","September","October","November","December"],k=d.getMonth(),P=d.getFullYear(),L=M[k],H=f.getMonth(),I=f.getFullYear(),F=M[H],Q={day:"2-digit",month:"short",year:"numeric"};return t.createElement(Sa,{className:"datepicker-comp",__self:void 0,__source:{fileName:Za,lineNumber:270}},t.createElement("div",{className:"input-field",__self:void 0,__source:{fileName:Za,lineNumber:271}},n&&t.createElement(ja,{__self:void 0,__source:{fileName:Za,lineNumber:273}},t.createElement("label",{__self:void 0,__source:{fileName:Za,lineNumber:274}},n),l&&t.createElement("span",{__self:void 0,__source:{fileName:Za,lineNumber:275}},l)),t.createElement(Ta,{className:`${b?"focused":""} ${h&&g?"success":""}`,style:{width:a||"100%"},__self:void 0,__source:{fileName:Za,lineNumber:278}},t.createElement("input",{type:"text",value:h?`${h.toLocaleDateString("en-GB",Q)} - ${g?g.toLocaleDateString("en-GB",Q):""}`:"",readOnly:!0,placeholder:o||"Select a date range",onClick:()=>{C(!0)},__self:void 0,__source:{fileName:Za,lineNumber:279}}),t.createElement("button",{type:"button",onClick:()=>{C(!b)},__self:void 0,__source:{fileName:Za,lineNumber:286}},t.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:288}},t.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:289}}))))),b&&t.createElement(Wa,{__self:void 0,__source:{fileName:Za,lineNumber:295}},t.createElement("div",{className:"calendars",__self:void 0,__source:{fileName:Za,lineNumber:296}},t.createElement("div",{className:"calendar",__self:void 0,__source:{fileName:Za,lineNumber:297}},t.createElement("div",{style:{display:_?"none":"block"},__self:void 0,__source:{fileName:Za,lineNumber:298}},t.createElement("div",{className:"header cal-header",__self:void 0,__source:{fileName:Za,lineNumber:299}},t.createElement("button",{type:"button",className:"prev-button",onClick:()=>E(-1),__self:void 0,__source:{fileName:Za,lineNumber:300}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:301}},t.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:302}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{v(!0)},__self:void 0,__source:{fileName:Za,lineNumber:305}},`${L} ${P}`,t.createElement("svg",{className:_?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:307}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:308}}))),t.createElement("button",{type:"button",className:"next-button",onClick:()=>E(1),__self:void 0,__source:{fileName:Za,lineNumber:311}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:312}},t.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:313}})))),B(0,!0)),t.createElement("div",{style:{display:_?"block":"none"},className:"year-view",__self:void 0,__source:{fileName:Za,lineNumber:319}},t.createElement(D,{returnedYear:e=>{const t=new Date(d);t.setFullYear(e),u(t)},monthYear:`${L} ${P}`,yearPickerVisible:e=>{v(e)},selYear:P,__self:void 0,__source:{fileName:Za,lineNumber:320}}))),t.createElement("div",{className:"calendar",__self:void 0,__source:{fileName:Za,lineNumber:327}},t.createElement("div",{style:{display:x?"none":"block"},__self:void 0,__source:{fileName:Za,lineNumber:328}},t.createElement("div",{className:"header cal-header",__self:void 0,__source:{fileName:Za,lineNumber:329}},t.createElement("button",{type:"button",className:"prev-button",onClick:()=>y(-1),__self:void 0,__source:{fileName:Za,lineNumber:330}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:331}},t.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:332}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{N(!0)},__self:void 0,__source:{fileName:Za,lineNumber:335}},`${F} ${I}`,t.createElement("svg",{className:x?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:337}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:338}}))),t.createElement("button",{type:"button",className:"next-button",onClick:()=>y(1),__self:void 0,__source:{fileName:Za,lineNumber:341}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Za,lineNumber:342}},t.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Za,lineNumber:343}})))),B(0,!1)),t.createElement("div",{style:{display:x?"block":"none"},className:"year-view",__self:void 0,__source:{fileName:Za,lineNumber:349}},t.createElement(D,{returnedYear:e=>{const t=new Date(f);t.setFullYear(e),m(t)},monthYear:`${F} ${I}`,yearPickerVisible:e=>{N(e)},selYear:I,__self:void 0,__source:{fileName:Za,lineNumber:350}})))),s&&t.createElement("div",{className:"action-buttons",__self:void 0,__source:{fileName:Za,lineNumber:359}},h&&g?t.createElement(q,{type:"button",size:"sm",variant:"primary",style:{width:71},onClick:()=>{A(null),p(null),e({startDate:null,endDate:null})},width:"fit-content",__self:void 0,__source:{fileName:Za,lineNumber:366}},"Reset"):t.createElement(q,{type:"button",size:"sm",variant:"primary",style:{width:71},onClick:()=>{A(null),p(null),e({startDate:null,endDate:null}),C(!1)},width:"fit-content",__self:void 0,__source:{fileName:Za,lineNumber:360}},"Cancel"),t.createElement(c,{type:"button",size:"sm",variant:"primary",onClick:()=>{C(!1)},disabled:!h||!g,width:"fit-content",__self:void 0,__source:{fileName:Za,lineNumber:372}},"Apply"))))},Ga=o.div`
|
|
1808
|
+
`,Ua="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DateRangePicker\\DateRangePicker.tsx",Ga=({selectedDateRange:e,label:n,subtext:l,placeholder:o,showActionButtons:s,width:a})=>{const[d,u]=i(new Date),[f,m]=i((()=>{const e=new Date;return e.setMonth(e.getMonth()+1),e})),[h,A]=i(null),[g,p]=i(null),[b,C]=i(!1),[_,v]=i(!1),[x,N]=i(!1);function w(e){const t=document.querySelector(".datepicker-comp"),i=document.querySelector(".year-view");t.contains(e.target)||i.contains(e.target)?C(!0):C(!1)}r((()=>(document.addEventListener("click",w),()=>{document.removeEventListener("click",w)})),[g,_,x]);const E=e=>{const t=new Date(d);if(t.setMonth(d.getMonth()+e),t>=f){const e=new Date(t);e.setMonth(e.getMonth()+1),m(e)}u(t)},y=e=>{const t=new Date(f);if(t.setMonth(f.getMonth()+e),t<=d){const e=new Date(t);e.setMonth(e.getMonth()-1),u(e)}m(t)},D=e=>{const{returnedYear:r,monthYear:n,yearPickerVisible:l,selYear:o}=e,[s,a]=i((new Date).getFullYear());return t.createElement(Za,{__self:void 0,__source:{fileName:Ua,lineNumber:134}},t.createElement("div",{className:"header cal-header",__self:void 0,__source:{fileName:Ua,lineNumber:135}},t.createElement("button",{type:"button",onClick:()=>{a((e=>e-21))},__self:void 0,__source:{fileName:Ua,lineNumber:136}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:137}},t.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:138}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{l(!1),setTimeout((()=>{C(!0)}),3)},__self:void 0,__source:{fileName:Ua,lineNumber:141}},n,t.createElement("svg",{className:"year-view",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:148}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:149}}))),t.createElement("button",{type:"button",onClick:()=>{a((e=>e+21))},__self:void 0,__source:{fileName:Ua,lineNumber:152}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:153}},t.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:154}})))),t.createElement("div",{className:"years-grid",__self:void 0,__source:{fileName:Ua,lineNumber:158}},(()=>{const e=[];for(let i=s-10;i<=s+10;i++)e.push(t.createElement("div",{className:`year-option ${i===(new Date).getFullYear()?"curr-year":""} ${o===i?"sel-year":""}`,key:i,onClick:()=>{r(i),l(!1),setTimeout((()=>{C(!0)}),3)},__self:void 0,__source:{fileName:Ua,lineNumber:122}},i));return e})()))},B=(i,r)=>{const n=r?d:f,l=n.getMonth(),o=n.getFullYear(),a=new Date(o,l,1),c=new Date(o,l+1,0),u=c.getDate(),m=a.getDay(),b=m+u+(6-c.getDay()),_=[];for(let i=0;i<b;i++){const r=i-m+1,n=new Date(o,l,r),a=i>=m&&i<m+u,c=h&&n.toDateString()===h.toDateString()||g&&n.toDateString()===g.toDateString(),d=h&&g&&n>h&&n<g;let f="";if(!a){const e=new Date(o,l,r);f+="day other-month",r<=0?(e.setMonth(l-1),e.setDate(r)):(e.setMonth(l+1),e.setDate(r-u)),_.push(t.createElement("div",{key:i,className:f,__self:void 0,__source:{fileName:Ua,lineNumber:207}},e.getDate()));continue}const b=()=>{return t=n,void(h?g?(A(null),p(null),e({startDate:null,endDate:null})):(t>=h?(p(t),e({startDate:h,endDate:t})):(p(h),A(t),e({startDate:t,endDate:h})),s||setTimeout((()=>{C(!1)}),500)):(A(t),p(null),e({startDate:t,endDate:null})));var t};c&&(h&&g?n.toDateString()===h.toDateString()?f+=" selected start":n.toDateString()===g.toDateString()?f+=" selected end":f+=" selected":f+=" selected"),_.push(t.createElement("div",{key:i,className:`day ${f} ${d?"within-range":""}`,onClick:b,__self:void 0,__source:{fileName:Ua,lineNumber:231}},r))}return t.createElement(t.Fragment,null,t.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:Ua,lineNumber:245}},["Su","Mo","Tu","We","Th","Fr","Sa"].map(((e,i)=>t.createElement("div",{key:i,className:"weekday",__self:void 0,__source:{fileName:Ua,lineNumber:247}},e)))),t.createElement("div",{className:"calendar-grid",__self:void 0,__source:{fileName:Ua,lineNumber:252}},_))},M=["January","February","March","April","May","June","July","August","September","October","November","December"],k=d.getMonth(),P=d.getFullYear(),L=M[k],H=f.getMonth(),I=f.getFullYear(),F=M[H],Q={day:"2-digit",month:"short",year:"numeric"};return t.createElement(ja,{className:"datepicker-comp",__self:void 0,__source:{fileName:Ua,lineNumber:270}},t.createElement("div",{className:"input-field",__self:void 0,__source:{fileName:Ua,lineNumber:271}},n&&t.createElement(Ta,{__self:void 0,__source:{fileName:Ua,lineNumber:273}},t.createElement("label",{__self:void 0,__source:{fileName:Ua,lineNumber:274}},n),l&&t.createElement("span",{__self:void 0,__source:{fileName:Ua,lineNumber:275}},l)),t.createElement(Wa,{className:`${b?"focused":""} ${h&&g?"success":""}`,style:{width:a||"100%"},__self:void 0,__source:{fileName:Ua,lineNumber:278}},t.createElement("input",{type:"text",value:h?`${h.toLocaleDateString("en-GB",Q)} - ${g?g.toLocaleDateString("en-GB",Q):""}`:"",readOnly:!0,placeholder:o||"Select a date range",onClick:()=>{C(!0)},__self:void 0,__source:{fileName:Ua,lineNumber:279}}),t.createElement("button",{type:"button",onClick:()=>{C(!b)},__self:void 0,__source:{fileName:Ua,lineNumber:286}},t.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:288}},t.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:289}}))))),b&&t.createElement(Xa,{__self:void 0,__source:{fileName:Ua,lineNumber:295}},t.createElement("div",{className:"calendars",__self:void 0,__source:{fileName:Ua,lineNumber:296}},t.createElement("div",{className:"calendar",__self:void 0,__source:{fileName:Ua,lineNumber:297}},t.createElement("div",{style:{display:_?"none":"block"},__self:void 0,__source:{fileName:Ua,lineNumber:298}},t.createElement("div",{className:"header cal-header",__self:void 0,__source:{fileName:Ua,lineNumber:299}},t.createElement("button",{type:"button",className:"prev-button",onClick:()=>E(-1),__self:void 0,__source:{fileName:Ua,lineNumber:300}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:301}},t.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:302}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{v(!0)},__self:void 0,__source:{fileName:Ua,lineNumber:305}},`${L} ${P}`,t.createElement("svg",{className:_?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:307}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:308}}))),t.createElement("button",{type:"button",className:"next-button",onClick:()=>E(1),__self:void 0,__source:{fileName:Ua,lineNumber:311}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:312}},t.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:313}})))),B(0,!0)),t.createElement("div",{style:{display:_?"block":"none"},className:"year-view",__self:void 0,__source:{fileName:Ua,lineNumber:319}},t.createElement(D,{returnedYear:e=>{const t=new Date(d);t.setFullYear(e),u(t)},monthYear:`${L} ${P}`,yearPickerVisible:e=>{v(e)},selYear:P,__self:void 0,__source:{fileName:Ua,lineNumber:320}}))),t.createElement("div",{className:"calendar",__self:void 0,__source:{fileName:Ua,lineNumber:327}},t.createElement("div",{style:{display:x?"none":"block"},__self:void 0,__source:{fileName:Ua,lineNumber:328}},t.createElement("div",{className:"header cal-header",__self:void 0,__source:{fileName:Ua,lineNumber:329}},t.createElement("button",{type:"button",className:"prev-button",onClick:()=>y(-1),__self:void 0,__source:{fileName:Ua,lineNumber:330}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:331}},t.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:332}}))),t.createElement("button",{type:"button",className:"month-year",onClick:()=>{N(!0)},__self:void 0,__source:{fileName:Ua,lineNumber:335}},`${F} ${I}`,t.createElement("svg",{className:x?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:337}},t.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:338}}))),t.createElement("button",{type:"button",className:"next-button",onClick:()=>y(1),__self:void 0,__source:{fileName:Ua,lineNumber:341}},t.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ua,lineNumber:342}},t.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ua,lineNumber:343}})))),B(0,!1)),t.createElement("div",{style:{display:x?"block":"none"},className:"year-view",__self:void 0,__source:{fileName:Ua,lineNumber:349}},t.createElement(D,{returnedYear:e=>{const t=new Date(f);t.setFullYear(e),m(t)},monthYear:`${F} ${I}`,yearPickerVisible:e=>{N(e)},selYear:I,__self:void 0,__source:{fileName:Ua,lineNumber:350}})))),s&&t.createElement("div",{className:"action-buttons",__self:void 0,__source:{fileName:Ua,lineNumber:359}},h&&g?t.createElement(q,{type:"button",size:"sm",variant:"primary",style:{width:71},onClick:()=>{A(null),p(null),e({startDate:null,endDate:null})},width:"fit-content",__self:void 0,__source:{fileName:Ua,lineNumber:366}},"Reset"):t.createElement(q,{type:"button",size:"sm",variant:"primary",style:{width:71},onClick:()=>{A(null),p(null),e({startDate:null,endDate:null}),C(!1)},width:"fit-content",__self:void 0,__source:{fileName:Ua,lineNumber:360}},"Cancel"),t.createElement(c,{type:"button",size:"sm",variant:"primary",onClick:()=>{C(!1)},disabled:!h||!g,width:"fit-content",__self:void 0,__source:{fileName:Ua,lineNumber:372}},"Apply"))))},Ka=o.div`
|
|
1791
1809
|
display: flex;
|
|
1792
1810
|
flex-direction: column;
|
|
1793
1811
|
gap: 8px;
|
|
@@ -1800,20 +1818,23 @@ button{
|
|
|
1800
1818
|
background: ${s["neutral-50"]};
|
|
1801
1819
|
border-radius: 8px;
|
|
1802
1820
|
}
|
|
1803
|
-
`,
|
|
1821
|
+
`,qa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DisplayField\\DisplayField.tsx",Ja=e=>{const{children:i,label:r}=e;return t.createElement(Ka,{__self:void 0,__source:{fileName:qa,lineNumber:9}},t.createElement("p",{__self:void 0,__source:{fileName:qa,lineNumber:10}},r),t.createElement("div",{__self:void 0,__source:{fileName:qa,lineNumber:11}},i))},$a=o.div`
|
|
1822
|
+
label{
|
|
1823
|
+
color: ${s["neutral-900"]};
|
|
1824
|
+
}
|
|
1825
|
+
`,ec=o.div`
|
|
1804
1826
|
display: flex;
|
|
1805
1827
|
flex-direction: column;
|
|
1806
|
-
gap:
|
|
1828
|
+
gap: 12px;
|
|
1807
1829
|
//width: 430px;
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
font-weight: 500;
|
|
1830
|
+
.err-msg{
|
|
1831
|
+
color:${s["error-500"]};
|
|
1832
|
+
display: flex;
|
|
1833
|
+
gap: 8px;
|
|
1834
|
+
justify-content: start;
|
|
1835
|
+
align-items: center;
|
|
1815
1836
|
}
|
|
1816
|
-
`,
|
|
1837
|
+
`,tc=o.div`
|
|
1817
1838
|
position: relative;
|
|
1818
1839
|
display: flex;
|
|
1819
1840
|
justify-content: space-between;
|
|
@@ -1862,7 +1883,25 @@ button{
|
|
|
1862
1883
|
.placeholder{
|
|
1863
1884
|
color:${s["neutral-400"]};
|
|
1864
1885
|
}
|
|
1865
|
-
|
|
1886
|
+
.sr-only{
|
|
1887
|
+
position: absolute;
|
|
1888
|
+
width: 1px;
|
|
1889
|
+
left: 0;
|
|
1890
|
+
bottom: 0;
|
|
1891
|
+
height: 1px;
|
|
1892
|
+
margin: -1px;
|
|
1893
|
+
overflow: hidden;
|
|
1894
|
+
clip: rect(0, 0, 0, 0);
|
|
1895
|
+
white-space: nowrap;
|
|
1896
|
+
border: 0;
|
|
1897
|
+
}
|
|
1898
|
+
&.error{
|
|
1899
|
+
border: 1px solid ${s["error-500"]} !important;
|
|
1900
|
+
}
|
|
1901
|
+
&.success{
|
|
1902
|
+
border: 1px solid ${s["success-500"]} !important;
|
|
1903
|
+
}
|
|
1904
|
+
`,ic=o.div`
|
|
1866
1905
|
border: 1px solid ${s["neutral-100"]};
|
|
1867
1906
|
border-radius: 8px;
|
|
1868
1907
|
padding: 0 16px;
|
|
@@ -1878,7 +1917,7 @@ button{
|
|
|
1878
1917
|
*{
|
|
1879
1918
|
margin: 0;
|
|
1880
1919
|
}
|
|
1881
|
-
`,
|
|
1920
|
+
`,rc=o.div`
|
|
1882
1921
|
height: 100%;
|
|
1883
1922
|
display: flex;
|
|
1884
1923
|
align-items: center;
|
|
@@ -1891,7 +1930,7 @@ button{
|
|
|
1891
1930
|
-webkit-transform: rotate(-180deg);
|
|
1892
1931
|
transform: rotate(-180deg);
|
|
1893
1932
|
}
|
|
1894
|
-
`,
|
|
1933
|
+
`,nc=o.div`
|
|
1895
1934
|
border-radius: 8px;
|
|
1896
1935
|
position: absolute;
|
|
1897
1936
|
top: 55px;
|
|
@@ -1927,7 +1966,7 @@ button{
|
|
|
1927
1966
|
transform:scaleY(100%);
|
|
1928
1967
|
}
|
|
1929
1968
|
}
|
|
1930
|
-
`,
|
|
1969
|
+
`,lc=o.div`
|
|
1931
1970
|
padding: 12px 16px;
|
|
1932
1971
|
//border: none;
|
|
1933
1972
|
background: ${s.white};
|
|
@@ -1935,7 +1974,7 @@ button{
|
|
|
1935
1974
|
&:hover{
|
|
1936
1975
|
background: ${s["neutral-50"]};
|
|
1937
1976
|
}
|
|
1938
|
-
`,
|
|
1977
|
+
`,oc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DropdownList\\DropdownList.tsx",sc=e=>{let{options:n,returnedSelection:o,initialText:a,disabled:c,label:d,placeholder:u,searchable:f,width:m,required:h}=e;const[A,g]=i(!1),[p,b]=i({}),[C,_]=i(!1),[v,x]=i([]),[N,w]=i([]),[E,y]=i(""),[D,B]=i(""),M=l(),[k,P]=i(""),[L,H]=i("");return r((()=>{a&&B(a)}),[a]),r((()=>{if(document.addEventListener("keyup",(function(e){A&&"Escape"===e.code&&g(!1),(!A&&document.activeElement.classList.value.includes("dropdown-field")&&"Enter"===e.code||!A&&document.activeElement.classList.value.includes("dropdown-field")&&"Space"===e.code)&&g(!0)})),f&&A){document.querySelector(".search-field").focus()}}),[A]),r((()=>{x(n),w(n)}),[n]),t.createElement(ec,{style:{width:m||"100%"},__self:void 0,__source:{fileName:oc,lineNumber:58}},!c&&t.createElement(t.Fragment,null,d&&t.createElement($a,{__self:void 0,__source:{fileName:oc,lineNumber:62}},t.createElement("label",{className:"paragraph2Medium",__self:void 0,__source:{fileName:oc,lineNumber:63}},d)),t.createElement(tc,{className:L,style:{borderColor:p.value?s["success-500"]:s["neutral-200"]},__self:void 0,__source:{fileName:oc,lineNumber:66}},t.createElement("input",{className:"sr-only",value:k,required:h,onChange:()=>{},onInvalid:()=>{H("error")},__self:void 0,__source:{fileName:oc,lineNumber:67}}),t.createElement("button",{ref:M,type:"button",className:"dropdown-field "+(C?"error":""),onBlur:()=>{f||setTimeout((()=>{g(!1)}),200),H(h?k?"success":"error":k?"success":"")},onMouseUp:()=>{A?setTimeout((()=>{g(!1)}),100):g(!0)},__self:void 0,__source:{fileName:oc,lineNumber:68}}),f&&A&&t.createElement("input",{type:"text",value:E,onChange:e=>{var t;t=e.target.value,y(t),w(v.filter((e=>e.label.toLowerCase().includes(t.toLowerCase()))))},className:"dropdown-field search-field "+(C?"error":""),onFocus:()=>{g(!0)},onBlur:()=>{setTimeout((()=>{g(!1)}),200)},__self:void 0,__source:{fileName:oc,lineNumber:90}}),t.createElement("div",{style:{overflowX:"hidden"},__self:void 0,__source:{fileName:oc,lineNumber:96}},t.createElement("span",{className:"paragraph2Regular",__self:void 0,__source:{fileName:oc,lineNumber:100}},D),!D&&t.createElement(t.Fragment,null,u&&t.createElement("span",{className:"paragraph2Regular placeholder",__self:void 0,__source:{fileName:oc,lineNumber:103}},u))),t.createElement(rc,{className:"dropdown-icon "+(A?"expanded":"collapsed"),onMouseUp:()=>{A||(M.current.focus(),g(!0))},__self:void 0,__source:{fileName:oc,lineNumber:109}},t.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:oc,lineNumber:115}},t.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:oc,lineNumber:116}}))),A&&t.createElement(t.Fragment,null,n&&n.length>0&&t.createElement(nc,{__self:void 0,__source:{fileName:oc,lineNumber:122}},N.map(((e,i)=>t.createElement(lc,{key:i,onClick:()=>{B(e.label),P(e.value),o(e)},onMouseDown:()=>{setTimeout((()=>{B(e.label),o(e)}),200),P(e.value)},__self:void 0,__source:{fileName:oc,lineNumber:124}},t.createElement("span",{className:"paragraph2Regular",__self:void 0,__source:{fileName:oc,lineNumber:136}},e.label))))))),"error"===L&&t.createElement("div",{className:"err-msg",__self:void 0,__source:{fileName:oc,lineNumber:144}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:oc,lineNumber:145}},t.createElement("g",{clipPath:"url(#clip0_299_2778)",__self:void 0,__source:{fileName:oc,lineNumber:146}},t.createElement("path",{d:"M8.00006 10.6667C7.86821 10.6667 7.73931 10.7058 7.62968 10.779C7.52005 10.8523 7.4346 10.9564 7.38414 11.0782C7.33368 11.2 7.32048 11.3341 7.3462 11.4634C7.37193 11.5927 7.43542 11.7115 7.52866 11.8048C7.62189 11.898 7.74068 11.9615 7.87 11.9872C7.99932 12.0129 8.13336 11.9997 8.25518 11.9493C8.377 11.8988 8.48112 11.8134 8.55437 11.7037C8.62763 11.5941 8.66673 11.4652 8.66673 11.3334C8.66673 11.1565 8.59649 10.987 8.47146 10.8619C8.34644 10.7369 8.17687 10.6667 8.00006 10.6667ZM15.1134 11.6467L9.74673 2.31335C9.57326 2.00236 9.31992 1.74332 9.01285 1.563C8.70579 1.38267 8.35615 1.2876 8.00006 1.2876C7.64396 1.2876 7.29433 1.38267 6.98726 1.563C6.6802 1.74332 6.42686 2.00236 6.25339 2.31335L0.92006 11.6467C0.74059 11.9494 0.644155 12.294 0.640489 12.6459C0.636824 12.9978 0.726058 13.3444 0.899184 13.6507C1.07231 13.9571 1.3232 14.2123 1.62652 14.3907C1.92984 14.5691 2.27485 14.6643 2.62673 14.6667H13.3734C13.7281 14.6702 14.0773 14.5793 14.3853 14.4033C14.6933 14.2273 14.949 13.9726 15.126 13.6652C15.3031 13.3579 15.3953 13.009 15.3931 12.6542C15.3908 12.2995 15.2943 11.9518 15.1134 11.6467ZM13.9601 12.98C13.9016 13.084 13.8164 13.1704 13.7132 13.2302C13.61 13.29 13.4927 13.321 13.3734 13.32H2.62673C2.50747 13.321 2.39013 13.29 2.28694 13.2302C2.18375 13.1704 2.0985 13.084 2.04006 12.98C1.98155 12.8787 1.95074 12.7637 1.95074 12.6467C1.95074 12.5297 1.98155 12.4147 2.04006 12.3134L7.37339 2.98002C7.42934 2.87082 7.51433 2.77917 7.61902 2.71518C7.72371 2.65119 7.84403 2.61733 7.96673 2.61733C8.08942 2.61733 8.20974 2.65119 8.31443 2.71518C8.41912 2.77917 8.50411 2.87082 8.56006 2.98002L13.9267 12.3134C13.9929 12.4132 14.0309 12.5291 14.0367 12.6488C14.0426 12.7684 14.0161 12.8875 13.9601 12.9934V12.98ZM8.00006 5.33335C7.82325 5.33335 7.65368 5.40359 7.52866 5.52861C7.40363 5.65364 7.33339 5.82321 7.33339 6.00002V8.66669C7.33339 8.8435 7.40363 9.01307 7.52866 9.13809C7.65368 9.26311 7.82325 9.33335 8.00006 9.33335C8.17687 9.33335 8.34644 9.26311 8.47146 9.13809C8.59649 9.01307 8.66673 8.8435 8.66673 8.66669V6.00002C8.66673 5.82321 8.59649 5.65364 8.47146 5.52861C8.34644 5.40359 8.17687 5.33335 8.00006 5.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:oc,lineNumber:147}})),t.createElement("defs",{__self:void 0,__source:{fileName:oc,lineNumber:149}},t.createElement("clipPath",{id:"clip0_299_2778",__self:void 0,__source:{fileName:oc,lineNumber:150}},t.createElement("rect",{width:"16",height:"16",fill:"white",__self:void 0,__source:{fileName:oc,lineNumber:151}})))),t.createElement("span",{__self:void 0,__source:{fileName:oc,lineNumber:155}},"This field is required"))),c&&t.createElement(ic,{__self:void 0,__source:{fileName:oc,lineNumber:161}},D,t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:oc,lineNumber:163}},t.createElement("path",{d:"M16.9999 9.16994C16.8126 8.98369 16.5591 8.87915 16.2949 8.87915C16.0308 8.87915 15.7773 8.98369 15.5899 9.16994L11.9999 12.7099L8.45995 9.16994C8.27259 8.98369 8.01913 8.87915 7.75495 8.87915C7.49076 8.87915 7.23731 8.98369 7.04995 9.16994C6.95622 9.26291 6.88183 9.37351 6.83106 9.49537C6.78029 9.61723 6.75415 9.74793 6.75415 9.87994C6.75415 10.012 6.78029 10.1427 6.83106 10.2645C6.88183 10.3864 6.95622 10.497 7.04995 10.5899L11.2899 14.8299C11.3829 14.9237 11.4935 14.9981 11.6154 15.0488C11.7372 15.0996 11.8679 15.1257 11.9999 15.1257C12.132 15.1257 12.2627 15.0996 12.3845 15.0488C12.5064 14.9981 12.617 14.9237 12.7099 14.8299L16.9999 10.5899C17.0937 10.497 17.1681 10.3864 17.2188 10.2645C17.2696 10.1427 17.2957 10.012 17.2957 9.87994C17.2957 9.74793 17.2696 9.61723 17.2188 9.49537C17.1681 9.37351 17.0937 9.26291 16.9999 9.16994Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:oc,lineNumber:164}}))))},ac=o.div`
|
|
1939
1978
|
width: 420px;
|
|
1940
1979
|
padding: 16px;
|
|
1941
1980
|
border-radius: 8px;
|
|
@@ -1948,14 +1987,14 @@ button{
|
|
|
1948
1987
|
letter-spacing: 0.02em;
|
|
1949
1988
|
font-weight: 400;
|
|
1950
1989
|
}
|
|
1951
|
-
`,
|
|
1990
|
+
`,cc=o.p`
|
|
1952
1991
|
/*font-size: 16px;
|
|
1953
1992
|
font-weight: 500;
|
|
1954
1993
|
font-family: Circular Book Medium, serif;
|
|
1955
1994
|
line-height: 19px;*/
|
|
1956
1995
|
color: ${s["neutral-900"]};
|
|
1957
1996
|
//margin-bottom:16px;
|
|
1958
|
-
`,
|
|
1997
|
+
`,dc=o.div`
|
|
1959
1998
|
display: grid;
|
|
1960
1999
|
gap: 8px;
|
|
1961
2000
|
align-items: center;
|
|
@@ -1967,7 +2006,7 @@ button{
|
|
|
1967
2006
|
align-items: center;
|
|
1968
2007
|
color: ${s["neutral-600"]};
|
|
1969
2008
|
}
|
|
1970
|
-
`,
|
|
2009
|
+
`,uc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ExchangeRates\\ExchangeRates.tsx",fc=e=>{const{baseCurr:i,baseCurrShortName:r,source:n,lastUpdated:l,exchangeCurrs:o}=e;return t.createElement(t.Fragment,null,o&&o.length>0&&t.createElement(ac,{__self:void 0,__source:{fileName:uc,lineNumber:28}},t.createElement("div",{style:{marginBottom:16},__self:void 0,__source:{fileName:uc,lineNumber:29}},t.createElement(cc,{className:"heading6SMedium",__self:void 0,__source:{fileName:uc,lineNumber:30}},i," (",r,")")),t.createElement(dc,{__self:void 0,__source:{fileName:uc,lineNumber:32}},o.map(((e,i)=>t.createElement("div",{key:i,className:"exchange-currency",__self:void 0,__source:{fileName:uc,lineNumber:34}},t.createElement("img",{src:e.currFlag,alt:"",__self:void 0,__source:{fileName:uc,lineNumber:35}}),t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:uc,lineNumber:36}},function(e){switch(e){case"USD":return"$";case"EUR":return"€";case"GBP":return"£";default:return e}}(e.currName),"1 = ",e.rate))))),t.createElement("p",{className:"last-updated",__self:void 0,__source:{fileName:uc,lineNumber:40}},"Last updated on ",l," | Source: ",n)))},mc=o.div`
|
|
1971
2010
|
background: ${s["neutral-900"]};
|
|
1972
2011
|
color: #ffffff;
|
|
1973
2012
|
div.info-section{
|
|
@@ -2056,12 +2095,12 @@ button{
|
|
|
2056
2095
|
padding-block: 24px;
|
|
2057
2096
|
}
|
|
2058
2097
|
}
|
|
2059
|
-
`,mc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\FooterNew\\FooterNew.tsx",hc=()=>t.createElement(fc,{__self:void 0,__source:{fileName:mc,lineNumber:6}},t.createElement("div",{className:"info-section",__self:void 0,__source:{fileName:mc,lineNumber:7}},t.createElement("div",{className:"col",__self:void 0,__source:{fileName:mc,lineNumber:8}},t.createElement("div",{className:"logo",__self:void 0,__source:{fileName:mc,lineNumber:9}},t.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/w_204/v1643889560/ssx-linear-logo-light_mdafbc.webp",alt:"logo",loading:"lazy",__self:void 0,__source:{fileName:mc,lineNumber:10}})),t.createElement("p",{className:"paragraph2Medium",__self:void 0,__source:{fileName:mc,lineNumber:12}},"A platform you can trust to deliver the latest capital trading news and trends across Africa.")),t.createElement("div",{className:"col",__self:void 0,__source:{fileName:mc,lineNumber:14}},t.createElement("h6",{className:"heading6Bold",__self:void 0,__source:{fileName:mc,lineNumber:15}},"Addresses"),t.createElement("div",{className:"address-cols",__self:void 0,__source:{fileName:mc,lineNumber:16}},t.createElement("div",{className:"address-col",__self:void 0,__source:{fileName:mc,lineNumber:17}},t.createElement("div",{__self:void 0,__source:{fileName:mc,lineNumber:18}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:19}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mc,lineNumber:20}},t.createElement("g",{clipPath:"url(#clip0_1323_4145)",__self:void 0,__source:{fileName:mc,lineNumber:21}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"#FFDA2C",__self:void 0,__source:{fileName:mc,lineNumber:22}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10H21V15H0V10Z",fill:"#249F58",__self:void 0,__source:{fileName:mc,lineNumber:23}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 8.75L9.03001 9.523L9.31001 7.886L8.12201 6.726L9.76501 6.489L10.5 5L11.235 6.49L12.878 6.727L11.688 7.887L11.968 9.523",fill:"#151515",__self:void 0,__source:{fileName:mc,lineNumber:24}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H21V5H0V0Z",fill:"#F93939",__self:void 0,__source:{fileName:mc,lineNumber:25}})),t.createElement("defs",{__self:void 0,__source:{fileName:mc,lineNumber:27}},t.createElement("clipPath",{id:"clip0_1323_4145",__self:void 0,__source:{fileName:mc,lineNumber:28}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:29}})))),"SecondSTAX Limited GH"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:35}},t.createElement("a",{href:"https://goo.gl/maps/Vacg6uLP5XNjPwiRA",__self:void 0,__source:{fileName:mc,lineNumber:36}},"Aquatec Place, 222 Swaniker Street",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:37}}),"Abelemkpe - Accra,",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:38}}),"Ghana"))),t.createElement("div",{__self:void 0,__source:{fileName:mc,lineNumber:43}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:44}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mc,lineNumber:45}},t.createElement("g",{clipPath:"url(#clip0_1323_4150)",__self:void 0,__source:{fileName:mc,lineNumber:46}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:47}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H7V15H0V0ZM14 0H21V15H14V0Z",fill:"#0A6A30",__self:void 0,__source:{fileName:mc,lineNumber:48}})),t.createElement("defs",{__self:void 0,__source:{fileName:mc,lineNumber:50}},t.createElement("clipPath",{id:"clip0_1323_4150",__self:void 0,__source:{fileName:mc,lineNumber:51}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:52}})))),"SecondSTAX Limited NG"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:58}},t.createElement("a",{href:"https://goo.gl/maps/EZhPzxEatSkLWZu68",__self:void 0,__source:{fileName:mc,lineNumber:59}},"Suite 401, 4th Floor, Kano House",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:59}}),"Plot No. 73 Ralph Shodeinde Street",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:60}}),"Central Business District, F.C.T., Abuja")))),t.createElement("div",{className:"address-col",__self:void 0,__source:{fileName:mc,lineNumber:66}},t.createElement("div",{__self:void 0,__source:{fileName:mc,lineNumber:67}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:68}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mc,lineNumber:69}},t.createElement("g",{clipPath:"url(#clip0_1323_4156)",__self:void 0,__source:{fileName:mc,lineNumber:70}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:71}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H9V7H0V0Z",fill:"#1A47B8",__self:void 0,__source:{fileName:mc,lineNumber:72}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 0V1H21V0H9ZM9 2V3H21V2H9ZM9 4V5H21V4H9ZM9 6V7H21V6H9ZM0 8V9H21V8H0ZM0 10V11H21V10H0ZM0 12V13H21V12H0ZM0 14V15H21V14H0Z",fill:"#F93939",__self:void 0,__source:{fileName:mc,lineNumber:73}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1V2H2V1H1ZM3 1V2H4V1H3ZM5 1V2H6V1H5ZM7 1V2H8V1H7ZM6 2V3H7V2H6ZM4 2V3H5V2H4ZM2 2V3H3V2H2ZM1 3V4H2V3H1ZM3 3V4H4V3H3ZM5 3V4H6V3H5ZM7 3V4H8V3H7ZM1 5V6H2V5H1ZM3 5V6H4V5H3ZM5 5V6H6V5H5ZM7 5V6H8V5H7ZM6 4V5H7V4H6ZM4 4V5H5V4H4ZM2 4V5H3V4H2Z",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:74}})),t.createElement("defs",{__self:void 0,__source:{fileName:mc,lineNumber:76}},t.createElement("clipPath",{id:"clip0_1323_4156",__self:void 0,__source:{fileName:mc,lineNumber:77}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:78}})))),"SecondSTAX Inc US"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:84}},t.createElement("a",{href:"https://goo.gl/maps/bG53adurzNuf7fb3A",__self:void 0,__source:{fileName:mc,lineNumber:85}},"251 Little Falls Drive",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:85}}),"Wilmington, DE 19808,",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:86}}),"US"))),t.createElement("div",{__self:void 0,__source:{fileName:mc,lineNumber:90}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:91}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mc,lineNumber:92}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"#151515",__self:void 0,__source:{fileName:mc,lineNumber:93}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11H21V15H0V11Z",fill:"#0A6A30",__self:void 0,__source:{fileName:mc,lineNumber:94}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10H21V11H0V10Z",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:95}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5H21V10H0V5Z",fill:"#F93939",__self:void 0,__source:{fileName:mc,lineNumber:96}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4H21V5H0V4Z",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:97}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.414 5.914C12.486 5.914 12.914 5.244 12.914 4.414C12.914 3.586 12.486 2.914 12.414 2.914C12.344 2.914 11.914 3.586 11.914 4.414C11.914 5.244 12.344 5.914 12.414 5.914ZM9.47499 5.475C9.42499 5.525 8.64499 5.355 8.06099 4.768C7.47599 4.182 7.30399 3.404 7.35499 3.354C7.40499 3.304 8.18299 3.474 8.76899 4.061C9.35499 4.647 9.52599 5.425 9.47599 5.476L9.47499 5.475ZM11.354 10.008C11.404 9.961 12.184 10.121 12.769 10.668C13.354 11.218 13.526 11.945 13.476 11.992C13.426 12.039 12.646 11.879 12.06 11.332C11.475 10.782 11.303 10.055 11.354 10.008ZM9.47499 10.008C9.42499 9.961 8.64499 10.121 8.06099 10.668C7.47599 11.218 7.30399 11.945 7.35499 11.992C7.40499 12.039 8.18299 11.879 8.76899 11.332C9.35499 10.782 9.52599 10.055 9.47599 10.008H9.47499Z",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:98}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 12C10.857 12 13 9.985 13 7.5C13 5.015 10.857 3 10.5 3C10.143 3 8 5.015 8 7.5C8 9.985 10.143 12 10.5 12Z",fill:"#F93939",__self:void 0,__source:{fileName:mc,lineNumber:99}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 9C8.57 9 9 8.328 9 7.5C9 6.672 8.57 6 8.5 6C8.43 6 8 6.672 8 7.5C8 8.328 8.43 9 8.5 9ZM12.5 9C12.57 9 13 8.328 13 7.5C13 6.672 12.57 6 12.5 6C12.43 6 12 6.672 12 7.5C12 8.328 12.43 9 12.5 9Z",fill:"#151515",__self:void 0,__source:{fileName:mc,lineNumber:100}}),t.createElement("path",{d:"M11 7.5C11 6.67157 10.7761 6 10.5 6C10.2239 6 10 6.67157 10 7.5C10 8.32843 10.2239 9 10.5 9C10.7761 9 11 8.32843 11 7.5Z",fill:"white",__self:void 0,__source:{fileName:mc,lineNumber:101}})),"SecondSTAX Limited KE"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:105}},t.createElement("a",{href:"https://goo.gl/maps/XUxGqmJ47uah92Sk8",__self:void 0,__source:{fileName:mc,lineNumber:106}},"Riverside Park ICEA",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:106}}),"Waiyaki Way, 2nd Floor, West Wing",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:107}}),"P. O. Box 101650 - 00101",t.createElement("br",{__self:void 0,__source:{fileName:mc,lineNumber:108}}),"Nairobi - Kenya")))))),t.createElement("div",{className:"col",__self:void 0,__source:{fileName:mc,lineNumber:116}},t.createElement("h6",{className:"heading6Bold",__self:void 0,__source:{fileName:mc,lineNumber:117}},"Useful Links"),t.createElement("div",{className:"useful-links",__self:void 0,__source:{fileName:mc,lineNumber:118}},t.createElement("ul",{__self:void 0,__source:{fileName:mc,lineNumber:119}},t.createElement("li",{__self:void 0,__source:{fileName:mc,lineNumber:120}},t.createElement("a",{href:"https://secondstax.com/about-us/",className:"paragraph2Regular",__self:void 0,__source:{fileName:mc,lineNumber:120}},"About Us")),t.createElement("li",{__self:void 0,__source:{fileName:mc,lineNumber:121}},t.createElement("a",{href:"https://secondstax.com/careers/",className:"paragraph2Regular",__self:void 0,__source:{fileName:mc,lineNumber:121}},"Careers")),t.createElement("li",{__self:void 0,__source:{fileName:mc,lineNumber:122}},t.createElement("a",{href:"https://secondstax.com/contact-us/",className:"paragraph2Regular",__self:void 0,__source:{fileName:mc,lineNumber:122}},"Contact")),t.createElement("li",{__self:void 0,__source:{fileName:mc,lineNumber:123}},t.createElement("a",{href:"https://secondstax.com/press/",className:"paragraph2Regular",__self:void 0,__source:{fileName:mc,lineNumber:123}},"Press Releases")),t.createElement("li",{__self:void 0,__source:{fileName:mc,lineNumber:124}},t.createElement("a",{href:"https://secondstax.com/privacy-policy/",className:"paragraph2Regular",__self:void 0,__source:{fileName:mc,lineNumber:124}},"Privacy Policy")),t.createElement("li",{__self:void 0,__source:{fileName:mc,lineNumber:125}},t.createElement("a",{href:"https://secondstax.com/terms-conditions/",className:"paragraph2Regular",__self:void 0,__source:{fileName:mc,lineNumber:125}},"Terms & Conditions")))))),t.createElement("div",{className:"copyright-section",__self:void 0,__source:{fileName:mc,lineNumber:130}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:mc,lineNumber:131}},"©",(new Date).getFullYear()," SecondSTAX Ltd. All Rights Reserved."))),Ac=o.div`
|
|
2098
|
+
`,hc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\FooterNew\\FooterNew.tsx",Ac=()=>t.createElement(mc,{__self:void 0,__source:{fileName:hc,lineNumber:6}},t.createElement("div",{className:"info-section",__self:void 0,__source:{fileName:hc,lineNumber:7}},t.createElement("div",{className:"col",__self:void 0,__source:{fileName:hc,lineNumber:8}},t.createElement("div",{className:"logo",__self:void 0,__source:{fileName:hc,lineNumber:9}},t.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/w_204/v1643889560/ssx-linear-logo-light_mdafbc.webp",alt:"logo",loading:"lazy",__self:void 0,__source:{fileName:hc,lineNumber:10}})),t.createElement("p",{className:"paragraph2Medium",__self:void 0,__source:{fileName:hc,lineNumber:12}},"A platform you can trust to deliver the latest capital trading news and trends across Africa.")),t.createElement("div",{className:"col",__self:void 0,__source:{fileName:hc,lineNumber:14}},t.createElement("h6",{className:"heading6Bold",__self:void 0,__source:{fileName:hc,lineNumber:15}},"Addresses"),t.createElement("div",{className:"address-cols",__self:void 0,__source:{fileName:hc,lineNumber:16}},t.createElement("div",{className:"address-col",__self:void 0,__source:{fileName:hc,lineNumber:17}},t.createElement("div",{__self:void 0,__source:{fileName:hc,lineNumber:18}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:19}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hc,lineNumber:20}},t.createElement("g",{clipPath:"url(#clip0_1323_4145)",__self:void 0,__source:{fileName:hc,lineNumber:21}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"#FFDA2C",__self:void 0,__source:{fileName:hc,lineNumber:22}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10H21V15H0V10Z",fill:"#249F58",__self:void 0,__source:{fileName:hc,lineNumber:23}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 8.75L9.03001 9.523L9.31001 7.886L8.12201 6.726L9.76501 6.489L10.5 5L11.235 6.49L12.878 6.727L11.688 7.887L11.968 9.523",fill:"#151515",__self:void 0,__source:{fileName:hc,lineNumber:24}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H21V5H0V0Z",fill:"#F93939",__self:void 0,__source:{fileName:hc,lineNumber:25}})),t.createElement("defs",{__self:void 0,__source:{fileName:hc,lineNumber:27}},t.createElement("clipPath",{id:"clip0_1323_4145",__self:void 0,__source:{fileName:hc,lineNumber:28}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:29}})))),"SecondSTAX Limited GH"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:35}},t.createElement("a",{href:"https://goo.gl/maps/Vacg6uLP5XNjPwiRA",__self:void 0,__source:{fileName:hc,lineNumber:36}},"Aquatec Place, 222 Swaniker Street",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:37}}),"Abelemkpe - Accra,",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:38}}),"Ghana"))),t.createElement("div",{__self:void 0,__source:{fileName:hc,lineNumber:43}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:44}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hc,lineNumber:45}},t.createElement("g",{clipPath:"url(#clip0_1323_4150)",__self:void 0,__source:{fileName:hc,lineNumber:46}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:47}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H7V15H0V0ZM14 0H21V15H14V0Z",fill:"#0A6A30",__self:void 0,__source:{fileName:hc,lineNumber:48}})),t.createElement("defs",{__self:void 0,__source:{fileName:hc,lineNumber:50}},t.createElement("clipPath",{id:"clip0_1323_4150",__self:void 0,__source:{fileName:hc,lineNumber:51}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:52}})))),"SecondSTAX Limited NG"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:58}},t.createElement("a",{href:"https://goo.gl/maps/EZhPzxEatSkLWZu68",__self:void 0,__source:{fileName:hc,lineNumber:59}},"Suite 401, 4th Floor, Kano House",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:59}}),"Plot No. 73 Ralph Shodeinde Street",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:60}}),"Central Business District, F.C.T., Abuja")))),t.createElement("div",{className:"address-col",__self:void 0,__source:{fileName:hc,lineNumber:66}},t.createElement("div",{__self:void 0,__source:{fileName:hc,lineNumber:67}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:68}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hc,lineNumber:69}},t.createElement("g",{clipPath:"url(#clip0_1323_4156)",__self:void 0,__source:{fileName:hc,lineNumber:70}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:71}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H9V7H0V0Z",fill:"#1A47B8",__self:void 0,__source:{fileName:hc,lineNumber:72}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 0V1H21V0H9ZM9 2V3H21V2H9ZM9 4V5H21V4H9ZM9 6V7H21V6H9ZM0 8V9H21V8H0ZM0 10V11H21V10H0ZM0 12V13H21V12H0ZM0 14V15H21V14H0Z",fill:"#F93939",__self:void 0,__source:{fileName:hc,lineNumber:73}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1V2H2V1H1ZM3 1V2H4V1H3ZM5 1V2H6V1H5ZM7 1V2H8V1H7ZM6 2V3H7V2H6ZM4 2V3H5V2H4ZM2 2V3H3V2H2ZM1 3V4H2V3H1ZM3 3V4H4V3H3ZM5 3V4H6V3H5ZM7 3V4H8V3H7ZM1 5V6H2V5H1ZM3 5V6H4V5H3ZM5 5V6H6V5H5ZM7 5V6H8V5H7ZM6 4V5H7V4H6ZM4 4V5H5V4H4ZM2 4V5H3V4H2Z",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:74}})),t.createElement("defs",{__self:void 0,__source:{fileName:hc,lineNumber:76}},t.createElement("clipPath",{id:"clip0_1323_4156",__self:void 0,__source:{fileName:hc,lineNumber:77}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:78}})))),"SecondSTAX Inc US"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:84}},t.createElement("a",{href:"https://goo.gl/maps/bG53adurzNuf7fb3A",__self:void 0,__source:{fileName:hc,lineNumber:85}},"251 Little Falls Drive",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:85}}),"Wilmington, DE 19808,",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:86}}),"US"))),t.createElement("div",{__self:void 0,__source:{fileName:hc,lineNumber:90}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:91}},t.createElement("svg",{style:{marginRight:8},width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hc,lineNumber:92}},t.createElement("rect",{width:"21",height:"15",rx:"3",fill:"#151515",__self:void 0,__source:{fileName:hc,lineNumber:93}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11H21V15H0V11Z",fill:"#0A6A30",__self:void 0,__source:{fileName:hc,lineNumber:94}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10H21V11H0V10Z",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:95}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5H21V10H0V5Z",fill:"#F93939",__self:void 0,__source:{fileName:hc,lineNumber:96}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4H21V5H0V4Z",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:97}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.414 5.914C12.486 5.914 12.914 5.244 12.914 4.414C12.914 3.586 12.486 2.914 12.414 2.914C12.344 2.914 11.914 3.586 11.914 4.414C11.914 5.244 12.344 5.914 12.414 5.914ZM9.47499 5.475C9.42499 5.525 8.64499 5.355 8.06099 4.768C7.47599 4.182 7.30399 3.404 7.35499 3.354C7.40499 3.304 8.18299 3.474 8.76899 4.061C9.35499 4.647 9.52599 5.425 9.47599 5.476L9.47499 5.475ZM11.354 10.008C11.404 9.961 12.184 10.121 12.769 10.668C13.354 11.218 13.526 11.945 13.476 11.992C13.426 12.039 12.646 11.879 12.06 11.332C11.475 10.782 11.303 10.055 11.354 10.008ZM9.47499 10.008C9.42499 9.961 8.64499 10.121 8.06099 10.668C7.47599 11.218 7.30399 11.945 7.35499 11.992C7.40499 12.039 8.18299 11.879 8.76899 11.332C9.35499 10.782 9.52599 10.055 9.47599 10.008H9.47499Z",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:98}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 12C10.857 12 13 9.985 13 7.5C13 5.015 10.857 3 10.5 3C10.143 3 8 5.015 8 7.5C8 9.985 10.143 12 10.5 12Z",fill:"#F93939",__self:void 0,__source:{fileName:hc,lineNumber:99}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 9C8.57 9 9 8.328 9 7.5C9 6.672 8.57 6 8.5 6C8.43 6 8 6.672 8 7.5C8 8.328 8.43 9 8.5 9ZM12.5 9C12.57 9 13 8.328 13 7.5C13 6.672 12.57 6 12.5 6C12.43 6 12 6.672 12 7.5C12 8.328 12.43 9 12.5 9Z",fill:"#151515",__self:void 0,__source:{fileName:hc,lineNumber:100}}),t.createElement("path",{d:"M11 7.5C11 6.67157 10.7761 6 10.5 6C10.2239 6 10 6.67157 10 7.5C10 8.32843 10.2239 9 10.5 9C10.7761 9 11 8.32843 11 7.5Z",fill:"white",__self:void 0,__source:{fileName:hc,lineNumber:101}})),"SecondSTAX Limited KE"),t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:105}},t.createElement("a",{href:"https://goo.gl/maps/XUxGqmJ47uah92Sk8",__self:void 0,__source:{fileName:hc,lineNumber:106}},"Riverside Park ICEA",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:106}}),"Waiyaki Way, 2nd Floor, West Wing",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:107}}),"P. O. Box 101650 - 00101",t.createElement("br",{__self:void 0,__source:{fileName:hc,lineNumber:108}}),"Nairobi - Kenya")))))),t.createElement("div",{className:"col",__self:void 0,__source:{fileName:hc,lineNumber:116}},t.createElement("h6",{className:"heading6Bold",__self:void 0,__source:{fileName:hc,lineNumber:117}},"Useful Links"),t.createElement("div",{className:"useful-links",__self:void 0,__source:{fileName:hc,lineNumber:118}},t.createElement("ul",{__self:void 0,__source:{fileName:hc,lineNumber:119}},t.createElement("li",{__self:void 0,__source:{fileName:hc,lineNumber:120}},t.createElement("a",{href:"https://secondstax.com/about-us/",className:"paragraph2Regular",__self:void 0,__source:{fileName:hc,lineNumber:120}},"About Us")),t.createElement("li",{__self:void 0,__source:{fileName:hc,lineNumber:121}},t.createElement("a",{href:"https://secondstax.com/careers/",className:"paragraph2Regular",__self:void 0,__source:{fileName:hc,lineNumber:121}},"Careers")),t.createElement("li",{__self:void 0,__source:{fileName:hc,lineNumber:122}},t.createElement("a",{href:"https://secondstax.com/contact-us/",className:"paragraph2Regular",__self:void 0,__source:{fileName:hc,lineNumber:122}},"Contact")),t.createElement("li",{__self:void 0,__source:{fileName:hc,lineNumber:123}},t.createElement("a",{href:"https://secondstax.com/press/",className:"paragraph2Regular",__self:void 0,__source:{fileName:hc,lineNumber:123}},"Press Releases")),t.createElement("li",{__self:void 0,__source:{fileName:hc,lineNumber:124}},t.createElement("a",{href:"https://secondstax.com/privacy-policy/",className:"paragraph2Regular",__self:void 0,__source:{fileName:hc,lineNumber:124}},"Privacy Policy")),t.createElement("li",{__self:void 0,__source:{fileName:hc,lineNumber:125}},t.createElement("a",{href:"https://secondstax.com/terms-conditions/",className:"paragraph2Regular",__self:void 0,__source:{fileName:hc,lineNumber:125}},"Terms & Conditions")))))),t.createElement("div",{className:"copyright-section",__self:void 0,__source:{fileName:hc,lineNumber:130}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:hc,lineNumber:131}},"©",(new Date).getFullYear()," SecondSTAX Ltd. All Rights Reserved."))),gc=o.div`
|
|
2060
2099
|
display: flex;
|
|
2061
2100
|
flex-direction: column;
|
|
2062
2101
|
gap: 8px;
|
|
2063
2102
|
width: 420px;
|
|
2064
|
-
`,
|
|
2103
|
+
`,pc=o.div`
|
|
2065
2104
|
padding: 16px;
|
|
2066
2105
|
border-radius: 8px;
|
|
2067
2106
|
background: ${s.white};
|
|
@@ -2078,31 +2117,31 @@ button{
|
|
|
2078
2117
|
.neutral{
|
|
2079
2118
|
color:${s["neutral-400"]}
|
|
2080
2119
|
}
|
|
2081
|
-
`,
|
|
2120
|
+
`,bc=o.div`
|
|
2082
2121
|
display: flex;
|
|
2083
2122
|
gap: 14px;
|
|
2084
2123
|
align-items: center;
|
|
2085
2124
|
color: ${s["neutral-900"]};
|
|
2086
2125
|
font-size: 16px;
|
|
2087
2126
|
line-height: 19px;
|
|
2088
|
-
`,
|
|
2127
|
+
`,Cc=o.div`
|
|
2089
2128
|
font-size: 14px;
|
|
2090
2129
|
color: ${s["neutral-900"]};
|
|
2091
2130
|
line-height: 17px;
|
|
2092
2131
|
.index-value{
|
|
2093
2132
|
color: ${s["neutral-600"]};
|
|
2094
2133
|
}
|
|
2095
|
-
`,
|
|
2134
|
+
`,_c=o.p`
|
|
2096
2135
|
font-size: 10px;
|
|
2097
2136
|
font-weight: 400;
|
|
2098
2137
|
line-height: 12px;
|
|
2099
2138
|
color: ${s["neutral-600"]};
|
|
2100
2139
|
margin: 8px 0 0 0;
|
|
2101
|
-
`,
|
|
2140
|
+
`,vc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Indices\\Indices.tsx",xc=e=>{const{indices:i,lastUpdated:r,source:n}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(t.Fragment,null,t.createElement(gc,{__self:void 0,__source:{fileName:vc,lineNumber:25}},i.map(((e,i)=>{return t.createElement(pc,{key:i,__self:void 0,__source:{fileName:vc,lineNumber:27}},t.createElement(bc,{__self:void 0,__source:{fileName:vc,lineNumber:28}},e.changePercent<0&&t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:vc,lineNumber:31}},t.createElement("path",{d:"M9.29 13.71C9.3851 13.801 9.49725 13.8724 9.62 13.92C9.86346 14.02 10.1365 14.02 10.38 13.92C10.5028 13.8724 10.6149 13.801 10.71 13.71L13.71 10.71C13.8983 10.5217 14.0041 10.2663 14.0041 10C14.0041 9.7337 13.8983 9.47831 13.71 9.29C13.5217 9.1017 13.2663 8.99591 13 8.99591C12.7337 8.99591 12.4783 9.1017 12.29 9.29L11 10.59V7C11 6.73479 10.8946 6.48043 10.7071 6.2929C10.5196 6.10536 10.2652 6 10 6C9.73478 6 9.48043 6.10536 9.29289 6.2929C9.10536 6.48043 9 6.73479 9 7V10.59L7.71 9.29C7.61704 9.19628 7.50644 9.12188 7.38458 9.07111C7.26272 9.02034 7.13201 8.99421 7 8.99421C6.86799 8.99421 6.73728 9.02034 6.61542 9.07111C6.49356 9.12188 6.38296 9.19628 6.29 9.29C6.19627 9.38297 6.12188 9.49357 6.07111 9.61543C6.02034 9.73729 5.9942 9.86799 5.9942 10C5.9942 10.132 6.02034 10.2627 6.07111 10.3846C6.12188 10.5064 6.19627 10.617 6.29 10.71L9.29 13.71ZM10 20C11.9778 20 13.9112 19.4135 15.5557 18.3147C17.2002 17.2159 18.4819 15.6541 19.2388 13.8268C19.9957 11.9996 20.1937 9.98891 19.8079 8.0491C19.422 6.10929 18.4696 4.32746 17.0711 2.92894C15.6725 1.53041 13.8907 0.578004 11.9509 0.192152C10.0111 -0.193701 8.00043 0.00433284 6.17317 0.761209C4.3459 1.51809 2.78412 2.79981 1.6853 4.4443C0.58649 6.08879 0 8.02219 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7363 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20V20ZM10 2C11.5823 2 13.129 2.4692 14.4446 3.34825C15.7602 4.2273 16.7855 5.47673 17.391 6.93854C17.9965 8.40035 18.155 10.0089 17.8463 11.5607C17.5376 13.1126 16.7757 14.538 15.6569 15.6569C14.538 16.7757 13.1126 17.5376 11.5607 17.8463C10.0089 18.155 8.40034 17.9965 6.93853 17.391C5.47672 16.7855 4.22729 15.7602 3.34824 14.4446C2.46919 13.129 2 11.5823 2 10C2 7.87827 2.84285 5.84344 4.34315 4.34315C5.84344 2.84286 7.87827 2 10 2V2Z",fill:"#F80000",__self:void 0,__source:{fileName:vc,lineNumber:32}})),e.changePercent>0&&t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:vc,lineNumber:37}},t.createElement("path",{d:"M10.71 6.29C10.6149 6.19896 10.5028 6.12759 10.38 6.08C10.1365 5.97998 9.86347 5.97998 9.62 6.08C9.49725 6.12759 9.38511 6.19896 9.29 6.29L6.29 9.29C6.1017 9.4783 5.99591 9.7337 5.99591 10C5.99591 10.2663 6.1017 10.5217 6.29 10.71C6.47831 10.8983 6.7337 11.0041 7 11.0041C7.26631 11.0041 7.5217 10.8983 7.71 10.71L9 9.41V13C9 13.2652 9.10536 13.5196 9.2929 13.7071C9.48043 13.8946 9.73479 14 10 14C10.2652 14 10.5196 13.8946 10.7071 13.7071C10.8946 13.5196 11 13.2652 11 13V9.41L12.29 10.71C12.383 10.8037 12.4936 10.8781 12.6154 10.9289C12.7373 10.9797 12.868 11.0058 13 11.0058C13.132 11.0058 13.2627 10.9797 13.3846 10.9289C13.5064 10.8781 13.617 10.8037 13.71 10.71C13.8037 10.617 13.8781 10.5064 13.9289 10.3846C13.9797 10.2627 14.0058 10.132 14.0058 10C14.0058 9.86799 13.9797 9.73728 13.9289 9.61542C13.8781 9.49356 13.8037 9.38296 13.71 9.29L10.71 6.29ZM10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18Z",fill:"#06BA63",__self:void 0,__source:{fileName:vc,lineNumber:38}})),0==e.changePercent&&t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:vc,lineNumber:43}},t.createElement("path",{d:"M10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0V0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18V18ZM14 9H6C5.73479 9 5.48043 9.10536 5.2929 9.29289C5.10536 9.48043 5 9.73478 5 10C5 10.2652 5.10536 10.5196 5.2929 10.7071C5.48043 10.8946 5.73479 11 6 11H14C14.2652 11 14.5196 10.8946 14.7071 10.7071C14.8946 10.5196 15 10.2652 15 10C15 9.73478 14.8946 9.48043 14.7071 9.29289C14.5196 9.10536 14.2652 9 14 9Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:vc,lineNumber:44}})),t.createElement("p",{className:"heading6SMedium",__self:void 0,__source:{fileName:vc,lineNumber:47}},e.itemName)),t.createElement(Cc,{__self:void 0,__source:{fileName:vc,lineNumber:49}},t.createElement("span",{className:"index-value",__self:void 0,__source:{fileName:vc,lineNumber:50}},e.value)," / ",t.createElement("span",{className:(r=e.changePercent,r>0?"success":r<0?"error":0==r?"neutral":void 0),__self:void 0,__source:{fileName:vc,lineNumber:50}},e.changePercent,"%")));var r}))),t.createElement(_c,{__self:void 0,__source:{fileName:vc,lineNumber:55}},r&&t.createElement(t.Fragment,null,"Last updated on ",r),r&&n&&t.createElement(t.Fragment,null," | "),n&&t.createElement(t.Fragment,null,"Source: ",n))))},Nc=o.div`
|
|
2102
2141
|
background: ${s["neutral-50"]};
|
|
2103
2142
|
position: relative;
|
|
2104
2143
|
overflow: hidden;
|
|
2105
|
-
`,
|
|
2144
|
+
`,wc=o.div`
|
|
2106
2145
|
width: 60%;
|
|
2107
2146
|
height: 100%;
|
|
2108
2147
|
background: ${s["neutral-100"]};
|
|
@@ -2119,9 +2158,9 @@ button{
|
|
|
2119
2158
|
left: 110%;
|
|
2120
2159
|
}
|
|
2121
2160
|
}
|
|
2122
|
-
`,
|
|
2161
|
+
`,Ec="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LoadingShimmer\\LoadingShimmer.tsx",yc=e=>{const{shape:i,width:r,height:n}=e;return"circular"==i?t.createElement(Nc,{style:{borderRadius:"100%",width:r||"100%",height:n},__self:void 0,__source:{fileName:Ec,lineNumber:12}},t.createElement(wc,{__self:void 0,__source:{fileName:Ec,lineNumber:13}})):t.createElement(Nc,{style:{borderRadius:"8px",width:r||"100%",height:n},__self:void 0,__source:{fileName:Ec,lineNumber:18}},t.createElement(wc,{__self:void 0,__source:{fileName:Ec,lineNumber:19}}))},Dc=o.div`
|
|
2123
2162
|
overflow-x: auto;
|
|
2124
|
-
`,
|
|
2163
|
+
`,Bc=o.table`
|
|
2125
2164
|
width: 100%;
|
|
2126
2165
|
border-collapse: separate;
|
|
2127
2166
|
border-spacing: 0 8px;
|
|
@@ -2192,7 +2231,7 @@ button{
|
|
|
2192
2231
|
gap: 4px;
|
|
2193
2232
|
align-items: center;
|
|
2194
2233
|
}
|
|
2195
|
-
`,
|
|
2234
|
+
`,Mc=o.div`
|
|
2196
2235
|
display: flex;
|
|
2197
2236
|
justify-content: center;
|
|
2198
2237
|
align-items: center;
|
|
@@ -2200,7 +2239,7 @@ button{
|
|
|
2200
2239
|
height: 581px;
|
|
2201
2240
|
background: ${s.white};
|
|
2202
2241
|
border-radius: 8px;
|
|
2203
|
-
`,
|
|
2242
|
+
`,kc=o.div`
|
|
2204
2243
|
display: flex;
|
|
2205
2244
|
align-items: center;
|
|
2206
2245
|
flex-direction: column;
|
|
@@ -2213,7 +2252,7 @@ button{
|
|
|
2213
2252
|
line-height: 19px;
|
|
2214
2253
|
margin: 0;
|
|
2215
2254
|
}
|
|
2216
|
-
`;function
|
|
2255
|
+
`;function Pc(e,t){return new Intl.NumberFormat("en-US",{style:"currency",currency:t,currencyDisplay:"code"}).format(e)}const Lc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPRequestTable\\LPRequestTable.tsx",Hc=e=>{const{transactions:i,callback:r,newTransactionFxn:n,showDetailsArrow:l,showBroker:o}=e;function s(e){let t={label:e,badgeColor:""};return"NW"===e.toUpperCase()&&(t={label:"New",badgeColor:"neutral"}),"PCP"===e.toUpperCase()&&(t={label:"Pending payment",badgeColor:"warning"}),"PLC"===e.toUpperCase()&&(t={label:"Sent to LP",badgeColor:"primary"}),"PLP"===e.toUpperCase()&&(t={label:"Confirmed with LP",badgeColor:"neutral"}),"PBC"===e.toUpperCase()&&(t={label:"Processing at LP",badgeColor:"neutral"}),"ST"===e.toUpperCase()&&(t={label:"Complete",badgeColor:"success"}),"CAN"===e.toUpperCase()&&(t={label:"Cancelled",badgeColor:"error"}),t}return t.createElement(Dc,{__self:void 0,__source:{fileName:Lc,lineNumber:64}},t.createElement(Bc,{__self:void 0,__source:{fileName:Lc,lineNumber:65}},t.createElement("thead",{__self:void 0,__source:{fileName:Lc,lineNumber:66}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Lc,lineNumber:67}},t.createElement("th",{__self:void 0,__source:{fileName:Lc,lineNumber:68}},"Provider"),o&&t.createElement("th",{__self:void 0,__source:{fileName:Lc,lineNumber:69}},"Broker"),t.createElement("th",{__self:void 0,__source:{fileName:Lc,lineNumber:70}},"Client ID"),t.createElement("th",{style:{minWidth:400},__self:void 0,__source:{fileName:Lc,lineNumber:71}},"Transaction Amount"),t.createElement("th",{__self:void 0,__source:{fileName:Lc,lineNumber:72}},"Transaction ID"),t.createElement("th",{__self:void 0,__source:{fileName:Lc,lineNumber:73}},"Status"),t.createElement("th",{__self:void 0,__source:{fileName:Lc,lineNumber:74}},"Date"))),i&&i.length>0&&t.createElement("tbody",{__self:void 0,__source:{fileName:Lc,lineNumber:78}},i.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{r(e)},__self:void 0,__source:{fileName:Lc,lineNumber:94}},t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:95}},t.createElement("div",{className:"provider",__self:void 0,__source:{fileName:Lc,lineNumber:96}},e.providerLogo?t.createElement("img",{src:e.providerLogo,alt:"provider logo",__self:void 0,__source:{fileName:Lc,lineNumber:97}}):t.createElement("div",{className:"provider-logo-placeholder",__self:void 0,__source:{fileName:Lc,lineNumber:97}}),e.providerName)),o&&t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:101}},e.broker),t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:104}},t.createElement("div",{__self:void 0,__source:{fileName:Lc,lineNumber:105}},e.clientId)),t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:109}},t.createElement("div",{className:"txn-amt",__self:void 0,__source:{fileName:Lc,lineNumber:110}},t.createElement("span",{className:"amt",__self:void 0,__source:{fileName:Lc,lineNumber:111}},e.baseCurrFlag&&t.createElement("img",{src:e.baseCurrFlag,alt:"base flag",__self:void 0,__source:{fileName:Lc,lineNumber:112}}),Pc(e.baseAmount,e.baseCurrency)),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Lc,lineNumber:115}},t.createElement("path",{d:"M17.9982 10.0002C17.9982 9.73497 17.8928 9.48062 17.7053 9.29308C17.5178 9.10554 17.2634 9.00019 16.9982 9.00019H5.40819L7.70819 6.71019C7.89649 6.52188 8.00228 6.26649 8.00228 6.00019C8.00228 5.73388 7.89649 5.47849 7.70819 5.29019C7.51988 5.10188 7.26449 4.99609 6.99819 4.99609C6.73188 4.99609 6.47649 5.10188 6.28819 5.29019L2.28819 9.29019C2.14943 9.43081 2.05543 9.60938 2.01806 9.80337C1.98068 9.99736 2.00161 10.1981 2.07819 10.3802C2.15321 10.5628 2.2806 10.7191 2.44432 10.8295C2.60804 10.9398 2.80076 10.9992 2.99819 11.0002H16.9982C17.2634 11.0002 17.5178 10.8948 17.7053 10.7073C17.8928 10.5198 17.9982 10.2654 17.9982 10.0002ZM21.9182 13.6202C21.8432 13.4376 21.7158 13.2812 21.552 13.1709C21.3883 13.0606 21.1956 13.0012 20.9982 13.0002H6.99819C6.73297 13.0002 6.47862 13.1055 6.29108 13.2931C6.10354 13.4806 5.99819 13.735 5.99819 14.0002C5.99819 14.2654 6.10354 14.5198 6.29108 14.7073C6.47862 14.8948 6.73297 15.0002 6.99819 15.0002H18.5882L16.2882 17.2902C16.1945 17.3831 16.1201 17.4937 16.0693 17.6156C16.0185 17.7375 15.9924 17.8682 15.9924 18.0002C15.9924 18.1322 16.0185 18.2629 16.0693 18.3848C16.1201 18.5066 16.1945 18.6172 16.2882 18.7102C16.3812 18.8039 16.4917 18.8783 16.6136 18.9291C16.7355 18.9798 16.8662 19.006 16.9982 19.006C17.1302 19.006 17.2609 18.9798 17.3828 18.9291C17.5046 18.8783 17.6152 18.8039 17.7082 18.7102L21.7082 14.7102C21.8469 14.5696 21.9409 14.391 21.9783 14.197C22.0157 14.003 21.9948 13.8023 21.9182 13.6202Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:Lc,lineNumber:116}})),t.createElement("span",{className:"amt",__self:void 0,__source:{fileName:Lc,lineNumber:118}},e.exchangeCurrFlag&&t.createElement("img",{src:e.exchangeCurrFlag,alt:"exchange flag",__self:void 0,__source:{fileName:Lc,lineNumber:119}}),Pc(e.exchangeAmount,e.exchangeCurrency)))),t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:124}},t.createElement("div",{__self:void 0,__source:{fileName:Lc,lineNumber:125}},e.transactionId)),t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:129}},t.createElement("div",{__self:void 0,__source:{fileName:Lc,lineNumber:130}},t.createElement(Bu,{status:s(e.status).badgeColor,label:s(e.status).label,width:150,__self:void 0,__source:{fileName:Lc,lineNumber:131}}))),t.createElement("td",{__self:void 0,__source:{fileName:Lc,lineNumber:134}},t.createElement("div",{className:"txn-date",__self:void 0,__source:{fileName:Lc,lineNumber:135}},e.date,l&&t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Lc,lineNumber:138}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Lc,lineNumber:139}}))))))))),i&&0===i.length&&t.createElement(Mc,{__self:void 0,__source:{fileName:Lc,lineNumber:150}},t.createElement(kc,{__self:void 0,__source:{fileName:Lc,lineNumber:151}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Lc,lineNumber:152}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Lc,lineNumber:153}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Lc,lineNumber:154}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Lc,lineNumber:155}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Lc,lineNumber:156}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Lc,lineNumber:157}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Lc,lineNumber:158}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Lc,lineNumber:159}})),t.createElement("defs",{__self:void 0,__source:{fileName:Lc,lineNumber:161}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Lc,lineNumber:162}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Lc,lineNumber:163}})))),t.createElement("p",{__self:void 0,__source:{fileName:Lc,lineNumber:167}},"Your most recent liquidity requests will live here when you have them."),t.createElement(q,{size:"md",variant:"primary",onClick:()=>{n()},__self:void 0,__source:{fileName:Lc,lineNumber:168}},"Begin Transaction"))))},Ic=o.div`
|
|
2217
2256
|
background: ${s.white};
|
|
2218
2257
|
width: 257px;
|
|
2219
2258
|
padding: 16px 0;
|
|
@@ -2222,19 +2261,19 @@ button{
|
|
|
2222
2261
|
display: flex;
|
|
2223
2262
|
flex-direction: column;
|
|
2224
2263
|
justify-content: space-between;
|
|
2225
|
-
`,
|
|
2264
|
+
`,Fc=o.a`
|
|
2226
2265
|
color: ${s["neutral-900"]};
|
|
2227
2266
|
text-decoration: none;
|
|
2228
|
-
`,
|
|
2267
|
+
`,Qc=o.div`
|
|
2229
2268
|
text-decoration: none;
|
|
2230
2269
|
display: flex;
|
|
2231
2270
|
gap: 8px;
|
|
2232
2271
|
align-items: center;
|
|
2233
|
-
`,
|
|
2272
|
+
`,Oc=o.div`
|
|
2234
2273
|
display: flex;
|
|
2235
2274
|
flex-direction: column;
|
|
2236
2275
|
gap: 24px;
|
|
2237
|
-
`,
|
|
2276
|
+
`,Rc=o.div`
|
|
2238
2277
|
padding: 8px 24px;
|
|
2239
2278
|
display: flex;
|
|
2240
2279
|
justify-content: space-between;
|
|
@@ -2254,7 +2293,7 @@ button{
|
|
|
2254
2293
|
&.indent{
|
|
2255
2294
|
padding-left: 50px;
|
|
2256
2295
|
}
|
|
2257
|
-
`,
|
|
2296
|
+
`,Vc=o.div`
|
|
2258
2297
|
display: flex;
|
|
2259
2298
|
flex-direction: column;
|
|
2260
2299
|
gap: 16px;
|
|
@@ -2266,7 +2305,7 @@ button{
|
|
|
2266
2305
|
overflow: hidden;
|
|
2267
2306
|
display: none;
|
|
2268
2307
|
}
|
|
2269
|
-
`,
|
|
2308
|
+
`,Yc=o.div`
|
|
2270
2309
|
&.active{
|
|
2271
2310
|
border-left: 2px solid ${s["primary-500"]};
|
|
2272
2311
|
background: ${s["primary-50"]};
|
|
@@ -2274,19 +2313,19 @@ button{
|
|
|
2274
2313
|
&.active .cm-main-item{
|
|
2275
2314
|
color: ${s["primary-500"]};
|
|
2276
2315
|
}
|
|
2277
|
-
`,zc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPSideNav\\LPSideNav.tsx",
|
|
2316
|
+
`,zc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPSideNav\\LPSideNav.tsx",Sc=e=>{const{mainNavLinks:i,codeMaintenanceLinks:r,currentPage:n}=e;return t.createElement(Ic,{__self:void 0,__source:{fileName:zc,lineNumber:26}},i&&i.length>0&&t.createElement(Oc,{__self:void 0,__source:{fileName:zc,lineNumber:28}},i.map(((e,i)=>t.createElement(t.Fragment,null,e.LinkComponent?t.createElement(e.LinkComponent,{url:e.url,__self:void 0,__source:{fileName:zc,lineNumber:32}},t.createElement(t.Fragment,null,t.createElement(Rc,{className:n===e.pageName?"active":"",__self:void 0,__source:{fileName:zc,lineNumber:34}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:35}},t.createElement("i",{className:e.iconClass,__self:void 0,__source:{fileName:zc,lineNumber:36}}),e.label),t.createElement("i",{className:"icon-angle-right",__self:void 0,__source:{fileName:zc,lineNumber:39}})))):t.createElement(Fc,{key:i,href:e.url,__self:void 0,__source:{fileName:zc,lineNumber:44}},t.createElement(Rc,{className:n===e.pageName?"active":"",__self:void 0,__source:{fileName:zc,lineNumber:45}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:46}},t.createElement("i",{className:e.iconClass,__self:void 0,__source:{fileName:zc,lineNumber:47}}),e.label),t.createElement("i",{className:"icon-angle-right",__self:void 0,__source:{fileName:zc,lineNumber:50}}))))))),r&&t.createElement("div",{__self:void 0,__source:{fileName:zc,lineNumber:60}},t.createElement("hr",{style:{margin:"16px",border:`1px solid ${s["neutral-100"]}`},__self:void 0,__source:{fileName:zc,lineNumber:61}}),t.createElement(Yc,{className:"active",__self:void 0,__source:{fileName:zc,lineNumber:62}},t.createElement(Fc,{href:"#",onClick:e=>{e.preventDefault(),document.querySelector("#codeMaintenanceMenu").classList.toggle("collapsed")},__self:void 0,__source:{fileName:zc,lineNumber:63}},t.createElement(Rc,{__self:void 0,__source:{fileName:zc,lineNumber:67}},t.createElement(Qc,{className:"cm-main-item",__self:void 0,__source:{fileName:zc,lineNumber:68}},t.createElement("i",{className:"icon-settings",__self:void 0,__source:{fileName:zc,lineNumber:69}}),"Code Maintenance"))),t.createElement(Vc,{className:"collapsed",id:"codeMaintenanceMenu",__self:void 0,__source:{fileName:zc,lineNumber:74}},t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:75}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:76}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:77}},"Users"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:82}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:83}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:84}},"Brokers"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:89}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:90}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:91}},"Liquidity Providers"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:96}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:97}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:98}},"App Actions"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:103}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:104}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:105}},"App Forms"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:110}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:111}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:112}},"App Modules"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:117}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:118}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:119}},"Currency Pairs"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:124}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:125}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:126}},"Payment Methods"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:131}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:132}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:133}},"System Config"))),t.createElement(Fc,{href:"#",__self:void 0,__source:{fileName:zc,lineNumber:138}},t.createElement(Rc,{className:"indent",__self:void 0,__source:{fileName:zc,lineNumber:139}},t.createElement(Qc,{__self:void 0,__source:{fileName:zc,lineNumber:140}},"User Roles")))))))},jc=o.div`
|
|
2278
2317
|
background: ${s.white};
|
|
2279
2318
|
display: flex;
|
|
2280
2319
|
justify-content: space-between;
|
|
2281
2320
|
align-items: center;
|
|
2282
2321
|
position: relative;
|
|
2283
2322
|
//height: 120px;
|
|
2284
|
-
`,
|
|
2323
|
+
`,Tc=o.div`
|
|
2285
2324
|
padding: 16px 32px;
|
|
2286
2325
|
img{
|
|
2287
2326
|
width: 193px;
|
|
2288
2327
|
}
|
|
2289
|
-
`,
|
|
2328
|
+
`,Wc=o.div`
|
|
2290
2329
|
padding: 16px 32px;
|
|
2291
2330
|
display: flex;
|
|
2292
2331
|
gap: 24px;
|
|
@@ -2318,7 +2357,7 @@ button{
|
|
|
2318
2357
|
display: flex;
|
|
2319
2358
|
gap: 16px;
|
|
2320
2359
|
}
|
|
2321
|
-
`,
|
|
2360
|
+
`,Xc=o.button`
|
|
2322
2361
|
background: ${s.white};
|
|
2323
2362
|
border-radius: 8px;
|
|
2324
2363
|
border: none;
|
|
@@ -2349,7 +2388,7 @@ button{
|
|
|
2349
2388
|
right: 0;
|
|
2350
2389
|
top: 0;
|
|
2351
2390
|
}
|
|
2352
|
-
`,
|
|
2391
|
+
`,Zc=o.button`
|
|
2353
2392
|
display: flex;
|
|
2354
2393
|
align-items: center;
|
|
2355
2394
|
gap: 4px;
|
|
@@ -2386,7 +2425,7 @@ button{
|
|
|
2386
2425
|
rotate: 0deg;
|
|
2387
2426
|
}
|
|
2388
2427
|
}
|
|
2389
|
-
`,
|
|
2428
|
+
`,Uc=o.div`
|
|
2390
2429
|
width: 430px;
|
|
2391
2430
|
min-height: 321px;
|
|
2392
2431
|
background: ${s.white};
|
|
@@ -2395,7 +2434,7 @@ button{
|
|
|
2395
2434
|
right: 32px;
|
|
2396
2435
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
2397
2436
|
border-radius: 8px;
|
|
2398
|
-
`,
|
|
2437
|
+
`,Gc=o.div`
|
|
2399
2438
|
width: 460px;
|
|
2400
2439
|
background: ${s.white};
|
|
2401
2440
|
position: absolute;
|
|
@@ -2403,7 +2442,7 @@ button{
|
|
|
2403
2442
|
right: 32px;
|
|
2404
2443
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
2405
2444
|
border-radius: 8px;
|
|
2406
|
-
`,
|
|
2445
|
+
`,Kc=o.div`
|
|
2407
2446
|
border-bottom: 1px solid ${s["neutral-100"]};
|
|
2408
2447
|
padding: 12px 16px;font-family: Circular Book Medium, sans-serif;
|
|
2409
2448
|
font-weight: 500;
|
|
@@ -2412,7 +2451,7 @@ button{
|
|
|
2412
2451
|
h4{
|
|
2413
2452
|
margin: 0 !important;
|
|
2414
2453
|
}
|
|
2415
|
-
`,
|
|
2454
|
+
`,qc=o.div`
|
|
2416
2455
|
padding: 12px 16px;font-family: Circular Book Medium, sans-serif;
|
|
2417
2456
|
font-weight: 500;
|
|
2418
2457
|
font-size: 16px;
|
|
@@ -2420,7 +2459,7 @@ button{
|
|
|
2420
2459
|
h4{
|
|
2421
2460
|
margin: 0 !important;
|
|
2422
2461
|
}
|
|
2423
|
-
`,
|
|
2462
|
+
`,Jc=o.div`
|
|
2424
2463
|
display: flex;
|
|
2425
2464
|
flex-direction: column;
|
|
2426
2465
|
gap: 16px;
|
|
@@ -2458,10 +2497,10 @@ button{
|
|
|
2458
2497
|
font-weight: 400;
|
|
2459
2498
|
line-height: 17px;
|
|
2460
2499
|
}
|
|
2461
|
-
|
|
2500
|
+
`,$c=o.div`
|
|
2462
2501
|
overflow-y: auto;
|
|
2463
2502
|
max-height: 749px;
|
|
2464
|
-
|
|
2503
|
+
`,ed=o.div`
|
|
2465
2504
|
background: ${s["primary-50"]};
|
|
2466
2505
|
cursor: pointer;
|
|
2467
2506
|
padding: 16px;
|
|
@@ -2487,7 +2526,7 @@ button{
|
|
|
2487
2526
|
color: ${s["primary-500"]};
|
|
2488
2527
|
margin: 0;
|
|
2489
2528
|
}
|
|
2490
|
-
`,
|
|
2529
|
+
`,td=o.div`
|
|
2491
2530
|
background: ${s.white};
|
|
2492
2531
|
cursor: pointer;
|
|
2493
2532
|
padding: 16px;
|
|
@@ -2515,7 +2554,7 @@ button{
|
|
|
2515
2554
|
color: ${s["primary-500"]};
|
|
2516
2555
|
margin: 0;
|
|
2517
2556
|
}
|
|
2518
|
-
`,
|
|
2557
|
+
`,id=o.div`
|
|
2519
2558
|
width: 290px;
|
|
2520
2559
|
background: ${s.white};
|
|
2521
2560
|
position: absolute;
|
|
@@ -2523,7 +2562,7 @@ button{
|
|
|
2523
2562
|
right: 32px;
|
|
2524
2563
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
2525
2564
|
border-radius: 8px;
|
|
2526
|
-
`,
|
|
2565
|
+
`,rd=o.a`
|
|
2527
2566
|
display: flex;
|
|
2528
2567
|
gap: 16px;
|
|
2529
2568
|
justify-content: space-between;
|
|
@@ -2537,19 +2576,19 @@ button{
|
|
|
2537
2576
|
&:hover{
|
|
2538
2577
|
background: ${s["neutral-50"]};
|
|
2539
2578
|
}
|
|
2540
|
-
`,
|
|
2579
|
+
`,nd=o.div`
|
|
2541
2580
|
position: absolute;
|
|
2542
2581
|
width: 100%;
|
|
2543
2582
|
height: 100%;
|
|
2544
2583
|
display: flex;
|
|
2545
2584
|
justify-content: center;
|
|
2546
2585
|
align-items: center;
|
|
2547
|
-
`,
|
|
2586
|
+
`,ld=o.div`
|
|
2548
2587
|
display: flex;
|
|
2549
2588
|
justify-content: center;
|
|
2550
2589
|
align-items: center;
|
|
2551
2590
|
height: 477px;
|
|
2552
|
-
`,
|
|
2591
|
+
`,od=o.div`
|
|
2553
2592
|
display: flex;
|
|
2554
2593
|
flex-direction: column;
|
|
2555
2594
|
gap: 16px;
|
|
@@ -2567,38 +2606,38 @@ button{
|
|
|
2567
2606
|
font-size: 14px;
|
|
2568
2607
|
margin: 0;
|
|
2569
2608
|
}
|
|
2570
|
-
`,
|
|
2609
|
+
`,sd=o.div`
|
|
2571
2610
|
color: ${s["neutral-500"]};
|
|
2572
2611
|
font-size: 12px;
|
|
2573
2612
|
text-align: right;
|
|
2574
2613
|
width: 40px;
|
|
2575
|
-
`;var sd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALjSURBVHgBtVZLKG1RGP7OdsqbU0gkrkeY6Q4MKGFMuaUU8kxJmZgokpkyMGdiQJmY6BZFkqtk4NE9kVeKQpxzOu9H59R5/Hf9P0cmR7ec/dVqrb3XWt//WN+/9gYUiOiHavuquSg52GBO5ja8D/6qZkJy4VbtJxvYUINf0Ad/2ABBP7j1NgANOkMXAzs7Ozg5OXkzwBny+/34nKlIJIJgMPhfZOFwGD6f7+M5Fothe3sbx8fHiEajwPj4ODU3N1NfXx95vV66vb2l3t5eamlpodHRUZqcnKTz83Nqb28XgZvNZhoYGKBQKERHR0fU1dUl+0dGRshisRDzNTY2UlNTE3V0dJDGoayurmJiYgKZmZmYnZ1FWVkZ1tbWUFxcDLvdLp69vLxIr4hlbLPZMD09jdbWVtmfkZGBqakpzMzMoK6uDm1tbVhcXIRWWFgI5TG2trbgdDrx8PCAwcFBIa+qqkqYmtfXV6iIoTxHaWkpOjs78fT0hOzsbKSnp0tfVFQEbWlpCfPz89jc3MTd3Z1MXF1dCQkbZKSlpUnvdrvh8XiEoKCgAJqm4fr6WubOzs6Ql5cnkfB7jpRh7OnpQUlJiZBUV1eju7sbc3NzWF9fh9VqlXTxfG1tLYaGhuRAOeLy8nL09/djbGxMIri/v8fCwoKQ8tqVlRVcXFzA4HA46PHxUTbk5ubKAg6VvT09PcXh4SGWl5dFZZeXlzCZTGLwc6rYkcrKSok+Ds6GRPHVlagOmoaHh+k7MOIL1NfXo6KiAt+B7ndRwggODg5EKXzInE9WB6vH5XIhKysLBoMBNzc3kneuHz4/XpOfn4+9vT00NDRAnW9iA0zCZb+7u4uUlBSpC1YaFx4rjI2zeoxGo1wJLGl2JicnB6qipa7EkUQpitdAamqq3FWsqrjKOJJAICDkXNH8zGP2/vn5WdbX1NSIYTbgQvI/lx/g69oM/fBb94++jOjtt2WDkgP+9dl/dxz/AC0iYjxOw7vYAAAAAElFTkSuQmCC";const ad="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPTopBar\\LPTopBar.tsx",cd=e=>{const{userName:r,requestLpUrl:n,notifications:l,myProfileUrl:o,signOutApiUrl:a}=e,[d,u]=i(!1),[f,m]=i(!1),[h,A]=i(!1),[g,b]=i(1),[C,_]=i(!1);return t.createElement(Sc,{__self:void 0,__source:{fileName:ad,lineNumber:49}},t.createElement(jc,{__self:void 0,__source:{fileName:ad,lineNumber:50}},t.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/v1663283686/dashboard-logo_a7i59z.svg",alt:"SSX Logo",__self:void 0,__source:{fileName:ad,lineNumber:51}})),t.createElement(Tc,{__self:void 0,__source:{fileName:ad,lineNumber:53}},t.createElement("a",{href:n,className:"trade-button",__self:void 0,__source:{fileName:ad,lineNumber:54}},"Request LP"),t.createElement("div",{className:"vt-divider",__self:void 0,__source:{fileName:ad,lineNumber:55}}),t.createElement("div",{className:"icon-buttons",__self:void 0,__source:{fileName:ad,lineNumber:56}},t.createElement(Wc,{className:""+(d?"active-item":""),onClick:()=>{u(!d),m(!1),A(!1),b(1)},__self:void 0,__source:{fileName:ad,lineNumber:57}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:64}},t.createElement("path",{d:"M17 12H19C19.2652 12 19.5196 11.8946 19.7071 11.7071C19.8946 11.5196 20 11.2652 20 11C20 10.7348 19.8946 10.4804 19.7071 10.2929C19.5196 10.1054 19.2652 10 19 10H17V9C16.9912 8.53931 16.9205 8.0819 16.79 7.64C17.73 7.27962 18.5393 6.64391 19.112 5.81603C19.6847 4.98815 19.9942 4.00667 20 3C20 2.73478 19.8946 2.48043 19.7071 2.29289C19.5196 2.10536 19.2652 2 19 2C18.7348 2 18.4804 2.10536 18.2929 2.29289C18.1054 2.48043 18 2.73478 18 3C17.9991 3.64484 17.7905 4.27224 17.405 4.7892C17.0196 5.30615 16.4778 5.68515 15.86 5.87C15.3668 5.23797 14.7289 4.7338 14 4.4C14.0104 4.26687 14.0104 4.13313 14 4C14 2.93913 13.5786 1.92172 12.8284 1.17157C12.0783 0.421427 11.0609 0 10 0C8.93913 0 7.92172 0.421427 7.17157 1.17157C6.42143 1.92172 6 2.93913 6 4C5.98965 4.13313 5.98965 4.26687 6 4.4C5.25662 4.72831 4.60446 5.23288 4.1 5.87C3.48968 5.67807 2.9567 5.29604 2.5789 4.77971C2.2011 4.26338 1.99826 3.63979 2 3C2 2.73478 1.89464 2.48043 1.70711 2.29289C1.51957 2.10536 1.26522 2 1 2C0.734784 2 0.48043 2.10536 0.292893 2.29289C0.105357 2.48043 0 2.73478 0 3C0.00576615 4.00667 0.315265 4.98815 0.888 5.81603C1.46074 6.64391 2.27003 7.27962 3.21 7.64C3.07948 8.0819 3.00885 8.53931 3 9V10H1C0.734784 10 0.48043 10.1054 0.292893 10.2929C0.105357 10.4804 0 10.7348 0 11C0 11.2652 0.105357 11.5196 0.292893 11.7071C0.48043 11.8946 0.734784 12 1 12H3V13C3.00086 13.4635 3.04776 13.9258 3.14 14.38C2.21628 14.7502 1.42404 15.3876 0.864657 16.2106C0.305279 17.0336 0.00421571 18.0049 0 19C0 19.2652 0.105357 19.5196 0.292893 19.7071C0.48043 19.8946 0.734784 20 1 20C1.26522 20 1.51957 19.8946 1.70711 19.7071C1.89464 19.5196 2 19.2652 2 19C2.0027 18.4168 2.17535 17.847 2.49681 17.3604C2.81828 16.8737 3.27462 16.4913 3.81 16.26C4.40471 17.3862 5.29541 18.3289 6.38616 18.9864C7.47692 19.6439 8.72639 19.9914 10 19.9914C11.2736 19.9914 12.5231 19.6439 13.6138 18.9864C14.7046 18.3289 15.5953 17.3862 16.19 16.26C16.7254 16.4913 17.1817 16.8737 17.5032 17.3604C17.8247 17.847 17.9973 18.4168 18 19C18 19.2652 18.1054 19.5196 18.2929 19.7071C18.4804 19.8946 18.7348 20 19 20C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19C19.9958 18.0049 19.6947 17.0336 19.1353 16.2106C18.576 15.3876 17.7837 14.7502 16.86 14.38C16.9522 13.9258 16.9991 13.4635 17 13V12ZM9 17.9C7.87064 17.6695 6.8556 17.0558 6.12669 16.1629C5.39778 15.27 4.99976 14.1527 5 13V9C5 8.20435 5.31607 7.44129 5.87868 6.87868C6.44129 6.31607 7.20435 6 8 6H9V17.9ZM8 4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2C10.5304 2 11.0391 2.21071 11.4142 2.58579C11.7893 2.96086 12 3.46957 12 4H8ZM15 13C15.0002 14.1527 14.6022 15.27 13.8733 16.1629C13.1444 17.0558 12.1294 17.6695 11 17.9V6H12C12.7956 6 13.5587 6.31607 14.1213 6.87868C14.6839 7.44129 15 8.20435 15 9V13Z",fill:"#070B12",__self:void 0,__source:{fileName:ad,lineNumber:65}}))),t.createElement(Wc,{className:""+(f?"active-item":""),onClick:()=>{u(!1),m(!f),A(!1)},__self:void 0,__source:{fileName:ad,lineNumber:69}},t.createElement("div",{className:"notification-dot",__self:void 0,__source:{fileName:ad,lineNumber:74}}),t.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:76}},t.createElement("path",{d:"M14 11.18V8C13.9986 6.58312 13.4958 5.21247 12.5806 4.13077C11.6655 3.04908 10.3971 2.32615 9 2.09V1C9 0.734784 8.89464 0.48043 8.70711 0.292893C8.51957 0.105357 8.26522 0 8 0C7.73478 0 7.48043 0.105357 7.29289 0.292893C7.10536 0.48043 7 0.734784 7 1V2.09C5.60294 2.32615 4.33452 3.04908 3.41939 4.13077C2.50425 5.21247 2.00144 6.58312 2 8V11.18C1.41645 11.3863 0.910998 11.7681 0.552938 12.2729C0.194879 12.7778 0.00173951 13.3811 0 14V16C0 16.2652 0.105357 16.5196 0.292893 16.7071C0.48043 16.8946 0.734784 17 1 17H4.14C4.37028 17.8474 4.873 18.5954 5.5706 19.1287C6.26819 19.6621 7.1219 19.951 8 19.951C8.8781 19.951 9.73181 19.6621 10.4294 19.1287C11.127 18.5954 11.6297 17.8474 11.86 17H15C15.2652 17 15.5196 16.8946 15.7071 16.7071C15.8946 16.5196 16 16.2652 16 16V14C15.9983 13.3811 15.8051 12.7778 15.4471 12.2729C15.089 11.7681 14.5835 11.3863 14 11.18ZM4 8C4 6.93913 4.42143 5.92172 5.17157 5.17157C5.92172 4.42143 6.93913 4 8 4C9.06087 4 10.0783 4.42143 10.8284 5.17157C11.5786 5.92172 12 6.93913 12 8V11H4V8ZM8 18C7.65097 17.9979 7.30857 17.9045 7.00683 17.7291C6.70509 17.5536 6.45451 17.3023 6.28 17H9.72C9.54549 17.3023 9.29491 17.5536 8.99317 17.7291C8.69143 17.9045 8.34903 17.9979 8 18ZM14 15H2V14C2 13.7348 2.10536 13.4804 2.29289 13.2929C2.48043 13.1054 2.73478 13 3 13H13C13.2652 13 13.5196 13.1054 13.7071 13.2929C13.8946 13.4804 14 13.7348 14 14V15Z",fill:"#070B12",__self:void 0,__source:{fileName:ad,lineNumber:77}})))),t.createElement(Xc,{onClick:()=>{u(!1),m(!1),A(!h)},__self:void 0,__source:{fileName:ad,lineNumber:81}},t.createElement("div",{className:"profile-pic",__self:void 0,__source:{fileName:ad,lineNumber:86}}),t.createElement("svg",{className:h?"rotate-icon-180":"rotate-icon-0",width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:88}},t.createElement("path",{d:"M7.33334 1.1133C7.20843 0.989128 7.03946 0.919434 6.86334 0.919434C6.68722 0.919434 6.51825 0.989128 6.39334 1.1133L4.00001 3.4733L1.64001 1.1133C1.5151 0.989128 1.34613 0.919434 1.17001 0.919434C0.993883 0.919434 0.824915 0.989128 0.700006 1.1133C0.637521 1.17527 0.587925 1.249 0.554079 1.33024C0.520233 1.41148 0.502808 1.49862 0.502808 1.58663C0.502808 1.67464 0.520233 1.76177 0.554079 1.84301C0.587925 1.92425 0.637521 1.99799 0.700006 2.05996L3.52667 4.88663C3.58865 4.94911 3.66238 4.99871 3.74362 5.03256C3.82486 5.0664 3.912 5.08383 4.00001 5.08383C4.08801 5.08383 4.17515 5.0664 4.25639 5.03256C4.33763 4.99871 4.41136 4.94911 4.47334 4.88663L7.33334 2.05996C7.39582 1.99799 7.44542 1.92425 7.47927 1.84301C7.51311 1.76177 7.53054 1.67464 7.53054 1.58663C7.53054 1.49862 7.51311 1.41148 7.47927 1.33024C7.44542 1.249 7.39582 1.17527 7.33334 1.1133Z",fill:"#070B12",__self:void 0,__source:{fileName:ad,lineNumber:89}})))),d&&t.createElement(Zc,{__self:void 0,__source:{fileName:ad,lineNumber:95}},1===g&&t.createElement(t.Fragment,null,t.createElement(Gc,{__self:void 0,__source:{fileName:ad,lineNumber:98}},t.createElement("h4",{className:"heading",__self:void 0,__source:{fileName:ad,lineNumber:99}},"Report Bug")),t.createElement(qc,{__self:void 0,__source:{fileName:ad,lineNumber:101}},t.createElement("textarea",{__self:void 0,__source:{fileName:ad,lineNumber:102}}),t.createElement("div",{className:"info-text",__self:void 0,__source:{fileName:ad,lineNumber:103}},t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:105}},t.createElement("path",{d:"M6.99968 0.333252C5.68114 0.333252 4.3922 0.724245 3.29588 1.45679C2.19955 2.18933 1.34506 3.23052 0.840481 4.4487C0.335896 5.66687 0.203874 7.00731 0.461109 8.30052C0.718344 9.59373 1.35328 10.7816 2.28563 11.714C3.21798 12.6463 4.40587 13.2813 5.69908 13.5385C6.99228 13.7957 8.33273 13.6637 9.5509 13.1591C10.7691 12.6545 11.8103 11.8 12.5428 10.7037C13.2754 9.60739 13.6663 8.31846 13.6663 6.99992C13.6644 5.23241 12.9614 3.53786 11.7116 2.28804C10.4617 1.03823 8.76718 0.335218 6.99968 0.333252ZM6.99968 12.3333C5.94484 12.3333 4.9137 12.0205 4.03664 11.4344C3.15957 10.8484 2.47599 10.0154 2.07232 9.0409C1.66865 8.06636 1.56304 6.994 1.76882 5.95944C1.97461 4.92487 2.48256 3.97456 3.22844 3.22868C3.97432 2.4828 4.92463 1.97485 5.9592 1.76906C6.99376 1.56328 8.06612 1.66889 9.04066 2.07256C10.0152 2.47623 10.8481 3.15982 11.4342 4.03688C12.0202 4.91394 12.333 5.94508 12.333 6.99992C12.3314 8.41391 11.769 9.76952 10.7691 10.7694C9.76928 11.7692 8.41367 12.3316 6.99968 12.3333ZM6.99968 6.66658C6.82287 6.66658 6.6533 6.73682 6.52827 6.86185C6.40325 6.98687 6.33301 7.15644 6.33301 7.33325V9.33325C6.33301 9.51006 6.40325 9.67963 6.52827 9.80466C6.6533 9.92968 6.82287 9.99992 6.99968 9.99992C7.17649 9.99992 7.34606 9.92968 7.47108 9.80466C7.59611 9.67963 7.66634 9.51006 7.66634 9.33325V7.33325C7.66634 7.15644 7.59611 6.98687 7.47108 6.86185C7.34606 6.73682 7.17649 6.66658 6.99968 6.66658ZM6.99968 3.99992C6.83486 3.99992 6.67374 4.04879 6.5367 4.14036C6.39966 4.23193 6.29285 4.36208 6.22978 4.51435C6.16671 4.66662 6.1502 4.83418 6.18236 4.99583C6.21451 5.15748 6.29388 5.30596 6.41042 5.42251C6.52697 5.53905 6.67545 5.61842 6.8371 5.65057C6.99875 5.68273 7.16631 5.66622 7.31858 5.60315C7.47085 5.54008 7.601 5.43327 7.69257 5.29623C7.78414 5.15919 7.83301 4.99807 7.83301 4.83325C7.83301 4.61224 7.74521 4.40028 7.58893 4.244C7.43265 4.08772 7.22069 3.99992 6.99968 3.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:ad,lineNumber:106}})),t.createElement("p",{__self:void 0,__source:{fileName:ad,lineNumber:108}},"By submitting a report you agree to your current browser tab and LP system information being captured.")),!C&&t.createElement(c,{size:"md",variant:"primary",onClick:function(){_(!0),setTimeout((()=>{b(g+1),_(!1)}),2e3)},__self:void 0,__source:{fileName:ad,lineNumber:110}},"Report Bug"),C&&t.createElement(c,{size:"md",variant:"primary",disabled:!0,__self:void 0,__source:{fileName:ad,lineNumber:111}},t.createElement($,{variant:"primary",__self:void 0,__source:{fileName:ad,lineNumber:111}})))),2===g&&t.createElement(rd,{__self:void 0,__source:{fileName:ad,lineNumber:116}},t.createElement(p,{headingText:"Bug report sent",__self:void 0,__source:{fileName:ad,lineNumber:117}}))),f&&t.createElement(Uc,{__self:void 0,__source:{fileName:ad,lineNumber:124}},l&&l.length>0&&t.createElement(t.Fragment,null,t.createElement(Gc,{__self:void 0,__source:{fileName:ad,lineNumber:127}},t.createElement("h4",{__self:void 0,__source:{fileName:ad,lineNumber:128}},"Notifications")),t.createElement(Jc,{__self:void 0,__source:{fileName:ad,lineNumber:130}},l.map(((e,i)=>e.notifRead?e.notifRead?t.createElement(ed,{key:i,__self:void 0,__source:{fileName:ad,lineNumber:167}},t.createElement("div",{__self:void 0,__source:{fileName:ad,lineNumber:168}},t.createElement("img",{src:sd,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"client logo",__self:void 0,__source:{fileName:ad,lineNumber:168}})),t.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:ad,lineNumber:169}},t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:ad,lineNumber:170}},t.createElement("div",{__self:void 0,__source:{fileName:ad,lineNumber:171}},t.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:ad,lineNumber:172}},e.notifTitle),t.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:ad,lineNumber:173}},e.lpProvider," • #",e.transactionNumber)),t.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:ad,lineNumber:175}},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:ad,lineNumber:176}},t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ad,lineNumber:177}},t.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:ad,lineNumber:178}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ad,lineNumber:179}},e.baseCurrencyCode," 12,900.99")),t.createElement("div",{__self:void 0,__source:{fileName:ad,lineNumber:181}},t.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:ad,lineNumber:182}})),t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ad,lineNumber:184}},t.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:ad,lineNumber:185}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ad,lineNumber:186}},e.exchCurrencyCode," 1,228.08"))))),t.createElement(od,{__self:void 0,__source:{fileName:ad,lineNumber:191}},e.notifTime))):void 0:t.createElement($c,{key:i,__self:void 0,__source:{fileName:ad,lineNumber:135}},t.createElement("div",{__self:void 0,__source:{fileName:ad,lineNumber:136}},t.createElement("img",{src:sd,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"Provider logo",__self:void 0,__source:{fileName:ad,lineNumber:136}})),t.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:ad,lineNumber:137}},t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:ad,lineNumber:138}},t.createElement("div",{__self:void 0,__source:{fileName:ad,lineNumber:139}},t.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:ad,lineNumber:140}},e.notifTitle),t.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:ad,lineNumber:141}},e.lpProvider," • #",e.transactionNumber)),t.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:ad,lineNumber:143}},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:ad,lineNumber:144}},t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ad,lineNumber:145}},t.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:ad,lineNumber:146}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ad,lineNumber:147}},e.baseCurrencyCode," ",e.baseAmount)),t.createElement("div",{__self:void 0,__source:{fileName:ad,lineNumber:149}},t.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:ad,lineNumber:150}})),t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ad,lineNumber:152}},t.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:ad,lineNumber:153}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ad,lineNumber:154}},e.exchCurrencyCode," ",e.exchAmount))))),t.createElement(od,{__self:void 0,__source:{fileName:ad,lineNumber:159}},e.notifTime))))))),l&&0===l.length&&t.createElement(nd,{__self:void 0,__source:{fileName:ad,lineNumber:201}},t.createElement(ld,{__self:void 0,__source:{fileName:ad,lineNumber:202}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:203}},t.createElement("g",{clipPath:"url(#clip0_499_2669)",__self:void 0,__source:{fileName:ad,lineNumber:204}},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46 26.5003C46 26.5003 46 28.3139 46 24.5001C46 16.768 39.732 10.501 32 10.501C24.268 10.501 18 16.768 18 24.5001C18 28.3139 18 26.5003 18 26.5003",fill:"#E8EEF7",__self:void 0,__source:{fileName:ad,lineNumber:205}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.521 48.5003H37C38.104 48.5003 39 49.397 39 50.5006C39 51.6041 38.104 52.5008 37 52.5008H12C11.253 52.5008 10.567 52.0834 10.224 51.4198C9.87998 50.7562 9.93499 49.9559 10.367 49.3459C10.367 49.3459 16 41.4092 16 32.501V24.5001C16 15.6644 23.163 8.50076 32 8.50076C40.837 8.50076 48 15.6644 48 24.5001C48 28.3139 48 28.4982 48 32.501C48 41.4092 53.633 49.3459 53.633 49.3459C54.065 49.9559 54.12 50.7562 53.776 51.4198C53.433 52.0834 52.747 52.5008 52 52.5008H46C44.896 52.5008 44 51.6041 44 50.5006C44 49.397 44.896 48.5003 46 48.5003H48.479C46.601 44.997 44 38.9726 44 32.501C44 28.4982 44 28.3139 44 24.5001C44 17.8728 38.627 12.5 32 12.5C25.373 12.5 20 17.8728 20 24.5001V32.501C20 38.9726 17.399 44.997 15.521 48.5003Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ad,lineNumber:206}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.658 50.5C37.88 51.126 38 51.799 38 52.5C38 55.811 35.311 58.5 32 58.5C28.689 58.5 26 55.811 26 52.5C26 51.799 26.12 51.126 26.342 50.5H37.658Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:ad,lineNumber:207}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.543 49.833C39.261 49.034 38.505 48.5 37.658 48.5H26.342C25.495 48.5 24.739 49.034 24.457 49.833C24.161 50.667 24 51.565 24 52.5C24 56.915 27.585 60.5 32 60.5C36.415 60.5 40 56.915 40 52.5C40 51.565 39.839 50.667 39.543 49.833ZM28.005 52.706C28.113 54.818 29.861 56.5 32 56.5C34.208 56.5 36 54.708 36 52.5H28L28.005 52.706ZM30 6.5V10.5C30 11.604 30.896 12.5 32 12.5C33.104 12.5 34 11.604 34 10.5V6.5C34 5.396 33.104 4.5 32 4.5C30.896 4.5 30 5.396 30 6.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ad,lineNumber:208}})),t.createElement("defs",{__self:void 0,__source:{fileName:ad,lineNumber:210}},t.createElement("clipPath",{id:"clip0_499_2669",__self:void 0,__source:{fileName:ad,lineNumber:211}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:ad,lineNumber:212}})))),t.createElement("div",{className:"text-center",__self:void 0,__source:{fileName:ad,lineNumber:216}},t.createElement("h3",{className:"text-neutral-900 text-heading",__self:void 0,__source:{fileName:ad,lineNumber:217}},"No Notifications"),t.createElement("p",{className:"subtext",__self:void 0,__source:{fileName:ad,lineNumber:218}},"Your notifications will show up here when you have them"))))),h&&t.createElement(td,{__self:void 0,__source:{fileName:ad,lineNumber:227}},t.createElement(Kc,{__self:void 0,__source:{fileName:ad,lineNumber:228}},t.createElement("h4",{__self:void 0,__source:{fileName:ad,lineNumber:229}},r)),t.createElement(id,{href:o,__self:void 0,__source:{fileName:ad,lineNumber:231}},t.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:ad,lineNumber:232}},t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:234}},t.createElement("path",{d:"M9.47333 7.47325C10.1269 6.95903 10.604 6.25387 10.8382 5.45588C11.0723 4.6579 11.0519 3.80676 10.7799 3.0209C10.5078 2.23503 9.9975 1.55352 9.32005 1.07116C8.64259 0.5888 7.83163 0.32959 7 0.32959C6.16836 0.32959 5.35741 0.5888 4.67995 1.07116C4.00249 1.55352 3.49223 2.23503 3.22014 3.0209C2.94805 3.80676 2.92767 4.6579 3.16184 5.45588C3.396 6.25387 3.87307 6.95903 4.52666 7.47325C3.40672 7.92195 2.42952 8.66615 1.69926 9.62653C0.968996 10.5869 0.51304 11.7275 0.379998 12.9266C0.370368 13.0141 0.378075 13.1027 0.402681 13.1873C0.427287 13.2719 0.468309 13.3508 0.523405 13.4195C0.634677 13.5582 0.79652 13.6471 0.973331 13.6666C1.15014 13.686 1.32744 13.6345 1.46621 13.5232C1.60499 13.4119 1.69388 13.2501 1.71333 13.0733C1.85972 11.77 2.48112 10.5665 3.45881 9.69245C4.4365 8.81844 5.70193 8.33527 7.01333 8.33527C8.32473 8.33527 9.59016 8.81844 10.5679 9.69245C11.5455 10.5665 12.1669 11.77 12.3133 13.0733C12.3315 13.2371 12.4096 13.3884 12.5327 13.4979C12.6559 13.6075 12.8152 13.6676 12.98 13.6666H13.0533C13.2281 13.6465 13.3878 13.5581 13.4977 13.4208C13.6076 13.2834 13.6587 13.1082 13.64 12.9333C13.5063 11.7307 13.0479 10.5872 12.3139 9.62539C11.5799 8.66354 10.5979 7.91957 9.47333 7.47325V7.47325ZM7 6.99992C6.47258 6.99992 5.95701 6.84352 5.51848 6.55051C5.07995 6.25749 4.73815 5.84101 4.53632 5.35374C4.33449 4.86647 4.28168 4.3303 4.38457 3.81301C4.48746 3.29573 4.74144 2.82058 5.11438 2.44764C5.48732 2.0747 5.96247 1.82072 6.47976 1.71783C6.99704 1.61493 7.53322 1.66774 8.02049 1.86958C8.50776 2.07141 8.92423 2.4132 9.21725 2.85173C9.51027 3.29026 9.66667 3.80584 9.66667 4.33325C9.66667 5.0405 9.38571 5.71878 8.88562 6.21887C8.38552 6.71897 7.70724 6.99992 7 6.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:ad,lineNumber:235}})),"My Profile"),t.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:240}},t.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:ad,lineNumber:241}}))),t.createElement(id,{href:"#",__self:void 0,__source:{fileName:ad,lineNumber:244}},t.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:ad,lineNumber:245}},t.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:247}},t.createElement("path",{d:"M0.666992 7.00016C0.666992 7.17697 0.73723 7.34654 0.862254 7.47157C0.987279 7.59659 1.15685 7.66683 1.33366 7.66683H6.39366L4.86033 9.1935C4.79784 9.25547 4.74824 9.3292 4.7144 9.41044C4.68055 9.49168 4.66313 9.57882 4.66313 9.66683C4.66313 9.75484 4.68055 9.84197 4.7144 9.92321C4.74824 10.0045 4.79784 10.0782 4.86033 10.1402C4.9223 10.2026 4.99604 10.2522 5.07727 10.2861C5.15851 10.3199 5.24565 10.3374 5.33366 10.3374C5.42167 10.3374 5.5088 10.3199 5.59004 10.2861C5.67128 10.2522 5.74502 10.2026 5.80699 10.1402L8.47366 7.4735C8.53435 7.41009 8.58193 7.33533 8.61366 7.2535C8.68034 7.09119 8.68034 6.90914 8.61366 6.74683C8.58193 6.66499 8.53435 6.59023 8.47366 6.52683L5.80699 3.86016C5.74483 3.798 5.67104 3.7487 5.58983 3.71506C5.50861 3.68142 5.42157 3.6641 5.33366 3.6641C5.24575 3.6641 5.15871 3.68142 5.07749 3.71506C4.99628 3.7487 4.92248 3.798 4.86033 3.86016C4.79817 3.92232 4.74886 3.99611 4.71522 4.07733C4.68158 4.15854 4.66426 4.24559 4.66426 4.3335C4.66426 4.4214 4.68158 4.50845 4.71522 4.58966C4.74886 4.67088 4.79817 4.74467 4.86033 4.80683L6.39366 6.3335H1.33366C1.15685 6.3335 0.987279 6.40373 0.862254 6.52876C0.73723 6.65378 0.666992 6.82335 0.666992 7.00016ZM9.33366 0.333496H2.66699C2.13656 0.333496 1.62785 0.54421 1.25278 0.919283C0.877706 1.29436 0.666992 1.80306 0.666992 2.3335V4.3335C0.666992 4.51031 0.73723 4.67988 0.862254 4.8049C0.987279 4.92992 1.15685 5.00016 1.33366 5.00016C1.51047 5.00016 1.68004 4.92992 1.80506 4.8049C1.93009 4.67988 2.00033 4.51031 2.00033 4.3335V2.3335C2.00033 2.15668 2.07056 1.98712 2.19559 1.86209C2.32061 1.73707 2.49018 1.66683 2.66699 1.66683H9.33366C9.51047 1.66683 9.68004 1.73707 9.80506 1.86209C9.93009 1.98712 10.0003 2.15668 10.0003 2.3335V11.6668C10.0003 11.8436 9.93009 12.0132 9.80506 12.1382C9.68004 12.2633 9.51047 12.3335 9.33366 12.3335H2.66699C2.49018 12.3335 2.32061 12.2633 2.19559 12.1382C2.07056 12.0132 2.00033 11.8436 2.00033 11.6668V9.66683C2.00033 9.49002 1.93009 9.32045 1.80506 9.19542C1.68004 9.0704 1.51047 9.00016 1.33366 9.00016C1.15685 9.00016 0.987279 9.0704 0.862254 9.19542C0.73723 9.32045 0.666992 9.49002 0.666992 9.66683V11.6668C0.666992 12.1973 0.877706 12.706 1.25278 13.081C1.62785 13.4561 2.13656 13.6668 2.66699 13.6668H9.33366C9.86409 13.6668 10.3728 13.4561 10.7479 13.081C11.1229 12.706 11.3337 12.1973 11.3337 11.6668V2.3335C11.3337 1.80306 11.1229 1.29436 10.7479 0.919283C10.3728 0.54421 9.86409 0.333496 9.33366 0.333496Z",fill:"#070B12",__self:void 0,__source:{fileName:ad,lineNumber:248}})),"Sign Out"),t.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ad,lineNumber:254}},t.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:ad,lineNumber:255}})))))},dd=o.div`
|
|
2614
|
+
`;var ad="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALjSURBVHgBtVZLKG1RGP7OdsqbU0gkrkeY6Q4MKGFMuaUU8kxJmZgokpkyMGdiQJmY6BZFkqtk4NE9kVeKQpxzOu9H59R5/Hf9P0cmR7ec/dVqrb3XWt//WN+/9gYUiOiHavuquSg52GBO5ja8D/6qZkJy4VbtJxvYUINf0Ad/2ABBP7j1NgANOkMXAzs7Ozg5OXkzwBny+/34nKlIJIJgMPhfZOFwGD6f7+M5Fothe3sbx8fHiEajwPj4ODU3N1NfXx95vV66vb2l3t5eamlpodHRUZqcnKTz83Nqb28XgZvNZhoYGKBQKERHR0fU1dUl+0dGRshisRDzNTY2UlNTE3V0dJDGoayurmJiYgKZmZmYnZ1FWVkZ1tbWUFxcDLvdLp69vLxIr4hlbLPZMD09jdbWVtmfkZGBqakpzMzMoK6uDm1tbVhcXIRWWFgI5TG2trbgdDrx8PCAwcFBIa+qqkqYmtfXV6iIoTxHaWkpOjs78fT0hOzsbKSnp0tfVFQEbWlpCfPz89jc3MTd3Z1MXF1dCQkbZKSlpUnvdrvh8XiEoKCgAJqm4fr6WubOzs6Ql5cnkfB7jpRh7OnpQUlJiZBUV1eju7sbc3NzWF9fh9VqlXTxfG1tLYaGhuRAOeLy8nL09/djbGxMIri/v8fCwoKQ8tqVlRVcXFzA4HA46PHxUTbk5ubKAg6VvT09PcXh4SGWl5dFZZeXlzCZTGLwc6rYkcrKSok+Ds6GRPHVlagOmoaHh+k7MOIL1NfXo6KiAt+B7ndRwggODg5EKXzInE9WB6vH5XIhKysLBoMBNzc3kneuHz4/XpOfn4+9vT00NDRAnW9iA0zCZb+7u4uUlBSpC1YaFx4rjI2zeoxGo1wJLGl2JicnB6qipa7EkUQpitdAamqq3FWsqrjKOJJAICDkXNH8zGP2/vn5WdbX1NSIYTbgQvI/lx/g69oM/fBb94++jOjtt2WDkgP+9dl/dxz/AC0iYjxOw7vYAAAAAElFTkSuQmCC";const cd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPTopBar\\LPTopBar.tsx",dd=e=>{const{userName:r,requestLpUrl:n,notifications:l,myProfileUrl:o,signOutApiUrl:a}=e,[d,u]=i(!1),[f,m]=i(!1),[h,A]=i(!1),[g,b]=i(1),[C,_]=i(!1);return t.createElement(jc,{__self:void 0,__source:{fileName:cd,lineNumber:49}},t.createElement(Tc,{__self:void 0,__source:{fileName:cd,lineNumber:50}},t.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/v1663283686/dashboard-logo_a7i59z.svg",alt:"SSX Logo",__self:void 0,__source:{fileName:cd,lineNumber:51}})),t.createElement(Wc,{__self:void 0,__source:{fileName:cd,lineNumber:53}},t.createElement("a",{href:n,className:"trade-button",__self:void 0,__source:{fileName:cd,lineNumber:54}},"Request LP"),t.createElement("div",{className:"vt-divider",__self:void 0,__source:{fileName:cd,lineNumber:55}}),t.createElement("div",{className:"icon-buttons",__self:void 0,__source:{fileName:cd,lineNumber:56}},t.createElement(Xc,{className:""+(d?"active-item":""),onClick:()=>{u(!d),m(!1),A(!1),b(1)},__self:void 0,__source:{fileName:cd,lineNumber:57}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:64}},t.createElement("path",{d:"M17 12H19C19.2652 12 19.5196 11.8946 19.7071 11.7071C19.8946 11.5196 20 11.2652 20 11C20 10.7348 19.8946 10.4804 19.7071 10.2929C19.5196 10.1054 19.2652 10 19 10H17V9C16.9912 8.53931 16.9205 8.0819 16.79 7.64C17.73 7.27962 18.5393 6.64391 19.112 5.81603C19.6847 4.98815 19.9942 4.00667 20 3C20 2.73478 19.8946 2.48043 19.7071 2.29289C19.5196 2.10536 19.2652 2 19 2C18.7348 2 18.4804 2.10536 18.2929 2.29289C18.1054 2.48043 18 2.73478 18 3C17.9991 3.64484 17.7905 4.27224 17.405 4.7892C17.0196 5.30615 16.4778 5.68515 15.86 5.87C15.3668 5.23797 14.7289 4.7338 14 4.4C14.0104 4.26687 14.0104 4.13313 14 4C14 2.93913 13.5786 1.92172 12.8284 1.17157C12.0783 0.421427 11.0609 0 10 0C8.93913 0 7.92172 0.421427 7.17157 1.17157C6.42143 1.92172 6 2.93913 6 4C5.98965 4.13313 5.98965 4.26687 6 4.4C5.25662 4.72831 4.60446 5.23288 4.1 5.87C3.48968 5.67807 2.9567 5.29604 2.5789 4.77971C2.2011 4.26338 1.99826 3.63979 2 3C2 2.73478 1.89464 2.48043 1.70711 2.29289C1.51957 2.10536 1.26522 2 1 2C0.734784 2 0.48043 2.10536 0.292893 2.29289C0.105357 2.48043 0 2.73478 0 3C0.00576615 4.00667 0.315265 4.98815 0.888 5.81603C1.46074 6.64391 2.27003 7.27962 3.21 7.64C3.07948 8.0819 3.00885 8.53931 3 9V10H1C0.734784 10 0.48043 10.1054 0.292893 10.2929C0.105357 10.4804 0 10.7348 0 11C0 11.2652 0.105357 11.5196 0.292893 11.7071C0.48043 11.8946 0.734784 12 1 12H3V13C3.00086 13.4635 3.04776 13.9258 3.14 14.38C2.21628 14.7502 1.42404 15.3876 0.864657 16.2106C0.305279 17.0336 0.00421571 18.0049 0 19C0 19.2652 0.105357 19.5196 0.292893 19.7071C0.48043 19.8946 0.734784 20 1 20C1.26522 20 1.51957 19.8946 1.70711 19.7071C1.89464 19.5196 2 19.2652 2 19C2.0027 18.4168 2.17535 17.847 2.49681 17.3604C2.81828 16.8737 3.27462 16.4913 3.81 16.26C4.40471 17.3862 5.29541 18.3289 6.38616 18.9864C7.47692 19.6439 8.72639 19.9914 10 19.9914C11.2736 19.9914 12.5231 19.6439 13.6138 18.9864C14.7046 18.3289 15.5953 17.3862 16.19 16.26C16.7254 16.4913 17.1817 16.8737 17.5032 17.3604C17.8247 17.847 17.9973 18.4168 18 19C18 19.2652 18.1054 19.5196 18.2929 19.7071C18.4804 19.8946 18.7348 20 19 20C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19C19.9958 18.0049 19.6947 17.0336 19.1353 16.2106C18.576 15.3876 17.7837 14.7502 16.86 14.38C16.9522 13.9258 16.9991 13.4635 17 13V12ZM9 17.9C7.87064 17.6695 6.8556 17.0558 6.12669 16.1629C5.39778 15.27 4.99976 14.1527 5 13V9C5 8.20435 5.31607 7.44129 5.87868 6.87868C6.44129 6.31607 7.20435 6 8 6H9V17.9ZM8 4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2C10.5304 2 11.0391 2.21071 11.4142 2.58579C11.7893 2.96086 12 3.46957 12 4H8ZM15 13C15.0002 14.1527 14.6022 15.27 13.8733 16.1629C13.1444 17.0558 12.1294 17.6695 11 17.9V6H12C12.7956 6 13.5587 6.31607 14.1213 6.87868C14.6839 7.44129 15 8.20435 15 9V13Z",fill:"#070B12",__self:void 0,__source:{fileName:cd,lineNumber:65}}))),t.createElement(Xc,{className:""+(f?"active-item":""),onClick:()=>{u(!1),m(!f),A(!1)},__self:void 0,__source:{fileName:cd,lineNumber:69}},t.createElement("div",{className:"notification-dot",__self:void 0,__source:{fileName:cd,lineNumber:74}}),t.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:76}},t.createElement("path",{d:"M14 11.18V8C13.9986 6.58312 13.4958 5.21247 12.5806 4.13077C11.6655 3.04908 10.3971 2.32615 9 2.09V1C9 0.734784 8.89464 0.48043 8.70711 0.292893C8.51957 0.105357 8.26522 0 8 0C7.73478 0 7.48043 0.105357 7.29289 0.292893C7.10536 0.48043 7 0.734784 7 1V2.09C5.60294 2.32615 4.33452 3.04908 3.41939 4.13077C2.50425 5.21247 2.00144 6.58312 2 8V11.18C1.41645 11.3863 0.910998 11.7681 0.552938 12.2729C0.194879 12.7778 0.00173951 13.3811 0 14V16C0 16.2652 0.105357 16.5196 0.292893 16.7071C0.48043 16.8946 0.734784 17 1 17H4.14C4.37028 17.8474 4.873 18.5954 5.5706 19.1287C6.26819 19.6621 7.1219 19.951 8 19.951C8.8781 19.951 9.73181 19.6621 10.4294 19.1287C11.127 18.5954 11.6297 17.8474 11.86 17H15C15.2652 17 15.5196 16.8946 15.7071 16.7071C15.8946 16.5196 16 16.2652 16 16V14C15.9983 13.3811 15.8051 12.7778 15.4471 12.2729C15.089 11.7681 14.5835 11.3863 14 11.18ZM4 8C4 6.93913 4.42143 5.92172 5.17157 5.17157C5.92172 4.42143 6.93913 4 8 4C9.06087 4 10.0783 4.42143 10.8284 5.17157C11.5786 5.92172 12 6.93913 12 8V11H4V8ZM8 18C7.65097 17.9979 7.30857 17.9045 7.00683 17.7291C6.70509 17.5536 6.45451 17.3023 6.28 17H9.72C9.54549 17.3023 9.29491 17.5536 8.99317 17.7291C8.69143 17.9045 8.34903 17.9979 8 18ZM14 15H2V14C2 13.7348 2.10536 13.4804 2.29289 13.2929C2.48043 13.1054 2.73478 13 3 13H13C13.2652 13 13.5196 13.1054 13.7071 13.2929C13.8946 13.4804 14 13.7348 14 14V15Z",fill:"#070B12",__self:void 0,__source:{fileName:cd,lineNumber:77}})))),t.createElement(Zc,{onClick:()=>{u(!1),m(!1),A(!h)},__self:void 0,__source:{fileName:cd,lineNumber:81}},t.createElement("div",{className:"profile-pic",__self:void 0,__source:{fileName:cd,lineNumber:86}}),t.createElement("svg",{className:h?"rotate-icon-180":"rotate-icon-0",width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:88}},t.createElement("path",{d:"M7.33334 1.1133C7.20843 0.989128 7.03946 0.919434 6.86334 0.919434C6.68722 0.919434 6.51825 0.989128 6.39334 1.1133L4.00001 3.4733L1.64001 1.1133C1.5151 0.989128 1.34613 0.919434 1.17001 0.919434C0.993883 0.919434 0.824915 0.989128 0.700006 1.1133C0.637521 1.17527 0.587925 1.249 0.554079 1.33024C0.520233 1.41148 0.502808 1.49862 0.502808 1.58663C0.502808 1.67464 0.520233 1.76177 0.554079 1.84301C0.587925 1.92425 0.637521 1.99799 0.700006 2.05996L3.52667 4.88663C3.58865 4.94911 3.66238 4.99871 3.74362 5.03256C3.82486 5.0664 3.912 5.08383 4.00001 5.08383C4.08801 5.08383 4.17515 5.0664 4.25639 5.03256C4.33763 4.99871 4.41136 4.94911 4.47334 4.88663L7.33334 2.05996C7.39582 1.99799 7.44542 1.92425 7.47927 1.84301C7.51311 1.76177 7.53054 1.67464 7.53054 1.58663C7.53054 1.49862 7.51311 1.41148 7.47927 1.33024C7.44542 1.249 7.39582 1.17527 7.33334 1.1133Z",fill:"#070B12",__self:void 0,__source:{fileName:cd,lineNumber:89}})))),d&&t.createElement(Uc,{__self:void 0,__source:{fileName:cd,lineNumber:95}},1===g&&t.createElement(t.Fragment,null,t.createElement(Kc,{__self:void 0,__source:{fileName:cd,lineNumber:98}},t.createElement("h4",{className:"heading",__self:void 0,__source:{fileName:cd,lineNumber:99}},"Report Bug")),t.createElement(Jc,{__self:void 0,__source:{fileName:cd,lineNumber:101}},t.createElement("textarea",{__self:void 0,__source:{fileName:cd,lineNumber:102}}),t.createElement("div",{className:"info-text",__self:void 0,__source:{fileName:cd,lineNumber:103}},t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:105}},t.createElement("path",{d:"M6.99968 0.333252C5.68114 0.333252 4.3922 0.724245 3.29588 1.45679C2.19955 2.18933 1.34506 3.23052 0.840481 4.4487C0.335896 5.66687 0.203874 7.00731 0.461109 8.30052C0.718344 9.59373 1.35328 10.7816 2.28563 11.714C3.21798 12.6463 4.40587 13.2813 5.69908 13.5385C6.99228 13.7957 8.33273 13.6637 9.5509 13.1591C10.7691 12.6545 11.8103 11.8 12.5428 10.7037C13.2754 9.60739 13.6663 8.31846 13.6663 6.99992C13.6644 5.23241 12.9614 3.53786 11.7116 2.28804C10.4617 1.03823 8.76718 0.335218 6.99968 0.333252ZM6.99968 12.3333C5.94484 12.3333 4.9137 12.0205 4.03664 11.4344C3.15957 10.8484 2.47599 10.0154 2.07232 9.0409C1.66865 8.06636 1.56304 6.994 1.76882 5.95944C1.97461 4.92487 2.48256 3.97456 3.22844 3.22868C3.97432 2.4828 4.92463 1.97485 5.9592 1.76906C6.99376 1.56328 8.06612 1.66889 9.04066 2.07256C10.0152 2.47623 10.8481 3.15982 11.4342 4.03688C12.0202 4.91394 12.333 5.94508 12.333 6.99992C12.3314 8.41391 11.769 9.76952 10.7691 10.7694C9.76928 11.7692 8.41367 12.3316 6.99968 12.3333ZM6.99968 6.66658C6.82287 6.66658 6.6533 6.73682 6.52827 6.86185C6.40325 6.98687 6.33301 7.15644 6.33301 7.33325V9.33325C6.33301 9.51006 6.40325 9.67963 6.52827 9.80466C6.6533 9.92968 6.82287 9.99992 6.99968 9.99992C7.17649 9.99992 7.34606 9.92968 7.47108 9.80466C7.59611 9.67963 7.66634 9.51006 7.66634 9.33325V7.33325C7.66634 7.15644 7.59611 6.98687 7.47108 6.86185C7.34606 6.73682 7.17649 6.66658 6.99968 6.66658ZM6.99968 3.99992C6.83486 3.99992 6.67374 4.04879 6.5367 4.14036C6.39966 4.23193 6.29285 4.36208 6.22978 4.51435C6.16671 4.66662 6.1502 4.83418 6.18236 4.99583C6.21451 5.15748 6.29388 5.30596 6.41042 5.42251C6.52697 5.53905 6.67545 5.61842 6.8371 5.65057C6.99875 5.68273 7.16631 5.66622 7.31858 5.60315C7.47085 5.54008 7.601 5.43327 7.69257 5.29623C7.78414 5.15919 7.83301 4.99807 7.83301 4.83325C7.83301 4.61224 7.74521 4.40028 7.58893 4.244C7.43265 4.08772 7.22069 3.99992 6.99968 3.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:cd,lineNumber:106}})),t.createElement("p",{__self:void 0,__source:{fileName:cd,lineNumber:108}},"By submitting a report you agree to your current browser tab and LP system information being captured.")),!C&&t.createElement(c,{size:"md",variant:"primary",onClick:function(){_(!0),setTimeout((()=>{b(g+1),_(!1)}),2e3)},__self:void 0,__source:{fileName:cd,lineNumber:110}},"Report Bug"),C&&t.createElement(c,{size:"md",variant:"primary",disabled:!0,__self:void 0,__source:{fileName:cd,lineNumber:111}},t.createElement($,{variant:"primary",__self:void 0,__source:{fileName:cd,lineNumber:111}})))),2===g&&t.createElement(nd,{__self:void 0,__source:{fileName:cd,lineNumber:116}},t.createElement(p,{headingText:"Bug report sent",__self:void 0,__source:{fileName:cd,lineNumber:117}}))),f&&t.createElement(Gc,{__self:void 0,__source:{fileName:cd,lineNumber:124}},l&&l.length>0&&t.createElement(t.Fragment,null,t.createElement(Kc,{__self:void 0,__source:{fileName:cd,lineNumber:127}},t.createElement("h4",{__self:void 0,__source:{fileName:cd,lineNumber:128}},"Notifications")),t.createElement($c,{__self:void 0,__source:{fileName:cd,lineNumber:130}},l.map(((e,i)=>e.notifRead?e.notifRead?t.createElement(td,{key:i,__self:void 0,__source:{fileName:cd,lineNumber:167}},t.createElement("div",{__self:void 0,__source:{fileName:cd,lineNumber:168}},t.createElement("img",{src:ad,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"client logo",__self:void 0,__source:{fileName:cd,lineNumber:168}})),t.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:cd,lineNumber:169}},t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:cd,lineNumber:170}},t.createElement("div",{__self:void 0,__source:{fileName:cd,lineNumber:171}},t.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:cd,lineNumber:172}},e.notifTitle),t.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:cd,lineNumber:173}},e.lpProvider," • #",e.transactionNumber)),t.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:cd,lineNumber:175}},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:cd,lineNumber:176}},t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:cd,lineNumber:177}},t.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:cd,lineNumber:178}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:cd,lineNumber:179}},e.baseCurrencyCode," 12,900.99")),t.createElement("div",{__self:void 0,__source:{fileName:cd,lineNumber:181}},t.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:cd,lineNumber:182}})),t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:cd,lineNumber:184}},t.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:cd,lineNumber:185}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:cd,lineNumber:186}},e.exchCurrencyCode," 1,228.08"))))),t.createElement(sd,{__self:void 0,__source:{fileName:cd,lineNumber:191}},e.notifTime))):void 0:t.createElement(ed,{key:i,__self:void 0,__source:{fileName:cd,lineNumber:135}},t.createElement("div",{__self:void 0,__source:{fileName:cd,lineNumber:136}},t.createElement("img",{src:ad,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"Provider logo",__self:void 0,__source:{fileName:cd,lineNumber:136}})),t.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:cd,lineNumber:137}},t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:cd,lineNumber:138}},t.createElement("div",{__self:void 0,__source:{fileName:cd,lineNumber:139}},t.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:cd,lineNumber:140}},e.notifTitle),t.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:cd,lineNumber:141}},e.lpProvider," • #",e.transactionNumber)),t.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:cd,lineNumber:143}},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:cd,lineNumber:144}},t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:cd,lineNumber:145}},t.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:cd,lineNumber:146}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:cd,lineNumber:147}},e.baseCurrencyCode," ",e.baseAmount)),t.createElement("div",{__self:void 0,__source:{fileName:cd,lineNumber:149}},t.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:cd,lineNumber:150}})),t.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:cd,lineNumber:152}},t.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:cd,lineNumber:153}}),t.createElement("p",{style:{color:s["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:cd,lineNumber:154}},e.exchCurrencyCode," ",e.exchAmount))))),t.createElement(sd,{__self:void 0,__source:{fileName:cd,lineNumber:159}},e.notifTime))))))),l&&0===l.length&&t.createElement(ld,{__self:void 0,__source:{fileName:cd,lineNumber:201}},t.createElement(od,{__self:void 0,__source:{fileName:cd,lineNumber:202}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:203}},t.createElement("g",{clipPath:"url(#clip0_499_2669)",__self:void 0,__source:{fileName:cd,lineNumber:204}},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46 26.5003C46 26.5003 46 28.3139 46 24.5001C46 16.768 39.732 10.501 32 10.501C24.268 10.501 18 16.768 18 24.5001C18 28.3139 18 26.5003 18 26.5003",fill:"#E8EEF7",__self:void 0,__source:{fileName:cd,lineNumber:205}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.521 48.5003H37C38.104 48.5003 39 49.397 39 50.5006C39 51.6041 38.104 52.5008 37 52.5008H12C11.253 52.5008 10.567 52.0834 10.224 51.4198C9.87998 50.7562 9.93499 49.9559 10.367 49.3459C10.367 49.3459 16 41.4092 16 32.501V24.5001C16 15.6644 23.163 8.50076 32 8.50076C40.837 8.50076 48 15.6644 48 24.5001C48 28.3139 48 28.4982 48 32.501C48 41.4092 53.633 49.3459 53.633 49.3459C54.065 49.9559 54.12 50.7562 53.776 51.4198C53.433 52.0834 52.747 52.5008 52 52.5008H46C44.896 52.5008 44 51.6041 44 50.5006C44 49.397 44.896 48.5003 46 48.5003H48.479C46.601 44.997 44 38.9726 44 32.501C44 28.4982 44 28.3139 44 24.5001C44 17.8728 38.627 12.5 32 12.5C25.373 12.5 20 17.8728 20 24.5001V32.501C20 38.9726 17.399 44.997 15.521 48.5003Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:cd,lineNumber:206}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.658 50.5C37.88 51.126 38 51.799 38 52.5C38 55.811 35.311 58.5 32 58.5C28.689 58.5 26 55.811 26 52.5C26 51.799 26.12 51.126 26.342 50.5H37.658Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:cd,lineNumber:207}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.543 49.833C39.261 49.034 38.505 48.5 37.658 48.5H26.342C25.495 48.5 24.739 49.034 24.457 49.833C24.161 50.667 24 51.565 24 52.5C24 56.915 27.585 60.5 32 60.5C36.415 60.5 40 56.915 40 52.5C40 51.565 39.839 50.667 39.543 49.833ZM28.005 52.706C28.113 54.818 29.861 56.5 32 56.5C34.208 56.5 36 54.708 36 52.5H28L28.005 52.706ZM30 6.5V10.5C30 11.604 30.896 12.5 32 12.5C33.104 12.5 34 11.604 34 10.5V6.5C34 5.396 33.104 4.5 32 4.5C30.896 4.5 30 5.396 30 6.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:cd,lineNumber:208}})),t.createElement("defs",{__self:void 0,__source:{fileName:cd,lineNumber:210}},t.createElement("clipPath",{id:"clip0_499_2669",__self:void 0,__source:{fileName:cd,lineNumber:211}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:cd,lineNumber:212}})))),t.createElement("div",{className:"text-center",__self:void 0,__source:{fileName:cd,lineNumber:216}},t.createElement("h3",{className:"text-neutral-900 text-heading",__self:void 0,__source:{fileName:cd,lineNumber:217}},"No Notifications"),t.createElement("p",{className:"subtext",__self:void 0,__source:{fileName:cd,lineNumber:218}},"Your notifications will show up here when you have them"))))),h&&t.createElement(id,{__self:void 0,__source:{fileName:cd,lineNumber:227}},t.createElement(qc,{__self:void 0,__source:{fileName:cd,lineNumber:228}},t.createElement("h4",{__self:void 0,__source:{fileName:cd,lineNumber:229}},r)),t.createElement(rd,{href:o,__self:void 0,__source:{fileName:cd,lineNumber:231}},t.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:cd,lineNumber:232}},t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:234}},t.createElement("path",{d:"M9.47333 7.47325C10.1269 6.95903 10.604 6.25387 10.8382 5.45588C11.0723 4.6579 11.0519 3.80676 10.7799 3.0209C10.5078 2.23503 9.9975 1.55352 9.32005 1.07116C8.64259 0.5888 7.83163 0.32959 7 0.32959C6.16836 0.32959 5.35741 0.5888 4.67995 1.07116C4.00249 1.55352 3.49223 2.23503 3.22014 3.0209C2.94805 3.80676 2.92767 4.6579 3.16184 5.45588C3.396 6.25387 3.87307 6.95903 4.52666 7.47325C3.40672 7.92195 2.42952 8.66615 1.69926 9.62653C0.968996 10.5869 0.51304 11.7275 0.379998 12.9266C0.370368 13.0141 0.378075 13.1027 0.402681 13.1873C0.427287 13.2719 0.468309 13.3508 0.523405 13.4195C0.634677 13.5582 0.79652 13.6471 0.973331 13.6666C1.15014 13.686 1.32744 13.6345 1.46621 13.5232C1.60499 13.4119 1.69388 13.2501 1.71333 13.0733C1.85972 11.77 2.48112 10.5665 3.45881 9.69245C4.4365 8.81844 5.70193 8.33527 7.01333 8.33527C8.32473 8.33527 9.59016 8.81844 10.5679 9.69245C11.5455 10.5665 12.1669 11.77 12.3133 13.0733C12.3315 13.2371 12.4096 13.3884 12.5327 13.4979C12.6559 13.6075 12.8152 13.6676 12.98 13.6666H13.0533C13.2281 13.6465 13.3878 13.5581 13.4977 13.4208C13.6076 13.2834 13.6587 13.1082 13.64 12.9333C13.5063 11.7307 13.0479 10.5872 12.3139 9.62539C11.5799 8.66354 10.5979 7.91957 9.47333 7.47325V7.47325ZM7 6.99992C6.47258 6.99992 5.95701 6.84352 5.51848 6.55051C5.07995 6.25749 4.73815 5.84101 4.53632 5.35374C4.33449 4.86647 4.28168 4.3303 4.38457 3.81301C4.48746 3.29573 4.74144 2.82058 5.11438 2.44764C5.48732 2.0747 5.96247 1.82072 6.47976 1.71783C6.99704 1.61493 7.53322 1.66774 8.02049 1.86958C8.50776 2.07141 8.92423 2.4132 9.21725 2.85173C9.51027 3.29026 9.66667 3.80584 9.66667 4.33325C9.66667 5.0405 9.38571 5.71878 8.88562 6.21887C8.38552 6.71897 7.70724 6.99992 7 6.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:cd,lineNumber:235}})),"My Profile"),t.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:240}},t.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:cd,lineNumber:241}}))),t.createElement(rd,{href:"#",__self:void 0,__source:{fileName:cd,lineNumber:244}},t.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:cd,lineNumber:245}},t.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:247}},t.createElement("path",{d:"M0.666992 7.00016C0.666992 7.17697 0.73723 7.34654 0.862254 7.47157C0.987279 7.59659 1.15685 7.66683 1.33366 7.66683H6.39366L4.86033 9.1935C4.79784 9.25547 4.74824 9.3292 4.7144 9.41044C4.68055 9.49168 4.66313 9.57882 4.66313 9.66683C4.66313 9.75484 4.68055 9.84197 4.7144 9.92321C4.74824 10.0045 4.79784 10.0782 4.86033 10.1402C4.9223 10.2026 4.99604 10.2522 5.07727 10.2861C5.15851 10.3199 5.24565 10.3374 5.33366 10.3374C5.42167 10.3374 5.5088 10.3199 5.59004 10.2861C5.67128 10.2522 5.74502 10.2026 5.80699 10.1402L8.47366 7.4735C8.53435 7.41009 8.58193 7.33533 8.61366 7.2535C8.68034 7.09119 8.68034 6.90914 8.61366 6.74683C8.58193 6.66499 8.53435 6.59023 8.47366 6.52683L5.80699 3.86016C5.74483 3.798 5.67104 3.7487 5.58983 3.71506C5.50861 3.68142 5.42157 3.6641 5.33366 3.6641C5.24575 3.6641 5.15871 3.68142 5.07749 3.71506C4.99628 3.7487 4.92248 3.798 4.86033 3.86016C4.79817 3.92232 4.74886 3.99611 4.71522 4.07733C4.68158 4.15854 4.66426 4.24559 4.66426 4.3335C4.66426 4.4214 4.68158 4.50845 4.71522 4.58966C4.74886 4.67088 4.79817 4.74467 4.86033 4.80683L6.39366 6.3335H1.33366C1.15685 6.3335 0.987279 6.40373 0.862254 6.52876C0.73723 6.65378 0.666992 6.82335 0.666992 7.00016ZM9.33366 0.333496H2.66699C2.13656 0.333496 1.62785 0.54421 1.25278 0.919283C0.877706 1.29436 0.666992 1.80306 0.666992 2.3335V4.3335C0.666992 4.51031 0.73723 4.67988 0.862254 4.8049C0.987279 4.92992 1.15685 5.00016 1.33366 5.00016C1.51047 5.00016 1.68004 4.92992 1.80506 4.8049C1.93009 4.67988 2.00033 4.51031 2.00033 4.3335V2.3335C2.00033 2.15668 2.07056 1.98712 2.19559 1.86209C2.32061 1.73707 2.49018 1.66683 2.66699 1.66683H9.33366C9.51047 1.66683 9.68004 1.73707 9.80506 1.86209C9.93009 1.98712 10.0003 2.15668 10.0003 2.3335V11.6668C10.0003 11.8436 9.93009 12.0132 9.80506 12.1382C9.68004 12.2633 9.51047 12.3335 9.33366 12.3335H2.66699C2.49018 12.3335 2.32061 12.2633 2.19559 12.1382C2.07056 12.0132 2.00033 11.8436 2.00033 11.6668V9.66683C2.00033 9.49002 1.93009 9.32045 1.80506 9.19542C1.68004 9.0704 1.51047 9.00016 1.33366 9.00016C1.15685 9.00016 0.987279 9.0704 0.862254 9.19542C0.73723 9.32045 0.666992 9.49002 0.666992 9.66683V11.6668C0.666992 12.1973 0.877706 12.706 1.25278 13.081C1.62785 13.4561 2.13656 13.6668 2.66699 13.6668H9.33366C9.86409 13.6668 10.3728 13.4561 10.7479 13.081C11.1229 12.706 11.3337 12.1973 11.3337 11.6668V2.3335C11.3337 1.80306 11.1229 1.29436 10.7479 0.919283C10.3728 0.54421 9.86409 0.333496 9.33366 0.333496Z",fill:"#070B12",__self:void 0,__source:{fileName:cd,lineNumber:248}})),"Sign Out"),t.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:cd,lineNumber:254}},t.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:cd,lineNumber:255}})))))},ud=o.div`
|
|
2576
2615
|
display: flex;
|
|
2577
2616
|
flex-direction: column;
|
|
2578
2617
|
gap: 8px;
|
|
2579
2618
|
width: 420px;
|
|
2580
|
-
`,
|
|
2619
|
+
`,fd=o.div`
|
|
2581
2620
|
border-radius: 8px;
|
|
2582
2621
|
padding: 16px;
|
|
2583
2622
|
border: 1px solid ${s["neutral-100"]};
|
|
2584
2623
|
background: ${s.white};
|
|
2585
|
-
`,
|
|
2624
|
+
`,md=o.div`
|
|
2586
2625
|
display: flex;
|
|
2587
2626
|
justify-content: space-between;
|
|
2588
2627
|
align-items: center;
|
|
2589
2628
|
margin-bottom: 24px;
|
|
2590
|
-
`,
|
|
2629
|
+
`,hd=o.h6`
|
|
2591
2630
|
margin: 0;
|
|
2592
2631
|
color: ${s["neutral-900"]};
|
|
2593
|
-
`,
|
|
2632
|
+
`,Ad=o.div`
|
|
2594
2633
|
display: flex;
|
|
2595
2634
|
justify-content: space-between;
|
|
2596
2635
|
align-items: end;
|
|
2597
|
-
`,
|
|
2636
|
+
`,gd=o.div`
|
|
2598
2637
|
display: flex;
|
|
2599
2638
|
justify-content: space-between;
|
|
2600
2639
|
width: 250px;
|
|
2601
|
-
`,
|
|
2640
|
+
`,pd=o.div`
|
|
2602
2641
|
small{
|
|
2603
2642
|
color: ${s["neutral-500"]};
|
|
2604
2643
|
}
|
|
@@ -2606,7 +2645,7 @@ button{
|
|
|
2606
2645
|
margin: 4px 0 0;
|
|
2607
2646
|
color: ${s["neutral-600"]};
|
|
2608
2647
|
};
|
|
2609
|
-
`,
|
|
2648
|
+
`,bd=o.div`
|
|
2610
2649
|
p{
|
|
2611
2650
|
font-size: 10px;
|
|
2612
2651
|
line-height: 12px;
|
|
@@ -2616,13 +2655,13 @@ button{
|
|
|
2616
2655
|
text-align: end;
|
|
2617
2656
|
margin: 0;
|
|
2618
2657
|
}
|
|
2619
|
-
|
|
2658
|
+
`;const Cd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\MarketData\\MarketData.tsx",_d=e=>{const{marketData:i}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(ud,{__self:void 0,__source:{fileName:Cd,lineNumber:21}},i.map(((e,i)=>{return t.createElement(fd,{key:i,__self:void 0,__source:{fileName:Cd,lineNumber:23}},t.createElement(md,{__self:void 0,__source:{fileName:Cd,lineNumber:24}},t.createElement(hd,{className:"heading6SMedium",__self:void 0,__source:{fileName:Cd,lineNumber:25}},e.market),t.createElement("img",{src:e.marketCountryFlag,alt:"Country flag",__self:void 0,__source:{fileName:Cd,lineNumber:26}})),t.createElement(Ad,{__self:void 0,__source:{fileName:Cd,lineNumber:29}},t.createElement(gd,{__self:void 0,__source:{fileName:Cd,lineNumber:30}},t.createElement(pd,{__self:void 0,__source:{fileName:Cd,lineNumber:31}},t.createElement("small",{className:"captionBook",__self:void 0,__source:{fileName:Cd,lineNumber:32}},"Volume"),t.createElement("p",{className:"heading6SMedium",__self:void 0,__source:{fileName:Cd,lineNumber:33}},(r=e.volume,new Intl.NumberFormat("en-US").format(r)))),t.createElement(pd,{__self:void 0,__source:{fileName:Cd,lineNumber:35}},t.createElement("small",{className:"captionBook",__self:void 0,__source:{fileName:Cd,lineNumber:36}},"Market Cap"),t.createElement("p",{className:"heading6SMedium",__self:void 0,__source:{fileName:Cd,lineNumber:37}},function(e){return new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}(e.marketCap)))),t.createElement(bd,{__self:void 0,__source:{fileName:Cd,lineNumber:40}},t.createElement("p",{__self:void 0,__source:{fileName:Cd,lineNumber:41}},"Last updated:",t.createElement("br",{__self:void 0,__source:{fileName:Cd,lineNumber:42}}),e.lastUpdated))));var r}))))},vd=o.div`
|
|
2620
2659
|
width: 420px;
|
|
2621
|
-
`,
|
|
2660
|
+
`,xd=o.div`
|
|
2622
2661
|
display: flex;
|
|
2623
2662
|
flex-direction: column;
|
|
2624
2663
|
gap: 8px;
|
|
2625
|
-
`,
|
|
2664
|
+
`,Nd=o.div`
|
|
2626
2665
|
padding: 16px;
|
|
2627
2666
|
border-radius: 8px;
|
|
2628
2667
|
border: 1px solid ${s["neutral-100"]};
|
|
@@ -2631,12 +2670,12 @@ button{
|
|
|
2631
2670
|
gap: 14px;
|
|
2632
2671
|
align-items: center;
|
|
2633
2672
|
//height: 76px;
|
|
2634
|
-
`,
|
|
2673
|
+
`,wd=o.div`
|
|
2635
2674
|
display: flex;
|
|
2636
2675
|
justify-content: space-between;
|
|
2637
2676
|
align-items: center;
|
|
2638
2677
|
width: 100%;
|
|
2639
|
-
`,
|
|
2678
|
+
`,Ed=o.div`
|
|
2640
2679
|
display: flex;
|
|
2641
2680
|
flex-direction: column;
|
|
2642
2681
|
gap: 8px;
|
|
@@ -2673,7 +2712,7 @@ button{
|
|
|
2673
2712
|
.error{
|
|
2674
2713
|
color: ${s["error-500"]};
|
|
2675
2714
|
}
|
|
2676
|
-
`,
|
|
2715
|
+
`,yd=o.p`
|
|
2677
2716
|
color: ${s["neutral-600"]};
|
|
2678
2717
|
font-weight: 400;
|
|
2679
2718
|
font-size: 10px;
|
|
@@ -2682,9 +2721,9 @@ button{
|
|
|
2682
2721
|
margin: 0;
|
|
2683
2722
|
text-align: right;
|
|
2684
2723
|
padding: 0 8px 0 0;
|
|
2685
|
-
`,yd=o.div`
|
|
2686
|
-
display: flex;
|
|
2687
2724
|
`,Dd=o.div`
|
|
2725
|
+
display: flex;
|
|
2726
|
+
`,Bd=o.div`
|
|
2688
2727
|
width: 100%;
|
|
2689
2728
|
height: 51px;
|
|
2690
2729
|
display: flex;
|
|
@@ -2709,19 +2748,19 @@ button{
|
|
|
2709
2748
|
}
|
|
2710
2749
|
}
|
|
2711
2750
|
}
|
|
2712
|
-
`,
|
|
2751
|
+
`,Md=o.div`
|
|
2713
2752
|
color: ${s["neutral-900"]};
|
|
2714
2753
|
padding: 8px 0;
|
|
2715
2754
|
position: relative;
|
|
2716
2755
|
display: flex;
|
|
2717
2756
|
flex-direction: column;
|
|
2718
2757
|
flex: 1;
|
|
2719
|
-
`,
|
|
2758
|
+
`,kd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Tab\\Tab.tsx",Pd=e=>{const{tabs:r,bgHexColor:n,inactiveTabBgHexColor:l,selectedTab:o,header:s}=e,[a,c]=i(0);return t.createElement(t.Fragment,null,r&&r.length>0&&t.createElement(Dd,{style:{background:l},__self:void 0,__source:{fileName:kd,lineNumber:15}},r.map(((e,i)=>t.createElement(Bd,{key:i,className:a===i?"active":"",style:{background:a===i?e.activeBgHexColor:""},onClick:()=>{c(i),o&&o(i)},__self:void 0,__source:{fileName:kd,lineNumber:18}},t.createElement("span",{className:"heading6SMedium",__self:void 0,__source:{fileName:kd,lineNumber:21}},e.tabName))))),s&&s,t.createElement(Md,{style:{background:n},__self:void 0,__source:{fileName:kd,lineNumber:27}},r&&t.createElement(t.Fragment,null,r[a].tabComponent)))},Ld="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\MarketMovers\\MarketMovers.tsx",Hd=e=>{const{movers:i,lastUpdated:r}=e,n=[{tabName:"Gainers",tabComponent:t.createElement((e=>{const{movers:i}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(xd,{__self:void 0,__source:{fileName:Ld,lineNumber:17}},i.map(((e,i)=>{if("top"===e.type.toLowerCase())return t.createElement(Nd,{key:i,__self:void 0,__source:{fileName:Ld,lineNumber:21}},t.createElement("div",{__self:void 0,__source:{fileName:Ld,lineNumber:22}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ld,lineNumber:23}},t.createElement("path",{d:"M10.71 6.29C10.6149 6.19896 10.5028 6.12759 10.38 6.08C10.1365 5.97998 9.86347 5.97998 9.62 6.08C9.49725 6.12759 9.38511 6.19896 9.29 6.29L6.29 9.29C6.1017 9.4783 5.99591 9.7337 5.99591 10C5.99591 10.2663 6.1017 10.5217 6.29 10.71C6.47831 10.8983 6.7337 11.0041 7 11.0041C7.26631 11.0041 7.5217 10.8983 7.71 10.71L9 9.41V13C9 13.2652 9.10536 13.5196 9.2929 13.7071C9.48043 13.8946 9.73479 14 10 14C10.2652 14 10.5196 13.8946 10.7071 13.7071C10.8946 13.5196 11 13.2652 11 13V9.41L12.29 10.71C12.383 10.8037 12.4936 10.8781 12.6154 10.9289C12.7373 10.9797 12.868 11.0058 13 11.0058C13.132 11.0058 13.2627 10.9797 13.3846 10.9289C13.5064 10.8781 13.617 10.8037 13.71 10.71C13.8037 10.617 13.8781 10.5064 13.9289 10.3846C13.9797 10.2627 14.0058 10.132 14.0058 10C14.0058 9.86799 13.9797 9.73728 13.9289 9.61542C13.8781 9.49356 13.8037 9.38296 13.71 9.29L10.71 6.29ZM10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18Z",fill:"#06BA63",__self:void 0,__source:{fileName:Ld,lineNumber:24}}))),t.createElement(Ed,{__self:void 0,__source:{fileName:Ld,lineNumber:27}},t.createElement(wd,{__self:void 0,__source:{fileName:Ld,lineNumber:28}},t.createElement("div",{className:"entity-short-name",__self:void 0,__source:{fileName:Ld,lineNumber:29}},t.createElement("p",{className:"heading6SMedium",__self:void 0,__source:{fileName:Ld,lineNumber:30}},e.entityShortName)),t.createElement("div",{className:"changeRatio",__self:void 0,__source:{fileName:Ld,lineNumber:32}},t.createElement("span",{className:"success",__self:void 0,__source:{fileName:Ld,lineNumber:33}},e.changeAmount)," / ",t.createElement("span",{className:"success",__self:void 0,__source:{fileName:Ld,lineNumber:33}},e.changePercent,"%"))),t.createElement(wd,{__self:void 0,__source:{fileName:Ld,lineNumber:36}},t.createElement("div",{className:"entity-long-name",__self:void 0,__source:{fileName:Ld,lineNumber:37}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Ld,lineNumber:38}},e.entityName),t.createElement("img",{src:e.marketFlag,alt:"Market flag",__self:void 0,__source:{fileName:Ld,lineNumber:39}})),t.createElement("div",{className:"entity-price",__self:void 0,__source:{fileName:Ld,lineNumber:41}},e.entityPrice))))}))))}),{movers:i,__self:void 0,__source:{fileName:Ld,lineNumber:103}})},{tabName:"Losers",tabComponent:t.createElement((e=>{const{movers:i}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(xd,{__self:void 0,__source:{fileName:Ld,lineNumber:61}},i.map(((e,i)=>{if("worst"===e.type.toLowerCase())return t.createElement(Nd,{key:i,__self:void 0,__source:{fileName:Ld,lineNumber:65}},t.createElement("div",{__self:void 0,__source:{fileName:Ld,lineNumber:66}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ld,lineNumber:67}},t.createElement("path",{d:"M9.29 13.71C9.3851 13.801 9.49725 13.8724 9.62 13.92C9.86346 14.02 10.1365 14.02 10.38 13.92C10.5028 13.8724 10.6149 13.801 10.71 13.71L13.71 10.71C13.8983 10.5217 14.0041 10.2663 14.0041 10C14.0041 9.7337 13.8983 9.47831 13.71 9.29C13.5217 9.1017 13.2663 8.99591 13 8.99591C12.7337 8.99591 12.4783 9.1017 12.29 9.29L11 10.59V7C11 6.73479 10.8946 6.48043 10.7071 6.2929C10.5196 6.10536 10.2652 6 10 6C9.73478 6 9.48043 6.10536 9.29289 6.2929C9.10536 6.48043 9 6.73479 9 7V10.59L7.71 9.29C7.61704 9.19628 7.50644 9.12188 7.38458 9.07111C7.26272 9.02034 7.13201 8.99421 7 8.99421C6.86799 8.99421 6.73728 9.02034 6.61542 9.07111C6.49356 9.12188 6.38296 9.19628 6.29 9.29C6.19627 9.38297 6.12188 9.49357 6.07111 9.61543C6.02034 9.73729 5.9942 9.86799 5.9942 10C5.9942 10.132 6.02034 10.2627 6.07111 10.3846C6.12188 10.5064 6.19627 10.617 6.29 10.71L9.29 13.71ZM10 20C11.9778 20 13.9112 19.4135 15.5557 18.3147C17.2002 17.2159 18.4819 15.6541 19.2388 13.8268C19.9957 11.9996 20.1937 9.98891 19.8079 8.0491C19.422 6.10929 18.4696 4.32746 17.0711 2.92894C15.6725 1.53041 13.8907 0.578004 11.9509 0.192152C10.0111 -0.193701 8.00043 0.00433284 6.17317 0.761209C4.3459 1.51809 2.78412 2.79981 1.6853 4.4443C0.58649 6.08879 0 8.02219 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7363 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20V20ZM10 2C11.5823 2 13.129 2.4692 14.4446 3.34825C15.7602 4.2273 16.7855 5.47673 17.391 6.93854C17.9965 8.40035 18.155 10.0089 17.8463 11.5607C17.5376 13.1126 16.7757 14.538 15.6569 15.6569C14.538 16.7757 13.1126 17.5376 11.5607 17.8463C10.0089 18.155 8.40034 17.9965 6.93853 17.391C5.47672 16.7855 4.22729 15.7602 3.34824 14.4446C2.46919 13.129 2 11.5823 2 10C2 7.87827 2.84285 5.84344 4.34315 4.34315C5.84344 2.84286 7.87827 2 10 2V2Z",fill:"#F80000",__self:void 0,__source:{fileName:Ld,lineNumber:68}}))),t.createElement(Ed,{__self:void 0,__source:{fileName:Ld,lineNumber:71}},t.createElement(wd,{__self:void 0,__source:{fileName:Ld,lineNumber:72}},t.createElement("div",{className:"entity-short-name",__self:void 0,__source:{fileName:Ld,lineNumber:73}},t.createElement("p",{className:"heading6SMedium",__self:void 0,__source:{fileName:Ld,lineNumber:74}},e.entityShortName)),t.createElement("div",{className:"changeRatio",__self:void 0,__source:{fileName:Ld,lineNumber:76}},t.createElement("span",{className:"success",__self:void 0,__source:{fileName:Ld,lineNumber:77}},e.changeAmount)," / ",t.createElement("span",{className:"success",__self:void 0,__source:{fileName:Ld,lineNumber:77}},e.changePercent,"%"))),t.createElement(wd,{__self:void 0,__source:{fileName:Ld,lineNumber:80}},t.createElement("div",{className:"entity-long-name",__self:void 0,__source:{fileName:Ld,lineNumber:81}},t.createElement("p",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Ld,lineNumber:82}},e.entityName),t.createElement("img",{src:e.marketFlag,alt:"Market flag",__self:void 0,__source:{fileName:Ld,lineNumber:83}})),t.createElement("div",{className:"entity-price",__self:void 0,__source:{fileName:Ld,lineNumber:85}},e.entityPrice))))}))))}),{movers:i,__self:void 0,__source:{fileName:Ld,lineNumber:107}})}];return t.createElement(vd,{__self:void 0,__source:{fileName:Ld,lineNumber:112}},t.createElement(Pd,{tabs:n,__self:void 0,__source:{fileName:Ld,lineNumber:113}}),r&&t.createElement(yd,{__self:void 0,__source:{fileName:Ld,lineNumber:114}},"Last updated on ",r))},Id=o.div`
|
|
2720
2759
|
display: flex;
|
|
2721
2760
|
justify-content: space-around;
|
|
2722
2761
|
align-items: center;
|
|
2723
2762
|
background: ${s.white};
|
|
2724
|
-
`,
|
|
2763
|
+
`,Fd=o.div`
|
|
2725
2764
|
display: flex;
|
|
2726
2765
|
gap: 8px;
|
|
2727
2766
|
align-items: center;
|
|
@@ -2742,7 +2781,7 @@ button{
|
|
|
2742
2781
|
border-bottom: 1px solid ${s["primary-500"]};
|
|
2743
2782
|
color: ${s["primary-500"]};
|
|
2744
2783
|
}
|
|
2745
|
-
`,
|
|
2784
|
+
`,Qd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\MenuBar\\MenuBar.tsx",Od=e=>{const{menuItems:i,currentPageName:r}=e;return t.createElement(t.Fragment,null,i&&i.length&&t.createElement(Id,{__self:void 0,__source:{fileName:Qd,lineNumber:14}},t.createElement(Fd,{__self:void 0,__source:{fileName:Qd,lineNumber:15}},i.map(((e,i)=>t.createElement("a",{key:i,href:e.url,className:"menu-item "+(e.pageName&&e.pageName.toLowerCase()===r&&r.toLowerCase()?"active":""),__self:void 0,__source:{fileName:Qd,lineNumber:17}},e.label))))))},Rd=o.div`
|
|
2746
2785
|
padding: 24px;
|
|
2747
2786
|
border-radius: 8px;
|
|
2748
2787
|
background:${s.white};
|
|
@@ -2762,7 +2801,7 @@ button{
|
|
|
2762
2801
|
flex-direction: column-reverse;
|
|
2763
2802
|
gap: 16px;
|
|
2764
2803
|
}
|
|
2765
|
-
`,
|
|
2804
|
+
`,Vd=o.div`
|
|
2766
2805
|
border-radius: 8px;
|
|
2767
2806
|
overflow: hidden;
|
|
2768
2807
|
display: flex;
|
|
@@ -2788,7 +2827,7 @@ button{
|
|
|
2788
2827
|
border-radius: 8px;
|
|
2789
2828
|
}
|
|
2790
2829
|
}
|
|
2791
|
-
`,
|
|
2830
|
+
`,Yd=o.div`
|
|
2792
2831
|
background: ${s["neutral-50"]};
|
|
2793
2832
|
border-radius: 8px;
|
|
2794
2833
|
display: inline-flex;
|
|
@@ -2818,7 +2857,7 @@ button{
|
|
|
2818
2857
|
-webkit-line-clamp: 2;
|
|
2819
2858
|
-webkit-box-orient: vertical;
|
|
2820
2859
|
}
|
|
2821
|
-
`,
|
|
2860
|
+
`,Sd=o.p`
|
|
2822
2861
|
display: -webkit-box;
|
|
2823
2862
|
-webkit-line-clamp: 1;
|
|
2824
2863
|
-webkit-box-orient: vertical;
|
|
@@ -2830,7 +2869,7 @@ button{
|
|
|
2830
2869
|
overflow: hidden;*/
|
|
2831
2870
|
display: none;
|
|
2832
2871
|
}
|
|
2833
|
-
`,
|
|
2872
|
+
`,jd=o.div`
|
|
2834
2873
|
width: 760px;
|
|
2835
2874
|
display: flex;
|
|
2836
2875
|
flex-direction: column;
|
|
@@ -2840,7 +2879,7 @@ button{
|
|
|
2840
2879
|
@media (max-width: 1024px) {
|
|
2841
2880
|
width: 334px !important;
|
|
2842
2881
|
}
|
|
2843
|
-
`;var jd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAJYCAYAAABy5h8aAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAADg3SURBVHgB7d1trFx1fh/w/zULwUBUG7s1SDXF66q2IxXsiq0W+8XCFlDIdq2wb3Aq9cG8qJTdqk0ioVR5Ubp5USVCStNqN5Gqat2+6YIqLRG7LRGLZKLKJmpQbVAb7CiskZ0WW/JTGxZTtvh2fnM5Zu65Z2bOzJ258xvfz0e6su+9M+fxf849/+/8HxZKS2fOXNn055+Uny8L17+0UBb2LpZyf+fHmwoAAAAADHd1oZT3FsviybK4+Ac/fcstv7djx+arbd64MOwF75y5cv9Prl//J52X/oMisAIAAABgYhb/3a0bNnxzz47N7w16Vd8Aq9viqpTnyvXFXyoAAAAAMDWLv/3Azi2/3O+3jQHWUqurxaNlqZsgAAAAAEzbe7duWHi0qTXWhvoP/seZK3uFVwAAAACssW6Dqv/xJ1f21n+xrAWWllcAAAAAzNiKlljLWmAJrwAAAACYsW4DqxifvfrBjQDr7TNX/mURXgEAAAAwe/f/+fXrz1XfdLsQftp18EwBAAAAgCRu3bCwI7oSdltg/aQn0QIAAACADP7fJ9d/Kf5dOHHmyqZbri9eKQAAAACQy9Wf3rCwY8Mtn3zy8wUAAAAA8tn0553sakNZWPhSAQAAAICMbrnlSxsWysLeAgAAAAAJLV5f3LthsZT7CwAAAAAktN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YAAAAAqQmwAAAAAEhNgAUAAABAagIsAAAAAFITYAEAAACQmgALAAAAgNQEWAAAAACkJsACAAAAIDUBFgAAAACpCbAAAAAASE2ABQAAAEBqAiwAAAAAUhNgAQAAAJCaAAsAAACA1ARYAAAAAKQmwAIAAAAgNQEWAAAAAKkJsAAAAABITYAFAAAAQGoCLAAAAABSE2ABAAAAkJoACwAAAIDUBFgAAAAApCbAAgAAACA1ARYAAAAAqQmwAAAAAEhNgAUAAABAagIsAAAAAFITYAEAAACQmgALAAAAgNQEWAAAAACkJsACAAAAIDUBFgAAAACpCbAAAAAASE2ABQAAAEBqAiwAAAAAUhNgAQAAAJCaAAsAAACA1ARYAAAAAKQmwAIAAAAgNQEWAAAAAKkJsAAAAABITYAFAAAAQGoCLAAAAABSE2ABAAAAkJoACwAAAIDUBFgAAAAApCbAAgAAACA1ARYAAAAAqUWAdbUAAAAAQE5XNyyU8l4BAAAAgIQWO9nVhuuLi28VAAAAAEhooSyc3LBQFl8vAAAAAJDRYvmDDZ/ccsvvFeNgAQAAAJDQT99Sfm/Dvh2bry6WxX9fAAAAACCVhX+3o5NdxSyE5fqGDb9dAAAAACCRTzaUb8a/3QBr347N7y0uLv6rAgAAAAAJLHSyqsisuv+vfnjizJVNG64vnuj84P4CAAAAADOyWMp7D+68e0f1/YbqPzEW1vUNC4/GCwoAAAAAzEBkU5FR9f5sQ+830Syr84KnhFgAAAAArLVPw6unqq6DlYWmF584c+X+DdcXj+pOCAAAAMBaqFpe1cOrsKHpDfHC6GdoYHcAAAAApi0GbO+EV/uawqvu74ctoNsa65Pr/3xhYeHvFwAAAACYjKuLi4v//votG367X3BVGRpgVWKWwls+KT+/WK4/UjYsPLiw2O1euKkAAAAAwHBXFxfKewuLiyfL4oY/+OSW8nsxqWCbN/5/jEw3gT8wr2sAAAAASUVORK5CYII=";const Td="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsCard\\NewsCard.tsx",Wd=e=>{const{id:i,featuredImg:r,excerpt:n,source:l,sourceCountryFlag:o,title:s,date:a,storyUrl:c,inSearchPage:d,navigationOverride:u}=e;return t.createElement(Od,{inSearchPage:d,__self:void 0,__source:{fileName:Td,lineNumber:13}},t.createElement(Sd,{__self:void 0,__source:{fileName:Td,lineNumber:14}},t.createElement(Vd,{__self:void 0,__source:{fileName:Td,lineNumber:15}},t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:Td,lineNumber:16}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:Td,lineNumber:17}},t.createElement("img",{src:o,alt:"Source flag",__self:void 0,__source:{fileName:Td,lineNumber:18}})),t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Td,lineNumber:20}},l)),t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:Td,lineNumber:22}},t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Td,lineNumber:22}},a))),t.createElement("a",{href:c,onClick:e=>{u&&(e.preventDefault(),u({id:i,title:s,excerpt:n,source:l,sourceCountryFlag:o,date:a,featuredImg:r,storyUrl:c}))},__self:void 0,__source:{fileName:Td,lineNumber:24}},t.createElement(zd,{className:"heading5Bold",__self:void 0,__source:{fileName:Td,lineNumber:29}},s)),t.createElement(Yd,{className:"paragraph2Regular",__self:void 0,__source:{fileName:Td,lineNumber:30}},`${n.substring(0,140)}...`)),t.createElement(Rd,{__self:void 0,__source:{fileName:Td,lineNumber:32}},t.createElement("a",{href:c,onClick:e=>{u&&(e.preventDefault(),u({id:i,title:s,excerpt:n,source:l,sourceCountryFlag:o,date:a,featuredImg:r,storyUrl:c}))},__self:void 0,__source:{fileName:Td,lineNumber:33}},t.createElement("img",{src:r,alt:s,className:"featured-img",loading:"lazy",onError:e=>{e.currentTarget.src=jd,e.currentTarget.srcset=jd},__self:void 0,__source:{fileName:Td,lineNumber:39}}))))},Xd=o.div`
|
|
2882
|
+
`;var Td="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAJYCAYAAABy5h8aAAA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AAJCaAAsAAACA1ARYAAAAAKQmwAIAAAAgNQEWAAAAAKkJsAAAAABITYAFAAAAQGoCLAAAAABSE2ABAAAAkJoACwAAAIDUBFgAAAAApCbAAgAAACA1ARYAAAAAqUWAdbUAAAAAQE5XNyyU8l4BAAAAgIQWO9nVhuuLi28VAAAAAEhooSyc3LBQFl8vAAAAAJDRYvmDDZ/ccsvvFeNgAQAAAJDQT99Sfm/Dvh2bry6WxX9fAAAAACCVhX+3o5NdxSyE5fqGDb9dAAAAACCRTzaUb8a/3QBr347N7y0uLv6rAgAAAAAJLHSyqsisuv+vfnjizJVNG64vnuj84P4CAAAAADOyWMp7D+68e0f1/YbqPzEW1vUNC4/GCwoAAAAAzEBkU5FR9f5sQ+830Syr84KnhFgAAAAArLVPw6unqq6DlYWmF584c+X+DdcXj+pOCAAAAMBaqFpe1cOrsKHpDfHC6GdoYHcAAAAApi0GbO+EV/uawqvu74ctoNsa65Pr/3xhYeHvFwAAAACYjKuLi4v//votG367X3BVGRpgVWKWwls+KT+/WK4/UjYsPLiw2O1euKkAAAAAwHBXFxfKewuLiyfL4oY/+OSW8nsxqWCbN/5/jEw3gT8wr2sAAAAASUVORK5CYII=";const Wd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsCard\\NewsCard.tsx",Xd=e=>{const{id:i,featuredImg:r,excerpt:n,source:l,sourceCountryFlag:o,title:s,date:a,storyUrl:c,inSearchPage:d,navigationOverride:u}=e;return t.createElement(Rd,{inSearchPage:d,__self:void 0,__source:{fileName:Wd,lineNumber:13}},t.createElement(jd,{__self:void 0,__source:{fileName:Wd,lineNumber:14}},t.createElement(Yd,{__self:void 0,__source:{fileName:Wd,lineNumber:15}},t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:Wd,lineNumber:16}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:Wd,lineNumber:17}},t.createElement("img",{src:o,alt:"Source flag",__self:void 0,__source:{fileName:Wd,lineNumber:18}})),t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Wd,lineNumber:20}},l)),t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:Wd,lineNumber:22}},t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Wd,lineNumber:22}},a))),t.createElement("a",{href:c,onClick:e=>{u&&(e.preventDefault(),u({id:i,title:s,excerpt:n,source:l,sourceCountryFlag:o,date:a,featuredImg:r,storyUrl:c}))},__self:void 0,__source:{fileName:Wd,lineNumber:24}},t.createElement(zd,{className:"heading5Bold",__self:void 0,__source:{fileName:Wd,lineNumber:29}},s)),t.createElement(Sd,{className:"paragraph2Regular",__self:void 0,__source:{fileName:Wd,lineNumber:30}},`${n.substring(0,140)}...`)),t.createElement(Vd,{__self:void 0,__source:{fileName:Wd,lineNumber:32}},t.createElement("a",{href:c,onClick:e=>{u&&(e.preventDefault(),u({id:i,title:s,excerpt:n,source:l,sourceCountryFlag:o,date:a,featuredImg:r,storyUrl:c}))},__self:void 0,__source:{fileName:Wd,lineNumber:33}},t.createElement("img",{src:r,alt:s,className:"featured-img",loading:"lazy",onError:e=>{e.currentTarget.src=Td,e.currentTarget.srcset=Td},__self:void 0,__source:{fileName:Wd,lineNumber:39}}))))},Zd=o.div`
|
|
2844
2883
|
background: ${s["neutral-900"]};
|
|
2845
2884
|
padding: 11px 16px;
|
|
2846
2885
|
border-radius: 8px;
|
|
@@ -2865,7 +2904,7 @@ button{
|
|
|
2865
2904
|
align-items: start;
|
|
2866
2905
|
width: 100%;
|
|
2867
2906
|
}
|
|
2868
|
-
`,
|
|
2907
|
+
`,Ud=o.div`
|
|
2869
2908
|
display: flex;
|
|
2870
2909
|
gap: 16px;
|
|
2871
2910
|
.filterContainer{
|
|
@@ -2877,7 +2916,7 @@ button{
|
|
|
2877
2916
|
width: 100%;
|
|
2878
2917
|
}
|
|
2879
2918
|
}
|
|
2880
|
-
`,
|
|
2919
|
+
`,Gd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsFilterBar\\NewsFilterBar.tsx",Kd=e=>{const{countries:n,outlets:l,selectedCountryFxn:o,selectedOutletFxn:s,theme:a}=e,[c,d]=i(720);return r((()=>{d(window.innerWidth),window.addEventListener("resize",(function(){d(window.innerWidth)}))}),[]),t.createElement(Zd,{className:a,...e,__self:void 0,__source:{fileName:Gd,lineNumber:22}},t.createElement("h4",{className:c<=720?"paragraph2Medium":"heading6Medium",__self:void 0,__source:{fileName:Gd,lineNumber:23}},"News"),t.createElement(Ud,{__self:void 0,__source:{fileName:Gd,lineNumber:24}},n&&n.length>0&&t.createElement("div",{className:"filterContainer",__self:void 0,__source:{fileName:Gd,lineNumber:26}},t.createElement(sc,{options:n,returnedSelection:e=>{o&&o(e)},placeholder:"Select Country",__self:void 0,__source:{fileName:Gd,lineNumber:27}})),l&&l.length>0&&t.createElement("div",{className:"filterContainer",__self:void 0,__source:{fileName:Gd,lineNumber:33}},t.createElement(sc,{options:l,returnedSelection:e=>{s&&s(e)},placeholder:"Select Outlet",__self:void 0,__source:{fileName:Gd,lineNumber:34}}))))},qd=o.div`
|
|
2881
2920
|
background: ${s["neutral-50"]};
|
|
2882
2921
|
border-radius: 8px;
|
|
2883
2922
|
display: inline-flex;
|
|
@@ -2897,7 +2936,7 @@ button{
|
|
|
2897
2936
|
text-overflow: ellipsis;
|
|
2898
2937
|
overflow:hidden;
|
|
2899
2938
|
}
|
|
2900
|
-
`,
|
|
2939
|
+
`,Jd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsSourceTag\\NewsSourceTag.tsx",$d=e=>{const{source:i,date:r,flag:n}=e;return t.createElement(qd,{__self:void 0,__source:{fileName:Jd,lineNumber:12}},t.createElement("div",{className:"tag paragraph1Regular",__self:void 0,__source:{fileName:Jd,lineNumber:13}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:Jd,lineNumber:14}},t.createElement("img",{src:n,alt:"Source flag",__self:void 0,__source:{fileName:Jd,lineNumber:15}})),t.createElement("span",{className:"source-text captionBook",__self:void 0,__source:{fileName:Jd,lineNumber:17}},i)),t.createElement("div",{className:"tag paragraph1Regular",__self:void 0,__source:{fileName:Jd,lineNumber:21}},t.createElement("span",{className:"captionBook",__self:void 0,__source:{fileName:Jd,lineNumber:21}},r)))},eu=o.div`
|
|
2901
2940
|
padding: 11px 16px;
|
|
2902
2941
|
border-radius: 8px;
|
|
2903
2942
|
display: flex;
|
|
@@ -2915,7 +2954,7 @@ button{
|
|
|
2915
2954
|
@media (max-width: 720px) {
|
|
2916
2955
|
height: 48px;
|
|
2917
2956
|
}
|
|
2918
|
-
`,
|
|
2957
|
+
`,tu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsTitleBar\\NewsTitleBar.tsx",iu=e=>{const{title:n,theme:l}=e,[o,s]=i(720);return r((()=>{s(window.innerWidth),window.addEventListener("resize",(function(){s(window.innerWidth)}))}),[]),t.createElement(eu,{className:l,...e,__self:void 0,__source:{fileName:tu,lineNumber:21}},t.createElement("h5",{className:o<=720?"paragraph2Medium":"heading6Medium",__self:void 0,__source:{fileName:tu,lineNumber:22}},n))},ru=o.div`
|
|
2919
2958
|
display: flex;
|
|
2920
2959
|
gap: 4px;
|
|
2921
2960
|
flex-direction: column;
|
|
@@ -2930,7 +2969,7 @@ button{
|
|
|
2930
2969
|
.disabled{
|
|
2931
2970
|
color: ${s["neutral-100"]};
|
|
2932
2971
|
}
|
|
2933
|
-
`,
|
|
2972
|
+
`,nu=o.input`
|
|
2934
2973
|
border: none;
|
|
2935
2974
|
width: 100%;
|
|
2936
2975
|
height: 50px;
|
|
@@ -2951,7 +2990,7 @@ button{
|
|
|
2951
2990
|
&:disabled &::placeholder{
|
|
2952
2991
|
color: ${s["neutral-100"]};
|
|
2953
2992
|
}
|
|
2954
|
-
`,
|
|
2993
|
+
`,lu=o.div`
|
|
2955
2994
|
height: 50px;
|
|
2956
2995
|
//width: 430px;
|
|
2957
2996
|
border-radius: 8px;
|
|
@@ -2979,22 +3018,22 @@ button{
|
|
|
2979
3018
|
&.disabled input{
|
|
2980
3019
|
cursor: not-allowed !important;
|
|
2981
3020
|
}
|
|
2982
|
-
`,
|
|
3021
|
+
`,ou=o.button`
|
|
2983
3022
|
border: none;
|
|
2984
3023
|
background: ${s.white};
|
|
2985
3024
|
cursor:pointer;
|
|
2986
3025
|
height: 100%;
|
|
2987
3026
|
padding: 13px 8px;
|
|
2988
|
-
`,
|
|
3027
|
+
`,su=o.p`
|
|
2989
3028
|
color: ${s["error-500"]};
|
|
2990
3029
|
margin: 0;
|
|
2991
3030
|
display: flex;
|
|
2992
3031
|
gap: 4px;
|
|
2993
3032
|
justify-content: start;
|
|
2994
3033
|
align-items: center;
|
|
2995
|
-
`,
|
|
3034
|
+
`,au="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PasswordField\\PasswordField.tsx",cu=e=>{const{label:n,subtext:l,disabled:o,errMsg:s,placeholder:a,width:c,value:d}=e,[u,f]=i(d),[m,h]=i(""),[A,g]=i(!1),[p,b]=i(!1);function C(){u?(h("success"),g(!1)):(h("error"),g(!0))}r((()=>{f(d)}),[d]);return t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:au,lineNumber:39}},n&&t.createElement(ru,{__self:void 0,__source:{fileName:au,lineNumber:41}},t.createElement("label",{className:o?"disabled":"",__self:void 0,__source:{fileName:au,lineNumber:42}},n),t.createElement("span",{className:o?"disabled":"",__self:void 0,__source:{fileName:au,lineNumber:43}},l)),t.createElement(lu,{className:`${m} ${o?"disabled":""}`,style:{width:c||"100%"},__self:void 0,__source:{fileName:au,lineNumber:46}},t.createElement(nu,{type:p?"text":"password",value:u,onChange:e=>{f(e.target.value)},onBlur:()=>{C()},disabled:o,...e,required:!0,placeholder:a,onInvalid:C,__self:void 0,__source:{fileName:au,lineNumber:47}}),t.createElement(ou,{type:"button",onClick:()=>{b(!p)},__self:void 0,__source:{fileName:au,lineNumber:51}},p?t.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:au,lineNumber:59}},t.createElement("path",{d:"M9.94018 5.07994C10.2909 5.02617 10.6453 4.99943 11.0002 4.99994C14.1802 4.99994 17.1702 7.28994 18.9102 10.9999C18.6441 11.5645 18.3435 12.1122 18.0102 12.6399C17.9044 12.8038 17.8487 12.9949 17.8502 13.1899C17.8524 13.4082 17.926 13.6197 18.0596 13.7922C18.1933 13.9647 18.3798 14.0888 18.5905 14.1455C18.8013 14.2021 19.0248 14.1883 19.227 14.106C19.4291 14.0238 19.5988 13.8776 19.7102 13.6899C20.1761 12.9579 20.5808 12.1886 20.9202 11.3899C20.9738 11.2652 21.0015 11.1308 21.0015 10.9949C21.0015 10.8591 20.9738 10.7247 20.9202 10.5999C18.9002 5.90994 15.1002 2.99994 11.0002 2.99994C10.5309 2.99758 10.0623 3.03774 9.60019 3.11994C9.46886 3.14227 9.34322 3.19024 9.23044 3.26112C9.11766 3.332 9.01994 3.4244 8.94287 3.53304C8.8658 3.64169 8.81088 3.76445 8.78125 3.89432C8.75162 4.02419 8.74786 4.15862 8.77018 4.28994C8.79251 4.42126 8.84048 4.5469 8.91136 4.65968C8.98224 4.77247 9.07464 4.87018 9.18329 4.94726C9.29193 5.02433 9.41469 5.07925 9.54456 5.10888C9.67443 5.13851 9.80886 5.14227 9.94018 5.11994V5.07994ZM2.71019 1.28994C2.61695 1.1967 2.50626 1.12274 2.38443 1.07228C2.26261 1.02182 2.13204 0.99585 2.00019 0.99585C1.86833 0.99585 1.73776 1.02182 1.61594 1.07228C1.49411 1.12274 1.38342 1.1967 1.29019 1.28994C1.10188 1.47824 0.996094 1.73364 0.996094 1.99994C0.996094 2.26624 1.10188 2.52164 1.29019 2.70994L4.39019 5.79994C2.97576 7.16147 1.85004 8.79393 1.08019 10.5999C1.02512 10.7261 0.996701 10.8623 0.996701 10.9999C0.996701 11.1376 1.02512 11.2738 1.08019 11.3999C3.10019 16.0899 6.90019 18.9999 11.0002 18.9999C12.7973 18.9875 14.552 18.4524 16.0502 17.4599L19.2902 20.7099C19.3831 20.8037 19.4937 20.8781 19.6156 20.9288C19.7375 20.9796 19.8682 21.0057 20.0002 21.0057C20.1322 21.0057 20.2629 20.9796 20.3848 20.9288C20.5066 20.8781 20.6172 20.8037 20.7102 20.7099C20.8039 20.617 20.8783 20.5064 20.9291 20.3845C20.9798 20.2627 21.006 20.132 21.006 19.9999C21.006 19.8679 20.9798 19.7372 20.9291 19.6154C20.8783 19.4935 20.8039 19.3829 20.7102 19.2899L2.71019 1.28994ZM9.07018 10.4799L11.5202 12.9299C11.3512 12.9784 11.176 13.002 11.0002 12.9999C10.4698 12.9999 9.96104 12.7892 9.58597 12.4142C9.2109 12.0391 9.00019 11.5304 9.00019 10.9999C8.99814 10.8241 9.02172 10.649 9.07018 10.4799ZM11.0002 16.9999C7.82018 16.9999 4.83019 14.7099 3.10019 10.9999C3.74627 9.57369 4.66326 8.28652 5.80019 7.20994L7.57019 8.99994C7.15443 9.75874 6.99592 10.6319 7.11844 11.4884C7.24096 12.3449 7.6379 13.1386 8.24971 13.7504C8.86152 14.3622 9.65522 14.7592 10.5117 14.8817C11.3682 15.0042 12.2414 14.8457 13.0002 14.4299L14.5902 15.9999C13.5013 16.6408 12.2636 16.9856 11.0002 16.9999Z",fill:"#070B12",__self:void 0,__source:{fileName:au,lineNumber:60}})):t.createElement("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:au,lineNumber:54}},t.createElement("path",{d:"M20.9201 7.6C18.9001 2.91 15.1001 0 11.0001 0C6.90007 0 3.10007 2.91 1.08007 7.6C1.025 7.72617 0.996582 7.86234 0.996582 8C0.996582 8.13766 1.025 8.27383 1.08007 8.4C3.10007 13.09 6.90007 16 11.0001 16C15.1001 16 18.9001 13.09 20.9201 8.4C20.9751 8.27383 21.0036 8.13766 21.0036 8C21.0036 7.86234 20.9751 7.72617 20.9201 7.6ZM11.0001 14C7.83007 14 4.83007 11.71 3.10007 8C4.83007 4.29 7.83007 2 11.0001 2C14.1701 2 17.1701 4.29 18.9001 8C17.1701 11.71 14.1701 14 11.0001 14ZM11.0001 4C10.2089 4 9.43558 4.2346 8.77779 4.67412C8.11999 5.11365 7.6073 5.73836 7.30455 6.46927C7.0018 7.20017 6.92258 8.00444 7.07693 8.78036C7.23127 9.55628 7.61223 10.269 8.17164 10.8284C8.73105 11.3878 9.44378 11.7688 10.2197 11.9231C10.9956 12.0775 11.7999 11.9983 12.5308 11.6955C13.2617 11.3928 13.8864 10.8801 14.3259 10.2223C14.7655 9.56448 15.0001 8.79113 15.0001 8C15.0001 6.93913 14.5786 5.92172 13.8285 5.17157C13.0783 4.42143 12.0609 4 11.0001 4ZM11.0001 10C10.6045 10 10.2178 9.8827 9.88893 9.66294C9.56003 9.44318 9.30368 9.13082 9.15231 8.76537C9.00093 8.39991 8.96133 7.99778 9.0385 7.60982C9.11567 7.22186 9.30615 6.86549 9.58585 6.58579C9.86556 6.30608 10.2219 6.1156 10.6099 6.03843C10.9978 5.96126 11.4 6.00087 11.7654 6.15224C12.1309 6.30362 12.4432 6.55996 12.663 6.88886C12.8828 7.21776 13.0001 7.60444 13.0001 8C13.0001 8.53043 12.7894 9.03914 12.4143 9.41421C12.0392 9.78929 11.5305 10 11.0001 10Z",fill:"#070B12",__self:void 0,__source:{fileName:au,lineNumber:55}})))),!d&&A&&t.createElement(su,{__self:void 0,__source:{fileName:au,lineNumber:66}},t.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:au,lineNumber:68}},t.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:au,lineNumber:69}})),s||"This field is required"))},du=o.div`
|
|
2996
3035
|
overflow-x: auto;
|
|
2997
|
-
`,
|
|
3036
|
+
`,uu=o.table`
|
|
2998
3037
|
width: 100%;
|
|
2999
3038
|
border-collapse: separate;
|
|
3000
3039
|
border-spacing: 0 8px;
|
|
@@ -3044,7 +3083,7 @@ button{
|
|
|
3044
3083
|
font-weight: 400;
|
|
3045
3084
|
line-height: 19px;
|
|
3046
3085
|
}
|
|
3047
|
-
`,
|
|
3086
|
+
`,fu=o.div`
|
|
3048
3087
|
display: flex;
|
|
3049
3088
|
justify-content: center;
|
|
3050
3089
|
align-items: center;
|
|
@@ -3052,7 +3091,7 @@ button{
|
|
|
3052
3091
|
height: 300px;
|
|
3053
3092
|
background: ${s.white};
|
|
3054
3093
|
border-radius: 8px;
|
|
3055
|
-
`,
|
|
3094
|
+
`,mu=o.div`
|
|
3056
3095
|
display: flex;
|
|
3057
3096
|
align-items: center;
|
|
3058
3097
|
flex-direction: column;
|
|
@@ -3063,7 +3102,7 @@ button{
|
|
|
3063
3102
|
line-height: 19px;
|
|
3064
3103
|
margin: 0;
|
|
3065
3104
|
}
|
|
3066
|
-
`,
|
|
3105
|
+
`,hu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PaymentMethodsTable\\PaymentMethods.tsx",Au=e=>{const{methods:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.pymtModeName<t.pymtModeName?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(du,{__self:void 0,__source:{fileName:hu,lineNumber:61}},t.createElement(uu,{__self:void 0,__source:{fileName:hu,lineNumber:62}},t.createElement("thead",{__self:void 0,__source:{fileName:hu,lineNumber:63}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:hu,lineNumber:64}},t.createElement("th",{__self:void 0,__source:{fileName:hu,lineNumber:65}},"Code"),t.createElement("th",{__self:void 0,__source:{fileName:hu,lineNumber:66}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.pymtModeName<t.pymtModeName?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.pymtModeName<e.pymtModeName?-1:1)))},__self:void 0,__source:{fileName:hu,lineNumber:67}},"Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hu,lineNumber:72}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:hu,lineNumber:73}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hu,lineNumber:80}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:hu,lineNumber:81}}))))),t.createElement("th",{__self:void 0,__source:{fileName:hu,lineNumber:87}},"Short Name"),t.createElement("th",{__self:void 0,__source:{fileName:hu,lineNumber:88}},"Remarks"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:hu,lineNumber:92}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:hu,lineNumber:94}},t.createElement("td",{__self:void 0,__source:{fileName:hu,lineNumber:95}},e.pymtModeCode),t.createElement("td",{__self:void 0,__source:{fileName:hu,lineNumber:96}},e.pymtModeName),t.createElement("td",{__self:void 0,__source:{fileName:hu,lineNumber:97}},e.pymtModeShortName),t.createElement("td",{__self:void 0,__source:{fileName:hu,lineNumber:98}},t.createElement("div",{__self:void 0,__source:{fileName:hu,lineNumber:99}},e.remarks?e.remarks:"-",t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hu,lineNumber:101}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:hu,lineNumber:102}}))))))))),u&&0===u.length&&A&&t.createElement(fu,{__self:void 0,__source:{fileName:hu,lineNumber:112}},t.createElement(mu,{__self:void 0,__source:{fileName:hu,lineNumber:113}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hu,lineNumber:114}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:hu,lineNumber:115}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:hu,lineNumber:116}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:hu,lineNumber:117}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:hu,lineNumber:118}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:hu,lineNumber:119}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:hu,lineNumber:120}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:hu,lineNumber:121}})),t.createElement("defs",{__self:void 0,__source:{fileName:hu,lineNumber:123}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:hu,lineNumber:124}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:hu,lineNumber:125}})))),t.createElement("p",{__self:void 0,__source:{fileName:hu,lineNumber:129}},"Payment methods will be displayed here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:hu,lineNumber:134}}))},gu=o.div`
|
|
3067
3106
|
background: rgba(7, 11, 18, 0.5);
|
|
3068
3107
|
position: fixed;
|
|
3069
3108
|
inset: 0;
|
|
@@ -3080,7 +3119,7 @@ button{
|
|
|
3080
3119
|
opacity: 1;
|
|
3081
3120
|
}
|
|
3082
3121
|
}
|
|
3083
|
-
`,
|
|
3122
|
+
`,pu=o.div`
|
|
3084
3123
|
width: 504px;
|
|
3085
3124
|
border-radius: 16px;
|
|
3086
3125
|
padding: 40px;
|
|
@@ -3097,7 +3136,7 @@ button{
|
|
|
3097
3136
|
transform:scale(1);
|
|
3098
3137
|
}
|
|
3099
3138
|
}
|
|
3100
|
-
`,
|
|
3139
|
+
`,bu=o.div`
|
|
3101
3140
|
display: flex;
|
|
3102
3141
|
justify-content: space-between;
|
|
3103
3142
|
align-items: center;
|
|
@@ -3112,7 +3151,7 @@ button{
|
|
|
3112
3151
|
height: 32px;
|
|
3113
3152
|
cursor: pointer;
|
|
3114
3153
|
}
|
|
3115
|
-
`,
|
|
3154
|
+
`,Cu=o.div`
|
|
3116
3155
|
font-size: 16px;
|
|
3117
3156
|
font-weight: 400;
|
|
3118
3157
|
line-height: 28px;
|
|
@@ -3120,14 +3159,14 @@ button{
|
|
|
3120
3159
|
p{
|
|
3121
3160
|
margin: 0;
|
|
3122
3161
|
}
|
|
3123
|
-
`,
|
|
3162
|
+
`,_u=o.div`
|
|
3124
3163
|
display: flex;
|
|
3125
3164
|
justify-content: space-between;
|
|
3126
3165
|
align-items: center;
|
|
3127
3166
|
gap:8px;
|
|
3128
|
-
`,
|
|
3167
|
+
`,vu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PopupModal\\PopupModal.tsx",xu=e=>{const{title:i,content:n,secondaryAction:l,primaryAction:o,closeFxn:s,primaryBtnText:a,secondaryBtnText:d}=e;return r((()=>{document.querySelector("body").classList.add("side-panel-open")}),[]),t.createElement(gu,{__self:void 0,__source:{fileName:vu,lineNumber:22}},t.createElement(pu,{__self:void 0,__source:{fileName:vu,lineNumber:23}},t.createElement(bu,{__self:void 0,__source:{fileName:vu,lineNumber:24}},t.createElement("h5",{className:"heading5Bold",__self:void 0,__source:{fileName:vu,lineNumber:25}},i),t.createElement("button",{onClick:()=>{s(),document.querySelector("body").classList.remove("side-panel-open")},__self:void 0,__source:{fileName:vu,lineNumber:26}},t.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:vu,lineNumber:30}},t.createElement("path",{d:"M17.88 16L23.6133 10.28C23.8644 10.0289 24.0055 9.6884 24.0055 9.33333C24.0055 8.97826 23.8644 8.63773 23.6133 8.38666C23.3623 8.13559 23.0217 7.99454 22.6667 7.99454C22.3116 7.99454 21.9711 8.13559 21.72 8.38666L16 14.12L10.28 8.38666C10.0289 8.13559 9.6884 7.99454 9.33333 7.99454C8.97826 7.99454 8.63773 8.13559 8.38666 8.38666C8.13559 8.63773 7.99454 8.97826 7.99454 9.33333C7.99454 9.6884 8.13559 10.0289 8.38666 10.28L14.12 16L8.38666 21.72C8.26169 21.8439 8.1625 21.9914 8.09481 22.1539C8.02712 22.3164 7.99226 22.4906 7.99226 22.6667C7.99226 22.8427 8.02712 23.0169 8.09481 23.1794C8.1625 23.3419 8.26169 23.4894 8.38666 23.6133C8.51061 23.7383 8.65808 23.8375 8.82056 23.9052C8.98304 23.9729 9.15731 24.0077 9.33333 24.0077C9.50934 24.0077 9.68362 23.9729 9.8461 23.9052C10.0086 23.8375 10.156 23.7383 10.28 23.6133L16 17.88L21.72 23.6133C21.8439 23.7383 21.9914 23.8375 22.1539 23.9052C22.3164 23.9729 22.4906 24.0077 22.6667 24.0077C22.8427 24.0077 23.017 23.9729 23.1794 23.9052C23.3419 23.8375 23.4894 23.7383 23.6133 23.6133C23.7383 23.4894 23.8375 23.3419 23.9052 23.1794C23.9729 23.0169 24.0077 22.8427 24.0077 22.6667C24.0077 22.4906 23.9729 22.3164 23.9052 22.1539C23.8375 21.9914 23.7383 21.8439 23.6133 21.72L17.88 16Z",fill:"#070B12",__self:void 0,__source:{fileName:vu,lineNumber:31}})))),t.createElement(Cu,{__self:void 0,__source:{fileName:vu,lineNumber:35}},t.createElement("p",{__self:void 0,__source:{fileName:vu,lineNumber:36}},n)),t.createElement(_u,{__self:void 0,__source:{fileName:vu,lineNumber:38}},d&&l&&t.createElement(q,{size:"md",variant:"primary",onClick:()=>{l()},__self:void 0,__source:{fileName:vu,lineNumber:40}},d),t.createElement(c,{size:"md",variant:"primary",onClick:()=>{o()},__self:void 0,__source:{fileName:vu,lineNumber:42}},a||"Okay"))))},Nu=o.div`
|
|
3129
3168
|
overflow-x: auto;
|
|
3130
|
-
`,
|
|
3169
|
+
`,wu=o.table`
|
|
3131
3170
|
width: 100%;
|
|
3132
3171
|
border-collapse: separate;
|
|
3133
3172
|
border-spacing: 0 8px;
|
|
@@ -3177,7 +3216,7 @@ button{
|
|
|
3177
3216
|
font-weight: 400;
|
|
3178
3217
|
line-height: 19px;
|
|
3179
3218
|
}
|
|
3180
|
-
`,
|
|
3219
|
+
`,Eu=o.div`
|
|
3181
3220
|
display: flex;
|
|
3182
3221
|
justify-content: center;
|
|
3183
3222
|
align-items: center;
|
|
@@ -3185,7 +3224,7 @@ button{
|
|
|
3185
3224
|
height: 300px;
|
|
3186
3225
|
background: ${s.white};
|
|
3187
3226
|
border-radius: 8px;
|
|
3188
|
-
`,
|
|
3227
|
+
`,yu=o.div`
|
|
3189
3228
|
display: flex;
|
|
3190
3229
|
align-items: center;
|
|
3191
3230
|
flex-direction: column;
|
|
@@ -3196,7 +3235,7 @@ button{
|
|
|
3196
3235
|
line-height: 19px;
|
|
3197
3236
|
margin: 0;
|
|
3198
3237
|
}
|
|
3199
|
-
`,
|
|
3238
|
+
`,Du=o.div`
|
|
3200
3239
|
border-radius: 4px;
|
|
3201
3240
|
width: 130px;
|
|
3202
3241
|
text-align: center;
|
|
@@ -3230,19 +3269,19 @@ button{
|
|
|
3230
3269
|
background:${s["error-50"]};
|
|
3231
3270
|
color: ${s["error-500"]};
|
|
3232
3271
|
}
|
|
3233
|
-
`,
|
|
3272
|
+
`,Bu=e=>{const{status:i,label:r,width:n}=e;return t.createElement(Du,{className:i||"default",style:{width:n},__self:void 0,__source:{fileName:"D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\StatusBadge\\StatusBadge.tsx",lineNumber:11}},r)},Mu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ProvidersTable\\ProvidersTable.tsx",ku=e=>{const{providers:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.name<t.name?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(Nu,{__self:void 0,__source:{fileName:Mu,lineNumber:62}},t.createElement(wu,{__self:void 0,__source:{fileName:Mu,lineNumber:63}},t.createElement("thead",{__self:void 0,__source:{fileName:Mu,lineNumber:64}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Mu,lineNumber:65}},t.createElement("th",{__self:void 0,__source:{fileName:Mu,lineNumber:66}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.name<t.name?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.name<e.name?-1:1)))},__self:void 0,__source:{fileName:Mu,lineNumber:67}},"Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mu,lineNumber:72}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Mu,lineNumber:73}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mu,lineNumber:80}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Mu,lineNumber:81}}))))),t.createElement("th",{__self:void 0,__source:{fileName:Mu,lineNumber:87}},"Email"),t.createElement("th",{__self:void 0,__source:{fileName:Mu,lineNumber:88}},"Phone"),t.createElement("th",{__self:void 0,__source:{fileName:Mu,lineNumber:89}},"Status"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:Mu,lineNumber:93}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:Mu,lineNumber:95}},t.createElement("td",{__self:void 0,__source:{fileName:Mu,lineNumber:96}},e.name),t.createElement("td",{__self:void 0,__source:{fileName:Mu,lineNumber:97}},e.email),t.createElement("td",{__self:void 0,__source:{fileName:Mu,lineNumber:98}},e.phone),t.createElement("td",{__self:void 0,__source:{fileName:Mu,lineNumber:99}},t.createElement("div",{__self:void 0,__source:{fileName:Mu,lineNumber:100}},t.createElement(Bu,{status:"active"===e.status.toLowerCase()?"success":"error",label:e.status.toUpperCase(),__self:void 0,__source:{fileName:Mu,lineNumber:101}}),t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mu,lineNumber:102}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Mu,lineNumber:103}}))))))))),u&&0===u.length&&A&&t.createElement(Eu,{__self:void 0,__source:{fileName:Mu,lineNumber:113}},t.createElement(yu,{__self:void 0,__source:{fileName:Mu,lineNumber:114}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mu,lineNumber:115}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Mu,lineNumber:116}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Mu,lineNumber:117}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mu,lineNumber:118}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mu,lineNumber:119}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mu,lineNumber:120}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mu,lineNumber:121}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mu,lineNumber:122}})),t.createElement("defs",{__self:void 0,__source:{fileName:Mu,lineNumber:124}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Mu,lineNumber:125}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Mu,lineNumber:126}})))),t.createElement("p",{__self:void 0,__source:{fileName:Mu,lineNumber:130}},"Providers will be displayed here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:Mu,lineNumber:135}}))},Pu=o.div`
|
|
3234
3273
|
display: flex;
|
|
3235
3274
|
flex-direction: column;
|
|
3236
3275
|
gap: 8px;
|
|
3237
3276
|
width: 420px;
|
|
3238
|
-
`,
|
|
3277
|
+
`,Lu=o.div`
|
|
3239
3278
|
border-radius: 8px;
|
|
3240
3279
|
padding: 16px;
|
|
3241
3280
|
background: ${s["neutral-50"]};
|
|
3242
3281
|
display: flex;
|
|
3243
3282
|
flex-direction: column;
|
|
3244
3283
|
gap: 16px;
|
|
3245
|
-
`,
|
|
3284
|
+
`,Hu=o.div`
|
|
3246
3285
|
display: flex;
|
|
3247
3286
|
gap: 24px;
|
|
3248
3287
|
align-items: center;
|
|
@@ -3257,7 +3296,7 @@ button{
|
|
|
3257
3296
|
line-height: 19px;
|
|
3258
3297
|
color: ${s["neutral-900"]};
|
|
3259
3298
|
}
|
|
3260
|
-
`,
|
|
3299
|
+
`,Iu=o.div`
|
|
3261
3300
|
display: flex;
|
|
3262
3301
|
gap: 16px;
|
|
3263
3302
|
align-items: center;
|
|
@@ -3269,7 +3308,7 @@ button{
|
|
|
3269
3308
|
line-height: 19px;
|
|
3270
3309
|
color: ${s["neutral-900"]};
|
|
3271
3310
|
}
|
|
3272
|
-
`,
|
|
3311
|
+
`,Fu=o.div`
|
|
3273
3312
|
display: flex;
|
|
3274
3313
|
gap: 12px;
|
|
3275
3314
|
font-weight: 400;
|
|
@@ -3279,14 +3318,14 @@ button{
|
|
|
3279
3318
|
*{
|
|
3280
3319
|
margin: 0;
|
|
3281
3320
|
}
|
|
3282
|
-
`,
|
|
3321
|
+
`,Qu=o.div`
|
|
3283
3322
|
display: flex;
|
|
3284
3323
|
flex-direction: column;
|
|
3285
3324
|
gap: 8px;
|
|
3286
3325
|
align-items: center;
|
|
3287
3326
|
justify-content: center;
|
|
3288
3327
|
height: 300px;
|
|
3289
|
-
`,
|
|
3328
|
+
`,Ou="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\RateHistory\\RateHistory.tsx",Ru=e=>{const{ratePairs:i}=e;return t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(Pu,{__self:void 0,__source:{fileName:Ou,lineNumber:14}},i.map(((e,i)=>t.createElement(Lu,{key:i,__self:void 0,__source:{fileName:Ou,lineNumber:23}},t.createElement(Hu,{__self:void 0,__source:{fileName:Ou,lineNumber:24}},t.createElement("div",{className:"currency",__self:void 0,__source:{fileName:Ou,lineNumber:25}},e.baseFlag&&t.createElement("img",{src:e.baseFlag,alt:"",__self:void 0,__source:{fileName:Ou,lineNumber:26}})," ",e.baseCurrency),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ou,lineNumber:29}},t.createElement("path",{d:"M17.9999 10C17.9999 9.73479 17.8945 9.48043 17.707 9.2929C17.5195 9.10536 17.2651 9 16.9999 9H5.4099L7.7099 6.71C7.8982 6.5217 8.00399 6.2663 8.00399 6C8.00399 5.7337 7.8982 5.47831 7.7099 5.29C7.52159 5.1017 7.2662 4.99591 6.9999 4.99591C6.73359 4.99591 6.4782 5.1017 6.2899 5.29L2.2899 9.29C2.15114 9.43063 2.05714 9.6092 2.01977 9.80319C1.98239 9.99718 2.00332 10.1979 2.0799 10.38C2.15492 10.5626 2.28231 10.7189 2.44603 10.8293C2.60975 10.9396 2.80247 10.999 2.9999 11H16.9999C17.2651 11 17.5195 10.8946 17.707 10.7071C17.8945 10.5196 17.9999 10.2652 17.9999 10ZM21.9199 13.62C21.8449 13.4374 21.7175 13.2811 21.5538 13.1707C21.39 13.0604 21.1973 13.001 20.9999 13H6.9999C6.73468 13 6.48033 13.1054 6.29279 13.2929C6.10525 13.4804 5.9999 13.7348 5.9999 14C5.9999 14.2652 6.10525 14.5196 6.29279 14.7071C6.48033 14.8946 6.73468 15 6.9999 15H18.5899L16.2899 17.29C16.1962 17.383 16.1218 17.4936 16.071 17.6154C16.0202 17.7373 15.9941 17.868 15.9941 18C15.9941 18.132 16.0202 18.2627 16.071 18.3846C16.1218 18.5064 16.1962 18.617 16.2899 18.71C16.3829 18.8037 16.4935 18.8781 16.6153 18.9289C16.7372 18.9797 16.8679 19.0058 16.9999 19.0058C17.1319 19.0058 17.2626 18.9797 17.3845 18.9289C17.5063 18.8781 17.6169 18.8037 17.7099 18.71L21.7099 14.71C21.8487 14.5694 21.9426 14.3908 21.98 14.1968C22.0174 14.0028 21.9965 13.8021 21.9199 13.62Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:Ou,lineNumber:30}})),t.createElement("div",{className:"currency",__self:void 0,__source:{fileName:Ou,lineNumber:32}},e.exchangeFlag&&t.createElement("img",{src:e.exchangeFlag,alt:"",__self:void 0,__source:{fileName:Ou,lineNumber:33}})," ",e.exchangeCurrency)),t.createElement(Iu,{__self:void 0,__source:{fileName:Ou,lineNumber:36}},t.createElement("p",{__self:void 0,__source:{fileName:Ou,lineNumber:37}},"Rate: ",e.baseCurrency," ",Number(e.baseRate).toFixed(4))),t.createElement(Fu,{__self:void 0,__source:{fileName:Ou,lineNumber:40}},t.createElement("p",{__self:void 0,__source:{fileName:Ou,lineNumber:41}},e.startDate)," to ",t.createElement("p",{__self:void 0,__source:{fileName:Ou,lineNumber:41}},e.endDate)))))),i&&0===i.length&&t.createElement(Qu,{__self:void 0,__source:{fileName:Ou,lineNumber:48}},t.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ou,lineNumber:49}},t.createElement("g",{clipPath:"url(#clip0_1126_91)",__self:void 0,__source:{fileName:Ou,lineNumber:50}},t.createElement("path",{d:"M39 6H25V14H39V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Ou,lineNumber:51}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0006 6C41.0006 4.895 40.1046 4 39 4H25C23.8954 4 22.9994 4.895 22.9994 6V14C22.9994 15.105 23.8954 16 25 16H39C40.1046 16 41.0006 15.105 41.0006 14V6ZM27.0006 8V12H36.9994V8H27.0006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Ou,lineNumber:52}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56C49 54.896 49.896 54 51 54C52.104 54 53 54.896 53 56V58C53 59.105 52.105 60 51 60H13C11.895 60 11 59.105 11 58V10C11 8.895 11.895 8 13 8H25C26.105 8 27 8.895 27 10V12H37V10C37 8.895 37.895 8 39 8H51C52.105 8 53 8.895 53 10V48C53 49.104 52.104 50 51 50C49.896 50 49 49.104 49 48V12H41V14C41 15.105 40.105 16 39 16H25C23.895 16 23 15.105 23 14V12H15V56H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Ou,lineNumber:53}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27H41C42.104 27 43 26.104 43 25C43 23.896 42.104 23 41 23H23C21.896 23 21 23.896 21 25C21 26.104 21.896 27 23 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Ou,lineNumber:54}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38H41C42.104 38 43 37.104 43 36C43 34.896 42.104 34 41 34H23C21.896 34 21 34.896 21 36C21 37.104 21.896 38 23 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Ou,lineNumber:55}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49H41C42.104 49 43 48.104 43 47C43 45.896 42.104 45 41 45H23C21.896 45 21 45.896 21 47C21 48.104 21.896 49 23 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Ou,lineNumber:56}})),t.createElement("defs",{__self:void 0,__source:{fileName:Ou,lineNumber:58}},t.createElement("clipPath",{id:"clip0_1126_91",__self:void 0,__source:{fileName:Ou,lineNumber:59}},t.createElement("rect",{width:"64",height:"64",fill:"white",__self:void 0,__source:{fileName:Ou,lineNumber:60}})))),"Rates history shall be displayed here when available"))},Vu=o.div`
|
|
3290
3329
|
padding: 24px;
|
|
3291
3330
|
//border-radius: 8px;
|
|
3292
3331
|
gap: 24px;
|
|
@@ -3296,7 +3335,7 @@ button{
|
|
|
3296
3335
|
align-items: end;
|
|
3297
3336
|
//background: ${s.white};
|
|
3298
3337
|
|
|
3299
|
-
`,
|
|
3338
|
+
`,Yu=o.div`
|
|
3300
3339
|
display: flex;
|
|
3301
3340
|
gap: 12px;
|
|
3302
3341
|
flex-direction: column;
|
|
@@ -3312,17 +3351,16 @@ button{
|
|
|
3312
3351
|
flex-direction: column;
|
|
3313
3352
|
gap: 4px;
|
|
3314
3353
|
label{
|
|
3315
|
-
color
|
|
3316
|
-
font-weight: 500;
|
|
3317
|
-
font-family: "Circular Book Medium", sans-serif;
|
|
3354
|
+
color: ${s["neutral-900"]};
|
|
3318
3355
|
}
|
|
3319
3356
|
span{
|
|
3320
3357
|
color: ${s["neutral-600"]};
|
|
3321
|
-
font-size: 14px;
|
|
3322
|
-
line-height: 17px;
|
|
3323
|
-
font-weight: 400;
|
|
3324
3358
|
}
|
|
3325
|
-
|
|
3359
|
+
`;o.div`
|
|
3360
|
+
display: flex;
|
|
3361
|
+
flex-direction: column;
|
|
3362
|
+
gap: 12px;
|
|
3363
|
+
`;const Su=o.input`
|
|
3326
3364
|
border: none;
|
|
3327
3365
|
left: 0;
|
|
3328
3366
|
right: 0;
|
|
@@ -3345,7 +3383,7 @@ button{
|
|
|
3345
3383
|
&:disabled&::placeholder{
|
|
3346
3384
|
color: ${s["neutral-100"]};
|
|
3347
3385
|
}
|
|
3348
|
-
`,
|
|
3386
|
+
`,ju=o.div`
|
|
3349
3387
|
position: relative;
|
|
3350
3388
|
height: 50px;
|
|
3351
3389
|
//width: 430px;
|
|
@@ -3373,27 +3411,40 @@ button{
|
|
|
3373
3411
|
.disabled{
|
|
3374
3412
|
pointer-events: none;
|
|
3375
3413
|
}
|
|
3376
|
-
`,
|
|
3414
|
+
`,Tu=o.p`
|
|
3377
3415
|
color: ${s["error-500"]};
|
|
3378
3416
|
margin: 0;
|
|
3379
3417
|
display: flex;
|
|
3380
3418
|
gap: 8px;
|
|
3381
3419
|
justify-content: start;
|
|
3382
3420
|
align-items: center;
|
|
3383
|
-
`,
|
|
3421
|
+
`,Wu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TextField\\TextField.tsx",Xu=e=>{let{label:n,subtext:o,errMsg:a,disabled:c,required:d,width:u,value:f}=e;const[m,h]=t.useState(""),[A,g]=i(f),[p,b]=t.useState(!1),C=l();function _(){A?(h("success"),b(!1)):(h(""),d&&(h("error"),b(!0)))}r((()=>{g(f)}),[f]);return t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:Wu,lineNumber:41}},n&&t.createElement(zu,{__self:void 0,__source:{fileName:Wu,lineNumber:43}},t.createElement("label",{className:"paragraph2Medium",__self:void 0,__source:{fileName:Wu,lineNumber:44}},n),o&&t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Wu,lineNumber:45}},o)),t.createElement(ju,{className:`${m} ${c?"disabled":""}`,style:{width:u||"100%",border:c?`1px solid ${s["neutral-100"]}`:""},__self:void 0,__source:{fileName:Wu,lineNumber:48}},t.createElement(Su,{ref:C,onBlur:_,onInvalid:_,value:A,onChange:e=>{g(e.target.value)},...e,__self:void 0,__source:{fileName:Wu,lineNumber:49}})),!f&&d&&p&&t.createElement(Tu,{__self:void 0,__source:{fileName:Wu,lineNumber:52}},t.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Wu,lineNumber:54}},t.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:Wu,lineNumber:55}})),a||t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Wu,lineNumber:57}},"This field is required")))},Zu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\RequestForm\\RequestForm.tsx",Uu=e=>{const{symbols:n,currencies:l,returnedData:o}=e,[s,a]=i({}),[d,u]=i(""),[f,m]=i({}),[h,A]=i(""),[g,p]=i([]),[b,C]=i([]);return r((()=>{let e=[];n.forEach((t=>{let i={optionName:t.name,optionShortName:t.shortName,optionFlag:t.countryFlag,price:t.price};e.push(i)})),p(e)}),[n]),r((()=>{let e=[];l.forEach((t=>{let i={optionName:t.currencyLongName,optionShortName:t.currencyShortName,optionFlag:t.countryFlag};e.push(i)})),C(e)}),[l]),t.createElement(Vu,{__self:void 0,__source:{fileName:Zu,lineNumber:60}},t.createElement(Yu,{__self:void 0,__source:{fileName:Zu,lineNumber:61}},t.createElement("label",{__self:void 0,__source:{fileName:Zu,lineNumber:62}},"Symbol"),t.createElement(Ba,{options:g,selectedOption:e=>{a(e),A(e.price)},initialText:"Select a symbol",__self:void 0,__source:{fileName:Zu,lineNumber:63}})),t.createElement(Yu,{__self:void 0,__source:{fileName:Zu,lineNumber:68}},t.createElement("label",{__self:void 0,__source:{fileName:Zu,lineNumber:69}},"Price"),t.createElement(Xu,{required:!1,value:h,disabled:!0,__self:void 0,__source:{fileName:Zu,lineNumber:70}})),t.createElement(Yu,{__self:void 0,__source:{fileName:Zu,lineNumber:72}},t.createElement("label",{__self:void 0,__source:{fileName:Zu,lineNumber:73}},"Quantity"),t.createElement(Xu,{required:!1,onChange:e=>{isNaN(Number(e.target.value))||u(e.target.value)},value:d,__self:void 0,__source:{fileName:Zu,lineNumber:74}})),t.createElement(Yu,{__self:void 0,__source:{fileName:Zu,lineNumber:79}},t.createElement("label",{__self:void 0,__source:{fileName:Zu,lineNumber:81}},"Currency I have"),t.createElement(Ba,{options:b,selectedOption:e=>{m(e)},initialText:"Select a currency",__self:void 0,__source:{fileName:Zu,lineNumber:82}})),t.createElement(Yu,{__self:void 0,__source:{fileName:Zu,lineNumber:84}},t.createElement(c,{size:"lg",variant:"primary",onClick:function(){if(Object.keys(s).length>0&&Object.keys(f).length>0&&d){const e={symbol:s,quantity:Number(d),baseCurrency:f};o(e)}},__self:void 0,__source:{fileName:Zu,lineNumber:85}},"View Offers")))},Gu=o.div`
|
|
3422
|
+
display: grid;
|
|
3423
|
+
grid-template-columns: min-content 1fr;
|
|
3424
|
+
gap: 16px;
|
|
3425
|
+
align-items: center;
|
|
3426
|
+
a.logo-link{
|
|
3427
|
+
width: max-content;
|
|
3428
|
+
}
|
|
3429
|
+
img{
|
|
3430
|
+
width: 50px;
|
|
3431
|
+
|
|
3432
|
+
}
|
|
3433
|
+
`,Ku=o.div`
|
|
3384
3434
|
border: 1px solid ${s["primary-500"]};
|
|
3385
3435
|
border-radius: 100px;
|
|
3386
3436
|
//display: inline-block;
|
|
3387
3437
|
overflow: hidden;
|
|
3388
3438
|
//max-width: 784px;
|
|
3389
3439
|
width: fit-content;
|
|
3390
|
-
|
|
3440
|
+
display: flex;
|
|
3441
|
+
align-items: center;
|
|
3442
|
+
height: 49px;
|
|
3443
|
+
`,qu=o.a`
|
|
3391
3444
|
display: inline-block;
|
|
3392
3445
|
padding: 16px;
|
|
3393
3446
|
text-decoration: none;
|
|
3394
|
-
|
|
3395
|
-
font-size: 14px;
|
|
3396
|
-
line-height: 17px;
|
|
3447
|
+
text-wrap: nowrap;
|
|
3397
3448
|
&.dark{
|
|
3398
3449
|
background: ${s["neutral-900"]};
|
|
3399
3450
|
color: ${s.white};
|
|
@@ -3409,7 +3460,7 @@ button{
|
|
|
3409
3460
|
background:${s["primary-500"]};
|
|
3410
3461
|
color: white;
|
|
3411
3462
|
}
|
|
3412
|
-
`,
|
|
3463
|
+
`,Ju="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Ribbon\\Ribbon.tsx",$u=e=>{const{links:i,bgColor:r,openInNewTab:n,currentPageItem:l,navigationOverride:o}=e;return t.createElement(Gu,{__self:void 0,__source:{fileName:Ju,lineNumber:12}},t.createElement("a",{href:"/",className:"logo-link",__self:void 0,__source:{fileName:Ju,lineNumber:13}},t.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/w_50/v1680257873/dashboard-logo-no-name-dark_vrkbad.svg",alt:"SSX Logo",__self:void 0,__source:{fileName:Ju,lineNumber:14}})),i&&i.length>0&&t.createElement(Ku,{__self:void 0,__source:{fileName:Ju,lineNumber:19}},i.map(((e,i)=>t.createElement(qu,{key:i,href:e.url,target:n?"_blank":"_self",className:`paragraph1Regular ${r} ${l&&l===e.label?"current":""}`,onClick:t=>{o&&(t.preventDefault(),o(e))},__self:void 0,__source:{fileName:Ju,lineNumber:21}},e.label)))))},ef=o.div`
|
|
3413
3464
|
display: flex;
|
|
3414
3465
|
gap: 8px;
|
|
3415
3466
|
justify-content: space-between;
|
|
@@ -3450,7 +3501,7 @@ button{
|
|
|
3450
3501
|
background: ${s["neutral-100"]};
|
|
3451
3502
|
cursor: not-allowed;
|
|
3452
3503
|
}
|
|
3453
|
-
`;const
|
|
3504
|
+
`;const tf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SearchBar\\SearchBar.tsx",rf=e=>{const{value:r,submitFxn:n}=e,[l,o]=i(r);return t.createElement("form",{onSubmit:e=>{e.preventDefault(),n(l)},__self:void 0,__source:{fileName:tf,lineNumber:15}},t.createElement(ef,{__self:void 0,__source:{fileName:tf,lineNumber:19}},t.createElement(Xu,{type:"text",width:284,placeholder:"Search",value:l,onChange:e=>{o(e.target.value)},__self:void 0,__source:{fileName:tf,lineNumber:20}}),t.createElement(c,{variant:"primary",size:"lg",width:"fit-content",type:"submit",__self:void 0,__source:{fileName:tf,lineNumber:21}},t.createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:tf,lineNumber:22}},t.createElement("path",{d:"M20.21 19.29L16.5 15.61C17.9401 13.8144 18.6375 11.5353 18.4488 9.2413C18.2601 6.9473 17.1997 4.81278 15.4855 3.27664C13.7714 1.74051 11.5338 0.91951 9.23292 0.98247C6.93203 1.04543 4.74272 1.98756 3.11514 3.61514C1.48756 5.24272 0.545427 7.43204 0.482466 9.73292C0.419506 12.0338 1.2405 14.2714 2.77664 15.9855C4.31278 17.6997 6.4473 18.7601 8.7413 18.9488C11.0353 19.1375 13.3144 18.4401 15.11 17L18.79 20.68C18.883 20.7737 18.9936 20.8481 19.1154 20.8989C19.2373 20.9497 19.368 20.9758 19.5 20.9758C19.632 20.9758 19.7627 20.9497 19.8846 20.8989C20.0064 20.8481 20.117 20.7737 20.21 20.68C20.3902 20.4935 20.491 20.2443 20.491 19.985C20.491 19.7257 20.3902 19.4765 20.21 19.29V19.29ZM9.5 17C8.11553 17 6.76215 16.5895 5.611 15.8203C4.45986 15.0511 3.56265 13.9579 3.03284 12.6788C2.50303 11.3997 2.3644 9.99223 2.6345 8.63437C2.9046 7.2765 3.57128 6.02922 4.55025 5.05025C5.52922 4.07128 6.7765 3.4046 8.13436 3.1345C9.49223 2.86441 10.8997 3.00303 12.1788 3.53284C13.4579 4.06266 14.5511 4.95986 15.3203 6.11101C16.0895 7.26215 16.5 8.61553 16.5 10C16.5 11.8565 15.7625 13.637 14.4497 14.9497C13.137 16.2625 11.3565 17 9.5 17V17Z",fill:"#F7F9FC",__self:void 0,__source:{fileName:tf,lineNumber:23}})))))},nf=o.div`
|
|
3454
3505
|
height: 72px;
|
|
3455
3506
|
background: ${s["neutral-900"]};
|
|
3456
3507
|
padding: 11px 16px;
|
|
@@ -3471,7 +3522,7 @@ button{
|
|
|
3471
3522
|
font-weight: 400;
|
|
3472
3523
|
line-height: 17px;
|
|
3473
3524
|
}
|
|
3474
|
-
`,
|
|
3525
|
+
`,lf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SearchResultsBar\\SearchResultsBar.tsx",of=e=>{const{title:i,resultsDisplayed:r,totalRes:n}=e;return t.createElement(nf,{__self:void 0,__source:{fileName:lf,lineNumber:12}},t.createElement("div",{className:"search-term",__self:void 0,__source:{fileName:lf,lineNumber:13}},'Search Term: "',i,'"'),t.createElement("div",{className:"results-count",__self:void 0,__source:{fileName:lf,lineNumber:16}},"Showing ",r," of ",n," results"))},sf=o.div`
|
|
3475
3526
|
position: absolute;
|
|
3476
3527
|
width: 100%;
|
|
3477
3528
|
height: 100%;
|
|
@@ -3479,7 +3530,7 @@ button{
|
|
|
3479
3530
|
top: 0;
|
|
3480
3531
|
background: rgb(0 0 0 / 40%);
|
|
3481
3532
|
z-index: 9999;
|
|
3482
|
-
`,
|
|
3533
|
+
`,af=o.div`
|
|
3483
3534
|
position: absolute;
|
|
3484
3535
|
right: 0;
|
|
3485
3536
|
top: 0;
|
|
@@ -3488,14 +3539,14 @@ button{
|
|
|
3488
3539
|
background: ${s.white};
|
|
3489
3540
|
padding: 0;
|
|
3490
3541
|
margin: 0;
|
|
3491
|
-
`,
|
|
3542
|
+
`,cf=o.div`
|
|
3492
3543
|
display: flex;
|
|
3493
3544
|
justify-content: space-between;
|
|
3494
3545
|
align-items: center;
|
|
3495
3546
|
background: ${s.white};
|
|
3496
3547
|
border-bottom: 1px solid ${s["neutral-100"]};
|
|
3497
3548
|
padding: 32px 38px;
|
|
3498
|
-
`,
|
|
3549
|
+
`,df=o.button`
|
|
3499
3550
|
background: transparent;
|
|
3500
3551
|
border: none;
|
|
3501
3552
|
cursor: pointer;
|
|
@@ -3507,9 +3558,9 @@ button{
|
|
|
3507
3558
|
cursor: not-allowed;
|
|
3508
3559
|
color: ${s["neutral-100"]};
|
|
3509
3560
|
}
|
|
3510
|
-
`,
|
|
3561
|
+
`,uf=o.div`
|
|
3511
3562
|
padding: 32px;
|
|
3512
|
-
`,
|
|
3563
|
+
`,ff=o.div`
|
|
3513
3564
|
display: flex;
|
|
3514
3565
|
flex-direction: column;
|
|
3515
3566
|
gap: 4px;
|
|
@@ -3528,7 +3579,7 @@ button{
|
|
|
3528
3579
|
font-style: normal;
|
|
3529
3580
|
font-family: Circular, sans-serif;
|
|
3530
3581
|
}
|
|
3531
|
-
`,
|
|
3582
|
+
`,mf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SideModal\\SideModal.tsx",hf=e=>{const{disabledNav:i,modalTitle:r,modalSubText:n,closeModal:l,children:o}=e;return t.createElement(sf,{__self:void 0,__source:{fileName:mf,lineNumber:8}},t.createElement(af,{__self:void 0,__source:{fileName:mf,lineNumber:9}},t.createElement(cf,{__self:void 0,__source:{fileName:mf,lineNumber:10}},t.createElement(df,{disabled:i,__self:void 0,__source:{fileName:mf,lineNumber:11}},!i&&t.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mf,lineNumber:14}},t.createElement("path",{d:"M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z",fill:"#070B12",__self:void 0,__source:{fileName:mf,lineNumber:15}})),i&&t.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mf,lineNumber:19}},t.createElement("path",{d:"M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z",fill:"#070B12",__self:void 0,__source:{fileName:mf,lineNumber:20}})),"Go Back"),t.createElement(df,{onClick:()=>{l(!1)},__self:void 0,__source:{fileName:mf,lineNumber:25}},t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mf,lineNumber:27}},t.createElement("path",{d:"M7.4 6L11.7 1.7C12.1 1.3 12.1 0.7 11.7 0.3C11.3 -0.1 10.7 -0.1 10.3 0.3L6 4.6L1.7 0.3C1.3 -0.1 0.7 -0.1 0.3 0.3C-0.0999998 0.7 -0.0999998 1.3 0.3 1.7L4.6 6L0.3 10.3C0.1 10.5 0 10.7 0 11C0 11.6 0.4 12 1 12C1.3 12 1.5 11.9 1.7 11.7L6 7.4L10.3 11.7C10.5 11.9 10.7 12 11 12C11.3 12 11.5 11.9 11.7 11.7C12.1 11.3 12.1 10.7 11.7 10.3L7.4 6Z",fill:"#070B12",__self:void 0,__source:{fileName:mf,lineNumber:28}})))),t.createElement(uf,{__self:void 0,__source:{fileName:mf,lineNumber:32}},r&&t.createElement(ff,{__self:void 0,__source:{fileName:mf,lineNumber:34}},t.createElement("h3",{className:"title",__self:void 0,__source:{fileName:mf,lineNumber:35}},r),t.createElement("p",{className:"sub-text",__self:void 0,__source:{fileName:mf,lineNumber:36}},n)),o)))},Af=o.div`
|
|
3532
3583
|
padding: 16px;
|
|
3533
3584
|
border-radius: 8px;
|
|
3534
3585
|
background: ${s.white};
|
|
@@ -3539,20 +3590,20 @@ button{
|
|
|
3539
3590
|
a{
|
|
3540
3591
|
text-decoration: none;
|
|
3541
3592
|
}
|
|
3542
|
-
`,
|
|
3593
|
+
`,gf=o.img`
|
|
3543
3594
|
width: 113px;
|
|
3544
3595
|
height: 102px;
|
|
3545
3596
|
border-radius: 8px;
|
|
3546
3597
|
object-fit: cover;
|
|
3547
3598
|
max-width: none;
|
|
3548
|
-
`,
|
|
3599
|
+
`,pf=o.h6`
|
|
3549
3600
|
color: ${s["neutral-900"]};
|
|
3550
3601
|
margin: 0;
|
|
3551
3602
|
display: -webkit-box;
|
|
3552
3603
|
-webkit-line-clamp: 2;
|
|
3553
3604
|
-webkit-box-orient: vertical;
|
|
3554
3605
|
overflow:hidden;
|
|
3555
|
-
`,
|
|
3606
|
+
`,bf=o.div`
|
|
3556
3607
|
display: flex;
|
|
3557
3608
|
flex-direction: column;
|
|
3558
3609
|
gap: 16px;
|
|
@@ -3562,7 +3613,7 @@ button{
|
|
|
3562
3613
|
h6{
|
|
3563
3614
|
text-overflow: ellipsis;
|
|
3564
3615
|
}
|
|
3565
|
-
`,
|
|
3616
|
+
`,Cf=o.div`
|
|
3566
3617
|
background: ${s["neutral-50"]};
|
|
3567
3618
|
border-radius: 8px;
|
|
3568
3619
|
display: inline-flex;
|
|
@@ -3586,7 +3637,7 @@ button{
|
|
|
3586
3637
|
text-overflow: ellipsis;
|
|
3587
3638
|
overflow:hidden;
|
|
3588
3639
|
}
|
|
3589
|
-
`;var bf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAJYCAYAAABy5h8aAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAADg3SURBVHgB7d1trFx1fh/w/zULwUBUG7s1SDXF66q2IxXsiq0W+8XCFlDIdq2wb3Aq9cG8qJTdqk0ioVR5Ubp5USVCStNqN5Gqat2+6YIqLRG7LRGLZKLKJmpQbVAb7CiskZ0WW/JTGxZTtvh2fnM5Zu65Z2bOzJ258xvfz0e6su+9M+fxf849/+/8HxZKS2fOXNn055+Uny8L17+0UBb2LpZyf+fHmwoAAAAADHd1oZT3FsviybK4+Ac/fcstv7djx+arbd64MOwF75y5cv9Prl//J52X/oMisAIAAABgYhb/3a0bNnxzz47N7w16Vd8Aq9viqpTnyvXFXyoAAAAAMDWLv/3Azi2/3O+3jQHWUqurxaNlqZsgAAAAAEzbe7duWHi0qTXWhvoP/seZK3uFVwAAAACssW6Dqv/xJ1f21n+xrAWWllcAAAAAzNiKlljLWmAJrwAAAACYsW4DqxifvfrBjQDr7TNX/mURXgEAAAAwe/f/+fXrz1XfdLsQ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O1euKkAAAAAwHBXFxfKewuLiyfL4oY/+OSW8nsxqWCbN/5/jEw3gT8wr2sAAAAASUVORK5CYII=";const Cf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SmallNewsCard\\SmallNewsCard.tsx",_f=e=>{const{title:i,date:r,source:n,sourceCountryFlagUrl:l,featuredImgUrl:o,storyUrl:s,navigationOverride:a}=e;return t.createElement(mf,{__self:void 0,__source:{fileName:Cf,lineNumber:14}},t.createElement("a",{href:s,onClick:e=>{a&&(e.preventDefault(),a({title:i,date:r,source:n,sourceCountryFlagUrl:l,featuredImgUrl:o,storyUrl:s}))},__self:void 0,__source:{fileName:Cf,lineNumber:15}},t.createElement(hf,{src:o,alt:i,onError:e=>{e.currentTarget.src=bf,e.currentTarget.srcset=bf},loading:"lazy",__self:void 0,__source:{fileName:Cf,lineNumber:20}})),t.createElement(gf,{__self:void 0,__source:{fileName:Cf,lineNumber:24}},t.createElement("div",{className:"title",__self:void 0,__source:{fileName:Cf,lineNumber:25}},t.createElement("a",{href:s,onClick:e=>{a&&(e.preventDefault(),a({title:i,date:r,source:n,sourceCountryFlagUrl:l,featuredImgUrl:o,storyUrl:s}))},__self:void 0,__source:{fileName:Cf,lineNumber:26}},t.createElement(Af,{className:"heading6Medium",__self:void 0,__source:{fileName:Cf,lineNumber:31}},i))),t.createElement(pf,{__self:void 0,__source:{fileName:Cf,lineNumber:33}},t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:Cf,lineNumber:34}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:Cf,lineNumber:35}},t.createElement("img",{src:l,alt:"Source flag",__self:void 0,__source:{fileName:Cf,lineNumber:36}})),t.createElement("span",{className:"captionBook",__self:void 0,__source:{fileName:Cf,lineNumber:38}},n)),t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:Cf,lineNumber:40}},t.createElement("span",{className:"captionBook",__self:void 0,__source:{fileName:Cf,lineNumber:40}},r)))))};var vf={};Object.defineProperty(vf,"__esModule",{value:!0});var xf=t;function Nf(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var wf=Nf(xf),Ef=function(){return Ef=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Ef.apply(this,arguments)};
|
|
3640
|
+
`;var _f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAJYCAYAAABy5h8aAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAADg3SURBVHgB7d1trFx1fh/w/zULwUBUG7s1SDXF66q2IxXsiq0W+8XCFlDIdq2wb3Aq9cG8qJTdqk0ioVR5Ubp5USVCStNqN5Gqat2+6YIqLRG7LRGLZKLKJmpQbVAb7CiskZ0WW/JTGxZTtvh2fnM5Zu65Z2bOzJ258xvfz0e6su+9M+fxf849/+/8HxZKS2fOXNn055+Uny8L17+0UBb2LpZyf+fHmwoAAAAADHd1oZT3FsviybK4+Ac/fcstv7djx+arbd64MOwF75y5cv9Prl//J52X/oMisAIAAABgYhb/3a0bNnxzz47N7w16Vd8Aq9viqpTnyvXFXyoAAAAAMDWLv/3Azi2/3O+3jQHWUqurxaNlqZsgAAAAAEzbe7duWHi0qTXWhvoP/seZK3uFVwAAAACssW6Dqv/xJ1f21n+xrAWWllcAAAAAzNiKlljLWmAJrwAAAACYsW4DqxifvfrBjQDr7TNX/mURXgEAAAAwe/f/+fXrz1XfdLsQftp18EwBAAAAgCRu3bCwI7oSdltg/aQn0QIAAACADP7fJ9d/Kf5dOHHmyqZbri9eKQAAAACQy9Wf3rCwY8Mtn3zy8wUAAAAA8tn0553sakNZWPhSAQAAAICMbrnlSxsWysLeAgAAAAAJLV5f3LthsZT7CwAAAAAktNDJrmIWwk0FAAAAAHLatKEAAAAAQGICLAAAAABSE2ABAAAAkJoACwAAAIDUBFgAAAAApCbAAgAAACA1ARYAAAAAqQmwAAAAA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ABQAAAEBqAiwAAAAAUhNgAQAAAJCaAAsAAACA1ARYAAAAAKQmwAIAAAAgNQEWAAAAAKkJsAAAAABITYAFAAAAQGoCLAAAAABSE2ABAAAAkJoACwAAAIDUBFgAAAAApCbAAgAAACA1ARYAAAAAqQmwAAAAAEhNgAUAAABAagIsAAAAAFITYAEAAACQmgALAAAAgNQEWAAAAACkJsACAAAAIDUBFgAAAACpCbAAAAAASE2ABQAAAEBqAiwAAAAAUhNgAQAAAJCaAAsAAACA1ARYAAAAAKQmwAIAAAAgNQEWAAAAAKkJsAAAAABITYAFAAAAQGoCLAAAAABSE2ABAAAAkJoACwAAAIDUBFgAAAAApCbAAgAAACA1ARYAAAAAqUWAdbUAAAAAQE5XNyyU8l4BAAAAgIQWO9nVhuuLi28VAAAAAEhooSyc3LBQFl8vAAAAAJDRYvmDDZ/ccsvvFeNgAQAAAJDQT99Sfm/Dvh2bry6WxX9fAAAAACCVhX+3o5NdxSyE5fqGDb9dAAAAACCRTzaUb8a/3QBr347N7y0uLv6rAgAAAAAJLHSyqsisuv+vfnjizJVNG64vnuj84P4CAAAAADOyWMp7D+68e0f1/YbqPzEW1vUNC4/GCwoAAAAAzEBkU5FR9f5sQ+830Syr84KnhFgAAAAArLVPw6unqq6DlYWmF584c+X+DdcXj+pOCAAAAMBaqFpe1cOrsKHpDfHC6GdoYHcAAAAApi0GbO+EV/uawqvu74ctoNsa65Pr/3xhYeHvFwAAAACYjKuLi4v//votG367X3BVGRpgVWKWwls+KT+/WK4/UjYsPLiw2O1euKkAAAAAwHBXFxfKewuLiyfL4oY/+OSW8nsxqWCbN/5/jEw3gT8wr2sAAAAASUVORK5CYII=";const vf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SmallNewsCard\\SmallNewsCard.tsx",xf=e=>{const{title:i,date:r,source:n,sourceCountryFlagUrl:l,featuredImgUrl:o,storyUrl:s,navigationOverride:a}=e;return t.createElement(Af,{__self:void 0,__source:{fileName:vf,lineNumber:14}},t.createElement("a",{href:s,onClick:e=>{a&&(e.preventDefault(),a({title:i,date:r,source:n,sourceCountryFlagUrl:l,featuredImgUrl:o,storyUrl:s}))},__self:void 0,__source:{fileName:vf,lineNumber:15}},t.createElement(gf,{src:o,alt:i,onError:e=>{e.currentTarget.src=_f,e.currentTarget.srcset=_f},loading:"lazy",__self:void 0,__source:{fileName:vf,lineNumber:20}})),t.createElement(bf,{__self:void 0,__source:{fileName:vf,lineNumber:24}},t.createElement("div",{className:"title",__self:void 0,__source:{fileName:vf,lineNumber:25}},t.createElement("a",{href:s,onClick:e=>{a&&(e.preventDefault(),a({title:i,date:r,source:n,sourceCountryFlagUrl:l,featuredImgUrl:o,storyUrl:s}))},__self:void 0,__source:{fileName:vf,lineNumber:26}},t.createElement(pf,{className:"heading6Medium",__self:void 0,__source:{fileName:vf,lineNumber:31}},i))),t.createElement(Cf,{__self:void 0,__source:{fileName:vf,lineNumber:33}},t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:vf,lineNumber:34}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:vf,lineNumber:35}},t.createElement("img",{src:l,alt:"Source flag",__self:void 0,__source:{fileName:vf,lineNumber:36}})),t.createElement("span",{className:"captionBook",__self:void 0,__source:{fileName:vf,lineNumber:38}},n)),t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:vf,lineNumber:40}},t.createElement("span",{className:"captionBook",__self:void 0,__source:{fileName:vf,lineNumber:40}},r)))))};var Nf={};Object.defineProperty(Nf,"__esModule",{value:!0});var wf=t;function Ef(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var yf=Ef(wf),Df=function(){return Df=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Df.apply(this,arguments)};
|
|
3590
3641
|
/*! *****************************************************************************
|
|
3591
3642
|
Copyright (c) Microsoft Corporation.
|
|
3592
3643
|
|
|
@@ -3600,7 +3651,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
3600
3651
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3601
3652
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3602
3653
|
PERFORMANCE OF THIS SOFTWARE.
|
|
3603
|
-
***************************************************************************** */!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n overflow-x: hidden !important;\n display: flex !important;\n flex-direction: row !important;\n position: relative;\n width: 100%;\n}\n.marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.overlay::before, .overlay::after {\n background: linear-gradient(to right, var(--gradient-color));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n}\n.overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.overlay::before {\n left: 0;\n top: 0;\n}\n\n.marquee {\n flex: 0 0 auto;\n min-width: 100%;\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}');var
|
|
3654
|
+
***************************************************************************** */!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n overflow-x: hidden !important;\n display: flex !important;\n flex-direction: row !important;\n position: relative;\n width: 100%;\n}\n.marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.overlay::before, .overlay::after {\n background: linear-gradient(to right, var(--gradient-color));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n}\n.overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.overlay::before {\n left: 0;\n top: 0;\n}\n\n.marquee {\n flex: 0 0 auto;\n min-width: 100%;\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}');var Bf=Nf.default=function(e){var t,i,r,n,l=e.style,o=void 0===l?{}:l,s=e.className,a=void 0===s?"":s,c=e.play,d=void 0===c||c,u=e.pauseOnHover,f=void 0!==u&&u,m=e.pauseOnClick,h=void 0!==m&&m,A=e.direction,g=void 0===A?"left":A,p=e.speed,b=void 0===p?20:p,C=e.delay,_=void 0===C?0:C,v=e.loop,x=void 0===v?0:v,N=e.gradient,w=void 0===N||N,E=e.gradientColor,y=void 0===E?[255,255,255]:E,D=e.gradientWidth,B=void 0===D?200:D,M=e.onFinish,k=e.onCycleComplete,P=e.children,L=wf.useState(0),H=L[0],I=L[1],F=wf.useState(0),Q=F[0],O=F[1],R=wf.useState(!1),V=R[0],Y=R[1],z=wf.useRef(null),S=wf.useRef(null);wf.useEffect((function(){if(V){var e=function(){S.current&&z.current&&(I(z.current.getBoundingClientRect().width),O(S.current.getBoundingClientRect().width))};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}}),[V]),wf.useEffect((function(){Y(!0)}),[]);var j="rgba("+y[0]+", "+y[1]+", "+y[2],T=Q<H?H/b:Q/b;return yf.default.createElement(wf.Fragment,null,V?yf.default.createElement("div",{ref:z,style:Df(Df({},o),(t={},t["--pause-on-hover"]=!d||f?"paused":"running",t["--pause-on-click"]=!d||f&&!h||h?"paused":"running",t)),className:a+" marquee-container"},w&&yf.default.createElement("div",{style:(i={},i["--gradient-color"]=j+", 1), "+j+", 0)",i["--gradient-width"]="number"==typeof B?B+"px":B,i),className:"overlay"}),yf.default.createElement("div",{ref:S,style:(r={},r["--play"]=d?"running":"paused",r["--direction"]="left"===g?"normal":"reverse",r["--duration"]=T+"s",r["--delay"]=_+"s",r["--iteration-count"]=x?""+x:"infinite",r),className:"marquee",onAnimationIteration:k,onAnimationEnd:M},P),yf.default.createElement("div",{style:(n={},n["--play"]=d?"running":"paused",n["--direction"]="left"===g?"normal":"reverse",n["--duration"]=T+"s",n["--delay"]=_+"s",n["--iteration-count"]=x?""+x:"infinite",n),className:"marquee","aria-hidden":"true"},P)):null)};const Mf=o.div`
|
|
3604
3655
|
// background: ${s["neutral-700"]};
|
|
3605
3656
|
//color: ${s["neutral-50"]};
|
|
3606
3657
|
font-size: 14px;
|
|
@@ -3640,11 +3691,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3640
3691
|
height: 0;
|
|
3641
3692
|
width: 0;
|
|
3642
3693
|
}
|
|
3643
|
-
`,
|
|
3694
|
+
`,kf=o.div`
|
|
3644
3695
|
border-left: 1px solid ${s["neutral-400"]};
|
|
3645
|
-
`,
|
|
3696
|
+
`,Pf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\StocksTicker\\StocksTicker.tsx",Lf=e=>{const{stocksData:i,tickerTheme:r,customBgColor:n}=e;function l(e){return e<0?"error":e>0?"success":""}return t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(Bf,{speed:30,pauseOnHover:!0,pauseOnClick:!0,gradient:!1,style:{background:n||("light"===r?"white":s["neutral-700"])},__self:void 0,__source:{fileName:Pf,lineNumber:38}},t.createElement(Mf,{className:r,__self:void 0,__source:{fileName:Pf,lineNumber:39}},i.map(((e,i)=>{return t.createElement("span",{key:i,__self:void 0,__source:{fileName:Pf,lineNumber:48}},e.price&&e.changeValue&&e.changePercent&&t.createElement(kf,{__self:void 0,__source:{fileName:Pf,lineNumber:50}},t.createElement("span",{className:"market-item",__self:void 0,__source:{fileName:Pf,lineNumber:51}},"success"===l(Number(e.changeValue))&&t.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Pf,lineNumber:53}},t.createElement("path",{d:"M7.47335 5.02667C7.40994 4.96598 7.33518 4.9184 7.25335 4.88667C7.09104 4.81999 6.90899 4.81999 6.74668 4.88667C6.66485 4.9184 6.59008 4.96598 6.52668 5.02667L4.52668 7.02667C4.40114 7.1522 4.33062 7.32247 4.33062 7.5C4.33062 7.67754 4.40114 7.8478 4.52668 7.97334C4.65222 8.09887 4.82248 8.1694 5.00001 8.1694C5.17755 8.1694 5.34781 8.09887 5.47335 7.97334L6.33335 7.10667V9.5C6.33335 9.67681 6.40358 9.84638 6.52861 9.97141C6.65363 10.0964 6.8232 10.1667 7.00001 10.1667C7.17682 10.1667 7.34639 10.0964 7.47142 9.97141C7.59644 9.84638 7.66668 9.67681 7.66668 9.5V7.10667L8.52668 7.97334C8.58866 8.03582 8.66239 8.08542 8.74363 8.11926C8.82487 8.15311 8.91201 8.17053 9.00001 8.17053C9.08802 8.17053 9.17516 8.15311 9.2564 8.11926C9.33764 8.08542 9.41137 8.03582 9.47335 7.97334C9.53583 7.91136 9.58543 7.83763 9.61927 7.75639C9.65312 7.67515 9.67055 7.58801 9.67055 7.5C9.67055 7.41199 9.65312 7.32486 9.61927 7.24362C9.58543 7.16238 9.53583 7.08864 9.47335 7.02667L7.47335 5.02667ZM7.00001 0.833336C5.68147 0.833336 4.39254 1.22433 3.29621 1.95687C2.19988 2.68941 1.3454 3.73061 0.840816 4.94878C0.336232 6.16695 0.20421 7.5074 0.461445 8.8006C0.718679 10.0938 1.35362 11.2817 2.28597 12.214C3.21832 13.1464 4.4062 13.7813 5.69941 14.0386C6.99262 14.2958 8.33306 14.1638 9.55124 13.6592C10.7694 13.1546 11.8106 12.3001 12.5431 11.2038C13.2757 10.1075 13.6667 8.81854 13.6667 7.5C13.6667 6.62452 13.4942 5.75762 13.1592 4.94878C12.8242 4.13994 12.3331 3.40501 11.7141 2.78596C11.095 2.1669 10.3601 1.67584 9.55124 1.34081C8.7424 1.00577 7.87549 0.833336 7.00001 0.833336ZM7.00001 12.8333C5.94518 12.8333 4.91403 12.5205 4.03697 11.9345C3.15991 11.3485 2.47632 10.5155 2.07266 9.54098C1.66899 8.56644 1.56337 7.49409 1.76916 6.45952C1.97495 5.42496 2.4829 4.47465 3.22878 3.72877C3.97466 2.98289 4.92497 2.47494 5.95953 2.26915C6.9941 2.06336 8.06645 2.16898 9.04099 2.57265C10.0155 2.97631 10.8485 3.6599 11.4345 4.53696C12.0206 5.41402 12.3333 6.44517 12.3333 7.5C12.3333 8.91449 11.7714 10.271 10.7712 11.2712C9.77106 12.2714 8.4145 12.8333 7.00001 12.8333Z",fill:"#06BA63",__self:void 0,__source:{fileName:Pf,lineNumber:54}})),"error"===l(Number(e.changeValue))&&t.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Pf,lineNumber:58}},t.createElement("path",{d:"M6.52667 9.97333C6.59007 10.034 6.66483 10.0816 6.74667 10.1133C6.90898 10.18 7.09103 10.18 7.25334 10.1133C7.33517 10.0816 7.40993 10.034 7.47334 9.97333L9.47334 7.97333C9.59887 7.8478 9.6694 7.67753 9.6694 7.5C9.6694 7.32246 9.59887 7.1522 9.47334 7.02666C9.3478 6.90113 9.17754 6.8306 9 6.8306C8.82247 6.8306 8.6522 6.90113 8.52667 7.02666L7.66667 7.89333V5.5C7.66667 5.32319 7.59643 5.15362 7.47141 5.02859C7.34638 4.90357 7.17681 4.83333 7 4.83333C6.82319 4.83333 6.65362 4.90357 6.5286 5.02859C6.40357 5.15362 6.33334 5.32319 6.33334 5.5V7.89333L5.47334 7.02666C5.41136 6.96418 5.33763 6.91458 5.25639 6.88074C5.17515 6.84689 5.08801 6.82947 5 6.82947C4.91199 6.82947 4.82486 6.84689 4.74362 6.88074C4.66238 6.91458 4.58864 6.96418 4.52667 7.02666C4.46418 7.08864 4.41459 7.16237 4.38074 7.24361C4.3469 7.32485 4.32947 7.41199 4.32947 7.5C4.32947 7.58801 4.3469 7.67514 4.38074 7.75638C4.41459 7.83762 4.46418 7.91136 4.52667 7.97333L6.52667 9.97333ZM7 14.1667C8.31854 14.1667 9.60748 13.7757 10.7038 13.0431C11.8001 12.3106 12.6546 11.2694 13.1592 10.0512C13.6638 8.83305 13.7958 7.4926 13.5386 6.1994C13.2813 4.90619 12.6464 3.7183 11.714 2.78595C10.7817 1.8536 9.59381 1.21866 8.3006 0.961429C7.0074 0.704195 5.66695 0.836217 4.44878 1.3408C3.23061 1.84539 2.18941 2.69987 1.45687 3.7962C0.724329 4.89252 0.333336 6.18146 0.333336 7.5C0.333336 9.26811 1.03571 10.9638 2.28596 12.214C2.90501 12.8331 3.63994 13.3242 4.44878 13.6592C5.25762 13.9942 6.12452 14.1667 7 14.1667ZM7 2.16666C8.05484 2.16666 9.08598 2.47946 9.96304 3.06549C10.8401 3.65153 11.5237 4.48448 11.9274 5.45902C12.331 6.43356 12.4366 7.50591 12.2309 8.54048C12.0251 9.57505 11.5171 10.5254 10.7712 11.2712C10.0254 12.0171 9.07505 12.5251 8.04048 12.7309C7.00592 12.9366 5.93356 12.831 4.95902 12.4274C3.98448 12.0237 3.15153 11.3401 2.5655 10.463C1.97946 9.58598 1.66667 8.55483 1.66667 7.5C1.66667 6.08551 2.22857 4.72896 3.22877 3.72876C4.22896 2.72857 5.58551 2.16666 7 2.16666Z",fill:"#F80000",__self:void 0,__source:{fileName:Pf,lineNumber:59}})),""===l(Number(e.changeValue))&&t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Pf,lineNumber:63}},t.createElement("path",{d:"M7.00017 0.333374C5.68162 0.333374 4.39269 0.724367 3.29636 1.45691C2.20004 2.18945 1.34555 3.23064 0.840969 4.44882C0.336385 5.66699 0.204362 7.00744 0.461597 8.30064C0.718832 9.59385 1.35377 10.7817 2.28612 11.7141C3.21847 12.6464 4.40636 13.2814 5.69956 13.5386C6.99277 13.7958 8.33322 13.6638 9.55139 13.1592C10.7696 12.6547 11.8108 11.8002 12.5433 10.7038C13.2758 9.60751 13.6668 8.31858 13.6668 7.00004C13.6668 6.12456 13.4944 5.25765 13.1594 4.44882C12.8243 3.63998 12.3333 2.90505 11.7142 2.286C11.0952 1.66694 10.3602 1.17588 9.55139 0.840844C8.74255 0.505812 7.87565 0.333374 7.00017 0.333374ZM7.00017 12.3334C5.94533 12.3334 4.91419 12.0206 4.03712 11.4345C3.16006 10.8485 2.47648 10.0156 2.07281 9.04102C1.66914 8.06648 1.56352 6.99412 1.76931 5.95956C1.9751 4.92499 2.48305 3.97468 3.22893 3.2288C3.97481 2.48292 4.92512 1.97497 5.95968 1.76919C6.99425 1.5634 8.06661 1.66902 9.04114 2.07268C10.0157 2.47635 10.8486 3.15994 11.4347 4.037C12.0207 4.91406 12.3335 5.94521 12.3335 7.00004C12.3335 8.41453 11.7716 9.77108 10.7714 10.7713C9.77121 11.7715 8.41465 12.3334 7.00017 12.3334ZM9.66683 6.33337H4.3335C4.15669 6.33337 3.98712 6.40361 3.86209 6.52864C3.73707 6.65366 3.66683 6.82323 3.66683 7.00004C3.66683 7.17685 3.73707 7.34642 3.86209 7.47144C3.98712 7.59647 4.15669 7.66671 4.3335 7.66671H9.66683C9.84364 7.66671 10.0132 7.59647 10.1382 7.47144C10.2633 7.34642 10.3335 7.17685 10.3335 7.00004C10.3335 6.82323 10.2633 6.65366 10.1382 6.52864C10.0132 6.40361 9.84364 6.33337 9.66683 6.33337Z",fill:"dark"===r?"#F7F9FC":"#29446D",__self:void 0,__source:{fileName:Pf,lineNumber:64}})),e.symbolShortName," (","GH"===(n=e.market)?"GSE":"KE"===n?"KSE":"NG"===n?"NGX":void 0,") ",t.createElement("span",{className:l(Number(e.changeValue)),__self:void 0,__source:{fileName:Pf,lineNumber:67}},`${e.changePercent}%`," (",e.price,")")),t.createElement("div",{className:"ticker-divider",__self:void 0,__source:{fileName:Pf,lineNumber:69}})));var n})))))},Hf=o.div`
|
|
3646
3697
|
overflow-x: auto;
|
|
3647
|
-
`,
|
|
3698
|
+
`,If=o.table`
|
|
3648
3699
|
width: 100%;
|
|
3649
3700
|
border-collapse: separate;
|
|
3650
3701
|
border-spacing: 0 8px;
|
|
@@ -3694,7 +3745,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3694
3745
|
font-weight: 400;
|
|
3695
3746
|
line-height: 19px;
|
|
3696
3747
|
}
|
|
3697
|
-
`,
|
|
3748
|
+
`,Ff=o.div`
|
|
3698
3749
|
display: flex;
|
|
3699
3750
|
justify-content: center;
|
|
3700
3751
|
align-items: center;
|
|
@@ -3702,7 +3753,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3702
3753
|
height: 300px;
|
|
3703
3754
|
background: ${s.white};
|
|
3704
3755
|
border-radius: 8px;
|
|
3705
|
-
`,
|
|
3756
|
+
`,Qf=o.div`
|
|
3706
3757
|
display: flex;
|
|
3707
3758
|
align-items: center;
|
|
3708
3759
|
flex-direction: column;
|
|
@@ -3713,7 +3764,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3713
3764
|
line-height: 19px;
|
|
3714
3765
|
margin: 0;
|
|
3715
3766
|
}
|
|
3716
|
-
`,
|
|
3767
|
+
`,Of="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SystemConfigTable\\SystemConfigTable.tsx",Rf=e=>{const{configs:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.configName<t.configName?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(Hf,{__self:void 0,__source:{fileName:Of,lineNumber:61}},t.createElement(If,{__self:void 0,__source:{fileName:Of,lineNumber:62}},t.createElement("thead",{__self:void 0,__source:{fileName:Of,lineNumber:63}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Of,lineNumber:64}},t.createElement("th",{__self:void 0,__source:{fileName:Of,lineNumber:65}},"Code"),t.createElement("th",{__self:void 0,__source:{fileName:Of,lineNumber:66}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.configName<t.configName?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.configName<e.configName?-1:1)))},__self:void 0,__source:{fileName:Of,lineNumber:67}},"Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:72}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Of,lineNumber:73}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:80}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Of,lineNumber:81}}))))),t.createElement("th",{__self:void 0,__source:{fileName:Of,lineNumber:87}},"Value"),t.createElement("th",{__self:void 0,__source:{fileName:Of,lineNumber:88}},"Remarks"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:Of,lineNumber:92}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:Of,lineNumber:94}},t.createElement("td",{__self:void 0,__source:{fileName:Of,lineNumber:95}},e.configCode),t.createElement("td",{__self:void 0,__source:{fileName:Of,lineNumber:96}},e.configName),t.createElement("td",{__self:void 0,__source:{fileName:Of,lineNumber:97}},e.configValue),t.createElement("td",{__self:void 0,__source:{fileName:Of,lineNumber:98}},t.createElement("div",{__self:void 0,__source:{fileName:Of,lineNumber:99}},e.remarks,t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:101}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Of,lineNumber:102}}))))))))),u&&0===u.length&&A&&t.createElement(Ff,{__self:void 0,__source:{fileName:Of,lineNumber:112}},t.createElement(Qf,{__self:void 0,__source:{fileName:Of,lineNumber:113}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:114}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Of,lineNumber:115}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Of,lineNumber:116}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Of,lineNumber:117}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Of,lineNumber:118}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Of,lineNumber:119}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Of,lineNumber:120}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Of,lineNumber:121}})),t.createElement("defs",{__self:void 0,__source:{fileName:Of,lineNumber:123}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Of,lineNumber:124}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Of,lineNumber:125}})))),t.createElement("p",{__self:void 0,__source:{fileName:Of,lineNumber:129}},"System configs will be displayed here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:Of,lineNumber:134}}))},Vf=o.table`
|
|
3717
3768
|
.btn {
|
|
3718
3769
|
padding: 0.6rem 1rem;
|
|
3719
3770
|
background: transparent;
|
|
@@ -3775,7 +3826,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3775
3826
|
}
|
|
3776
3827
|
}
|
|
3777
3828
|
}
|
|
3778
|
-
`;function Rf(e){let t=e.split("");return t[0]=t[0].toUpperCase(),t.join("").replace("_"," ")}var Vf=e.forwardRef((function({title:t,titleId:i,...r},n){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":i},r),t?e.createElement("title",{id:i},t):null,e.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z",clipRule:"evenodd"}))}));var zf=e.forwardRef((function({title:t,titleId:i,...r},n){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":i},r),t?e.createElement("title",{id:i},t):null,e.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}));const Yf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SDataTable\\table.tsx",Sf=t=>{const{title:i,data:r,columns:n=[],columnSort:l=!1,config:o,onRowClick:s,rowExpand:a=!1,onRowExpandComponent:c,itemsPerPage:d,hasSearch:u=!1,formatData:f}=t,[m,h]=e.useState([]),[A,g]=e.useState([]),[p,b]=e.useState(1),[C,_]=e.useState(10),[v,x]=e.useState(""),[N,w]=e.useState(""),[E,y]=e.useState([]),[D,B]=e.useState(!1),[M,k]=e.useState([]),[P,L]=e.useState([]);e.useEffect((()=>{if(E.length>0)return void h(E.slice((p-1)*C,p*C));let e=A.slice((p-1)*C,p*C);h(e)}),[p]),e.useEffect((()=>{let e=A.slice((p-1)*C,p*C);h(e)}),[D]);return e.useEffect((()=>{v&&h(E.slice(0,C))}),[E]),e.useEffect((()=>{h(A.slice(0,C))}),[M]),e.useEffect((()=>{(e=>{if(!e)return y([]),w(""),void(1!=p?b(1):B(!D));if(N){let t=A.filter((t=>t[N].toString().includes(e)));y(t)}else{let t=A.filter((t=>{for(let i in t)if(t[i].toString().includes(e))return!0;return!1}));y(t)}x(e),b(1)})(v)}),[v]),e.useEffect((()=>{_(d||A.length-1)}),[]),e.useEffect((()=>{(async function(e,t){if(Array.isArray(e))return e;if(/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/gm.test(e)){const i=await fetch(e,t);return await i.json()}return[]})(r,o).then((e=>{if(f&&(e=e.map((e=>f(e)))),g(e),0==n.length&&e.length>0){let t=Object.keys(e[0]).map((e=>({title:Rf(e),field:e,sortable:l})));k(t)}else k(n.map(((e,t)=>({sortable:l,...e}))))})).catch((()=>{g([])}))}),[r]),e.createElement("div",{className:"s-data-table",__self:void 0,__source:{fileName:Yf,lineNumber:178}},e.createElement("div",{className:"s-data-table_header",__self:void 0,__source:{fileName:Yf,lineNumber:179}},e.createElement("h5",{__self:void 0,__source:{fileName:Yf,lineNumber:180}},i),u&&e.createElement("div",{__self:void 0,__source:{fileName:Yf,lineNumber:183}},e.createElement("input",{type:"text",value:v,placeholder:"Search",onChange:e=>{x(e.target.value)},__self:void 0,__source:{fileName:Yf,lineNumber:184}}),v&&e.createElement(zf,{onClick:()=>{x("")},className:"s-datatable-icon",__self:void 0,__source:{fileName:Yf,lineNumber:193}}))),e.createElement(Of,{__self:void 0,__source:{fileName:Yf,lineNumber:201}},e.createElement("thead",{className:"s-data-table_head h-[66px]",__self:void 0,__source:{fileName:Yf,lineNumber:202}},e.createElement("tr",{__self:void 0,__source:{fileName:Yf,lineNumber:203}},M&&M.length>0&&M.map(((t,i)=>e.createElement("th",{style:{width:t.width?t.width:1/M.length*100+"%"},className:""+(N==t.field?"s-data-table_head-selected":""),key:i,onClick:()=>{w(t.field)},__self:void 0,__source:{fileName:Yf,lineNumber:208}},e.createElement("div",{__self:void 0,__source:{fileName:Yf,lineNumber:224}},e.createElement("span",{className:"text-white",__self:void 0,__source:{fileName:Yf,lineNumber:225}},t.title),e.createElement("span",{__self:void 0,__source:{fileName:Yf,lineNumber:226}},t.sortable&&e.createElement(Vf,{className:"s-datatable-icon",__self:void 0,__source:{fileName:Yf,lineNumber:228}})))))))),e.createElement("tbody",{__self:void 0,__source:{fileName:Yf,lineNumber:237}},m&&m.length>0&&m.map(((t,i)=>e.createElement(e.Fragment,null,e.createElement("tr",{className:"h-[62px]",style:{cursor:s?"pointer":""},onClick:()=>{return e=t,s&&s(e),void(a&&-1===P.indexOf(e.id)?L([...P,e.id]):a&&L(P.filter((t=>t!==e.id))));var e},key:t.id,__self:void 0,__source:{fileName:Yf,lineNumber:243}},M.map(((i,r)=>e.createElement("td",{className:"font-semibold",key:r,__self:void 0,__source:{fileName:Yf,lineNumber:251}},t[i.field])))),a&&P.length>0&&P.indexOf(t.id)>-1&&c&&e.createElement("tr",{__self:void 0,__source:{fileName:Yf,lineNumber:261}},e.createElement("td",{colSpan:M.length,__self:void 0,__source:{fileName:Yf,lineNumber:262}},e.createElement("div",{key:i,__self:void 0,__source:{fileName:Yf,lineNumber:263}},c(t))))))),m&&0===m.length&&e.createElement("tr",{__self:void 0,__source:{fileName:Yf,lineNumber:271}},e.createElement("td",{colSpan:n.length,__self:void 0,__source:{fileName:Yf,lineNumber:272}},"No data found"))),e.createElement("tfoot",{__self:void 0,__source:{fileName:Yf,lineNumber:276}},e.createElement("tr",{__self:void 0,__source:{fileName:Yf,lineNumber:277}},e.createElement("td",{colSpan:n.length,__self:void 0,__source:{fileName:Yf,lineNumber:278}},e.createElement("div",{className:"s-datatable-foot_summary w-full flex",__self:void 0,__source:{fileName:Yf,lineNumber:279}},e.createElement("button",{onClick:()=>{b(p-1)},disabled:1==p,className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:Yf,lineNumber:280}},1==p?e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Yf,lineNumber:288}},e.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Yf,lineNumber:295}})):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Yf,lineNumber:301}},e.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#070B12",__self:void 0,__source:{fileName:Yf,lineNumber:308}}))),Math.ceil(A.length/C)>1&&Array.from({length:Math.ceil(A.length/C)},((e,t)=>t+1)).map(((t,i)=>t>p+2&&t<Math.ceil(A.length/C)-2||t<p-2?null:e.createElement("button",{key:t,onClick:()=>{b(t)},className:" p-1 h-[32px] w-[32px] shadow-md rounded-md mx-1 "+(p==t?"bg-slate-900 text-white":"bg-white text-slate-900"),__self:void 0,__source:{fileName:Yf,lineNumber:328}},t))),e.createElement("button",{onClick:()=>{b(p+1)},disabled:p==Math.ceil(A.length/C),className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:Yf,lineNumber:343}},p==Math.ceil(A.length/C)?e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Yf,lineNumber:353}},e.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Yf,lineNumber:360}})):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Yf,lineNumber:366}},e.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#070B12",__self:void 0,__source:{fileName:Yf,lineNumber:373}})))),e.createElement("div",{className:"s-datable-foot_pagination",__self:void 0,__source:{fileName:Yf,lineNumber:384}}))))))},jf=o.div`
|
|
3829
|
+
`;function Yf(e){let t=e.split("");return t[0]=t[0].toUpperCase(),t.join("").replace("_"," ")}var zf=e.forwardRef((function({title:t,titleId:i,...r},n){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":i},r),t?e.createElement("title",{id:i},t):null,e.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z",clipRule:"evenodd"}))}));var Sf=e.forwardRef((function({title:t,titleId:i,...r},n){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":i},r),t?e.createElement("title",{id:i},t):null,e.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}));const jf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SDataTable\\table.tsx",Tf=t=>{const{title:i,data:r,columns:n=[],columnSort:l=!1,config:o,onRowClick:s,rowExpand:a=!1,onRowExpandComponent:c,itemsPerPage:d,hasSearch:u=!1,formatData:f}=t,[m,h]=e.useState([]),[A,g]=e.useState([]),[p,b]=e.useState(1),[C,_]=e.useState(10),[v,x]=e.useState(""),[N,w]=e.useState(""),[E,y]=e.useState([]),[D,B]=e.useState(!1),[M,k]=e.useState([]),[P,L]=e.useState([]);e.useEffect((()=>{if(E.length>0)return void h(E.slice((p-1)*C,p*C));let e=A.slice((p-1)*C,p*C);h(e)}),[p]),e.useEffect((()=>{let e=A.slice((p-1)*C,p*C);h(e)}),[D]);return e.useEffect((()=>{v&&h(E.slice(0,C))}),[E]),e.useEffect((()=>{h(A.slice(0,C))}),[M]),e.useEffect((()=>{(e=>{if(!e)return y([]),w(""),void(1!=p?b(1):B(!D));if(N){let t=A.filter((t=>t[N].toString().includes(e)));y(t)}else{let t=A.filter((t=>{for(let i in t)if(t[i].toString().includes(e))return!0;return!1}));y(t)}x(e),b(1)})(v)}),[v]),e.useEffect((()=>{_(d||A.length-1)}),[]),e.useEffect((()=>{(async function(e,t){if(Array.isArray(e))return e;if(/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/gm.test(e)){const i=await fetch(e,t);return await i.json()}return[]})(r,o).then((e=>{if(f&&(e=e.map((e=>f(e)))),g(e),0==n.length&&e.length>0){let t=Object.keys(e[0]).map((e=>({title:Yf(e),field:e,sortable:l})));k(t)}else k(n.map(((e,t)=>({sortable:l,...e}))))})).catch((()=>{g([])}))}),[r]),e.createElement("div",{className:"s-data-table",__self:void 0,__source:{fileName:jf,lineNumber:178}},e.createElement("div",{className:"s-data-table_header",__self:void 0,__source:{fileName:jf,lineNumber:179}},e.createElement("h5",{__self:void 0,__source:{fileName:jf,lineNumber:180}},i),u&&e.createElement("div",{__self:void 0,__source:{fileName:jf,lineNumber:183}},e.createElement("input",{type:"text",value:v,placeholder:"Search",onChange:e=>{x(e.target.value)},__self:void 0,__source:{fileName:jf,lineNumber:184}}),v&&e.createElement(Sf,{onClick:()=>{x("")},className:"s-datatable-icon",__self:void 0,__source:{fileName:jf,lineNumber:193}}))),e.createElement(Vf,{__self:void 0,__source:{fileName:jf,lineNumber:201}},e.createElement("thead",{className:"s-data-table_head h-[66px]",__self:void 0,__source:{fileName:jf,lineNumber:202}},e.createElement("tr",{__self:void 0,__source:{fileName:jf,lineNumber:203}},M&&M.length>0&&M.map(((t,i)=>e.createElement("th",{style:{width:t.width?t.width:1/M.length*100+"%"},className:""+(N==t.field?"s-data-table_head-selected":""),key:i,onClick:()=>{w(t.field)},__self:void 0,__source:{fileName:jf,lineNumber:208}},e.createElement("div",{__self:void 0,__source:{fileName:jf,lineNumber:224}},e.createElement("span",{className:"text-white",__self:void 0,__source:{fileName:jf,lineNumber:225}},t.title),e.createElement("span",{__self:void 0,__source:{fileName:jf,lineNumber:226}},t.sortable&&e.createElement(zf,{className:"s-datatable-icon",__self:void 0,__source:{fileName:jf,lineNumber:228}})))))))),e.createElement("tbody",{__self:void 0,__source:{fileName:jf,lineNumber:237}},m&&m.length>0&&m.map(((t,i)=>e.createElement(e.Fragment,null,e.createElement("tr",{className:"h-[62px]",style:{cursor:s?"pointer":""},onClick:()=>{return e=t,s&&s(e),void(a&&-1===P.indexOf(e.id)?L([...P,e.id]):a&&L(P.filter((t=>t!==e.id))));var e},key:t.id,__self:void 0,__source:{fileName:jf,lineNumber:243}},M.map(((i,r)=>e.createElement("td",{className:"font-semibold",key:r,__self:void 0,__source:{fileName:jf,lineNumber:251}},t[i.field])))),a&&P.length>0&&P.indexOf(t.id)>-1&&c&&e.createElement("tr",{__self:void 0,__source:{fileName:jf,lineNumber:261}},e.createElement("td",{colSpan:M.length,__self:void 0,__source:{fileName:jf,lineNumber:262}},e.createElement("div",{key:i,__self:void 0,__source:{fileName:jf,lineNumber:263}},c(t))))))),m&&0===m.length&&e.createElement("tr",{__self:void 0,__source:{fileName:jf,lineNumber:271}},e.createElement("td",{colSpan:n.length,__self:void 0,__source:{fileName:jf,lineNumber:272}},"No data found"))),e.createElement("tfoot",{__self:void 0,__source:{fileName:jf,lineNumber:276}},e.createElement("tr",{__self:void 0,__source:{fileName:jf,lineNumber:277}},e.createElement("td",{colSpan:n.length,__self:void 0,__source:{fileName:jf,lineNumber:278}},e.createElement("div",{className:"s-datatable-foot_summary w-full flex",__self:void 0,__source:{fileName:jf,lineNumber:279}},e.createElement("button",{onClick:()=>{b(p-1)},disabled:1==p,className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:jf,lineNumber:280}},1==p?e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:jf,lineNumber:288}},e.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:jf,lineNumber:295}})):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:jf,lineNumber:301}},e.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#070B12",__self:void 0,__source:{fileName:jf,lineNumber:308}}))),Math.ceil(A.length/C)>1&&Array.from({length:Math.ceil(A.length/C)},((e,t)=>t+1)).map(((t,i)=>t>p+2&&t<Math.ceil(A.length/C)-2||t<p-2?null:e.createElement("button",{key:t,onClick:()=>{b(t)},className:" p-1 h-[32px] w-[32px] shadow-md rounded-md mx-1 "+(p==t?"bg-slate-900 text-white":"bg-white text-slate-900"),__self:void 0,__source:{fileName:jf,lineNumber:328}},t))),e.createElement("button",{onClick:()=>{b(p+1)},disabled:p==Math.ceil(A.length/C),className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:jf,lineNumber:343}},p==Math.ceil(A.length/C)?e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:jf,lineNumber:353}},e.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:jf,lineNumber:360}})):e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:jf,lineNumber:366}},e.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#070B12",__self:void 0,__source:{fileName:jf,lineNumber:373}})))),e.createElement("div",{className:"s-datable-foot_pagination",__self:void 0,__source:{fileName:jf,lineNumber:384}}))))))},Wf=o.div`
|
|
3779
3830
|
display: flex;
|
|
3780
3831
|
gap: 4px;
|
|
3781
3832
|
flex-direction: column;
|
|
@@ -3787,7 +3838,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3787
3838
|
span{
|
|
3788
3839
|
color: ${s["neutral-600"]};
|
|
3789
3840
|
}
|
|
3790
|
-
`,
|
|
3841
|
+
`,Xf=o.textarea`
|
|
3791
3842
|
border: none;
|
|
3792
3843
|
height: 75px;
|
|
3793
3844
|
font-size: 16px;
|
|
@@ -3807,7 +3858,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3807
3858
|
&:disabled&::placeholder{
|
|
3808
3859
|
color: ${s["neutral-100"]};
|
|
3809
3860
|
}
|
|
3810
|
-
`,
|
|
3861
|
+
`,Zf=o.div`
|
|
3811
3862
|
position: relative;
|
|
3812
3863
|
height: auto;
|
|
3813
3864
|
//width: 430px;
|
|
@@ -3834,19 +3885,19 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3834
3885
|
.disabled{
|
|
3835
3886
|
pointer-events: none;
|
|
3836
3887
|
}
|
|
3837
|
-
`,
|
|
3888
|
+
`,Uf=o.p`
|
|
3838
3889
|
color: ${s["error-500"]};
|
|
3839
3890
|
margin: 0;
|
|
3840
3891
|
display: flex;
|
|
3841
3892
|
gap: 4px;
|
|
3842
3893
|
justify-content: start;
|
|
3843
3894
|
align-items: center;
|
|
3844
|
-
`,
|
|
3895
|
+
`,Gf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TextArea\\TextArea.tsx",Kf=e=>{let{label:n,subtext:o,errMsg:a,disabled:c,required:d,width:u,value:f}=e;const[m,h]=i(f),[A,g]=i(!1),[p,b]=i(""),C=l();function _(){p?(h("success"),g(!1)):(h(""),d&&(h("error"),g(!0)))}r((()=>{b(f)}),[f]);return t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:Gf,lineNumber:41}},n&&t.createElement(Wf,{__self:void 0,__source:{fileName:Gf,lineNumber:43}},t.createElement("label",{__self:void 0,__source:{fileName:Gf,lineNumber:44}},n),o&&t.createElement("span",{__self:void 0,__source:{fileName:Gf,lineNumber:45}},o)),t.createElement(Zf,{className:`${m} ${c?"disabled":""}`,style:{width:u||"100%",border:c?`1px solid ${s["neutral-100"]}`:""},__self:void 0,__source:{fileName:Gf,lineNumber:48}},t.createElement(Xf,{ref:C,onBlur:_,value:p,onChange:e=>{b(e.target.value)},onInvalid:_,...e,__self:void 0,__source:{fileName:Gf,lineNumber:49}})),!f&&d&&A&&t.createElement(Uf,{__self:void 0,__source:{fileName:Gf,lineNumber:52}},t.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Gf,lineNumber:54}},t.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:Gf,lineNumber:55}})),a||"This field is required"))},qf=o.div`
|
|
3845
3896
|
display: flex;
|
|
3846
3897
|
flex-direction: column;
|
|
3847
3898
|
gap: 40px;
|
|
3848
3899
|
position: relative;
|
|
3849
|
-
`,
|
|
3900
|
+
`,Jf=o.div`
|
|
3850
3901
|
display: flex;
|
|
3851
3902
|
flex-direction: column;
|
|
3852
3903
|
gap: 8px;
|
|
@@ -3895,12 +3946,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3895
3946
|
align-items: center;
|
|
3896
3947
|
gap: 8px;
|
|
3897
3948
|
}
|
|
3898
|
-
`;function
|
|
3949
|
+
`;function $f(e,t){return new Intl.NumberFormat("en-US",{style:"currency",currency:t,currencyDisplay:"code"}).format(e)}const em="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TransactionDetails\\TransactionDetails.tsx",tm=e=>{const{amount:i,provider:r,requestDate:n,requestedBy:l,destAcctDets:o,clientID:s}=e;return t.createElement(qf,{__self:void 0,__source:{fileName:em,lineNumber:13}},s&&t.createElement(Jf,{__self:void 0,__source:{fileName:em,lineNumber:15}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:em,lineNumber:16}},"Client ID"),t.createElement("div",{className:"paragraph2Regular field-dets",__self:void 0,__source:{fileName:em,lineNumber:17}},s)),t.createElement(Jf,{__self:void 0,__source:{fileName:em,lineNumber:22}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:em,lineNumber:23}},"Requested By"),t.createElement("div",{className:"paragraph2Regular field-dets",__self:void 0,__source:{fileName:em,lineNumber:24}},l)),t.createElement(Jf,{__self:void 0,__source:{fileName:em,lineNumber:28}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:em,lineNumber:29}},"Request Date"),t.createElement("div",{className:"paragraph2Regular field-dets",__self:void 0,__source:{fileName:em,lineNumber:30}},n)),t.createElement(Jf,{__self:void 0,__source:{fileName:em,lineNumber:34}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:em,lineNumber:35}},"Amount"),t.createElement("div",{className:"paragraph2Regular field-dets amt-dets",__self:void 0,__source:{fileName:em,lineNumber:36}},t.createElement("div",{__self:void 0,__source:{fileName:em,lineNumber:37}},t.createElement("img",{src:i.baseFlag,alt:"flag",__self:void 0,__source:{fileName:em,lineNumber:38}}),`${$f(i.baseAmount,i.baseCurr)}`),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:em,lineNumber:43}},t.createElement("path",{d:"M17.9982 10.0002C17.9982 9.73497 17.8928 9.48062 17.7053 9.29308C17.5178 9.10554 17.2634 9.00019 16.9982 9.00019H5.40819L7.70819 6.71019C7.89649 6.52188 8.00228 6.26649 8.00228 6.00019C8.00228 5.73388 7.89649 5.47849 7.70819 5.29019C7.51988 5.10188 7.26449 4.99609 6.99819 4.99609C6.73188 4.99609 6.47649 5.10188 6.28819 5.29019L2.28819 9.29019C2.14943 9.43081 2.05543 9.60938 2.01806 9.80337C1.98068 9.99736 2.00161 10.1981 2.07819 10.3802C2.15321 10.5628 2.2806 10.7191 2.44432 10.8295C2.60804 10.9398 2.80076 10.9992 2.99819 11.0002H16.9982C17.2634 11.0002 17.5178 10.8948 17.7053 10.7073C17.8928 10.5198 17.9982 10.2654 17.9982 10.0002ZM21.9182 13.6202C21.8432 13.4376 21.7158 13.2812 21.552 13.1709C21.3883 13.0606 21.1956 13.0012 20.9982 13.0002H6.99819C6.73297 13.0002 6.47862 13.1055 6.29108 13.2931C6.10354 13.4806 5.99819 13.735 5.99819 14.0002C5.99819 14.2654 6.10354 14.5198 6.29108 14.7073C6.47862 14.8948 6.73297 15.0002 6.99819 15.0002H18.5882L16.2882 17.2902C16.1945 17.3831 16.1201 17.4937 16.0693 17.6156C16.0185 17.7375 15.9924 17.8682 15.9924 18.0002C15.9924 18.1322 16.0185 18.2629 16.0693 18.3848C16.1201 18.5066 16.1945 18.6172 16.2882 18.7102C16.3812 18.8039 16.4917 18.8783 16.6136 18.9291C16.7355 18.9798 16.8662 19.006 16.9982 19.006C17.1302 19.006 17.2609 18.9798 17.3828 18.9291C17.5046 18.8783 17.6152 18.8039 17.7082 18.7102L21.7082 14.7102C21.8469 14.5696 21.9409 14.391 21.9783 14.197C22.0157 14.003 21.9948 13.8023 21.9182 13.6202Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:em,lineNumber:44}})),t.createElement("div",{__self:void 0,__source:{fileName:em,lineNumber:46}},t.createElement("img",{src:i.exchFlag,alt:"flag",__self:void 0,__source:{fileName:em,lineNumber:47}}),`${$f(i.exchAmount,i.exchCurr)}`)),t.createElement("p",{className:"exch-rate",__self:void 0,__source:{fileName:em,lineNumber:53}},i.baseCurr," 1.0000 = ",`${i.exchCurr} ${i.exchRate}`)),t.createElement(Jf,{__self:void 0,__source:{fileName:em,lineNumber:55}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:em,lineNumber:56}},"Provider"),t.createElement("div",{className:"paragraph2Regular field-dets",__self:void 0,__source:{fileName:em,lineNumber:57}},r.logo?t.createElement("img",{src:r.logo,alt:"Provider logo",__self:void 0,__source:{fileName:em,lineNumber:59}}):t.createElement("div",{className:"w-[44px] h-[44px] rounded-[8px] bg-neutral-100",__self:void 0,__source:{fileName:em,lineNumber:61}}),r.name)),o&&t.createElement(Jf,{__self:void 0,__source:{fileName:em,lineNumber:67}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:em,lineNumber:68}},"Destination Account"),t.createElement("div",{className:"paragraph2Regular field-dets",style:{alignItems:"start"},__self:void 0,__source:{fileName:em,lineNumber:69}},o.bankLogo?t.createElement("img",{className:"trx-dets-bank-logo",src:o.bankLogo,alt:"Bank logo",__self:void 0,__source:{fileName:em,lineNumber:70}}):t.createElement("div",{className:"trx-dets-bank-logo",__self:void 0,__source:{fileName:em,lineNumber:70}}),t.createElement("div",{className:"flex flex-col gap-[8px] bank-acct-info",__self:void 0,__source:{fileName:em,lineNumber:71}},t.createElement("p",{className:"acct-no paragraph2Regular",__self:void 0,__source:{fileName:em,lineNumber:72}},o.acctNo),t.createElement("p",{className:"bank-name paragraph2Regular",__self:void 0,__source:{fileName:em,lineNumber:73}},o.bankName),t.createElement("p",{className:"acct-name paragraph2Regular",__self:void 0,__source:{fileName:em,lineNumber:74}},o.acctName),t.createElement("p",{className:"curr",__self:void 0,__source:{fileName:em,lineNumber:75}},o.acctCurr)))))},im=o.div`
|
|
3899
3950
|
display: flex;
|
|
3900
3951
|
flex-direction: column;
|
|
3901
3952
|
gap: 40px;
|
|
3902
3953
|
position: relative;
|
|
3903
|
-
`,
|
|
3954
|
+
`,rm=o.div`
|
|
3904
3955
|
display: flex;
|
|
3905
3956
|
flex-direction: column;
|
|
3906
3957
|
gap: 8px;
|
|
@@ -3941,11 +3992,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3941
3992
|
align-items: center;
|
|
3942
3993
|
gap: 8px;
|
|
3943
3994
|
}
|
|
3944
|
-
`;const
|
|
3995
|
+
`;const nm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TransactionDetailsWithPayment\\TransactionDetailsWithPayment.tsx",lm=e=>{const{amount:i,provider:r,paymentDets:n,requestedBy:l,requestDate:o}=e;return t.createElement(im,{__self:void 0,__source:{fileName:nm,lineNumber:14}},t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:15}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:16}},"Amount"),t.createElement("div",{className:"paragraph2Regular field-dets paragraph2Regular amt-dets",__self:void 0,__source:{fileName:nm,lineNumber:17}},t.createElement("div",{__self:void 0,__source:{fileName:nm,lineNumber:18}},t.createElement("img",{src:i.baseFlag,alt:"flag",__self:void 0,__source:{fileName:nm,lineNumber:19}}),`${i.baseCurr} ${i.baseAmount}`),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:nm,lineNumber:24}},t.createElement("path",{d:"M17.9982 10.0002C17.9982 9.73497 17.8928 9.48062 17.7053 9.29308C17.5178 9.10554 17.2634 9.00019 16.9982 9.00019H5.40819L7.70819 6.71019C7.89649 6.52188 8.00228 6.26649 8.00228 6.00019C8.00228 5.73388 7.89649 5.47849 7.70819 5.29019C7.51988 5.10188 7.26449 4.99609 6.99819 4.99609C6.73188 4.99609 6.47649 5.10188 6.28819 5.29019L2.28819 9.29019C2.14943 9.43081 2.05543 9.60938 2.01806 9.80337C1.98068 9.99736 2.00161 10.1981 2.07819 10.3802C2.15321 10.5628 2.2806 10.7191 2.44432 10.8295C2.60804 10.9398 2.80076 10.9992 2.99819 11.0002H16.9982C17.2634 11.0002 17.5178 10.8948 17.7053 10.7073C17.8928 10.5198 17.9982 10.2654 17.9982 10.0002ZM21.9182 13.6202C21.8432 13.4376 21.7158 13.2812 21.552 13.1709C21.3883 13.0606 21.1956 13.0012 20.9982 13.0002H6.99819C6.73297 13.0002 6.47862 13.1055 6.29108 13.2931C6.10354 13.4806 5.99819 13.735 5.99819 14.0002C5.99819 14.2654 6.10354 14.5198 6.29108 14.7073C6.47862 14.8948 6.73297 15.0002 6.99819 15.0002H18.5882L16.2882 17.2902C16.1945 17.3831 16.1201 17.4937 16.0693 17.6156C16.0185 17.7375 15.9924 17.8682 15.9924 18.0002C15.9924 18.1322 16.0185 18.2629 16.0693 18.3848C16.1201 18.5066 16.1945 18.6172 16.2882 18.7102C16.3812 18.8039 16.4917 18.8783 16.6136 18.9291C16.7355 18.9798 16.8662 19.006 16.9982 19.006C17.1302 19.006 17.2609 18.9798 17.3828 18.9291C17.5046 18.8783 17.6152 18.8039 17.7082 18.7102L21.7082 14.7102C21.8469 14.5696 21.9409 14.391 21.9783 14.197C22.0157 14.003 21.9948 13.8023 21.9182 13.6202Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:nm,lineNumber:25}})),t.createElement("div",{__self:void 0,__source:{fileName:nm,lineNumber:27}},t.createElement("img",{src:i.exchFlag,alt:"flag",__self:void 0,__source:{fileName:nm,lineNumber:28}}),`${i.exchCurr} ${i.exchAmount}`)),t.createElement("p",{className:"exch-rate",__self:void 0,__source:{fileName:nm,lineNumber:34}},i.exchCurr," 1.0000 = ",`${i.baseCurr} ${i.exchRate}`)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:36}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:37}},"Provider"),t.createElement("div",{className:"field-dets paragraph2Regular paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:38}},t.createElement("img",{src:r.logo?r.logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN3SURBVHgBvZddbFRFFMd/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kax9dcM7+qWwdfJbH7BK2bmsULJC99NSE4TeXl5Ga4TRGnJF9RUSYsjndQQ3dUoAWcOMQ/niL6Aa7XEA770k67ElgfvFxf0wKvTiwAAAABJRU5ErkJggg==",alt:"Provider logo",__self:void 0,__source:{fileName:nm,lineNumber:39}})," ",r.name)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:42}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:43}},"Requested By"),t.createElement("div",{className:"field-dets paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:44}},l)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:48}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:49}},"Request Date"),t.createElement("div",{className:"field-dets paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:50}},o)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:54}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:55}},"Payment Method"),t.createElement("div",{className:"field-dets paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:56}},o)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:60}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:61}},"Payee Name"),t.createElement("div",{className:"field-dets paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:62}},n.payeeName)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:66}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:67}},"Bank Name"),t.createElement("div",{className:"field-dets paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:68}},n.bankName)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:72}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:73}},"Bank Country"),t.createElement("div",{className:"field-dets paragraph2Regular bank-ctry-dets",__self:void 0,__source:{fileName:nm,lineNumber:74}},t.createElement("img",{src:n.bankCountryFlag,alt:"Bank country flag",__self:void 0,__source:{fileName:nm,lineNumber:75}})," ",n.bankCountry)),t.createElement(rm,{__self:void 0,__source:{fileName:nm,lineNumber:78}},t.createElement("p",{className:"paragraph1Medium",__self:void 0,__source:{fileName:nm,lineNumber:79}},"Remarks"),t.createElement("div",{className:"field-dets paragraph2Regular",__self:void 0,__source:{fileName:nm,lineNumber:80}},n.paymentRemarks)))},om=o.div`
|
|
3945
3996
|
display: flex;
|
|
3946
3997
|
flex-direction: column;
|
|
3947
3998
|
gap: 34px;
|
|
3948
|
-
`,
|
|
3999
|
+
`,sm=o.div`
|
|
3949
4000
|
display: flex;
|
|
3950
4001
|
flex-direction: column;
|
|
3951
4002
|
gap: 12px;
|
|
@@ -3957,7 +4008,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3957
4008
|
font-family: Circular Book Medium,sans-serif;
|
|
3958
4009
|
margin: 0;
|
|
3959
4010
|
}
|
|
3960
|
-
`,
|
|
4011
|
+
`,am=o.div`
|
|
3961
4012
|
padding: 8px;
|
|
3962
4013
|
border-radius: 8px;
|
|
3963
4014
|
border: 1px solid ${s["neutral-200"]};
|
|
@@ -3972,7 +4023,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3972
4023
|
&.scroll-bar-show{
|
|
3973
4024
|
overflow: auto;
|
|
3974
4025
|
}
|
|
3975
|
-
`,
|
|
4026
|
+
`,cm=o.div`
|
|
3976
4027
|
padding: 8px;
|
|
3977
4028
|
border-radius: 8px;
|
|
3978
4029
|
display: flex;
|
|
@@ -4004,7 +4055,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4004
4055
|
font-size: 16px;
|
|
4005
4056
|
line-height: 22.4px;
|
|
4006
4057
|
}
|
|
4007
|
-
`,
|
|
4058
|
+
`,dm=o.div`
|
|
4008
4059
|
height: 346px;
|
|
4009
4060
|
display: flex;
|
|
4010
4061
|
justify-content: center;
|
|
@@ -4018,19 +4069,19 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4018
4069
|
line-height: 19px;
|
|
4019
4070
|
color: #0F1B4C;
|
|
4020
4071
|
}
|
|
4021
|
-
`,
|
|
4072
|
+
`,um="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UpdateUserActions\\UpdateUserActions.tsx",fm=e=>{const{currentOptions:n,availableOptions:l,selOptions:o,titleAvailable:s,titleCurrent:a}=e,[c,d]=i(l),[u,f]=i(n),[m,h]=i({added:[],removed:[]});return r((()=>{o(m)}),[]),r((()=>{document.querySelectorAll(".actionsList").forEach((e=>{e.addEventListener("mouseover",(function(){e.classList.add("scroll-bar-show"),e.classList.remove("scroll-bar-hidden")})),e.addEventListener("mouseout",(function(){e.classList.add("scroll-bar-hidden"),e.classList.remove("scroll-bar-show")}))}))}),[]),t.createElement(om,{__self:void 0,__source:{fileName:um,lineNumber:83}},t.createElement(sm,{__self:void 0,__source:{fileName:um,lineNumber:84}},t.createElement("h4",{__self:void 0,__source:{fileName:um,lineNumber:85}},s||"Available Options"),t.createElement(am,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:um,lineNumber:86}},c&&c.length>0&&c.map((e=>{if(0===n.filter((t=>t.optionId===e.optionId&&!m.added.includes(e.optionId))).length)return t.createElement(cm,{key:e.optionId,__self:void 0,__source:{fileName:um,lineNumber:90}},t.createElement("p",{__self:void 0,__source:{fileName:um,lineNumber:91}},e.optionName),t.createElement("button",{onClick:()=>{!function(e){if(0===n.filter((t=>t.optionId===e.optionId)).length){let t=m;t.added.includes(e.optionId)||t.added.push(e.optionId),h(t)}if(n.filter((t=>t.optionId===e.optionId)).length>0){let t=m;t.removed=m.removed.filter((t=>t!==e.optionId)),h(t)}d(c.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),f([...u,e]),o(m)}(e)},__self:void 0,__source:{fileName:um,lineNumber:92}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:um,lineNumber:96}},t.createElement("path",{d:"M12.6667 7.33332H8.66675V3.33332C8.66675 3.15651 8.59651 2.98694 8.47149 2.86192C8.34646 2.73689 8.17689 2.66666 8.00008 2.66666C7.82327 2.66666 7.6537 2.73689 7.52868 2.86192C7.40365 2.98694 7.33342 3.15651 7.33342 3.33332V7.33332H3.33341C3.1566 7.33332 2.98703 7.40356 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.1768 2.73699 8.34637 2.86201 8.47139C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H7.33342V12.6667C7.33342 12.8435 7.40365 13.013 7.52868 13.1381C7.6537 13.2631 7.82327 13.3333 8.00008 13.3333C8.17689 13.3333 8.34646 13.2631 8.47149 13.1381C8.59651 13.013 8.66675 12.8435 8.66675 12.6667V8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.47139C13.2632 8.34637 13.3334 8.1768 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40356 12.8436 7.33332 12.6667 7.33332Z",fill:"#070B12",__self:void 0,__source:{fileName:um,lineNumber:98}}))))})),0===c.length&&t.createElement(dm,{__self:void 0,__source:{fileName:um,lineNumber:107}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:um,lineNumber:108}},t.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:um,lineNumber:109}},t.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:um,lineNumber:110}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:111}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:112}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:113}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:114}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:115}})),t.createElement("defs",{__self:void 0,__source:{fileName:um,lineNumber:117}},t.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:um,lineNumber:118}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:um,lineNumber:119}})))),t.createElement("p",{__self:void 0,__source:{fileName:um,lineNumber:123}},"No actions available")))),t.createElement(sm,{__self:void 0,__source:{fileName:um,lineNumber:128}},t.createElement("h4",{__self:void 0,__source:{fileName:um,lineNumber:129}},a||"Current Options"),t.createElement(am,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:um,lineNumber:130}},u.length>0&&u.map((e=>t.createElement(cm,{key:e.optionId,__self:void 0,__source:{fileName:um,lineNumber:132}},t.createElement("p",{__self:void 0,__source:{fileName:um,lineNumber:133}},e.optionName),t.createElement("button",{onClick:()=>{!function(e){if(f(u.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),d([...c,e]),l.filter((t=>t.optionId===e.optionId)).length>0){let t=m;t.added=m.added.filter((t=>t!==e.optionId)),h(t)}if(n.filter((t=>t.optionId.includes(e.optionId))).length>0){let t=m;t.removed.includes(e.optionId)||t.removed.push(e.optionId),h(t)}o(m)}(e)},__self:void 0,__source:{fileName:um,lineNumber:134}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:um,lineNumber:136}},t.createElement("path",{d:"M12.6667 7.33333H3.33341C3.1566 7.33333 2.98703 7.40357 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.17681 2.73699 8.34638 2.86201 8.4714C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.4714C13.2632 8.34638 13.3334 8.17681 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40357 12.8436 7.33333 12.6667 7.33333Z",fill:"#070B12",__self:void 0,__source:{fileName:um,lineNumber:137}})))))),0===u.length&&t.createElement(dm,{__self:void 0,__source:{fileName:um,lineNumber:143}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:um,lineNumber:144}},t.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:um,lineNumber:145}},t.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:um,lineNumber:146}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:147}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:148}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:149}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:150}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:um,lineNumber:151}})),t.createElement("defs",{__self:void 0,__source:{fileName:um,lineNumber:153}},t.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:um,lineNumber:154}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:um,lineNumber:155}})))),t.createElement("p",{__self:void 0,__source:{fileName:um,lineNumber:159}},"No actions added yet")))))},mm=o.div`
|
|
4022
4073
|
display: flex;
|
|
4023
4074
|
flex-direction: column;
|
|
4024
4075
|
gap: 34px;
|
|
4025
4076
|
width:446px;
|
|
4026
|
-
`,
|
|
4077
|
+
`,hm=o.div`
|
|
4027
4078
|
display: flex;
|
|
4028
4079
|
flex-direction: column;
|
|
4029
4080
|
gap: 12px;
|
|
4030
4081
|
h4{
|
|
4031
4082
|
color: ${s["neutral-900"]};
|
|
4032
4083
|
}
|
|
4033
|
-
`,
|
|
4084
|
+
`,Am=o.div`
|
|
4034
4085
|
padding: 8px;
|
|
4035
4086
|
border-radius: 8px;
|
|
4036
4087
|
border: 1px solid ${s["neutral-200"]};
|
|
@@ -4045,7 +4096,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4045
4096
|
&.scroll-bar-show{
|
|
4046
4097
|
overflow: auto;
|
|
4047
4098
|
}
|
|
4048
|
-
`,
|
|
4099
|
+
`,gm=o.div`
|
|
4049
4100
|
padding: 8px;
|
|
4050
4101
|
border-radius: 8px;
|
|
4051
4102
|
display: flex;
|
|
@@ -4080,7 +4131,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4080
4131
|
font-size: 16px;
|
|
4081
4132
|
line-height: 22.4px;
|
|
4082
4133
|
}
|
|
4083
|
-
`,
|
|
4134
|
+
`,pm=o.div`
|
|
4084
4135
|
height: 346px;
|
|
4085
4136
|
display: flex;
|
|
4086
4137
|
justify-content: center;
|
|
@@ -4094,9 +4145,9 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4094
4145
|
line-height: 19px;
|
|
4095
4146
|
color: #0F1B4C;
|
|
4096
4147
|
}
|
|
4097
|
-
`,gm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UserActions\\UserActions.tsx",pm=e=>{const{currentOptions:n,availableOptions:l,supplementaryOptions:o,selOptions:s,titleAvailable:a,titleCurrent:c}=e,[d,u]=i(l),[f,m]=i(o),[h,A]=i(n),[g,p]=i({added:[],removed:[]});return r((()=>{s(g)}),[]),r((()=>{document.querySelectorAll(".actionsList").forEach((e=>{e.addEventListener("mouseover",(function(){e.classList.add("scroll-bar-show"),e.classList.remove("scroll-bar-hidden")})),e.addEventListener("mouseout",(function(){e.classList.add("scroll-bar-hidden"),e.classList.remove("scroll-bar-show")}))}))}),[]),t.createElement(um,{__self:void 0,__source:{fileName:gm,lineNumber:84}},t.createElement(fm,{__self:void 0,__source:{fileName:gm,lineNumber:85}},t.createElement("h4",{className:"paragraph2Medium",__self:void 0,__source:{fileName:gm,lineNumber:86}},a||"Available Options"),t.createElement(mm,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:gm,lineNumber:87}},d&&d.length>0&&d.map((e=>{if(0===n.filter((t=>t.optionId===e.optionId&&!g.added.includes(e.optionId))).length)return t.createElement(hm,{key:e.optionId,__self:void 0,__source:{fileName:gm,lineNumber:91}},t.createElement("p",{__self:void 0,__source:{fileName:gm,lineNumber:92}},e.optionName),t.createElement("button",{onClick:()=>{!function(e){if(0===f.filter((t=>t.optionId===e.optionId)).length){let t=g;t.added.includes(e.optionId)||t.added.push(e.optionId),p(t)}if(f.filter((t=>t.optionId===e.optionId)).length>0){let t=g;t.removed=g.removed.filter((t=>t!==e.optionId)),p(t)}u(d.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),m([...f,e]),s(g)}(e)},__self:void 0,__source:{fileName:gm,lineNumber:93}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gm,lineNumber:97}},t.createElement("path",{d:"M12.6667 7.33332H8.66675V3.33332C8.66675 3.15651 8.59651 2.98694 8.47149 2.86192C8.34646 2.73689 8.17689 2.66666 8.00008 2.66666C7.82327 2.66666 7.6537 2.73689 7.52868 2.86192C7.40365 2.98694 7.33342 3.15651 7.33342 3.33332V7.33332H3.33341C3.1566 7.33332 2.98703 7.40356 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.1768 2.73699 8.34637 2.86201 8.47139C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H7.33342V12.6667C7.33342 12.8435 7.40365 13.013 7.52868 13.1381C7.6537 13.2631 7.82327 13.3333 8.00008 13.3333C8.17689 13.3333 8.34646 13.2631 8.47149 13.1381C8.59651 13.013 8.66675 12.8435 8.66675 12.6667V8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.47139C13.2632 8.34637 13.3334 8.1768 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40356 12.8436 7.33332 12.6667 7.33332Z",fill:"#070B12",__self:void 0,__source:{fileName:gm,lineNumber:99}}))))})),0===d.length&&t.createElement(Am,{__self:void 0,__source:{fileName:gm,lineNumber:108}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gm,lineNumber:109}},t.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:gm,lineNumber:110}},t.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:gm,lineNumber:111}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:112}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:113}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:114}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:115}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:116}})),t.createElement("defs",{__self:void 0,__source:{fileName:gm,lineNumber:118}},t.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:gm,lineNumber:119}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:gm,lineNumber:120}})))),t.createElement("p",{__self:void 0,__source:{fileName:gm,lineNumber:124}},"No actions available")))),t.createElement(fm,{__self:void 0,__source:{fileName:gm,lineNumber:129}},t.createElement("h4",{className:"paragraph2Medium",__self:void 0,__source:{fileName:gm,lineNumber:130}},c||"Current Options"),t.createElement(mm,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:gm,lineNumber:131}},h.length>0&&h.map((e=>t.createElement(hm,{key:e.optionId,className:"current-action",__self:void 0,__source:{fileName:gm,lineNumber:133}},t.createElement("p",{__self:void 0,__source:{fileName:gm,lineNumber:134}},e.optionName)))),f.length>0&&f.map((e=>t.createElement(hm,{key:e.optionId,__self:void 0,__source:{fileName:gm,lineNumber:138}},t.createElement("p",{__self:void 0,__source:{fileName:gm,lineNumber:139}},e.optionName),t.createElement("button",{onClick:()=>{!function(e){if(m(f.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),u([...d,e]),l.filter((t=>t.optionId===e.optionId)).length>0){let t=g;t.added=g.added.filter((t=>t!==e.optionId)),p(t)}if(f.filter((t=>t.optionId.includes(e.optionId))).length>0){let t=g;t.removed.includes(e.optionId)||t.removed.push(e.optionId),p(t)}s(g)}(e)},__self:void 0,__source:{fileName:gm,lineNumber:140}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gm,lineNumber:142}},t.createElement("path",{d:"M12.6667 7.33333H3.33341C3.1566 7.33333 2.98703 7.40357 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.17681 2.73699 8.34638 2.86201 8.4714C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.4714C13.2632 8.34638 13.3334 8.17681 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40357 12.8436 7.33333 12.6667 7.33333Z",fill:"#070B12",__self:void 0,__source:{fileName:gm,lineNumber:143}})))))),0===f.length&&0===h.length&&t.createElement(Am,{__self:void 0,__source:{fileName:gm,lineNumber:149}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gm,lineNumber:150}},t.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:gm,lineNumber:151}},t.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:gm,lineNumber:152}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:153}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:154}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:155}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:156}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:gm,lineNumber:157}})),t.createElement("defs",{__self:void 0,__source:{fileName:gm,lineNumber:159}},t.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:gm,lineNumber:160}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:gm,lineNumber:161}})))),t.createElement("p",{__self:void 0,__source:{fileName:gm,lineNumber:165}},"No actions added yet")))))},bm=o.div`
|
|
4148
|
+
`,bm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UserActions\\UserActions.tsx",Cm=e=>{const{currentOptions:n,availableOptions:l,supplementaryOptions:o,selOptions:s,titleAvailable:a,titleCurrent:c}=e,[d,u]=i(l),[f,m]=i(o),[h,A]=i(n),[g,p]=i({added:[],removed:[]});return r((()=>{s(g)}),[]),r((()=>{document.querySelectorAll(".actionsList").forEach((e=>{e.addEventListener("mouseover",(function(){e.classList.add("scroll-bar-show"),e.classList.remove("scroll-bar-hidden")})),e.addEventListener("mouseout",(function(){e.classList.add("scroll-bar-hidden"),e.classList.remove("scroll-bar-show")}))}))}),[]),t.createElement(mm,{__self:void 0,__source:{fileName:bm,lineNumber:84}},t.createElement(hm,{__self:void 0,__source:{fileName:bm,lineNumber:85}},t.createElement("h4",{className:"paragraph2Medium",__self:void 0,__source:{fileName:bm,lineNumber:86}},a||"Available Options"),t.createElement(Am,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:bm,lineNumber:87}},d&&d.length>0&&d.map((e=>{if(0===n.filter((t=>t.optionId===e.optionId&&!g.added.includes(e.optionId))).length)return t.createElement(gm,{key:e.optionId,__self:void 0,__source:{fileName:bm,lineNumber:91}},t.createElement("p",{__self:void 0,__source:{fileName:bm,lineNumber:92}},e.optionName),t.createElement("button",{onClick:()=>{!function(e){if(0===f.filter((t=>t.optionId===e.optionId)).length){let t=g;t.added.includes(e.optionId)||t.added.push(e.optionId),p(t)}if(f.filter((t=>t.optionId===e.optionId)).length>0){let t=g;t.removed=g.removed.filter((t=>t!==e.optionId)),p(t)}u(d.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),m([...f,e]),s(g)}(e)},__self:void 0,__source:{fileName:bm,lineNumber:93}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bm,lineNumber:97}},t.createElement("path",{d:"M12.6667 7.33332H8.66675V3.33332C8.66675 3.15651 8.59651 2.98694 8.47149 2.86192C8.34646 2.73689 8.17689 2.66666 8.00008 2.66666C7.82327 2.66666 7.6537 2.73689 7.52868 2.86192C7.40365 2.98694 7.33342 3.15651 7.33342 3.33332V7.33332H3.33341C3.1566 7.33332 2.98703 7.40356 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.1768 2.73699 8.34637 2.86201 8.47139C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H7.33342V12.6667C7.33342 12.8435 7.40365 13.013 7.52868 13.1381C7.6537 13.2631 7.82327 13.3333 8.00008 13.3333C8.17689 13.3333 8.34646 13.2631 8.47149 13.1381C8.59651 13.013 8.66675 12.8435 8.66675 12.6667V8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.47139C13.2632 8.34637 13.3334 8.1768 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40356 12.8436 7.33332 12.6667 7.33332Z",fill:"#070B12",__self:void 0,__source:{fileName:bm,lineNumber:99}}))))})),0===d.length&&t.createElement(pm,{__self:void 0,__source:{fileName:bm,lineNumber:108}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bm,lineNumber:109}},t.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:bm,lineNumber:110}},t.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:bm,lineNumber:111}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:112}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:113}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:114}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:115}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:116}})),t.createElement("defs",{__self:void 0,__source:{fileName:bm,lineNumber:118}},t.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:bm,lineNumber:119}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:bm,lineNumber:120}})))),t.createElement("p",{__self:void 0,__source:{fileName:bm,lineNumber:124}},"No actions available")))),t.createElement(hm,{__self:void 0,__source:{fileName:bm,lineNumber:129}},t.createElement("h4",{className:"paragraph2Medium",__self:void 0,__source:{fileName:bm,lineNumber:130}},c||"Current Options"),t.createElement(Am,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:bm,lineNumber:131}},h.length>0&&h.map((e=>t.createElement(gm,{key:e.optionId,className:"current-action",__self:void 0,__source:{fileName:bm,lineNumber:133}},t.createElement("p",{__self:void 0,__source:{fileName:bm,lineNumber:134}},e.optionName)))),f.length>0&&f.map((e=>t.createElement(gm,{key:e.optionId,__self:void 0,__source:{fileName:bm,lineNumber:138}},t.createElement("p",{__self:void 0,__source:{fileName:bm,lineNumber:139}},e.optionName),t.createElement("button",{onClick:()=>{!function(e){if(m(f.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),u([...d,e]),l.filter((t=>t.optionId===e.optionId)).length>0){let t=g;t.added=g.added.filter((t=>t!==e.optionId)),p(t)}if(f.filter((t=>t.optionId.includes(e.optionId))).length>0){let t=g;t.removed.includes(e.optionId)||t.removed.push(e.optionId),p(t)}s(g)}(e)},__self:void 0,__source:{fileName:bm,lineNumber:140}},t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bm,lineNumber:142}},t.createElement("path",{d:"M12.6667 7.33333H3.33341C3.1566 7.33333 2.98703 7.40357 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.17681 2.73699 8.34638 2.86201 8.4714C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.4714C13.2632 8.34638 13.3334 8.17681 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40357 12.8436 7.33333 12.6667 7.33333Z",fill:"#070B12",__self:void 0,__source:{fileName:bm,lineNumber:143}})))))),0===f.length&&0===h.length&&t.createElement(pm,{__self:void 0,__source:{fileName:bm,lineNumber:149}},t.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bm,lineNumber:150}},t.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:bm,lineNumber:151}},t.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:bm,lineNumber:152}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:153}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:154}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:155}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:156}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bm,lineNumber:157}})),t.createElement("defs",{__self:void 0,__source:{fileName:bm,lineNumber:159}},t.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:bm,lineNumber:160}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:bm,lineNumber:161}})))),t.createElement("p",{__self:void 0,__source:{fileName:bm,lineNumber:165}},"No actions added yet")))))},_m=o.div`
|
|
4098
4149
|
overflow-x: auto;
|
|
4099
|
-
`,
|
|
4150
|
+
`,vm=o.table`
|
|
4100
4151
|
width: 100%;
|
|
4101
4152
|
border-collapse: separate;
|
|
4102
4153
|
border-spacing: 0 8px;
|
|
@@ -4146,7 +4197,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4146
4197
|
font-weight: 400;
|
|
4147
4198
|
line-height: 19px;
|
|
4148
4199
|
}
|
|
4149
|
-
`,
|
|
4200
|
+
`,xm=o.div`
|
|
4150
4201
|
display: flex;
|
|
4151
4202
|
justify-content: center;
|
|
4152
4203
|
align-items: center;
|
|
@@ -4154,7 +4205,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4154
4205
|
height: 300px;
|
|
4155
4206
|
background: ${s.white};
|
|
4156
4207
|
border-radius: 8px;
|
|
4157
|
-
`,
|
|
4208
|
+
`,Nm=o.div`
|
|
4158
4209
|
display: flex;
|
|
4159
4210
|
align-items: center;
|
|
4160
4211
|
flex-direction: column;
|
|
@@ -4165,9 +4216,9 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4165
4216
|
line-height: 19px;
|
|
4166
4217
|
margin: 0;
|
|
4167
4218
|
}
|
|
4168
|
-
`,
|
|
4219
|
+
`,wm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UserRolesTable\\UserRolesTable.tsx",Em=e=>{const{roles:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.roleName<t.roleName?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(_m,{__self:void 0,__source:{fileName:wm,lineNumber:62}},t.createElement(vm,{__self:void 0,__source:{fileName:wm,lineNumber:63}},t.createElement("thead",{__self:void 0,__source:{fileName:wm,lineNumber:64}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:wm,lineNumber:65}},t.createElement("th",{__self:void 0,__source:{fileName:wm,lineNumber:66}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.roleName<t.roleName?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.roleName<e.roleName?-1:1)))},__self:void 0,__source:{fileName:wm,lineNumber:67}},"Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wm,lineNumber:72}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:wm,lineNumber:73}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wm,lineNumber:80}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:wm,lineNumber:81}}))))),t.createElement("th",{__self:void 0,__source:{fileName:wm,lineNumber:87}},"Code"),t.createElement("th",{__self:void 0,__source:{fileName:wm,lineNumber:88}},"Clearance Level"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:wm,lineNumber:92}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:wm,lineNumber:94}},t.createElement("td",{__self:void 0,__source:{fileName:wm,lineNumber:95}},e.roleName),t.createElement("td",{__self:void 0,__source:{fileName:wm,lineNumber:96}},e.roleCode),t.createElement("td",{__self:void 0,__source:{fileName:wm,lineNumber:97}},t.createElement("div",{__self:void 0,__source:{fileName:wm,lineNumber:98}},e.clearanceLevel,t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wm,lineNumber:100}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:wm,lineNumber:101}}))))))))),u&&0===u.length&&A&&t.createElement(xm,{__self:void 0,__source:{fileName:wm,lineNumber:111}},t.createElement(Nm,{__self:void 0,__source:{fileName:wm,lineNumber:112}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wm,lineNumber:113}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:wm,lineNumber:114}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:wm,lineNumber:115}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wm,lineNumber:116}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wm,lineNumber:117}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wm,lineNumber:118}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wm,lineNumber:119}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wm,lineNumber:120}})),t.createElement("defs",{__self:void 0,__source:{fileName:wm,lineNumber:122}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:wm,lineNumber:123}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:wm,lineNumber:124}})))),t.createElement("p",{__self:void 0,__source:{fileName:wm,lineNumber:128}},"User roles will be displayed here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:wm,lineNumber:133}}))},ym=o.div`
|
|
4169
4220
|
overflow-x: auto;
|
|
4170
|
-
`,
|
|
4221
|
+
`,Dm=o.table`
|
|
4171
4222
|
width: 100%;
|
|
4172
4223
|
border-collapse: separate;
|
|
4173
4224
|
border-spacing: 0 8px;
|
|
@@ -4217,7 +4268,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4217
4268
|
font-weight: 400;
|
|
4218
4269
|
line-height: 19px;
|
|
4219
4270
|
}
|
|
4220
|
-
`,
|
|
4271
|
+
`,Bm=o.div`
|
|
4221
4272
|
display: flex;
|
|
4222
4273
|
justify-content: center;
|
|
4223
4274
|
align-items: center;
|
|
@@ -4225,7 +4276,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4225
4276
|
height: 300px;
|
|
4226
4277
|
background: ${s.white};
|
|
4227
4278
|
border-radius: 8px;
|
|
4228
|
-
`,
|
|
4279
|
+
`,Mm=o.div`
|
|
4229
4280
|
display: flex;
|
|
4230
4281
|
align-items: center;
|
|
4231
4282
|
flex-direction: column;
|
|
@@ -4236,7 +4287,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4236
4287
|
line-height: 19px;
|
|
4237
4288
|
margin: 0;
|
|
4238
4289
|
}
|
|
4239
|
-
`,
|
|
4290
|
+
`,km="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UsersTable\\UsersTable.tsx",Pm=e=>{const{users:n,callback:l,srchActive:o}=e,[s,a]=i(1),[c,d]=i(10),[u,f]=i([]),[m,h]=i(n),[A,g]=i(!1),[p,b]=i("desc");return r((()=>{if(m.length>0){const e=s*c,t=e-c;f(m.slice(t,e))}0===m.length&&f(m),g(!0)}),[m,s]),r((()=>{h(n.sort(((e,t)=>e.name<t.name?-1:1)))}),[n]),r((()=>{o&&a(1)}),[o]),t.createElement(t.Fragment,null,t.createElement(ym,{__self:void 0,__source:{fileName:km,lineNumber:62}},t.createElement(Dm,{__self:void 0,__source:{fileName:km,lineNumber:63}},t.createElement("thead",{__self:void 0,__source:{fileName:km,lineNumber:64}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:km,lineNumber:65}},t.createElement("th",{__self:void 0,__source:{fileName:km,lineNumber:66}},t.createElement("div",{onClick:()=>{"asc"===p&&(b("desc"),u.sort(((e,t)=>e.name<t.name?-1:1))),"desc"===p&&(b("asc"),u.sort(((e,t)=>t.name<e.name?-1:1)))},__self:void 0,__source:{fileName:km,lineNumber:67}},"Name","desc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:km,lineNumber:72}},t.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:km,lineNumber:73}}))),"asc"===p&&t.createElement(t.Fragment,null,t.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:km,lineNumber:80}},t.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:km,lineNumber:81}}))))),t.createElement("th",{__self:void 0,__source:{fileName:km,lineNumber:88}},"Organisation"),t.createElement("th",{__self:void 0,__source:{fileName:km,lineNumber:89}},"Email"),t.createElement("th",{__self:void 0,__source:{fileName:km,lineNumber:90}},"Role"),t.createElement("th",{__self:void 0,__source:{fileName:km,lineNumber:91}},"Status"))),u&&u.length>0&&A&&t.createElement("tbody",{__self:void 0,__source:{fileName:km,lineNumber:95}},u.map(((e,i)=>t.createElement("tr",{key:i,className:"rounded-row",onClick:()=>{l(e)},__self:void 0,__source:{fileName:km,lineNumber:97}},t.createElement("td",{__self:void 0,__source:{fileName:km,lineNumber:98}},e.name),t.createElement("td",{__self:void 0,__source:{fileName:km,lineNumber:99}},e.organisation),t.createElement("td",{__self:void 0,__source:{fileName:km,lineNumber:100}},e.email),t.createElement("td",{__self:void 0,__source:{fileName:km,lineNumber:101}},e.role),t.createElement("td",{__self:void 0,__source:{fileName:km,lineNumber:102}},t.createElement("div",{__self:void 0,__source:{fileName:km,lineNumber:103}},t.createElement(Bu,{status:"ACTIVE"===e.status.toUpperCase()?"success":"error",label:e.status,__self:void 0,__source:{fileName:km,lineNumber:104}}),t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:km,lineNumber:105}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:km,lineNumber:106}}))))))))),u&&0===u.length&&A&&t.createElement(Bm,{__self:void 0,__source:{fileName:km,lineNumber:116}},t.createElement(Mm,{__self:void 0,__source:{fileName:km,lineNumber:117}},t.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:km,lineNumber:118}},t.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:km,lineNumber:119}},t.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:km,lineNumber:120}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:km,lineNumber:121}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:km,lineNumber:122}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:km,lineNumber:123}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:km,lineNumber:124}}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:km,lineNumber:125}})),t.createElement("defs",{__self:void 0,__source:{fileName:km,lineNumber:127}},t.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:km,lineNumber:128}},t.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:km,lineNumber:129}})))),t.createElement("p",{__self:void 0,__source:{fileName:km,lineNumber:133}},"Users will live here when you have any.")))),t.createElement(E,{itemsPerPage:10,totalItems:n.length,returnedPageNum:e=>{a(e)},currPageNum:s,__self:void 0,__source:{fileName:km,lineNumber:138}}))},Lm=o.div`
|
|
4240
4291
|
display: flex;
|
|
4241
4292
|
align-items: center;
|
|
4242
4293
|
padding: 11px 16px;
|
|
@@ -4249,27 +4300,36 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4249
4300
|
line-height: 19px;
|
|
4250
4301
|
font-weight: 500;
|
|
4251
4302
|
font-family: Circular Book Medium, sans-serif;
|
|
4252
|
-
`,
|
|
4253
|
-
|
|
4254
|
-
height: 82px;
|
|
4303
|
+
`,Hm=e=>{const{title:i}=e;return t.createElement(Lm,{...e,__self:void 0,__source:{fileName:"D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\WidgetTitle\\WidgetTitle.tsx",lineNumber:11}},i)},Im=o.div`
|
|
4304
|
+
height: 81px;
|
|
4255
4305
|
left: 0;
|
|
4306
|
+
background-color: #fff;
|
|
4256
4307
|
right: 0;
|
|
4257
|
-
|
|
4308
|
+
padding-left: 16.5px;
|
|
4309
|
+
padding-right: 16.5px;
|
|
4258
4310
|
align-items: center;
|
|
4259
|
-
|
|
4311
|
+
border-bottom: 1px solid var(--neutral-100, #e8eef7);
|
|
4312
|
+
/* mobile screens */
|
|
4313
|
+
@media (max-width: 767px) {
|
|
4314
|
+
height: 76px;
|
|
4315
|
+
}
|
|
4316
|
+
`;o.div`
|
|
4317
|
+
background: white;
|
|
4318
|
+
color: ${s["error-900"]};
|
|
4319
|
+
`;const Fm=e=>{const{children:i,className:r}=e;return t.createElement(Im,{className:r,...e,__self:void 0,__source:{fileName:"D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SSXBar\\SSXBar.tsx",lineNumber:8}},i&&i)};o.div`
|
|
4260
4320
|
display: flex;
|
|
4261
4321
|
flex-direction: column;
|
|
4262
4322
|
gap: 16px;
|
|
4263
|
-
`;const
|
|
4323
|
+
`;const Qm=o.div`
|
|
4264
4324
|
padding-top: 16px;
|
|
4265
4325
|
border-radius: 8px;
|
|
4266
4326
|
background: ${s.white};
|
|
4267
4327
|
min-height: 597px;
|
|
4268
|
-
`,
|
|
4328
|
+
`,Om=o.div`
|
|
4269
4329
|
display: flex;
|
|
4270
4330
|
flex-direction: column;
|
|
4271
4331
|
gap: 12px;
|
|
4272
|
-
`,
|
|
4332
|
+
`,Rm=o.div`
|
|
4273
4333
|
display: flex;
|
|
4274
4334
|
gap: 16px;
|
|
4275
4335
|
align-items: center;
|
|
@@ -4292,7 +4352,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4292
4352
|
button{
|
|
4293
4353
|
width: 58px;
|
|
4294
4354
|
}
|
|
4295
|
-
`,
|
|
4355
|
+
`,Vm=o.div`
|
|
4296
4356
|
width: 100%;
|
|
4297
4357
|
border-radius: 8px;
|
|
4298
4358
|
padding: 16px;
|
|
@@ -4300,12 +4360,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4300
4360
|
justify-content: space-between;
|
|
4301
4361
|
gap: 16px;
|
|
4302
4362
|
background: ${s["neutral-50"]};
|
|
4303
|
-
`,
|
|
4363
|
+
`,Ym=o.div`
|
|
4304
4364
|
display: flex;
|
|
4305
4365
|
gap: 8px;
|
|
4306
4366
|
align-items: center;
|
|
4307
4367
|
justify-content: space-between;
|
|
4308
|
-
`,
|
|
4368
|
+
`,zm=o.div`
|
|
4309
4369
|
display: flex;
|
|
4310
4370
|
flex-direction: column;
|
|
4311
4371
|
gap: 8px;
|
|
@@ -4323,7 +4383,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4323
4383
|
line-height: 14px;
|
|
4324
4384
|
color: ${s["neutral-400"]};
|
|
4325
4385
|
}
|
|
4326
|
-
`,
|
|
4386
|
+
`,Sm=o.div`
|
|
4327
4387
|
display: flex;
|
|
4328
4388
|
justify-content: center;
|
|
4329
4389
|
align-items: center;
|
|
@@ -4346,9 +4406,9 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4346
4406
|
color: ${s["neutral-600"]};
|
|
4347
4407
|
margin: 0;
|
|
4348
4408
|
}
|
|
4349
|
-
`;function
|
|
4409
|
+
`;function jm(e,t){return new Intl.NumberFormat("en-US",{style:"currency",currency:t,currencyDisplay:"code"}).format(e)}const Tm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\BidsCards\\BidsCard.tsx",Wm=e=>{const{offers:i}=e;return t.createElement(Qm,{__self:void 0,__source:{fileName:Tm,lineNumber:13}},t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(Om,{__self:void 0,__source:{fileName:Tm,lineNumber:16}},i.map(((e,i)=>t.createElement(Rm,{key:i,__self:void 0,__source:{fileName:Tm,lineNumber:27}},e.selectedProvider&&t.createElement("p",{className:"recommended",__self:void 0,__source:{fileName:Tm,lineNumber:28}},"Selected"),t.createElement(Vm,{__self:void 0,__source:{fileName:Tm,lineNumber:29}},t.createElement(Ym,{__self:void 0,__source:{fileName:Tm,lineNumber:30}},t.createElement(zm,{__self:void 0,__source:{fileName:Tm,lineNumber:31}},t.createElement("h4",{__self:void 0,__source:{fileName:Tm,lineNumber:32}},e.providerName),t.createElement(Sm,{__self:void 0,__source:{fileName:Tm,lineNumber:33}},t.createElement("p",{__self:void 0,__source:{fileName:Tm,lineNumber:34}},jm(e.baseAmount,e.baseCurrency)),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Tm,lineNumber:36}},t.createElement("path",{d:"M17.9999 10C17.9999 9.73479 17.8945 9.48043 17.707 9.2929C17.5195 9.10536 17.2651 9 16.9999 9H5.4099L7.7099 6.71C7.8982 6.5217 8.00399 6.2663 8.00399 6C8.00399 5.7337 7.8982 5.47831 7.7099 5.29C7.52159 5.1017 7.2662 4.99591 6.9999 4.99591C6.73359 4.99591 6.4782 5.1017 6.2899 5.29L2.2899 9.29C2.15114 9.43063 2.05714 9.6092 2.01977 9.80319C1.98239 9.99718 2.00332 10.1979 2.0799 10.38C2.15492 10.5626 2.28231 10.7189 2.44603 10.8293C2.60975 10.9396 2.80247 10.999 2.9999 11H16.9999C17.2651 11 17.5195 10.8946 17.707 10.7071C17.8945 10.5196 17.9999 10.2652 17.9999 10ZM21.9199 13.62C21.8449 13.4374 21.7175 13.2811 21.5538 13.1707C21.39 13.0604 21.1973 13.001 20.9999 13H6.9999C6.73468 13 6.48033 13.1054 6.29279 13.2929C6.10525 13.4804 5.9999 13.7348 5.9999 14C5.9999 14.2652 6.10525 14.5196 6.29279 14.7071C6.48033 14.8946 6.73468 15 6.9999 15H18.5899L16.2899 17.29C16.1962 17.383 16.1218 17.4936 16.071 17.6154C16.0202 17.7373 15.9941 17.868 15.9941 18C15.9941 18.132 16.0202 18.2627 16.071 18.3846C16.1218 18.5064 16.1962 18.617 16.2899 18.71C16.3829 18.8037 16.4935 18.8781 16.6153 18.9289C16.7372 18.9797 16.8679 19.0058 16.9999 19.0058C17.1319 19.0058 17.2626 18.9797 17.3845 18.9289C17.5063 18.8781 17.6169 18.8037 17.7099 18.71L21.7099 14.71C21.8487 14.5694 21.9426 14.3908 21.98 14.1968C22.0174 14.0028 21.9965 13.8021 21.9199 13.62Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:Tm,lineNumber:37}})),t.createElement("p",{__self:void 0,__source:{fileName:Tm,lineNumber:39}},jm(e.exchangeAmount,e.exchangeCurrency))),t.createElement("p",{__self:void 0,__source:{fileName:Tm,lineNumber:41}},e.baseCurrency," 1.00 = ",e.exchangeCurrency," ",e.rate.toFixed(4)))))))))))},Xm=o.div`
|
|
4350
4410
|
overflow-x: auto;
|
|
4351
|
-
`,
|
|
4411
|
+
`,Zm=o.table`
|
|
4352
4412
|
width: 100%;
|
|
4353
4413
|
border-collapse: separate;
|
|
4354
4414
|
border-spacing: 0 8px;
|
|
@@ -4418,7 +4478,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4418
4478
|
gap: 4px;
|
|
4419
4479
|
align-items: center;
|
|
4420
4480
|
}
|
|
4421
|
-
`,
|
|
4481
|
+
`,Um="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TablePrimary\\index.tsx",Gm=e=>{const{thead:i,children:r}=e;return t.createElement(Xm,{__self:void 0,__source:{fileName:Um,lineNumber:12}},t.createElement(Zm,{__self:void 0,__source:{fileName:Um,lineNumber:13}},t.createElement("thead",{__self:void 0,__source:{fileName:Um,lineNumber:14}},t.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Um,lineNumber:15}},i.map(((e,i)=>t.createElement("th",{key:i,__self:void 0,__source:{fileName:Um,lineNumber:17}},e))))),t.createElement("tbody",{className:"rounded-row",__self:void 0,__source:{fileName:Um,lineNumber:21}},r)))},Km=o.table`
|
|
4422
4482
|
width: 100%;
|
|
4423
4483
|
background: white;
|
|
4424
4484
|
border-collapse: collapse;
|
|
@@ -4436,31 +4496,63 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4436
4496
|
padding: 4px 8px;
|
|
4437
4497
|
font-family: Arial,sans-serif !important;
|
|
4438
4498
|
}
|
|
4439
|
-
`,
|
|
4499
|
+
`,qm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TableAlternative\\index.tsx",Jm=n(((e,i)=>{const{thead:r,children:n}=e;return t.createElement(Km,{...e,ref:i,__self:void 0,__source:{fileName:qm,lineNumber:11}},t.createElement("thead",{__self:void 0,__source:{fileName:qm,lineNumber:12}},t.createElement("tr",{__self:void 0,__source:{fileName:qm,lineNumber:13}},r.map(((e,i)=>t.createElement("th",{key:i,__self:void 0,__source:{fileName:qm,lineNumber:16}},e))))),t.createElement("tbody",{__self:void 0,__source:{fileName:qm,lineNumber:21}},n))})),$m=o.div`
|
|
4500
|
+
display: flex;
|
|
4501
|
+
flex-direction: column;
|
|
4502
|
+
gap: 12px;
|
|
4503
|
+
`,eh=o.div`
|
|
4504
|
+
display:flex;
|
|
4505
|
+
flex-direction: column;
|
|
4506
|
+
gap:8px;
|
|
4507
|
+
`,th=o.div`
|
|
4508
|
+
display: flex;
|
|
4509
|
+
flex-direction: column;
|
|
4510
|
+
gap: 4px;
|
|
4511
|
+
label{
|
|
4512
|
+
color:${s["primary-900"]};
|
|
4513
|
+
font-weight: 500;
|
|
4514
|
+
font-family: "Circular Book Medium", sans-serif;
|
|
4515
|
+
}
|
|
4516
|
+
`,ih=o.input`
|
|
4517
|
+
position: absolute;
|
|
4518
|
+
width: 1px;
|
|
4519
|
+
height: 1px;
|
|
4520
|
+
margin: -1px;
|
|
4521
|
+
overflow: hidden;
|
|
4522
|
+
clip: rect(0, 0, 0, 0);
|
|
4523
|
+
white-space: nowrap;
|
|
4524
|
+
border: 0;
|
|
4525
|
+
&:focus,&:focus-visible{
|
|
4526
|
+
border: none;
|
|
4527
|
+
outline: none;
|
|
4528
|
+
}
|
|
4529
|
+
`,rh=o.div`
|
|
4440
4530
|
//width: 430px;
|
|
4441
4531
|
border-radius: 8px;
|
|
4442
4532
|
outline: 1px solid ${s["neutral-100"]};
|
|
4443
4533
|
background: ${s.white};
|
|
4444
|
-
display:
|
|
4534
|
+
display: grid;
|
|
4445
4535
|
justify-content: space-between;
|
|
4446
4536
|
align-items: center;
|
|
4537
|
+
grid-template-columns: 1fr 0fr;
|
|
4447
4538
|
padding: 16px;
|
|
4448
4539
|
transition: 0.3s;
|
|
4449
4540
|
cursor: pointer;
|
|
4541
|
+
&:hover{
|
|
4542
|
+
outline-color: ${s["primary-500"]};
|
|
4543
|
+
background: ${s["primary-50"]};
|
|
4544
|
+
}
|
|
4450
4545
|
.text{
|
|
4451
4546
|
margin: 0;
|
|
4547
|
+
width: 100%;
|
|
4452
4548
|
}
|
|
4453
4549
|
&.selected{
|
|
4454
|
-
outline-color: ${s["primary-500"]};
|
|
4455
|
-
background: ${s["primary-50"]};
|
|
4456
|
-
}
|
|
4457
|
-
:hover{
|
|
4458
|
-
outline-color: ${s["primary-500"]};
|
|
4459
|
-
background: ${s["primary-50"]};
|
|
4550
|
+
outline-color: ${s["primary-500"]} !important;
|
|
4551
|
+
background: ${s["primary-50"]} !important;
|
|
4460
4552
|
}
|
|
4461
4553
|
svg{
|
|
4462
4554
|
height: 24px;
|
|
4463
4555
|
width: 24px;
|
|
4464
4556
|
}
|
|
4465
|
-
`,
|
|
4557
|
+
`,nh="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Selector\\Selector.tsx",lh=e=>{const{itemsList:r,selectedItem:n,width:l,multiSelect:o,required:a,label:c,subText:d,errMsg:u}=e,[f,m]=i([]),[h,A]=i(""),[g,p]=i("");return t.createElement($m,{__self:void 0,__source:{fileName:nh,lineNumber:41}},c&&t.createElement(th,{__self:void 0,__source:{fileName:nh,lineNumber:43}},t.createElement("label",{__self:void 0,__source:{fileName:nh,lineNumber:44}},c),d&&t.createElement("span",{__self:void 0,__source:{fileName:nh,lineNumber:45}},d)),t.createElement(eh,{style:{width:l||"100%"},__self:void 0,__source:{fileName:nh,lineNumber:48}},r.map(((e,i)=>t.createElement(rh,{key:i,className:f.some((t=>t.label===e.label))?"selected":"",onClick:()=>{!function(e){A("");let t=[...f];const i=t.some((t=>t.label===e.label));if(o)if(i){const i=t.filter((t=>t.label!==e.label));m(i),n(i),p("")}else m([...f,e]),n([...f,e]),p(e.label);else n(i?null:e),p(i?"":e.label),m(i?[]:[e])}(e)},__self:void 0,__source:{fileName:nh,lineNumber:51}},t.createElement("p",{className:"text paragraph2Regular",__self:void 0,__source:{fileName:nh,lineNumber:54}},e.label),t.createElement("svg",{width:"25",height:"22",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:nh,lineNumber:55}},t.createElement("path",{d:"M14.71 1.21C14.617 1.11627 14.5064 1.04188 14.3846 0.991107C14.2627 0.940338 14.132 0.9142 14 0.9142C13.868 0.9142 13.7373 0.940338 13.6154 0.991107C13.4936 1.04188 13.383 1.11627 13.29 1.21L5.84001 8.67L2.71001 5.53C2.61349 5.43676 2.49955 5.36345 2.37469 5.31424C2.24984 5.26504 2.11651 5.24091 1.98233 5.24323C1.84815 5.24555 1.71574 5.27428 1.59266 5.32777C1.46959 5.38126 1.35825 5.45848 1.26501 5.555C1.17177 5.65152 1.09846 5.76546 1.04925 5.89032C1.00005 6.01517 0.97592 6.1485 0.978241 6.28268C0.980563 6.41686 1.00929 6.54927 1.06278 6.67234C1.11628 6.79542 1.19349 6.90676 1.29001 7L5.13001 10.84C5.22297 10.9337 5.33358 11.0081 5.45543 11.0589C5.57729 11.1097 5.708 11.1358 5.84001 11.1358C5.97202 11.1358 6.10273 11.1097 6.22459 11.0589C6.34645 11.0081 6.45705 10.9337 6.55001 10.84L14.71 2.68C14.8115 2.58636 14.8925 2.4727 14.9479 2.3462C15.0033 2.21971 15.0319 2.0831 15.0319 1.945C15.0319 1.8069 15.0033 1.67029 14.9479 1.54379C14.8925 1.41729 14.8115 1.30364 14.71 1.21V1.21Z",fill:f.some((t=>t.label===e.label))?s["primary-500"]:s["neutral-400"],__self:void 0,__source:{fileName:nh,lineNumber:56}})))))),t.createElement(ih,{className:"sr-only",value:g,required:a,onInvalid:e=>{A("error"),e.target.setCustomValidity("This field is required")},onChange:()=>{},__self:void 0,__source:{fileName:nh,lineNumber:62}}),"error"===h&&t.createElement(Tu,{__self:void 0,__source:{fileName:nh,lineNumber:67}},t.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:nh,lineNumber:69}},t.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:nh,lineNumber:70}})),u||"Select an option"))};export{m as ActionFailed,p as ActionSuccess,D as AppActionsTable,H as AppFormsTable,V as AppModulesTable,W as AuditLog,te as BankAccounts,se as BankSelector,Wm as BidsCards,de as BreadcrumbBar,pe as BrokersTable,c as Button,q as ButtonOutline,Ks as Chart,la as ChartMedium,fa as ChartSmall,Ca as CookieConsent,Ba as CountrySelector,Ia as CurrencyPairs,za as DatePicker,Ga as DateRangePicker,Ja as DisplayField,sc as DropdownList,fc as ExchangeRates,Ac as FooterNew,xc as Indices,Hc as LPRequestTable,Sc as LPSideNav,dd as LPTopBar,yc as LoadingShimmer,$ as LoadingSpinner,_d as MarketData,Hd as MarketMovers,Od as MenuBar,Xd as NewsCard,Kd as NewsFilterBar,$d as NewsSourceTag,iu as NewsTitleBar,cu as PasswordField,Au as PaymentMethodsTable,xu as PopupModal,ku as ProvidersTable,Ru as RateHistory,Uu as RequestForm,$u as Ribbon,Fm as SSXBar,rf as SearchBar,of as SearchResultsBar,lh as Selector,hf as SideModal,xf as SmallNewsCard,Bu as StatusBadge,Lf as StocksTicker,Rf as SystemConfigTable,Pd as Tab,Tf as Table,Jm as TableAlternative,Gm as TablePrimary,Kf as TextArea,Xu as TextField,tm as TransactionDetails,lm as TransactionDetailsWithPayment,fm as UpdateUserActions,Cm as UserActions,Em as UserRolesTable,Pm as UsersTable,Hm as WidgetTitle};
|
|
4466
4558
|
//# sourceMappingURL=index.es.js.map
|