hisd3-ui-kit 5.1.0 → 5.2.1

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigProvider as o,App as i,Layout as n,Dropdown as a,Spin as l,Menu as d,Breadcrumb as s,Button as p,Switch as c,Empty as h,Table as g,Pagination as m,Tabs as u,Input as b,Select as f,Form as x,InputNumber as v,Radio as y,Checkbox as w,DatePicker as k,TimePicker as A,AutoComplete as D,Mentions as S,Cascader as z,TreeSelect as E,Segmented as C,Transfer as I,Slider as F,Rate as B,Skeleton as N,ColorPicker as L,Upload as T}from"antd";import R,{createContext as P,useContext as U,useMemo as H,createElement as M,useState as O,useEffect as $,forwardRef as G,useCallback as j,Fragment as q,useRef as Q}from"react";import K,{ThemeProvider as W,css as V}from"styled-components";import{SettingOutlined as Z,LogoutOutlined as Y,DownOutlined as J,ExclamationCircleOutlined as X,MenuUnfoldOutlined as _,MenuFoldOutlined as ee,RightOutlined as te,LeftOutlined as re,EyeInvisibleOutlined as oe,EyeOutlined as ie,BellFilled as ne,SearchOutlined as ae}from"@ant-design/icons";function le(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}le('body,html{height:100%;width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}');le('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--hisd3-rule-width:1px;--hisd3-control-bg:#e6e4e1;--hisd3-control-bg-hover:#dbd8d4;--hisd3-input-bg:#faf9f7;--hisd3-input-bg-hover:#fff;--hisd3-input-border-hover:#b9b4ac;--hisd3-popup-radius:10px;--font-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-heading:var(--font-body);--font-weight-heading:800}body{-webkit-font-smoothing:antialiased;font-family:var(--font-body)}body,html{overscroll-behavior:none}.ant-typography h1,.ant-typography h2,.ant-typography h3,.ant-typography h4,.ant-typography h5,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--font-weight-heading);letter-spacing:-.01em}.hisd3-wrap-popup.ant-select-dropdown .ant-select-item,.hisd3-wrap-select.ant-select-dropdown .ant-select-item{height:auto;min-height:32px;padding-block:6px}.hisd3-wrap-popup.ant-select-dropdown .ant-select-item-option-content,.hisd3-wrap-select.ant-select .ant-select-selection-item,.hisd3-wrap-select.ant-select-dropdown .ant-select-item-option-content,.hisd3-wrap-select.ant-select-single .ant-select-content{line-height:1.35;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.hisd3-select-label{line-height:1.35;min-width:0;overflow-wrap:anywhere;padding-block:2px;white-space:normal}.hisd3-select-label-description{color:var(--ant-color-text-secondary,rgba(0,0,0,.55));font-size:12px;font-weight:400}');const de={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28},se={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},pe={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",white:"#FFFFFF"},ce={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},he="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",ge=800,me=400,ue=(e="red")=>se[e]??e,be=(e,t)=>{const r=e.replace("#",""),o=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(o,16);return`#${[i>>16&255,i>>8&255,255&i].map((e=>(e=>Math.round(e*(1-t)))(e).toString(16).padStart(2,"0"))).join("")}`},fe=(e,t)=>{const r=e.replace("#",""),o=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(o,16),n=i>>8&255,a=255&i,l=e=>Math.round(e+(255-e)*t);return`#${[l(i>>16&255),l(n),l(a)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},xe=({primary:e,radius:t=0,borders:r="hairline",lineWidth:o,overrides:i}={})=>{const n=ue(e),a=ce[r]??ce.hairline,l=o??a.width,d={...pe,border:a.border,borderSecondary:a.borderSecondary},s={cssVar:{key:"hisd3"},token:{colorPrimary:n,colorInfo:n,colorLink:n,colorPrimaryBg:fe(n,.92),colorPrimaryBgHover:fe(n,.86),colorPrimaryBorder:fe(n,.6),fontFamily:he,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:l,colorBgLayout:d.bgLayout,colorBgContainer:d.bgContainer,colorBgElevated:d.bgElevated,colorText:d.text,colorTextSecondary:d.textSecondary,colorTextTertiary:d.textTertiary,colorTextHeading:d.text,colorBorder:d.border,colorBorderSecondary:d.borderSecondary,colorSplit:d.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:d.bgLayout,headerBg:d.bgLayout,bodyBg:d.bgLayout,headerPadding:`0 ${de.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",itemColor:d.text,itemHoverColor:d.text,itemHoverBg:"rgba(0,0,0,0.04)",itemSelectedBg:fe(n,.9),itemSelectedColor:n,itemActiveBg:fe(n,.86),subMenuItemSelectedColor:n,groupTitleColor:d.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:de.pageGutter,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",defaultBorderColor:d.border,defaultColor:d.text,defaultBg:d.bgLayout,defaultHoverBg:d.white,defaultHoverBorderColor:d.borderStrong,defaultHoverColor:d.text,defaultActiveBorderColor:d.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{activeShadow:"none",colorBorder:d.border,hoverBorderColor:d.borderStrong,activeBorderColor:d.borderStrong,paddingInline:16},Select:{optionSelectedBg:fe(n,.9),colorBorder:d.border},Table:{headerBg:d.bgContainer,headerColor:d.textTertiary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:d.borderSecondary,rowHoverBg:be(d.bgContainer,.03),cellPaddingBlock:10,cellPaddingInline:12,cellFontSize:14,cellPaddingBlockMD:8,cellPaddingInlineMD:10,cellPaddingBlockSM:6,cellPaddingInlineSM:8,cellFontSizeMD:14,cellFontSizeSM:13,footerBg:d.bgContainer},Tabs:{inkBarColor:n,itemColor:d.text,itemSelectedColor:n,itemHoverColor:n,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:d.bgLayout,itemActiveBg:n,itemSize:32,itemSizeSM:26,itemInputBg:d.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:d.textTertiary,lastItemColor:d.text,linkColor:d.textTertiary,linkHoverColor:n,separatorColor:d.textTertiary},Card:{headerFontSize:20}}};return i?{...s,...i,token:{...s.token,...i.token},components:{...s.components,...i.components}}:s},ve=({primary:e,borders:t="hairline",lineWidth:r,radius:o=0}={})=>{const i=ue(e),n=ce[t]??ce.hairline,a=pe;return[":root{",`--hisd3-rule-width:${r??n.width}px;`,`--hisd3-control-bg:${a.bgFilled};`,`--hisd3-control-bg-hover:${a.bgFilledHover};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${o}px;`,`--ant-color-primary:${i};`,`--ant-color-primary-bg:${fe(i,.92)};`,`--ant-color-primary-bg-hover:${fe(i,.86)};`,`--ant-color-primary-border:${fe(i,.6)};`,`--ant-color-error:${i===se.red?i:"#E5401C"};`,`--ant-color-text:${a.text};`,`--ant-color-text-secondary:${a.textSecondary};`,`--ant-color-text-tertiary:${a.textTertiary};`,`--hisd3-table-bg:${a.bgContainer};`,`--hisd3-table-hover-bg:${be(a.bgContainer,.03)};`,`--hisd3-border:${n.border};`,`--hisd3-border-secondary:${n.borderSecondary};`,`--ant-color-border:${n.border};`,`--ant-color-border-secondary:${n.borderSecondary};`,`--ant-color-bg-layout:${a.bgLayout};`,`--ant-color-bg-elevated:${a.bgElevated};`,"}"].join("")},ye=(e="hairline",t)=>ve({borders:e,lineWidth:t}),we=xe(),ke={primary:se.red,primaryLight:fe(se.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},Ae=P(!1),De=()=>U(Ae),Se=({primary:r,radius:n,borders:a="hairline",lineWidth:l,overrides:d,theme:s,styledTheme:p={},children:c})=>{const h=H((()=>s??xe({primary:r,radius:n,borders:a,lineWidth:l,overrides:d})),[s,r,n,a,l,d]),g=H((()=>ve({primary:r,borders:a,lineWidth:l,radius:n})),[r,a,l,n]);return e(Ae.Provider,{value:!0,children:[t("style",{dangerouslySetInnerHTML:{__html:g}}),t(o,{theme:h,children:t(W,{theme:p,children:t(i,{component:!1,children:c})})})]})},{Header:ze,Content:Ee}=n,Ce=de.siderWidth,Ie=de.siderCollapsedWidth,Fe=de.topBarHeight,Be=K(n)`
1
+ import{jsxs as e,jsx as r,Fragment as t}from"react/jsx-runtime";import{theme as o,ConfigProvider as i,App as n,Layout as a,Dropdown as l,Spin as d,Menu as s,Breadcrumb as p,Button as c,Switch as h,Empty as g,Table as m,Pagination as b,Tabs as u,Input as f,Select as x,Form as v,InputNumber as y,Radio as w,Checkbox as A,DatePicker as k,TimePicker as E,AutoComplete as F,Mentions as B,Cascader as S,TreeSelect as D,Segmented as C,Transfer as z,Slider as I,Rate as N,Skeleton as T,ColorPicker as L,Upload as P}from"antd";import R,{createContext as H,useContext as U,useMemo as M,createElement as $,useState as O,useEffect as G,forwardRef as j,useCallback as W,Fragment as q,useRef as Q}from"react";import K,{ThemeProvider as V,css as Z}from"styled-components";import{SettingOutlined as Y,LogoutOutlined as J,DownOutlined as X,ExclamationCircleOutlined as _,MenuUnfoldOutlined as ee,MenuFoldOutlined as re,RightOutlined as te,LeftOutlined as oe,EyeInvisibleOutlined as ie,EyeOutlined as ne,BellFilled as ae,SearchOutlined as le}from"@ant-design/icons";function de(e,r){void 0===r&&(r={});var t=r.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}de('body,html{height:100%;width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}');de('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--hisd3-rule-width:1px;--hisd3-control-bg:#e6e4e1;--hisd3-control-bg-hover:#dbd8d4;--hisd3-input-bg:#faf9f7;--hisd3-input-bg-hover:#fff;--hisd3-input-border-hover:#b9b4ac;--hisd3-popup-radius:10px;--font-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-heading:var(--font-body);--font-weight-heading:800}body{-webkit-font-smoothing:antialiased;font-family:var(--font-body)}body,html{overscroll-behavior:none}.ant-typography h1,.ant-typography h2,.ant-typography h3,.ant-typography h4,.ant-typography h5,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--font-weight-heading);letter-spacing:-.01em}.hisd3-wrap-popup.ant-select-dropdown .ant-select-item,.hisd3-wrap-select.ant-select-dropdown .ant-select-item{height:auto;min-height:32px;padding-block:6px}.hisd3-wrap-popup.ant-select-dropdown .ant-select-item-option-content,.hisd3-wrap-select.ant-select .ant-select-selection-item,.hisd3-wrap-select.ant-select-dropdown .ant-select-item-option-content,.hisd3-wrap-select.ant-select-single .ant-select-content{line-height:1.35;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.hisd3-select-label{line-height:1.35;min-width:0;overflow-wrap:anywhere;padding-block:2px;white-space:normal}.hisd3-select-label-description{color:var(--ant-color-text-secondary,rgba(0,0,0,.55));font-size:12px;font-weight:400}');const se={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28},pe={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},ce={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",bgField:"#FAF9F7",bgRowHover:"#EBEAE8",hover:"rgba(0,0,0,0.04)",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",controlBorder:"#8C8A85",controlBorderHover:"#5F5D59",mask:"rgba(23,23,23,0.45)",white:"#FFFFFF"},he={bgLayout:"#1A1917",bgContainer:"#1A1917",bgElevated:"#262522",bgFilled:"#2E2D2A",bgFilledHover:"#393734",bgField:"#201F1D",bgRowHover:"#22211F",hover:"rgba(255,255,255,0.05)",text:"#EEEDEA",textSecondary:"#C2C0BB",textTertiary:"#9C9A94",border:"#3A3936",borderSecondary:"#2C2B29",borderStrong:"#EEEDEA",controlBorder:"#77746E",controlBorderHover:"#A8A59F",mask:"rgba(0,0,0,0.6)",white:"#FFFFFF"},ge={light:{success:"#2E7D32",successBg:"#EAF3EA",error:"#B42318",errorBg:"#FBEAE7",warning:"#B54708",warningBg:"#FBEFE3"},dark:{success:"#6FBF73",successBg:"#283426",error:"#FF8A7A",errorBg:"#3F2B27",warning:"#F0A35E",warningBg:"#3C2F22"}},me={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},be={hairline:{width:1,border:"#3A3936",borderSecondary:"#2C2B29"},bold:{width:2,border:"#C2C0BB",borderSecondary:"#3A3936"}},ue="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",fe=800,xe=400,ve=(e="red")=>pe[e]??e,ye=e=>{const r=e.replace("#",""),t=3===r.length?r.split("").map((e=>e+e)).join(""):r,o=parseInt(t,16);return[o>>16&255,o>>8&255,255&o]},we=e=>`#${e.map((e=>Math.round(e).toString(16).padStart(2,"0"))).join("")}`,Ae=(e,r)=>we(ye(e).map((e=>e*(1-r)))),ke=(e,r)=>we(ye(e).map((e=>e+(255-e)*r))),Ee=(e,r,t)=>{const o=ye(e),i=ye(r);return we(o.map(((e,r)=>e+(i[r]-e)*t)))},Fe=e=>{const[r,t,o]=ye(e).map((e=>{const r=e/255;return r<=.03928?r/12.92:((r+.055)/1.055)**2.4}));return.2126*r+.7152*t+.0722*o},Be=(e,r)=>{const[t,o]=[Fe(e),Fe(r)].sort(((e,r)=>r-e));return(t+.05)/(o+.05)},Se=(e="red",r="light")=>{const t=ve(e);if("dark"===r){const e=he.bgLayout;let r=t;for(let o=0;o<=1&&(r=Ee(t,"#FFFFFF",o),!(Be(r,e)>=4.5&&Be(r,Ee(e,r,.14))>=4.5));o+=.01);return{source:t,primary:r,onPrimary:e,primaryBg:Ee(e,r,.14),primaryBgHover:Ee(e,r,.22),primaryBorder:Ee(e,r,.45)}}const o=ce.bgLayout;let i=t;for(let e=0;e<=1&&(i=Ae(t,e),!(Be(i,o)>=4.5&&Be(i,"#FFFFFF")>=4.5&&Be(i,ke(i,.92))>=4.5));e+=.01);return{source:t,primary:i,onPrimary:"#FFFFFF",primaryBg:ke(i,.92),primaryBgHover:ke(i,.86),primaryBorder:ke(i,.6)}},De=(e,r)=>{const t="dark"===e,o=t?be:me,i=o[r]??o.hairline;return{n:{...t?he:ce,border:i.border,borderSecondary:i.borderSecondary},b:i}},Ce=({primary:e,mode:r="light",radius:t=0,borders:i="hairline",lineWidth:n,overrides:a}={})=>{const l=Se(e,r),d=l.primary,{n:s,b:p}=De(r,i),c=ge[r],h=n??p.width,g={colorBorder:s.controlBorder,hoverBorderColor:s.controlBorderHover,activeBorderColor:d,activeShadow:`0 0 0 1px ${d}`,colorBgContainer:s.bgField,hoverBg:s.bgElevated,activeBg:s.bgElevated},m={algorithm:["dark"===r?o.darkAlgorithm:o.defaultAlgorithm,(e,r)=>({...r,colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryText:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:c.success,colorSuccessText:c.success,colorSuccessBg:c.successBg,colorError:c.error,colorErrorText:c.error,colorErrorBg:c.errorBg,colorWarning:c.warning,colorWarningText:c.warning,colorWarningBg:c.warningBg})],cssVar:{key:"hisd3"},token:{colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:c.success,colorSuccessBg:c.successBg,colorSuccessBorder:c.success,colorError:c.error,colorErrorBg:c.errorBg,colorErrorBorder:c.error,colorWarning:c.warning,colorWarningBg:c.warningBg,colorWarningBorder:c.warning,fontFamily:ue,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:h,colorBgLayout:s.bgLayout,colorBgContainer:s.bgContainer,colorBgElevated:s.bgElevated,colorBgMask:s.mask,colorBgContainerDisabled:s.bgFilled,colorText:s.text,colorTextSecondary:s.textSecondary,colorTextTertiary:s.textTertiary,colorTextPlaceholder:s.textTertiary,colorTextDisabled:s.textTertiary,colorTextHeading:s.text,colorBorder:s.border,colorBorderSecondary:s.borderSecondary,colorSplit:s.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"dark"===r?"0 2px 6px rgba(0,0,0,0.3), 0 12px 32px rgba(0,0,0,0.5)":"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:s.bgLayout,headerBg:s.bgLayout,bodyBg:s.bgLayout,headerPadding:`0 ${se.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",popupBg:s.bgElevated,itemColor:s.text,itemHoverColor:s.text,itemHoverBg:s.hover,itemSelectedBg:l.primaryBg,itemSelectedColor:d,itemActiveBg:l.primaryBgHover,subMenuItemSelectedColor:d,horizontalItemSelectedColor:d,horizontalItemHoverColor:d,groupTitleColor:s.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:se.pageGutter,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",primaryColor:l.onPrimary,dangerColor:l.onPrimary,defaultBorderColor:s.border,defaultColor:s.text,defaultBg:s.bgLayout,defaultHoverBg:s.bgElevated,defaultHoverBorderColor:s.borderStrong,defaultHoverColor:s.text,defaultActiveBorderColor:s.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{...g,paddingInline:16},InputNumber:g,Select:{...g,optionSelectedBg:l.primaryBg,selectorBg:s.bgField},DatePicker:g,Cascader:g,TreeSelect:g,Mentions:g,Checkbox:{colorBorder:s.controlBorder,colorBgContainer:s.bgField,colorWhite:l.onPrimary},Radio:{colorBorder:s.controlBorder,colorBgContainer:s.bgField,dotColorDisabled:s.textTertiary},Segmented:{trackBg:s.bgFilled,itemColor:s.textSecondary,itemHoverColor:s.text,itemHoverBg:s.hover,itemSelectedBg:d,itemSelectedColor:l.onPrimary},Table:{headerBg:s.bgContainer,headerColor:s.textSecondary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:s.borderSecondary,rowHoverBg:s.bgRowHover,rowSelectedBg:l.primaryBg,rowSelectedHoverBg:l.primaryBgHover,cellPaddingBlock:10,cellPaddingInline:12,cellFontSize:14,cellPaddingBlockMD:8,cellPaddingInlineMD:10,cellPaddingBlockSM:6,cellPaddingInlineSM:8,cellFontSizeMD:14,cellFontSizeSM:13,footerBg:s.bgContainer},Tabs:{inkBarColor:d,itemColor:s.text,itemSelectedColor:d,itemHoverColor:d,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:s.bgLayout,itemActiveBg:d,itemActiveColor:l.onPrimary,itemActiveColorHover:l.onPrimary,itemSize:32,itemSizeSM:26,itemInputBg:s.bgField},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:s.textTertiary,lastItemColor:s.text,linkColor:s.textTertiary,linkHoverColor:d,separatorColor:s.textTertiary},Card:{headerFontSize:18,headerFontSizeSM:16,colorBgContainer:s.bgContainer},Drawer:{colorBgElevated:s.bgElevated},Alert:{withDescriptionPadding:"14px 16px"}}};return a?{...m,...a,token:{...m.token,...a.token},components:{...m.components,...a.components}}:m},ze=({primary:e,mode:r="light",borders:t="hairline",lineWidth:o,radius:i=0,selector:n=":root"}={})=>{const a=Se(e,r),{n:l,b:d}=De(r,t),s=ge[r],p=":root"===n;return[`${n}{`,`color-scheme:${r};`,`--hisd3-mode:${r};`,`--hisd3-rule-width:${o??d.width}px;`,`--hisd3-control-bg:${l.bgFilled};`,`--hisd3-control-bg-hover:${l.bgFilledHover};`,`--hisd3-input-bg:${l.bgField};`,`--hisd3-input-bg-hover:${l.bgElevated};`,`--hisd3-input-border:${l.controlBorder};`,`--hisd3-input-border-hover:${l.controlBorderHover};`,`--hisd3-hover:${l.hover};`,`--hisd3-on-primary:${a.onPrimary};`,`--hisd3-focus-ring:${a.primary};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${i}px;`,`--ant-color-primary:${a.primary};`,`--ant-color-primary-bg:${a.primaryBg};`,`--ant-color-primary-bg-hover:${a.primaryBgHover};`,`--ant-color-primary-border:${a.primaryBorder};`,`--ant-color-success:${s.success};`,`--ant-color-success-bg:${s.successBg};`,`--ant-color-error:${s.error};`,`--ant-color-error-bg:${s.errorBg};`,`--ant-color-warning:${s.warning};`,`--ant-color-warning-bg:${s.warningBg};`,`--ant-color-text:${l.text};`,`--ant-color-text-secondary:${l.textSecondary};`,`--ant-color-text-tertiary:${l.textTertiary};`,`--hisd3-table-bg:${l.bgContainer};`,`--hisd3-table-hover-bg:${l.bgRowHover};`,`--hisd3-border:${d.border};`,`--hisd3-border-secondary:${d.borderSecondary};`,`--ant-color-border:${d.border};`,`--ant-color-border-secondary:${d.borderSecondary};`,`--ant-color-bg-layout:${l.bgLayout};`,`--ant-color-bg-elevated:${l.bgElevated};`,"}",p?`body{background:${l.bgLayout};color:${l.text};}`:"",p?`.ant-drawer-content,.ant-modal-content{--hisd3-table-bg:${l.bgElevated};--hisd3-table-hover-bg:${"dark"===r?Ee(l.bgElevated,"#FFFFFF",.04):Ae(l.bgElevated,.03)};}`:""].join("")},Ie=(e="hairline",r)=>ze({borders:e,lineWidth:r}),Ne=Ce(),Te={primary:pe.red,primaryLight:ke(pe.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},Le=H(!1),Pe=()=>U(Le),Re=({primary:t,mode:o="light",radius:a,borders:l="hairline",lineWidth:d,overrides:s,theme:p,styledTheme:c={},children:h})=>{const g=M((()=>p??Ce({primary:t,mode:o,radius:a,borders:l,lineWidth:d,overrides:s})),[p,t,o,a,l,d,s]),m=M((()=>ze({primary:t,mode:o,borders:l,lineWidth:d,radius:a})),[t,o,l,d,a]);return e(Le.Provider,{value:!0,children:[r("style",{dangerouslySetInnerHTML:{__html:m}}),r(i,{theme:g,children:r(V,{theme:c,children:r(n,{component:!1,children:h})})})]})},He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4MJWAAAgnklEQVR42u1db2xb13U/9z7ZTmyKT6TFTFY7xImBQt2AuEDTQZBhuar2x0kwI1YsOShqkZJabBmg0KmXJd8ofikSpF7N6EP2YbJFOwNsyZGzALHcDYJreRGELdvqAluEYkmVdpU1Uyb5KMZ1bPPefXjvUo80KfHddx/fI/UOYMR2rMfH987vnN859/xB4Aq/RCIYpdvRDtLuzY76UsX/2zOc8gEAeLFyCAAOsL9HgPqNfAwFelb77bUMkT8AACj3eV/g+Uy5+3HlYUHuIzAolCKYBOy5ni5QsmJlN6rkXLe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cCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",{Header:Ue,Content:Me}=a,$e=se.siderWidth,Oe=se.siderCollapsedWidth,Ge=se.topBarHeight,je=K(a)`
2
2
  position: relative; /* anchor for the edge collapse trigger */
3
3
  background: var(--ant-color-bg-layout);
4
4
 
@@ -30,12 +30,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
30
30
  height: 100%;
31
31
  }
32
32
  }
33
- `,Ne=K(n)`
33
+ `,We=K(a)`
34
34
  background: transparent;
35
35
  min-width: 0;
36
36
 
37
37
  ${({$scroll:e})=>e?"\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n /* keep scroll chaining (and its bounce) out of the document */\n overscroll-behavior: contain;\n ":""}
38
- `,Le=K.div`
38
+ `,qe=K.div`
39
39
  flex: 1 1 auto;
40
40
  overflow-y: auto;
41
41
  overflow-x: hidden;
@@ -50,10 +50,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
50
50
 
51
51
  /* Section titles: "RECEIVABLES AND COLLECTIONS" */
52
52
  .ant-menu-item-group-title {
53
- padding: 16px ${de.pageGutter}px 4px;
54
- font-size: 11px;
53
+ padding: 16px ${se.pageGutter}px 4px;
54
+ /* overline: 12px; wide tracking at 11px broke the words apart. */
55
+ font-size: 12px;
56
+ line-height: 16px;
55
57
  font-weight: 600;
56
- letter-spacing: 0.14em;
58
+ letter-spacing: 0.08em;
57
59
  text-transform: uppercase;
58
60
  color: var(--ant-color-text-tertiary);
59
61
  }
@@ -111,12 +113,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
111
113
  &.hisd3-collapsed .ant-menu-item-group-title {
112
114
  display: none;
113
115
  }
114
- `,Te=K.a`
116
+ `,Qe=K.a`
115
117
  display: flex;
116
118
  align-items: center;
117
119
  gap: 10px;
118
- height: ${Fe}px;
119
- padding: 0 ${({$collapsed:e})=>e?12:de.pageGutter}px;
120
+ height: ${Ge}px;
121
+ padding: 0 ${({$collapsed:e})=>e?12:se.pageGutter}px;
120
122
  justify-content: ${({$collapsed:e})=>e?"center":"flex-start"};
121
123
  color: inherit;
122
124
  text-decoration: none;
@@ -153,14 +155,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
153
155
  overflow: hidden;
154
156
  text-overflow: ellipsis;
155
157
  }
156
- `,Re=K(ze)`
158
+ `,Ke=K(Ue)`
157
159
  display: flex;
158
160
  align-items: center;
159
161
  gap: 24px;
160
- flex: 0 0 ${Fe}px;
161
- height: ${Fe}px;
162
- line-height: ${Fe}px;
163
- padding: 0 ${de.pageGutter}px;
162
+ flex: 0 0 ${Ge}px;
163
+ height: ${Ge}px;
164
+ line-height: ${Ge}px;
165
+ padding: 0 ${se.pageGutter}px;
164
166
  position: sticky;
165
167
  top: 0;
166
168
  z-index: 100;
@@ -172,24 +174,24 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
172
174
  min-width: 0;
173
175
  border-bottom: none;
174
176
  background: transparent;
175
- line-height: ${Fe-2}px;
177
+ line-height: ${Ge-2}px;
176
178
  font-size: 14px;
177
179
  font-weight: 500;
178
180
  }
179
- `,Pe=K(ze)`
181
+ `,Ve=K(Ue)`
180
182
  display: flex;
181
183
  align-items: center;
182
184
  gap: 12px;
183
- flex: 0 0 ${Fe}px;
184
- height: ${Fe}px;
185
- line-height: ${Fe}px;
186
- padding: 0 ${de.pageGutter}px;
185
+ flex: 0 0 ${Ge}px;
186
+ height: ${Ge}px;
187
+ line-height: ${Ge}px;
188
+ padding: 0 ${se.pageGutter}px;
187
189
  position: sticky;
188
190
  top: 0;
189
191
  z-index: 99;
190
192
  background: var(--ant-color-bg-layout);
191
193
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
192
- `,Ue=K.button`
194
+ `,Ze=K.button`
193
195
  border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
194
196
  background: transparent;
195
197
  cursor: pointer;
@@ -203,9 +205,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
203
205
  flex: 0 0 auto;
204
206
 
205
207
  &:hover {
206
- background: rgba(0, 0, 0, 0.05);
208
+ background: var(--hisd3-hover, rgba(0, 0, 0, 0.05));
207
209
  }
208
- `,He=K.button`
210
+ `,Ye=K.button`
209
211
  user-select: none;
210
212
  -webkit-user-select: none;
211
213
  position: absolute;
@@ -220,7 +222,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
220
222
  align-items: center;
221
223
  justify-content: center;
222
224
  font-size: 12px;
223
- color: var(--hisd3-edge-trigger-color, #fff);
225
+ color: var(--hisd3-edge-trigger-color, var(--hisd3-on-primary, #fff));
224
226
  background: var(--hisd3-edge-trigger-bg, var(--ant-color-primary));
225
227
  border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
226
228
  border-radius: 50%;
@@ -245,31 +247,31 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
245
247
  & svg {
246
248
  display: block;
247
249
  }
248
- `,Me=K(Ee)`
250
+ `,Je=K(Me)`
249
251
  flex: 1 0 auto;
250
- padding: 24px ${de.pageGutter}px 40px;
251
- `,Oe=K.div`
252
+ padding: 24px ${se.pageGutter}px 40px;
253
+ `,Xe=K.div`
252
254
  flex: 0 0 auto;
253
255
  display: flex;
254
256
  flex-direction: column;
255
257
  justify-content: center;
256
258
  line-height: 1.25;
257
259
  transition: all 0.2s ease;
258
- padding: ${({$inHeader:e,$collapsed:t})=>e?"0 4px":t?"12px 0":`12px ${de.pageGutter}px`};
260
+ padding: ${({$inHeader:e,$collapsed:r})=>e?"0 4px":r?"12px 0":`12px ${se.pageGutter}px`};
259
261
  min-width: ${({$inHeader:e})=>e?"220px":"0"};
260
262
  border-top: ${({$inHeader:e})=>e?"none":"var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE))"};
261
263
 
262
264
  & .ant-dropdown-link {
263
265
  color: inherit;
264
266
  }
265
- `,$e=K.a`
267
+ `,_e=K.a`
266
268
  display: flex;
267
269
  align-items: center;
268
270
  justify-content: center;
269
271
  cursor: pointer;
270
272
  color: inherit;
271
273
  gap: 10px;
272
- `,Ge=K.span`
274
+ `,er=K.span`
273
275
  width: 34px;
274
276
  height: 34px;
275
277
  flex: 0 0 auto;
@@ -279,16 +281,16 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
279
281
  font-size: 13px;
280
282
  font-weight: 700;
281
283
  color: var(--ant-color-text);
282
- background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"#D9D6D2"};
283
- `,je=K.span`
284
+ background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
285
+ `,rr=K.span`
284
286
  flex: 1 1 auto;
285
287
  min-width: 0;
286
- `,qe=K.span`
288
+ `,tr=K.span`
287
289
  display: flex;
288
290
  align-items: flex-start;
289
291
  justify-content: space-between;
290
292
  gap: 8px;
291
- `,Qe=K.h3`
293
+ `,or=K.h3`
292
294
  margin: 0;
293
295
  font-family: var(--font-body);
294
296
  font-size: 14px;
@@ -300,7 +302,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
300
302
  display: -webkit-box;
301
303
  -webkit-line-clamp: 2;
302
304
  -webkit-box-orient: vertical;
303
- `,Ke=K.span`
305
+ `,ir=K.span`
304
306
  width: 20px;
305
307
  height: 22px;
306
308
  display: flex;
@@ -312,29 +314,29 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
312
314
  & svg {
313
315
  display: block;
314
316
  }
315
- `,We=K.span`
317
+ `,nr=K.span`
316
318
  display: block;
317
319
  margin-top: 3px;
318
- font-size: 11px;
319
- font-weight: 500;
320
- letter-spacing: 0.12em;
320
+ font-size: 12px;
321
+ font-weight: 600;
322
+ letter-spacing: 0.08em;
321
323
  text-transform: uppercase;
322
324
  color: var(--ant-color-text-tertiary);
323
325
  overflow: hidden;
324
326
  text-overflow: ellipsis;
325
327
  white-space: nowrap;
326
- `,Ve=(e,t)=>e.key??e.path??`menu-${t}`,Ze=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const o=Ve(e,r);return Array.isArray(e.children)&&e.children.length>0?{key:o,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:Ze(e.children,t)}:{key:o,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),Ye=(e,t)=>M("a",{href:e.path||"/"},t),Je=({account:r,avatarSrc:o,settingsUrl:n,onLogout:l,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=i.useApp(),h=[...p??[],{key:"settings",icon:t(Z,{}),label:"Settings",onClick:()=>{window.location.href=n??"/settings"}},{key:"logout",icon:t(Y,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(X,{}),onOk:l})}}],g=(r.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return t(Oe,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:t(a,{trigger:["click"],placement:s,menu:{items:h},children:e($e,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[t(Ge,{$src:o,"aria-hidden":!0,children:!o&&g}),!d&&e(je,{children:[e(qe,{children:[t(Qe,{title:r.fullName,children:r.fullName}),t(Ke,{children:t(J,{})})]}),r.positionType&&t(We,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:Xe}=n,_e=({children:n,account:a,logoUrl:s,appName:p,menuItems:c,onLogout:h,pathname:g,avatarSrc:m,styledTheme:u,settingsUrl:b,antdTheme:f,renderMenuLink:x=Ye,headerExtra:v,userMenuItems:y,onCollapse:w,collapsed:k=!1,loading:A=!1,hideSidebar:D=!1,layoutTop:S=!1,hideCollapseTrigger:z=!1,collapseTrigger:E="edge",collapseTriggerOffset:C=Math.round(Fe/2),siderWidth:I=Ce,bareContent:F=!1,hideHeaderBar:B=!1,brandHref:N="/",hideAccountCard:L=!1,scrollContent:T=!0})=>{const R=De(),P=void 0===f?R?null:we:f,[U,M]=O(k);$((()=>{M(k)}),[k]);const G=H((()=>Ze(c,x)),[c,x]),j=H((()=>((e,t)=>{let r;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=Ve(e,n);if(e.path&&t.startsWith(e.path)){const o=t===e.path,n=e.path.length+(o?1:0);(!r||n>r.length)&&(r={key:a,parents:i,length:n})}e.children?.length&&o(e.children,[...i,a])}))};return o(e,[]),{selectedKey:r?.key,openKeys:r?.parents??[]}})(c,g)),[c,g]),[q,Q]=O((()=>j.openKeys));$((()=>{Q((e=>Array.from(new Set([...e,...j.openKeys]))))}),[j.openKeys.join("|")]);const K=e=>{M(e),w?.(e)},V=j.selectedKey?[j.selectedKey]:[],Z=z?"none":E,Y=U?"Expand menu":"Collapse menu",J=e(Te,{href:N,$collapsed:!S&&U,children:[s?t("img",{src:s,alt:p}):t("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(S||!U)&&t("h1",{children:p})]}),X=F?n:t(Me,{children:n});if("undefined"==typeof document)return null;const oe=t(i,{component:!1,children:t(l,{spinning:A,size:"large",children:D?t(r,{children:n}):e(Be,S?{$appShell:T,children:[e(Re,{children:[J,t(d,{mode:"horizontal",items:G,selectedKeys:V}),v,!L&&t(Je,{account:a,avatarSrc:m,settingsUrl:b,onLogout:h,placement:"bottomRight",extraItems:y})]}),t(Ne,{$scroll:T,children:X})]}:{hasSider:!0,$appShell:T,children:[e(Xe,{className:"hisd3-sider",width:I,collapsedWidth:Ie,collapsible:!0,collapsed:U,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&K(!0)},children:[J,t(Le,{className:U?"hisd3-collapsed":void 0,children:t(d,{mode:"inline",theme:"light",inlineCollapsed:U,items:G,selectedKeys:V,openKeys:U?void 0:q,onOpenChange:e=>Q(e)})}),!L&&t(Je,{account:a,avatarSrc:m,settingsUrl:b,onLogout:h,collapsed:U,placement:"topRight",extraItems:y})]}),e(Ne,{$scroll:T,children:[!B&&e(Pe,{children:["header"===Z&&t(Ue,{type:"button","aria-label":Y,onClick:()=>K(!U),children:t(U?_:ee,{})}),t("span",{style:{flex:1}}),v]}),X]}),"edge"===Z&&t(He,{type:"button","aria-label":Y,title:Y,$left:U?Ie:I,$top:C,onClick:()=>K(!U),children:t(U?te:re,{})})]})})});return R&&!u?P?t(o,{theme:P,children:oe}):oe:t(W,{theme:u??{},children:P?t(o,{theme:P,children:oe}):oe})},et=de.pageGutter,tt=K.header`
328
+ `,ar=(e,r)=>e.key??e.path??`menu-${r}`,lr=(e,r)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,t)=>{const o=ar(e,t);return Array.isArray(e.children)&&e.children.length>0?{key:o,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:lr(e.children,r)}:{key:o,icon:e.icon,disabled:e.disabled,label:r(e,e.name)}})),dr=(e,r)=>$("a",{href:e.path||"/"},r),sr=({account:t,avatarSrc:o,settingsUrl:i,onLogout:a,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=n.useApp(),h=[...p??[],{key:"settings",icon:r(Y,{}),label:"Settings",onClick:()=>{window.location.href=i??"/settings"}},{key:"logout",icon:r(J,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:r(_,{}),onOk:a})}}],g=(t.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return r(Xe,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:r(l,{trigger:["click"],placement:s,menu:{items:h},children:e(_e,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[r(er,{$src:o,"aria-hidden":!0,children:!o&&g}),!d&&e(rr,{children:[e(tr,{children:[r(or,{title:t.fullName,children:t.fullName}),r(ir,{children:r(X,{})})]}),t.positionType&&r(nr,{title:t.positionType,children:t.positionType})]})]})})})},{Sider:pr}=a,cr=({children:o,account:a,logoUrl:l,appName:p,menuItems:c,onLogout:h,pathname:g,avatarSrc:m,styledTheme:b,settingsUrl:u,antdTheme:f,renderMenuLink:x=dr,headerExtra:v,userMenuItems:y,onCollapse:w,collapsed:A=!1,loading:k=!1,hideSidebar:E=!1,layoutTop:F=!1,hideCollapseTrigger:B=!1,collapseTrigger:S="edge",collapseTriggerOffset:D=Math.round(Ge/2),siderWidth:C=$e,bareContent:z=!1,hideHeaderBar:I=!1,brandHref:N="/",hideAccountCard:T=!1,scrollContent:L=!0})=>{const P=Pe(),R=void 0===f?P?null:Ne:f,[H,U]=O(A);G((()=>{U(A)}),[A]);const $=M((()=>lr(c,x)),[c,x]),j=M((()=>((e,r)=>{let t;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=ar(e,n);if(e.path&&r.startsWith(e.path)){const o=r===e.path,n=e.path.length+(o?1:0);(!t||n>t.length)&&(t={key:a,parents:i,length:n})}e.children?.length&&o(e.children,[...i,a])}))};return o(e,[]),{selectedKey:t?.key,openKeys:t?.parents??[]}})(c,g)),[c,g]),[W,q]=O((()=>j.openKeys));G((()=>{q((e=>Array.from(new Set([...e,...j.openKeys]))))}),[j.openKeys.join("|")]);const Q=e=>{U(e),w?.(e)},[K,Z]=O(!1);G((()=>Z(!1)),[l]);const Y=j.selectedKey?[j.selectedKey]:[],J=B?"none":S,X=H?"Expand menu":"Collapse menu",_=e(Qe,{href:N,$collapsed:!F&&H,children:[l?r("img",{src:K?He:l,alt:"",onError:()=>Z(!0)}):r("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(F||!H)&&r("h1",{children:p})]}),ie=z?o:r(Je,{children:o});if("undefined"==typeof document)return null;const ne=r(n,{component:!1,children:r(d,{spinning:k,size:"large",children:E?r(t,{children:o}):e(je,F?{$appShell:L,children:[e(Ke,{children:[_,r(s,{mode:"horizontal",items:$,selectedKeys:Y}),v,!T&&r(sr,{account:a,avatarSrc:m,settingsUrl:u,onLogout:h,placement:"bottomRight",extraItems:y})]}),r(We,{$scroll:L,children:ie})]}:{hasSider:!0,$appShell:L,children:[e(pr,{className:"hisd3-sider",width:C,collapsedWidth:Oe,collapsible:!0,collapsed:H,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&Q(!0)},children:[_,r(qe,{className:H?"hisd3-collapsed":void 0,children:r(s,{mode:"inline",theme:"light",inlineCollapsed:H,items:$,selectedKeys:Y,openKeys:H?void 0:W,onOpenChange:e=>q(e)})}),!T&&r(sr,{account:a,avatarSrc:m,settingsUrl:u,onLogout:h,collapsed:H,placement:"topRight",extraItems:y})]}),e(We,{$scroll:L,children:[!I&&e(Ve,{children:["header"===J&&r(Ze,{type:"button","aria-label":X,onClick:()=>Q(!H),children:r(H?ee:re,{})}),r("span",{style:{flex:1}}),v]}),ie]}),"edge"===J&&r(Ye,{type:"button","aria-label":X,title:X,$left:H?Oe:C,$top:D,onClick:()=>Q(!H),children:r(H?te:oe,{})})]})})});return P&&!b?R?r(i,{theme:R,children:ne}):ne:r(V,{theme:b??{},children:R?r(i,{theme:R,children:ne}):ne})},hr=se.pageGutter,gr=K.header`
327
329
  display: contents;
328
- `,rt=K.div`
330
+ `,mr=K.div`
329
331
  user-select: none;
330
332
  -webkit-user-select: none;
331
333
  display: flex;
332
334
  align-items: center;
333
335
  gap: 16px;
334
- height: ${de.topBarHeight}px; /* same as the sidebar brand block */
336
+ height: ${se.topBarHeight}px; /* same as the sidebar brand block */
335
337
  /* never shrink: these are flex items of the scrolling column */
336
- flex: 0 0 ${de.topBarHeight}px;
337
- padding: 0 ${et}px;
338
+ flex: 0 0 ${se.topBarHeight}px;
339
+ padding: 0 ${hr}px;
338
340
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
339
341
  background: var(--ant-color-bg-layout);
340
342
  position: sticky;
@@ -350,18 +352,18 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
350
352
  .ant-breadcrumb ol {
351
353
  flex-wrap: nowrap;
352
354
  }
353
- `,ot=K.div`
355
+ `,br=K.div`
354
356
  display: flex;
355
357
  align-items: center;
356
358
  gap: 10px;
357
359
  flex: 0 0 auto;
358
- `,it=K.div`
360
+ `,ur=K.div`
359
361
  display: flex;
360
362
  align-items: baseline;
361
363
  gap: 16px;
362
364
  flex-wrap: wrap;
363
365
  flex: 0 0 auto;
364
- padding: 20px ${et}px 18px;
366
+ padding: 20px ${hr}px 18px;
365
367
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
366
368
 
367
369
  h1 {
@@ -379,10 +381,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
379
381
  font-size: 15px;
380
382
  color: var(--ant-color-text-secondary);
381
383
  }
382
- `,nt=K.div`
384
+ `,fr=K.div`
383
385
  flex: 1 0 auto;
384
- padding: 24px ${et}px 40px;
385
- `,at=({title:r,subtitle:o,breadcrumb:i,extra:n,leading:a,hideTopBar:l=!1,className:d})=>e(tt,{className:d,children:[!l&&e(rt,{children:[a,i&&i.length>0&&t(s,{items:i.map((e=>({title:e.href?t("a",{href:e.href,children:e.title}):e.title,onClick:e.onClick})))}),!i?.length&&t("span",{style:{flex:1}}),n&&t(ot,{children:n})]}),e(it,{children:[t("h1",{children:r}),o&&t("p",{children:o})]})]}),lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAY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Fr2ddzQqbzhYBwJ2dnTi/jYVTUYspndnn4AKghkDAaAyzhKKuPdPZ2dC150lqRUnGwkrDNrNKX+pZXN27V+q6cSMn+lm4ANjEHkZ0OQbj5rVcg+MUwe4jsPDhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",dt=K(p)`
386
+ padding: 24px ${hr}px 40px;
387
+ `,xr=({title:t,subtitle:o,breadcrumb:i,extra:n,leading:a,hideTopBar:l=!1,className:d})=>e(gr,{className:d,children:[!l&&e(mr,{children:[a,i&&i.length>0&&r(p,{items:i.map((e=>({title:e.href?r("a",{href:e.href,children:e.title}):e.title,onClick:e.onClick})))}),!i?.length&&r("span",{style:{flex:1}}),n&&r(br,{children:n})]}),e(ur,{children:[r("h1",{children:t}),o&&r("p",{children:o})]})]}),vr=K(c)`
386
388
  &.ant-btn {
387
389
  display: inline-flex;
388
390
  align-items: center;
@@ -414,7 +416,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
414
416
  .anticon {
415
417
  font-size: 1.05em;
416
418
  }
417
- `,st={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},pt=({variant:e="secondary",...r})=>t(dt,{...st[e],...r}),ct=e=>"soft"===e,ht=1024,gt=560,mt=K.div`
419
+ `,yr={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},wr=({variant:e="secondary",...t})=>r(vr,{...yr[e],...t}),Ar=e=>"soft"===e,kr=1024,Er=560,Fr=K.div`
418
420
  position: relative;
419
421
  min-height: 100vh;
420
422
  min-height: 100dvh; /* keeps mobile browser chrome from clipping the card */
@@ -423,15 +425,16 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
423
425
  align-items: center;
424
426
  justify-content: ${({$side:e})=>"right"===e?"flex-end":"flex-start"};
425
427
  overflow-x: hidden;
426
- background: #fff;
428
+ /* The page and the card follow the theme, so dark mode is dark here too. */
429
+ background: var(--ant-color-bg-layout, #F3F2F0);
427
430
 
428
- @media (max-width: ${ht}px) {
431
+ @media (max-width: ${kr}px) {
429
432
  justify-content: center;
430
433
  padding: 32px 24px;
431
434
  background: linear-gradient(
432
435
  180deg,
433
436
  var(--ant-color-primary-bg, #FCEEEB) 0%,
434
- #fff 46%
437
+ var(--ant-color-bg-layout, #F3F2F0) 46%
435
438
  );
436
439
  }
437
440
 
@@ -439,7 +442,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
439
442
  * Phone: a branded hero at the top with a white sheet rising over it,
440
443
  * rather than a floating card. Set as a block so the two simply stack.
441
444
  */
442
- @media (max-width: ${gt}px) {
445
+ @media (max-width: ${Er}px) {
443
446
  display: flex;
444
447
  flex-direction: column;
445
448
  align-items: stretch;
@@ -447,11 +450,11 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
447
450
  padding: 0;
448
451
  background: var(--ant-color-primary, #E5533B);
449
452
  }
450
- `,ut=K.aside`
453
+ `,Br=K.aside`
451
454
  position: absolute;
452
455
  /* the panel takes the side the card does not */
453
- inset: ${({$variant:e,$side:t})=>{const r=ct(e)?"28px":"0";return"right"===t?`${r} 40% ${r} ${r}`:`${r} ${r} ${r} 40%`}};
454
- border-radius: ${({$variant:e})=>ct(e)?"28px":"0"};
456
+ inset: ${({$variant:e,$side:r})=>{const t=Ar(e)?"28px":"0";return"right"===r?`${t} 40% ${t} ${t}`:`${t} ${t} ${t} 40%`}};
457
+ border-radius: ${({$variant:e})=>Ar(e)?"28px":"0"};
455
458
  background: var(--ant-color-primary, #E5533B);
456
459
  overflow: hidden;
457
460
  display: flex;
@@ -467,7 +470,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
467
470
  font-family: var(--font-heading);
468
471
  font-size: clamp(26px, 3.1vw, 44px);
469
472
  line-height: 1.15;
470
- font-weight: ${({$variant:e})=>ct(e)?700:"var(--font-weight-heading, 800)"};
473
+ font-weight: ${({$variant:e})=>Ar(e)?700:"var(--font-weight-heading, 800)"};
471
474
  letter-spacing: -0.01em;
472
475
  max-width: 12em;
473
476
  color: #fff;
@@ -480,12 +483,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
480
483
  opacity: 0.82;
481
484
  }
482
485
 
483
- @media (max-width: ${ht}px) {
486
+ @media (max-width: ${kr}px) {
484
487
  display: none;
485
488
  }
486
489
 
487
490
  /* phone: full-width hero above the sheet */
488
- @media (max-width: ${gt}px) {
491
+ @media (max-width: ${Er}px) {
489
492
  display: flex;
490
493
  /* relative, not static: keeps the pattern layer inside the hero */
491
494
  position: relative;
@@ -506,10 +509,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
506
509
  font-size: 14px;
507
510
  }
508
511
  }
509
- `,bt=K.div`
512
+ `,Sr=K.div`
510
513
  display: none;
511
514
 
512
- @media (max-width: ${gt}px) {
515
+ @media (max-width: ${Er}px) {
513
516
  position: relative;
514
517
  display: flex;
515
518
  align-items: center;
@@ -544,13 +547,13 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
544
547
  opacity: 0.75;
545
548
  }
546
549
  }
547
- `,ft=K.div`
550
+ `,Dr=K.div`
548
551
  position: absolute;
549
552
  inset: 0;
550
553
  background: center / cover no-repeat url("${({$src:e})=>e}");
551
554
  mix-blend-mode: multiply;
552
555
  opacity: 0.35;
553
- `,xt=K.div`
556
+ `,Cr=K.div`
554
557
  position: absolute;
555
558
  left: 0;
556
559
  right: 0;
@@ -580,7 +583,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
580
583
  60% 44%, 68% 44%, 68% 30%, 77% 30%, 77% 52%, 86% 52%, 86% 26%, 94% 26%,
581
584
  94% 47%, 100% 47%, 100% 100%, 0 100%
582
585
  );
583
- `,vt=K.div`
586
+ `,zr=K.div`
584
587
  position: absolute;
585
588
  top: 30px;
586
589
  ${({$side:e})=>"right"===e?"left: 40px;":"right: 40px;"}
@@ -601,10 +604,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
601
604
  filter: brightness(0) invert(1);
602
605
  }
603
606
 
604
- @media (max-width: ${gt}px) {
607
+ @media (max-width: ${Er}px) {
605
608
  display: none;
606
609
  }
607
- `,yt=K.div`
610
+ `,Ir=K.div`
608
611
  position: absolute;
609
612
  ${({$side:e})=>"right"===e?"right: -70px;":"left: -70px;"}
610
613
  bottom: 40px;
@@ -612,25 +615,25 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
612
615
  height: 190px;
613
616
  opacity: 0.5;
614
617
  pointer-events: none;
615
- border-radius: ${({$variant:e})=>ct(e)?"20px":"0"};
618
+ border-radius: ${({$variant:e})=>Ar(e)?"20px":"0"};
616
619
  background: ${["0 0","100% 0","0 100%","100% 100%"].map((e=>`linear-gradient(var(--ant-color-primary-bg, #FCEEEB), var(--ant-color-primary-bg, #FCEEEB)) ${e} / 46% 46% no-repeat`)).join(", ")};
617
620
 
618
- @media (max-width: ${ht}px) {
621
+ @media (max-width: ${kr}px) {
619
622
  display: none;
620
623
  }
621
- `,wt=K.form`
624
+ `,Nr=K.form`
622
625
  position: relative;
623
626
  z-index: 2;
624
627
  margin: 40px ${({$side:e})=>"right"===e?"7% 40px 0":"0 40px 7%"};
625
628
  width: min(430px, calc(100% - 48px));
626
629
  padding: 40px 44px 34px;
627
- background: #fff;
630
+ background: var(--ant-color-bg-elevated, #fff);
628
631
 
629
- ${({$variant:e})=>ct(e)?V`
632
+ ${({$variant:e})=>Ar(e)?Z`
630
633
  border-radius: 18px;
631
634
  box-shadow: 0 4px 10px rgba(16, 15, 14, 0.05),
632
635
  0 24px 60px rgba(16, 15, 14, 0.14);
633
- `:V`
636
+ `:Z`
634
637
  border-radius: 0;
635
638
  border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
636
639
  box-shadow: 0 2px 4px rgba(16, 15, 14, 0.04),
@@ -638,13 +641,13 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
638
641
  `}
639
642
 
640
643
  /* tablet and below: no panel, so centre the card */
641
- @media (max-width: ${ht}px) {
644
+ @media (max-width: ${kr}px) {
642
645
  margin: 0;
643
646
  width: min(440px, 100%);
644
647
  }
645
648
 
646
649
  /* phone: a sheet that rises over the hero and runs to the bottom */
647
- @media (max-width: ${gt}px) {
650
+ @media (max-width: ${Er}px) {
648
651
  width: 100%;
649
652
  /* grow to fill whatever the hero leaves, so white runs to the bottom */
650
653
  flex: 1 0 auto;
@@ -652,9 +655,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
652
655
  padding: 30px 22px 34px;
653
656
  box-shadow: none;
654
657
  border: 0;
655
- border-radius: ${({$variant:e})=>ct(e)?"28px 28px 0 0":"20px 20px 0 0"};
658
+ border-radius: ${({$variant:e})=>Ar(e)?"28px 28px 0 0":"20px 20px 0 0"};
656
659
  }
657
- `,kt=K.div`
660
+ `,Tr=K.div`
658
661
  display: flex;
659
662
  align-items: center;
660
663
  gap: 12px;
@@ -673,9 +676,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
673
676
  font-family: var(--font-heading);
674
677
  font-size: 25px;
675
678
  line-height: 1.05;
676
- font-weight: ${({$variant:e})=>ct(e)?700:"var(--font-weight-heading, 800)"};
677
- letter-spacing: ${({$variant:e})=>ct(e)?"-0.01em":"0.03em"};
678
- text-transform: ${({$variant:e})=>ct(e)?"none":"uppercase"};
679
+ font-weight: ${({$variant:e})=>Ar(e)?700:"var(--font-weight-heading, 800)"};
680
+ letter-spacing: ${({$variant:e})=>Ar(e)?"-0.01em":"0.03em"};
681
+ text-transform: ${({$variant:e})=>Ar(e)?"none":"uppercase"};
679
682
  color: var(--ant-color-text, #171717);
680
683
  }
681
684
 
@@ -688,24 +691,24 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
688
691
  color: var(--ant-color-text-tertiary, #6E6E6E);
689
692
  }
690
693
 
691
- @media (max-width: ${gt}px) {
694
+ @media (max-width: ${Er}px) {
692
695
  display: none;
693
696
  }
694
- `,At=K.h1`
697
+ `,Lr=K.h1`
695
698
  margin: 0 0 6px;
696
699
  font-family: var(--font-heading);
697
700
  font-size: 26px;
698
- font-weight: ${({$variant:e})=>ct(e)?700:"var(--font-weight-heading, 800)"};
701
+ font-weight: ${({$variant:e})=>Ar(e)?700:"var(--font-weight-heading, 800)"};
699
702
  color: var(--ant-color-text, #171717);
700
703
 
701
- @media (max-width: ${gt}px) {
704
+ @media (max-width: ${Er}px) {
702
705
  font-size: 22px;
703
706
  }
704
- `,Dt=K.p`
707
+ `,Pr=K.p`
705
708
  margin: 0 0 22px;
706
709
  font-size: 14px;
707
710
  color: var(--ant-color-text-secondary, #4A4A4A);
708
- `,St=K.label`
711
+ `,Rr=K.label`
709
712
  display: block;
710
713
  margin-bottom: 16px;
711
714
 
@@ -730,10 +733,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
730
733
  font: inherit;
731
734
  font-size: 15px;
732
735
  color: var(--ant-color-text, #171717);
733
- background: ${({$variant:e})=>ct(e)?"#F2F3F5":"var(--hisd3-control-bg, #e6e4e1)"};
734
- border: ${({$variant:e})=>ct(e)?"1px":"var(--hisd3-rule-width, 1px)"}
736
+ background: ${({$variant:e})=>Ar(e)?"var(--hisd3-input-bg, #F2F3F5)":"var(--hisd3-control-bg, #e6e4e1)"};
737
+ border: ${({$variant:e})=>Ar(e)?"1px":"var(--hisd3-rule-width, 1px)"}
735
738
  solid transparent;
736
- border-radius: ${({$variant:e})=>ct(e)?"10px":"0"};
739
+ border-radius: ${({$variant:e})=>Ar(e)?"10px":"0"};
737
740
  outline: none;
738
741
  transition: border-color 0.15s ease, background 0.15s ease;
739
742
 
@@ -742,7 +745,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
742
745
  }
743
746
 
744
747
  &:focus {
745
- background: #fff;
748
+ background: var(--hisd3-input-bg-hover, #fff);
746
749
  border-color: var(--ant-color-primary, #E5533B);
747
750
  }
748
751
 
@@ -752,7 +755,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
752
755
  }
753
756
  }
754
757
 
755
- @media (max-width: ${gt}px) {
758
+ @media (max-width: ${Er}px) {
756
759
  margin-bottom: 14px;
757
760
 
758
761
  input {
@@ -776,7 +779,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
776
779
  color: var(--ant-color-text, #171717);
777
780
  }
778
781
  }
779
- `,zt=K.div`
782
+ `,Hr=K.div`
780
783
  display: flex;
781
784
  align-items: center;
782
785
  justify-content: space-between;
@@ -806,19 +809,19 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
806
809
  text-decoration: underline;
807
810
  }
808
811
  }
809
- `,Et=K.div`
812
+ `,Ur=K.div`
810
813
  margin-bottom: 16px;
811
814
  padding: 10px 14px;
812
815
  font-size: 13px;
813
816
  color: var(--ant-color-error, #e5401c);
814
- background: rgba(229, 64, 28, 0.08);
817
+ background: var(--ant-color-error-bg, rgba(229, 64, 28, 0.08));
815
818
  border-left: 3px solid var(--ant-color-error, #e5401c);
816
- `,Ct=K.p`
819
+ `,Mr=K.p`
817
820
  margin: 20px 0 0;
818
821
  text-align: center;
819
822
  font-size: 14px;
820
823
  color: var(--ant-color-text-secondary, #4A4A4A);
821
- `,It=({appName:r,tagline:o,logoSrc:i=lt,title:n="Nice to see you again",subtitle:a,panelTitle:l="One system for every part of your hospital.",panelSubtitle:d="Patient care, billing and operations — connected.",panelImage:s,organisationName:p="HISD3",variant:h="soft",side:g="right",identifierLabel:m="User ID or email",identifierPlaceholder:u="Email or user ID",passwordLabel:b="Password",passwordPlaceholder:f="Enter password",submitLabel:x="Sign in",hideRemember:v=!1,rememberLabel:y="Remember me",onForgotPassword:w,forgotLabel:k="Forgot password?",error:A,loading:D=!1,onSubmit:S,footer:z,className:E})=>{const[C,I]=O(""),[F,B]=O(""),[N,L]=O(!1),[T,R]=O(!1);return e(mt,{className:E,$side:g,children:[t(yt,{$variant:h,$side:g,"aria-hidden":!0}),e(ut,{$variant:h,$side:g,children:[s?t(ft,{$src:s,"aria-hidden":!0}):t(xt,{"aria-hidden":!0}),e(vt,{$side:g,"aria-hidden":!0,children:[t("img",{src:lt,alt:""}),p]}),e(bt,{children:[i&&t("img",{src:i,alt:""}),e("span",{children:[t("span",{className:"hisd3-hero-name",children:r}),o&&t("span",{className:"hisd3-hero-tagline",children:o})]})]}),t("h2",{children:l}),d&&t("p",{children:d})]}),e(wt,{$variant:h,$side:g,onSubmit:e=>{e.preventDefault(),D||S({identifier:C,password:F,remember:N})},noValidate:!0,children:[e(kt,{$variant:h,children:[i&&t("img",{className:"hisd3-login-logo",src:i,alt:""}),e("span",{children:[t("span",{className:"hisd3-login-name",children:r}),o&&t("span",{className:"hisd3-login-tagline",children:o})]})]}),t(At,{$variant:h,children:n}),a&&t(Dt,{children:a}),A&&t(Et,{role:"alert",children:A}),e(St,{$variant:h,children:[t("span",{className:"hisd3-field-label",children:m}),t("span",{className:"hisd3-field-control",children:t("input",{value:C,onChange:e=>I(e.target.value),placeholder:u,autoComplete:"username",disabled:D,autoFocus:!0})})]}),e(St,{$variant:h,children:[t("span",{className:"hisd3-field-label",children:b}),e("span",{className:"hisd3-field-control",children:[t("input",{type:T?"text":"password",value:F,onChange:e=>B(e.target.value),placeholder:f,autoComplete:"current-password",disabled:D}),t("button",{type:"button",className:"hisd3-field-reveal","aria-label":T?"Hide password":"Show password",onClick:()=>R((e=>!e)),tabIndex:-1,children:t(T?oe:ie,{})})]})]}),(!v||w)&&e(zt,{children:[v?t("span",{}):e("label",{className:"hisd3-remember",children:[t(c,{size:"small",checked:N,onChange:L,disabled:D}),y]}),w&&t("button",{type:"button",className:"hisd3-forgot",onClick:w,children:k})]}),t(pt,{variant:"primary",htmlType:"submit",size:"large",loading:D,block:!0,style:{borderRadius:"soft"===h?10:0,height:50},children:x}),z&&t(Ct,{children:z})]})]})},Ft=K.button`
824
+ `,$r=({appName:t,tagline:o,logoSrc:i=He,title:n="Nice to see you again",subtitle:a,panelTitle:l="One system for every part of your hospital.",panelSubtitle:d="Patient care, billing and operations — connected.",panelImage:s,organisationName:p="HISD3",variant:c="soft",side:g="right",identifierLabel:m="User ID or email",identifierPlaceholder:b="Email or user ID",passwordLabel:u="Password",passwordPlaceholder:f="Enter password",submitLabel:x="Sign in",hideRemember:v=!1,rememberLabel:y="Remember me",onForgotPassword:w,forgotLabel:A="Forgot password?",error:k,loading:E=!1,onSubmit:F,footer:B,className:S})=>{const[D,C]=O(""),[z,I]=O(""),[N,T]=O(!1),[L,P]=O(!1),[R,H]=O(!1),U=R?He:i;return e(Fr,{className:S,$side:g,children:[r(Ir,{$variant:c,$side:g,"aria-hidden":!0}),e(Br,{$variant:c,$side:g,children:[s?r(Dr,{$src:s,"aria-hidden":!0}):r(Cr,{"aria-hidden":!0}),e(zr,{$side:g,"aria-hidden":!0,children:[r("img",{src:He,alt:""}),p]}),e(Sr,{children:[U&&r("img",{src:U,alt:"",onError:()=>H(!0)}),e("span",{children:[r("span",{className:"hisd3-hero-name",children:t}),o&&r("span",{className:"hisd3-hero-tagline",children:o})]})]}),r("h2",{children:l}),d&&r("p",{children:d})]}),e(Nr,{$variant:c,$side:g,onSubmit:e=>{e.preventDefault(),E||F({identifier:D,password:z,remember:N})},noValidate:!0,children:[e(Tr,{$variant:c,children:[U&&r("img",{className:"hisd3-login-logo",src:U,alt:"",onError:()=>H(!0)}),e("span",{children:[r("span",{className:"hisd3-login-name",children:t}),o&&r("span",{className:"hisd3-login-tagline",children:o})]})]}),r(Lr,{$variant:c,children:n}),a&&r(Pr,{children:a}),k&&r(Ur,{role:"alert",children:k}),e(Rr,{$variant:c,children:[r("span",{className:"hisd3-field-label",children:m}),r("span",{className:"hisd3-field-control",children:r("input",{value:D,onChange:e=>C(e.target.value),placeholder:b,autoComplete:"username",disabled:E,autoFocus:!0})})]}),e(Rr,{$variant:c,children:[r("span",{className:"hisd3-field-label",children:u}),e("span",{className:"hisd3-field-control",children:[r("input",{type:L?"text":"password",value:z,onChange:e=>I(e.target.value),placeholder:f,autoComplete:"current-password",disabled:E}),r("button",{type:"button",className:"hisd3-field-reveal","aria-label":L?"Hide password":"Show password",onClick:()=>P((e=>!e)),tabIndex:-1,children:r(L?ie:ne,{})})]})]}),(!v||w)&&e(Hr,{children:[v?r("span",{}):e("label",{className:"hisd3-remember",children:[r(h,{size:"small",checked:N,onChange:T,disabled:E}),y]}),w&&r("button",{type:"button",className:"hisd3-forgot",onClick:w,children:A})]}),r(wr,{variant:"primary",htmlType:"submit",size:"large",loading:E,block:!0,style:{borderRadius:"soft"===c?10:0,height:50},children:x}),B&&r(Mr,{children:B})]})]})},Or=K.button`
822
825
  user-select: none;
823
826
  -webkit-user-select: none;
824
827
  position: relative;
@@ -855,7 +858,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
855
858
  /* the stock bell is narrow; widen it a touch for a fuller silhouette */
856
859
  transform: scaleX(var(--hisd3-bell-stretch, 1.12));
857
860
  }
858
- `,Bt=K.span`
861
+ `,Gr=K.span`
859
862
  position: absolute;
860
863
  top: ${({$size:e})=>-Math.round(.05*e)}px;
861
864
  right: ${({$size:e})=>-Math.round(.05*e)}px;
@@ -868,12 +871,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
868
871
  font-size: 11px;
869
872
  font-weight: 700;
870
873
  line-height: 1;
871
- color: #fff;
872
- background: var(--ant-color-error, #e5401c);
874
+ color: var(--hisd3-on-primary, #fff);
875
+ background: var(--ant-color-error, #b42318);
873
876
  border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
874
877
  border-radius: 999px;
875
878
  pointer-events: none;
876
- `,Nt=K.div`
879
+ `,jr=K.div`
877
880
  width: 360px;
878
881
  max-width: calc(100vw - 32px);
879
882
  overflow: hidden;
@@ -882,7 +885,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
882
885
  border-radius: var(--hisd3-popup-radius, 10px);
883
886
  box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
884
887
  0 12px 32px rgba(16, 15, 14, 0.14);
885
- `,Lt=K.div`
888
+ `,Wr=K.div`
886
889
  display: flex;
887
890
  align-items: center;
888
891
  justify-content: space-between;
@@ -910,10 +913,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
910
913
  text-decoration: underline;
911
914
  }
912
915
  }
913
- `,Tt=K.div`
916
+ `,qr=K.div`
914
917
  max-height: 380px;
915
918
  overflow-y: auto;
916
- `,Rt=K.button`
919
+ `,Qr=K.button`
917
920
  display: flex;
918
921
  align-items: flex-start;
919
922
  gap: 12px;
@@ -926,9 +929,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
926
929
  background: ${({$unread:e})=>e?"var(--ant-color-primary-bg)":"transparent"};
927
930
 
928
931
  &:hover {
929
- background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"rgba(0,0,0,0.04)"};
932
+ background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"var(--hisd3-hover, rgba(0,0,0,0.04))"};
930
933
  }
931
- `,Pt=K.span`
934
+ `,Kr=K.span`
932
935
  width: 36px;
933
936
  height: 36px;
934
937
  flex: 0 0 auto;
@@ -938,8 +941,8 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
938
941
  font-size: 16px;
939
942
  color: var(--ant-color-text);
940
943
  border-radius: 50%;
941
- background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.06)"};
942
- `,Ut=K.span`
944
+ background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
945
+ `,Vr=K.span`
943
946
  flex: 1 1 auto;
944
947
  min-width: 0;
945
948
 
@@ -964,14 +967,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
964
967
  font-size: 12px;
965
968
  color: var(--ant-color-text-tertiary);
966
969
  }
967
- `,Ht=K.span`
970
+ `,Zr=K.span`
968
971
  width: 8px;
969
972
  height: 8px;
970
973
  margin-top: 6px;
971
974
  flex: 0 0 auto;
972
975
  border-radius: 50%;
973
976
  background: var(--ant-color-primary);
974
- `,Mt=K.button`
977
+ `,Yr=K.button`
975
978
  display: block;
976
979
  width: 100%;
977
980
  padding: 12px 16px;
@@ -986,11 +989,11 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
986
989
  cursor: pointer;
987
990
 
988
991
  &:hover {
989
- background: rgba(0, 0, 0, 0.04);
992
+ background: var(--hisd3-hover, rgba(0, 0, 0, 0.04));
990
993
  }
991
- `,Ot=K.div`
994
+ `,Jr=K.div`
992
995
  padding: 28px 16px;
993
- `,$t=({items:r=[],count:o,loading:i=!1,title:n="Notifications",onMarkAllRead:d,onSeeAll:s,seeAllLabel:p="See all notifications",emptyText:c="You're all caught up",onOpenChange:g,size:m=40,icon:u,className:b})=>{const[f,x]=O(!1),v=o??r.filter((e=>e.unread)).length,y=e(Nt,{children:[e(Lt,{children:[t("h4",{children:n}),d&&v>0&&t("button",{type:"button",onClick:d,children:"Mark all as read"})]}),i?t(Ot,{style:{textAlign:"center"},children:t(l,{})}):0===r.length?t(Ot,{children:t(h,{image:h.PRESENTED_IMAGE_SIMPLE,description:c})}):t(Tt,{children:r.map((r=>e(Rt,{type:"button",$unread:r.unread,onClick:()=>{r.onClick?.(r),x(!1),g?.(!1)},children:[t(Pt,{$src:r.avatarSrc,children:!r.avatarSrc&&(r.icon??t(ne,{}))}),e(Ut,{children:[t("strong",{children:r.title}),r.description&&t("span",{children:r.description}),r.time&&t("time",{children:r.time})]}),r.unread&&t(Ht,{})]},r.id)))}),s&&t(Mt,{type:"button",onClick:()=>{s(),x(!1),g?.(!1)},children:p})]});return t(a,{open:f,onOpenChange:e=>{x(e),g?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>y,children:e(Ft,{type:"button",$size:m,$open:f,className:b,"aria-label":`${n}${v?` (${v} unread)`:""}`,children:[u??t(ne,{}),v>0&&t(Bt,{$size:m,children:v>99?"99+":v})]})})},Gt=K.button`
996
+ `,Xr=({items:t=[],count:o,loading:i=!1,title:n="Notifications",onMarkAllRead:a,onSeeAll:s,seeAllLabel:p="See all notifications",emptyText:c="You're all caught up",onOpenChange:h,size:m=40,icon:b,className:u})=>{const[f,x]=O(!1),v=o??t.filter((e=>e.unread)).length,y=e(jr,{children:[e(Wr,{children:[r("h4",{children:n}),a&&v>0&&r("button",{type:"button",onClick:a,children:"Mark all as read"})]}),i?r(Jr,{style:{textAlign:"center"},children:r(d,{})}):0===t.length?r(Jr,{children:r(g,{image:g.PRESENTED_IMAGE_SIMPLE,description:c})}):r(qr,{children:t.map((t=>e(Qr,{type:"button",$unread:t.unread,onClick:()=>{t.onClick?.(t),x(!1),h?.(!1)},children:[r(Kr,{$src:t.avatarSrc,children:!t.avatarSrc&&(t.icon??r(ae,{}))}),e(Vr,{children:[r("strong",{children:t.title}),t.description&&r("span",{children:t.description}),t.time&&r("time",{children:t.time})]}),t.unread&&r(Zr,{})]},t.id)))}),s&&r(Yr,{type:"button",onClick:()=>{s(),x(!1),h?.(!1)},children:p})]});return r(l,{open:f,onOpenChange:e=>{x(e),h?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>y,children:e(Or,{type:"button",$size:m,$open:f,className:u,"aria-label":`${n}${v?` (${v} unread)`:""}`,children:[b??r(ae,{}),v>0&&r(Gr,{$size:m,children:v>99?"99+":v})]})})},_r=K.button`
994
997
  user-select: none;
995
998
  -webkit-user-select: none;
996
999
  position: relative;
@@ -1026,7 +1029,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1026
1029
  display: block;
1027
1030
  border-radius: inherit;
1028
1031
  }
1029
- `,jt=K.span`
1032
+ `,et=K.span`
1030
1033
  position: absolute;
1031
1034
  right: ${({$size:e})=>-Math.round(.05*e)}px;
1032
1035
  bottom: ${({$size:e})=>-Math.round(.05*e)}px;
@@ -1042,12 +1045,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1042
1045
  border-radius: 50%;
1043
1046
  pointer-events: none;
1044
1047
 
1045
- ${({$open:e})=>e?"\n background: var(--ant-color-primary);\n color: #fff;\n ":""}
1048
+ ${({$open:e})=>e?"\n background: var(--ant-color-primary);\n color: var(--hisd3-on-primary, #fff);\n ":""}
1046
1049
 
1047
1050
  & svg {
1048
1051
  display: block;
1049
1052
  }
1050
- `,qt=K.div`
1053
+ `,rt=K.div`
1051
1054
  display: flex;
1052
1055
  align-items: center;
1053
1056
  gap: 12px;
@@ -1073,16 +1076,16 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1073
1076
  .hisd3-identity-role {
1074
1077
  display: block;
1075
1078
  margin-top: 2px;
1076
- font-size: 11px;
1077
- font-weight: 500;
1078
- letter-spacing: 0.1em;
1079
+ font-size: 12px;
1080
+ font-weight: 600;
1081
+ letter-spacing: 0.08em;
1079
1082
  text-transform: uppercase;
1080
1083
  color: var(--ant-color-text-tertiary);
1081
1084
  white-space: nowrap;
1082
1085
  overflow: hidden;
1083
1086
  text-overflow: ellipsis;
1084
1087
  }
1085
- `,Qt=K.span`
1088
+ `,tt=K.span`
1086
1089
  width: 40px;
1087
1090
  height: 40px;
1088
1091
  flex: 0 0 auto;
@@ -1092,8 +1095,8 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1092
1095
  font-size: 14px;
1093
1096
  font-weight: 700;
1094
1097
  border-radius: 50%;
1095
- background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.08)"};
1096
- `,Kt=K.div`
1098
+ background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
1099
+ `,ot=K.div`
1097
1100
  overflow: hidden;
1098
1101
  background: var(--ant-color-bg-elevated);
1099
1102
  border: 1px solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
@@ -1116,17 +1119,17 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1116
1119
  border-radius: 8px;
1117
1120
  font-size: 14px;
1118
1121
  }
1119
- `,Wt=e=>(e||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?",Vt=({account:r,avatarSrc:o,settingsUrl:n="/settings",onSettings:l,onLogout:d,confirmLogout:s=!0,extraItems:p,shape:c="circle",size:h=40,hideChevron:g=!1,className:m})=>{const{modal:u}=i.useApp(),[b,f]=O(!1),x=[...p??[],...null!==n||l?[{key:"settings",icon:t(Z,{}),label:"Settings",onClick:()=>{l?l():n&&(window.location.href=n)}}]:[],{key:"logout",icon:t(Y,{}),label:"Logout",onClick:()=>{s?u.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(X,{}),okText:"Logout",onOk:d}):d()}}];return t(a,{open:b,onOpenChange:f,trigger:["click"],placement:"bottomRight",menu:{items:x,onClick:()=>f(!1)},popupRender:i=>e(Kt,{children:[e(qt,{children:[t(Qt,{$src:o,children:!o&&Wt(r.fullName)}),e("span",{className:"hisd3-identity-text",children:[t("span",{className:"hisd3-identity-name",children:r.fullName}),r.positionType&&t("span",{className:"hisd3-identity-role",children:r.positionType})]})]}),i]}),children:e(Gt,{type:"button",className:m,$shape:c,$size:h,$open:b,"aria-label":`Account menu for ${r.fullName}`,children:[o?t("img",{src:o,alt:""}):Wt(r.fullName),!g&&t(jt,{$size:h,$open:b,"aria-hidden":!0,children:t(J,{})})]})})},Zt=K.div`
1122
+ `,it=e=>(e||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?",nt=({account:t,avatarSrc:o,settingsUrl:i="/settings",onSettings:a,onLogout:d,confirmLogout:s=!0,extraItems:p,shape:c="circle",size:h=40,hideChevron:g=!1,className:m})=>{const{modal:b}=n.useApp(),[u,f]=O(!1),x=[...p??[],...null!==i||a?[{key:"settings",icon:r(Y,{}),label:"Settings",onClick:()=>{a?a():i&&(window.location.href=i)}}]:[],{key:"logout",icon:r(J,{}),label:"Logout",onClick:()=>{s?b.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:r(_,{}),okText:"Logout",onOk:d}):d()}}];return r(l,{open:u,onOpenChange:f,trigger:["click"],placement:"bottomRight",menu:{items:x,onClick:()=>f(!1)},popupRender:i=>e(ot,{children:[e(rt,{children:[r(tt,{$src:o,children:!o&&it(t.fullName)}),e("span",{className:"hisd3-identity-text",children:[r("span",{className:"hisd3-identity-name",children:t.fullName}),t.positionType&&r("span",{className:"hisd3-identity-role",children:t.positionType})]})]}),i]}),children:e(_r,{type:"button",className:m,$shape:c,$size:h,$open:u,"aria-label":`Account menu for ${t.fullName}`,children:[o?r("img",{src:o,alt:""}):it(t.fullName),!g&&r(et,{$size:h,$open:u,"aria-hidden":!0,children:r(X,{})})]})})},at=K.div`
1120
1123
  display: flex;
1121
1124
  align-items: center;
1122
1125
  gap: 8px;
1123
1126
  flex: 0 0 auto;
1124
- `,Yt=K.span`
1127
+ `,lt=K.span`
1125
1128
  width: 2px;
1126
1129
  height: 24px;
1127
1130
  background: var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
1128
1131
  flex: 0 0 auto;
1129
- `,Jt=({children:r,divided:o=!1,className:i})=>{const n=R.Children.toArray(r).filter(Boolean);return t(Zt,{className:i,children:n.map(((r,i)=>e(R.Fragment,{children:[o&&i===n.length-1&&i>0&&t(Yt,{}),r]},i)))})},Xt=K.div`
1132
+ `,dt=({children:t,divided:o=!1,className:i})=>{const n=R.Children.toArray(t).filter(Boolean);return r(at,{className:i,children:n.map(((t,i)=>e(R.Fragment,{children:[o&&i===n.length-1&&i>0&&r(lt,{}),t]},i)))})},st=K.div`
1130
1133
  /*
1131
1134
  * Opaque backgrounds throughout. A fixed column is \`position: sticky\`, so the
1132
1135
  * columns that scroll underneath it show through anything translucent.
@@ -1138,12 +1141,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1138
1141
  }
1139
1142
 
1140
1143
  .ant-table-wrapper .ant-table-thead > tr > th {
1141
- font-size: 11px;
1142
- font-weight: 700;
1143
- letter-spacing: 0.08em;
1144
+ /* column-heading: the most-read label on a screen, so never below 12px. */
1145
+ font-size: 12px;
1146
+ font-weight: 600;
1147
+ line-height: 16px;
1148
+ letter-spacing: 0.06em;
1144
1149
  text-transform: uppercase;
1145
- color: var(--ant-color-text-tertiary);
1146
- padding-block: 9px;
1150
+ color: var(--ant-color-text-secondary);
1151
+ padding-block: 12px;
1147
1152
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
1148
1153
  background: var(--hisd3-table-bg, #f3f2f0);
1149
1154
  }
@@ -1182,14 +1187,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1182
1187
  .hisd3-cell-muted {
1183
1188
  color: var(--ant-color-text-tertiary);
1184
1189
  }
1185
- `,_t=K.div`
1190
+ `,pt=K.div`
1186
1191
  padding: 14px 0 8px;
1187
- font-size: 11px;
1192
+ font-size: 12px;
1188
1193
  font-weight: 600;
1189
- letter-spacing: 0.1em;
1194
+ letter-spacing: 0.08em;
1190
1195
  text-transform: uppercase;
1191
1196
  color: var(--ant-color-text-tertiary);
1192
- `,er=K.div`
1197
+ `,ct=K.div`
1193
1198
  user-select: none;
1194
1199
  -webkit-user-select: none;
1195
1200
  display: flex;
@@ -1235,7 +1240,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1235
1240
  .ant-pagination-item-active {
1236
1241
  background: var(--ant-color-primary);
1237
1242
  a {
1238
- color: #fff;
1243
+ color: var(--hisd3-on-primary, #fff);
1239
1244
  }
1240
1245
  }
1241
1246
 
@@ -1251,7 +1256,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1251
1256
  font-weight: 700;
1252
1257
  }
1253
1258
  }
1254
- `,tr=K.div`
1259
+ `,ht=K.div`
1255
1260
  display: inline-flex;
1256
1261
  border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
1257
1262
 
@@ -1272,10 +1277,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1272
1277
 
1273
1278
  &[aria-pressed="true"] {
1274
1279
  background: var(--ant-color-primary);
1275
- color: #fff;
1280
+ color: var(--hisd3-on-primary, #fff);
1276
1281
  }
1277
1282
  }
1278
- `,rr=e=>`Total ${e.toLocaleString()} items`;function or({pagination:r,footer:o,...i}){const n=r||void 0,a=n?.pageSizeOptions??[10,20,50];return e(Xt,{children:[t(g,{...i,pagination:!1}),o&&t(_t,{children:o}),n&&e(er,{children:[t("span",{className:"hisd3-total",children:(n.renderTotal??rr)(n.total,[(n.current-1)*n.pageSize+1,Math.min(n.current*n.pageSize,n.total)])}),t(m,{current:n.current,pageSize:n.pageSize,total:n.total,showSizeChanger:!1,onChange:(e,t)=>n.onChange(e,t),itemRender:(e,r,o)=>"prev"===r?t("span",{className:"ant-pagination-item-link",children:t(re,{})}):"next"===r?t("span",{className:"ant-pagination-item-link",children:t(te,{})}):o}),!n.hidePageSize&&t(tr,{role:"group","aria-label":"Rows per page",children:a.map((t=>e("button",{type:"button","aria-pressed":t===n.pageSize,onClick:()=>n.onChange(1,t),children:[t," / page"]},t)))})]})]})}const ir=K(u)`
1283
+ `,gt=e=>`Total ${e.toLocaleString()} items`;function mt({pagination:t,footer:o,...i}){const n=t||void 0,a=n?.pageSizeOptions??[10,20,50];return e(st,{children:[r(m,{...i,pagination:!1}),o&&r(pt,{children:o}),n&&e(ct,{children:[r("span",{className:"hisd3-total",children:(n.renderTotal??gt)(n.total,[(n.current-1)*n.pageSize+1,Math.min(n.current*n.pageSize,n.total)])}),r(b,{current:n.current,pageSize:n.pageSize,total:n.total,showSizeChanger:!1,onChange:(e,r)=>n.onChange(e,r),itemRender:(e,t,o)=>"prev"===t?r("span",{className:"ant-pagination-item-link",children:r(oe,{})}):"next"===t?r("span",{className:"ant-pagination-item-link",children:r(te,{})}):o}),!n.hidePageSize&&r(ht,{role:"group","aria-label":"Rows per page",children:a.map((r=>e("button",{type:"button","aria-pressed":r===n.pageSize,onClick:()=>n.onChange(1,r),children:[r," / page"]},r)))})]})]})}const bt=K(u)`
1279
1284
  &.ant-tabs .ant-tabs-nav {
1280
1285
  user-select: none;
1281
1286
  -webkit-user-select: none;
@@ -1310,23 +1315,24 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1310
1315
  .ant-tabs-tab-active .hisd3-tab-count {
1311
1316
  color: var(--ant-color-primary);
1312
1317
  }
1313
- `,nr=({items:o,...i})=>t(ir,{...i,items:o.map((({count:o,label:i,...n})=>({...n,label:e(r,{children:[i,void 0!==o&&t("span",{className:"hisd3-tab-count",children:o})]})})))}),ar={default:"var(--ant-color-text)",primary:"var(--ant-color-primary)",success:"var(--ant-color-success)",warning:"var(--ant-color-warning)",danger:"var(--ant-color-error)"},lr={default:"rgba(0,0,0,0.05)",primary:"var(--ant-color-primary-bg)",success:"var(--ant-color-success-bg)",warning:"var(--ant-color-warning-bg)",danger:"var(--ant-color-error-bg)"},dr=K.span`
1318
+ `,ut=({items:o,...i})=>r(bt,{...i,items:o.map((({count:o,label:i,...n})=>({...n,label:e(t,{children:[i,void 0!==o&&r("span",{className:"hisd3-tab-count",children:o})]})})))}),ft={default:"var(--ant-color-text)",primary:"var(--ant-color-primary)",success:"var(--ant-color-success)",warning:"var(--ant-color-warning)",danger:"var(--ant-color-error)"},xt={default:"var(--hisd3-control-bg, #e6e4e1)",primary:"var(--ant-color-primary-bg)",success:"var(--ant-color-success-bg)",warning:"var(--ant-color-warning-bg)",danger:"var(--ant-color-error-bg)"},vt=K.span`
1314
1319
  display: inline-flex;
1315
1320
  align-items: center;
1316
1321
  gap: 5px;
1317
- height: 22px;
1322
+ height: 24px;
1318
1323
  padding: 0 9px;
1319
- font-size: 11px;
1320
- font-weight: 500;
1321
- letter-spacing: 0.06em;
1324
+ /* tag: 12px, 600 — the status on a row is read as often as the row. */
1325
+ font-size: 12px;
1326
+ font-weight: 600;
1327
+ letter-spacing: 0.04em;
1322
1328
  text-transform: uppercase;
1323
1329
  white-space: nowrap;
1324
1330
  line-height: 1;
1325
1331
  border: var(--hisd3-rule-width, 1px) solid transparent;
1326
1332
  border-radius: 0;
1327
1333
 
1328
- ${({$variant:e,$tone:t})=>{const r=ar[t],o=lr[t];switch(e){case"soft":return`color: ${r}; background: ${o};`;case"outline":return`color: ${r}; border-color: ${r}; background: transparent;`;case"solid":return`color: #fff; background: ${"default"===t?"var(--ant-color-text)":r};`;default:return"color: var(--ant-color-text); background: rgba(0,0,0,0.05);"}}}
1329
- `,sr=({variant:e="neutral",tone:r=("neutral"===e?"default":"primary"),children:o,...i})=>t(dr,{$variant:e,$tone:r,...i,children:o}),pr=K(b)`
1334
+ ${({$variant:e,$tone:r})=>{const t=ft[r],o=xt[r];switch(e){case"soft":return`color: ${t}; background: ${o};`;case"outline":return`color: ${t}; border-color: ${t}; background: transparent;`;case"solid":return`color: var(--hisd3-on-primary, #fff); background: ${"default"===r?"var(--ant-color-text)":t};`;default:return"color: var(--ant-color-text); background: var(--hisd3-control-bg, #e6e4e1);"}}}
1335
+ `,yt=({variant:e="neutral",tone:t=("neutral"===e?"default":"primary"),children:o,...i})=>r(vt,{$variant:e,$tone:t,...i,children:o}),wt=K(f)`
1330
1336
  &.ant-input,
1331
1337
  &.ant-input-affix-wrapper {
1332
1338
  border-width: var(--hisd3-rule-width, 1px);
@@ -1338,27 +1344,28 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1338
1344
  color: var(--ant-color-text-tertiary);
1339
1345
  font-size: 15px;
1340
1346
  }
1341
- `,cr=G(((e,r)=>t(pr,{...e,ref:r})));cr.displayName="HISD3Input";const hr=K(pr)`
1347
+ `,At=j(((e,t)=>r(wt,{...e,ref:t})));At.displayName="HISD3Input";const kt=K(wt)`
1342
1348
  /*
1343
1349
  * default: the same 40px control height as buttons and selects.
1344
- * Lighter than the page with a visible border, so it reads as a field to
1345
- * type in; a fill darker than the page reads as disabled.
1350
+ * Lighter than the page with the same 3:1 edge as every other field, so it
1351
+ * reads as a field to type in; a fill darker than the page reads as disabled.
1346
1352
  */
1347
1353
  &.ant-input-affix-wrapper {
1348
1354
  background: var(--hisd3-input-bg, #FAF9F7);
1349
- border-color: var(--hisd3-border, var(--ant-color-border, #D9D5CE));
1355
+ border-color: var(--hisd3-input-border, #8C8A85);
1350
1356
  height: 40px;
1351
1357
  padding-inline: 14px;
1352
1358
 
1353
1359
  &:hover {
1354
- border-color: var(--hisd3-input-border-hover, #B9B4AC);
1360
+ border-color: var(--hisd3-input-border-hover, #5F5D59);
1355
1361
  background: var(--hisd3-input-bg-hover, #FFFFFF);
1356
1362
  }
1357
1363
 
1358
1364
  &:focus-within {
1359
1365
  border-color: var(--ant-color-primary);
1360
1366
  background: var(--hisd3-input-bg-hover, #FFFFFF);
1361
- box-shadow: 0 0 0 3px var(--ant-color-primary-bg, rgba(0, 121, 107, 0.12));
1367
+ /* A 2px primary edge: the border plus a 1px ring, as on every field. */
1368
+ box-shadow: 0 0 0 1px var(--ant-color-primary);
1362
1369
  }
1363
1370
 
1364
1371
  .ant-input {
@@ -1400,7 +1407,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1400
1407
  font-size: 19px;
1401
1408
  }
1402
1409
  }
1403
- `,gr={small:"hisd3-search-sm",middle:"",large:"hisd3-search-lg"},mr=G((({size:e,compact:r,className:o,...i},n)=>t(hr,{ref:n,allowClear:!0,prefix:t(ae,{}),className:[gr[e??(r?"small":"middle")],o??""].join(" ").trim(),...i})));mr.displayName="HISD3SearchInput";const ur=({label:r,description:o,mono:i})=>e("div",{className:"hisd3-select-label",children:[t("div",{className:"hisd3-select-label-primary",style:i?{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"}:void 0,children:r}),null!=o&&""!==o?t("div",{className:"hisd3-select-label-description",children:o}):null]}),br=e=>"string"==typeof e||"number"==typeof e?String(e):"",fr=e=>(e??[]).flatMap((e=>Array.isArray(e.options)?fr(e.options):[e])),xr=(e,t)=>{if(!t)return!1;return`${br(t.label??t.value)} ${br(t.description)}`.toUpperCase().includes(e.toUpperCase())},vr=(...e)=>e.filter(Boolean).join(" "),yr=G((({wrap:e=!0,monoLabel:r,options:o,mode:i,showSearch:n,filterOption:a,optionFilterProp:l,optionRender:d,labelRender:s,virtual:p,rootClassName:c,...h},g)=>{const m=H((()=>new Map(fr(o).map((e=>[e.value,e])))),[o]),u=H((()=>[...m.values()].some((e=>null!=e.description))),[m]),b=(e,o)=>null!=e?.description||r?t(ur,{label:e?.label??o,description:e?.description,mono:r}):o,x="object"==typeof n?n:void 0;return t(f,{...h,ref:g,mode:i,options:o,showSearch:n,optionFilterProp:l,filterOption:a??(!(void 0!==a||void 0!==l||void 0!==x?.filterOption||void 0!==x?.optionFilterProp)&&u?xr:void 0),optionRender:d??(e=>b(e.data,e.label??e.value)),labelRender:s??(i?void 0:({label:e,value:t})=>b(m.get(t),e??t)),virtual:p??(!e&&void 0),rootClassName:vr(e&&"hisd3-wrap-select",c)})}));yr.displayName="HISD3Select";const wr=K(x.Item)`
1410
+ `,Et={small:"hisd3-search-sm",middle:"",large:"hisd3-search-lg"},Ft=j((({size:e,compact:t,className:o,...i},n)=>r(kt,{ref:n,allowClear:!0,prefix:r(le,{}),className:[Et[e??(t?"small":"middle")],o??""].join(" ").trim(),...i})));Ft.displayName="HISD3SearchInput";const Bt=({label:t,description:o,mono:i})=>e("div",{className:"hisd3-select-label",children:[r("div",{className:"hisd3-select-label-primary",style:i?{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"}:void 0,children:t}),null!=o&&""!==o?r("div",{className:"hisd3-select-label-description",children:o}):null]}),St=e=>"string"==typeof e||"number"==typeof e?String(e):"",Dt=e=>(e??[]).flatMap((e=>Array.isArray(e.options)?Dt(e.options):[e])),Ct=(e,r)=>{if(!r)return!1;return`${St(r.label??r.value)} ${St(r.description)}`.toUpperCase().includes(e.toUpperCase())},zt=(...e)=>e.filter(Boolean).join(" "),It=j((({wrap:e=!0,monoLabel:t,options:o,mode:i,showSearch:n,filterOption:a,optionFilterProp:l,optionRender:d,labelRender:s,virtual:p,rootClassName:c,...h},g)=>{const m=M((()=>new Map(Dt(o).map((e=>[e.value,e])))),[o]),b=M((()=>[...m.values()].some((e=>null!=e.description))),[m]),u=(e,o)=>null!=e?.description||t?r(Bt,{label:e?.label??o,description:e?.description,mono:t}):o,f="object"==typeof n?n:void 0;return r(x,{...h,ref:g,mode:i,options:o,showSearch:n,optionFilterProp:l,filterOption:a??(!(void 0!==a||void 0!==l||void 0!==f?.filterOption||void 0!==f?.optionFilterProp)&&b?Ct:void 0),optionRender:d??(e=>u(e.data,e.label??e.value)),labelRender:s??(i?void 0:({label:e,value:r})=>u(m.get(r),e??r)),virtual:p??(!e&&void 0),rootClassName:zt(e&&"hisd3-wrap-select",c)})}));It.displayName="HISD3Select";const Nt=K(v.Item)`
1404
1411
  &.ant-form-item {
1405
1412
  margin-bottom: 6px;
1406
1413
  }
@@ -1420,5 +1427,5 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
1420
1427
  .ant-input-number-group-wrapper {
1421
1428
  width: 100%;
1422
1429
  }
1423
- `,kr=({node:e})=>t(r,{children:e}),Ar=({loading:e,loadingProps:r,vertical:o,bolderLabel:i,controlSize:n,skeleton:a,layout:l,className:d,children:s,...p})=>t(wr,{...p,layout:o?"vertical":l,className:["hisd3-form-field",i?"hisd3-form-field-bold":"",d??""].join(" ").trim(),children:e?t(kr,{node:a??t(N.Input,{active:!0,block:!0,size:n,...r})}):s}),Dr=e=>t(N.Button,{active:!0,size:"small",style:{width:e,minWidth:e}}),Sr=G((({fieldProps:e,propsinput:r,...o},i)=>{const n={...r,...e};return t(Ar,{...o,controlSize:n.size,children:t(cr,{...n,ref:i})})}));Sr.displayName="HISD3FormInput";const zr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(b.Password,{...e,ref:o})})));zr.displayName="HISD3FormPassword";const Er=G((({fieldProps:e,loadingProps:r,...o},i)=>t(Ar,{...o,controlSize:e?.size,loadingProps:{...r,style:{height:22*(e?.rows??3)+10,...r?.style}},children:t(b.TextArea,{...e,ref:i})})));Er.displayName="HISD3FormTextArea";const Cr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(v,{...e,ref:o})})));Cr.displayName="HISD3FormInputNumber";const Ir=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(yr,{...e,ref:o})})));Ir.displayName="HISD3FormSelect";const Fr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(y.Group,{...e,ref:o})})));Fr.displayName="HISD3FormRadioGroup";const Br=G((({fieldProps:e,text:r,...o},i)=>t(Ar,{valuePropName:"checked",skeleton:Dr(120),...o,children:t(w,{...e,ref:i,children:r??e?.children})})));Br.displayName="HISD3FormCheckbox";const Nr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,children:t(w.Group,{...e,ref:o})})));Nr.displayName="HISD3FormCheckboxGroup";const Lr=G((({fieldProps:e,...r},o)=>t(Ar,{valuePropName:"checked",skeleton:Dr("small"===e?.size?28:44),...r,children:t(c,{...e,ref:o})})));Lr.displayName="HISD3FormSwitch";const Tr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(k,{...e,ref:o})})));Tr.displayName="HISD3FormDatePicker";const Rr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(k.RangePicker,{...e,ref:o})})));Rr.displayName="HISD3FormRangePicker";const Pr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(A,{...e,ref:o})})));Pr.displayName="HISD3FormTimePicker";const Ur=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(A.RangePicker,{...e,ref:o})})));Ur.displayName="HISD3FormTimeRangePicker";const Hr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(b.Search,{...e,ref:o})})));Hr.displayName="HISD3FormSearch";const Mr=G((({fieldProps:e,loadingProps:r,...o},i)=>t(Ar,{...o,controlSize:e?.size,loadingProps:{block:!1,...r,style:{width:48*(e?.length??6),...r?.style}},children:t(b.OTP,{...e,ref:i})})));Mr.displayName="HISD3FormOTP";const Or=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(D,{...e,ref:o})})));Or.displayName="HISD3FormAutoComplete";const $r=G((({fieldProps:e,loadingProps:r,...o},i)=>t(Ar,{...o,controlSize:e?.size,loadingProps:{...r,style:{height:22*(e?.rows??1)+18,...r?.style}},children:t(S,{...e,ref:i})})));$r.displayName="HISD3FormMentions";const Gr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(z,{...e,ref:o})})));Gr.displayName="HISD3FormCascader";const jr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:e?.size,children:t(E,{...e,ref:o})})));jr.displayName="HISD3FormTreeSelect";const qr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,skeleton:Dr(200),children:t(C,{...e,options:e?.options??[],ref:o})})));qr.displayName="HISD3FormSegmented";const Qr=G((({fieldProps:e,loadingProps:r,...o},i)=>t(Ar,{valuePropName:"targetKeys",loadingProps:{...r,style:{height:200,...r?.style}},...o,children:t(I,{...e,ref:i})})));Qr.displayName="HISD3FormTransfer";const Kr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,controlSize:"small",children:t(F,{...e,ref:o})})));Kr.displayName="HISD3FormSlider";const Wr=G((({fieldProps:e,...r},o)=>t(Ar,{...r,skeleton:Dr(28*(e?.count??5)),children:t(B,{...e,ref:o})})));Wr.displayName="HISD3FormRate";const Vr=({fieldProps:e,...r})=>t(Ar,{getValueFromEvent:(e,t)=>t,skeleton:t(N.Button,{active:!0,shape:"square"}),...r,children:t(L,{...e})});Vr.displayName="HISD3FormColorPicker";const Zr=e=>Array.isArray(e)?e:e?.fileList??[],Yr=({fieldProps:e,children:r,...o})=>t(Ar,{valuePropName:"fileList",getValueFromEvent:Zr,skeleton:t(N.Button,{active:!0}),...o,children:t(T,{...e,children:r??e?.children})});Yr.displayName="HISD3FormUpload";const Jr=({fieldProps:e,children:r,loadingProps:o,...i})=>t(Ar,{valuePropName:"fileList",getValueFromEvent:Zr,loadingProps:{...o,style:{height:150,...o?.style}},...i,children:t(T.Dragger,{...e,children:r??e?.children})});Jr.displayName="HISD3FormUploadDragger";const Xr=P(null);let _r=0;function eo({children:r}){const[o,i]=O([]),n=H((()=>({mount:(e,t)=>i((r=>[...r.filter((t=>t.id!==e)),{id:e,node:t}])),unmount:e=>i((t=>t.filter((t=>t.id!==e))))})),[]);return e(Xr.Provider,{value:n,children:[r,o.map((e=>t(q,{children:e.node},e.id)))]})}function to({Component:e,props:r,onClose:o,unmount:i}){const[n,a]=O(!0),l=Q(!1),d={...r,open:n,hide:j((e=>{l.current||(l.current=!0,a(!1),o?.(e),window.setTimeout(i,320))}),[o,i])};return t(e,{...d})}function ro(e){const r=U(Xr);if(!r)throw new Error("useDialog needs DialogProvider above it.");return j(((o,i)=>{const n=_r+=1;r.mount(n,t(to,{Component:e,props:o,onClose:i,unmount:()=>r.unmount(n)},n))}),[e,r])}var oo,io,no,ao,lo,so,po,co,ho,go,mo,uo,bo;!function(e){e.MODERN="modern",e.STANDARD="standard"}(oo||(oo={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(io||(io={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(no||(no={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(ao||(ao={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(lo||(lo={})),function(e){e.DEFAULT="default",e.MINI="mini",e.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",e.STANDARD="standard",e.HEADER_USER="user-header",e.HEADER_USER_MINI="user-mini-header",e.DRAWER="drawer",e.BIT_BUCKET="bit-bucket",e.H_DEFAULT="h-default",e.HOR_HEADER_FIXED="hor-header-fixed",e.HOR_DARK_LAYOUT="hor-dark-layout"}(so||(so={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(po||(po={})),function(e){e.RTL="rtl",e.LTR="ltr"}(co||(co={})),function(e){e.DARK="dark",e.LIGHT="light"}(ho||(ho={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(go||(go={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(mo||(mo={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(uo||(uo={})),function(e){e.SLIDEUPIN="transition.slideUpIn",e.SLIDEUPOUT="transition.slideUpOut",e.SLIDEDOWNIN="transition.slideDownIn",e.SLIDEDOWNOUT="transition.slideDownOut",e.SLIDELEFTIN="transition.slideLeftIn",e.SLIDELEFTOUT="transition.slideLeftOut",e.SLIDERIGHTIN="transition.slideRightIn",e.SLIDERIGHTOUT="transition.slideRightOut",e.FADEIN="transition.fadeIn",e.FADEOUT="transition.fadeOut"}(bo||(bo={}));const fo={SLIDEUPIN:{hidden:{y:0},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.2,staggerChildren:.05}}},SLIDEUPOUT:{hidden:{y:0},visible:{opacity:0,y:"100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNIN:{hidden:{opacity:0,y:"-100vh"},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNOUT:{hidden:{y:0},visible:{opacity:0,y:"-100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTIN:{hidden:{x:"100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTOUT:{hidden:{x:0},visible:{opacity:0,x:"100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTIN:{hidden:{x:"-100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTOUT:{hidden:{x:0},visible:{opacity:0,x:"-100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},FADEIN:{hidden:{opacity:0,scale:1},visible:{opacity:1,scale:1,transition:{ease:"easeIn",when:"beforeChildren",staggerChildren:.15}}},FADEOUT:{hidden:{opacity:1,scale:1},visible:{opacity:0,scale:1,transition:{ease:"easeOut",when:"beforeChildren",staggerChildren:.15}}},NOANIMATION:{hidden:{opacity:1},visible:{opacity:1}}},xo={SLIDEUPIN:{variants:{hidden:{y:100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEUPOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"-100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDEDOWNIN:{variants:{hidden:{y:-100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEDOWNOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDELEFTIN:{variants:{hidden:{x:100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDELEFTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDERIGHTIN:{variants:{hidden:{x:-100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDERIGHTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},FADEIN:{variants:{hidden:{opacity:0},visible:{opacity:1}},transition:{duration:.1,ease:"easeIn",when:"beforeChildren"}},FADEOUT:{variants:{hidden:{opacity:1},visible:{opacity:0}},transition:{duration:.1,ease:"easeOut",when:"beforeChildren"}}};var vo,yo;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(vo||(vo={})),function(e){e.Admin="admin",e.User="user"}(yo||(yo={}));export{fo as AppAnimateGroups,bo as AppAnimates,xo as AppMotionAnimate,uo as AuthType,eo as DialogProvider,mo as Fonts,po as FooterType,Vt as HISD3AvatarMenu,pt as HISD3Button,Or as HISD3FormAutoComplete,Gr as HISD3FormCascader,Br as HISD3FormCheckbox,Nr as HISD3FormCheckboxGroup,Vr as HISD3FormColorPicker,Tr as HISD3FormDatePicker,Ar as HISD3FormField,Sr as HISD3FormInput,Cr as HISD3FormInputNumber,$r as HISD3FormMentions,Mr as HISD3FormOTP,zr as HISD3FormPassword,Fr as HISD3FormRadioGroup,Rr as HISD3FormRangePicker,Wr as HISD3FormRate,Hr as HISD3FormSearch,qr as HISD3FormSegmented,Ir as HISD3FormSelect,Kr as HISD3FormSlider,Lr as HISD3FormSwitch,Er as HISD3FormTextArea,Pr as HISD3FormTimePicker,Ur as HISD3FormTimeRangePicker,Qr as HISD3FormTransfer,jr as HISD3FormTreeSelect,Yr as HISD3FormUpload,Jr as HISD3FormUploadDragger,Jt as HISD3HeaderActions,cr as HISD3Input,It as HISD3LoginPage,$t as HISD3NotificationButton,nt as HISD3PageBody,at as HISD3PageHeader,Se as HISD3Provider,mr as HISD3SearchInput,yr as HISD3Select,ur as HISD3SelectLabel,_e as HISD3Sidebar,or as HISD3Table,nr as HISD3Tabs,sr as HISD3Tag,ce as HISD3_BORDER_PRESETS,ke as HISD3_COLORS,he as HISD3_FONT_FAMILY,me as HISD3_FONT_WEIGHT_BODY,ge as HISD3_FONT_WEIGHT_HEADING,de as HISD3_LAYOUT,lt as HISD3_LOGO_SRC,pe as HISD3_NEUTRALS,se as HISD3_PRESETS,Ft as HeaderIconButton,ho as HeaderType,co as LayoutDirection,ao as LayoutType,lo as MenuStyle,vo as MessageType,so as NavStyle,yo as RoutePermittedRole,go as RouteTransition,no as ThemeMode,oo as ThemeStyle,io as ThemeStyleRadius,Je as UserMenu,ye as borderVarsCss,xe as createHisd3Theme,Wt as getInitials,we as hisd3AntdTheme,ve as hisd3VarsCss,Zr as normalizeUploadFileList,ue as resolvePrimary,be as shade,fe as tint,ro as useDialog,De as useInsideHISD3Provider};
1430
+ `,Tt=({node:e})=>r(t,{children:e}),Lt=({loading:e,loadingProps:t,vertical:o,bolderLabel:i,controlSize:n,skeleton:a,layout:l,className:d,children:s,...p})=>r(Nt,{...p,layout:o?"vertical":l,className:["hisd3-form-field",i?"hisd3-form-field-bold":"",d??""].join(" ").trim(),children:e?r(Tt,{node:a??r(T.Input,{active:!0,block:!0,size:n,...t})}):s}),Pt=e=>r(T.Button,{active:!0,size:"small",style:{width:e,minWidth:e}}),Rt=j((({fieldProps:e,propsinput:t,...o},i)=>{const n={...t,...e};return r(Lt,{...o,controlSize:n.size,children:r(At,{...n,ref:i})})}));Rt.displayName="HISD3FormInput";const Ht=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(f.Password,{...e,ref:o})})));Ht.displayName="HISD3FormPassword";const Ut=j((({fieldProps:e,loadingProps:t,...o},i)=>r(Lt,{...o,controlSize:e?.size,loadingProps:{...t,style:{height:22*(e?.rows??3)+10,...t?.style}},children:r(f.TextArea,{...e,ref:i})})));Ut.displayName="HISD3FormTextArea";const Mt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(y,{...e,ref:o})})));Mt.displayName="HISD3FormInputNumber";const $t=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(It,{...e,ref:o})})));$t.displayName="HISD3FormSelect";const Ot=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(w.Group,{...e,ref:o})})));Ot.displayName="HISD3FormRadioGroup";const Gt=j((({fieldProps:e,text:t,...o},i)=>r(Lt,{valuePropName:"checked",skeleton:Pt(120),...o,children:r(A,{...e,ref:i,children:t??e?.children})})));Gt.displayName="HISD3FormCheckbox";const jt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,children:r(A.Group,{...e,ref:o})})));jt.displayName="HISD3FormCheckboxGroup";const Wt=j((({fieldProps:e,...t},o)=>r(Lt,{valuePropName:"checked",skeleton:Pt("small"===e?.size?28:44),...t,children:r(h,{...e,ref:o})})));Wt.displayName="HISD3FormSwitch";const qt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(k,{...e,ref:o})})));qt.displayName="HISD3FormDatePicker";const Qt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(k.RangePicker,{...e,ref:o})})));Qt.displayName="HISD3FormRangePicker";const Kt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(E,{...e,ref:o})})));Kt.displayName="HISD3FormTimePicker";const Vt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(E.RangePicker,{...e,ref:o})})));Vt.displayName="HISD3FormTimeRangePicker";const Zt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(f.Search,{...e,ref:o})})));Zt.displayName="HISD3FormSearch";const Yt=j((({fieldProps:e,loadingProps:t,...o},i)=>r(Lt,{...o,controlSize:e?.size,loadingProps:{block:!1,...t,style:{width:48*(e?.length??6),...t?.style}},children:r(f.OTP,{...e,ref:i})})));Yt.displayName="HISD3FormOTP";const Jt=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(F,{...e,ref:o})})));Jt.displayName="HISD3FormAutoComplete";const Xt=j((({fieldProps:e,loadingProps:t,...o},i)=>r(Lt,{...o,controlSize:e?.size,loadingProps:{...t,style:{height:22*(e?.rows??1)+18,...t?.style}},children:r(B,{...e,ref:i})})));Xt.displayName="HISD3FormMentions";const _t=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(S,{...e,ref:o})})));_t.displayName="HISD3FormCascader";const eo=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:e?.size,children:r(D,{...e,ref:o})})));eo.displayName="HISD3FormTreeSelect";const ro=j((({fieldProps:e,...t},o)=>r(Lt,{...t,skeleton:Pt(200),children:r(C,{...e,options:e?.options??[],ref:o})})));ro.displayName="HISD3FormSegmented";const to=j((({fieldProps:e,loadingProps:t,...o},i)=>r(Lt,{valuePropName:"targetKeys",loadingProps:{...t,style:{height:200,...t?.style}},...o,children:r(z,{...e,ref:i})})));to.displayName="HISD3FormTransfer";const oo=j((({fieldProps:e,...t},o)=>r(Lt,{...t,controlSize:"small",children:r(I,{...e,ref:o})})));oo.displayName="HISD3FormSlider";const io=j((({fieldProps:e,...t},o)=>r(Lt,{...t,skeleton:Pt(28*(e?.count??5)),children:r(N,{...e,ref:o})})));io.displayName="HISD3FormRate";const no=({fieldProps:e,...t})=>r(Lt,{getValueFromEvent:(e,r)=>r,skeleton:r(T.Button,{active:!0,shape:"square"}),...t,children:r(L,{...e})});no.displayName="HISD3FormColorPicker";const ao=e=>Array.isArray(e)?e:e?.fileList??[],lo=({fieldProps:e,children:t,...o})=>r(Lt,{valuePropName:"fileList",getValueFromEvent:ao,skeleton:r(T.Button,{active:!0}),...o,children:r(P,{...e,children:t??e?.children})});lo.displayName="HISD3FormUpload";const so=({fieldProps:e,children:t,loadingProps:o,...i})=>r(Lt,{valuePropName:"fileList",getValueFromEvent:ao,loadingProps:{...o,style:{height:150,...o?.style}},...i,children:r(P.Dragger,{...e,children:t??e?.children})});so.displayName="HISD3FormUploadDragger";const po=H(null);let co=0;function ho({children:t}){const[o,i]=O([]),n=M((()=>({mount:(e,r)=>i((t=>[...t.filter((r=>r.id!==e)),{id:e,node:r}])),unmount:e=>i((r=>r.filter((r=>r.id!==e))))})),[]);return e(po.Provider,{value:n,children:[t,o.map((e=>r(q,{children:e.node},e.id)))]})}function go({Component:e,props:t,onClose:o,unmount:i}){const[n,a]=O(!0),l=Q(!1),d={...t,open:n,hide:W((e=>{l.current||(l.current=!0,a(!1),o?.(e),window.setTimeout(i,320))}),[o,i])};return r(e,{...d})}function mo(e){const t=U(po);if(!t)throw new Error("useDialog needs DialogProvider above it.");return W(((o,i)=>{const n=co+=1;t.mount(n,r(go,{Component:e,props:o,onClose:i,unmount:()=>t.unmount(n)},n))}),[e,t])}var bo,uo,fo,xo,vo,yo,wo,Ao,ko,Eo,Fo,Bo,So;!function(e){e.MODERN="modern",e.STANDARD="standard"}(bo||(bo={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(uo||(uo={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(fo||(fo={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(xo||(xo={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(vo||(vo={})),function(e){e.DEFAULT="default",e.MINI="mini",e.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",e.STANDARD="standard",e.HEADER_USER="user-header",e.HEADER_USER_MINI="user-mini-header",e.DRAWER="drawer",e.BIT_BUCKET="bit-bucket",e.H_DEFAULT="h-default",e.HOR_HEADER_FIXED="hor-header-fixed",e.HOR_DARK_LAYOUT="hor-dark-layout"}(yo||(yo={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(wo||(wo={})),function(e){e.RTL="rtl",e.LTR="ltr"}(Ao||(Ao={})),function(e){e.DARK="dark",e.LIGHT="light"}(ko||(ko={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(Eo||(Eo={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(Fo||(Fo={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(Bo||(Bo={})),function(e){e.SLIDEUPIN="transition.slideUpIn",e.SLIDEUPOUT="transition.slideUpOut",e.SLIDEDOWNIN="transition.slideDownIn",e.SLIDEDOWNOUT="transition.slideDownOut",e.SLIDELEFTIN="transition.slideLeftIn",e.SLIDELEFTOUT="transition.slideLeftOut",e.SLIDERIGHTIN="transition.slideRightIn",e.SLIDERIGHTOUT="transition.slideRightOut",e.FADEIN="transition.fadeIn",e.FADEOUT="transition.fadeOut"}(So||(So={}));const Do={SLIDEUPIN:{hidden:{y:0},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.2,staggerChildren:.05}}},SLIDEUPOUT:{hidden:{y:0},visible:{opacity:0,y:"100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNIN:{hidden:{opacity:0,y:"-100vh"},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNOUT:{hidden:{y:0},visible:{opacity:0,y:"-100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTIN:{hidden:{x:"100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTOUT:{hidden:{x:0},visible:{opacity:0,x:"100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTIN:{hidden:{x:"-100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTOUT:{hidden:{x:0},visible:{opacity:0,x:"-100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},FADEIN:{hidden:{opacity:0,scale:1},visible:{opacity:1,scale:1,transition:{ease:"easeIn",when:"beforeChildren",staggerChildren:.15}}},FADEOUT:{hidden:{opacity:1,scale:1},visible:{opacity:0,scale:1,transition:{ease:"easeOut",when:"beforeChildren",staggerChildren:.15}}},NOANIMATION:{hidden:{opacity:1},visible:{opacity:1}}},Co={SLIDEUPIN:{variants:{hidden:{y:100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEUPOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"-100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDEDOWNIN:{variants:{hidden:{y:-100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEDOWNOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDELEFTIN:{variants:{hidden:{x:100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDELEFTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDERIGHTIN:{variants:{hidden:{x:-100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDERIGHTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},FADEIN:{variants:{hidden:{opacity:0},visible:{opacity:1}},transition:{duration:.1,ease:"easeIn",when:"beforeChildren"}},FADEOUT:{variants:{hidden:{opacity:1},visible:{opacity:0}},transition:{duration:.1,ease:"easeOut",when:"beforeChildren"}}};var zo,Io;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(zo||(zo={})),function(e){e.Admin="admin",e.User="user"}(Io||(Io={}));export{Do as AppAnimateGroups,So as AppAnimates,Co as AppMotionAnimate,Bo as AuthType,ho as DialogProvider,Fo as Fonts,wo as FooterType,nt as HISD3AvatarMenu,wr as HISD3Button,Jt as HISD3FormAutoComplete,_t as HISD3FormCascader,Gt as HISD3FormCheckbox,jt as HISD3FormCheckboxGroup,no as HISD3FormColorPicker,qt as HISD3FormDatePicker,Lt as HISD3FormField,Rt as HISD3FormInput,Mt as HISD3FormInputNumber,Xt as HISD3FormMentions,Yt as HISD3FormOTP,Ht as HISD3FormPassword,Ot as HISD3FormRadioGroup,Qt as HISD3FormRangePicker,io as HISD3FormRate,Zt as HISD3FormSearch,ro as HISD3FormSegmented,$t as HISD3FormSelect,oo as HISD3FormSlider,Wt as HISD3FormSwitch,Ut as HISD3FormTextArea,Kt as HISD3FormTimePicker,Vt as HISD3FormTimeRangePicker,to as HISD3FormTransfer,eo as HISD3FormTreeSelect,lo as HISD3FormUpload,so as HISD3FormUploadDragger,dt as HISD3HeaderActions,At as HISD3Input,$r as HISD3LoginPage,Xr as HISD3NotificationButton,fr as HISD3PageBody,xr as HISD3PageHeader,Re as HISD3Provider,Ft as HISD3SearchInput,It as HISD3Select,Bt as HISD3SelectLabel,cr as HISD3Sidebar,mt as HISD3Table,ut as HISD3Tabs,yt as HISD3Tag,me as HISD3_BORDER_PRESETS,be as HISD3_BORDER_PRESETS_DARK,Te as HISD3_COLORS,ue as HISD3_FONT_FAMILY,xe as HISD3_FONT_WEIGHT_BODY,fe as HISD3_FONT_WEIGHT_HEADING,se as HISD3_LAYOUT,He as HISD3_LOGO_SRC,ce as HISD3_NEUTRALS,he as HISD3_NEUTRALS_DARK,pe as HISD3_PRESETS,ge as HISD3_STATUS,Or as HeaderIconButton,ko as HeaderType,Ao as LayoutDirection,xo as LayoutType,vo as MenuStyle,zo as MessageType,yo as NavStyle,Io as RoutePermittedRole,Eo as RouteTransition,fo as ThemeMode,bo as ThemeStyle,uo as ThemeStyleRadius,sr as UserMenu,Ie as borderVarsCss,Be as contrastRatio,Ce as createHisd3Theme,it as getInitials,Ne as hisd3AntdTheme,ze as hisd3VarsCss,Ee as mix,ao as normalizeUploadFileList,ve as resolvePrimary,Se as resolvePrimaryPalette,Ae as shade,ke as tint,mo as useDialog,Pe as useInsideHISD3Provider};
1424
1431
  //# sourceMappingURL=index.js.map