@kdcloudjs/kingdee-base-components 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/cjs/baseInput-f9sJ7m49.js +1 -0
  2. package/dist/cjs/calendar.kdds-DBIZRNEC.js +1 -0
  3. package/dist/cjs/{calendarMonth-CWlrlbuW.js → calendarMonth-DuBmYkui.js} +1 -1
  4. package/dist/cjs/formattedRichTextRenderer-2waGzr02.js +1 -0
  5. package/dist/cjs/{index-ChQWdmu9.esm-5BaPCEY0.js → index-ChQWdmu9.esm-DUTi--6E.js} +1 -1
  6. package/dist/cjs/interacting-BGdY-r03.js +1 -0
  7. package/dist/cjs/kd/ariaObserver.js +1 -1
  8. package/dist/cjs/kd/baseFormattedText.js +1 -1
  9. package/dist/cjs/kd/baseInput.js +1 -1
  10. package/dist/cjs/kd/button.js +1 -1
  11. package/dist/cjs/kd/buttonMenu.js +1 -1
  12. package/dist/cjs/kd/calendar.js +1 -1
  13. package/dist/cjs/kd/calendarDay.js +1 -1
  14. package/dist/cjs/kd/calendarMonth.js +1 -1
  15. package/dist/cjs/kd/calendarTime.js +1 -1
  16. package/dist/cjs/kd/calendarYear.js +1 -1
  17. package/dist/cjs/kd/card.js +1 -1
  18. package/dist/cjs/kd/checkboxGroup.js +1 -1
  19. package/dist/cjs/kd/datatable.js +1 -1
  20. package/dist/cjs/kd/datepicker.js +1 -1
  21. package/dist/cjs/kd/features.js +1 -1
  22. package/dist/cjs/kd/focusTrap.js +1 -1
  23. package/dist/cjs/kd/focusUtils.js +1 -1
  24. package/dist/cjs/kd/form.js +1 -1
  25. package/dist/cjs/kd/formattedAddress.js +1 -1
  26. package/dist/cjs/kd/formattedDateTime.js +1 -1
  27. package/dist/cjs/kd/formattedEmail.js +1 -1
  28. package/dist/cjs/kd/formattedLocation.js +1 -1
  29. package/dist/cjs/kd/formattedLookup.js +1 -1
  30. package/dist/cjs/kd/formattedName.js +1 -1
  31. package/dist/cjs/kd/formattedNumber.js +1 -1
  32. package/dist/cjs/kd/formattedPhone.js +1 -1
  33. package/dist/cjs/kd/formattedRichText.js +1 -1
  34. package/dist/cjs/kd/formattedRichTextRenderer.js +1 -1
  35. package/dist/cjs/kd/formattedText.js +1 -1
  36. package/dist/cjs/kd/formattedTime.js +1 -1
  37. package/dist/cjs/kd/formattedUrl.js +1 -1
  38. package/dist/cjs/kd/icon.js +1 -1
  39. package/dist/cjs/kd/image.js +1 -1
  40. package/dist/cjs/kd/input.js +1 -1
  41. package/dist/cjs/kd/inputNumber.js +1 -1
  42. package/dist/cjs/kd/inputUtils.js +1 -1
  43. package/dist/cjs/kd/internationalizationLibrary.js +1 -1
  44. package/dist/cjs/kd/layout.js +1 -1
  45. package/dist/cjs/kd/layoutItem.js +1 -1
  46. package/dist/cjs/kd/menuItem.js +1 -1
  47. package/dist/cjs/kd/modal.js +1 -1
  48. package/dist/cjs/kd/modalBase.js +1 -1
  49. package/dist/cjs/kd/modalBody.js +1 -1
  50. package/dist/cjs/kd/modalFooter.js +1 -1
  51. package/dist/cjs/kd/modalHeader.js +1 -1
  52. package/dist/cjs/kd/modalUtils.js +1 -1
  53. package/dist/cjs/kd/numberUtils.js +1 -1
  54. package/dist/cjs/kd/overlay.js +1 -1
  55. package/dist/cjs/kd/overlayContainer.js +1 -1
  56. package/dist/cjs/kd/playground.js +1 -1
  57. package/dist/cjs/kd/positionLibrary.js +1 -1
  58. package/dist/cjs/kd/primitiveBubble.js +1 -1
  59. package/dist/cjs/kd/primitiveButton.js +1 -1
  60. package/dist/cjs/kd/primitiveCellActions.js +1 -1
  61. package/dist/cjs/kd/primitiveCellButton.js +1 -1
  62. package/dist/cjs/kd/primitiveCellCheckbox.js +1 -1
  63. package/dist/cjs/kd/primitiveCellExpand.js +1 -1
  64. package/dist/cjs/kd/primitiveCellFactory.js +1 -1
  65. package/dist/cjs/kd/primitiveColorpickerButton.js +1 -1
  66. package/dist/cjs/kd/primitiveColumnSorter.js +1 -1
  67. package/dist/cjs/kd/primitiveCoordinateItem.js +1 -1
  68. package/dist/cjs/kd/primitiveCustomCell.js +1 -1
  69. package/dist/cjs/kd/primitiveCustomRow.js +1 -1
  70. package/dist/cjs/kd/primitiveDatatableCell.js +1 -1
  71. package/dist/cjs/kd/primitiveDatatableIeditInputWrapper.js +1 -1
  72. package/dist/cjs/kd/primitiveDatatableIeditPanel.js +1 -1
  73. package/dist/cjs/kd/primitiveDatatableIeditTypeFactory.js +1 -1
  74. package/dist/cjs/kd/primitiveDatatableLoadingIndicator.js +1 -1
  75. package/dist/cjs/kd/primitiveDatatableNoData.js +1 -1
  76. package/dist/cjs/kd/primitiveDatatableStatusBar.js +1 -1
  77. package/dist/cjs/kd/primitiveDatatableTooltip.js +1 -1
  78. package/dist/cjs/kd/primitiveDatatableTooltipBubble.js +1 -1
  79. package/dist/cjs/kd/primitiveFileDroppableZone.js +1 -1
  80. package/dist/cjs/kd/primitiveHeaderActions.js +1 -1
  81. package/dist/cjs/kd/primitiveHeaderFactory.js +1 -1
  82. package/dist/cjs/kd/primitiveIcon.js +1 -1
  83. package/dist/cjs/kd/primitiveIframe.js +1 -1
  84. package/dist/cjs/kd/primitiveInputCheckbox.js +1 -1
  85. package/dist/cjs/kd/primitiveInputCheckboxButton.js +1 -1
  86. package/dist/cjs/kd/primitiveInputColor.js +1 -1
  87. package/dist/cjs/kd/primitiveInputFile.js +1 -1
  88. package/dist/cjs/kd/primitiveInputRadio.js +1 -1
  89. package/dist/cjs/kd/primitiveInputSimple.js +1 -1
  90. package/dist/cjs/kd/primitiveInputToggle.js +1 -1
  91. package/dist/cjs/kd/primitiveResizeHandler.js +1 -1
  92. package/dist/cjs/kd/primitiveTreegridCellToggle.js +1 -1
  93. package/dist/cjs/kd/privateModal.js +1 -1
  94. package/dist/cjs/kd/radio.js +1 -1
  95. package/dist/cjs/kd/radioGroup.js +1 -1
  96. package/dist/cjs/kd/recordPicker.js +1 -1
  97. package/dist/cjs/kd/recordPickerModal.js +1 -1
  98. package/dist/cjs/kd/select.js +1 -1
  99. package/dist/cjs/kd/shadowBaseClassPrivate.js +1 -1
  100. package/dist/cjs/kd/spin.js +1 -1
  101. package/dist/cjs/kd/switch.js +1 -1
  102. package/dist/cjs/kd/tab.js +1 -1
  103. package/dist/cjs/kd/tabBar.js +1 -1
  104. package/dist/cjs/kd/tabset.js +1 -1
  105. package/dist/cjs/kd/tag.js +1 -1
  106. package/dist/cjs/kd/toast.js +1 -1
  107. package/dist/cjs/kd/toastContainer.js +1 -1
  108. package/dist/cjs/kd/tooltipLibrary.js +1 -1
  109. package/dist/cjs/kd/tree.js +1 -1
  110. package/dist/cjs/kd/treeItem.js +1 -1
  111. package/dist/cjs/kd/utilsPrivate.js +1 -1
  112. package/dist/cjs/normalize-DZjR9N6d.js +1 -0
  113. package/dist/cjs/primitiveDatatableCell-phgzbp5l.js +1 -0
  114. package/dist/cjs/utilsPrivate-DL4VBetH.js +1 -0
  115. package/dist/esm/baseInput-Bgv7mEy2.js +1 -0
  116. package/dist/esm/calendar.kdds-DkhZH3qI.js +1 -0
  117. package/dist/esm/{calendarMonth-CKY0uX-F.js → calendarMonth-D9AFuDlp.js} +1 -1
  118. package/dist/esm/formattedRichTextRenderer-B7edgq4B.js +1 -0
  119. package/dist/esm/{index-ChQWdmu9.esm-CkPjBLyy.js → index-ChQWdmu9.esm-pxfeXSzR.js} +1 -1
  120. package/dist/esm/interacting-iGRv7bnR.js +1 -0
  121. package/dist/esm/kd/ariaObserver.js +1 -1
  122. package/dist/esm/kd/baseFormattedText.js +1 -1
  123. package/dist/esm/kd/baseInput.js +1 -1
  124. package/dist/esm/kd/button.js +1 -1
  125. package/dist/esm/kd/buttonMenu.js +1 -1
  126. package/dist/esm/kd/calendar.js +1 -1
  127. package/dist/esm/kd/calendarDay.js +1 -1
  128. package/dist/esm/kd/calendarMonth.js +1 -1
  129. package/dist/esm/kd/calendarTime.js +1 -1
  130. package/dist/esm/kd/calendarYear.js +1 -1
  131. package/dist/esm/kd/card.js +1 -1
  132. package/dist/esm/kd/checkboxGroup.js +1 -1
  133. package/dist/esm/kd/datatable.js +1 -1
  134. package/dist/esm/kd/datepicker.js +1 -1
  135. package/dist/esm/kd/features.js +1 -1
  136. package/dist/esm/kd/focusTrap.js +1 -1
  137. package/dist/esm/kd/focusUtils.js +1 -1
  138. package/dist/esm/kd/form.js +1 -1
  139. package/dist/esm/kd/formattedAddress.js +1 -1
  140. package/dist/esm/kd/formattedDateTime.js +1 -1
  141. package/dist/esm/kd/formattedEmail.js +1 -1
  142. package/dist/esm/kd/formattedLocation.js +1 -1
  143. package/dist/esm/kd/formattedLookup.js +1 -1
  144. package/dist/esm/kd/formattedName.js +1 -1
  145. package/dist/esm/kd/formattedNumber.js +1 -1
  146. package/dist/esm/kd/formattedPhone.js +1 -1
  147. package/dist/esm/kd/formattedRichText.js +1 -1
  148. package/dist/esm/kd/formattedRichTextRenderer.js +1 -1
  149. package/dist/esm/kd/formattedText.js +1 -1
  150. package/dist/esm/kd/formattedTime.js +1 -1
  151. package/dist/esm/kd/formattedUrl.js +1 -1
  152. package/dist/esm/kd/icon.js +1 -1
  153. package/dist/esm/kd/image.js +1 -1
  154. package/dist/esm/kd/input.js +1 -1
  155. package/dist/esm/kd/inputNumber.js +1 -1
  156. package/dist/esm/kd/inputUtils.js +1 -1
  157. package/dist/esm/kd/internationalizationLibrary.js +1 -1
  158. package/dist/esm/kd/layout.js +1 -1
  159. package/dist/esm/kd/layoutItem.js +1 -1
  160. package/dist/esm/kd/menuItem.js +1 -1
  161. package/dist/esm/kd/modal.js +1 -1
  162. package/dist/esm/kd/modalBase.js +1 -1
  163. package/dist/esm/kd/modalBody.js +1 -1
  164. package/dist/esm/kd/modalFooter.js +1 -1
  165. package/dist/esm/kd/modalHeader.js +1 -1
  166. package/dist/esm/kd/modalUtils.js +1 -1
  167. package/dist/esm/kd/numberUtils.js +1 -1
  168. package/dist/esm/kd/overlay.js +1 -1
  169. package/dist/esm/kd/overlayContainer.js +1 -1
  170. package/dist/esm/kd/playground.js +1 -1
  171. package/dist/esm/kd/positionLibrary.js +1 -1
  172. package/dist/esm/kd/primitiveBubble.js +1 -1
  173. package/dist/esm/kd/primitiveButton.js +1 -1
  174. package/dist/esm/kd/primitiveCellActions.js +1 -1
  175. package/dist/esm/kd/primitiveCellButton.js +1 -1
  176. package/dist/esm/kd/primitiveCellCheckbox.js +1 -1
  177. package/dist/esm/kd/primitiveCellExpand.js +1 -1
  178. package/dist/esm/kd/primitiveCellFactory.js +1 -1
  179. package/dist/esm/kd/primitiveColorpickerButton.js +1 -1
  180. package/dist/esm/kd/primitiveColumnSorter.js +1 -1
  181. package/dist/esm/kd/primitiveCoordinateItem.js +1 -1
  182. package/dist/esm/kd/primitiveCustomCell.js +1 -1
  183. package/dist/esm/kd/primitiveCustomRow.js +1 -1
  184. package/dist/esm/kd/primitiveDatatableCell.js +1 -1
  185. package/dist/esm/kd/primitiveDatatableIeditInputWrapper.js +1 -1
  186. package/dist/esm/kd/primitiveDatatableIeditPanel.js +1 -1
  187. package/dist/esm/kd/primitiveDatatableIeditTypeFactory.js +1 -1
  188. package/dist/esm/kd/primitiveDatatableLoadingIndicator.js +1 -1
  189. package/dist/esm/kd/primitiveDatatableNoData.js +1 -1
  190. package/dist/esm/kd/primitiveDatatableStatusBar.js +1 -1
  191. package/dist/esm/kd/primitiveDatatableTooltip.js +1 -1
  192. package/dist/esm/kd/primitiveDatatableTooltipBubble.js +1 -1
  193. package/dist/esm/kd/primitiveFileDroppableZone.js +1 -1
  194. package/dist/esm/kd/primitiveHeaderActions.js +1 -1
  195. package/dist/esm/kd/primitiveHeaderFactory.js +1 -1
  196. package/dist/esm/kd/primitiveIcon.js +1 -1
  197. package/dist/esm/kd/primitiveIframe.js +1 -1
  198. package/dist/esm/kd/primitiveInputCheckbox.js +1 -1
  199. package/dist/esm/kd/primitiveInputCheckboxButton.js +1 -1
  200. package/dist/esm/kd/primitiveInputColor.js +1 -1
  201. package/dist/esm/kd/primitiveInputFile.js +1 -1
  202. package/dist/esm/kd/primitiveInputRadio.js +1 -1
  203. package/dist/esm/kd/primitiveInputSimple.js +1 -1
  204. package/dist/esm/kd/primitiveInputToggle.js +1 -1
  205. package/dist/esm/kd/primitiveResizeHandler.js +1 -1
  206. package/dist/esm/kd/primitiveTreegridCellToggle.js +1 -1
  207. package/dist/esm/kd/privateModal.js +1 -1
  208. package/dist/esm/kd/radio.js +1 -1
  209. package/dist/esm/kd/radioGroup.js +1 -1
  210. package/dist/esm/kd/recordPicker.js +1 -1
  211. package/dist/esm/kd/recordPickerModal.js +1 -1
  212. package/dist/esm/kd/select.js +1 -1
  213. package/dist/esm/kd/shadowBaseClassPrivate.js +1 -1
  214. package/dist/esm/kd/spin.js +1 -1
  215. package/dist/esm/kd/switch.js +1 -1
  216. package/dist/esm/kd/tab.js +1 -1
  217. package/dist/esm/kd/tabBar.js +1 -1
  218. package/dist/esm/kd/tabset.js +1 -1
  219. package/dist/esm/kd/tag.js +1 -1
  220. package/dist/esm/kd/toast.js +1 -1
  221. package/dist/esm/kd/toastContainer.js +1 -1
  222. package/dist/esm/kd/tooltipLibrary.js +1 -1
  223. package/dist/esm/kd/tree.js +1 -1
  224. package/dist/esm/kd/treeItem.js +1 -1
  225. package/dist/esm/kd/utilsPrivate.js +1 -1
  226. package/dist/esm/normalize-qdEPAG8z.js +1 -0
  227. package/dist/esm/primitiveDatatableCell-BRBOc7hR.js +1 -0
  228. package/dist/esm/utilsPrivate-ekbvijnB.js +1 -0
  229. package/dist/index.css +1 -1
  230. package/package.json +3 -7
  231. package/dist/cjs/baseInput-BqhUVaz0.js +0 -1
  232. package/dist/cjs/calendar.kdds-DhCBDTd8.js +0 -1
  233. package/dist/cjs/formattedRichTextRenderer-JUEkyJI9.js +0 -1
  234. package/dist/cjs/interacting-4nknj0db.js +0 -1
  235. package/dist/cjs/normalize-DKPi18vK.js +0 -1
  236. package/dist/cjs/normalize-knoDHLvk.js +0 -1
  237. package/dist/cjs/primitiveDatatableCell-BSmedNYm.js +0 -1
  238. package/dist/esm/baseInput-B-eemUUm.js +0 -1
  239. package/dist/esm/calendar.kdds-CmrkttUm.js +0 -1
  240. package/dist/esm/formattedRichTextRenderer-CFfJSiYs.js +0 -1
  241. package/dist/esm/interacting-BLIM-Sh7.js +0 -1
  242. package/dist/esm/normalize-B0BwrqbQ.js +0 -1
  243. package/dist/esm/normalize-C0Pp7GJL.js +0 -1
  244. package/dist/esm/primitiveDatatableCell-gw5YRhU4.js +0 -1
@@ -1 +1 @@
1
- import{parseFragment as e,registerTemplate as t,freezeTemplate as a,registerComponent as d,unwrap as o,registerDecorators as s}from"@kdcloudjs/kwc";import{_ as r}from"../empty_html-CjXB8rB4.js";import{s as n}from"../kddsCommon-CucK_w70.js";import{s as i}from"../kddsUtilsVisibility-BQdWrRzW.js";import{s as l}from"../kddsUtilsMargin-QLmlO60p.js";import{s as c}from"../kddsUtilsHyphenation-DjH4tlai.js";import{s as u}from"../kddsUtilsGrid-CoXx1Bwj.js";import{s as b}from"../kddsUtilsLineClamp-CHvuz7DS.js";import{s as h}from"../kddsUtilsTruncation-BkfKIyC_.js";import{s as k}from"../input-checkbox.kdds-CT6mcwHs.js";import p from"./primitiveDatatableIeditPanel.js";import m from"./primitiveHeaderFactory.js";import g from"./primitiveCellExpand.js";import v from"./primitiveCellCheckbox.js";import{_ as f,D as y,a as x,F as _}from"../primitiveDatatableCell-gw5YRhU4.js";import w from"./primitiveCustomCell.js";import C from"./primitiveTreegridCellToggle.js";import A from"./icon.js";import T from"./primitiveCellFactory.js";import R from"./primitiveCustomRow.js";import z from"./primitiveDatatableNoData.js";import I from"./primitiveDatatableStatusBar.js";import L from"./primitiveDatatableLoadingIndicator.js";import{b as S}from"../label-CY8Q8HAO.js";import{features as $}from"./features.js";import{EVENTS as V}from"./formattedLookup.js";import{g as M}from"../idGenerator-D2O_IHg9.js";import{classSetToString as E,isRTL as D,toFormattedNumber as K,toFormattedDate as W,toFormattedLocation as N,toNorthAmericanPhoneNumber as H,isValidPhone as F,isTextIgnoreRTL as B,parseToFormattedLinkifiedParts as O,formatUrl as j,assert as P,isUndefinedOrNull as U,keyCodes as q,isCellElement as Q,getShadowActiveElements as Y,hasOwnProperties as X,privateContext as G,synchronizeAttrs as Z,isSafari as J}from"./utilsPrivate.js";import{hasLinkProvider as ee,getLinkInfo as te,updateRawLinkInfo as ae}from"./routingService.js";import{KingdeeResizeObserver as de}from"./resizeObserver.js";import"../observable-tloG64m6.js";import"../i18n-B98kiI7M.js";import{b as oe,n as se}from"../normalize-C0Pp7GJL.js";import{i as re}from"../ssr-C2pjZzfv.js";import"../classSet-DY6Qvt6E.js";import{f as ne}from"../labelUtils-DAuN2uUV.js";import{b as ie,t as le}from"../intlFormat-DNT_1eg4.js";import{n as ce}from"../NumberFormat-CVAfQTsE.js";import"./configProvider.js";import{f as ue,m as be,t as he}from"../takeUntil-BqTBLaTv.js";import{stopPositioning as ke,startPositioning as pe,Direction as me}from"./positionLibrary.js";import ge from"./shadowBaseClassPrivate.js";import"../kddsUtilsPadding-Dct-C7F7.js";import"./primitiveDatatableIeditTypeFactory.js";import"./input.js";import"../baseInput-B-eemUUm.js";import"../normalize-B0BwrqbQ.js";import"../index.esm-DycIHCS9.js";import"../utils-CB_20U-G.js";import"../client-Ddi3i8XR.js";import"./iso8601Utils.js";import"../colorValid-qIPgkqGp.js";import"./primitiveDatatableIeditInputWrapper.js";import"./button.js";import"./overlayManager.js";import"./primitiveHeaderActions.js";import"./menuItem.js";import"./menuDivider.js";import"./buttonMenu.js";import"./tooltipLibrary.js";import"./primitiveBubble.js";import"./ariaObserver.js";import"./primitiveResizeHandler.js";import"../input-radio-group.kdds-BVVGUf0e.js";import"./primitiveCellActions.js";import"./primitiveCellButton.js";import"./formattedNumber.js";import"./i18nCldrOptions.js";import"./i18nService.js";import"./formattedDateTime.js";import"./formattedEmail.js";import"./formattedLocation.js";import"./formattedPhone.js";import"./baseFormattedText.js";import"./formattedUrl.js";import"../kddsUtilsPosition-DDHofMns.js";import"./primitiveDatatableTooltip.js";import"./primitiveDatatableTooltipBubble.js";import"./buttonIcon.js";import"./spin.js";var ve=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host {":o+" {")+"display: inline-flex;}"+(t?":host [part~='boundary']":o+" [part~='boundary']")+d+" {padding-block-start: var(\r\n --kds-c-icon-spacing-blockstart,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-block-end: var(\r\n --kds-c-icon-spacing-blockend,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-start: var(\r\n --kds-c-icon-spacing-inlinestart,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-end: var(\r\n --kds-c-icon-spacing-inlineend,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );border-radius: var(--kds-c-icon-radius-border, var(--kds-s-icon-radius-border));border-width: var(--kds-c-icon-sizing-border, var(--kds-s-icon-sizing-border));border-style: solid;border-color: var(--kds-c-icon-color-border, var(--kds-s-icon-color-border, transparent));background-color: var(--kds-c-icon-color-background, var(--kds-s-icon-color-background));}"+(t?":host [part~='icon']":o+" [part~='icon']")+d+" {display: flex;height: var(--kds-c-icon-sizing-height, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));width: var(--kds-c-icon-sizing-width, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));color: var(--kds-c-icon-color-foreground, var(--kds-s-icon-color-foreground));}"+(t?":host svg":o+" svg")+d+" {width: 100%;height: 100%;}"+(t?":host {":o+" {")+"vertical-align: middle;}"+(t?":host([size='xxx-small']),:host \r.kdds-icon_xxx-small":o+"[size='xxx-small'],"+o+" \r.kdds-icon_xxx-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}"+(t?":host([size='xx-small']),:host \r.kdds-icon_xx-small":o+"[size='xx-small'],"+o+" \r.kdds-icon_xx-small")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));}"+(t?":host([size='x-small']),:host \r.kdds-icon_x-small":o+"[size='x-small'],"+o+" \r.kdds-icon_x-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-5);}"+(t?":host([size='small']),:host \r.kdds-icon_small":o+"[size='small'],"+o+" \r.kdds-icon_small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}"+(t?":host([size='large']),:host \r.kdds-icon_large":o+"[size='large'],"+o+" \r.kdds-icon_large")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-10);}"+(t?":host([variant='warning']) {":o+"[variant='warning'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-warning-1);}"+(t?":host([variant='success']) {":o+"[variant='success'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-success-1);}"+(t?":host([variant='error']) {":o+"[variant='error'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-error-1);}"+(t?":host([variant='light']) {":o+"[variant='light'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-neutral-base-70);}"+(t?":host [part='boundary']":o+" [part='boundary']")+d+" {--kds-c-icon-radius-border: var(--kdds-c-icon-radius-border, var(--kdds-g-radius-border-2));--kds-c-icon-sizing-border: var(--kdds-c-icon-sizing-border, 0);--kds-c-icon-color-border: var(--kdds-c-icon-color-border);--kds-c-icon-spacing-block-start: var(--kdds-c-icon-spacing-blockstart, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-block-end: var(--kdds-c-icon-spacing-blockend, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-inline-start: var(\r\n --kdds-c-icon-spacing-inlinestart,\r\n var(--kdds-c-icon-spacing-inline)\r\n );--kds-c-icon-spacing-inline-end: var(--kdds-c-icon-spacing-inlineend, var(--kdds-c-icon-spacing-inline));display: inline-flex;}"+(t?":host .kdds-input__icon":o+" .kdds-input__icon")+d+" [part='boundary']"+d+" {border-style: none;}"+(t?":host [part='icon']":o+" [part='icon']")+d+" {--kds-c-icon-color-foreground: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-on-accent-1));--kds-c-icon-sizing-height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );--kds-c-icon-sizing-width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );}"+(t?":host([icon-name*='action']),:host \r.kdds-icon_container_circle":o+"[icon-name*='action'],"+o+" \r.kdds-icon_container_circle")+d+" {--kdds-c-icon-spacing-block: var(--kdds-g-sizing-3);--kdds-c-icon-spacing-inline: var(--kdds-g-sizing-3);--kdds-c-icon-radius-border: calc(var(--kdds-g-radius-border-circle) / 2);--kdds-c-icon-sizing-border: var(--kdds-g-sizing-3);}"+(t?":host .kdds-icon":o+" .kdds-icon")+d+" {display: inline-flex;height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );fill: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-neutral-base-100));}"+(t?":host .kdds-icon-text-default":o+" .kdds-icon-text-default")+d+" {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-icon-color-foreground-default,\r\n var(--kds-c-icon-color-foreground-default, var(--kdds-g-color-on-surface-1))\r\n );}"+(t?":host .kdds-icon-text-default.kdds-is-disabled":o+" .kdds-icon-text-default.kdds-is-disabled")+d+" {fill: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-assistive-text":o+" .kdds-assistive-text")+d+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"+(t?":host .kdds-icon_disabled":o+" .kdds-icon_disabled")+d+" {background-color: currentcolor;}"+(t?":host .kdds-input__icon":o+" .kdds-input__icon")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));position: absolute;top: 50%;margin-block-start: -0.4375rem;line-height: var(--kdds-g-font-lineheight-1);border: 0;z-index: 2;}"+(t?":host([data-input-pill-search-primicon]) .kdds-icon":o+"[data-input-pill-search-primicon] .kdds-icon")+d+" {--kds-c-icon-sizing-height: 1.25rem;--kds-c-icon-sizing-width: 1.25rem;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']":o+"[data-input-pill-close-primicon] [part='icon']")+d+" {--kds-c-icon-color-foreground: none;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']:hover":o+"[data-input-pill-close-primicon] [part='icon']:hover")+d+" {--kds-c-icon-color-foreground: var(--kdds-g-color-accent-4);}"+(t?":host .kdds-icon_container":o+" .kdds-icon_container")+d+" {border-radius: var(--kdds-c-icon-radius-border, var(--kdds-s-icon-radius-border));background-color: var(\r\n --kdds-c-icon-color-background,\r\n var(--kdds-s-icon-color-background, var(--kds-c-icon-color-background))\r\n );}"}];var fe=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return["*",d,",\r*",d,"::before,\r*",d,"::after {box-sizing: border-box;}",t?":host [part~='button']":o+" [part~='button']",d," {display: inline-flex;gap: var(--kds-c-button-spacing-gap, var(--kds-s-button-spacing-gap));background: var(--kds-c-button-color-background, var(--kds-s-button-color-background));color: var(--kds-c-button-text-color, var(--kds-s-button-color));font-weight: var(--kds-c-button-font-weight, var(--kds-s-button-font-weight));font-size: var(--kds-c-button-font-size, var(--kds-s-button-font-size, inherit));line-height: var(--kds-c-button-font-lineheight);height: var(--kds-c-button-sizing-height);width: var(--kds-c-button-sizing-width);padding-inline-start: var(\r\n --kds-c-button-spacing-inlinestart,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-inline-end: var(\r\n --kds-c-button-spacing-inlineend,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-start: var(\r\n --kds-c-button-spacing-blockstart,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-end: var(\r\n --kds-c-button-spacing-blockend,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );border-width: var(--kds-c-button-sizing-border, var(--kds-s-button-sizing-border, 1px));border-style: solid;border-color: var(--kds-c-button-color-border, var(--kds-s-button-color-border, currentColor));border-start-start-radius: var(\r\n --kds-c-button-radius-border-startstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-start-end-radius: var(\r\n --kds-c-button-radius-border-startend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startend, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-start-radius: var(\r\n --kds-c-button-radius-border-endstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-end-radius: var(\r\n --kds-c-button-radius-border-endend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endend, var(--kds-s-button-radius-border))\r\n )\r\n );box-shadow: var(--kds-c-button-shadow, var(--kds-s-button-shadow));text-decoration: var(--kds-c-button-font-decoration);white-space: normal;user-select: none;align-items: center;justify-content: center;appearance: none;}",t?":host [part~='button']:hover":o+" [part~='button']:hover",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-hover, var(--kds-s-button-color-hover, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-hover,\r\n var(--kds-s-button-color-background-hover, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-hover,\r\n var(--kds-s-button-color-border-hover, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-hover, var(--kds-s-button-shadow-hover, revert));cursor: pointer;}",t?":host [part~='button']:focus":o+" [part~='button']:focus",d," {--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-focus,\r\n var(--kds-s-button-color-background-focus, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-focus,\r\n var(--kds-s-button-color-border-focus, revert)\r\n );--kds-c-button-text-color: var(--kds-c-button-text-color-focus, var(--kds-s-button-color-focus, revert));--kds-c-button-shadow: var(--kds-c-button-shadow-focus, var(--kds-s-button-shadow-focus, revert));outline: 0;}",t?":host [part~='button']:active":o+" [part~='button']:active",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-active, var(--kds-s-button-color-active, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-active,\r\n var(--kds-s-button-color-background-active, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-active,\r\n var(--kds-s-button-color-border-active, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-active, var(--kds-s-button-shadow-active, revert));}",t?":host [part~='button']:disabled":o+" [part~='button']:disabled",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-disabled);--kds-c-button-color-background: var(--kds-c-button-color-background-disabled);--kds-c-button-color-border: var(--kds-c-button-color-border-disabled);--kds-c-button-shadow: var(--kds-c-button-shadow-disabled);pointer-events: none;}",t?":host [part~='button']:disabled":o+" [part~='button']:disabled",d," *",d," {pointer-events: none;}",t?":host [part='button'][aria-pressed='true']":o+" [part='button'][aria-pressed='true']",d," {--kds-c-button-color-background: var(--kds-c-button-color-background-pressed, revert);--kds-c-button-color-border: var(--kds-c-button-color-border-pressed, revert);--kds-c-button-text-color: var(--kds-c-button-text-color-pressed, revert);--kds-c-button-shadow: var(--kds-c-button-shadow-pressed, revert);}",t?":host [part~='button']":o+" [part~='button']",d," {gap: var(--kdds-g-spacing-2);--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: currentcolor;--kds-c-button-font-lineheight: var(\r\n --kdds-c-button-neutral-font-lineheight,\r\n var(--kdds-s-button-font-lineheight, 1.875rem)\r\n );--kds-c-button-spacing-inline: var(\r\n --kdds-c-button-neutral-spacing-inline,\r\n var(--kdds-s-button-spacing-inline, var(--kdds-g-spacing-4)) ;\r\n );--kds-c-button-spacing-block: var(--kdds-c-button-neutral-spacing-block);--kds-c-button-radius-border-startstart: var(\r\n --kdds-c-button-radius-border-startstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endstart: var(\r\n --kdds-c-button-radius-border-endstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-startend: var(\r\n --kdds-c-button-radius-border-startend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endend: var(\r\n --kdds-c-button-radius-border-endend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-color-background: var(\r\n --kdds-c-button-neutral-color-background,\r\n var(--kdds-g-color-surface-container-1)\r\n );--kds-c-button-color-background-hover: var(\r\n --kdds-c-button-neutral-color-background-hover,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-focus: var(\r\n --kdds-c-button-neutral-color-background-focus,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-active: var(\r\n --kdds-c-button-neutral-color-background-active,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-border: var(--kdds-c-button-neutral-color-border, var(--kdds-g-color-border-2));--kds-c-button-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border-hover,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border-focus,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-active: var(\r\n --kdds-c-button-neutral-color-border-active,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-neutral-text-color, var(--kdds-g-color-accent-2));--kds-c-button-text-color-hover: var(\r\n --kdds-c-button-neutral-text-color-hover,\r\n var(--kdds-s-button-color-hover, var(--kdds-g-color-accent-3))\r\n );--kds-c-button-text-color-focus: var(\r\n --kdds-c-button-neutral-text-color-focus,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-text-color-active: var(\r\n --kdds-c-button-neutral-text-color-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow: var(--kdds-c-button-neutral-shadow);--kds-c-button-shadow-focus: var(--kdds-c-button-neutral-shadow-focus);}",t?":host [part~='button']:disabled":o+" [part~='button']:disabled",d," {--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color-disabled: var(--kdds-g-color-on-disabled-1);--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);pointer-events: auto;cursor: default;}",t?":host([variant='brand']) [part~='button']":o+"[variant='brand'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(\r\n --kdds-c-button-brand-color-background,\r\n var(--kdds-g-color-accent-container-1)\r\n );--kdds-c-button-neutral-color-background-hover: var(\r\n --kdds-c-button-brand-color-background-hover,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-focus: var(\r\n --kdds-c-button-brand-color-background-focus,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-active: var(\r\n --kdds-c-button-brand-color-background-active,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-border: var(\r\n --kdds-c-button-brand-color-border,\r\n var(--kdds-g-color-border-accent-1)\r\n );--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-brand-color-border-hover,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-brand-color-border-focus,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-brand-color-border-active,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-brand-text-color, var(--kdds-g-color-on-accent-1));}",t?":host([variant='brand-outline']) [part~='button']":o+"[variant='brand-outline'] [part~='button']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);}",t?":host([variant='inverse']) [part~='button']":o+"[variant='inverse'] [part~='button']",d," {--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-accent-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-accent-2);}",t?":host([variant='inverse']) [part~='button']:disabled":o+"[variant='inverse'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: var(--kdds-g-color-border-disabled-2);--kds-c-button-text-color: var(--kdds-g-color-disabled-2);}",t?":host([variant='destructive']) [part~='button']":o+"[variant='destructive'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-error-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-error-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-error-2);--kds-c-button-text-color: var(--kdds-g-color-on-error-1);}",t?":host([variant='success']) [part~='button']":o+"[variant='success'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-success-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-success-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-on-success-1);}",t?":host([variant='destructive-text']) [part~='button']":o+"[variant='destructive-text'] [part~='button']",d," {--kdds-c-button-neutral-text-color: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-error-1);--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );}",t?":host([variant='brand']) [part~='button']:disabled"+d+",:host([variant='success']) [part~='button']:disabled"+d+",:host([variant='destructive']) [part~='button']:disabled":o+"[variant='brand'] [part~='button']:disabled"+d+","+o+"[variant='success'] [part~='button']:disabled"+d+","+o+"[variant='destructive'] [part~='button']:disabled",d," {--kds-c-button-color-background: var(--kdds-g-color-disabled-container-2);--kds-c-button-color-border: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color: var(--kdds-g-color-on-disabled-2);}",t?":host([variant='base']) [part~='button']"+d+",:host([variant='text']) [part~='button']":o+"[variant='base'] [part~='button']"+d+","+o+"[variant='text'] [part~='button']",d," {--kds-c-button-spacing-inline: 0;--kdds-c-button-neutral-text-color: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;}",t?":host([variant='base']) [part~='button']:disabled"+d+",:host([variant='text']) [part~='button']:disabled":o+"[variant='base'] [part~='button']:disabled"+d+","+o+"[variant='text'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: transparent;}",t?":host([stretch]) [part~='button']":o+"[stretch] [part~='button']",d," {--kds-c-button-sizing-width: 100%;justify-content: center;}",t?":host([variant='brand']) [part~='button']"+d+",:host([variant='brand-outline']) [part~='button']"+d+",:host([variant='inverse']) [part~='button']"+d+",:host([variant='success']) [part~='button']"+d+",:host([variant='destructive']) [part~='button']"+d+",:host([variant='destructive-text']) [part~='button']":o+"[variant='brand'] [part~='button']"+d+","+o+"[variant='brand-outline'] [part~='button']"+d+","+o+"[variant='inverse'] [part~='button']"+d+","+o+"[variant='success'] [part~='button']"+d+","+o+"[variant='destructive'] [part~='button']"+d+","+o+"[variant='destructive-text'] [part~='button']",d," {justify-content: center;}",t?":host [part~='start']":o+" [part~='start']",d," {display: inline-flex;padding-inline-end: 0;}",t?":host [part~='end']":o+" [part~='end']",d," {display: inline-flex;padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host .kdds-button_reset":o+" .kdds-button_reset",d," {font-size: inherit;color: inherit;line-height: inherit;padding: 0;background: transparent;border: 0;text-align: inherit;}",t?":host [part~='button-icon']":o+" [part~='button-icon']",d," {display: inline-flex;--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: var(--kdds-c-buttonicon-color-foreground, var(--kdds-g-color-on-surface-1));--kds-c-button-spacing-inline: 0;--kds-c-button-sizing-height: var(--kdds-g-sizing-9);--kds-c-button-sizing-width: var(--kdds-g-sizing-9);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-2);--kds-c-button-color-background-disabled: var(--kdds-g-color-surface-container-1);--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);}",t?":host [part~='button-icon']:hover":o+" [part~='button-icon']:hover",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-hover,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:focus":o+" [part~='button-icon']:focus",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-focus,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:active":o+" [part~='button-icon']:active",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow-active: none;}",t?":host [part~='button-icon']:disabled":o+" [part~='button-icon']:disabled",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-disabled-1);--kds-c-button-color-background-disabled: transparent;}",t?":host([variant='bare']) [part~='button-icon']":o+"[variant='bare'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='container']) [part~='button-icon']":o+"[variant='container'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='brand']) [part~='button-icon']":o+"[variant='brand'] [part~='button-icon']",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-on-accent-1);}",t?":host([variant='bare-inverse']) [part~='button-icon']":o+"[variant='bare-inverse'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: color-mix(\r\n in oklab,\r\n var(--kdds-g-color-on-surface-inverse-1),\r\n transparent 25%\r\n );--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='border-inverse']) [part~='button-icon']":o+"[variant='border-inverse'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-2);}",t?":host([variant='border-filled']) [part~='button-icon']":o+"[variant='border-filled'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-1);}",t?":host([variant='border-filled']) [part~='button-icon']:disabled":o+"[variant='border-filled'] [part~='button-icon']:disabled",d," {--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);}",t?":host([size='xx-small']) [part~='button-icon']":o+"[size='xx-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-5);--kds-c-button-sizing-width: var(--kdds-g-sizing-5);--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='x-small']) [part~='button-icon']":o+"[size='x-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-6);--kds-c-button-sizing-width: var(--kdds-g-sizing-6);--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='small']) [part~='button-icon']":o+"[size='small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-7);--kds-c-button-sizing-width: var(--kdds-g-sizing-7);}",t?":host([size='large']) [part~='button-icon']":o+"[size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-10);--kds-c-button-sizing-width: var(--kdds-g-sizing-10);--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}",t?":host([size='x-small'][variant='bare']) [part~='button-icon']":o+"[variant='bare'][size='x-small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='small'][variant='bare']) [part~='button-icon']":o+"[variant='bare'][size='small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='large'][variant='bare']) [part~='button-icon']"+d+",:host([size='large'][variant='bare-inverse']) [part~='button-icon']":o+"[variant='bare'][size='large'] [part~='button-icon']"+d+","+o+"[variant='bare-inverse'][size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;}",t?":host [part='end']":o+" [part='end']",d," {padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host([size='large']) [part~='button-icon']"+d+",:host([size='medium']) [part~='button-icon']":o+"[size='large'] [part~='button-icon']"+d+","+o+"[size='medium'] [part~='button-icon']",d," {height: var(--kdds-c-buttonicon-sizing-height, var(--kdds-g-sizing-9));}"].join("")}];var ye=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host .kdds-row-number":o+" .kdds-row-number")+d+"::after {content: counter(row-number);}"+(t?":host .kdds-text-body_small":o+" .kdds-text-body_small")+d+" {font-size: var(--kdds-g-font-scale-neg-1);}"+(t?":host .kdds-button_icon-small":o+" .kdds-button_icon-small")+d+" {width: var(--kdds-g-sizing-4);height: var(--kdds-g-sizing-4);}"+(t?":host .kdds-cell-edit__button":o+" .kdds-cell-edit__button")+d+" {width: var(--kdds-g-sizing-6);height: var(--kdds-g-sizing-6);flex-shrink: 0;}"+(t?":host .kdds-cell-edit__button:focus":o+" .kdds-cell-edit__button:focus")+d+" .kdds-button__icon_edit"+d+" {opacity: 1;}"+(t?":host .kdds-cell-edit__button:disabled":o+" .kdds-cell-edit__button:disabled")+d+" {color: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-button__icon_hint":o+" .kdds-button__icon_hint")+d+" {fill: var(--kdds-s-button-color, var(--kdds-g-color-on-surface-1));}"+(t?":host .kdds-button__icon_lock":o+" .kdds-button__icon_lock")+d+" {opacity: 1;}"+(t?":host .kdds-button__icon_edit":o+" .kdds-button__icon_edit")+d+" {opacity: 1;fill: var(--kdds-g-color-accent-2);}"+(t?":host .kdds-button__icon_edit:hover"+d+",:host \r.kdds-button__icon_edit:focus":o+" .kdds-button__icon_edit:hover"+d+","+o+" \r.kdds-button__icon_edit:focus")+d+" {fill: var(--kdds-g-color-on-surface-3);}"+(t?":host [part='button button-icon']":o+" [part='button button-icon']")+d+" {border: none;opacity: 0;}"+(t?":host(:hover) [part='button button-icon']":o+":hover [part='button button-icon']")+d+" {opacity: 1;}"}];var xe=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return[":focus-visible",d," {outline: 0;}",t?":host [part='datagrid-wrapper']":o+" [part='datagrid-wrapper']",d," {display: flex;flex-direction: column;position: relative;}",t?":host [part='datagrid']":o+" [part='datagrid']",d," {display: flex;flex-direction: column;flex: 1 1 auto;height: 100%;background-color: var(--_kdds-c-datagrid-color-background);}",t?":host [part='datagrid-header']":o+" [part='datagrid-header']",d," {color: var(--_kdds-c-datagrid-header-text-color, #514f4d);background-color: var(--_kdds-c-datagrid-header-color-background, var(--_kdds-c-datagrid-color-background, #fafaf9));border-block-start: var(--kdds-g-sizing-border-1) solid var(--_kdds-c-datagrid-header-color-border, #babfc7);width: 100%;--_kdds-c-datagrid-row-color-border: var(--_kdds-c-datagrid-header-color-border, #babfc7);}",t?":host [fixed-header='true']":o+" [fixed-header='true']",d," [part='datagrid-header']",d," {position: sticky;top: 0;min-height: 2rem;z-index: 1;}",t?":host [part='cell']:hover":o+" [part='cell']:hover",d," {--_kdds-c-datagrid-cell-color-background: var(--_kdds-c-datagrid-cell-color-background-hover);}",t?":host [part='cell'][aria-selected='true']":o+" [part='cell'][aria-selected='true']",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [part='cell']:focus-within":o+" [part='cell']:focus-within",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']":o+" [role='columnheader']",d," {font-weight: var(--kdds-g-font-weight-7);}",t?":host [role='columnheader'][aria-sort]:hover":o+" [role='columnheader'][aria-sort]:hover",d," {background-color: var(--_kdds-c-datagrid-headercell-color-background-hover, white);}",t?":host [role='columnheader'][aria-selected='true']":o+" [role='columnheader'][aria-selected='true']",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']:focus-within":o+" [role='columnheader']:focus-within",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));box-shadow: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3)) -3px 0 0 0 inset;}",t?":host [data-row-key-value='HEADER']":o+" [data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [data-row-key-value='HEADER']":o+" [data-row-key-value='HEADER']",d," > *:focus",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [part='value']":o+" [part='value']",d," {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 100%;}[data-sort]",d," {border: none;background: transparent;display: inline-flex;min-width: 0;flex: 1 1 0%;}[data-sort]",d,"::after {content: '';position: absolute;inset: 0;}[data-sort]",d," [part='value']",d," {width: auto;}",t?"[data-resize-handle]:hover"+d+",\r:host [type='range']:focus":"[data-resize-handle]:hover"+d+","+o+" [type='range']:focus",d," ~ [data-resize-handle]",d," {opacity: 1;}[data-resize-handle]",d," {width: var(--kdds-g-sizing-3);position: absolute;top: calc(var(--kdds-g-sizing-border-1) * -1);right: calc(var(--kdds-g-sizing-border-1) * -1);bottom: calc(var(--kdds-g-sizing-border-1) * -1);cursor: col-resize;opacity: 0;}[data-resize-handle]",d,"::before {content: '';width: var(--kdds-g-sizing-border-1);height: 100vh;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: calc(var(--kdds-g-sizing-border-1) * -1);}[data-resize-handle]",d,"::after {content: '';width: 4px;height: 100%;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: 0;}",t?":host [part='datagrid-body']":o+" [part='datagrid-body']",d," [role~='row']:hover",d," {background-color: var(--_kdds-c-datagrid-row-color-background-hover, #f3f2f2);}",t?":host [aria-readonly='true']":o+" [aria-readonly='true']",d," {--_kdds-c-datagrid-cell-color-background-hover: inherit;}",t?":host [aria-readonly='false']":o+" [aria-readonly='false']",d," {--_kdds-c-datagrid-cell-color-background-hover: #fff;}",t?":host .kdds-scrollable_y":o+" .kdds-scrollable_y",d," {-webkit-overflow-scrolling: touch;max-height: 100%;overflow: hidden;overflow-y: auto;}",t?":host .kdds-scrollable_x":o+" .kdds-scrollable_x",d," {-webkit-overflow-scrolling: touch;max-width: 100%;overflow: hidden;overflow-x: auto;}",t?":host .kdds-line-height_reset":o+" .kdds-line-height_reset",d," {line-height: var(--kdds-g-font-lineheight-1);}",t?":host {":o+" {","height: 100%;width: 100%;display: inline;}",t?":host .kdds-table_header-fixed_container":o+" .kdds-table_header-fixed_container",d," {position: relative;background-color: var(--kdds-c-datatable-background);overflow-y: hidden;overflow-x: auto;padding-top: var(--kdds-c-datatable-header-line-height);}",t?":host .kdds-rangeselection_active":o+" .kdds-rangeselection_active",d," {user-select: none;}",t?":host .kdds-table_header-fixed_container":o+" .kdds-table_header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table":o+" .kdds-table",d," {background-color: var(--kdds-c-datatable-background);font-size: inherit;}",t?":host .kdds-table"+d+" th"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th"+d+","+o+" .kdds-table",d," td",d," {padding: var(--kdds-c-datatable-cell-padding);white-space: nowrap;position: relative;color: var(--kdds-c-datatable-cell-color);}",t?":host .kdds-table":o+" .kdds-table",d," th",d," {font-weight: var(--kdds-g-font-weight-4);}",t?":host .kdds-table":o+" .kdds-table",d," th:focus",d," {outline: 0;}",t?":host .kdds-table":o+" .kdds-table",d," thead",d," th",d," {background-color: var(--kdds-g-color-neutral-base-95);color: var(--kdds-g-color-neutral-base-30);font-weight: var(--kdds-g-font-weight-4);line-height: normal;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-hover);}",t?":host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {box-shadow: var(--kdds-g-shadow-outset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-brand-base-50));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+","+o+" .kdds-table",d," tbody",d," tr.kdds-is-selected",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-active);}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr.kdds-is-selected:hover",d," > th",d," {background-color: hsl(212.29999999999995, 100%, 95.5%);}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a",d," {color: var(--kdds-g-link-color-focus, var(--kdds-g-color-brand-base-20));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a[aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);cursor: default;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-shrink",d," {width: 1%;}",t?":host .kdds-table"+d+" .kdds-cell-buffer_left"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-buffer_left"+d+","+o+" .kdds-table",d," .kdds-cell-buffer--left",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table"+d+" .kdds-cell-buffer_right"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-buffer_right"+d+","+o+" .kdds-table",d," .kdds-cell-buffer--right",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr",d," {counter-increment: row-number;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-row-number",d,"::after {content: counter(row-number);}",t?":host .kdds-table"+d+" th:focus"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:focus"+d+","+o+" .kdds-table",d," [role='gridcell']:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+",\r:host .kdds-table:not(.kdds-rangeselection_active)":o+" .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+","+o+" .kdds-table:not(.kdds-rangeselection_active)",d," [role='rowheader'].kdds-has-focus",d," {border-color: var(--kdds-c-datatable-cell-border-focus);}",t?":host .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+","+o+" .kdds-table",d," [role='gridcell'].kdds-has-focus.kdds-cell_action-mode",d," {border-block-end: var(--kdds-g-sizing-border-3) solid var(--kdds-g-color-brand-base-50, var(--kdds-g-color-brand-base-30));}",t?":host .kdds-table"+d+" th:active"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:active"+d+","+o+" .kdds-table",d," [role='gridcell']:active",d," {box-shadow: none;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-radio",d," [type='radio']",d," + .kdds-radio__label",d," .kdds-radio_faux",d," {margin-inline-end: 0;}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table--cell-buffer":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .kdds-table--cell-buffer",d," tr",d," > td:first-child",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table--cell-buffer":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .kdds-table--cell-buffer",d," tr",d," > td:last-child",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table_bordered"+d+",\r:host .kdds-table--bordered":o+" .kdds-table_bordered"+d+","+o+" .kdds-table--bordered",d," {border-collapse: separate;}",t?":host .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+",\r:host .kdds-table--bordered":o+" .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+","+o+" .kdds-table--bordered",d," thead",d," > tr",d," + tr",d," > th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);}",t?":host .kdds-table_bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table_bordered"+d+" tbody"+d+" th"+d+",\r:host .kdds-table--bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table--bordered":o+" .kdds-table_bordered"+d+" tbody"+d+" td"+d+","+o+" .kdds-table_bordered"+d+" tbody"+d+" th"+d+","+o+" .kdds-table--bordered"+d+" tbody"+d+" td"+d+","+o+" .kdds-table--bordered",d," tbody",d," th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid transparent;}",t?":host .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+","+o+" .kdds-table",d," > tbody",d," > tr",d," > th",d," {height: var(--kdds-c-datatable-cell-line-height);}",t?":host .kdds-table_col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" td"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table--col-bordered":o+" .kdds-table_col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" td"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + td"+d+","+o+" .kdds-table--col-bordered",d," td",d," + th",d," {border-inline-start: var(--kdds-g-sizing-border-1) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+",\r:host .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table--striped":o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+","+o+" .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .kdds-table--striped",d," tbody",d," tr:nth-of-type(even)",d," > th",d," {background-color: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-table_fixed-layout"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+","+o+" .kdds-table--fixed-layout",d," {table-layout: fixed;width: 100%;white-space: nowrap;}",t?":host .kdds-table_fixed-layout"+d+" thead"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" thead"+d+","+o+" .kdds-table--fixed-layout",d," thead",d," {background-color: var(--kdds-g-color-neutral-base-100);}",t?":host .kdds-table_fixed-layout"+d+" tbody"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" tbody"+d+","+o+" .kdds-table--fixed-layout",d," tbody",d," {transform: translateZ(0);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink",d," {width: var(--kdds-g-sizing-10);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:nth-child(n)",d," {padding-inline-start: 0;padding-inline-end: 0;}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:first-child",d," {text-align: right;padding-inline-end: var(--kdds-g-spacing-2);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:last-child",d," {text-align: left;padding-inline-start: var(--kdds-g-spacing-2);}",t?[":host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap"].join(""):[o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap"].join(""),d," tbody",d," tr",d," > *:nth-child(15)",d," .kdds-truncate",d," {overflow-wrap: break-word;word-wrap: break-word;hyphens: none;white-space: normal;}",t?":host [class*='kdds-table_column-']":o+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d," {overflow: hidden;position: relative;max-height: calc(var(--kdds-g-sizing-10) + var(--kdds-g-sizing-2));}",t?":host [class*='kdds-table_column-']":o+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d,"::after {content: '';position: absolute;top: calc(var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2));bottom: 0;right: 0;width: 50%;background: linear-gradient(to right, transparent 0%, var(--kdds-g-color-neutral-base-100) 69%);}",t?":host [class*='kdds-table_column-']":o+" [class*='kdds-table_column-']",d," tr:hover",d," td",d," .kdds-truncate",d,"::after {background: linear-gradient(to right, rgba(250, 250, 249, 0%) 0%, #fafaf9 69%);}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+",\r:host .kdds-table--resizable-cols":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+","+o+" .kdds-table--resizable-cols",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+",\r:host .kdds-table--resizable-cols":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+","+o+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," {width: var(--kdds-g-sizing-4);right: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,\r:host .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table--resizable-cols":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,"+o+" .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," .kdds-resizable__divider",d,"::after {right: 0;}",t?":host .kdds-table_resizable-cols":o+" .kdds-table_resizable-cols",d," thead",d," th:hover",d," {--kdds-s-datatable-column-resizer-display: block;}",t?":host .kdds-table_joined"+d+" table"+d+",\r:host .kdds-table.kdds-has-top-magnet":o+" .kdds-table_joined"+d+" table"+d+","+o+" .kdds-table.kdds-has-top-magnet",d," table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}",t?":host .kdds-table_joined-wrapper":o+" .kdds-table_joined-wrapper",d," {padding: var(--kdds-g-spacing-4) var(--kdds-g-spacing-4) 0 var(--kdds-g-spacing-4);border-radius: var(--kdds-g-radius-border-2);background-clip: padding-box;}",t?":host .kdds-table_joined-wrapper":o+" .kdds-table_joined-wrapper",d," .kdds-table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+","+o+" .kdds-max-medium-table--stacked",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" thead"+d+","+o+" .kdds-max-medium-table--stacked",d," thead",d," {position: absolute !important;margin: calc(var(var(--kdds-g-sizing-border-1) * 1px)) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+","+o+" .kdds-max-medium-table--stacked",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked",d," td",d," {display: block;padding: var(--kdds-g-sizing-4);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table--stacked",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-sizing-4);}",t?":host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)":o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .kdds-max-medium-table--stacked",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+","+o+" .kdds-max-medium-table--stacked",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked",d," th",d,"::before {padding-block-end: var(--kdds-g-spacing-1);}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," thead",d," {position: absolute !important;margin: calc(var(--kdds-g-sizing-border-1) * -1) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {display: block;padding: var(--kdds-g-spacing-3);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-spacing-3);}",t?":host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)":o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {text-align: right;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {float: left;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-truncate",d," {max-width: 100%;}}",t?":host .kdds-table_edit_container:focus"+d+",\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+","+o+" .kdds-table--edit_container:focus",d," {outline: none;}",t?":host .kdds-table_edit_container:focus"+d+"::before,\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+"::before,"+o+" .kdds-table--edit_container:focus",d,"::before {content: ' ';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;background-color: var(--kdds-g-color-neutral-base-95);box-shadow: 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-border-brand-2, var(--kdds-g-color-palette-blue-60)) inset;}",t?":host .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+",\r:host .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+","+o+" .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table--edit_container:focus",d," .kdds-table--edit_container-message",d," {display: block;position: absolute;top: 50%;left: 50%;width: var(--kdds-g-sizing-15);margin-block-start: calc((var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2)) * -1);margin-inline-start: calc(var(--kdds-g-sizing-13) * -1);background-color: var(--kdds-g-color-neutral-base-100);text-align: center;z-index: 1;}",t?":host .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container-message":o+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table--edit_container-message",d," {display: none;}",t?":host .kdds-table_edit"+d+" thead"+d+" th"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" thead"+d+" th"+d+","+o+" .kdds-table--edit",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_edit"+d+" .kdds-cell-error"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" .kdds-cell-error"+d+","+o+" .kdds-table--edit",d," .kdds-cell-error",d," {padding-inline-start: 0;}",t?":host .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+",\r:host .kdds-table--edit:not(.kdds-no-cell-focus)":o+" .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+","+o+" .kdds-table--edit:not(.kdds-no-cell-focus)",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-background: var(--kdds-c-datatable-cell-edit-background-hover);--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border-hover);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-is-edited",d," {background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-error",d," {}",t?":host .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+",\r:host .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+","+o+" .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .kdds-table--edit",d," .kdds-button__icon--edit:focus",d," {fill: var(--kdds-g-color-brand-base-50, var(--kdds-g-color-palette-blue-60));}",t?":host .kdds-has-focus":o+" .kdds-has-focus",d," .kdds-th__action",d," {}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit",d," {outline: 0;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," .kdds-button__icon--lock",d," {opacity: 1;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus:hover",d," {}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," a:focus",d," {text-decoration: underline;outline: none;}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-is-edited:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-has-error:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_header-fixed_container"+d+"::before,\r:host .kdds-table--header-fixed_container":o+" .kdds-table_header-fixed_container"+d+"::before,"+o+" .kdds-table--header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table_header-fixed"+d+",\r:host .kdds-table--header-fixed":o+" .kdds-table_header-fixed"+d+","+o+" .kdds-table--header-fixed",d," {border-block-start: 0;}",t?":host .kdds-table_header-fixed"+d+" thead"+d+" th"+d+",\r:host .kdds-table--header-fixed":o+" .kdds-table_header-fixed"+d+" thead"+d+" th"+d+","+o+" .kdds-table--header-fixed",d," thead",d," th",d," {padding: 0;border-block-start: 0;position: static;}",t?":host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+",\r:host .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table--header-fixed":o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+","+o+" .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table--header-fixed",d," tbody",d," tr:first-child",d," th",d," {}",t?":host .kdds-table_header-hidden":o+" .kdds-table_header-hidden",d," {border-block-start: 0;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-tree__item",d," .kdds-is-disabled",d," {visibility: hidden;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-is-selected",d," {background: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-is-focused",d," {text-decoration: underline;}",t?":host .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":o+" .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .kdds-tree",d," :host [aria-expanded='false']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":o+" .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .kdds-tree",d," :host [aria-expanded='true']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a",d," {color: var(--kdds-g-color-neutral-base-10);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:hover",d," {text-decoration: none;}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:focus",d," {outline: 0;text-decoration: underline;}",t?":host .kdds-tree-container"+d+",\r:host .kdds-tree_container":o+" .kdds-tree-container"+d+","+o+" .kdds-tree_container",d," {min-width: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));max-width: var(--kdds-c-tree-sizing-max-width, var(--kds-c-tree-sizing-max-width, calc(var(--kdds-g-sizing-15) + var(--kdds-g-sizing-12))));}",t?":host .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+",\r:host .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree_container":o+" .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+","+o+" .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree_container",d," > .kdds-text-heading--label",d," {margin-block-end: var(--kdds-g-spacing-2);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," {display: flex;padding: 0 calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-9)) var(--kdds-g-sizing-5);}",t?":host .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree__item:hover":o+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree__item:hover",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']:focus",d," {outline: 0;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']:focus",d," > .kdds-tree__item",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;text-decoration: none;box-shadow: var(--kdds-g-shadow-inset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-selected='true']:focus",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset,\r\n 0 0 0 var(--kdds-g-sizing-border-2) var(--kdds-g-color-neutral-base-100),\r\n 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-brand-base-40, var(--kdds-g-color-border-accent-2));}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {background: rgba(21, 137, 238, 10%);box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset;}",t?":host [dir='rtl']":o+" [dir='rtl']",d," .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) calc(var(--kdds-g-sizing-border-4) * -1) 0 0 inset;}",t?":host .kdds-tree":o+" .kdds-tree",d," [aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);}",t?":host .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree":o+" .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item:hover",d," {background-color: transparent;cursor: default;}",t?":host .kdds-tree":o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item-meta",d," {color: inherit;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']",d," > [role='group']",d," {display: none;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-expanded='true']",d," > [role='group']",d," {display: block;}",t?":host [aria-expanded='false']":o+" [aria-expanded='false']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host [aria-expanded='true']":o+" [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host [dir='rtl']":o+" [dir='rtl']",d," [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transform: rotate(-90deg);}",t?":host [aria-level='1']":o+" [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-4);}",t?":host [aria-level='2']":o+" [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-6);}",t?":host [aria-level='3']":o+" [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-3);}",t?":host [aria-level='4']":o+" [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-10);}",t?":host [aria-level='5']":o+" [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-12);}",t?":host [aria-level='6']":o+" [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-4));}",t?":host [aria-level='7']":o+" [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-6));}",t?":host [aria-level='8']":o+" [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-8));}",t?":host [aria-level='9']":o+" [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-10));}",t?":host [aria-level='10']":o+" [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 2);}",t?":host [aria-level='11']":o+" [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-4));}",t?":host [aria-level='12']":o+" [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-6));}",t?":host [aria-level='13']":o+" [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-8));}",t?":host [aria-level='14']":o+" [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-10));}",t?":host [aria-level='15']":o+" [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 3);}",t?":host [aria-level='16']":o+" [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-4));}",t?":host [aria-level='17']":o+" [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-6));}",t?":host [aria-level='18']":o+" [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-8));}",t?":host [aria-level='19']":o+" [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-10));}",t?":host [aria-level='20']":o+" [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 4);}",t?":host .kdds-tree__item-label":o+" .kdds-tree__item-label",d," {display: block;}",t?":host .kdds-tree__item-meta":o+" .kdds-tree__item-meta",d," {display: block;color: var(--kdds-g-color-neutral-base-30);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-button",d," {align-self: flex-start;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-pill",d," {margin-inline-start: var(--kdds-g-spacing-3);}",t?":host .kdds-tree__group-header":o+" .kdds-tree__group-header",d," {font-size: var(--kdds-g-font-scale-1);font-weight: var(--kdds-g-font-weight-7);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," .kdds-tree__item",d," {line-height: var(--kdds-g-font-lineheight-4);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+","+o+" .kdds-table--tree",d," .kdds-tree__item",d," a",d," {color: var(--kdds-g-link-color, var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+","+o+" .kdds-table--tree",d," .kdds-tree__item",d," a:hover",d," {text-decoration: underline;}",t?":host .kdds-table_tree"+d+" .kdds-button"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-button"+d+","+o+" .kdds-table--tree",d," .kdds-button",d," {align-self: center;}",t?":host .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+","+o+" .kdds-table--tree",d," .kdds-button:not(.kdds-th__action-button)",d," {margin-block-start: 0;}",t?":host .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-7);}",t?":host .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-9);}",t?":host .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-11);}",t?":host .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 4) + var(--kdds-g-spacing-2));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+","+o+" .kdds-table",d," tbody",d," tr.kdds-table-expand-container:hover",d," > td",d," {background-color: var(--kdds-c-datatable-expand-row-background);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr[data-row-key-value='EXPAND']",d," > td",d," {padding: 0;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-selected",d," {background-color: var(--kdds-c-datatable-range-selection-background) !important;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-top",d," {border-block-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-bottom",d," {border-block-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-left",d," {border-inline-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-right",d," {border-inline-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr",d," > td.kdds-datatable-nodata-cell",d," {padding: var(--kdds-c-datatable-default-text-margin-vertical) 0;border-inline-start: none;border-inline-end: none;}"].join("")}];var _e=[[n,i,l,c,u,b,h,k,ve,fe,ye,xe],function(e,t,a){var d=e?"["+e+"]":"";return[".table-header",d," {height: 0;}[part='cell']",d," {position: relative;padding-inline: var(--kdds-g-sizing-3, 0.5rem);padding-block: var(--kdds-g-sizing-2, 0.25rem);white-space: nowrap;align-items: center;}[role='gridcell']:focus",d,",\r[role='rowheader']:focus",d," {box-shadow: var(\r\n --kdds-g-shadow-6,\r\n var(\r\n --kwc-shadowButtonFocus,\r\n 0 0 3px var(--kdds-g-color-brand-base-50, #0176d3)\r\n )\r\n );outline: none;}[role='columnheader']",d," {outline: none;color: var(--kdds-g-color-info-1, #514f4d);font-weight: var(--kdds-g-font-weight-7, 700);line-height: normal;}[data-row-key-value]",d," {border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='gridcell']:not(.kdds-has-focus)",d,",\r[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='rowheader']:not(.kdds-has-focus)",d," {box-shadow:\r\n inset 0 var(--kdds-g-sizing-border-1, 1px)\r\n var(--kdds-g-color-border-1, #c9c9c9),\r\n inset 0 calc(var(--kdds-g-sizing-border-1, 1px) * -1)\r\n var(--kdds-g-color-border-1, #c9c9c9);}.kdds-table_header-fixed",d," [data-row-key-value]:first-child",d," {border-top: 0;}[role='row']",d," {counter-increment: row-number;display: flex;}[role='row']:hover",d,",\r[data-row-key-value='HEADER']",d," > *",d," {background-color: var(--kdds-g-color-palette-neutral-95, #f3f2f2);}[role='row'].kdds-is-selected",d," {background-color: var(--kdds-g-color-palette-neutral-90, #ecebea);}.kdds-cell-edit:hover",d," {background-color: var(--kdds-g-color-surface-container-1);}[part='cell'].kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",a?"":'[dir="rtl"]'," div[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > span[data-inline-type='formatted-number']",a?":dir(rtl)":"",d,",",a?"":'[dir="rtl"]'," \rdiv[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > a[data-inline-type='formatted-phone']",a?":dir(rtl)":"",d," {direction: ltr;unicode-bidi: embed;}[part='spinner']",d," {padding: var(--kdds-g-sizing-2, 0.25rem) var(--kdds-g-sizing-3, 0.5rem);border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-header]",d," {display: block;}[data-row-key-value='HEADER']",d," {display: table-row;}[data-row-key-value='HEADER']",d," > *",d," {display: table-cell;position: relative;border-bottom: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-neutral-base-70, var(--kwc-colorGray5, #dddbda));padding: 0;vertical-align: middle;}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *.kdds-has-focus",d," {box-shadow:\r\n #014486 0 0 0 1px inset,\r\n #014486 -0.25rem 0 0 inset;}[part='datagrid-header']",d," {position: absolute;top: 0;}"].join("")}];const we=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Ce=e`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,Ae=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Te=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Re=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ze=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ie=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Le=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Se=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,$e=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,Ve=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Me=e`<span${3}>${"t1"}</span>`,Ee=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,De=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ke=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,We=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ne=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,He=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Fe=e`<span dir="ltr"${3}>${"t1"}</span>`,Be=e`<span${3}>${"t1"}</span>`,Oe=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,je=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:target"}${"a0:tabindex"}${"a0:title"}${3}>${"t1"}</a>`,Pe=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Ue=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,qe=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Qe=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ye=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Xe=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Ge=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Ze=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Je=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,et=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,tt=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,at=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,dt=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,ot=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,st=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,rt=e`<span${3}>${"t1"}</span>`,nt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,it=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,lt=e`<a data-inline-type="formatted-phone" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ct=e`<a data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ut=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,bt=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,ht=e`<span dir="ltr"${3}>${"t1"}</span>`,kt=e`<span${3}>${"t1"}</span>`,pt=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,mt=e`<a data-inline-type="formatted-url" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:title"}${"a0:target"}${"a0:tabindex"}${3}>${"t1"}</a>`,gt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,vt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ft=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,yt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,xt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,_t=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,wt={name:"customdatatypes"},Ct=[],At={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},Tt={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],attrs:{part:"datagrid-wrapper"},ref:"outerContainer",key:5},Rt={"data-iedit-panel":"true"},zt={"kdds-scrollable_y":!0},It={attrs:{part:"datagrid-header","data-rowgroup-header":"",role:"rowgroup"},key:10},Lt={"kdds-line-height_reset":!0,"table-header":!0},St={role:"row","aria-rowindex":"1","data-row-key-value":"HEADER"},$t={"column-header":!0,cell:!0},Vt={part:"datagrid-body","data-rowgroup-body":"",role:"rowgroup"},Mt={"kdds-checkbox":!0},Et={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},Dt={"data-navigation":"enable"},Kt={"kdds-m-right_x-small":!0},Wt={key:74},Nt={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},Ht={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},Ft={key:143},Bt={"kdds-table-expand-container":!0},Ot={key:168},jt={"kdds-datatable-nodata-cell":!0};function Pt(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:y,t:x,fr:_,fid:S}=e,{_m0:$,_m1:V,_m2:M,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:H,_m9:F,_m10:B,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",L,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:wt,key:1,on:$||(d._m0={slotchange:o(t.handleCustomTypesChange)})},Ct,a),l(we,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",At),c("div",Tt,[u("kd-primitive-datatable-iedit-panel",p,{attrs:Rt,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:V||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:zt,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("div",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{part:"datagrid",role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(t.ariaDescribedBy),"aria-rowcount":t.ariaRowCount,"aria-colcount":t.ariaColCount,"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("div",It,[c("div",{classMap:Lt,attrs:St,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},y(t.state.columns,function(e,a){return c("div",{classMap:$t,style:e.style,attrs:{part:"cell",role:e.role,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:14})])}))]):null,t.hasValidKeyField?c("div",{style:t.computedTbodyStyle,attrs:Vt,ref:"tableBody",key:15},y(t.renderedRows,function(e){return c("div",{className:r(e.classnames),style:e.style,attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,"aria-rowindex":e.ariaRowIndex,tabindex:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},y(e.cells,function(a){return[a.isRowExpand?c("div",{className:r(a.class),attrs:{role:"gridcell",tabindex:h(a.tabIndex),"data-col-key-value":a.colKeyValue},key:k(17,a.colKeyValue)},[u("kd-primitive-cell-expand",g,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:a.hasFocus,rowIndex:t.rowIndex,colKeyValue:a.colKeyValue},key:18})]):null,a.isCheckbox?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(19,a.colKeyValue)},[a.isInlined?c("span",{classMap:Mt,attrs:Et,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:a.checkboxName,id:b(a.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},props:{checked:e.isSelected},key:21,on:H||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(Ce,23,[i(0,{attrs:{id:b(a.checkboxLabelId),for:b(a.checkboxId)}},null),i(3,null,n(a.checkboxSelectItemAssistiveText))])]):null,a.isInlined?null:u("kd-primitive-cell-checkbox",v,{attrs:{"data-label":a.dataLabel},props:{dtContextId:t._datatableId,hasFocus:a.hasFocus,rowKeyValue:e.key,colKeyValue:a.colKeyValue,rowIndex:e.rowIndex,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,a.isSortingMenu?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue},key:k(25,a.colKeyValue)},[u("kd-primitive-datatable-cell",f,{props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue},key:26})]):null,a.isDataTypeScope?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"rowheader","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,"aria-describedby":b(a.describedBy),tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(27,a.colKeyValue),on:F||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:28},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:29})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:30},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:Dt,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:31}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:32},[a.hasLeftIcon?u("kd-icon",A,{classMap:Kt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:33}):null,a.hasLeftIcon?x(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?_(34,[l(Ae,36)],0):_(34,[l(Te,38)],0):null,a.isBoolean?l(Re,40,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(ze,42,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:43}):null,a.isDateLocal?l(Ie,45,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(Le,47,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:S(a.emailLink),tabindex:h(a.internalTabIndex)},key:48},[a.emailIconHidden?null:a.isRTL?_(49,[l(Se,51)],0):_(49,[l($e,53)],0),a.emailIconHidden?null:l(Ve,55,[i(1,null,n(a.emailIconAssistiveText))]),x(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(Me,57,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:x(n(a.locationValue)):null,a.isNumber?l(Ee,59,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(De,61,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(Ke,63,[i(0,{attrs:{href:S(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(We,65,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(Ne,67,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(He,69):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(Fe,71,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(Be,73,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:x(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",Wt,y(a.textParts,function(e){return[e.isLink?l(Oe,k(76,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?x(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(je,78,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),target:a.urlTarget,tabindex:h(a.internalTabIndex),title:a.urlTooltip}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",A,{classMap:Nt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:79}):null,a.hasRightIcon?x(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Ht,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:80,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?_(81,[l(Pe,83)],0):_(81,[l(Ue,85)],0),l(qe,87,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?_(88,[l(Qe,90)],0):_(88,[l(Ye,92)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",T,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,alignment:a.alignment,hasError:a.hasError,hasFocus:a.hasFocus,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:93}),a.isInlined?null:a.describedBy?l(Xe,95,[i(0,{attrs:{id:b(a.describedBy)}},null)]):null]):null,a.isDataType?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"gridcell","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(96,a.colKeyValue),on:O||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:97},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:98})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:99},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:Dt,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:100}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:101},[a.hasLeftIcon?u("kd-icon",A,{classMap:Kt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:102}):null,a.hasLeftIcon?x(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?_(103,[l(Ge,105)],0):_(103,[l(Ze,107)],0):null,a.isBoolean?l(Je,109,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(et,111,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:112}):null,a.isDateLocal?l(tt,114,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(at,116,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-navigation":"enable","data-action-triggers":"enter",href:S(a.emailLink),tabindex:h(a.internalTabIndex)},key:117},[a.emailIconHidden?null:a.isRTL?_(118,[l(dt,120)],0):_(118,[l(ot,122)],0),a.emailIconHidden?null:l(st,124,[i(1,null,n(a.emailIconAssistiveText))]),x(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(rt,126,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:x(n(a.locationValue)):null,a.isNumber?l(nt,128,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(it,130,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(lt,132,[i(0,{attrs:{href:S(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(ct,134,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(ut,136,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(bt,138):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(ht,140,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(kt,142,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:x(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",Ft,y(a.textParts,function(e){return[e.isLink?l(pt,k(145,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?x(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(mt,147,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),title:a.urlTooltip,target:a.urlTarget,tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",A,{classMap:Nt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:148}):null,a.hasRightIcon?x(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Ht,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:149,on:j||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?_(150,[l(gt,152)],0):_(150,[l(vt,154)],0),l(ft,156,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?_(157,[l(yt,159)],0):_(157,[l(xt,161)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",T,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,ariaDescribedBy:b(a.describedBy),alignment:a.alignment,hasFocus:a.hasFocus,hasError:a.hasError,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:162}),a.isInlined?null:a.describedBy?l(_t,164,[i(0,{attrs:{id:b(a.describedBy)}},null)]):null]):null]}))})):null,t.hasValidKeyField&&t.row.isRowExpanded?c("div",{classMap:Bt,attrs:{"data-row-key-value":"EXPAND","data-expand-row-key-value":t.row.key},key:165},[c("div",{attrs:{colspan:t.state.columns.length},key:166},[u("kd-primitive-custom-row",R,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:t.row,expandRowExtraParams:t.expandable.expandRowExtraParams},key:167})])]):null,t.tableNoData?c("div",Ot,[c("div",{classMap:jt,attrs:{colspan:t.state.columns.length},key:169},[u("kd-primitive-datatable-no-data",z,{props:{width:t.state.tableWrapperWidth},key:170})])]):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",I,{props:{error:t.tableError},key:171,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var Ut=t(Pt);Pt.slots=["customdatatypes"],Pt.hasRefs=!0,Pt.stylesheets=[],Pt.stylesheetToken="kwc-55hpmrcqncf",Pt.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable\\templates\\div-undefined_div",_e&&Pt.stylesheets.push.apply(Pt.stylesheets,_e),a(Pt);var qt=[[n,i,l,c,u,b,h,k,ve,fe,ye,xe],function(e,t,a){var d=e?"["+e+"]":"";return".kdds-table_header-fixed_container"+d+"::before {width: 0;}.kdds-table_header-fixed_container"+d+" > .kdds-scrollable_y"+d+"::before {width: 100%;content: '';display: block;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" {contain: strict;content-visibility: auto;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" {contain-intrinsic-height: auto 29px;}"+(a?"":'[dir="rtl"]')+" .kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > span[data-inline-type='formatted-number']"+(a?":dir(rtl)":"")+d+","+(a?"":'[dir="rtl"]')+" \r.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > a[data-inline-type='formatted-phone']"+(a?":dir(rtl)":"")+d+" {direction: ltr;unicode-bidi: embed;}"}];const Qt=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Yt=e`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,Xt=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Gt=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Zt=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Jt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ea=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ta=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,aa=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,da=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,oa=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,sa=e`<span${3}>${"t1"}</span>`,ra=e`<span${3}>${"t1"}</span>`,na=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ia=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,la=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ca=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ua=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,ba=e`<span dir="ltr"${3}>${"t1"}</span>`,ha=e`<span${3}>${"t1"}</span>`,ka=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,pa=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,ma=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ga=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,va=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,fa=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,ya=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,xa=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,_a=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,wa=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Ca=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Aa=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ta=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ra=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,za=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,Ia=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,La=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Sa=e`<span${3}>${"t1"}</span>`,$a=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Va=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ma=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ea=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Da=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ka=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Wa=e`<span dir="ltr"${3}>${"t1"}</span>`,Na=e`<span${3}>${"t1"}</span>`,Ha=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Fa=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,Ba=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Oa=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ja=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Pa=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ua=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,qa=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Qa={name:"customdatatypes"},Ya=[],Xa={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},Ga={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],ref:"outerContainer",key:5},Za={"data-iedit-panel":"true"},Ja={"kdds-scrollable_y":!0},ed={attrs:{"data-rowgroup-header":""},key:10},td={"kdds-line-height_reset":!0},ad={role:"row","data-row-key-value":"HEADER"},dd={"data-rowgroup-body":""},od={"kdds-checkbox":!0},sd={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},rd={"data-navigation":"enable"},nd={"kdds-m-right_x-small":!0},id={key:72},ld={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},cd={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},ud=[["height","100%",!1]],bd={key:141},hd={"kdds-table-expand-container":!0},kd={key:166},pd={"kdds-datatable-nodata-cell":!0};function md(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:f,t:y,fr:x,fid:_,f:S}=e,{_m0:$,_m1:V,_m2:M,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:H,_m9:F,_m10:B,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",L,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:Qa,key:1,on:$||(d._m0={slotchange:o(t.handleCustomTypesChange)})},Ya,a),l(Qt,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",Xa),c("div",Ga,[u("kd-primitive-datatable-iedit-panel",p,{attrs:Za,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:V||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:Ja,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("table",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(t.ariaDescribedBy),"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("thead",ed,[c("tr",{classMap:td,attrs:ad,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},f(t.state.columns,function(e,a){return c("th",{style:e.style,attrs:{role:e.role,scope:e.scope,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:14})])}))]):null,t.hasValidKeyField?c("tbody",{style:t.computedTbodyStyle,attrs:dd,ref:"tableBody",key:15},S([f(t.renderedRows,function(e,a){return[c("tr",{className:r(e.classnames),attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,tabindex:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},f(e.cells,function(s){return[s.isRowExpand?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-col-key-value":s.colKeyValue},key:k(17,s.colKeyValue)},[u("kd-primitive-cell-expand",g,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:s.hasFocus,rowIndex:a,colKeyValue:s.colKeyValue},key:18})]):null,s.isCheckbox?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value},key:k(19,s.colKeyValue)},[s.isInlined?c("span",{classMap:od,attrs:sd,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:s.checkboxName,id:b(s.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},props:{checked:e.isSelected},key:21,on:H||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(Yt,23,[i(0,{attrs:{id:b(s.checkboxLabelId),for:b(s.checkboxId)}},null),i(3,null,n(s.checkboxSelectItemAssistiveText))])]):null,s.isInlined?null:u("kd-primitive-cell-checkbox",v,{attrs:{"data-label":s.dataLabel},props:{dtContextId:t._datatableId,hasFocus:s.hasFocus,rowKeyValue:e.key,colKeyValue:s.colKeyValue,rowIndex:a,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,s.isDataTypeScope?c("th",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"rowheader","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,scope:"row",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(25,s.colKeyValue),on:F||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:26},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:27})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:28},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:rd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:29}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:30},[s.hasLeftIcon?u("kd-icon",A,{classMap:nd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:31}):null,s.hasLeftIcon?y(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?x(32,[l(Xt,34)],0):x(32,[l(Gt,36)],0):null,s.isBoolean?l(Zt,38,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(Jt,40,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:41}):null,s.isDateLocal?l(ea,43,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(ta,45,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:_(s.emailLink),tabindex:h(s.internalTabIndex)},key:46},[s.emailIconHidden?null:s.isRTL?x(47,[l(aa,49)],0):x(47,[l(da,51)],0),s.emailIconHidden?null:l(oa,53,[i(1,null,n(s.emailIconAssistiveText))]),y(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(sa,55,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:y(n(s.locationValue)):null,s.isNumber?l(ra,57,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(na,59,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(ia,61,[i(0,{attrs:{href:_(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(la,63,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:_(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(ca,65,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber?l(ua,67):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(ba,69,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(ha,71,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:y(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",id,f(s.textParts,function(e){return[e.isLink?l(ka,k(74,e.key),[i(0,{attrs:{href:_(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?y(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(pa,76,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:_(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",A,{classMap:ld,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:77}):null,s.hasRightIcon?y(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:cd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:78,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?x(79,[l(ma,81)],0):x(79,[l(ga,83)],0),l(va,85,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?x(86,[l(fa,88)],0):x(86,[l(ya,90)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",T,{styleDecls:ud,attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:91}),s.describedBy?l(xa,93,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null,s.isDataType?c("td",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"gridcell","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(94,s.colKeyValue),on:O||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:95},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:96})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:97},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:rd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:98}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:99},[s.hasLeftIcon?u("kd-icon",A,{classMap:nd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:100}):null,s.hasLeftIcon?y(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?x(101,[l(_a,103)],0):x(101,[l(wa,105)],0):null,s.isBoolean?l(Ca,107,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(Aa,109,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:110}):null,s.isDateLocal?l(Ta,112,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(Ra,114,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:_(s.emailLink),tabindex:h(s.internalTabIndex)},key:115},[s.emailIconHidden?null:s.isRTL?x(116,[l(za,118)],0):x(116,[l(Ia,120)],0),s.emailIconHidden?null:l(La,122,[i(1,null,n(s.emailIconAssistiveText))]),y(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(Sa,124,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:y(n(s.locationValue)):null,s.isNumber?l($a,126,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(Va,128,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(Ma,130,[i(0,{attrs:{href:_(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(Ea,132,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:_(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(Da,134,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber&&s.rowHasError?y("</kd-primitive-datatable-tooltip>"):null,s.isRowNumber?l(Ka,136):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(Wa,138,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(Na,140,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:y(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",bd,f(s.textParts,function(e){return[e.isLink?l(Ha,k(143,e.key),[i(0,{attrs:{href:_(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?y(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(Fa,145,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:_(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",A,{classMap:ld,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:146}):null,s.hasRightIcon?y(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:cd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:147,on:j||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?x(148,[l(Ba,150)],0):x(148,[l(Oa,152)],0),l(ja,154,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?x(155,[l(Pa,157)],0):x(155,[l(Ua,159)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",T,{attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:160}),s.describedBy?l(qa,162,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null]})),e.isRowExpanded?c("tr",{classMap:hd,attrs:{"data-expand-row-key-value":e.key,"data-row-key-value":"EXPAND"},key:k(163,e.key)},[c("td",{attrs:{colspan:t.state.columns.length},key:164},[u("kd-primitive-custom-row",R,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:e,expandRowExtraParams:t.expandable.expandRowExtraParams},key:165})])]):null]}),t.tableNoData?c("tr",kd,[c("td",{classMap:pd,attrs:{colspan:t.state.columns.length},key:167},[u("kd-primitive-datatable-no-data",z,{props:{width:t.state.tableWrapperWidth},key:168})])]):null])):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",I,{props:{error:t.tableError},key:169,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var gd=t(md);md.slots=["customdatatypes"],md.hasRefs=!0,md.stylesheets=[],md.stylesheetToken="kwc-dlqna8ig4n",md.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable\\templates\\table-undefined_table",qt&&md.stylesheets.push.apply(md.stylesheets,qt),a(md);const vd={add(e){return"string"==typeof e?this[e]=!0:Object.assign(this,e),this},invert(){const e=Object.keys(this);for(let t=0,{length:a}=e;t<a;t+=1){const a=e[t];this[a]=!this[a]}return this},toString(){return E(this)}},fd=/^\d+$/,yd=/^[0-9]*[1-9][0-9]*$/,xd=/\binline\b/,_d=/\brole-based\b/;function wd(e){return"string"==typeof e?e.replace(/"/g,'\\"'):e}const Cd=function(e){return"object"==typeof e&&null!==e};function Ad(e,t,a){return e<=t?t:e>=a?a:e}function Td(e){return`[data-row-key-value="${wd(e)}"]`}function Rd(e){if(!e)return null;const{firstElementChild:t}=e;return t}function zd(e,t){return t&&t.scrollerX||e.querySelector(".kdds-scrollable_x")}function Id(e,t){return t&&t.scrollerY||e.querySelector(".kdds-scrollable_y")}function Ld(e){return fd.test(e)}function Sd(e,t,a,d){let o;if("positive"===a){if(function(e){return yd.test(e)}(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer > 0.`}else if("non-negative"===a){if(Ld(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer >= 0.`}else o="Invalid number type during normalization of number attribute";return d}function $d(e){return e.scrollHeight-e.parentNode.scrollTop-e.parentNode.clientHeight}function Vd(e){return Array.isArray(e)?e:[]}const Md={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0};function Ed(e,t,a,d){!function(e,t,a,d){const o=e[a],{columnWidths:s}=t,r=s[a],{minWidth:n,maxWidth:i}=o,l=Ad(d,n,i);if(r!==l){const d=l-r;if(s[a]=l,t.tableWidth+=d,o.columnWidth=l,o.style=l?`width: ${l}px;`:"",D())for(let t=a+1;t<e.length;t+=1)e[t].offset+=d;o.isResized=!0}}(e,t,a,t.columnWidths[a]+d)}function Dd(e,t){const{maxColumnWidth:a,minColumnWidth:d}=t;for(let t=0;t<e.length;t+=1){const o=e[t];o.internal||(o.maxWidth=a,o.minWidth=d);const{initialWidth:s}=o;if(s){const{minWidth:e,maxWidth:t}=o;o.initialWidth=Ad(s,e,t)}}}function Kd(e,t){const a=[],{columnWidths:d}=t;for(let t=0;t<e.length;t+=1)!0!==e[t].internal&&a.push(d[t]);return a}function Wd(e,t){const a=Id(e,t);return a&&!!(a.offsetParent||a.offsetHeight||a.offsetWidth)}function Nd(e){return e.loadMoreOffset}function Hd(e){const{state:t}=this;if(t.isLoading)return;const a=e.target.firstChild;if(!a)return;$d(a)<Nd(t)&&this.dispatchEvent(new CustomEvent("loadmore"))}function Fd(){const{state:e,template:t,validRefs:a}=this;if(e.isLoading||!e.enableInfiniteLoading||e.enableViewportRendering&&this._renderManager&&!this._renderManager.hasWrapperHeight()||!e.rows.length)return;const d=re?Id(t,a):null;var o;d&&((o=d).offsetParent&&o.offsetHeight>1&&o.offsetWidth>1)&&!function(e){return e.scrollHeight>e.clientHeight+2}(d)&&this.dispatchEvent(new CustomEvent("loadmore"))}const Bd="HEADER";function Od(e,t,a){return e.indexes[`${t}-${a}`]}function jd(e,t){const a=e.indexes[t];return a?a.rowIndex:void 0}function Pd(e,t){return e.indexes[t]}function Ud(e,t){const a=e.indexes[t];return a?e.data[a.rowIndex]:void 0}function qd(e,t,a){return void 0!==e.indexes[`${t}-${a}`]}const Qd="rowNumber",Yd={rowLevelErrorAssistiveText:S.rowLevelErrorAssistiveText};const Xd="SELECTABLE_CHECKBOX",Gd="SELECTABLE_BUTTON_MENU",Zd="checkbox",Jd="radio";function eo(e,t){if(!e.selectedRowsKeys[t]){const{maxRowSelection:t}=e;return oo(e)&&to(e)===t}return!1}function to(e){let t=0;const{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1)a[d[e]]&&(t+=1);return t}function ao(e){const t=[],{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1){const o=d[e];a[o]&&t.push(o)}return t}function oo(e){return 1!==e.maxRowSelection||e.singleRowSelectionMode===Zd}const so={rowActionsDefaultAriaLabel:S.rowActionsDefaultAriaLabel,rowNumber:S.rowNumber},ro={type:Qd,ariaLabel:so.rowNumber,fixedWidth:40,internal:!0,resizable:!1,sortable:!1,tabIndex:-1,label:"#"},no={type:Xd,fixedWidth:32,internal:!0,tabIndex:-1},io={type:y,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1},lo={type:Gd,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1};function co({state:e,rawColumns:t,types:a,expandable:d}){e.hadTreeDataTypePreviously=void 0!==e.treeColumn,e.treeColumn=void 0;const{columns:o,indexes:s}=e,r=!!d;for(let e=0,{length:t}=o;e<t;e+=1){s[`${Bd}-${o[e].colKeyValue}`]=void 0}const{length:n}=t;if(0===n)return e.columns=[],void(e.headerIndexes={});let i=-1,l=n,{showRowNumberColumn:c}=e;const{showActionsMenu:u}=e,b=!e.hideCheckboxColumn;if(!c)for(let a=0;a<n;a+=1)if(t[a].editable){c=!0,e.showRowNumberColumn=!0;break}c&&(l+=1),b&&(l+=1),r&&(l+=1),t.forEach((e,t)=>{"action"===e.type&&(i=t)});const h=i===t.length-1;u&&!h&&(l+=1);const k=Array(l),p={};e.columns=k,e.headerIndexes=p;let m=0;r&&(k[m]=Object.assign({},io),m+=1),b&&(k[m]=Object.assign({},no),m+=1),c&&(k[m]=Object.assign({},ro),m+=1),u&&!h&&(k[l-1]=Object.assign({},lo));for(let e=0;e<n;e+=1)k[e+m]=t[e];const{defaultSortDirection:g,sortedBy:v,sortedDirection:f}=e,x=Array.isArray(v),_=new Set;for(let t=0;t<l;t+=1){const d=k[t],{columnKey:o}=d;o&&_.has(o),_.add(o);const{type:s}=d,r=o||d.fieldName,n={ariaLabel:"",cellAttributes:{},resizable:!0,type:"text",typeAttributes:{},subType:"",role:"columnheader",scope:"col",hideDefaultActions:!0};n.initialWidth||(["number","percent","currency"].includes(s)?n.initialWidth=160:n.initialWidth=200),"action"===s?(n.ariaLabel=so.rowActionsDefaultAriaLabel,n.fixedWidth=50,n.resizable=!1):"tree"===s?n.subType="text":s!==Xd&&s!==y||(n.role="gridcell",n.scope=null),Object.assign(n,d),k[t]=n;let{type:i}=n;if(n.ariaLabel=n.label||n.ariaLabel||null,n.editableCustomType=a.isStandardCellLayoutForCustomType(i),!n.internal){if(a.isValidType(i)||(i="text",n.type=i),a.isEditableType(i)){const{editable:e}=n;e&&e.fieldName||(n.editable=oe(e)),n.editTemplate=a.getCustomTypeEditTemplate(i)}else n.editable=!1,n.editTemplate=void 0;const{sortable:e}=n;e&&(x?v.includes(r):v===r)?(n.sorted=!0,n.sortAriaLabel=x?"desc"===f[v.indexOf(r)]?"descending":"ascending":"desc"===f?"descending":"ascending",n.sortedDirection=x?f[v.indexOf(r)]:f):(n.sorted=!1,n.sortAriaLabel=e?"other":null,n.sortedDirection=g)}const c=n.colKeyValue||`${r||t}-${i}-${t}`;if(n.colKeyValue=c,n.isLastCol=t===l-1,n.isScopeCol=t===m,n.name=r,n.tabIndex=-1,p[c]=t,"tree"===n.type){void 0===e.treeColumn&&(e.treeColumn=n);const{typeAttributes:t}=n,d={};a.isValidTypeForTree(t.subType)||(d.subType="text"),t.subTypeAttributes||(d.subTypeAttributes={}),n.typeAttributes=Object.assign({},t,d)}const{actions:u}=n;n.actions={menuAlignment:n.isLastCol||"action"===k[t+1].type||k[t+1].fixedWidth<100?"auto-right":"auto-left",customerActions:Array.isArray(u)?u:[],internalActions:[]}}}function uo(e){const{typeAttributes:t}=e;return Cd(t)?t:{}}function bo(e){const{subTypeAttributes:t}=e.typeAttributes;return Cd(t)?t:{}}function ho(e){const{cellAttributes:t}=e;return Cd(t)?t:{}}function ko(e,t){const{columns:a}=e,d=Od(e,Bd,t),o=d&&d.colIndex;if(void 0===o||-1===o||a[o].internal)return-1;let s=0;for(let e=0;e<o;e+=1)a[e].internal&&(s+=1);return o-s}function po(e,t){return e.headerIndexes[t]}function mo(){return{columns:[],hadTreeDataTypePreviously:!1,hideCheckboxColumn:!1,showActionsMenu:!1,treeColumn:void 0,data:[],hasCalledUpdateRowsAndCells:!1,keyField:void 0,rows:[],checkboxCells:[],lookupCells:[],shownUrlCells:[],selectedRowsKeys:{},lastSelectedRowKey:void 0,maxRowSelection:void 0,singleRowSelectionMode:void 0,hideTableHeader:!1,wrapTableHeader:"none",headerIndexes:{},indexes:{},keyboardMode:"NAVIGATION",rowMode:!1,activeCell:void 0,tabindex:0,cellToFocusNext:null,cellClicked:!1,normalized:!1,wrapTextMaxLines:void 0,sortedBy:void 0,sortedDirection:void 0,defaultSortDirection:"asc",showRowNumberColumn:!1,rowNumberOffset:0,enableInfiniteLoading:!1,loadMoreOffset:20,isLoading:!1,renderModeInline:!1,renderModeRoleBased:!1,enableViewportRendering:void 0,virtualize:"",bufferSize:5,rowHeight:30.5,renderedRowCount:0,firstVisibleIndex:0,heightCache:{},offsets:[0],offsetRanges:[],firstRowOffset:0,tableHeight:0,shouldResetHeights:!1,tableWrapperWidth:0,inlineEdit:{rowKeyValue:void 0,colKeyValue:void 0,columnDef:{},dirtyValues:{},editedValue:void 0,isPanelVisible:!1,massEditEnabled:!1,massEditSelectedRows:void 0,resolvedAttributeTypes:{},cellRect:{}},errors:{rows:{},table:{}},hasReceivedFocus:!1,hasRenderedFirstTime:!1,expandedRowKeys:new Set,rangeSelection:[]}}const{keyboardMode:go}=mo(),vo={edit:S.edit,editHasError:S.editHasError,emailLabel:S.emailLabel,false:S.false,selectItem:S.selectItem,true:S.true},fo=()=>{},yo={isInlined:!0,actionableElementsCount:0,computedCellDivClass:"",computedCellDivStyle:"",computedWrapperClass:"",currentInputIndex:0,editIconAssistiveText:"",hasFocus:!1,hasLeftIcon:!1,hasRightIcon:!1,internalTabIndex:-1,isRTL:!1,mode:go,shouldDisplayReadOnlyIcon:!1};function xo(e,t,a,d){const{columnSubType:o,columnType:s,isCheckbox:r,isCustom:n}=t;if("boolean"===s||"boolean"===o)Object.assign(t,yo,{isBoolean:!0,isChecked:!1,booleanCellAssistiveText:""});else if(r&&a){const{rowNumber:a}=t;Object.assign(t,yo,{checkboxId:`${d}-check-id-${a}`,checkboxLabelId:`check-button-label-${a}`,checkboxName:`${d}-options-${a}`,checkboxSelectItemAssistiveText:`${vo.selectItem} ${a}`}),e.checkboxCells.push(t)}else r?Object.assign(t,{isInlined:!1}):n?Object.assign(t,yo,{keyboardMode:""}):"currency"===s||"currency"===o?Object.assign(t,yo,{isCurrency:!0,currencyValue:""}):"date-local"===s||"date-local"===o?Object.assign(t,yo,{isDateLocal:!0,dateLocalValue:""}):"date"===s||"date"===o?Object.assign(t,yo,{isDateTime:!0,dateTimeValue:""}):"email"===s||"email"===o?Object.assign(t,yo,{isEmail:!0,emailIconAssistiveText:"",emailIconHidden:!1,emailLabel:"",showEmailLink:!1}):"location"===s||"location"===o?Object.assign(t,yo,{isLocation:!0,locationValue:""}):"reference"===s||"reference"===o?(Object.assign(t,yo,{isLookup:!0,_handleLookupAnchorClick:fo,handleLookupAnchorClick:e=>{t._handleLookupAnchorClick(e)},lookupIsNavigable:!1,lookupLink:"",lookupValue:t.typeAttribute0}),e.lookupCells.push(t)):"number"===s||"number"===o?Object.assign(t,yo,{isNumber:!0,numberValue:""}):"percent"===s||"percent"===o?Object.assign(t,yo,{isPercent:!0,percentValue:""}):"phone"===s||"phone"===o?Object.assign(t,yo,{isPhone:!0,phoneLabel:"",phoneLink:"",showPhoneLink:!1}):"rowNumber"===s||"rowNumber"===o?Object.assign(t,yo,{isRowNumber:!0,rowHasError:!1}):"text"===s||"text"===o?Object.assign(t,yo,{isText:!0,ignoreRTL:!1,shouldFormatText:!1,textParts:void 0,textValue:void 0}):"url"!==s&&"url"!==o||Object.assign(t,yo,{isURL:!0,_handleUrlAnchorClick:void 0,handlUrlAnchorClick:void 0,showUrlLink:!1,urlLabel:"",urlLink:"",urlTarget:"",urlTooltip:""})}const _o=[["text",["linkify"]],["boolean",[]],["number",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["currency",["currencyCode","currencyDisplayAs","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["percent",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["email",[]],["date",["day","era","hour","hour12","minute","month","second","timeZone","timeZoneName","weekday","year"]],["date-local",["day","month","year"]],["phone",[]],["url",["label","target","tooltip"]],["location",[]],["reference",["displayValue"]],["rowNumber",["error"]],["action",["menuAlignment","rowActions"]],["button",["variant","label","iconName","iconPosition","disabled","name","class","title"]],["button-icon",["variant","alternativeText","iconName","iconClass","disabled","name","class","title"]],["tree",["hasChildren","isExpanded","level","setSize","posInSet","subType"]]],wo=Array(_o.length);for(let e=0,{length:t}=_o;e<t;e+=1){const{0:t,1:a}=_o[e];wo[e]=[t,{typeAttributes:a,type:"standard"}]}const Co=new Map(_o),Ao=new Map(wo),To=new Set(["text","url","date","number","currency","percent","button","button-icon","reference"]),Ro=new Set(["text","percent","phone","email","url","currency","number","boolean","date-local","date"]);function zo(e){return P(function(e){return Co.has(e)}(e)),Co.get(e)||[]}const Io=d(class{constructor(e){if(this.privateCustomTypes=new Map,"object"==typeof e&&null!==e){const{privateCustomTypes:t}=this,a=Object.keys(e);for(let d=0,{length:o}=a;d<o;d+=1){const o=a[d],{template:s,editTemplate:r,typeAttributes:n=[],standardCellLayout:i=!1}=e[o];t.set(o,{template:s,editTemplate:r,typeAttributes:n,standardCellLayout:!0===i,type:"custom"})}}}getAttributesNames(e){if(P(this.isValidType(e)),!this.isCustomType(e))return Co.get(e)||[];return this.privateCustomTypes.get(e).typeAttributes||[]}getType(e){const{privateCustomTypes:t}=this;return t.get===Map.prototype.get&&t.get(e)||Ao.get(e)}getCustomTypeEditTemplate(e){const t=this.privateCustomTypes.get(e);return t?t.editTemplate:void 0}isValidType(e){return this.privateCustomTypes.has(e)||Co.has(e)}isEditableType(e){if(Ro.has(e))return!0;const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isCustomType(e){return this.privateCustomTypes.has(e)}isStandardCellLayoutForCustomType(e){const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isValidTypeForTree(e){return $.ENABLE_TREE_GRID_CUSTOM_TYPES?To.has(e)||this.isStandardCellLayoutForCustomType(e):To.has(e)}},{tmpl:r,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable-",apiVersion:63});let Lo={},So=[];const $o=e=>{if(1!==e.length)return!1;const{startRow:t,endRow:a,columns:d}=e[0];return t===a&&1===d.length},Vo=(e,t)=>{const a=e>t;return{startRowIndex:a?t:e,endRowIndex:a?e:t}},Mo=e=>{let t,a;if(e){const d=function(e){let t=e;for(;t&&t!==document.documentElement;){if("true"===t.dataset.rangecell)return t;t=t.parentElement||t.offsetParent}return null}(e),o=d&&d.parentElement;t=o?.dataset?.rowKeyValue,a=d?.dataset?.colKeyValue}return[t,a]},Eo=({state:e,startDragCell:t,draggingCell:a,isFinished:d,rangeSelectedChange:o,types:s})=>{if(!t||!a)return;const{columns:r}=e,{rowIndex:n,colIndex:i}=t,{rowIndex:l,colIndex:c}=a,u=((e,t,a)=>e<t?a.slice(e,t+1):a.slice(t,e+1))(i,c,r),b={startRow:n,endRow:l,columns:u};b.id=(e=>{const{startRow:t,endRow:a,columns:d}=e,{startRowIndex:o,endRowIndex:s}=Vo(t,a);return`${o}_${s}_${d[0].fieldName}_${d[d.length-1].fieldName}`})(b);let h=So.length?[...So]:[];if($o([b])){const e=b.id;h=h.filter(t=>t.id!==e)}h.push(b),e.rangeSelection=h,Po(e,s),d&&(So=h),o?.(h,d)},Do=({event:e,dt:t,rangeSelectedChange:a})=>{const{toElement:d,ctrlKey:o,shiftKey:s}=e,{state:r,_privateTypes:n}=t,[i,l]=Mo(d),c=Od(r,i,l);if(!c)return;if(o&&(e.preventDefault(),e.stopPropagation()),((e,t)=>{if(e||t||(So=[]),t){const e=So.length?[...So]:[];e.pop(),So=e}})(o,s),s)return void Eo({state:r,startDragCell:Lo,draggingCell:c,isFinished:!0,rangeSelectedChange:a,types:n});Lo=c;let u=c;const b=ue(window,"mousemove"),h=ue(window,"mouseup");b.pipe(be(e=>{const{toElement:t}=e,[a,d]=Mo(t);return u=Od(r,a,d),{startDragCell:c,draggingCell:u}}),he(h)).subscribe({next:e=>{Eo({state:r,startDragCell:e.startDragCell,draggingCell:e.draggingCell,isFinished:!1,rangeSelectedChange:a,types:n})},complete(){Eo({state:r,startDragCell:c,draggingCell:u,isFinished:!0,rangeSelectedChange:a,types:n})}})},Ko=(e,t,a)=>{const{startRow:d,endRow:o,columns:s}=e;if(!(-1!==s.findIndex(e=>e.fieldName===a.fieldName)))return!1;const{startRowIndex:r,endRowIndex:n}=Vo(d,o);return t>=r&&t<=n},Wo=(e,{rowIndex:t,col:a})=>{const{matchCellRangeTop:d,matchCellRangeLeft:o,matchCellRangeBottom:s,matchCellRangeRight:r}=((e,{rowIndex:t,col:a})=>e.reduce((e,d)=>{if(!Ko(d,t,a))return e;const{startRow:o,endRow:s,columns:r}=d,{startRowIndex:n,endRowIndex:i}=Vo(o,s),l=r[0],c=r[r.length-1],u=t===n,b=a.fieldName===l.fieldName,h=t===i,k=a.fieldName===c.fieldName;return e.matchCellRangeTop=e.matchCellRangeTop||u,e.matchCellRangeLeft=e.matchCellRangeLeft||b,e.matchCellRangeBottom=e.matchCellRangeBottom||h,e.matchCellRangeRight=e.matchCellRangeRight||k,e},{matchCellRangeTop:!1,matchCellRangeLeft:!1,matchCellRangeBottom:!1,matchCellRangeRight:!1}))(e,{rowIndex:t,col:a}),n=$o(e);let i="";const l={[x.selected]:!n,[x.top]:!n&&d,[x.left]:!n&&o,[x.bottom]:!n&&s,[x.right]:!n&&r};for(const e in l)l[e]&&(i+=`${e} `);return i},No="kdds-cell-edit",Ho="kdds-has-error",Fo="kdds-is-edited",Bo="cell",Oo="kdds-tree__item";function jo(e,t){if(Cd(e)){const{fieldName:a}=e;if(a)return t[a]}return e}function Po(e,t,a){const{columns:d,data:o,keyField:s,maxRowSelection:r,renderModeInline:n,rowHeight:i,virtualize:l,expandedRowKeys:c}=e,{privateCustomTypes:u}=t,b=D(),{length:h}=d,k=oo(e),p=k?to(e):1,m=k?Zd:Jd;let g,v;const f={};for(let e=0;e<h;e+=1){const a=d[e],{colKeyValue:o,type:s}=a,r=`${Bd}-${o}`,n={cellKeyValue:r,colIndex:e,colKeyValue:o,focused:!1,key:o,rowIndex:-1,rowKeyValue:Bd};f[r]=n,!g&&a.isScopeCol&&t.isValidType(s)&&(g=a),"tree"===s&&void 0===v&&(v=uo(a))}const x=[],_=[];e.checkboxCells=[],e.indexes=f,e.lookupCells=[],e.shownUrlCells=x,e.rows=_,o.forEach((o,w)=>{const C=o[s],A=U(C)?`row-${w}`:C;e.indexes[A]={rowIndex:w};const T=!!e.selectedRowsKeys[A],R=!!T&&"true",z=w+1,I=g?o[g.fieldName]:void 0,L=Array(h),S={ariaRowIndex:w+2,ariaSelected:e.hideCheckboxColumn?null:R,cells:L,classnames:"kdds-hint-parent"+(T?" kdds-is-selected":""),inputType:m,isSelected:T,isDisabled:!T&&k&&p===r,key:A,rowIndex:w,rowNumber:z,style:l?`position:absolute;top:${w*i}px;`:"",tabIndex:-1,level:void 0,posInSet:void 0,setSize:void 0,isExpanded:void 0,hasChildren:void 0,isRowExpanded:c.has(A)};if(v){const e=!!jo(v.hasChildren,o);S.hasChildren=e,S.isExpanded=e?`${!!jo(v.isExpanded,o)}`:void 0,S.level=jo(v.level,o)||1,S.posInSet=jo(v.posInSet,o)||1,S.setSize=jo(v.setSize,o)||1}f[A]=S,_.push(S);for(let s=0;s<h;s+=1){const r=d[s],{colKeyValue:i,isScopeCol:l,label:c,type:h,typeAttributes:p}=r,m=`${A}-${i}`,g=p?p.subType:void 0,v="tree"===h;let _;_=$.ENABLE_TREE_GRID_CUSTOM_TYPES?u&&u.get(v?g:h):u&&u.get(h);const C=!!_&&_.standardCellLayout,T=!!r.displayReadOnlyIcon,R=!!jo(r.editable,o),V=R&&t.isEditableType(h),M=t.isValidType(h),E=h===Xd,D=h===Gd,K=void 0!==_,W=K&&!C,N=K&&C,H=M&&!l,F=M&&l,B=h===y,O={ariaReadOnly:!R,cellKeyValue:m,class:"",colIndex:s,colKeyValue:i,columnSubType:g,columnType:h,dataLabel:c,displayReadOnlyIcon:T,displayValue:o.displayValue||"",describedBy:null,editable:R,hasError:void 0,hasTreeData:v,isCheckbox:E,isCustom:K,isCustomBareLayout:W,isCustomStandardLayout:N,isDataType:H,isDataTypeScope:F,isEditable:V,isRTL:b,isSortingMenu:D,rowIndex:w,rowKeyValue:A,rowNumber:z,scopeColValue:I,style:"",tabIndex:-1,value:void 0,wrapText:void 0,wrapTextMaxLines:0,isRowExpand:B};if(f[m]=O,L[s]=O,!r.internal){let e,a;if(g)e=$.ENABLE_TREE_GRID_CUSTOM_TYPES?t.getAttributesNames(g):zo(g),a=bo(r);else{const d=t.getType(h);e=d&&d.typeAttributes,a=uo(r)}const d=e?e.length:0;for(let t=0;t<d;t+=1){const d=a[e[t]];O[`typeAttribute${t}`]=jo(d,o)}const s=ho(r),n=Object.keys(s);for(let e=0;e<n.length;e+=1){const t=n[e],a=s[t];O[t]=jo(a,o)}v&&(O.typeAttribute21=S.hasChildren,O.typeAttribute22="true"===S.isExpanded)}e.indexes[S.key][i]=[w,s],L[s]=O,n&&xo(e,O,k,a),qo(e,w,s,o),O.showUrlLink&&x.push(O)}}),e.hasCalledUpdateRowsAndCells=!0}function Uo(e,t){if(!e.hasCalledUpdateRowsAndCells)return void Po(e,t);const{data:a,rows:d}=e;for(let t=0;t<d.length;t+=1){const o=a[t];for(let a=0;a<d[t].cells.length;a+=1)qo(e,t,a,o)}}function qo(e,t,a,d){const{renderModeRoleBased:o,rangeSelection:s}=e,{rows:r}=e.errors,n=e.rows[t],{key:i}=n,l=e.inlineEdit.dirtyValues[i],c=r&&r[i],u=c&&c.cells,b=e.columns[a],h=n.cells[a],{colKeyValue:k,columnKey:p,fieldName:m,wrapText:g}=b;let v=c&&c.fieldNames||[],f=null;Array.isArray(v)||(v=Object.keys(v),f=c.fieldNames[m]);const y=l&&l[k],x=p?!(!u||!u[p]):!(!v||!v.includes(m)),_=void 0===y?d[m]:y,w=g?e.wrapTextMaxLines:void 0;h.hasError=x,h.wrapText=g,h.wrapTextMaxLines=w,h.value=_,h.customErrorValidationMessage=f,b.internal&&"rowNumber"===b.type&&(h.typeAttribute0=function(e,t){const{cells:a,fieldNames:d,messages:o,title:s}=e||{};let r=0;return a?r=Object.keys(a).length:Array.isArray(d)?r=d.length:"object"==typeof d&&(r=Object.keys(d).length),{title:s,messages:o,alternativeText:ne(Yd.rowLevelErrorAssistiveText,t||"",r)}}(c,h.scopeColValue));let C=jo(ho(b).class,d)||"";h.hasTreeData&&!C&&(C+=(C.length?" ":"")+Oo),(h.displayReadOnlyIcon||h.editable)&&(C+=(C.length?" ":"")+No),x&&(C+=(C.length?" ":"")+Ho),void 0!==y&&(C+=(C.length?" ":"")+Fo,h.describedBy="unsaved-cell-notification"),o&&(C+=(C.length?" ":"")+Bo),s.length>0&&s.some(e=>Ko(e,t,b))&&(C+=Wo(s,{col:b,rowIndex:t})),h.class=C,h.style=Qo(h,b,o,h.style),h.isInlined&&(function(e){if(e.isEditable?(e.editIconAssistiveText=`${vo.edit} ${e.dataLabel}${e.hasError?` ${vo.editHasError}`:""}`,e.editLabelId=`edit-${e.cellKeyValue}`):e.shouldDisplayReadOnlyIcon=e.displayReadOnlyIcon,e.iconName){const{iconPosition:t}=e;"right"===t?e.hasRightIcon=!0:t&&"left"!==t||(e.hasLeftIcon=!0)}if(e.isRowNumber){const{typeAttribute0:t}=e,a=!!(t&&t.title&&t.messages);e.rowHasError=a}}(h),function(e,t){let a="",d="";const{alignment:o,columnType:s,hasTreeData:r,wrapText:n}=e;if(n){t+=(t.length?" ":"")+"kdds-cell-wrap",a+="kdds-hyphenate";const{wrapTextMaxLines:o}=e;o?(a+=" kdds-line-clamp",d=`--kwc-lineClamp: ${o}`):d="overflow-wrap: anywhere;"}else a+="kdds-truncate";!e.isRTL||"url"!==s&&"email"!==s&&"phone"!==s||(a+=" ltr-content-in-rtl");let i="kdds-grid";"right"===o||"currency"===s||"number"===s||"percent"===s?i+=" kdds-grid_align-end":r||o&&"left"!==o&&("center"===o||"right"===o)||(i+=" kdds-grid_align-spread"),r&&(i+=" kdds-no-space"),e.class=t,e.computedCellDivClass=a,e.computedCellDivStyle=d,e.computedWrapperClass=i}(h,C),function(e,t){if(e.isBoolean)e.isChecked=!!t,e.booleanCellAssistiveText=t?vo.true:vo.false;else if(e.isCurrency)e.currencyValue=K({value:t,formatStyle:"currency",currencyCode:e.typeAttribute0,currencyDisplayAs:e.typeAttribute1,minimumIntegerDigits:e.typeAttribute2,minimumFractionDigits:e.typeAttribute3,maximumFractionDigits:e.typeAttribute4,minimumSignificantDigits:e.typeAttribute5,maximumSignificantDigits:e.typeAttribute6},ce);else if(e.isDateLocal)e.dateLocalValue=W({value:t,day:e.typeAttribute0||"numeric",month:e.typeAttribute1||"short",year:e.typeAttribute2||"numeric",timeZone:"UTC"},ie);else if(e.isDateTime)e.dateTimeValue=W({value:le(t),dateStyle:"medium",day:e.typeAttribute0,era:e.typeAttribute1,hour:e.typeAttribute2,hour12:e.typeAttribute3,minute:e.typeAttribute4,month:e.typeAttribute5,second:e.typeAttribute6,timeZone:e.typeAttribute7,timeZoneName:e.typeAttribute8,weekday:e.typeAttribute9,year:e.typeAttribute10},ie);else if(e.isEmail){let a="";const d=t?t.trim():"",o=!!d;o&&(a=vo.emailLabel),e.emailIconAssistiveText=a,e.emailLabel=d,e.showEmailLink=o}else if(e.isLocation)e.locationValue=N(t);else if(e.isNumber)e.numberValue=K({value:t,minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},ce);else if(e.isPercent)e.percentValue=K({value:t,formatStyle:"percent",minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},ce);else if(e.isPhone){let a="",d="";const o=F(t);o&&(a=H(t),d=`tel:${t}`),e.phoneLabel=a,e.phoneLink=d,e.showPhoneLink=o}else if(e.isText){const{typeAttribute0:a}=e,d=!!a&&"string"==typeof t&&""!==t;e.ignoreRTL=e.isRTL&&B(t),e.shouldFormatText=d,e.textParts=d?O(t,!0):[],e.textValue="object"==typeof t?"":t}else if(e.isURL){let a,d,o="",s="",r="",n="";const i=null!=t&&""!==t;if(i){const{typeAttribute0:i,typeAttribute2:l}=e;a=fo,d=t=>{e._handleUrlAnchorClick(t)},s=j(t),o=null!=i&&""!==i?i:s,r=e.typeAttribute1||"_self",n=""===l?"":l||t}e._handleUrlAnchorClick=a,e.handleUrlAnchorClick=d,e.showUrlLink=i,e.urlLabel=o,e.urlLink=s,e.urlTarget=r,e.urlTooltip=n}}(h,_))}function Qo(e,t,a,d=""){let o=d;if(o&&!o.endsWith(";")&&(o+=";"),!o&&e.isCustomBareLayout&&(o="padding: 0;"),a){const{columnWidth:e}=t;e>0&&(o+=`width:${e}px;`)}return o}function Yo(e){const{columns:t}=e;e.rows.forEach(e=>{e.cells.forEach((a,d)=>{const o=t[d],s=jo(ho(o).style,e)||"";a.style=Qo(a,o,!0,s)})})}function Xo(e){e.renderModeRoleBased&&e.rows&&e.rows.forEach(e=>{e.cells.forEach(e=>{const t="string"==typeof(a=e.class)?{__proto__:vd,[a]:!0}:Object.assign({__proto__:vd},a);var a;t.add("cell"),e.class=t.toString()})})}const Go={tableHeight:{observerProp:"_heightObserver",callback:Fd,targetRefs:["scrollerY","tableElement"]},width:{observerProp:"_widthObserver",callback:function(){const{_columnWidthManager:e,state:t,widthsData:a,template:d,validRefs:o}=this;e.adjustColumnsSizeAfterResize(this,t.columns,a),this._recalculateHeaderHeight=!0,t.renderModeRoleBased&&Yo(t);const s=zd(d,o);t.tableWrapperWidth=s?.offsetWidth,t.shouldResetHeights=!0},targetRefs:["widthObserver","scrollerX"]}};class Zo{constructor(e,t){this._connected=!1;const{callback:a,targetRefs:d}=Go[t],o=a.bind(e);if(this._resizeObserver=new de(()=>{const{refs:t,template:a}=e;this._connected&&Wd(a,t)&&o()}),e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];this._resizeObserver.observe(a)}this._connected=!0}observe(e){this._resizeObserver?this._resizeObserver.observe(e):this._resizeSensor&&this._resizeSensor.reattach(e),this._connected=!0}disconnect(){this._resizeObserver?this._resizeObserver.disconnect():this._resizeSensor&&(this._resizeSensor.detach(),this._resizeSensor=void 0),this._connected=!1}isConnected(){return this._connected}}function Jo(e,t){const{observerProp:a,targetRefs:d}=Go[t],o=e[a];if(o){if(!o.isConnected()&&e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];o.observe(a)}}else e[a]=new Zo(e,t)}function es(e){const t=Object.keys(Go),{length:a}=t;for(let d=0;d<a;d+=1){const{observerProp:a}=Go[t[d]];e[a]&&e[a].disconnect()}}function ts(e,t){const a={totalFixedWidth:0,totalFixedColumns:0,totalResizedWidth:0,totalResizedColumns:0,totalFlexibleColumns:0,minColumnWidth:e.minColumnWidth,maxColumnWidth:e.maxColumnWidth,wrapTextMaxLines:e.wrapTextMaxLines};for(let e=0;e<t.length;e+=1){const d=t[e],{fixedWidth:o,initialWidth:s}=d;o&&isFinite(o)?(a.totalFixedWidth+=o,a.totalFixedColumns+=1):d.isResized?(a.totalResizedWidth+=d.columnWidth,a.totalResizedColumns+=1):s&&isFinite(s)?(a.totalResizedWidth+=s,a.totalResizedColumns+=1):a.totalFlexibleColumns+=1}return a}function as(e){const{fixedWidth:t,initialWidth:a}=e;if(t&&isFinite(t))return t;const d=isFinite(a)?a:null;return e.isResized&&e.columnWidth||d}function ds(e){let t=0;for(let a=0,{length:d}=e;a<d;a+=1)t+=e[a];return t}function os(e,t,a){return Math.max(e-t,a)}function ss(e,t,a){return Math.min(e+t,a)}class rs{constructor(e,t,a=3){this.columnWidthRatios=[],this.columnWidthData={},this.columnWidthsDistribution={},this.columnWidthData={minColumnWidth:e,maxColumnWidth:t,wrapTextMaxLines:a},this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}set minColumnWidth(e){this.columnWidthData.minColumnWidth=e}set maxColumnWidth(e){this.columnWidthData.maxColumnWidth=e}set wrapTextMaxLines(e){this.columnWidthData.wrapTextMaxLines=e||3}getAdjustedColumnWidths(e,t,a){const d=ts(this.columnWidthData,t),o=function(e,t){const a=t.totalFlexibleColumns*t.minColumnWidth+t.totalFixedWidth+t.totalResizedWidth;return 0===t.totalFlexibleColumns?a:Math.max(a,e)}(e.getAvailableWidthFromDom(),d);if(this.resetColumnWidthsDistribution(),(a||0===this.columnWidthRatios.length)&&this.calculateColumnWidthRatios(e,t,d),a&&this.columnWidthRatios.length!==t.length)return{columnWidths:[]};const s=this.distributeWidthFromRatios(o,t,d),r=ds(s);return o>r?this.redistributeExtraWidth(o,s,t):o<r&&this.redistributeDeficitWidth(o,s,t),{columnWidths:s}}getRatios(e,t){const{length:a}=e,d=Array(a);for(let o=0;o<a;o+=1)d[o]=100*e[o]/t;return d}calculateColumnWidthRatios(e,t,a){const{wrapTextMaxLines:d}=a,o=e.getDataCellWidths();for(let e=0,{length:a}=o;e<a;e+=1){const a=t[e];if(a)if(a.wrapText){const t=o[e];o[e]=t/d}else{const{fixedWidth:t}=a;t&&isFinite(t)&&(o[e]=t)}}this.setColumnWidthRatios(e,o,a)}setColumnWidthRatios(e,t,a){this.columnWidthRatios=[];const d=e.getTableElementWidth();if(d>0){const{totalFixedWidth:o,totalResizedWidth:s}=a;if(0===t.length){const t=e.getHeaderCellWidths();if(t.length>0){const e=t.reduce((e,t)=>e+=t,0)-o-s;this.columnWidthRatios=this.getRatios(t,e)}}else{const e=t.reduce((e,t)=>e+=t,0),a=Math.min(d,e)-o-s;this.columnWidthRatios=this.getRatios(t,a)}}}resetColumnWidthsDistribution(){this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}distributeWidthFromRatios(e,t,a){const d=[];for(let o=0;o<t.length;o+=1){const s=as(t[o])||this.getColumnWidthFromRatio(e,a,o);d[o]=s}return d}getColumnWidthFromRatio(e,t,a){const{totalFixedWidth:d,totalResizedWidth:o,minColumnWidth:s,maxColumnWidth:r}=t,n=this.columnWidthRatios[a],i=e-d-o,l=Math.floor(i*n/100)+20,{colsWithMinWidth:c,colsWithMaxWidth:u}=this.columnWidthsDistribution;l<s+Math.ceil(.5*s)&&c.push(a);return l>r-Math.ceil(.5*r)&&u.push(a),Ad(l,s,r)}redistributeExtraWidth(e,t,a){const{colsWithMinWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=ts(this.columnWidthData,a),{maxColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=ds(t),c=0,u=0,b=0;if(o>0){c=e-l,b=o,u=Math.floor(c/b);for(let e=0;e<o;e+=1){const a=d[e],o=t[a],s=ss(o,u,r);l+=s-o,t[a]=s}}if(c=e-l,c>0){const e=n+i,{length:d}=a;b=d-e,u=Math.floor(c/b);for(let e=0;e<d;e+=1){const d=a[e],o=t[e];if(!as(d)){const a=ss(o,u,r);l+=a-o,t[e]=a}}}}redistributeDeficitWidth(e,t,a){const{colsWithMaxWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=ts(this.columnWidthData,a),{minColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=ds(t),c=e-l,u=0,b=0;if(o>0){u=o,b=Math.floor(Math.abs(c)/u);for(let e=0,{length:a}=d;e<a;e+=1){const a=d[e],o=t[a],s=os(o,b,r);l-=o-s,t[a]=s}}c=e-l;const h=n+i;if(c<0){const{colsWithMinWidth:e}=this.columnWidthsDistribution;u=a.length-(h+e.length),b=Math.floor(Math.abs(c)/u);for(let d=0;d<a.length;d+=1){const o=a[d],s=t[d];if(!e.includes(d)&&!as(o)){const e=os(s,b,r);l-=s-e,t[d]=e}}}}}class ns{constructor(e,t){this.widthsData={},this.widthsData={minColumnWidth:e,maxColumnWidth:t}}set minColumnWidth(e){this.widthsData.minColumnWidth=e}set maxColumnWidth(e){this.widthsData.maxColumnWidth=e}getAdjustedColumnWidths(e,t){const a=ts(this.widthsData,t),d=function(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s}=t,r=o*s+a+d;return 0===t.totalFlexibleColumns?r:Math.max(r,e)}(e.getAvailableWidthFromDom(),a),o=this.getFlexibleColumnWidth(a,d),s=[];for(let e=0;e<t.length;e+=1){const a=as(t[e])||o;s[e]=a}return{columnWidths:s}}getFlexibleColumnWidth(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s,maxColumnWidth:r}=e,n=t-a-d,i=Math.floor(n/o),l=Math.max(i,s);return Math.min(r,l)}}const is="auto",ls="fixed";function cs(e,t,a){const{columnWidths:d}=a,{length:o}=e;if(d.length!==o)return;let s=0;const r=D();for(let a=0;a<o;a+=1){const o=e[a],n=d[a];t.columnWidths[a]=n,o.columnWidth=n,o.style=n?`width: ${n}px;`:"",r&&(o.offset=s),s+=n}t.tableWidth=s}class us{constructor(e){this.columnWidthMode=ls,this.isResizingUpdateQueued=!1,this.isAutoResizingUpdateQueued=!1;const t=e.minColumnWidth||Md.minColumnWidth,a=e.maxColumnWidth||Md.maxColumnWidth,d=new ns(t,a),o=new rs(t,a);this.widthStrategies={[ls]:d,[is]:o}}get columnWidthStrategy(){return this.widthStrategies[this.columnWidthMode]}set minColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].minColumnWidth=e}}set maxColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].maxColumnWidth=e}}set wrapTextMaxLines(e){this.widthStrategies[is].wrapTextMaxLines=e}shouldFireResizeEvent(e,t){return this.columnWidthMode===ls&&e.columnWidths.length!==t.length}adjustColumnsSize(e,t,a,d){const{columnWidthStrategy:o,isAutoResizingUpdateQueued:s,isResizingUpdateQueued:r}=this;if(r){let r;r=this.shouldResizeWithUpdate(e,t,d)?o.getAdjustedColumnWidths(this.getDatatableInterface(e,t),a,s):{columnWidths:d.columnWidths},cs(a,d,r)}this.isAutoResizingUpdateQueued=!1,this.isResizingUpdateQueued=!1}adjustColumnsSizeAfterResize(e,t,a){cs(t,a,this.columnWidthStrategy.getAdjustedColumnWidths(this.getDatatableInterface(e.template,e.refs),t))}handleDataChange(e){this.columnWidthMode===is&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleColumnsChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleWidthModeChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleRowNumberOffsetChange(e,t){const a=function(e){if(e.showRowNumberColumn){const{columns:t}=e;for(let e=0,{length:a}=t;e<a;e+=1)if(t[e].type===Qd)return e}return-1}(e);if(-1!==a){const{columns:d}=e,o=d[a],s=function(e){const t=String(e.rows.length+e.rowNumberOffset).length;return Math.max(10*t+12,40)}(e);o.initialWidth!==s&&(o.initialWidth=Math.max(s,o.minWidth),t.columnWidths.length>0&&(this.isResizingUpdateQueued=!0))}}handleCheckboxColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleActionsColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleRowNumberColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(a))}setAutoResizingUpdate(e){this.columnWidthMode===is&&(this.isAutoResizingUpdateQueued=!0);for(let t=0;t<e.length;t+=1){const a=e[t];as(a)||(a.columnWidth=null,a.style="")}}hasDataChanged(e,t){const{length:a}=e,{length:d}=t;return d>0&&(0===a||a!==d)}shouldResizeWithUpdate(e,t,a){return!(a.columnWidths.length>0)||Wd(e,t)}getDatatableInterface(e,t){return{getAvailableWidthFromDom:()=>zd(e,t).offsetWidth,getDataCellWidths(){const e=t.tableBody.firstChild;if(e){const t=e.children,{length:a}=t,d=Array(a);for(let e=0;e<a;e+=1)d[e]=t[e].offsetWidth;return d}return[]},getHeaderCellWidths(){const e=t.headerRow.children,a=[];for(let t=0;t<e.length;t+=1){const d=e[t].firstChild.getDomWidth();d&&a.push(d)}return a},getTableElementWidth:()=>(t?.tableElement||e.querySelector(".kdds-table")).offsetWidth}}}function bs(e){e.stopPropagation();const{action:t,rowKeyValue:a}=e.detail,d=Ud(this.state,a);this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(t),row:o(d)}}))}function hs(e){e.stopPropagation();const{actionsProviderFunction:t,doneCallback:a,rowKeyValue:d,saveContainerPosition:s}=e.detail,r=Ud(this.state,d);s(this.getViewableRect()),t(o(r),a)}function ks(e){e.stopPropagation();const{state:t}=this,{colKeyValue:a,rowKeyValue:d}=e.detail,s=Ud(t,d),r=ko(t,a),n=this._rawColumns[r];this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(n.typeAttributes),row:o(s)}}))}const ps="selectAllRows",ms="deselectAllRows",gs="rowSelect",vs="rowDeselect";function fs(e){e.stopPropagation(),function(e){const{maxRowSelection:t,rows:a}=e,d={};for(let e=0,{length:o}=a;e<o;e+=1){const o=a[e];void 0===t||e<t?(d[o.key]=!0,Ds(o,!0)):(o.isDisabled=!0,Ds(o,!1))}e.selectedRowsKeys=d}(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:ps})}function ys(e){e.stopPropagation(),Cs(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:ms})}function xs(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d}=e,{start:o,end:s}=Vs(e,t,a),r=e.maxRowSelection||d.length;let n,i=o;for(;i<=s&&!n;)As(e,d[i].key),n=to(e)>=r,i+=1}(t,d&&Ls(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:gs,value:a})}function _s(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d,selectedRowsKeys:o}=e,{start:s,end:r}=Vs(e,t,a);for(let t=s;t<=r;t+=1){const a=d[t];Ds(a,!1),o[a.key]=!1,to(e)===e.maxRowSelection-1&&Rs(e)}}(t,d&&Ls(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:vs,value:a})}function ws(){$s(this.state)}function Cs(e){const{rows:t}=e;for(let e=0,{length:a}=t;e<a;e+=1){const a=t[e];a.isDisabled=!1,Ds(a,!1)}e.selectedRowsKeys={}}function As(e,t){const a=Pd(e,t),d=to(e),o=e.maxRowSelection||e.rows.length;Ds(a,!0);let{selectedRowsKeys:s}=e;const{singleRowSelectionMode:r}=e;if(o>1||1===o&&r===Zd)s[a.key]||(s[a.key]=!0,d+1===o&&Ts(e));else{if(1===d){Ds(Pd(e,Object.keys(s)[0]),!1),s={},e.selectedRowsKeys=s}s[a.key]=!0}}function Ts(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!0)}}function Rs(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!1)}}function zs(e,t){if(Array.isArray(t)){const{maxRowSelection:a}=e,d=to(e);let o=function(e,t){const a=[],{rows:d}=e;if(d.length){const{indexes:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]&&a.push(o)}}return a}(e,t);o.length>a&&(o=o.slice(0,a));const s=function(e){const t={};for(let a=0,{length:d}=e;a<d;a+=1)t[e[a]]=!0;return t}(o),r=function(e,t){const a=[],{selectedRowsKeys:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]||a.push(o)}return a}(e,o),n=function(e,t){const a=[],{selectedRowsKeys:d}=e,o=Object.keys(d);for(let e=0,{length:s}=o;e<s;e+=1){const s=o[e];d[s]&&!t[s]&&a.push(s)}return a}(e,s);!function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ds(Pd(e,t[a]),!0)}(e,r),function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ds(Pd(e,t[a]),!1)}(e,n),e.selectedRowsKeys=s;const{length:i}=o;i===a&&oo(e)?Ts(e):i<a&&d===a&&Rs(e)}else Cs(e)}function Is(e,t){const a={};for(let d=0,{length:o}=e;d<o;d+=1){a[e[d][t]]=!0}return a}function Ls(e){const{lastSelectedRowKey:t}=e;return void 0!==t&&void 0!==Pd(e,t)?t:void 0}function Ss(e,t){const a=oo(e),d=a?Zd:Jd,{rows:o}=e;let s,r=!1;e.renderModeInline&&!e.hideCheckboxColumn&&(r=!0,s=e.showRowNumberColumn?1:0);for(let n=0,{length:i}=o;n<i;n+=1){const i=o[n];i.inputType=d,i.isDisabled=eo(e,i.key),r&&xo(e,i.cells[s],a,t)}}function $s(e){const t=e.columns||{};for(let a=0;a<t.length;a+=1){const d=t[a];if(d.type===Xd){const{maxRowSelection:o,rows:{length:s}}=e,r=o&&o<s?o:s,n=to(e),i=Object.assign({},d);return i.bulkSelection=n?n===r?"all":"some":"none",i.isBulkSelectionDisabled=0===o||0===s,void(t[a]=i)}}}function Vs(e,t,a){const d=t===Bd?0:jd(e,t),o=jd(e,a);return{start:Math.min(d,o),end:Math.max(d,o)}}function Ms(e,t,a){const d=Od(e,t,a);d&&(d.ariaSelected="true")}function Es(e,t,a){const d=Od(e,t,a);d&&(d.ariaSelected=!1)}function Ds(e,t){e.ariaSelected=t,e.classnames="kdds-hint-parent"+(t?" kdds-is-selected":""),e.isSelected=t}const Ks=new Set(["action","boolean","button","button-icon","date-local","rowNumber"]),Ws={clipText:S.clipText,wrapText:S.wrapText};function Ns(e){if(function(e){Ks.has(e.type)?e.wrapText=!1:e.wrapText=oe(e.wrapText)}(e),e.hideDefaultActions||Ks.has(e.type))return[];const t=e.wrapText||!1,{clipText:a,wrapText:d}=Ws;return[{label:d,title:d,checked:t,name:"wrapText"},{label:a,title:a,checked:!t,name:"clipText"}]}function Hs(e,t,a){const{name:d}=t,o="wrapText"===d;if(o||"clipText"===d){const{state:t}=e,d=po(t,a),s=t.columns[d];s.wrapText!==o&&(t.shouldResetHeights=!0,s.wrapText=o,function(e,t){const a=po(e,t);if(-1===a)return;const{columns:d}=e,o=d[a],{internalActions:s}=o.actions;for(let e=0;e<s.length;e+=1){const t=s[e],{name:a}=t;"wrapText"===a?t.checked=o.wrapText:"clipText"===a&&(t.checked=!o.wrapText)}(function(e,t){const{data:a,rows:d}=e;for(let o=0;o<d.length;o+=1)qo(e,o,t,a[o])})(e,a),o.actions=Object.assign({},o.actions)}(t,a))}e._recalculateHeaderHeight=!0}function Fs(e){e.stopPropagation();const{action:t,actionType:a,colKeyValue:d}=e.detail;"customer"!==a&&Hs(this,t,d),function(e,t,a){const d=ko(e.state,a),s=e.columns[d];e.dispatchEvent(new CustomEvent("headeraction",{detail:{action:o(t),columnDefinition:o(s)}}))}(this,t,d)}function Bs(e){e.stopPropagation(),e.preventDefault();const t=2.125*e.detail.actionsCount+1.0625*e.detail.dividersCount+1;this._actionsMinHeightStyle=`min-height: ${t}rem`,e.detail.saveContainerPosition(this.getViewableRect())}function Os(){this._actionsMinHeightStyle=""}function js(e,t,a){e.dispatchEvent(new CustomEvent("privatetogglecell",{bubbles:!0,composed:!0,cancelable:!0,detail:{name:t,nextState:!a}}))}function Ps(e){const{firstVisibleIndex:t}=e,a=Math.max(t-e.bufferSize,0),d=[0],o=e.offsets[a];if(d[a]=o,e.heightCache={},e.offsets=d,e.offsetRanges=[{start:0,end:0}],a>0&&e.offsetRanges.push({start:a,end:a}),e.virtualize&&e.rows.length){const t=e.rows.length-a,d=e.rowHeight*t;e.tableHeight=o+d}}function Us(e,t,a,d){const o={start:a[0].rowIndex,end:a[a.length-1].rowIndex+1};let s,r=0;const n=function(e,t){let a=0,d=e.length-1;for(;a<=d;){const o=Math.floor((a+d)/2),s=e[o].start<=t,r=e[o+1]&&e[o+1].start<=t;if(s&&!r)return o;s?a=o+1:d=o-1}return-1}(t.offsetRanges,o.start),i=e.querySelectorAll('[data-rowgroup-body] [role="row"]');for(let e=0;e<a.length;e++){const d=a[e];if(!t.heightCache[d.key]&&0!==t.heightCache[d.key]){const a=i[e];if(a){let{height:e}=a.getBoundingClientRect();d.rowIndex&&d.rowIndex===o.start&&e++,t.heightCache[d.key]=e,Ys(t,d,n,e),r+=e-t.rowHeight,s=d.rowIndex+2}}}t.tableHeight+=r,function(e,t,a,d,o){const{offsets:s,offsetRanges:r}=e,n=r[t],i=r[t+1],l=n&&Xs(n,a),c=i&&Xs(a,i);if(c&&o)for(let e=d;e<=i.end;e++)s[e]=s[e]+o;l&&c?(i.start=n.start,i.end=Math.max(a.end,i.end),e.offsetRanges.splice(t,1)):l?n.end=Math.max(n.end,a.end):c?(i.start=a.start,i.end=Math.max(a.end,i.end),t+=1):(e.offsetRanges.splice(t+1,0,a),t+=1);if(t>=0)for(let e=t+1;e<r.length;e++){const{start:t,end:a}=r[e];for(let e=t;e<=a;e++)s[e]=s[e]+o}}(t,n,o,s,r),function(e,t,a,d){const o=d?.scrollerY||e.querySelector(".kdds-scrollable_y");o.scrollTop=t.offsets[t.firstVisibleIndex]+t.firstRowOffset;const s=!!a[0].rowIndex;a.forEach((e,a)=>{let d=t.offsets[e.rowIndex];s&&!a&&(d+=1),e.style=`position:absolute;top:${d}px;`})}(e,t,a,d)}function qs(e,t){const{offsetRanges:a,offsets:d,rowHeight:o}=e;let s=0,r=a.length-1;for(;s<=r;){const n=Math.floor((s+r)/2),i=a[n],l=a[n+1],c=d[i.start],u=d[i.end],b=c<=t,h=b&&t<=u,k=!l||t<d[l.start],p=b&&k;if(h)return Qs(e,i,t);if(p){const a=t-u,d=Math.floor(a/o);return e.firstRowOffset=a%o,i.end+d}t<c?r=n-1:s=n+1}return-1}function Qs(e,t,a){let{start:d,end:o}=t;const{offsets:s}=e;for(;d<=o;){const t=Math.floor((d+o)/2),r=s[t]<=a,n=s[t+1]&&s[t+1]<=a;if(r&&!n)return e.firstRowOffset=a-s[t],t;r?d=t+1:o=t-1}return-1}function Ys(e,t,a,d){const o=e.offsetRanges[a];let s=e.offsets[t.rowIndex];if(!s&&(s=0,o)){s=e.offsets[o.end]+(t.rowIndex-o.end)*e.rowHeight,e.offsets[t.rowIndex]=s}e.offsets[t.rowIndex+1]=s+d}function Xs(e,t){return e.start<=t.start&&t.start<=e.end||e.start<=t.end&&t.end<=e.end}const Gs="NAVIGATION",Zs="ACTION",Js=D()?{RIGHT:-1,LEFT:1,USE_CURRENT:0,RESET:2,TAB_FORWARD:-1,TAB_BACKWARD:1}:{RIGHT:1,LEFT:-1,USE_CURRENT:0,RESET:2,TAB_FORWARD:1,TAB_BACKWARD:-1};function er(e){e.stopPropagation(),function(e,t){const{refs:a,state:d,template:o}=e;switch(t.detail.keyCode){case 37:ar(d,o,a,t);break;case 39:dr(d,o,a,t);break;case 38:or(d,o,a,t);break;case 40:sr(d,o,a,t);break;case 13:case 32:rr(d,o,a,t);break;case 27:nr(d,o,a,t);break;case 9:ir(d,o,a,t)}}(this,e)}function tr(e){Q(e.target)&&function(e,t){const{refs:a,state:d,template:o}=e,{activeCell:{colKeyValue:s,rowKeyValue:r}}=d,{keyCode:n,shiftKey:i}=t,l={detail:{colKeyValue:s,rowKeyValue:r,keyCode:n,shiftKey:i},preventDefault:()=>{},stopPropagation:()=>{}};switch(t.keyCode){case 37:t.preventDefault(),ar(d,o,a,l);break;case 39:t.preventDefault(),dr(d,o,a,l);break;case 38:t.preventDefault(),or(d,o,a,l);break;case 40:t.preventDefault(),sr(d,o,a,l);break;case 13:case 32:t.preventDefault(),rr(d,o,a,l);break;case 27:l.detail.keyEvent=t,nr(d,o,a,l);break;case 9:ir(d,o,a,l)}}(this,e)}function ar(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Od(e,o,s);if(0===r&&function(e){return e.keyboardMode===Gs&&e.treeColumn}(e))Vr(e,t),function(e){e.treeColumn&&e.keyboardMode===Gs&&(e.rowMode=!0)}(e),Dr(e,t,a);else{const d=function(e,t){return D()?Qr(e.columns.length,t):Yr(t)}(e,r);if(void 0===d)return;Vr(e,t),e.activeCell=Od(e,o,e.columns[d].colKeyValue),$r(e,t,a,Js.LEFT)}}function dr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Od(e,o,s),n=function(e,t){return D()?Yr(t):Qr(e.columns.length,t)}(e,r);void 0!==n&&(Vr(e,t),e.activeCell=Od(e,o,e.columns[n].colKeyValue),$r(e,t,a,Js.RIGHT))}function or(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Od(e,o,s),i=function(e,t){return-1===t?void 0:t-1}(0,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),Vr(e,t),e.activeCell=Od(e,-1===i?Bd:e.rows[i].key,s),$r(e,t,a,Js.USE_CURRENT))}function sr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Od(e,o,s),i=function(e,t){const a=e.rows.length;return t+1<a?t+1:void 0}(e,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),Vr(e,t),e.activeCell=Od(e,-1===i?Bd:e.rows[i].key,s),$r(e,t,a,Js.USE_CURRENT))}function rr(e,t,a,d){if(e.keyboardMode===Gs){e.keyboardMode=Zs;const{keyCode:a,keyEvent:o}=d.detail,{rowIndex:s,colIndex:r}=e.activeCell;o&&o.preventDefault();const n={action:void 0};32===a?n.action="space":13===a&&(n.action="enter"),gr(e,t,n),jr(e,s,r,-1)}}function nr(e,t,a,d){e.keyboardMode===Zs&&(d.detail.keyEvent.stopPropagation(),e.keyboardMode=Gs,gr(e,t),$r(e,t,a,Js.RESET))}function ir(e,t,a,d){d.preventDefault(),d.stopPropagation();const{detail:o}=d,s=o.shiftKey?"BACKWARD":"FORWARD";const r=function(e,t){const{rowIndex:a,colIndex:d}=e.activeCell,{nextRowIndex:o,nextColIndex:s}=ur(e,t);if(-1===a&&0===d&&-1!==o&&0!==s||-1!==a&&-1===o&&0===s)return!0;return!1}(e,s);if(e.keyboardMode===Zs)if(!1===r){const{keyEvent:d}=o;d&&d.preventDefault(),"BACKWARD"===s?cr(e,t,a):lr(e,t,a)}else e.keyboardMode=Gs,gr(e,t),e.isExitingActionMode=!0;else e.isExitingActionMode=!0}function lr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=ur(e,"FORWARD");Vr(e,t),e.activeCell=Od(e,-1===o?Bd:e.rows[o].key,e.columns[d].colKeyValue),$r(e,t,a,Js.TAB_FORWARD,{action:"tab"})}function cr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=ur(e,"BACKWARD");Vr(e,t),e.activeCell=Od(e,-1===o?Bd:e.rows[o].key,e.columns[d].colKeyValue),$r(e,t,a,Js.TAB_BACKWARD,{action:"tab"})}function ur(e,t="FORWARD"){const{rowIndex:a,colIndex:d}=e.activeCell;return"BACKWARD"===t?function(e,t,a){const d=e.columns.length;if(a>0)return{nextRowIndex:t,nextColIndex:a-1};return{nextRowIndex:Xr(e,t),nextColIndex:d-1}}(e,a,d):function(e,t,a){const d=e.columns.length;if(d>a+1)return{nextRowIndex:t,nextColIndex:a+1};return{nextRowIndex:Gr(e,t),nextColIndex:0}}(e,a,d)}function br(e,t){const{refs:a,state:d,template:o}=e,{localName:s}=t.target;if(s&&-1!==s.indexOf("tr")&&Zr(d))switch(t.detail.keyCode){case 37:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n,rowLevel:i}=o.detail;if(r&&n)js(e,s,n);else if(i>1){const{treeColumn:e}=t;if(e){const{colKeyValue:o}=e,{rowIndex:r}=Od(t,s,o),n=function(e,t,a){const d=a-1,{rows:o}=e;for(let e=d;e>=0;e--)if(o[e].level===t-1)return e;return-1}(t,i,r);-1!==n&&(Kr(t,a),t.activeCell=Od(t,t.rows[n].key,o),Dr(t,a,d))}}}(e,d,o,a,t);break;case 39:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n}=o.detail;r&&!n?js(e,s,n):(Kr(t,a),Jr(t),$r(t,a,d,Js.USE_CURRENT))}(e,d,o,a,t);break;case 38:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Od(e,o,d),n=Xr(e,s);-1!==n&&(Kr(e,t),e.activeCell=Od(e,e.rows[n].key,d),Dr(e,t,a))}}(d,o,a,t);break;case 40:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Od(e,o,d),n=Gr(e,s);-1!==n&&(Kr(e,t),e.activeCell=Od(e,e.rows[n].key,d),Dr(e,t,a))}}(d,o,a,t)}}function hr(e){e.activeCell=function(e){const{columns:t}=e,{length:a}=t;if(a){let d=0,o=!1;for(let e=0;e<a;e+=1)if(d=e,!0!==t[e].internal){o=!0;break}o||(d=0);const{rows:s}=e;return Od(e,s.length>0?s[0].key:Bd,t[d].colKeyValue)}}(e)}function kr(e,t){const{activeCell:a}=t;return a?function(e,t,a){const d=e.querySelector(`${Td(t)} ${function(e){return`[data-col-key-value="${wd(e)}"]`}(a)}`);return d||void 0}(e,a.rowKeyValue,a.colKeyValue):void 0}function pr(e,t,a){const{activeCell:d}=e;if(d){const{rowKeyValue:e,colKeyValue:o}=d;return e.toString()===t.toString()&&o===a}return!1}function mr(e){const{activeCell:t}=e;if(e.hasReceivedFocus)t&&vr(e)||(t&&e.cellToFocusNext?function(e){const{rowIndex:t,colIndex:a}=e.cellToFocusNext,{columns:d,rows:o}=e,{length:s}=o;let r=t;r>s-1&&(r=s-1);const{length:n}=d;let i=a;i>n-1&&(i=n-1);const l=function(e,t,a){const{columns:d,rows:o}=e;if(o.length>t&&d.length&&d.length>a){const s=-1===t?Bd:o[t].key,{colKeyValue:r}=d[a];return e.indexes[`${s}-${r}`]}}(e,r,i);l?e.activeCell=l:hr(e);e.keyboardMode=Gs}(e):hr(e));else{if(t&&vr(e)){const{rowIndex:a,colIndex:d}=t;jr(e,a,d,-1)}hr(e)}}function gr(e,t,a){const d=fr(kr(t,e));if(d){const{keyboardMode:t}=e;"function"==typeof d.setMode?d.setMode(t,a):Sr(e.activeCell,d,t,a)}}function vr(e){const{activeCell:t,indexes:a}=e;if(t){const d=a[t.cellKeyValue];return d&&(e.activeCell=d),void 0!==d}return!1}function fr(e){return e?e.firstElementChild:void 0}function yr(e){return e.closest('[role="gridcell"],[role="columnheader"],[role="rowheader"]')||void 0}function xr(e){return e.currentInputIndex>0}function _r(e){const{actionableElementsCount:t}=e;return t>1&&e.currentInputIndex<t-1}function wr(e,t,a){const{rowKeyValue:d,colKeyValue:o}=e,{keyCode:s,shiftKey:r}=a;t.dispatchEvent(new CustomEvent("privatecellkeydown",{bubbles:!0,composed:!0,cancelable:!0,detail:{rowKeyValue:d,colKeyValue:o,keyCode:s,shiftKey:r,keyEvent:a}}))}function Cr(e){const{state:t}=this,a=t.renderModeInline?yr(e.target):void 0;if(a){const e=fr(a);!function(e,t){const{rowKeyValue:a,colKeyValue:d}=e;t.dispatchEvent(new CustomEvent("privatecellfocusedbyclick",{bubbles:!0,composed:!0,detail:{rowKeyValue:a,colKeyValue:d}}))}(Od(t,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue),e)}}function Ar(e){const{state:t}=this,a=t.renderModeInline?yr(e.target):void 0;if(a){const e=fr(a),t=Od(this.state,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue);t.keyboardMode===Zs&&Lr(t,e,t.currentInputIndex)}}function Tr(e){const{state:t}=this,{target:a}=e,d=t.renderModeInline&&"KD-PRIMITIVE-CELL-FACTORY"!==a.tagName&&!a.getAttribute("role")?yr(e.target):void 0;if(void 0===d)return;const o=fr(d),s=Od(t,d.parentElement.dataset.rowKeyValue,d.dataset.colKeyValue),{keyboardMode:r}=s,{keyCode:n,shiftKey:i}=e;if(r===Zs){let t=n!==q.shift;n===q.left?function(e){return D()?_r(e):xr(e)}(s)&&(e.preventDefault(),D()?zr(s,o):Ir(s,o),t=!1):n===q.right?function(e){return D()?xr(e):_r(e)}(s)&&(e.preventDefault(),D()?Ir(s,o):zr(s,o),t=!1):n===q.tab&&(i?xr(s)&&(e.preventDefault(),Ir(s,o),t=!1):_r(s)&&(e.preventDefault(),zr(s,o),t=!1)),t&&wr(s,o,e)}else r===Gs&&(n!==q.left&&n!==q.right&&n!==q.up&&n!==q.down&&n!==q.enter||wr(s,o,e))}function Rr(e){const t=Array.from(e.querySelectorAll('[data-navigation="enable"]')),a=e.querySelector("kd-primitive-custom-cell");if(a){a.getActionableElements().forEach(e=>t.push(e))}return t}function zr(e,t){Lr(e,t,e.currentInputIndex+1)}function Ir(e,t){Lr(e,t,e.currentInputIndex-1)}function Lr(e,t,a){const d=Rr(t),{length:o}=d;e.actionableElementsCount=o,o&&(a>0&&a<o?(d[a].focus(),e.currentInputIndex=a):(d[0].focus(),e.currentInputIndex=0))}function Sr(e,t,a,d){const o=d||{action:"none"};if(e.keyboardMode=a,a===Zs){e.internalTabIndex=0,setTimeout(()=>{Lr(e,t,e.currentInputIndex)},0);const a=Rr(t),{length:d}=a;if("tab"===o.action)for(let e=0;e<d;e+=1){const t=a[e];if(t.getAttribute("data-action-edit")){t.click();break}}else if(1===d){const e=a[0];-1!==(e.getAttribute("data-action-triggers")||"").indexOf(o.action)&&e.click()}}else e.internalTabIndex=-1}function $r(e,t,a,d,o,s=!0){const{keyboardMode:r}=e,{rowIndex:n,colIndex:i}=e.activeCell;let l,c=kr(t,e);e.activeCell.hasFocus=!(o&&an(e)),jr(e,n,i),s&&!c&&an(e)?(!function(e,t,a,d){const{firstVisibleIndex:o,bufferSize:s,renderedRowCount:r,rowHeight:n}=e;let i=d*n;if(o>d){const e=r-2*s;i=Math.max(i-e*n,0)}const l=Id(t,a);l.scrollTop=i,qs(e,i)}(e,t,a,n),l=function(e,t){return new Promise(a=>{const d=Date.now(),o=setInterval(()=>{(kr(e,t)||d-Date.now()>1e3)&&(clearInterval(o),a())},0)})}(t,e)):l=Promise.resolve();const u=c&&c.parentElement.dataset.rowKeyValue;return l.then(()=>new Promise(a=>{setTimeout(()=>{if(c&&qd(e,u,c.dataset.colKeyValue)||(c=kr(t,e)),c){const t=fr(c),{activeCell:a}=e;t&&(d&&("function"==typeof t.resetCurrentInputIndex?t.resetCurrentInputIndex(d,r):function(e,t,a,d){if(-1===a){const{length:a}=Rr(t);e.currentInputIndex=a?a-1:0}else 1!==a&&2!==a||(e.currentInputIndex=0);d===Zs&&e.keyboardMode===Zs&&Lr(e,t,e.currentInputIndex)}(a,c,d,r)),"function"==typeof t.addFocusStyles&&t.addFocusStyles()),c.classList.add(_),c.focus({preventScroll:!s}),t&&("function"==typeof t.setMode?t.setMode(r,o):Sr(a,t,r,o))}a()},0)}))}function Vr(e,t){const{activeCell:a}=e;if(a){const{rowIndex:d,colIndex:o}=a;e.activeCell.hasFocus=!1;let s=kr(t,e);const r=s&&s.parentElement.dataset.rowKeyValue;setTimeout(()=>{if(s&&qd(e,r,s.dataset.colKeyValue)||(s=kr(t,e)),s){const{activeElement:t}=document,a=fr(s);a&&("function"==typeof a.removeFocusStyles?(t===a&&a.blur(),a.removeFocusStyles(!0)):(e.activeCell.internalTabIndex=-1,s.contains(t)&&s.blur())),s.classList.remove(_)}},0),jr(e,d,o,-1)}}function Mr(e,t){const{activeCell:a}=e;if(a&&!e.cellToFocusNext&&Wr(e,t)){const{length:t}=e.rows,d=t-1,{length:o}=e.columns;let{rowIndex:s,colIndex:r}=a;r=0,s===d&&(s=d,r=o?o-1:0),e.cellToFocusNext={rowIndex:s,colIndex:r}}}function Er(e){e.activeCell&&e.cellToFocusNext&&vr(e)&&(e.cellToFocusNext=null)}function Dr(e,t,a){const{rowIndex:d}=e.activeCell,o=tn(t,e);Pr(e,d),setTimeout(()=>{o.focus({preventScroll:!0}),function(e,t,a,d){const o=Id(t,a),s=o.parentElement.getBoundingClientRect(),r=d.getBoundingClientRect();r.top<s.top+80?o.scrollTop-=20:r.bottom>s.bottom-80&&(o.scrollTop+=20);qs(e,o.scrollTop)}(e,t,a,o)},0)}function Kr(e,t){const{activeCell:a}=e;a&&(setTimeout(()=>{const a=tn(t,e);document.activeElement===a&&a.blur()},0),Pr(e,a.rowIndex,-1))}function Wr(e,t){return e.cellClicked||Nr(t)}function Nr(e){const t=Y();for(let a=0,{length:d}=t;a<d;a+=1)if(e.contains(t[a]))return!0;return!1}function Hr(e){const{state:t}=this;if(t.hasReceivedFocus=!0,t.isExitingActionMode=!1,Nr(e.currentTarget)&&Q(e.target)){if(t.activeCell&&!t.rowMode){t.activeCell.hasFocus=!0;const e=kr(this.template,t);if(e){const a=fr(e);a&&("function"==typeof a.addFocusStyles&&a.addFocusStyles(),e.tabIndex=0),e.classList.add(_),this._suppressScroll?this._suppressScroll=!1:Fr(t,this.template,this.refs,e)}}!function(e){e.cellClicked=!1}(t)}}function Fr(e,t,a,d){if(e.activeCell?.colIndex===e.columns?.length-1){const e=zd(t,a);e.scrollLeft=e.scrollWidth}else{const e=a?.outerContainer||t.querySelector("div.dt-outer-container"),o=d.getBoundingClientRect(),s=e.getBoundingClientRect();(o.left<s.left||o.right>s.right)&&d.scrollIntoView({block:"nearest",inline:"nearest"})}}function Br(e){const{state:t}=this,{currentTarget:a,relatedTarget:d}=e,o=d&&a.contains(d);if((!d||d&&!o||d&&o&&t.isExitingActionMode)&&t.activeCell&&!t.rowMode){const e=kr(this.template,t);if(e){const t=fr(e);t&&"function"==typeof t.removeFocusStyles&&t.removeFocusStyles(),e.classList.remove(_)}}}function Or(e){e.cellClicked=!0}function jr(e,t,a,d=0){en(t)?e.columns[a].tabIndex=d:e.rows[t].cells[a].tabIndex=d}function Pr(e,t,a=0){en(t)||(e.rows[t].tabIndex=a)}function Ur(e,t=0){e.activeCell&&!vr(e)&&mr(e),dn(e,t)}function qr(e,t=0){e.activeCell&&!vr(e)&&mr(e),function(e,t=0){const{activeCell:a}=e;a&&Zr(e)&&Pr(e,a.rowIndex,t)}(e,t)}function Qr(e,t){return e>t+1?t+1:void 0}function Yr(e){return e>0?e-1:void 0}function Xr(e,t){const{length:a}=e.rows;return-1===t?a-1:t-1}function Gr(e,t){const{length:a}=e.rows;return t+1<a?t+1:-1}function Zr(e){return e.keyboardMode===Gs&&!0===e.rowMode}function Jr(e){e.rowMode=!1}function en(e){return-1===e}function tn(e,t){let a;const{activeCell:d}=t;return d&&(a=e.querySelector(Td(d.rowKeyValue))),a||void 0}function an(e){const{activeCell:t}=e;return!!t&&qd(e,t.rowKeyValue,t.colKeyValue)}function dn(e,t=0){const{activeCell:a}=e;a&&!Zr(e)&&jr(e,a.rowIndex,a.colIndex,t)}const on='[data-iedit-panel="true"]';function sn(e){bn(this,yr(e.target))}function rn(e){pn(this);const{reason:t,rowKeyValue:a,colKeyValue:d}=e.detail;un(this,t,a,d),this._draftValues=this.draftValues}function nn(e){const{state:t}=this;if(e.detail.checked)!function(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&Ms(e,s,t)}}(t);else{const{inlineEdit:e}=t;fn(this.state),Ms(t,e.rowKeyValue,e.colKeyValue)}}function ln(e){const{state:t}=this,{inlineEdit:a}=t,{isPanelVisible:d}=a;if(!d)return;let o=0;const{target:s}=e;if(s.classList.contains("kdds-scrollable_y")){const e=s.scrollTop;null==this._lastScrollY?this._lastScrollY=e:s.scrollHeight>s.offsetHeight&&(o=Math.abs(this._lastScrollY-e))}else{const e=s.scrollLeft;null==this._lastScrollX?this._lastScrollX=e:s.scrollWidth>s.offsetWidth&&(o=Math.abs(this._lastScrollX-e))}if(o>5){const{rowKeyValue:e,colKeyValue:t}=a;this._lastScrollX=null,this._lastScrollY=null,pn(this),un(this,"lost-focus",e,t)}else r=this,requestAnimationFrame(()=>{const{_positionRelationship:e}=r;e&&e.reposition()});var r}function cn(e){const{inlineEdit:t}=e.state;t.isPanelVisible&&un(e,"lost-focus",t.rowKeyValue,t.colKeyValue)}function un(e,t,a,d){const{state:o,template:s,refs:r}=e,{inlineEdit:n}=o;if(qd(o,a,d)&&"edit-canceled"!==t&&!("lost-focus"===t&&n.massEditEnabled)){const t=s.querySelector(on),r=t.validity.valid,n=Od(o,a,d).value,{isMassEditChecked:i,value:l}=t;if(r&&(l!==n||i)){const t={[a]:{[d]:l}};if(i){const e=ao(o);for(let a=0;a<e.length;a+=1){t[e[a]]={[d]:l}}}!function(e,t){const{dirtyValues:a}=e.inlineEdit,d=Object.keys(t);for(let e=0;e<d.length;e+=1){const o=d[e];Object.prototype.hasOwnProperty.call(a,o)||(a[o]={}),Object.assign(a[o],t[o])}}(o,t),function(e,t){e.dispatchEvent(new CustomEvent("cellchange",{detail:{draftValues:gn(e.state,t)}}))}(e,t),Po(o,e._privateTypes)}}"lost-focus"!==t&&("tab-pressed-next"===t?lr(o,s,r):"tab-pressed-prev"===t?cr(o,s,r):$r(o,s,r,Js.USE_CURRENT)),fn(o),Es(o,a,d),n.isPanelVisible=!1}function bn(e,t){!function(e,t){requestAnimationFrame(()=>{pn(e),e._positionRelationship=pe(e,{target:t,element:()=>e.template.querySelector(on).getPositionedElement(),autoFlip:!0,align:{horizontal:me.Left,vertical:me.Top},targetAlign:{horizontal:me.Left,vertical:me.Top}})})}(e,t);const{state:a,template:d,_privateTypes:o}=e,{inlineEdit:s}=a;s.isPanelVisible&&un(e,"lost-focus",s.rowKeyValue,s.colKeyValue);const{rowKeyValue:r}=t.parentElement.dataset,{colKeyValue:n}=t.dataset,i=Od(a,r,n),{colIndex:l}=i,c=a.columns[l];s.isPanelVisible=!0,s.rowKeyValue=r,s.colKeyValue=n,s.columnDef=c,s.editedValue=i.value,s.customErrorValidationMessage=i.customErrorValidationMessage,s.massEditSelectedRows=to(a),s.massEditEnabled=s.massEditSelectedRows>1&&function(e,t){return!!e.selectedRowsKeys[t]}(a,r),s.cellRect=t.getBoundingClientRect();const{typeAttributes:u}=c||{};u&&(s.resolvedTypeAttributes=function(e,t,a,d,o){const s=e.columns[a],r=o&&d.getType(s.type),n=r&&r.typeAttributes;if(n){const a={},{length:d}=n,s=d?Ud(e,t):void 0;if(s)for(let e=0;e<d;e+=1){const t=n[e],d=o[t];d&&(a[t]=vn(s,d))}return a}return o}(a,r,l,o,u)),Ms(a,r,n),setTimeout(()=>{const t=d.querySelector("kd-primitive-datatable-iedit-panel");t.isEditableValid?t.focus():un(e,"edit-canceled",s.rowKeyValue,s.colKeyValue)},0)}function hn(e){const{state:t}=e;if(t.data&&t.data.length>0)if(function(e){const{activeCell:t}=e;return!!t&&t.editable}(t))kn(e);else{const a=function(e){const{state:t}=e,{columns:a}=t,d=[];for(let e=0,{length:t}=a;e<t;e+=1){const t=a[e];t.editable&&d.push(t)}const{length:o}=d;if(o>0){const{rows:e}=t;for(let a=0;a<e.length;a+=1){const s=e[a],{key:r}=s;for(let e=0;e<o;e+=1){const{colKeyValue:a}=d[e],o=Od(t,r,a);if(o&&o.editable)return o}}}return}(e);a&&(t.activeCell=a,kn(e))}}async function kn(e){const{state:t,template:a,refs:d}=e;await $r(t,a,d,Js.USE_CURRENT);bn(e,kr(a,t))}function pn(e){const{_positionRelationship:t}=e;t&&(ke(t),e._positionRelationship=void 0)}function mn(e,t){const{columns:a,keyField:d}=e,o=Array.isArray(t)?t:[],s={};for(let e=0;e<o.length;e+=1){const t=o[e],r=Object.keys(t),n={};for(let e=0,{length:d}=r;e<d;e+=1){const d=r[e];for(let e=0;e<a.length;e+=1){const o=a[e];if(o.columnKey===d||!o.columnKey&&o.fieldName===d){n[o.colKeyValue]=t[d];break}}}delete n[d],s[t[d]]=n}e.inlineEdit.dirtyValues=s}function gn(e,t){const{columns:a,keyField:d}=e,o=[],s=Object.keys(t);for(let r=0,{length:n}=s;r<n;r+=1){const n=s[r],i=t[n],l=Object.keys(i),{length:c}=l;if(c){const t={};for(let d=0;d<c;d+=1){const o=l[d],s=po(e,o);if(-1!==s){const{name:e}=a[s];t[e]=i[o]}}t[d]=n,o.push(t)}}return o}function vn(e,t){let a={};if(!Cd(t))return void 0===t?a:t;if(Array.isArray(t))return t.map(t=>vn(e,t));const d=Object.keys(t);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o],r=t[s];if(void 0!==r)if("fieldName"===s)a=e[r];else if(Cd(r)){const{fieldName:t}=r;a[s]=t?e[t]:vn(e,r)}else a[s]=r}return a}function fn(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&Es(e,s,t)}}function yn(e,t){e.renderModeRoleBased?e.virtualize=se(t,{fallbackValue:"",validValues:["vertical"]}):e.virtualize=""}class xn{constructor(){this.threshold=305,this.wrapperHeight=0,this.previousCache={renderedRowCount:0,totalRowCount:0,firstRowKey:""}}configure(e,t,a){const{rowHeight:d,bufferSize:o}=a;yn(e,a.virtualize),function(e,t){e.enableViewportRendering=oe(t)}(e,a.viewportRendering),(e.virtualize||e.enableViewportRendering)&&this.initializeResizeObserver(e,t);const s=void 0!==o?o:5;e.bufferSize=Sd("bufferSize",s,"non-negative",5),"number"==typeof d&&(e.rowHeight=d,this.threshold=10*d)}updateViewportRendering(e,t,a){this.hasDataChanged(e.rows)||a?this.updateRenderedRows(e,this.getRowCountWithBuffer(e)):this.previousCache.totalRowCount<e.rows.length&&this.isWithinThreshold(t)?this.updateRenderedRows(e,this.previousCache.renderedRowCount+this.getRowCountWithBuffer(e)):this.updateRenderedRows(e,this.previousCache.renderedRowCount)}handleScroll(e,t){const{rows:a,renderedRowCount:d}=e;this.isWithinThreshold(t.target.firstChild)&&d<a.length&&this.updateRenderedRows(e,d+this.getRowCountWithBuffer(e))}getRenderedRange(e){const{firstVisibleIndex:t,bufferSize:a,renderedRowCount:d,rows:o,rowHeight:s,heightCache:r}=e,n=Math.max(t-a,0);let i=t-a+d;if(r[o[t]&&o[t].key]){let e=t,d=0,n=o[e]&&r[o[e].key];for(;n&&d<this.wrapperHeight;)d+=n,e+=1,n=o[e]&&r[o[e].key];if(d>=this.wrapperHeight)i=e+a;else{i=e+Math.ceil((this.wrapperHeight-d)/s)+a}}return d===o.length&&i<=o.length-a&&(i=d),{firstIndex:n,lastIndex:i}}updateRenderedRows(e,t){const{rows:a}=e,d=a.length,o=t?Math.min(t,d):d;e.enableViewportRendering?e.renderedRowCount<o&&(e.renderedRowCount=o,this.previousCache.renderedRowCount=o):(e.renderedRowCount=o,this.previousCache.renderedRowCount=o),this.previousCache.totalRowCount=d,a.length>0&&(this.previousCache.firstRowKey=a[0].key)}updateWrapperHeight(e){this.wrapperHeight=e()}initializeResizeObserver(e,t){this._heightResizeObserver||(this._heightResizeObserver=new de(()=>{if(this._resizeObserverConnected){this.updateWrapperHeight(t);const a=this.getRowCountWithBuffer(e);Ps(e),(a>e.renderedRowCount||e.virtualize)&&this.updateRenderedRows(e,a)}}))}connectResizeObserver(e){const{_heightResizeObserver:t}=this;t&&(t.observe(e),this._resizeObserverConnected=!0)}disconnectResizeObserver(){const{_heightResizeObserver:e}=this;e&&(this._resizeObserverConnected=!1,e.disconnect())}getRowCountInViewport(e){return Math.ceil(this.wrapperHeight/e.rowHeight)}getRowCountWithBuffer(e){const t=e.virtualize?2:1;return this.getRowCountInViewport(e)+e.bufferSize*t}isWithinThreshold(e){return $d(e)<=this.threshold}hasDataChanged(e){return e.length>0&&this.previousCache.firstRowKey!==e[0].key}hasWrapperHeight(){return!!this.wrapperHeight}}function _n(e){const{columns:t,defaultSortDirection:a,sortedBy:d,sortedDirection:o}=e,s=Array.isArray(d);for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];if(r.sortable&&s&&d.includes(r.name)&&o){const e=d.indexOf(r.name),t=o[e];r.sorted=e+1,r.sortAriaLabel="desc"===t?"descending":"ascending",r.sortedDirection=t}else r.sortable&&!s&&d===r.name?(r.sorted=!0,r.sortAriaLabel="desc"===o?"descending":"ascending",r.sortedDirection=o):(r.sorted=!1,r.sortAriaLabel=r.sortable?"other":null,r.sortedDirection=a)}}const{PrivateLookupItemPickedEvent:wn}=V,Cn={ariaLiveNavigationMode:S.ariaLiveNavigationMode,ariaLiveActionMode:S.ariaLiveActionMode},{setContext:An,assertContext:Tn}=G;class Rn extends ge{get columnWidthsMode(){return this.widthsData.columnWidthsMode}set columnWidthsMode(e){const{widthsData:t}=this,a=se(e,{fallbackValue:"fixed",validValues:["fixed","auto"]});this._columnWidthManager.columnWidthMode=a,t.columnWidthsMode!==a&&this._columnWidthManager.handleWidthModeChange(this.state.columns),t.columnWidthsMode=a}get expandable(){return this._expandable}set expandable(e){this._expandable=e,((e,t)=>{const{defaultExpandedRowKeys:a=[],defaultExpandAllRows:d}=t,{data:o,keyField:s}=e,r=new Set(a);d&&r.size!==o.length&&o.forEach(e=>{r.add(e[s])}),e.expandedRowKeys=r})(this.state,e),this.updateColumns(this._rawColumns)}get rangeSelection(){return this._rangeSelection}set rangeSelection(e){this._rangeSelection=e}get columns(){return this._rawColumns}set columns(e){const t=Array.isArray(e)?e:[];this._rawColumns=t,this.updateColumns(t),this._columnWidthManager.handleColumnsChange(this.state.columns)}get data(){return this.state.data}set data(e){const{_customerSelectedRows:t,state:a}=this,{data:d,columns:o}=a,s=Vd(e),r=function(e,t){const a=Vd(e),d=Vd(t);try{return!(!a.length||!d.length)&&JSON.stringify(a[0])===JSON.stringify(d[0])}catch(e){return!1}}(d,s);a.data=s,!r&&s.length&&o?.length&&this._columnWidthManager.handleDataChange(o),"string"==typeof a.keyField&&this.isConnected&&this.updateRows(),r?function(e,t,a){const d=a.length-t.length;e.tableHeight+=d*e.rowHeight}(a,d,s):(a.heightCache={},a.offsets=[0],a.offsetRanges=[{start:0,end:0}],a.firstVisibleIndex=0,a.tableHeight=a.rowHeight*s.length),t&&this.setSelectedRows(t)}get defaultSortDirection(){return this.state.defaultSortDirection}set defaultSortDirection(e){const{state:t}=this;!function(e,t){"asc"!==t&&"desc"!==t||(e.defaultSortDirection=t)}(t,e),_n(t)}get draftValues(){return gn(e=this.state,e.inlineEdit.dirtyValues);var e}set draftValues(e){const{state:t}=this;this._draftValues=e,mn(t,e),this.isConnected&&"string"==typeof t.keyField&&this.updateRowsAndCells(),dn(t)}get enableInfiniteLoading(){return this.state.enableInfiniteLoading}set enableInfiniteLoading(e){const{state:t}=this;!function(e,t){e.enableInfiniteLoading=oe(t)}(t,e),this.isConnected&&Fd.call(this)}get errors(){return this.state.errors}set errors(e){const{state:t}=this;!function(e,t){e.errors=Object.assign({rows:{},table:{}},t)}(t,e),this.isConnected&&Uo(t)}get hideCheckboxColumn(){return this.state.hideCheckboxColumn}set hideCheckboxColumn(e){const{_rawColumns:t,state:a}=this,d=oe(e);this._columnWidthManager.handleCheckboxColumnChange(a.hideCheckboxColumn,d,a.columns),a.hideCheckboxColumn=d,this.isConnected?this.updateColumns(t):t&&(a.hadTreeDataTypePreviously=!1,a.treeColumn=void 0,co({state:a,rawColumns:t,types:this._privateTypes,expandable:this._expandable}))}get showActionsMenu(){return this.state.showActionsMenu}set showActionsMenu(e){const{state:t}=this,a=oe(e);this._columnWidthManager.handleActionsColumnChange(t.showActionsMenu,a,t.columns),t.showActionsMenu=a,this.updateColumns(this._rawColumns)}get hideTableHeader(){return this.state.hideTableHeader}set hideTableHeader(e){this.state.hideTableHeader=oe(e)}get wrapTableHeader(){return this.state.wrapTableHeader}set wrapTableHeader(e){const t=this.state.wrapTableHeader,a=se(e,{fallbackValue:"none",validValues:["all","by-column","none"]});this.state.wrapTableHeader=a,a!==t&&(this._recalculateHeaderHeight=!0)}get loading(){return this.state.loading}set loading(e){!function(e,t){e.loading=oe(t)}(this.state,e)}get keyField(){return this.state.keyField}set keyField(e){const{state:t}=this;!function(e,t){e.keyField="string"==typeof t?t:void 0}(t,e),mn(t,this._draftValues),this.isConnected&&this.updateRows()}get loadMoreOffset(){return Nd(this.state)}set loadMoreOffset(e){!function(e,t){Ld(t),e.loadMoreOffset=Ld(t)?parseInt(t,10):20}(this.state,e)}get maxColumnWidth(){return this.widthsData.maxColumnWidth}set maxColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.maxColumnWidth=Sd("maxColumnWidth",a,"non-negative",Md.maxColumnWidth),Dd(e,t)}(this.state.columns,t,e),this._columnWidthManager.maxColumnWidth=t.maxColumnWidth}get maxRowSelection(){return this.state.maxRowSelection}set maxRowSelection(e){const{state:t,_customerSelectedRows:a}=this,d=to(t);!function(e,t,a){const d=ao(e);if(Cs(e),Ld(t)){const o=e.maxRowSelection,s=Number(t);e.maxRowSelection=s;const r=Math.min(d.length,s);for(let t=0;t<r;t+=1)As(e,d[t]);(function(e,t){return 0===e||0===t||1===e&&(t>1||void 0===t)||1===t&&(e>1||void 0===e)})(o,s)&&(Ss(e,a),$s(e))}else e.maxRowSelection=void 0}(t,e,this._datatableId),d>0?this.fireSelectedRowsChange(this.getSelectedRows()):!this.isConnected&&t.data.length&&a&&(this._maxRowSelectionShouldFireEvent=!0)}get singleRowSelectionMode(){return this.state.singleRowSelectionMode}set singleRowSelectionMode(e){const{state:t}=this;t.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),function(e,t,a){se(t,{fallbackValue:Jd,validValues:[Zd,Jd]})!==e.singleRowSelectionMode&&(e.singleRowSelectionMode=t,Ss(e,a),$s(e))}(t,e,this._datatableId)}get minColumnWidth(){return this.widthsData.minColumnWidth}set minColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.minColumnWidth=Sd("minColumnWidth",a,"non-negative",Md.minColumnWidth),Dd(e,t)}(this.state.columns,t,e),this._columnWidthManager.minColumnWidth=t.minColumnWidth}get renderConfig(){return this._renderConfig}set renderConfig(e){Cd(e)&&(this._renderManager.configure(this.state,this.getWrapperHeight,e),this._renderManager.updateViewportRendering(this.state,this.gridContainer,!0),this._renderConfig=e)}get renderMode(){return this._renderMode}set renderMode(e){const{_renderConfig:t,state:a}=this,d=se(e,{fallbackValue:"default",validValues:["default","inline","role-based","role-based-inline"]}),o=function(e){return xd.test(e)}(d),s=function(e){return _d.test(e)}(d);this._renderMode=d,a.hasRenderedFirstTime=!1,a.hasRenderedTable=!1,a.renderModeInline=o,a.renderModeRoleBased=s,this.isConnected&&this.updateRowsAndCells(),t&&yn(a,t.virtualize),Xo(a)}get resizeColumnDisabled(){return this.widthsData.resizeColumnDisabled}set resizeColumnDisabled(e){!function(e,t){e.resizeColumnDisabled=oe(t)}(this.widthsData,e)}get resizeStep(){return this.widthsData.resizeStep}set resizeStep(e){!function(e,t){e.resizeStep=Sd("resizeStep",t,"non-negative",Md.resizeStep)}(this.widthsData,e)}get rowNumberOffset(){return this.state.rowNumberOffset}set rowNumberOffset(e){const{state:t}=this;!function(e,t){e.rowNumberOffset=Sd("rowNumberOffset",t,"non-negative",0)}(t,e),this._columnWidthManager.handleRowNumberOffsetChange(t,this.widthsData)}get selectedRows(){return ao(this.state)}set selectedRows(e){this._customerSelectedRows=e,this.setSelectedRows(e)}get showRowNumberColumn(){return this.state.showRowNumberColumn}set showRowNumberColumn(e){const{state:t,_rawColumns:a}=this,{length:d}=a;if(t.showRowNumberColumn)for(let e=0;e<d;e+=1)if(a[e].editable)return;this._columnWidthManager.handleRowNumberColumnChange(t.rowNumberOffset,e,t.columns),t.showRowNumberColumn=oe(e),this.isConnected?this.updateColumns(a):a&&(t.hadTreeDataTypePreviously=!1,t.treeColumn=void 0,co({state:t,rawColumns:a,types:this._privateTypes,expandable:this._expandable}))}get sortedBy(){return this.state.sortedBy}set sortedBy(e){const{state:t}=this;!function(e,t){"string"==typeof t||Array.isArray(t)?e.sortedBy=t:e.sortedBy=void 0}(t,e),_n(t)}get sortedDirection(){return this.state.sortedDirection}set sortedDirection(e){const{state:t}=this;!function(e,t){"string"!=typeof t||"asc"!==t&&"desc"!==t?Array.isArray(t)&&(t.forEach(e=>{}),e.sortedDirection=t):e.sortedDirection=t}(t,e),_n(t)}get suppressBottomBar(){return this._suppressBottomBar}set suppressBottomBar(e){this._suppressBottomBar=oe(e)}get wrapTextMaxLines(){return this.state.wrapTextMaxLines}set wrapTextMaxLines(e){const{state:t}=this;!function(e,t){e.wrapTextMaxLines=Sd("wrapTextMaxLines",t,"positive",void 0),e.shouldResetHeights=!0}(t,e),this._columnWidthManager.wrapTextMaxLines=t.wrapTextMaxLines,this.isConnected&&Uo(t)}focus(){const{state:e}=this;mr(e),$r(e,this.template,this.refs)}getSelectedRows(){const{state:e}=this;let t;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),t=re?o(e.data):e.data;const{rows:a}=e,d=[];for(let e=0,{length:o}=a;e<o;e+=1){a[e].isSelected&&d.push(t[e])}return d}openInlineEdit(){this.state.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),hn(this)}scrollToTop(){const e=Id(this.template,this.validRefs);e&&(e.scrollTop=0)}get gridContainer(){return re?Rd(Id(this.template,this.validRefs)):null}get computedTableContainerClass(){return E({"kdds-table_header-fixed_container":!this.state.hideTableHeader,"kdds-scrollable_x":!this._isResizing})}get computedTableClass(){const{state:e}=this,{rangeSelection:t}=e,a=e.hideTableHeader?"hidden":"fixed";return E({"kdds-table":!0,"kdds-no-row-hover":0===this.renderedRows.length,[`kdds-table_header-${a}`]:!0,"kdds-table_bordered":!0,"kdds-table_edit":!0,"kdds-table_resizable-cols":!this.widthsData.resizeColumnDisabled,"kdds-tree kdds-table_tree":!!e.treeColumn,"kdds-rangeselection_active":t.length&&!(1===t.length&&$o(t))})}get computedTableRole(){return this.state.treeColumn?"treegrid":"grid"}get computedTableStyle(){let e=`table-layout: ${this._columnWidthManager.isAutoResizingUpdateQueued?"auto":"fixed"};`;const{tableWidth:t}=this.widthsData;return t&&(e+=`width: ${t}px;`),e}get computedTbodyStyle(){const{state:e}=this,{rowNumberOffset:t}=e;let a="";if(e.showRowNumberColumn&&t>=0){const{firstVisibleIndex:d,bufferSize:o}=e;a+=`counter-reset: row-number ${Math.max(d-o,0)+t};`}if(e.virtualize){const{tableHeight:t}=e;a+=`position:relative;height:${t}px`}return a}get computedScrollerYStyle(){const e=this._actionsMinHeightStyle?`${this._actionsMinHeightStyle};`:"";if(this._columnWidthManager.isAutoResizingUpdateQueued)return`${e}overflow-x: auto;`;const{tableWidth:t}=this.widthsData;return this.tableNoData?`${e}overflow: unset;`:t?`${e}width: ${t}px;`:`${e}`}get computedScrollerXStyle(){let e="height: 100%;";return this.showStatusBar&&(e+="padding-bottom: 3rem;"),this._columnWidthManager.isAutoResizingUpdateQueued&&(e+="overflow-x: auto;"),"none"!==this.state.wrapTableHeader&&(e+=`padding-top: max(2rem, ${this._headerHeight}px);`),e}get computedCheckboxColumnHeaderId(){return`${this._datatableId}-check-column-header`}get computedAriaLiveClassForNavMode(){const e=this.state.keyboardMode===Gs;return E({"kdds-hide":!e,"kdds-assistive-text":e})}get computedAriaLiveClassForActionMode(){const e=this.state.keyboardMode===Zs;return E({"kdds-hide":!e,"kdds-assistive-text":e})}get ariaRowCount(){const{state:e}=this;return e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),e.rows.length+1}get hasValidKeyField(){return"string"==typeof this.state.keyField}get hasResizebleColumns(){return!this.widthsData.resizeColumnDisabled}get validRefs(){return this._hasRendered?this.refs:null}get renderedRows(){const{state:e}=this;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells();const{virtualize:t,rows:a,renderedRowCount:d}=e;if(t){const{firstIndex:t,lastIndex:d}=this._renderManager.getRenderedRange(e);return this._shouldResetFocus=!0,a.slice(t,d)}return e.enableViewportRendering?a.slice(0,d):a}get showSelectAllCheckbox(){return oo(this.state)}get showStatusBar(){return!this._suppressBottomBar&&(e=this.state,X(e.inlineEdit.dirtyValues));var e}get tableError(){return this.state.errors.table}get i18n(){return Cn}get tableNoData(){return 0===this.renderedRows.length}constructor(){super(),this.state=mo(),this.widthsData={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0},this._actionsMinHeightStyle="",this._columnWidthManager=void 0,this._customerSelectedRows=null,this._datatableId=M("lgt-datatable"),this._draftValues=[],this._headerHeight=0,this._isResizing=!1,this._positionRelationship=void 0,this._privateTypes={},this._rawColumns=[],this._renderConfig=void 0,this._renderManager=void 0,this._renderMode="default",this._renderedTemplate=gd,this._shouldResetFocus=!1,this._suppressBottomBar=!1,this._widthObserver=void 0,this._hasSetInitialCustomTypes=!1,this._shouldResetCustomTypes=!1,this._recalculateHeaderHeight=!1,this._maxRowSelectionShouldFireEvent=!1,this._expandable=null,this._rangeSelection=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaDescribedBy=null,this.handleCellButtonClick=ks,this.handlePrivateDatatableEditCell=sn,this.handleHeaderActionMenuClosed=Os,this.handleHeaderActionMenuOpening=Bs,this.handleHeaderActionTriggered=Fs,this.handleKeydownOnCell=er,this.handleLoadDynamicActions=hs,this.handlePrimitiveDatatableCellClick=Cr,this.handlePrimitiveDatatableCellFocus=Ar,this.handlePrimitiveDatatableCellKeydown=Tr,this.handleRowSelectionChange=ws,this.handleRowActionTriggered=bs,this.handleTableKeydown=tr,this.handleTableFocusIn=Hr,this.handleMassCheckboxChange=nn,this.handleRowExpand=e=>{e.stopPropagation(),e.preventDefault();const{onExpand:t}=this._expandable,{detail:a={}}=e,{rowKeyValue:d,nextState:o}=a;t&&t(e),!o&&this.state.expandedRowKeys.has(d)?this.state.expandedRowKeys.delete(d):this.state.expandedRowKeys.add(d),this.updateRowsAndCells()},this._columnWidthManager=new us(this.widthsData),this._privateTypes=new Io(this.constructor.customTypes),this._hasSetInitialCustomTypes=!!this._privateTypes.privateCustomTypes.size,this._renderManager=new xn,re&&(this.getWrapperHeight=()=>{const e=zd(this.template,this.refs),t=this.state.hideTableHeader?0:parseFloat(getComputedStyle(e).paddingTop)||32;return e.offsetHeight-t}),An(this)}connectedCallback(){super.connectedCallback();const{_customerSelectedRows:e,state:t,template:a}=this;if(this.addEventListener("rowselection",e=>{this.handleRowSelectionChange(e)}),re&&(a.addEventListener("selectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("selectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("resizecol",e=>{this.handleResizeColumn(e)}),a.addEventListener("privateupdatecolsort",e=>{this.handleUpdateColumnSort(e)}),a.addEventListener("privatecellkeydown",e=>{this.handleKeydownOnCell(e)}),a.addEventListener("privatecellfocusedbyclick",e=>{this.handleCellFocusByClick(e)}),a.addEventListener("privatecellfalseblurred",e=>{this.handleFalseCellBlur(e)}),a.addEventListener("click",e=>{this.handlePrimitiveDatatableCellClick(e)}),a.addEventListener("focus",e=>{this.handlePrimitiveDatatableCellFocus(e)}),a.addEventListener("keydown",e=>{this.handlePrimitiveDatatableCellKeydown(e)}),a.addEventListener("privatecellactiontriggered",e=>{this.handleRowActionTriggered(e)}),a.addEventListener("privatecellactionmenuopening",e=>{this.handleLoadDynamicActions(e)}),a.addEventListener("privatecellbuttonclicked",e=>{this.handleCellButtonClick(e)}),a.addEventListener("privatecellheaderactionmenuopening",e=>{this.handleHeaderActionMenuOpening(e)}),a.addEventListener("privatecellheaderactionmenuclosed",e=>{this.handleHeaderActionMenuClosed(e)}),a.addEventListener("privatecellheaderactiontriggered",e=>{this.handleHeaderActionTriggered(e)}),a.addEventListener("privateopensortingmodal",e=>{this.handleOpenSortingModal(e)}),a.addEventListener("privateeditcell",e=>{this.handlePrivateDatatableEditCell(e)}),a.addEventListener("privaterowexpand",e=>{this.handleRowExpand(e)})),this.updateColumnsAndRows(),(t.enableViewportRendering||t.virtualize)&&(t.renderedRowCount=1),e){this.setSelectedRows(e);to(this.state)>0&&this._maxRowSelectionShouldFireEvent&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._maxRowSelectionShouldFireEvent=!1)}}render(){const e=this._columnWidthManager.isAutoResizingUpdateQueued;this._hasRendered||(this._hasRendered=!0);const t=this.state.renderModeRoleBased&&!e?Ut:gd;return t!==this._renderedTemplate&&(this._shouldResetCustomTypes=!this._privateTypes.privateCustomTypes.size,es(this),this._renderManager.disconnectResizeObserver(),this._renderedTemplate=t),t}renderedCallback(){const{_columnWidthManager:e,gridContainer:t,refs:a,state:d,template:o,widthsData:s}=this;if(!this._hasSetInitialCustomTypes&&(this.setCustomTypes(),this._hasSetInitialCustomTypes=!0,this._privateTypes.privateCustomTypes.size&&"auto"===s.columnWidthsMode))return;Z(t,{"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledBy,"aria-describedby":this.ariaDescribedBy});const{renderModeInline:r}=d;if(e.isResizingUpdateQueued){const{columns:t}=d,r=e.shouldFireResizeEvent(s,t);e.adjustColumnsSize(o,a,t,s),d.shouldResetHeights=!0,d.renderModeRoleBased&&Yo(d),r&&this.fireOnResize(!1),this._recalculateHeaderHeight=!0,this.updateTableAndScrollerStyleOnRender()}if(function(e){const t=Object.keys(Go),{length:a}=t;for(let d=0;d<a;d+=1)Jo(e,t[d])}(this),this._customerSelectedRows=null,d.cellToFocusNext=void 0,this._shouldResetFocus){this._shouldResetFocus=!1;const{activeCell:e}=d;if(e&&e.hasFocus&&!d.inlineEdit.isPanelVisible){const e=kr(o,d),t=fr(e);!r&&e&&t&&!t.classList.contains(_)&&$r(d,o,a,null,null,!1)}}const{hasRenderedFirstTime:n,hasRenderedTable:i}=d,l=!!d.virtualize,{length:c}=d.rows;d.hasRenderedFirstTime=!0,d.hasRenderedTable=!0;let u=!1;if(l||d.enableViewportRendering){const{_renderManager:e}=this;if(c&&l&&this.updateVirtualizedRowHeights(),!n){const t=a?.outerContainer||o.querySelector("div.dt-outer-container");e.connectResizeObserver(t)}e.hasWrapperHeight()||(u=!0)}requestAnimationFrame(()=>{if(u){const{_renderManager:e}=this;e.updateWrapperHeight(this.getWrapperHeight),d.renderedRowCount&&e.updateViewportRendering(d,t,!0)}this.updateHeaderHeight(),c&&r&&!i&&(this.updateCheckboxCellsAriaAttrs(),ee(o)&&(this.updateLookupCellsLinkInfo(),this.updateUrlCellsLinkInfo()))})}updateHeaderHeight(){if("none"!==this.state.wrapTableHeader&&this._recalculateHeaderHeight){const e=this.refs.headerRow?.children||[];let t=0;for(let a=0;a<e.length;a+=1){const d=e[a].firstChild.getDomHeight();d>t&&(t=d)}this._headerHeight=t+16,this._recalculateHeaderHeight=!1}else this._recalculateHeaderHeight&&(this._headerHeight=0,this._recalculateHeaderHeight=!1)}updateTableAndScrollerStyleOnRender(){const e=Id(this.template,this.refs),t=Rd(e);t&&(t.style=this.computedTableStyle),e&&(e.style=this.computedScrollerYStyle)}disconnectedCallback(){es(this),this._renderManager.disconnectResizeObserver()}handleTableCellMouseDown(e){const{rangeSelectedChange:t,suppressMultiRangeSelection:a}=this.rangeSelection||{};!a&&t&&Do({event:e,dt:this,rangeSelectedChange:t})}handleCustomTypesChange(){this._shouldResetCustomTypes?this.setCustomTypes():this._shouldResetCustomTypes=!0}handleKeydownOnDataRow(e){const{state:t}=this;if(t.keyboardMode===Gs&&t.rowMode){e.stopPropagation();const{currentTarget:t}=e;br(this,{target:t,detail:{keyCode:e.keyCode,keyEvent:e,rowExpanded:"true"===t.getAttribute("aria-expanded"),rowHasChildren:!!t.getAttribute("aria-expanded"),rowKeyValue:t.getAttribute("data-row-key-value"),rowLevel:t.getAttribute("aria-level")}})}}handleHorizontalScroll(e){Tn(this),ln.call(this,e)}handleVerticalScroll(e){Tn(this);const{state:t}=this;t.enableInfiniteLoading&&Hd.call(this,e),ln.call(this,e),t.virtualize?t.firstVisibleIndex=qs(this.state,e.target.scrollTop):t.enableViewportRendering&&this._renderManager.handleScroll(t,e)}handleTableCellClick(e){const{target:t}=e;if(Q(t)){const e=t,{template:a,state:d}=this;d.hasReceivedFocus=!0;const{rowKeyValue:o}=e.parentElement.dataset,{colKeyValue:s}=e.dataset;if(d.rowMode||!pr(d,o,s)){const{activeCell:e}=d;e&&d.rowMode&&(Jr(d),Pr(d,e.rowIndex,-1)),this.setActiveCell(o,s)}Wr(d,a)||Or(d),Fr(d,a,this.refs,e)}}handleUpdateColumnSort(e){e.stopPropagation();const{fieldName:t,columnKey:a,sortDirection:d}=e.detail;this.fireSortedColumnChange(t,a,d)}handleOpenSortingModal(e){e.stopPropagation()}handleResizeColumn(e){e.stopPropagation();const{state:t}=this,{colIndex:a,widthDelta:d}=e.detail;0!==d&&(Ed(t.columns,this.widthsData,a,d),t.renderModeRoleBased&&Yo(t),this.fireOnResize(!0),this.fixHeaderForSafari(),this._recalculateHeaderHeight=!0)}handleResizeStart(e){e.stopPropagation(),this._isResizing=!0}handleResizeEnd(e){e.stopPropagation(),this._isResizing=!1,this.state.shouldResetHeights=!0}handleSelectionCellClick(e){this.handleCellFocusByClick(e);const{type:t}=e;"selectrow"===t?xs.call(this,e):"deselectrow"===t?_s.call(this,e):"selectallrows"===t?fs.call(this,e):"deselectallrows"===t&&ys.call(this,e)}handleCellFocusByClick(e){e.stopPropagation();const{state:t}=this;t.hasReceivedFocus=!0;const{rowKeyValue:a,colKeyValue:d,needsRefocusOnCellElement:o}=e.detail;if(!pr(t,a,d)){const{activeCell:e}=t;e&&t.rowMode&&(Jr(t),Pr(t,e.rowIndex,-1)),this.setActiveCell(a,d),function(e,t,a){if(a){const a=kr(t,e);a&&a.focus(),setTimeout(()=>{Or(e)},0)}else Wr(e,t)||Or(e)}(t,this.template,o)}const s=yr(e.target);Fr(t,this.template,this.refs,s)}handleFalseCellBlur(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,colKeyValue:d}=e.detail;pr(t,a,d)||this.setActiveCell(a,d),$r(t,this.template,this.refs)}handleTableFocusOut(e){Br.call(this,e);const{activeCell:t}=this.state;t&&(t.hasFocus=this._shouldResetFocus)}handleInlineEditFinish(e){Tn(this),rn.call(this,e)}handleInlineEditSave(e){e.stopPropagation(),e.preventDefault(),cn(this);const{draftValues:t}=this;this.dispatchEvent(new CustomEvent("save",{detail:{draftValues:t}}))}handleInlineEditCancel(e){e.stopPropagation(),e.preventDefault(),cn(this);const t=new CustomEvent("cancel",{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented||function(e){const{state:t,_privateTypes:a}=e;!function(e){e.errors={rows:{},table:{}}}(t),t.inlineEdit.dirtyValues={},e._draftValues=[],Po(t,a)}(this),dn(this.state)}handlePrivateLookupItemPicked(e){e.stopPropagation(),e.preventDefault();const{recordId:t}=e.detail,{rowIndex:a,rowKeyValue:d}=this.computeRowLookupItemPickedInformation(e.currentTarget);this.dispatchEvent(new CustomEvent(V.PrivateLookupItemPickedEvent.NAME,{composed:!0,cancelable:!0,bubbles:!0,detail:{recordId:t,rowIndex:a,rowKeyValue:d}}))}handleInlinedCheckboxClick(e){const{state:t}=this;e.stopPropagation();const{currentTarget:a}=e,{parentElement:d}=a,{parentElement:o}=d,{colKeyValue:s}=o.dataset,{rowKeyValue:r}=o.parentElement.dataset,n=Pd(t,r);this.fireInlinedCheckboxSelection(a,n.isSelected,{rowKeyValue:r,colKeyValue:s,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerClick(e){const{state:t}=this,{currentTarget:a}=e,{parentElement:d}=a,{rowKeyValue:o}=d.parentElement.dataset,s=Pd(t,o);if(s.isDisabled)return;e.preventDefault();const{colKeyValue:r}=d.dataset,{firstElementChild:n}=a;this.fireInlinedCheckboxSelection(n,s.isSelected,{rowKeyValue:o,colKeyValue:r,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerMouseDown(e){this.state.renderModeInline&&e.shiftKey&&e.preventDefault()}handleInlinedEditButtonClick(e){const{state:t}=this,a=t.renderModeInline?yr(e.target):void 0;if(a){t.hasReceivedFocus=!0;fr(a).dispatchEvent(new CustomEvent("privateeditcell",{bubbles:!0,composed:!0,detail:{rowKeyValue:a.parentElement.dataset.rowKeyValue,colKeyValue:a.dataset.colKeyValue}}))}}fireInlinedCheckboxSelection(e,t,a){const d=t?"deselectrow":"selectrow";e.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0,detail:a}))}fireSelectedRowsChange(e,t={}){re&&this.dispatchEvent(new CustomEvent("rowselection",{detail:{selectedRows:e,config:t}}))}fireSortedColumnChange(e,t,a){const d=new CustomEvent("sort",{detail:{fieldNames:[e],sortDirections:[a],isMultiColumnSort:!1,fieldName:e,columnKey:t,sortDirection:a}});this.dispatchEvent(d)}fireOnResize(e){this.dispatchEvent(new CustomEvent("resize",{detail:{columnWidths:Kd(this.state.columns,this.widthsData),isUserTriggered:!!e}}))}updateRows(){this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes()}updateRowsBeforeIndexes(){re&&Mr(this.state,this.template)}updateRowsAfterIndexes(){const{state:e,widthsData:t}=this;(e.enableViewportRendering||e.virtualize)&&this._renderManager.updateViewportRendering(e,this.gridContainer,!!e.virtualize),this._columnWidthManager.handleRowNumberOffsetChange(e,t),Er(e),function(e,t){let a=!1;const{keyField:d,selectedRowsKeys:o,maxRowSelection:s}=e,{length:r}=t;if(Object.keys(o).length!==r)a=!0,e.selectedRowsKeys=Is(t,d);else for(let s=0;s<r;s+=1)if(!o[t[s][d]]){a=!0,e.selectedRowsKeys=Is(t,d);break}if(a){const t=s||e.rows.length;oo(e)&&(r<t?Rs(e):Ts(e))}return $s(e),{ifChanged(e){a&&"function"==typeof e&&e(t)}}}(e,this.getSelectedRows()).ifChanged(()=>{this._rowSelectionEventPending||(this._rowSelectionEventPending=!0,Promise.resolve().then(()=>{this._rowSelectionEventPending&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._rowSelectionEventPending=!1)}))}),mr(e),e.keyboardMode===Gs&&(Ur(e),qr(e)),re&&e.activeCell&&e.cellToFocusNext&&$r(e,this.template,this.refs)}updateColumns(e){co({state:this.state,rawColumns:e,types:this._privateTypes,expandable:this._expandable}),this.isConnected&&(this.updateColumnsBeforeIndexes(),this.updateRowsAndCells(),this.updateColumnsAfterIndexes())}updateColumnsBeforeIndexes(){const{state:e}=this;re&&Mr(e,this.template),function(e){e.treeColumn?!1!==e.rowMode||e.hadTreeDataTypePreviously||(e.rowMode=!0):e.rowMode=!1}(e),mn(e,this._draftValues),function(e){const{columns:t}=e,{length:a}=t;for(let e=0;e<a;e+=1){const a=t[e];a.actions.internalActions=Ns(a)}}(e)}updateColumnsAfterIndexes(){const{state:e,widthsData:t}=this;$s(e),this._columnWidthManager.handleRowNumberOffsetChange(e,t),Dd(e.columns,t),Er(e),e.data.length>0&&e.columns.length!==t.columnWidths.length&&mr(e),e.keyboardMode===Gs&&(Ur(e),qr(e)),re&&e.activeCell&&e.cellToFocusNext&&$r(e,this.template,this.refs)}updateColumnsAndRows(){this.updateColumnsBeforeIndexes(this._rawColumns),this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes(),this.updateColumnsAfterIndexes()}updateRowsAndCells(){const{state:e}=this;e.hasRenderedTable=!1,Po(e,this._privateTypes,this._datatableId)}updateVirtualizedRowHeights(){const{state:e}=this,t=e.virtualize&&this.renderedRows.length;e.shouldResetHeights?(Ps(e),e.shouldResetHeights=!1):t&&Us(this.template,e,this.renderedRows,this.refs)}setSelectedRows(e){zs(this.state,e),this.handleRowSelectionChange()}setActiveCell(e,t){const{state:a,template:d}=this,o=Od(a,e,t);Vr(a,d),a.activeCell=o,function(e,t){e.activeCell.hasFocus=!0;const a=kr(t,e);a&&a.classList.add(_)}(a,d),jr(a,o.rowIndex,o.colIndex,0)}setCustomTypes(){const e=this.template.querySelector('slot[name="customdatatypes"]');if(e){const t=e.assignedNodes();if(t.length){let e=t[0];if($.ENABLE_TREE_GRID_CUSTOM_TYPES&&"SLOT"===e?.tagName){const t=e.assignedNodes();e=t.length?t[0]:{}}"function"==typeof e.getDataTypes&&(this._privateTypes=new Io(e.getDataTypes()),this.updateColumns(this._rawColumns),this._columnWidthManager.handleColumnsChange(this.state.columns,this.validRefs))}else this._shouldResetCustomTypes=!0}}getViewableRect(){const{refs:e,template:t}=this,a=Id(t,e).getBoundingClientRect(),d=zd(t,e).getBoundingClientRect();return{left:d.left,right:d.right,top:a.top,bottom:a.bottom}}fixHeaderForSafari(){if(J){const e=this.template.querySelector("thead");e&&(e.style.display="none",requestAnimationFrame(()=>{e.style.display=""}))}}computeRowLookupItemPickedInformation(e){const{dataset:t}=e,a=Number.parseInt(t.rowNumber,10)-1,{rowKeyValue:d}=t;return{rowIndex:a,rowKeyValue:d}}updateCheckboxCellsAriaAttrs(){const{computedCheckboxColumnHeaderId:e,state:t,template:a}=this,{checkboxCells:d}=t,{length:o}=d,s=o?a.querySelectorAll('[data-inline-type="primitive-cell-checkbox"]'):[];let r;for(let t=0,{length:a}=s;t<a;t+=1){const a=d[t],o=s[t],{firstElementChild:n}=o;if(void 0===r){const{lastElementChild:e}=o,{id:t}=e;r=t.slice(t.lastIndexOf("-"))}n.setAttribute("aria-labelledby",`${a.checkboxLabelId}${r} ${e}`)}}updateLookupCellsLinkInfo(){Tn(this);const{state:e,template:t}=this,{lookupCells:a}=e,{length:d}=a,o=d?t.querySelectorAll('[data-inline-type="formatted-lookup"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e],{value:s}=t;t._handleLookupAnchorClick=()=>{d.dispatchEvent(new wn({recordId:s}))},"enable"===d.getAttribute("data-navigation")&&d.removeAttribute("data-navigation"),s&&te(d,{stateType:"standard__recordPage",attributes:{recordId:s,actionName:"view"}}).then(e=>{const{dispatcher:a,url:o}=e,r=!(!a||!o);t.lookupIsNavigable=r,t.lookupLink=o,t._handleLookupAnchorClick=e=>{d.dispatchEvent(new wn({recordId:s})),a.call(d,e)},r?d.setAttribute("data-navigation","enable"):d.removeAttribute("data-navigation")})}}updateUrlCellsLinkInfo(){const{state:e,template:t}=this,{shownUrlCells:a}=e,{length:d}=a,o=d?t.querySelectorAll('[data-inline-type="formatted-url"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e];ae(d,{url:t.urlLink,target:t.urlTarget}).then(e=>{const{dispatcher:a,url:o}=e;t._handleUrlAnchorClick=e=>{a.call(d,e)},t.urlLink=o})}}}s(Rn,{publicProps:{ariaLabel:{config:0},ariaLabelledBy:{config:0},columnWidthsMode:{config:3},expandable:{config:3},rangeSelection:{config:3},columns:{config:3},data:{config:3},defaultSortDirection:{config:3},draftValues:{config:3},enableInfiniteLoading:{config:3},errors:{config:3},hideCheckboxColumn:{config:3},showActionsMenu:{config:3},hideTableHeader:{config:3},wrapTableHeader:{config:3},loading:{config:3},keyField:{config:3},loadMoreOffset:{config:3},maxColumnWidth:{config:3},maxRowSelection:{config:3},singleRowSelectionMode:{config:3},minColumnWidth:{config:3},renderConfig:{config:3},renderMode:{config:3},resizeColumnDisabled:{config:3},resizeStep:{config:3},rowNumberOffset:{config:3},selectedRows:{config:3},showRowNumberColumn:{config:3},sortedBy:{config:3},sortedDirection:{config:3},suppressBottomBar:{config:3},wrapTextMaxLines:{config:3}},publicMethods:["focus","getSelectedRows","openInlineEdit","scrollToTop"],track:{state:1,widthsData:1},fields:["_actionsMinHeightStyle","_columnWidthManager","_customerSelectedRows","_datatableId","_draftValues","_headerHeight","_isResizing","_positionRelationship","_privateTypes","_rawColumns","_renderConfig","_renderManager","_renderMode","_renderedTemplate","_shouldResetFocus","_suppressBottomBar","_widthObserver","_hasSetInitialCustomTypes","_shouldResetCustomTypes","_recalculateHeaderHeight","_maxRowSelectionShouldFireEvent","_expandable","_rangeSelection","ariaDescribedBy","handleCellButtonClick","handlePrivateDatatableEditCell","handleHeaderActionMenuClosed","handleHeaderActionMenuOpening","handleHeaderActionTriggered","handleKeydownOnCell","handleLoadDynamicActions","handlePrimitiveDatatableCellClick","handlePrimitiveDatatableCellFocus","handlePrimitiveDatatableCellKeydown","handleRowSelectionChange","handleRowActionTriggered","handleTableKeydown","handleTableFocusIn","handleMassCheckboxChange","handleRowExpand"]});const zn=d(Rn,{tmpl:r,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable-",apiVersion:63});export{zn as default};
1
+ import{parseFragment as e,registerTemplate as t,freezeTemplate as a,registerComponent as d,unwrap as o,registerDecorators as s}from"@kdcloudjs/kwc";import{_ as r}from"../empty_html-CjXB8rB4.js";import{s as n}from"../kddsCommon-CucK_w70.js";import{s as i}from"../kddsUtilsVisibility-BQdWrRzW.js";import{s as l}from"../kddsUtilsMargin-QLmlO60p.js";import{s as c}from"../kddsUtilsHyphenation-DjH4tlai.js";import{s as u}from"../kddsUtilsGrid-CoXx1Bwj.js";import{s as b}from"../kddsUtilsLineClamp-CHvuz7DS.js";import{s as h}from"../kddsUtilsTruncation-BkfKIyC_.js";import{s as k}from"../input-checkbox.kdds-CT6mcwHs.js";import p from"./primitiveDatatableIeditPanel.js";import m from"./primitiveHeaderFactory.js";import g from"./primitiveCellExpand.js";import v from"./primitiveCellCheckbox.js";import{_ as f,D as y,a as x,F as _}from"../primitiveDatatableCell-BRBOc7hR.js";import w from"./primitiveCustomCell.js";import C from"./primitiveTreegridCellToggle.js";import A from"./icon.js";import T from"./primitiveCellFactory.js";import R from"./primitiveCustomRow.js";import z from"./primitiveDatatableNoData.js";import I from"./primitiveDatatableStatusBar.js";import L from"./primitiveDatatableLoadingIndicator.js";import{b as S}from"../label-CY8Q8HAO.js";import{features as $}from"./features.js";import{EVENTS as V}from"./formattedLookup.js";import{g as M}from"../idGenerator-D2O_IHg9.js";import{o as E,d as D,c as K,C as W,t as N,f as H,H as F,a1 as B,y as O,w as j,D as P,a as U,k as q,n as Q,m as Y,a2 as X,a3 as G,a4 as Z,z as J,L as ee,K as te}from"../utilsPrivate-ekbvijnB.js";import{hasLinkProvider as ae,getLinkInfo as de,updateRawLinkInfo as oe}from"./routingService.js";import{KingdeeResizeObserver as se}from"./resizeObserver.js";import"../observable-tloG64m6.js";import"../i18n-B98kiI7M.js";import{i as re}from"../ssr-C2pjZzfv.js";import"../classSet-DY6Qvt6E.js";import{f as ne}from"../labelUtils-DAuN2uUV.js";import{b as ie,t as le}from"../intlFormat-DNT_1eg4.js";import{n as ce}from"../NumberFormat-CVAfQTsE.js";import"./configProvider.js";import{f as ue,m as be,t as he}from"../takeUntil-BqTBLaTv.js";import{stopPositioning as ke,startPositioning as pe,Direction as me}from"./positionLibrary.js";import ge from"./shadowBaseClassPrivate.js";import"../kddsUtilsPadding-Dct-C7F7.js";import"./primitiveDatatableIeditTypeFactory.js";import"./input.js";import"../baseInput-Bgv7mEy2.js";import"../normalize-qdEPAG8z.js";import"../index.esm-DycIHCS9.js";import"../utils-CB_20U-G.js";import"../client-Ddi3i8XR.js";import"./iso8601Utils.js";import"../colorValid-qIPgkqGp.js";import"./primitiveDatatableIeditInputWrapper.js";import"./button.js";import"./overlayManager.js";import"./primitiveHeaderActions.js";import"./menuItem.js";import"./menuDivider.js";import"./buttonMenu.js";import"./tooltipLibrary.js";import"./primitiveBubble.js";import"./ariaObserver.js";import"./primitiveResizeHandler.js";import"../input-radio-group.kdds-BVVGUf0e.js";import"./primitiveCellActions.js";import"./primitiveCellButton.js";import"./formattedNumber.js";import"./i18nCldrOptions.js";import"./i18nService.js";import"./formattedDateTime.js";import"./formattedEmail.js";import"./formattedLocation.js";import"./formattedPhone.js";import"./baseFormattedText.js";import"./formattedUrl.js";import"../kddsUtilsPosition-DDHofMns.js";import"./primitiveDatatableTooltip.js";import"./primitiveDatatableTooltipBubble.js";import"./buttonIcon.js";import"./spin.js";var ve=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host {":o+" {")+"display: inline-flex;}"+(t?":host [part~='boundary']":o+" [part~='boundary']")+d+" {padding-block-start: var(\r\n --kds-c-icon-spacing-blockstart,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-block-end: var(\r\n --kds-c-icon-spacing-blockend,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-start: var(\r\n --kds-c-icon-spacing-inlinestart,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-end: var(\r\n --kds-c-icon-spacing-inlineend,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );border-radius: var(--kds-c-icon-radius-border, var(--kds-s-icon-radius-border));border-width: var(--kds-c-icon-sizing-border, var(--kds-s-icon-sizing-border));border-style: solid;border-color: var(--kds-c-icon-color-border, var(--kds-s-icon-color-border, transparent));background-color: var(--kds-c-icon-color-background, var(--kds-s-icon-color-background));}"+(t?":host [part~='icon']":o+" [part~='icon']")+d+" {display: flex;height: var(--kds-c-icon-sizing-height, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));width: var(--kds-c-icon-sizing-width, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));color: var(--kds-c-icon-color-foreground, var(--kds-s-icon-color-foreground));}"+(t?":host svg":o+" svg")+d+" {width: 100%;height: 100%;}"+(t?":host {":o+" {")+"vertical-align: middle;}"+(t?":host([size='xxx-small']),:host \r.kdds-icon_xxx-small":o+"[size='xxx-small'],"+o+" \r.kdds-icon_xxx-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}"+(t?":host([size='xx-small']),:host \r.kdds-icon_xx-small":o+"[size='xx-small'],"+o+" \r.kdds-icon_xx-small")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));}"+(t?":host([size='x-small']),:host \r.kdds-icon_x-small":o+"[size='x-small'],"+o+" \r.kdds-icon_x-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-5);}"+(t?":host([size='small']),:host \r.kdds-icon_small":o+"[size='small'],"+o+" \r.kdds-icon_small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}"+(t?":host([size='large']),:host \r.kdds-icon_large":o+"[size='large'],"+o+" \r.kdds-icon_large")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-10);}"+(t?":host([variant='warning']) {":o+"[variant='warning'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-warning-1);}"+(t?":host([variant='success']) {":o+"[variant='success'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-success-1);}"+(t?":host([variant='error']) {":o+"[variant='error'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-error-1);}"+(t?":host([variant='light']) {":o+"[variant='light'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-neutral-base-70);}"+(t?":host [part='boundary']":o+" [part='boundary']")+d+" {--kds-c-icon-radius-border: var(--kdds-c-icon-radius-border, var(--kdds-g-radius-border-2));--kds-c-icon-sizing-border: var(--kdds-c-icon-sizing-border, 0);--kds-c-icon-color-border: var(--kdds-c-icon-color-border);--kds-c-icon-spacing-block-start: var(--kdds-c-icon-spacing-blockstart, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-block-end: var(--kdds-c-icon-spacing-blockend, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-inline-start: var(\r\n --kdds-c-icon-spacing-inlinestart,\r\n var(--kdds-c-icon-spacing-inline)\r\n );--kds-c-icon-spacing-inline-end: var(--kdds-c-icon-spacing-inlineend, var(--kdds-c-icon-spacing-inline));display: inline-flex;}"+(t?":host .kdds-input__icon":o+" .kdds-input__icon")+d+" [part='boundary']"+d+" {border-style: none;}"+(t?":host [part='icon']":o+" [part='icon']")+d+" {--kds-c-icon-color-foreground: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-on-accent-1));--kds-c-icon-sizing-height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );--kds-c-icon-sizing-width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );}"+(t?":host([icon-name*='action']),:host \r.kdds-icon_container_circle":o+"[icon-name*='action'],"+o+" \r.kdds-icon_container_circle")+d+" {--kdds-c-icon-spacing-block: var(--kdds-g-sizing-3);--kdds-c-icon-spacing-inline: var(--kdds-g-sizing-3);--kdds-c-icon-radius-border: calc(var(--kdds-g-radius-border-circle) / 2);--kdds-c-icon-sizing-border: var(--kdds-g-sizing-3);}"+(t?":host .kdds-icon":o+" .kdds-icon")+d+" {display: inline-flex;height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );fill: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-neutral-base-100));}"+(t?":host .kdds-icon-text-default":o+" .kdds-icon-text-default")+d+" {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-icon-color-foreground-default,\r\n var(--kds-c-icon-color-foreground-default, var(--kdds-g-color-on-surface-1))\r\n );}"+(t?":host .kdds-icon-text-default.kdds-is-disabled":o+" .kdds-icon-text-default.kdds-is-disabled")+d+" {fill: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-assistive-text":o+" .kdds-assistive-text")+d+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"+(t?":host .kdds-icon_disabled":o+" .kdds-icon_disabled")+d+" {background-color: currentcolor;}"+(t?":host .kdds-input__icon":o+" .kdds-input__icon")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));position: absolute;top: 50%;margin-block-start: -0.4375rem;line-height: var(--kdds-g-font-lineheight-1);border: 0;z-index: 2;}"+(t?":host([data-input-pill-search-primicon]) .kdds-icon":o+"[data-input-pill-search-primicon] .kdds-icon")+d+" {--kds-c-icon-sizing-height: 1.25rem;--kds-c-icon-sizing-width: 1.25rem;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']":o+"[data-input-pill-close-primicon] [part='icon']")+d+" {--kds-c-icon-color-foreground: none;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']:hover":o+"[data-input-pill-close-primicon] [part='icon']:hover")+d+" {--kds-c-icon-color-foreground: var(--kdds-g-color-accent-4);}"+(t?":host .kdds-icon_container":o+" .kdds-icon_container")+d+" {border-radius: var(--kdds-c-icon-radius-border, var(--kdds-s-icon-radius-border));background-color: var(\r\n --kdds-c-icon-color-background,\r\n var(--kdds-s-icon-color-background, var(--kds-c-icon-color-background))\r\n );}"}];var fe=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return["*",d,",\r*",d,"::before,\r*",d,"::after {box-sizing: border-box;}",t?":host [part~='button']":o+" [part~='button']",d," {display: inline-flex;gap: var(--kds-c-button-spacing-gap, var(--kds-s-button-spacing-gap));background: var(--kds-c-button-color-background, var(--kds-s-button-color-background));color: var(--kds-c-button-text-color, var(--kds-s-button-color));font-weight: var(--kds-c-button-font-weight, var(--kds-s-button-font-weight));font-size: var(--kds-c-button-font-size, var(--kds-s-button-font-size, inherit));line-height: var(--kds-c-button-font-lineheight);height: var(--kds-c-button-sizing-height);width: var(--kds-c-button-sizing-width);padding-inline-start: var(\r\n --kds-c-button-spacing-inlinestart,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-inline-end: var(\r\n --kds-c-button-spacing-inlineend,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-start: var(\r\n --kds-c-button-spacing-blockstart,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-end: var(\r\n --kds-c-button-spacing-blockend,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );border-width: var(--kds-c-button-sizing-border, var(--kds-s-button-sizing-border, 1px));border-style: solid;border-color: var(--kds-c-button-color-border, var(--kds-s-button-color-border, currentColor));border-start-start-radius: var(\r\n --kds-c-button-radius-border-startstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-start-end-radius: var(\r\n --kds-c-button-radius-border-startend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startend, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-start-radius: var(\r\n --kds-c-button-radius-border-endstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-end-radius: var(\r\n --kds-c-button-radius-border-endend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endend, var(--kds-s-button-radius-border))\r\n )\r\n );box-shadow: var(--kds-c-button-shadow, var(--kds-s-button-shadow));text-decoration: var(--kds-c-button-font-decoration);white-space: normal;user-select: none;align-items: center;justify-content: center;appearance: none;}",t?":host [part~='button']:hover":o+" [part~='button']:hover",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-hover, var(--kds-s-button-color-hover, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-hover,\r\n var(--kds-s-button-color-background-hover, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-hover,\r\n var(--kds-s-button-color-border-hover, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-hover, var(--kds-s-button-shadow-hover, revert));cursor: pointer;}",t?":host [part~='button']:focus":o+" [part~='button']:focus",d," {--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-focus,\r\n var(--kds-s-button-color-background-focus, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-focus,\r\n var(--kds-s-button-color-border-focus, revert)\r\n );--kds-c-button-text-color: var(--kds-c-button-text-color-focus, var(--kds-s-button-color-focus, revert));--kds-c-button-shadow: var(--kds-c-button-shadow-focus, var(--kds-s-button-shadow-focus, revert));outline: 0;}",t?":host [part~='button']:active":o+" [part~='button']:active",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-active, var(--kds-s-button-color-active, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-active,\r\n var(--kds-s-button-color-background-active, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-active,\r\n var(--kds-s-button-color-border-active, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-active, var(--kds-s-button-shadow-active, revert));}",t?":host [part~='button']:disabled":o+" [part~='button']:disabled",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-disabled);--kds-c-button-color-background: var(--kds-c-button-color-background-disabled);--kds-c-button-color-border: var(--kds-c-button-color-border-disabled);--kds-c-button-shadow: var(--kds-c-button-shadow-disabled);pointer-events: none;}",t?":host [part~='button']:disabled":o+" [part~='button']:disabled",d," *",d," {pointer-events: none;}",t?":host [part='button'][aria-pressed='true']":o+" [part='button'][aria-pressed='true']",d," {--kds-c-button-color-background: var(--kds-c-button-color-background-pressed, revert);--kds-c-button-color-border: var(--kds-c-button-color-border-pressed, revert);--kds-c-button-text-color: var(--kds-c-button-text-color-pressed, revert);--kds-c-button-shadow: var(--kds-c-button-shadow-pressed, revert);}",t?":host [part~='button']":o+" [part~='button']",d," {gap: var(--kdds-g-spacing-2);--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: currentcolor;--kds-c-button-font-lineheight: var(\r\n --kdds-c-button-neutral-font-lineheight,\r\n var(--kdds-s-button-font-lineheight, 1.875rem)\r\n );--kds-c-button-spacing-inline: var(\r\n --kdds-c-button-neutral-spacing-inline,\r\n var(--kdds-s-button-spacing-inline, var(--kdds-g-spacing-4)) ;\r\n );--kds-c-button-spacing-block: var(--kdds-c-button-neutral-spacing-block);--kds-c-button-radius-border-startstart: var(\r\n --kdds-c-button-radius-border-startstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endstart: var(\r\n --kdds-c-button-radius-border-endstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-startend: var(\r\n --kdds-c-button-radius-border-startend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endend: var(\r\n --kdds-c-button-radius-border-endend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-color-background: var(\r\n --kdds-c-button-neutral-color-background,\r\n var(--kdds-g-color-surface-container-1)\r\n );--kds-c-button-color-background-hover: var(\r\n --kdds-c-button-neutral-color-background-hover,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-focus: var(\r\n --kdds-c-button-neutral-color-background-focus,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-active: var(\r\n --kdds-c-button-neutral-color-background-active,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-border: var(--kdds-c-button-neutral-color-border, var(--kdds-g-color-border-2));--kds-c-button-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border-hover,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border-focus,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-active: var(\r\n --kdds-c-button-neutral-color-border-active,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-neutral-text-color, var(--kdds-g-color-accent-2));--kds-c-button-text-color-hover: var(\r\n --kdds-c-button-neutral-text-color-hover,\r\n var(--kdds-s-button-color-hover, var(--kdds-g-color-accent-3))\r\n );--kds-c-button-text-color-focus: var(\r\n --kdds-c-button-neutral-text-color-focus,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-text-color-active: var(\r\n --kdds-c-button-neutral-text-color-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow: var(--kdds-c-button-neutral-shadow);--kds-c-button-shadow-focus: var(--kdds-c-button-neutral-shadow-focus);}",t?":host [part~='button']:disabled":o+" [part~='button']:disabled",d," {--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color-disabled: var(--kdds-g-color-on-disabled-1);--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);pointer-events: auto;cursor: default;}",t?":host([variant='brand']) [part~='button']":o+"[variant='brand'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(\r\n --kdds-c-button-brand-color-background,\r\n var(--kdds-g-color-accent-container-1)\r\n );--kdds-c-button-neutral-color-background-hover: var(\r\n --kdds-c-button-brand-color-background-hover,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-focus: var(\r\n --kdds-c-button-brand-color-background-focus,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-active: var(\r\n --kdds-c-button-brand-color-background-active,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-border: var(\r\n --kdds-c-button-brand-color-border,\r\n var(--kdds-g-color-border-accent-1)\r\n );--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-brand-color-border-hover,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-brand-color-border-focus,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-brand-color-border-active,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-brand-text-color, var(--kdds-g-color-on-accent-1));}",t?":host([variant='brand-outline']) [part~='button']":o+"[variant='brand-outline'] [part~='button']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);}",t?":host([variant='inverse']) [part~='button']":o+"[variant='inverse'] [part~='button']",d," {--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-accent-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-accent-2);}",t?":host([variant='inverse']) [part~='button']:disabled":o+"[variant='inverse'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: var(--kdds-g-color-border-disabled-2);--kds-c-button-text-color: var(--kdds-g-color-disabled-2);}",t?":host([variant='destructive']) [part~='button']":o+"[variant='destructive'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-error-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-error-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-error-2);--kds-c-button-text-color: var(--kdds-g-color-on-error-1);}",t?":host([variant='success']) [part~='button']":o+"[variant='success'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-success-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-success-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-on-success-1);}",t?":host([variant='destructive-text']) [part~='button']":o+"[variant='destructive-text'] [part~='button']",d," {--kdds-c-button-neutral-text-color: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-error-1);--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );}",t?":host([variant='brand']) [part~='button']:disabled"+d+",:host([variant='success']) [part~='button']:disabled"+d+",:host([variant='destructive']) [part~='button']:disabled":o+"[variant='brand'] [part~='button']:disabled"+d+","+o+"[variant='success'] [part~='button']:disabled"+d+","+o+"[variant='destructive'] [part~='button']:disabled",d," {--kds-c-button-color-background: var(--kdds-g-color-disabled-container-2);--kds-c-button-color-border: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color: var(--kdds-g-color-on-disabled-2);}",t?":host([variant='base']) [part~='button']"+d+",:host([variant='text']) [part~='button']":o+"[variant='base'] [part~='button']"+d+","+o+"[variant='text'] [part~='button']",d," {--kds-c-button-spacing-inline: 0;--kdds-c-button-neutral-text-color: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;}",t?":host([variant='base']) [part~='button']:disabled"+d+",:host([variant='text']) [part~='button']:disabled":o+"[variant='base'] [part~='button']:disabled"+d+","+o+"[variant='text'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: transparent;}",t?":host([stretch]) [part~='button']":o+"[stretch] [part~='button']",d," {--kds-c-button-sizing-width: 100%;justify-content: center;}",t?":host([variant='brand']) [part~='button']"+d+",:host([variant='brand-outline']) [part~='button']"+d+",:host([variant='inverse']) [part~='button']"+d+",:host([variant='success']) [part~='button']"+d+",:host([variant='destructive']) [part~='button']"+d+",:host([variant='destructive-text']) [part~='button']":o+"[variant='brand'] [part~='button']"+d+","+o+"[variant='brand-outline'] [part~='button']"+d+","+o+"[variant='inverse'] [part~='button']"+d+","+o+"[variant='success'] [part~='button']"+d+","+o+"[variant='destructive'] [part~='button']"+d+","+o+"[variant='destructive-text'] [part~='button']",d," {justify-content: center;}",t?":host [part~='start']":o+" [part~='start']",d," {display: inline-flex;padding-inline-end: 0;}",t?":host [part~='end']":o+" [part~='end']",d," {display: inline-flex;padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host .kdds-button_reset":o+" .kdds-button_reset",d," {font-size: inherit;color: inherit;line-height: inherit;padding: 0;background: transparent;border: 0;text-align: inherit;}",t?":host [part~='button-icon']":o+" [part~='button-icon']",d," {display: inline-flex;--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: var(--kdds-c-buttonicon-color-foreground, var(--kdds-g-color-on-surface-1));--kds-c-button-spacing-inline: 0;--kds-c-button-sizing-height: var(--kdds-g-sizing-9);--kds-c-button-sizing-width: var(--kdds-g-sizing-9);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-2);--kds-c-button-color-background-disabled: var(--kdds-g-color-surface-container-1);--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);}",t?":host [part~='button-icon']:hover":o+" [part~='button-icon']:hover",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-hover,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:focus":o+" [part~='button-icon']:focus",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-focus,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:active":o+" [part~='button-icon']:active",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow-active: none;}",t?":host [part~='button-icon']:disabled":o+" [part~='button-icon']:disabled",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-disabled-1);--kds-c-button-color-background-disabled: transparent;}",t?":host([variant='bare']) [part~='button-icon']":o+"[variant='bare'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='container']) [part~='button-icon']":o+"[variant='container'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='brand']) [part~='button-icon']":o+"[variant='brand'] [part~='button-icon']",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-on-accent-1);}",t?":host([variant='bare-inverse']) [part~='button-icon']":o+"[variant='bare-inverse'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: color-mix(\r\n in oklab,\r\n var(--kdds-g-color-on-surface-inverse-1),\r\n transparent 25%\r\n );--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='border-inverse']) [part~='button-icon']":o+"[variant='border-inverse'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-2);}",t?":host([variant='border-filled']) [part~='button-icon']":o+"[variant='border-filled'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-1);}",t?":host([variant='border-filled']) [part~='button-icon']:disabled":o+"[variant='border-filled'] [part~='button-icon']:disabled",d," {--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);}",t?":host([size='xx-small']) [part~='button-icon']":o+"[size='xx-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-5);--kds-c-button-sizing-width: var(--kdds-g-sizing-5);--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='x-small']) [part~='button-icon']":o+"[size='x-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-6);--kds-c-button-sizing-width: var(--kdds-g-sizing-6);--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='small']) [part~='button-icon']":o+"[size='small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-7);--kds-c-button-sizing-width: var(--kdds-g-sizing-7);}",t?":host([size='large']) [part~='button-icon']":o+"[size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-10);--kds-c-button-sizing-width: var(--kdds-g-sizing-10);--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}",t?":host([size='x-small'][variant='bare']) [part~='button-icon']":o+"[variant='bare'][size='x-small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='small'][variant='bare']) [part~='button-icon']":o+"[variant='bare'][size='small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='large'][variant='bare']) [part~='button-icon']"+d+",:host([size='large'][variant='bare-inverse']) [part~='button-icon']":o+"[variant='bare'][size='large'] [part~='button-icon']"+d+","+o+"[variant='bare-inverse'][size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;}",t?":host [part='end']":o+" [part='end']",d," {padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host([size='large']) [part~='button-icon']"+d+",:host([size='medium']) [part~='button-icon']":o+"[size='large'] [part~='button-icon']"+d+","+o+"[size='medium'] [part~='button-icon']",d," {height: var(--kdds-c-buttonicon-sizing-height, var(--kdds-g-sizing-9));}"].join("")}];var ye=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host .kdds-row-number":o+" .kdds-row-number")+d+"::after {content: counter(row-number);}"+(t?":host .kdds-text-body_small":o+" .kdds-text-body_small")+d+" {font-size: var(--kdds-g-font-scale-neg-1);}"+(t?":host .kdds-button_icon-small":o+" .kdds-button_icon-small")+d+" {width: var(--kdds-g-sizing-4);height: var(--kdds-g-sizing-4);}"+(t?":host .kdds-cell-edit__button":o+" .kdds-cell-edit__button")+d+" {width: var(--kdds-g-sizing-6);height: var(--kdds-g-sizing-6);flex-shrink: 0;}"+(t?":host .kdds-cell-edit__button:focus":o+" .kdds-cell-edit__button:focus")+d+" .kdds-button__icon_edit"+d+" {opacity: 1;}"+(t?":host .kdds-cell-edit__button:disabled":o+" .kdds-cell-edit__button:disabled")+d+" {color: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-button__icon_hint":o+" .kdds-button__icon_hint")+d+" {fill: var(--kdds-s-button-color, var(--kdds-g-color-on-surface-1));}"+(t?":host .kdds-button__icon_lock":o+" .kdds-button__icon_lock")+d+" {opacity: 1;}"+(t?":host .kdds-button__icon_edit":o+" .kdds-button__icon_edit")+d+" {opacity: 1;fill: var(--kdds-g-color-accent-2);}"+(t?":host .kdds-button__icon_edit:hover"+d+",:host \r.kdds-button__icon_edit:focus":o+" .kdds-button__icon_edit:hover"+d+","+o+" \r.kdds-button__icon_edit:focus")+d+" {fill: var(--kdds-g-color-on-surface-3);}"+(t?":host [part='button button-icon']":o+" [part='button button-icon']")+d+" {border: none;opacity: 0;}"+(t?":host(:hover) [part='button button-icon']":o+":hover [part='button button-icon']")+d+" {opacity: 1;}"}];var xe=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return[":focus-visible",d," {outline: 0;}",t?":host [part='datagrid-wrapper']":o+" [part='datagrid-wrapper']",d," {display: flex;flex-direction: column;position: relative;}",t?":host [part='datagrid']":o+" [part='datagrid']",d," {display: flex;flex-direction: column;flex: 1 1 auto;height: 100%;background-color: var(--_kdds-c-datagrid-color-background);}",t?":host [part='datagrid-header']":o+" [part='datagrid-header']",d," {color: var(--_kdds-c-datagrid-header-text-color, #514f4d);background-color: var(--_kdds-c-datagrid-header-color-background, var(--_kdds-c-datagrid-color-background, #fafaf9));border-block-start: var(--kdds-g-sizing-border-1) solid var(--_kdds-c-datagrid-header-color-border, #babfc7);width: 100%;--_kdds-c-datagrid-row-color-border: var(--_kdds-c-datagrid-header-color-border, #babfc7);}",t?":host [fixed-header='true']":o+" [fixed-header='true']",d," [part='datagrid-header']",d," {position: sticky;top: 0;min-height: 2rem;z-index: 1;}",t?":host [part='cell']:hover":o+" [part='cell']:hover",d," {--_kdds-c-datagrid-cell-color-background: var(--_kdds-c-datagrid-cell-color-background-hover);}",t?":host [part='cell'][aria-selected='true']":o+" [part='cell'][aria-selected='true']",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [part='cell']:focus-within":o+" [part='cell']:focus-within",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']":o+" [role='columnheader']",d," {font-weight: var(--kdds-g-font-weight-7);}",t?":host [role='columnheader'][aria-sort]:hover":o+" [role='columnheader'][aria-sort]:hover",d," {background-color: var(--_kdds-c-datagrid-headercell-color-background-hover, white);}",t?":host [role='columnheader'][aria-selected='true']":o+" [role='columnheader'][aria-selected='true']",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']:focus-within":o+" [role='columnheader']:focus-within",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));box-shadow: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3)) -3px 0 0 0 inset;}",t?":host [data-row-key-value='HEADER']":o+" [data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [data-row-key-value='HEADER']":o+" [data-row-key-value='HEADER']",d," > *:focus",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [part='value']":o+" [part='value']",d," {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 100%;}[data-sort]",d," {border: none;background: transparent;display: inline-flex;min-width: 0;flex: 1 1 0%;}[data-sort]",d,"::after {content: '';position: absolute;inset: 0;}[data-sort]",d," [part='value']",d," {width: auto;}",t?"[data-resize-handle]:hover"+d+",\r:host [type='range']:focus":"[data-resize-handle]:hover"+d+","+o+" [type='range']:focus",d," ~ [data-resize-handle]",d," {opacity: 1;}[data-resize-handle]",d," {width: var(--kdds-g-sizing-3);position: absolute;top: calc(var(--kdds-g-sizing-border-1) * -1);right: calc(var(--kdds-g-sizing-border-1) * -1);bottom: calc(var(--kdds-g-sizing-border-1) * -1);cursor: col-resize;opacity: 0;}[data-resize-handle]",d,"::before {content: '';width: var(--kdds-g-sizing-border-1);height: 100vh;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: calc(var(--kdds-g-sizing-border-1) * -1);}[data-resize-handle]",d,"::after {content: '';width: 4px;height: 100%;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: 0;}",t?":host [part='datagrid-body']":o+" [part='datagrid-body']",d," [role~='row']:hover",d," {background-color: var(--_kdds-c-datagrid-row-color-background-hover, #f3f2f2);}",t?":host [aria-readonly='true']":o+" [aria-readonly='true']",d," {--_kdds-c-datagrid-cell-color-background-hover: inherit;}",t?":host [aria-readonly='false']":o+" [aria-readonly='false']",d," {--_kdds-c-datagrid-cell-color-background-hover: #fff;}",t?":host .kdds-scrollable_y":o+" .kdds-scrollable_y",d," {-webkit-overflow-scrolling: touch;max-height: 100%;overflow: hidden;overflow-y: auto;}",t?":host .kdds-scrollable_x":o+" .kdds-scrollable_x",d," {-webkit-overflow-scrolling: touch;max-width: 100%;overflow: hidden;overflow-x: auto;}",t?":host .kdds-line-height_reset":o+" .kdds-line-height_reset",d," {line-height: var(--kdds-g-font-lineheight-1);}",t?":host {":o+" {","height: 100%;width: 100%;display: inline;}",t?":host .kdds-table_header-fixed_container":o+" .kdds-table_header-fixed_container",d," {position: relative;background-color: var(--kdds-c-datatable-background);overflow-y: hidden;overflow-x: auto;padding-top: var(--kdds-c-datatable-header-line-height);}",t?":host .kdds-rangeselection_active":o+" .kdds-rangeselection_active",d," {user-select: none;}",t?":host .kdds-table_header-fixed_container":o+" .kdds-table_header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table":o+" .kdds-table",d," {background-color: var(--kdds-c-datatable-background);font-size: inherit;}",t?":host .kdds-table"+d+" th"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th"+d+","+o+" .kdds-table",d," td",d," {padding: var(--kdds-c-datatable-cell-padding);white-space: nowrap;position: relative;color: var(--kdds-c-datatable-cell-color);}",t?":host .kdds-table":o+" .kdds-table",d," th",d," {font-weight: var(--kdds-g-font-weight-4);}",t?":host .kdds-table":o+" .kdds-table",d," th:focus",d," {outline: 0;}",t?":host .kdds-table":o+" .kdds-table",d," thead",d," th",d," {background-color: var(--kdds-g-color-neutral-base-95);color: var(--kdds-g-color-neutral-base-30);font-weight: var(--kdds-g-font-weight-4);line-height: normal;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-hover);}",t?":host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {box-shadow: var(--kdds-g-shadow-outset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-brand-base-50));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+","+o+" .kdds-table",d," tbody",d," tr.kdds-is-selected",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-active);}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr.kdds-is-selected:hover",d," > th",d," {background-color: hsl(212.29999999999995, 100%, 95.5%);}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a",d," {color: var(--kdds-g-link-color-focus, var(--kdds-g-color-brand-base-20));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a[aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);cursor: default;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-shrink",d," {width: 1%;}",t?":host .kdds-table"+d+" .kdds-cell-buffer_left"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-buffer_left"+d+","+o+" .kdds-table",d," .kdds-cell-buffer--left",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table"+d+" .kdds-cell-buffer_right"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-buffer_right"+d+","+o+" .kdds-table",d," .kdds-cell-buffer--right",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr",d," {counter-increment: row-number;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-row-number",d,"::after {content: counter(row-number);}",t?":host .kdds-table"+d+" th:focus"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:focus"+d+","+o+" .kdds-table",d," [role='gridcell']:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+",\r:host .kdds-table:not(.kdds-rangeselection_active)":o+" .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+","+o+" .kdds-table:not(.kdds-rangeselection_active)",d," [role='rowheader'].kdds-has-focus",d," {border-color: var(--kdds-c-datatable-cell-border-focus);}",t?":host .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+","+o+" .kdds-table",d," [role='gridcell'].kdds-has-focus.kdds-cell_action-mode",d," {border-block-end: var(--kdds-g-sizing-border-3) solid var(--kdds-g-color-brand-base-50, var(--kdds-g-color-brand-base-30));}",t?":host .kdds-table"+d+" th:active"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:active"+d+","+o+" .kdds-table",d," [role='gridcell']:active",d," {box-shadow: none;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-radio",d," [type='radio']",d," + .kdds-radio__label",d," .kdds-radio_faux",d," {margin-inline-end: 0;}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table--cell-buffer":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .kdds-table--cell-buffer",d," tr",d," > td:first-child",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table--cell-buffer":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .kdds-table--cell-buffer",d," tr",d," > td:last-child",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table_bordered"+d+",\r:host .kdds-table--bordered":o+" .kdds-table_bordered"+d+","+o+" .kdds-table--bordered",d," {border-collapse: separate;}",t?":host .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+",\r:host .kdds-table--bordered":o+" .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+","+o+" .kdds-table--bordered",d," thead",d," > tr",d," + tr",d," > th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);}",t?":host .kdds-table_bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table_bordered"+d+" tbody"+d+" th"+d+",\r:host .kdds-table--bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table--bordered":o+" .kdds-table_bordered"+d+" tbody"+d+" td"+d+","+o+" .kdds-table_bordered"+d+" tbody"+d+" th"+d+","+o+" .kdds-table--bordered"+d+" tbody"+d+" td"+d+","+o+" .kdds-table--bordered",d," tbody",d," th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid transparent;}",t?":host .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+","+o+" .kdds-table",d," > tbody",d," > tr",d," > th",d," {height: var(--kdds-c-datatable-cell-line-height);background-color: var(--kdds-c-datatable-cell-background);}",t?":host .kdds-table_col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" td"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table--col-bordered":o+" .kdds-table_col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" td"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + td"+d+","+o+" .kdds-table--col-bordered",d," td",d," + th",d," {border-inline-start: var(--kdds-g-sizing-border-1) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+",\r:host .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table--striped":o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+","+o+" .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .kdds-table--striped",d," tbody",d," tr:nth-of-type(even)",d," > th",d," {background-color: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-table_fixed-layout"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+","+o+" .kdds-table--fixed-layout",d," {table-layout: fixed;width: 100%;white-space: nowrap;}",t?":host .kdds-table_fixed-layout"+d+" thead"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" thead"+d+","+o+" .kdds-table--fixed-layout",d," thead",d," {background-color: var(--kdds-g-color-neutral-base-100);}",t?":host .kdds-table_fixed-layout"+d+" tbody"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" tbody"+d+","+o+" .kdds-table--fixed-layout",d," tbody",d," {transform: translateZ(0);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink",d," {width: var(--kdds-g-sizing-10);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:nth-child(n)",d," {padding-inline-start: 0;padding-inline-end: 0;}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:first-child",d," {text-align: right;padding-inline-end: var(--kdds-g-spacing-2);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+",\r:host .kdds-table--fixed-layout":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+","+o+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:last-child",d," {text-align: left;padding-inline-start: var(--kdds-g-spacing-2);}",t?[":host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap"].join(""):[o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap"].join(""),d," tbody",d," tr",d," > *:nth-child(15)",d," .kdds-truncate",d," {overflow-wrap: break-word;word-wrap: break-word;hyphens: none;white-space: normal;}",t?":host [class*='kdds-table_column-']":o+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d," {overflow: hidden;position: relative;max-height: calc(var(--kdds-g-sizing-10) + var(--kdds-g-sizing-2));}",t?":host [class*='kdds-table_column-']":o+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d,"::after {content: '';position: absolute;top: calc(var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2));bottom: 0;right: 0;width: 50%;background: linear-gradient(to right, transparent 0%, var(--kdds-g-color-neutral-base-100) 69%);}",t?":host [class*='kdds-table_column-']":o+" [class*='kdds-table_column-']",d," tr:hover",d," td",d," .kdds-truncate",d,"::after {background: linear-gradient(to right, rgba(250, 250, 249, 0%) 0%, #fafaf9 69%);}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+",\r:host .kdds-table--resizable-cols":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+","+o+" .kdds-table--resizable-cols",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+",\r:host .kdds-table--resizable-cols":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+","+o+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," {width: var(--kdds-g-sizing-4);right: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,\r:host .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table--resizable-cols":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,"+o+" .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," .kdds-resizable__divider",d,"::after {right: 0;}",t?":host .kdds-table_resizable-cols":o+" .kdds-table_resizable-cols",d," thead",d," th:hover",d," {--kdds-s-datatable-column-resizer-display: block;}",t?":host .kdds-table_joined"+d+" table"+d+",\r:host .kdds-table.kdds-has-top-magnet":o+" .kdds-table_joined"+d+" table"+d+","+o+" .kdds-table.kdds-has-top-magnet",d," table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}",t?":host .kdds-table_joined-wrapper":o+" .kdds-table_joined-wrapper",d," {padding: var(--kdds-g-spacing-4) var(--kdds-g-spacing-4) 0 var(--kdds-g-spacing-4);border-radius: var(--kdds-g-radius-border-2);background-clip: padding-box;}",t?":host .kdds-table_joined-wrapper":o+" .kdds-table_joined-wrapper",d," .kdds-table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+","+o+" .kdds-max-medium-table--stacked",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" thead"+d+","+o+" .kdds-max-medium-table--stacked",d," thead",d," {position: absolute !important;margin: calc(var(var(--kdds-g-sizing-border-1) * 1px)) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+","+o+" .kdds-max-medium-table--stacked",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked",d," td",d," {display: block;padding: var(--kdds-g-sizing-4);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table--stacked",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-sizing-4);}",t?":host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)":o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .kdds-max-medium-table--stacked",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+","+o+" .kdds-max-medium-table--stacked",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked":o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked",d," th",d,"::before {padding-block-end: var(--kdds-g-spacing-1);}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," thead",d," {position: absolute !important;margin: calc(var(--kdds-g-sizing-border-1) * -1) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {display: block;padding: var(--kdds-g-spacing-3);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-spacing-3);}",t?":host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)":o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {text-align: right;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {float: left;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-truncate",d," {max-width: 100%;}}",t?":host .kdds-table_edit_container:focus"+d+",\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+","+o+" .kdds-table--edit_container:focus",d," {outline: none;}",t?":host .kdds-table_edit_container:focus"+d+"::before,\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+"::before,"+o+" .kdds-table--edit_container:focus",d,"::before {content: ' ';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;background-color: var(--kdds-g-color-neutral-base-95);box-shadow: 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-border-brand-2, var(--kdds-g-color-palette-blue-60)) inset;}",t?":host .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+",\r:host .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+","+o+" .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table--edit_container:focus",d," .kdds-table--edit_container-message",d," {display: block;position: absolute;top: 50%;left: 50%;width: var(--kdds-g-sizing-15);margin-block-start: calc((var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2)) * -1);margin-inline-start: calc(var(--kdds-g-sizing-13) * -1);background-color: var(--kdds-g-color-neutral-base-100);text-align: center;z-index: 1;}",t?":host .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container-message":o+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table--edit_container-message",d," {display: none;}",t?":host .kdds-table_edit"+d+" thead"+d+" th"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" thead"+d+" th"+d+","+o+" .kdds-table--edit",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_edit"+d+" .kdds-cell-error"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" .kdds-cell-error"+d+","+o+" .kdds-table--edit",d," .kdds-cell-error",d," {padding-inline-start: 0;}",t?":host .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+",\r:host .kdds-table--edit:not(.kdds-no-cell-focus)":o+" .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+","+o+" .kdds-table--edit:not(.kdds-no-cell-focus)",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-background: var(--kdds-c-datatable-cell-edit-background-hover);--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border-hover);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-is-edited",d," {background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table--edit.kdds-table":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+","+o+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-error",d," {}",t?":host .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+",\r:host .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+","+o+" .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .kdds-table--edit",d," .kdds-button__icon--edit:focus",d," {fill: var(--kdds-g-color-brand-base-50, var(--kdds-g-color-palette-blue-60));}",t?":host .kdds-has-focus":o+" .kdds-has-focus",d," .kdds-th__action",d," {}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit",d," {outline: 0;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," .kdds-button__icon--lock",d," {opacity: 1;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus:hover",d," {}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," a:focus",d," {text-decoration: underline;outline: none;}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-is-edited:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-has-error:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_header-fixed_container"+d+"::before,\r:host .kdds-table--header-fixed_container":o+" .kdds-table_header-fixed_container"+d+"::before,"+o+" .kdds-table--header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table_header-fixed"+d+",\r:host .kdds-table--header-fixed":o+" .kdds-table_header-fixed"+d+","+o+" .kdds-table--header-fixed",d," {border-block-start: 0;}",t?":host .kdds-table_header-fixed"+d+" thead"+d+" th"+d+",\r:host .kdds-table--header-fixed":o+" .kdds-table_header-fixed"+d+" thead"+d+" th"+d+","+o+" .kdds-table--header-fixed",d," thead",d," th",d," {padding: 0;border-block-start: 0;position: static;}",t?":host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+",\r:host .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table--header-fixed":o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+","+o+" .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table--header-fixed",d," tbody",d," tr:first-child",d," th",d," {}",t?":host .kdds-table_header-hidden":o+" .kdds-table_header-hidden",d," {border-block-start: 0;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-tree__item",d," .kdds-is-disabled",d," {visibility: hidden;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-is-selected",d," {background: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-is-focused",d," {text-decoration: underline;}",t?":host .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":o+" .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .kdds-tree",d," :host [aria-expanded='false']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":o+" .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .kdds-tree",d," :host [aria-expanded='true']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a",d," {color: var(--kdds-g-color-neutral-base-10);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:hover",d," {text-decoration: none;}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:focus",d," {outline: 0;text-decoration: underline;}",t?":host .kdds-tree-container"+d+",\r:host .kdds-tree_container":o+" .kdds-tree-container"+d+","+o+" .kdds-tree_container",d," {min-width: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));max-width: var(--kdds-c-tree-sizing-max-width, var(--kds-c-tree-sizing-max-width, calc(var(--kdds-g-sizing-15) + var(--kdds-g-sizing-12))));}",t?":host .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+",\r:host .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree_container":o+" .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+","+o+" .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree_container",d," > .kdds-text-heading--label",d," {margin-block-end: var(--kdds-g-spacing-2);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," {display: flex;padding: 0 calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-9)) var(--kdds-g-sizing-5);}",t?":host .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree__item:hover":o+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree__item:hover",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']:focus",d," {outline: 0;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']:focus",d," > .kdds-tree__item",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;text-decoration: none;box-shadow: var(--kdds-g-shadow-inset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-selected='true']:focus",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset,\r\n 0 0 0 var(--kdds-g-sizing-border-2) var(--kdds-g-color-neutral-base-100),\r\n 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-brand-base-40, var(--kdds-g-color-border-accent-2));}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {background: rgba(21, 137, 238, 10%);box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset;}",t?":host [dir='rtl']":o+" [dir='rtl']",d," .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) calc(var(--kdds-g-sizing-border-4) * -1) 0 0 inset;}",t?":host .kdds-tree":o+" .kdds-tree",d," [aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);}",t?":host .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree":o+" .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item:hover",d," {background-color: transparent;cursor: default;}",t?":host .kdds-tree":o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item-meta",d," {color: inherit;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']",d," > [role='group']",d," {display: none;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-expanded='true']",d," > [role='group']",d," {display: block;}",t?":host [aria-expanded='false']":o+" [aria-expanded='false']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host [aria-expanded='true']":o+" [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host [dir='rtl']":o+" [dir='rtl']",d," [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transform: rotate(-90deg);}",t?":host [aria-level='1']":o+" [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-4);}",t?":host [aria-level='2']":o+" [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-6);}",t?":host [aria-level='3']":o+" [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-3);}",t?":host [aria-level='4']":o+" [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-10);}",t?":host [aria-level='5']":o+" [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-12);}",t?":host [aria-level='6']":o+" [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-4));}",t?":host [aria-level='7']":o+" [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-6));}",t?":host [aria-level='8']":o+" [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-8));}",t?":host [aria-level='9']":o+" [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-10));}",t?":host [aria-level='10']":o+" [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 2);}",t?":host [aria-level='11']":o+" [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-4));}",t?":host [aria-level='12']":o+" [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-6));}",t?":host [aria-level='13']":o+" [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-8));}",t?":host [aria-level='14']":o+" [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-10));}",t?":host [aria-level='15']":o+" [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 3);}",t?":host [aria-level='16']":o+" [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-4));}",t?":host [aria-level='17']":o+" [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-6));}",t?":host [aria-level='18']":o+" [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-8));}",t?":host [aria-level='19']":o+" [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-10));}",t?":host [aria-level='20']":o+" [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 4);}",t?":host .kdds-tree__item-label":o+" .kdds-tree__item-label",d," {display: block;}",t?":host .kdds-tree__item-meta":o+" .kdds-tree__item-meta",d," {display: block;color: var(--kdds-g-color-neutral-base-30);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-button",d," {align-self: flex-start;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-pill",d," {margin-inline-start: var(--kdds-g-spacing-3);}",t?":host .kdds-tree__group-header":o+" .kdds-tree__group-header",d," {font-size: var(--kdds-g-font-scale-1);font-weight: var(--kdds-g-font-weight-7);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," .kdds-tree__item",d," {line-height: var(--kdds-g-font-lineheight-4);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+","+o+" .kdds-table--tree",d," .kdds-tree__item",d," a",d," {color: var(--kdds-g-link-color, var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+","+o+" .kdds-table--tree",d," .kdds-tree__item",d," a:hover",d," {text-decoration: underline;}",t?":host .kdds-table_tree"+d+" .kdds-button"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-button"+d+","+o+" .kdds-table--tree",d," .kdds-button",d," {align-self: center;}",t?":host .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+","+o+" .kdds-table--tree",d," .kdds-button:not(.kdds-th__action-button)",d," {margin-block-start: 0;}",t?":host .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-7);}",t?":host .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-9);}",t?":host .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-11);}",t?":host .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":o+" .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+","+o+" .kdds-table--tree",d," [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 4) + var(--kdds-g-spacing-2));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+","+o+" .kdds-table",d," tbody",d," tr.kdds-table-expand-container:hover",d," > td",d," {background-color: var(--kdds-c-datatable-expand-row-background);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr[data-row-key-value='EXPAND']",d," > td",d," {padding: 0;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-selected",d," {background-color: var(--kdds-c-datatable-range-selection-background) !important;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-top",d," {border-block-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-bottom",d," {border-block-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-left",d," {border-inline-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+","+o+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-right",d," {border-inline-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr",d," > td.kdds-datatable-nodata-cell",d," {padding: var(--kdds-c-datatable-default-text-margin-vertical) 0;border-inline-start: none;border-inline-end: none;}"].join("")}];var _e=[[n,i,l,c,u,b,h,k,ve,fe,ye,xe],function(e,t,a){var d=e?"["+e+"]":"";return[".table-header",d," {height: 0;}[part='cell']",d," {position: relative;padding-inline: var(--kdds-g-sizing-3, 0.5rem);padding-block: var(--kdds-g-sizing-2, 0.25rem);white-space: nowrap;align-items: center;}[role='gridcell']:focus",d,",\r[role='rowheader']:focus",d," {box-shadow: var(\r\n --kdds-g-shadow-6,\r\n var(\r\n --kwc-shadowButtonFocus,\r\n 0 0 3px var(--kdds-g-color-brand-base-50, #0176d3)\r\n )\r\n );outline: none;}[role='columnheader']",d," {outline: none;color: var(--kdds-g-color-info-1, #514f4d);font-weight: var(--kdds-g-font-weight-7, 700);line-height: normal;}[data-row-key-value]",d," {border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='gridcell']:not(.kdds-has-focus)",d,",\r[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='rowheader']:not(.kdds-has-focus)",d," {box-shadow:\r\n inset 0 var(--kdds-g-sizing-border-1, 1px)\r\n var(--kdds-g-color-border-1, #c9c9c9),\r\n inset 0 calc(var(--kdds-g-sizing-border-1, 1px) * -1)\r\n var(--kdds-g-color-border-1, #c9c9c9);}.kdds-table_header-fixed",d," [data-row-key-value]:first-child",d," {border-top: 0;}[role='row']",d," {counter-increment: row-number;display: flex;}[role='row']:hover",d,",\r[data-row-key-value='HEADER']",d," > *",d," {background-color: var(--kdds-g-color-palette-neutral-95, #f3f2f2);}[role='row'].kdds-is-selected",d," {background-color: var(--kdds-g-color-palette-neutral-90, #ecebea);}.kdds-cell-edit:hover",d," {background-color: var(--kdds-g-color-surface-container-1);}[part='cell'].kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",a?"":'[dir="rtl"]'," div[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > span[data-inline-type='formatted-number']",a?":dir(rtl)":"",d,",",a?"":'[dir="rtl"]'," \rdiv[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > a[data-inline-type='formatted-phone']",a?":dir(rtl)":"",d," {direction: ltr;unicode-bidi: embed;}[part='spinner']",d," {padding: var(--kdds-g-sizing-2, 0.25rem) var(--kdds-g-sizing-3, 0.5rem);border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-header]",d," {display: block;}[data-row-key-value='HEADER']",d," {display: table-row;}[data-row-key-value='HEADER']",d," > *",d," {display: table-cell;position: relative;border-bottom: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-neutral-base-70, var(--kwc-colorGray5, #dddbda));padding: 0;vertical-align: middle;}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *.kdds-has-focus",d," {box-shadow:\r\n #014486 0 0 0 1px inset,\r\n #014486 -0.25rem 0 0 inset;}[part='datagrid-header']",d," {position: absolute;top: 0;}"].join("")}];const we=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Ce=e`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,Ae=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Te=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Re=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ze=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ie=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Le=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Se=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,$e=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,Ve=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Me=e`<span${3}>${"t1"}</span>`,Ee=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,De=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ke=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,We=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ne=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,He=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Fe=e`<span dir="ltr"${3}>${"t1"}</span>`,Be=e`<span${3}>${"t1"}</span>`,Oe=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,je=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:target"}${"a0:tabindex"}${"a0:title"}${3}>${"t1"}</a>`,Pe=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Ue=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,qe=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Qe=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ye=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Xe=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Ge=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Ze=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Je=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,et=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,tt=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,at=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,dt=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,ot=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,st=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,rt=e`<span${3}>${"t1"}</span>`,nt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,it=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,lt=e`<a data-inline-type="formatted-phone" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ct=e`<a data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ut=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,bt=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,ht=e`<span dir="ltr"${3}>${"t1"}</span>`,kt=e`<span${3}>${"t1"}</span>`,pt=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,mt=e`<a data-inline-type="formatted-url" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:title"}${"a0:target"}${"a0:tabindex"}${3}>${"t1"}</a>`,gt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,vt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ft=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,yt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,xt=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,_t=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,wt={name:"customdatatypes"},Ct=[],At={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},Tt={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],attrs:{part:"datagrid-wrapper"},ref:"outerContainer",key:5},Rt={"data-iedit-panel":"true"},zt={"kdds-scrollable_y":!0},It={attrs:{part:"datagrid-header","data-rowgroup-header":"",role:"rowgroup"},key:10},Lt={"kdds-line-height_reset":!0,"table-header":!0},St={role:"row","aria-rowindex":"1","data-row-key-value":"HEADER"},$t={"column-header":!0,cell:!0},Vt={part:"datagrid-body","data-rowgroup-body":"",role:"rowgroup"},Mt={"kdds-checkbox":!0},Et={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},Dt={"data-navigation":"enable"},Kt={"kdds-m-right_x-small":!0},Wt={key:74},Nt={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},Ht={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},Ft={key:143},Bt={"kdds-table-expand-container":!0},Ot={key:168},jt={"kdds-datatable-nodata-cell":!0};function Pt(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:y,t:x,fr:_,fid:S}=e,{_m0:$,_m1:V,_m2:M,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:H,_m9:F,_m10:B,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",L,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:wt,key:1,on:$||(d._m0={slotchange:o(t.handleCustomTypesChange)})},Ct,a),l(we,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",At),c("div",Tt,[u("kd-primitive-datatable-iedit-panel",p,{attrs:Rt,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:V||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:zt,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("div",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{part:"datagrid",role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(t.ariaDescribedBy),"aria-rowcount":t.ariaRowCount,"aria-colcount":t.ariaColCount,"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("div",It,[c("div",{classMap:Lt,attrs:St,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},y(t.state.columns,function(e,a){return c("div",{classMap:$t,style:e.style,attrs:{part:"cell",role:e.role,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:14})])}))]):null,t.hasValidKeyField?c("div",{style:t.computedTbodyStyle,attrs:Vt,ref:"tableBody",key:15},y(t.renderedRows,function(e){return c("div",{className:r(e.classnames),style:e.style,attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,"aria-rowindex":e.ariaRowIndex,tabindex:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},y(e.cells,function(a){return[a.isRowExpand?c("div",{className:r(a.class),attrs:{role:"gridcell",tabindex:h(a.tabIndex),"data-col-key-value":a.colKeyValue},key:k(17,a.colKeyValue)},[u("kd-primitive-cell-expand",g,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:a.hasFocus,rowIndex:t.rowIndex,colKeyValue:a.colKeyValue},key:18})]):null,a.isCheckbox?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(19,a.colKeyValue)},[a.isInlined?c("span",{classMap:Mt,attrs:Et,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:a.checkboxName,id:b(a.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},props:{checked:e.isSelected},key:21,on:H||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(Ce,23,[i(0,{attrs:{id:b(a.checkboxLabelId),for:b(a.checkboxId)}},null),i(3,null,n(a.checkboxSelectItemAssistiveText))])]):null,a.isInlined?null:u("kd-primitive-cell-checkbox",v,{attrs:{"data-label":a.dataLabel},props:{dtContextId:t._datatableId,hasFocus:a.hasFocus,rowKeyValue:e.key,colKeyValue:a.colKeyValue,rowIndex:e.rowIndex,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,a.isSortingMenu?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue},key:k(25,a.colKeyValue)},[u("kd-primitive-datatable-cell",f,{props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue},key:26})]):null,a.isDataTypeScope?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"rowheader","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,"aria-describedby":b(a.describedBy),tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(27,a.colKeyValue),on:F||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:28},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:29})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:30},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:Dt,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:31}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:32},[a.hasLeftIcon?u("kd-icon",A,{classMap:Kt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:33}):null,a.hasLeftIcon?x(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?_(34,[l(Ae,36)],0):_(34,[l(Te,38)],0):null,a.isBoolean?l(Re,40,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(ze,42,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:43}):null,a.isDateLocal?l(Ie,45,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(Le,47,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:S(a.emailLink),tabindex:h(a.internalTabIndex)},key:48},[a.emailIconHidden?null:a.isRTL?_(49,[l(Se,51)],0):_(49,[l($e,53)],0),a.emailIconHidden?null:l(Ve,55,[i(1,null,n(a.emailIconAssistiveText))]),x(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(Me,57,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:x(n(a.locationValue)):null,a.isNumber?l(Ee,59,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(De,61,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(Ke,63,[i(0,{attrs:{href:S(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(We,65,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(Ne,67,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(He,69):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(Fe,71,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(Be,73,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:x(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",Wt,y(a.textParts,function(e){return[e.isLink?l(Oe,k(76,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?x(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(je,78,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),target:a.urlTarget,tabindex:h(a.internalTabIndex),title:a.urlTooltip}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",A,{classMap:Nt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:79}):null,a.hasRightIcon?x(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Ht,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:80,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?_(81,[l(Pe,83)],0):_(81,[l(Ue,85)],0),l(qe,87,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?_(88,[l(Qe,90)],0):_(88,[l(Ye,92)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",T,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,alignment:a.alignment,hasError:a.hasError,hasFocus:a.hasFocus,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:93}),a.isInlined?null:a.describedBy?l(Xe,95,[i(0,{attrs:{id:b(a.describedBy)}},null)]):null]):null,a.isDataType?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"gridcell","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(96,a.colKeyValue),on:O||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:97},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:98})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:99},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:Dt,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:100}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:101},[a.hasLeftIcon?u("kd-icon",A,{classMap:Kt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:102}):null,a.hasLeftIcon?x(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?_(103,[l(Ge,105)],0):_(103,[l(Ze,107)],0):null,a.isBoolean?l(Je,109,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(et,111,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:112}):null,a.isDateLocal?l(tt,114,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(at,116,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-navigation":"enable","data-action-triggers":"enter",href:S(a.emailLink),tabindex:h(a.internalTabIndex)},key:117},[a.emailIconHidden?null:a.isRTL?_(118,[l(dt,120)],0):_(118,[l(ot,122)],0),a.emailIconHidden?null:l(st,124,[i(1,null,n(a.emailIconAssistiveText))]),x(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(rt,126,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:x(n(a.locationValue)):null,a.isNumber?l(nt,128,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(it,130,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(lt,132,[i(0,{attrs:{href:S(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(ct,134,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(ut,136,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(bt,138):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(ht,140,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(kt,142,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:x(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",Ft,y(a.textParts,function(e){return[e.isLink?l(pt,k(145,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?x(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(mt,147,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),title:a.urlTooltip,target:a.urlTarget,tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",A,{classMap:Nt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:148}):null,a.hasRightIcon?x(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Ht,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:149,on:j||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?_(150,[l(gt,152)],0):_(150,[l(vt,154)],0),l(ft,156,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?_(157,[l(yt,159)],0):_(157,[l(xt,161)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",T,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,ariaDescribedBy:b(a.describedBy),alignment:a.alignment,hasFocus:a.hasFocus,hasError:a.hasError,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:162}),a.isInlined?null:a.describedBy?l(_t,164,[i(0,{attrs:{id:b(a.describedBy)}},null)]):null]):null]}))})):null,t.hasValidKeyField&&t.row.isRowExpanded?c("div",{classMap:Bt,attrs:{"data-row-key-value":"EXPAND","data-expand-row-key-value":t.row.key},key:165},[c("div",{attrs:{colspan:t.state.columns.length},key:166},[u("kd-primitive-custom-row",R,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:t.row,expandRowExtraParams:t.expandable.expandRowExtraParams},key:167})])]):null,t.tableNoData?c("div",Ot,[c("div",{classMap:jt,attrs:{colspan:t.state.columns.length},key:169},[u("kd-primitive-datatable-no-data",z,{props:{width:t.state.tableWrapperWidth},key:170})])]):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",I,{props:{error:t.tableError},key:171,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var Ut=t(Pt);Pt.slots=["customdatatypes"],Pt.hasRefs=!0,Pt.stylesheets=[],Pt.stylesheetToken="kwc-55hpmrcqncf",Pt.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable\\templates\\div-undefined_div",_e&&Pt.stylesheets.push.apply(Pt.stylesheets,_e),a(Pt);var qt=[[n,i,l,c,u,b,h,k,ve,fe,ye,xe],function(e,t,a){var d=e?"["+e+"]":"";return".kdds-table_header-fixed_container"+d+"::before {width: 0;}.kdds-table_header-fixed_container"+d+" > .kdds-scrollable_y"+d+"::before {width: 100%;content: '';display: block;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" {contain: strict;content-visibility: auto;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" {contain-intrinsic-height: auto 29px;}"+(a?"":'[dir="rtl"]')+" .kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > span[data-inline-type='formatted-number']"+(a?":dir(rtl)":"")+d+","+(a?"":'[dir="rtl"]')+" \r.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > a[data-inline-type='formatted-phone']"+(a?":dir(rtl)":"")+d+" {direction: ltr;unicode-bidi: embed;}"}];const Qt=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Yt=e`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,Xt=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Gt=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Zt=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Jt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ea=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ta=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,aa=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,da=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,oa=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,sa=e`<span${3}>${"t1"}</span>`,ra=e`<span${3}>${"t1"}</span>`,na=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ia=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,la=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ca=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ua=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,ba=e`<span dir="ltr"${3}>${"t1"}</span>`,ha=e`<span${3}>${"t1"}</span>`,ka=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,pa=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,ma=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ga=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,va=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,fa=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,ya=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,xa=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,_a=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,wa=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Ca=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Aa=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ta=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ra=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,za=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,Ia=e`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,La=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Sa=e`<span${3}>${"t1"}</span>`,$a=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Va=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ma=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ea=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Da=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ka=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Wa=e`<span dir="ltr"${3}>${"t1"}</span>`,Na=e`<span${3}>${"t1"}</span>`,Ha=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Fa=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,Ba=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Oa=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ja=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Pa=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ua=e`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,qa=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Qa={name:"customdatatypes"},Ya=[],Xa={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},Ga={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],ref:"outerContainer",key:5},Za={"data-iedit-panel":"true"},Ja={"kdds-scrollable_y":!0},ed={attrs:{"data-rowgroup-header":""},key:10},td={"kdds-line-height_reset":!0},ad={role:"row","data-row-key-value":"HEADER"},dd={"data-rowgroup-body":""},od={"kdds-checkbox":!0},sd={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},rd={"data-navigation":"enable"},nd={"kdds-m-right_x-small":!0},id={key:72},ld={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},cd={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},ud=[["height","100%",!1]],bd={key:141},hd={"kdds-table-expand-container":!0},kd={key:166},pd={"kdds-datatable-nodata-cell":!0};function md(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:f,t:y,fr:x,fid:_,f:S}=e,{_m0:$,_m1:V,_m2:M,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:H,_m9:F,_m10:B,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",L,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:Qa,key:1,on:$||(d._m0={slotchange:o(t.handleCustomTypesChange)})},Ya,a),l(Qt,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",Xa),c("div",Ga,[u("kd-primitive-datatable-iedit-panel",p,{attrs:Za,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:V||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:Ja,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("table",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(t.ariaDescribedBy),"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("thead",ed,[c("tr",{classMap:td,attrs:ad,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},f(t.state.columns,function(e,a){return c("th",{style:e.style,attrs:{role:e.role,scope:e.scope,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",m,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:14})])}))]):null,t.hasValidKeyField?c("tbody",{style:t.computedTbodyStyle,attrs:dd,ref:"tableBody",key:15},S([f(t.renderedRows,function(e,a){return[c("tr",{className:r(e.classnames),attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,tabindex:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},f(e.cells,function(s){return[s.isRowExpand?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-col-key-value":s.colKeyValue},key:k(17,s.colKeyValue)},[u("kd-primitive-cell-expand",g,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:s.hasFocus,rowIndex:a,colKeyValue:s.colKeyValue},key:18})]):null,s.isCheckbox?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value},key:k(19,s.colKeyValue)},[s.isInlined?c("span",{classMap:od,attrs:sd,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:s.checkboxName,id:b(s.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},props:{checked:e.isSelected},key:21,on:H||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(Yt,23,[i(0,{attrs:{id:b(s.checkboxLabelId),for:b(s.checkboxId)}},null),i(3,null,n(s.checkboxSelectItemAssistiveText))])]):null,s.isInlined?null:u("kd-primitive-cell-checkbox",v,{attrs:{"data-label":s.dataLabel},props:{dtContextId:t._datatableId,hasFocus:s.hasFocus,rowKeyValue:e.key,colKeyValue:s.colKeyValue,rowIndex:a,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,s.isDataTypeScope?c("th",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"rowheader","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,scope:"row",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(25,s.colKeyValue),on:F||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:26},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:27})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:28},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:rd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:29}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:30},[s.hasLeftIcon?u("kd-icon",A,{classMap:nd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:31}):null,s.hasLeftIcon?y(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?x(32,[l(Xt,34)],0):x(32,[l(Gt,36)],0):null,s.isBoolean?l(Zt,38,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(Jt,40,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:41}):null,s.isDateLocal?l(ea,43,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(ta,45,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:_(s.emailLink),tabindex:h(s.internalTabIndex)},key:46},[s.emailIconHidden?null:s.isRTL?x(47,[l(aa,49)],0):x(47,[l(da,51)],0),s.emailIconHidden?null:l(oa,53,[i(1,null,n(s.emailIconAssistiveText))]),y(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(sa,55,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:y(n(s.locationValue)):null,s.isNumber?l(ra,57,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(na,59,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(ia,61,[i(0,{attrs:{href:_(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(la,63,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:_(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(ca,65,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber?l(ua,67):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(ba,69,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(ha,71,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:y(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",id,f(s.textParts,function(e){return[e.isLink?l(ka,k(74,e.key),[i(0,{attrs:{href:_(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?y(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(pa,76,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:_(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",A,{classMap:ld,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:77}):null,s.hasRightIcon?y(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:cd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:78,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?x(79,[l(ma,81)],0):x(79,[l(ga,83)],0),l(va,85,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?x(86,[l(fa,88)],0):x(86,[l(ya,90)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",T,{styleDecls:ud,attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:91}),s.describedBy?l(xa,93,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null,s.isDataType?c("td",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"gridcell","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(94,s.colKeyValue),on:O||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:95},[u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:96})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:97},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",C,{attrs:rd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:98}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:99},[s.hasLeftIcon?u("kd-icon",A,{classMap:nd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:100}):null,s.hasLeftIcon?y(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?x(101,[l(_a,103)],0):x(101,[l(wa,105)],0):null,s.isBoolean?l(Ca,107,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(Aa,109,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",w,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:110}):null,s.isDateLocal?l(Ta,112,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(Ra,114,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:_(s.emailLink),tabindex:h(s.internalTabIndex)},key:115},[s.emailIconHidden?null:s.isRTL?x(116,[l(za,118)],0):x(116,[l(Ia,120)],0),s.emailIconHidden?null:l(La,122,[i(1,null,n(s.emailIconAssistiveText))]),y(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(Sa,124,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:y(n(s.locationValue)):null,s.isNumber?l($a,126,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(Va,128,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(Ma,130,[i(0,{attrs:{href:_(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(Ea,132,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:_(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(Da,134,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber&&s.rowHasError?y("</kd-primitive-datatable-tooltip>"):null,s.isRowNumber?l(Ka,136):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(Wa,138,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(Na,140,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:y(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",bd,f(s.textParts,function(e){return[e.isLink?l(Ha,k(143,e.key),[i(0,{attrs:{href:_(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?y(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(Fa,145,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:_(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",A,{classMap:ld,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:146}):null,s.hasRightIcon?y(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:cd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:147,on:j||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?x(148,[l(Ba,150)],0):x(148,[l(Oa,152)],0),l(ja,154,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?x(155,[l(Pa,157)],0):x(155,[l(Ua,159)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",T,{attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:160}),s.describedBy?l(qa,162,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null]})),e.isRowExpanded?c("tr",{classMap:hd,attrs:{"data-expand-row-key-value":e.key,"data-row-key-value":"EXPAND"},key:k(163,e.key)},[c("td",{attrs:{colspan:t.state.columns.length},key:164},[u("kd-primitive-custom-row",R,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:e,expandRowExtraParams:t.expandable.expandRowExtraParams},key:165})])]):null]}),t.tableNoData?c("tr",kd,[c("td",{classMap:pd,attrs:{colspan:t.state.columns.length},key:167},[u("kd-primitive-datatable-no-data",z,{props:{width:t.state.tableWrapperWidth},key:168})])]):null])):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",I,{props:{error:t.tableError},key:169,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var gd=t(md);md.slots=["customdatatypes"],md.hasRefs=!0,md.stylesheets=[],md.stylesheetToken="kwc-dlqna8ig4n",md.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable\\templates\\table-undefined_table",qt&&md.stylesheets.push.apply(md.stylesheets,qt),a(md);const vd={add(e){return"string"==typeof e?this[e]=!0:Object.assign(this,e),this},invert(){const e=Object.keys(this);for(let t=0,{length:a}=e;t<a;t+=1){const a=e[t];this[a]=!this[a]}return this},toString(){return E(this)}},fd=/^\d+$/,yd=/^[0-9]*[1-9][0-9]*$/,xd=/\binline\b/,_d=/\brole-based\b/;function wd(e){return"string"==typeof e?e.replace(/"/g,'\\"'):e}const Cd=function(e){return"object"==typeof e&&null!==e};function Ad(e,t,a){return e<=t?t:e>=a?a:e}function Td(e){return`[data-row-key-value="${wd(e)}"]`}function Rd(e){if(!e)return null;const{firstElementChild:t}=e;return t}function zd(e,t){return t&&t.scrollerX||e.querySelector(".kdds-scrollable_x")}function Id(e,t){return t&&t.scrollerY||e.querySelector(".kdds-scrollable_y")}function Ld(e){return fd.test(e)}function Sd(e,t,a,d){let o;if("positive"===a){if(function(e){return yd.test(e)}(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer > 0.`}else if("non-negative"===a){if(Ld(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer >= 0.`}else o="Invalid number type during normalization of number attribute";return d}function $d(e){return e.scrollHeight-e.parentNode.scrollTop-e.parentNode.clientHeight}function Vd(e){return Array.isArray(e)?e:[]}const Md={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0};function Ed(e,t,a,d){!function(e,t,a,d){const o=e[a],{columnWidths:s}=t,r=s[a],{minWidth:n,maxWidth:i}=o,l=Ad(d,n,i);if(r!==l){const d=l-r;if(s[a]=l,t.tableWidth+=d,o.columnWidth=l,o.style=l?`width: ${l}px;`:"",K())for(let t=a+1;t<e.length;t+=1)e[t].offset+=d;o.isResized=!0}}(e,t,a,t.columnWidths[a]+d)}function Dd(e,t){const{maxColumnWidth:a,minColumnWidth:d}=t;for(let t=0;t<e.length;t+=1){const o=e[t];o.internal||(o.maxWidth=a,o.minWidth=d);const{initialWidth:s}=o;if(s){const{minWidth:e,maxWidth:t}=o;o.initialWidth=Ad(s,e,t)}}}function Kd(e,t){const a=[],{columnWidths:d}=t;for(let t=0;t<e.length;t+=1)!0!==e[t].internal&&a.push(d[t]);return a}function Wd(e,t){const a=Id(e,t);return a&&!!(a.offsetParent||a.offsetHeight||a.offsetWidth)}function Nd(e){return e.loadMoreOffset}function Hd(e){const{state:t}=this;if(t.isLoading)return;const a=e.target.firstChild;if(!a)return;$d(a)<Nd(t)&&this.dispatchEvent(new CustomEvent("loadmore"))}function Fd(){const{state:e,template:t,validRefs:a}=this;if(e.isLoading||!e.enableInfiniteLoading||e.enableViewportRendering&&this._renderManager&&!this._renderManager.hasWrapperHeight()||!e.rows.length)return;const d=re?Id(t,a):null;var o;d&&((o=d).offsetParent&&o.offsetHeight>1&&o.offsetWidth>1)&&!function(e){return e.scrollHeight>e.clientHeight+2}(d)&&this.dispatchEvent(new CustomEvent("loadmore"))}const Bd="HEADER";function Od(e,t,a){return e.indexes[`${t}-${a}`]}function jd(e,t){const a=e.indexes[t];return a?a.rowIndex:void 0}function Pd(e,t){return e.indexes[t]}function Ud(e,t){const a=e.indexes[t];return a?e.data[a.rowIndex]:void 0}function qd(e,t,a){return void 0!==e.indexes[`${t}-${a}`]}const Qd="rowNumber",Yd={rowLevelErrorAssistiveText:S.rowLevelErrorAssistiveText};const Xd="SELECTABLE_CHECKBOX",Gd="SELECTABLE_BUTTON_MENU",Zd="checkbox",Jd="radio";function eo(e,t){if(!e.selectedRowsKeys[t]){const{maxRowSelection:t}=e;return oo(e)&&to(e)===t}return!1}function to(e){let t=0;const{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1)a[d[e]]&&(t+=1);return t}function ao(e){const t=[],{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1){const o=d[e];a[o]&&t.push(o)}return t}function oo(e){return 1!==e.maxRowSelection||e.singleRowSelectionMode===Zd}const so={rowActionsDefaultAriaLabel:S.rowActionsDefaultAriaLabel,rowNumber:S.rowNumber},ro={type:Qd,ariaLabel:so.rowNumber,fixedWidth:40,internal:!0,resizable:!1,sortable:!1,tabIndex:-1,label:"#"},no={type:Xd,fixedWidth:32,internal:!0,tabIndex:-1},io={type:y,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1},lo={type:Gd,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1};function co({state:e,rawColumns:t,types:a,expandable:d}){e.hadTreeDataTypePreviously=void 0!==e.treeColumn,e.treeColumn=void 0;const{columns:o,indexes:s}=e,r=!!d;for(let e=0,{length:t}=o;e<t;e+=1){s[`${Bd}-${o[e].colKeyValue}`]=void 0}const{length:n}=t;if(0===n)return e.columns=[],void(e.headerIndexes={});let i=-1,l=n,{showRowNumberColumn:c}=e;const{showActionsMenu:u}=e,b=!e.hideCheckboxColumn;if(!c)for(let a=0;a<n;a+=1)if(t[a].editable){c=!0,e.showRowNumberColumn=!0;break}c&&(l+=1),b&&(l+=1),r&&(l+=1),t.forEach((e,t)=>{"action"===e.type&&(i=t)});const h=i===t.length-1;u&&!h&&(l+=1);const k=Array(l),p={};e.columns=k,e.headerIndexes=p;let m=0;r&&(k[m]=Object.assign({},io),m+=1),b&&(k[m]=Object.assign({},no),m+=1),c&&(k[m]=Object.assign({},ro),m+=1),u&&!h&&(k[l-1]=Object.assign({},lo));for(let e=0;e<n;e+=1)k[e+m]=t[e];const{defaultSortDirection:g,sortedBy:v,sortedDirection:f}=e,x=Array.isArray(v),_=new Set;for(let t=0;t<l;t+=1){const d=k[t],{columnKey:o}=d;o&&_.has(o),_.add(o);const{type:s}=d,r=o||d.fieldName,n={ariaLabel:"",cellAttributes:{},resizable:!0,type:"text",typeAttributes:{},subType:"",role:"columnheader",scope:"col",hideDefaultActions:!0};n.initialWidth||(["number","percent","currency"].includes(s)?n.initialWidth=160:n.initialWidth=200),"action"===s?(n.ariaLabel=so.rowActionsDefaultAriaLabel,n.fixedWidth=50,n.resizable=!1):"tree"===s?n.subType="text":s!==Xd&&s!==y||(n.role="gridcell",n.scope=null),Object.assign(n,d),k[t]=n;let{type:i}=n;if(n.ariaLabel=n.label||n.ariaLabel||null,n.editableCustomType=a.isStandardCellLayoutForCustomType(i),!n.internal){if(a.isValidType(i)||(i="text",n.type=i),a.isEditableType(i)){const{editable:e}=n;e&&e.fieldName||(n.editable=D(e)),n.editTemplate=a.getCustomTypeEditTemplate(i)}else n.editable=!1,n.editTemplate=void 0;const{sortable:e}=n;e&&(x?v.includes(r):v===r)?(n.sorted=!0,n.sortAriaLabel=x?"desc"===f[v.indexOf(r)]?"descending":"ascending":"desc"===f?"descending":"ascending",n.sortedDirection=x?f[v.indexOf(r)]:f):(n.sorted=!1,n.sortAriaLabel=e?"other":null,n.sortedDirection=g)}const c=n.colKeyValue||`${r||t}-${i}-${t}`;if(n.colKeyValue=c,n.isLastCol=t===l-1,n.isScopeCol=t===m,n.name=r,n.tabIndex=-1,p[c]=t,"tree"===n.type){void 0===e.treeColumn&&(e.treeColumn=n);const{typeAttributes:t}=n,d={};a.isValidTypeForTree(t.subType)||(d.subType="text"),t.subTypeAttributes||(d.subTypeAttributes={}),n.typeAttributes=Object.assign({},t,d)}const{actions:u}=n;n.actions={menuAlignment:n.isLastCol||"action"===k[t+1].type||k[t+1].fixedWidth<100?"auto-right":"auto-left",customerActions:Array.isArray(u)?u:[],internalActions:[]}}}function uo(e){const{typeAttributes:t}=e;return Cd(t)?t:{}}function bo(e){const{subTypeAttributes:t}=e.typeAttributes;return Cd(t)?t:{}}function ho(e){const{cellAttributes:t}=e;return Cd(t)?t:{}}function ko(e,t){const{columns:a}=e,d=Od(e,Bd,t),o=d&&d.colIndex;if(void 0===o||-1===o||a[o].internal)return-1;let s=0;for(let e=0;e<o;e+=1)a[e].internal&&(s+=1);return o-s}function po(e,t){return e.headerIndexes[t]}function mo(){return{columns:[],hadTreeDataTypePreviously:!1,hideCheckboxColumn:!1,showActionsMenu:!1,treeColumn:void 0,data:[],hasCalledUpdateRowsAndCells:!1,keyField:void 0,rows:[],checkboxCells:[],lookupCells:[],shownUrlCells:[],selectedRowsKeys:{},lastSelectedRowKey:void 0,maxRowSelection:void 0,singleRowSelectionMode:void 0,hideTableHeader:!1,wrapTableHeader:"none",headerIndexes:{},indexes:{},keyboardMode:"NAVIGATION",rowMode:!1,activeCell:void 0,tabindex:0,cellToFocusNext:null,cellClicked:!1,normalized:!1,wrapTextMaxLines:void 0,sortedBy:void 0,sortedDirection:void 0,defaultSortDirection:"asc",showRowNumberColumn:!1,rowNumberOffset:0,enableInfiniteLoading:!1,loadMoreOffset:20,isLoading:!1,renderModeInline:!1,renderModeRoleBased:!1,enableViewportRendering:void 0,virtualize:"",bufferSize:5,rowHeight:30.5,renderedRowCount:0,firstVisibleIndex:0,heightCache:{},offsets:[0],offsetRanges:[],firstRowOffset:0,tableHeight:0,shouldResetHeights:!1,tableWrapperWidth:0,inlineEdit:{rowKeyValue:void 0,colKeyValue:void 0,columnDef:{},dirtyValues:{},editedValue:void 0,isPanelVisible:!1,massEditEnabled:!1,massEditSelectedRows:void 0,resolvedAttributeTypes:{},cellRect:{}},errors:{rows:{},table:{}},hasReceivedFocus:!1,hasRenderedFirstTime:!1,expandedRowKeys:new Set,rangeSelection:[]}}const{keyboardMode:go}=mo(),vo={edit:S.edit,editHasError:S.editHasError,emailLabel:S.emailLabel,false:S.false,selectItem:S.selectItem,true:S.true},fo=()=>{},yo={isInlined:!0,actionableElementsCount:0,computedCellDivClass:"",computedCellDivStyle:"",computedWrapperClass:"",currentInputIndex:0,editIconAssistiveText:"",hasFocus:!1,hasLeftIcon:!1,hasRightIcon:!1,internalTabIndex:-1,isRTL:!1,mode:go,shouldDisplayReadOnlyIcon:!1};function xo(e,t,a,d){const{columnSubType:o,columnType:s,isCheckbox:r,isCustom:n}=t;if("boolean"===s||"boolean"===o)Object.assign(t,yo,{isBoolean:!0,isChecked:!1,booleanCellAssistiveText:""});else if(r&&a){const{rowNumber:a}=t;Object.assign(t,yo,{checkboxId:`${d}-check-id-${a}`,checkboxLabelId:`check-button-label-${a}`,checkboxName:`${d}-options-${a}`,checkboxSelectItemAssistiveText:`${vo.selectItem} ${a}`}),e.checkboxCells.push(t)}else r?Object.assign(t,{isInlined:!1}):n?Object.assign(t,yo,{keyboardMode:""}):"currency"===s||"currency"===o?Object.assign(t,yo,{isCurrency:!0,currencyValue:""}):"date-local"===s||"date-local"===o?Object.assign(t,yo,{isDateLocal:!0,dateLocalValue:""}):"date"===s||"date"===o?Object.assign(t,yo,{isDateTime:!0,dateTimeValue:""}):"email"===s||"email"===o?Object.assign(t,yo,{isEmail:!0,emailIconAssistiveText:"",emailIconHidden:!1,emailLabel:"",showEmailLink:!1}):"location"===s||"location"===o?Object.assign(t,yo,{isLocation:!0,locationValue:""}):"reference"===s||"reference"===o?(Object.assign(t,yo,{isLookup:!0,_handleLookupAnchorClick:fo,handleLookupAnchorClick:e=>{t._handleLookupAnchorClick(e)},lookupIsNavigable:!1,lookupLink:"",lookupValue:t.typeAttribute0}),e.lookupCells.push(t)):"number"===s||"number"===o?Object.assign(t,yo,{isNumber:!0,numberValue:""}):"percent"===s||"percent"===o?Object.assign(t,yo,{isPercent:!0,percentValue:""}):"phone"===s||"phone"===o?Object.assign(t,yo,{isPhone:!0,phoneLabel:"",phoneLink:"",showPhoneLink:!1}):"rowNumber"===s||"rowNumber"===o?Object.assign(t,yo,{isRowNumber:!0,rowHasError:!1}):"text"===s||"text"===o?Object.assign(t,yo,{isText:!0,ignoreRTL:!1,shouldFormatText:!1,textParts:void 0,textValue:void 0}):"url"!==s&&"url"!==o||Object.assign(t,yo,{isURL:!0,_handleUrlAnchorClick:void 0,handlUrlAnchorClick:void 0,showUrlLink:!1,urlLabel:"",urlLink:"",urlTarget:"",urlTooltip:""})}const _o=[["text",["linkify"]],["boolean",[]],["number",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["currency",["currencyCode","currencyDisplayAs","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["percent",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["email",[]],["date",["day","era","hour","hour12","minute","month","second","timeZone","timeZoneName","weekday","year"]],["date-local",["day","month","year"]],["phone",[]],["url",["label","target","tooltip"]],["location",[]],["reference",["displayValue"]],["rowNumber",["error"]],["action",["menuAlignment","rowActions"]],["button",["variant","label","iconName","iconPosition","disabled","name","class","title"]],["button-icon",["variant","alternativeText","iconName","iconClass","disabled","name","class","title"]],["tree",["hasChildren","isExpanded","level","setSize","posInSet","subType"]]],wo=Array(_o.length);for(let e=0,{length:t}=_o;e<t;e+=1){const{0:t,1:a}=_o[e];wo[e]=[t,{typeAttributes:a,type:"standard"}]}const Co=new Map(_o),Ao=new Map(wo),To=new Set(["text","url","date","number","currency","percent","button","button-icon","reference"]),Ro=new Set(["text","percent","phone","email","url","currency","number","boolean","date-local","date"]);function zo(e){return U(function(e){return Co.has(e)}(e)),Co.get(e)||[]}const Io=d(class{constructor(e){if(this.privateCustomTypes=new Map,"object"==typeof e&&null!==e){const{privateCustomTypes:t}=this,a=Object.keys(e);for(let d=0,{length:o}=a;d<o;d+=1){const o=a[d],{template:s,editTemplate:r,typeAttributes:n=[],standardCellLayout:i=!1}=e[o];t.set(o,{template:s,editTemplate:r,typeAttributes:n,standardCellLayout:!0===i,type:"custom"})}}}getAttributesNames(e){if(U(this.isValidType(e)),!this.isCustomType(e))return Co.get(e)||[];return this.privateCustomTypes.get(e).typeAttributes||[]}getType(e){const{privateCustomTypes:t}=this;return t.get===Map.prototype.get&&t.get(e)||Ao.get(e)}getCustomTypeEditTemplate(e){const t=this.privateCustomTypes.get(e);return t?t.editTemplate:void 0}isValidType(e){return this.privateCustomTypes.has(e)||Co.has(e)}isEditableType(e){if(Ro.has(e))return!0;const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isCustomType(e){return this.privateCustomTypes.has(e)}isStandardCellLayoutForCustomType(e){const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isValidTypeForTree(e){return $.ENABLE_TREE_GRID_CUSTOM_TYPES?To.has(e)||this.isStandardCellLayoutForCustomType(e):To.has(e)}},{tmpl:r,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable-",apiVersion:63});let Lo={},So=[];const $o=e=>{if(1!==e.length)return!1;const{startRow:t,endRow:a,columns:d}=e[0];return t===a&&1===d.length},Vo=(e,t)=>{const a=e>t;return{startRowIndex:a?t:e,endRowIndex:a?e:t}},Mo=e=>{let t,a;if(e){const d=function(e){let t=e;for(;t&&t!==document.documentElement;){if("true"===t.dataset.rangecell)return t;t=t.parentElement||t.offsetParent}return null}(e),o=d&&d.parentElement;t=o?.dataset?.rowKeyValue,a=d?.dataset?.colKeyValue}return[t,a]},Eo=({state:e,startDragCell:t,draggingCell:a,isFinished:d,rangeSelectedChange:o,types:s})=>{if(!t||!a)return;const{columns:r}=e,{rowIndex:n,colIndex:i}=t,{rowIndex:l,colIndex:c}=a,u=((e,t,a)=>e<t?a.slice(e,t+1):a.slice(t,e+1))(i,c,r),b={startRow:n,endRow:l,columns:u};b.id=(e=>{const{startRow:t,endRow:a,columns:d}=e,{startRowIndex:o,endRowIndex:s}=Vo(t,a);return`${o}_${s}_${d[0].fieldName}_${d[d.length-1].fieldName}`})(b);let h=So.length?[...So]:[];if($o([b])){const e=b.id;h=h.filter(t=>t.id!==e)}h.push(b),e.rangeSelection=h,Po(e,s),d&&(So=h),o?.(h,d)},Do=({event:e,dt:t,rangeSelectedChange:a})=>{const{toElement:d,ctrlKey:o,shiftKey:s}=e,{state:r,_privateTypes:n}=t,[i,l]=Mo(d),c=Od(r,i,l);if(!c)return;if(o&&(e.preventDefault(),e.stopPropagation()),((e,t)=>{if(e||t||(So=[]),t){const e=So.length?[...So]:[];e.pop(),So=e}})(o,s),s)return void Eo({state:r,startDragCell:Lo,draggingCell:c,isFinished:!0,rangeSelectedChange:a,types:n});Lo=c;let u=c;const b=ue(window,"mousemove"),h=ue(window,"mouseup");b.pipe(be(e=>{const{toElement:t}=e,[a,d]=Mo(t);return u=Od(r,a,d),{startDragCell:c,draggingCell:u}}),he(h)).subscribe({next:e=>{Eo({state:r,startDragCell:e.startDragCell,draggingCell:e.draggingCell,isFinished:!1,rangeSelectedChange:a,types:n})},complete(){Eo({state:r,startDragCell:c,draggingCell:u,isFinished:!0,rangeSelectedChange:a,types:n})}})},Ko=(e,t,a)=>{const{startRow:d,endRow:o,columns:s}=e;if(!(-1!==s.findIndex(e=>e.fieldName===a.fieldName)))return!1;const{startRowIndex:r,endRowIndex:n}=Vo(d,o);return t>=r&&t<=n},Wo=(e,{rowIndex:t,col:a})=>{const{matchCellRangeTop:d,matchCellRangeLeft:o,matchCellRangeBottom:s,matchCellRangeRight:r}=((e,{rowIndex:t,col:a})=>e.reduce((e,d)=>{if(!Ko(d,t,a))return e;const{startRow:o,endRow:s,columns:r}=d,{startRowIndex:n,endRowIndex:i}=Vo(o,s),l=r[0],c=r[r.length-1],u=t===n,b=a.fieldName===l.fieldName,h=t===i,k=a.fieldName===c.fieldName;return e.matchCellRangeTop=e.matchCellRangeTop||u,e.matchCellRangeLeft=e.matchCellRangeLeft||b,e.matchCellRangeBottom=e.matchCellRangeBottom||h,e.matchCellRangeRight=e.matchCellRangeRight||k,e},{matchCellRangeTop:!1,matchCellRangeLeft:!1,matchCellRangeBottom:!1,matchCellRangeRight:!1}))(e,{rowIndex:t,col:a}),n=$o(e);let i="";const l={[x.selected]:!n,[x.top]:!n&&d,[x.left]:!n&&o,[x.bottom]:!n&&s,[x.right]:!n&&r};for(const e in l)l[e]&&(i+=`${e} `);return i},No="kdds-cell-edit",Ho="kdds-has-error",Fo="kdds-is-edited",Bo="cell",Oo="kdds-tree__item";function jo(e,t){if(Cd(e)){const{fieldName:a}=e;if(a)return t[a]}return e}function Po(e,t,a){const{columns:d,data:o,keyField:s,maxRowSelection:r,renderModeInline:n,rowHeight:i,virtualize:l,expandedRowKeys:c}=e,{privateCustomTypes:u}=t,b=K(),{length:h}=d,k=oo(e),p=k?to(e):1,m=k?Zd:Jd;let g,v;const f={};for(let e=0;e<h;e+=1){const a=d[e],{colKeyValue:o,type:s}=a,r=`${Bd}-${o}`,n={cellKeyValue:r,colIndex:e,colKeyValue:o,focused:!1,key:o,rowIndex:-1,rowKeyValue:Bd};f[r]=n,!g&&a.isScopeCol&&t.isValidType(s)&&(g=a),"tree"===s&&void 0===v&&(v=uo(a))}const x=[],_=[];e.checkboxCells=[],e.indexes=f,e.lookupCells=[],e.shownUrlCells=x,e.rows=_,o.forEach((o,w)=>{const C=o[s],A=q(C)?`row-${w}`:C;e.indexes[A]={rowIndex:w};const T=!!e.selectedRowsKeys[A],R=!!T&&"true",z=w+1,I=g?o[g.fieldName]:void 0,L=Array(h),S={ariaRowIndex:w+2,ariaSelected:e.hideCheckboxColumn?null:R,cells:L,classnames:"kdds-hint-parent"+(T?" kdds-is-selected":""),inputType:m,isSelected:T,isDisabled:!T&&k&&p===r,key:A,rowIndex:w,rowNumber:z,style:l?`position:absolute;top:${w*i}px;`:"",tabIndex:-1,level:void 0,posInSet:void 0,setSize:void 0,isExpanded:void 0,hasChildren:void 0,isRowExpanded:c.has(A)};if(v){const e=!!jo(v.hasChildren,o);S.hasChildren=e,S.isExpanded=e?`${!!jo(v.isExpanded,o)}`:void 0,S.level=jo(v.level,o)||1,S.posInSet=jo(v.posInSet,o)||1,S.setSize=jo(v.setSize,o)||1}f[A]=S,_.push(S);for(let s=0;s<h;s+=1){const r=d[s],{colKeyValue:i,isScopeCol:l,label:c,type:h,typeAttributes:p}=r,m=`${A}-${i}`,g=p?p.subType:void 0,v="tree"===h;let _;_=$.ENABLE_TREE_GRID_CUSTOM_TYPES?u&&u.get(v?g:h):u&&u.get(h);const C=!!_&&_.standardCellLayout,T=!!r.displayReadOnlyIcon,R=!!jo(r.editable,o),V=R&&t.isEditableType(h),M=t.isValidType(h),E=h===Xd,D=h===Gd,K=void 0!==_,W=K&&!C,N=K&&C,H=M&&!l,F=M&&l,B=h===y,O={ariaReadOnly:!R,cellKeyValue:m,class:"",colIndex:s,colKeyValue:i,columnSubType:g,columnType:h,dataLabel:c,displayReadOnlyIcon:T,displayValue:o.displayValue||"",describedBy:null,editable:R,hasError:void 0,hasTreeData:v,isCheckbox:E,isCustom:K,isCustomBareLayout:W,isCustomStandardLayout:N,isDataType:H,isDataTypeScope:F,isEditable:V,isRTL:b,isSortingMenu:D,rowIndex:w,rowKeyValue:A,rowNumber:z,scopeColValue:I,style:"",tabIndex:-1,value:void 0,wrapText:void 0,wrapTextMaxLines:0,isRowExpand:B};if(f[m]=O,L[s]=O,!r.internal){let e,a;if(g)e=$.ENABLE_TREE_GRID_CUSTOM_TYPES?t.getAttributesNames(g):zo(g),a=bo(r);else{const d=t.getType(h);e=d&&d.typeAttributes,a=uo(r)}const d=e?e.length:0;for(let t=0;t<d;t+=1){const d=a[e[t]];O[`typeAttribute${t}`]=jo(d,o)}const s=ho(r),n=Object.keys(s);for(let e=0;e<n.length;e+=1){const t=n[e],a=s[t];O[t]=jo(a,o)}v&&(O.typeAttribute21=S.hasChildren,O.typeAttribute22="true"===S.isExpanded)}e.indexes[S.key][i]=[w,s],L[s]=O,n&&xo(e,O,k,a),qo(e,w,s,o),O.showUrlLink&&x.push(O)}}),e.hasCalledUpdateRowsAndCells=!0}function Uo(e,t){if(!e.hasCalledUpdateRowsAndCells)return void Po(e,t);const{data:a,rows:d}=e;for(let t=0;t<d.length;t+=1){const o=a[t];for(let a=0;a<d[t].cells.length;a+=1)qo(e,t,a,o)}}function qo(e,t,a,d){const{renderModeRoleBased:o,rangeSelection:s}=e,{rows:r}=e.errors,n=e.rows[t],{key:i}=n,l=e.inlineEdit.dirtyValues[i],c=r&&r[i],u=c&&c.cells,b=e.columns[a],h=n.cells[a],{colKeyValue:k,columnKey:p,fieldName:m,wrapText:g}=b;let v=c&&c.fieldNames||[],f=null;Array.isArray(v)||(v=Object.keys(v),f=c.fieldNames[m]);const y=l&&l[k],x=p?!(!u||!u[p]):!(!v||!v.includes(m)),_=void 0===y?d[m]:y,w=g?e.wrapTextMaxLines:void 0;h.hasError=x,h.wrapText=g,h.wrapTextMaxLines=w,h.value=_,h.customErrorValidationMessage=f,b.internal&&"rowNumber"===b.type&&(h.typeAttribute0=function(e,t){const{cells:a,fieldNames:d,messages:o,title:s}=e||{};let r=0;return a?r=Object.keys(a).length:Array.isArray(d)?r=d.length:"object"==typeof d&&(r=Object.keys(d).length),{title:s,messages:o,alternativeText:ne(Yd.rowLevelErrorAssistiveText,t||"",r)}}(c,h.scopeColValue));let C=jo(ho(b).class,d)||"";h.hasTreeData&&!C&&(C+=(C.length?" ":"")+Oo),(h.displayReadOnlyIcon||h.editable)&&(C+=(C.length?" ":"")+No),x&&(C+=(C.length?" ":"")+Ho),void 0!==y&&(C+=(C.length?" ":"")+Fo,h.describedBy="unsaved-cell-notification"),o&&(C+=(C.length?" ":"")+Bo),s.length>0&&s.some(e=>Ko(e,t,b))&&(C+=Wo(s,{col:b,rowIndex:t})),h.class=C,h.style=Qo(h,b,o,h.style),h.isInlined&&(function(e){if(e.isEditable?(e.editIconAssistiveText=`${vo.edit} ${e.dataLabel}${e.hasError?` ${vo.editHasError}`:""}`,e.editLabelId=`edit-${e.cellKeyValue}`):e.shouldDisplayReadOnlyIcon=e.displayReadOnlyIcon,e.iconName){const{iconPosition:t}=e;"right"===t?e.hasRightIcon=!0:t&&"left"!==t||(e.hasLeftIcon=!0)}if(e.isRowNumber){const{typeAttribute0:t}=e,a=!!(t&&t.title&&t.messages);e.rowHasError=a}}(h),function(e,t){let a="",d="";const{alignment:o,columnType:s,hasTreeData:r,wrapText:n}=e;if(n){t+=(t.length?" ":"")+"kdds-cell-wrap",a+="kdds-hyphenate";const{wrapTextMaxLines:o}=e;o?(a+=" kdds-line-clamp",d=`--kwc-lineClamp: ${o}`):d="overflow-wrap: anywhere;"}else a+="kdds-truncate";!e.isRTL||"url"!==s&&"email"!==s&&"phone"!==s||(a+=" ltr-content-in-rtl");let i="kdds-grid";"right"===o||"currency"===s||"number"===s||"percent"===s?i+=" kdds-grid_align-end":r||o&&"left"!==o&&("center"===o||"right"===o)||(i+=" kdds-grid_align-spread"),r&&(i+=" kdds-no-space"),e.class=t,e.computedCellDivClass=a,e.computedCellDivStyle=d,e.computedWrapperClass=i}(h,C),function(e,t){if(e.isBoolean)e.isChecked=!!t,e.booleanCellAssistiveText=t?vo.true:vo.false;else if(e.isCurrency)e.currencyValue=W({value:t,formatStyle:"currency",currencyCode:e.typeAttribute0,currencyDisplayAs:e.typeAttribute1,minimumIntegerDigits:e.typeAttribute2,minimumFractionDigits:e.typeAttribute3,maximumFractionDigits:e.typeAttribute4,minimumSignificantDigits:e.typeAttribute5,maximumSignificantDigits:e.typeAttribute6},ce);else if(e.isDateLocal)e.dateLocalValue=N({value:t,day:e.typeAttribute0||"numeric",month:e.typeAttribute1||"short",year:e.typeAttribute2||"numeric",timeZone:"UTC"},ie);else if(e.isDateTime)e.dateTimeValue=N({value:le(t),dateStyle:"medium",day:e.typeAttribute0,era:e.typeAttribute1,hour:e.typeAttribute2,hour12:e.typeAttribute3,minute:e.typeAttribute4,month:e.typeAttribute5,second:e.typeAttribute6,timeZone:e.typeAttribute7,timeZoneName:e.typeAttribute8,weekday:e.typeAttribute9,year:e.typeAttribute10},ie);else if(e.isEmail){let a="";const d=t?t.trim():"",o=!!d;o&&(a=vo.emailLabel),e.emailIconAssistiveText=a,e.emailLabel=d,e.showEmailLink=o}else if(e.isLocation)e.locationValue=H(t);else if(e.isNumber)e.numberValue=W({value:t,minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},ce);else if(e.isPercent)e.percentValue=W({value:t,formatStyle:"percent",minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},ce);else if(e.isPhone){let a="",d="";const o=B(t);o&&(a=F(t),d=`tel:${t}`),e.phoneLabel=a,e.phoneLink=d,e.showPhoneLink=o}else if(e.isText){const{typeAttribute0:a}=e,d=!!a&&"string"==typeof t&&""!==t;e.ignoreRTL=e.isRTL&&O(t),e.shouldFormatText=d,e.textParts=d?j(t,!0):[],e.textValue="object"==typeof t?"":t}else if(e.isURL){let a,d,o="",s="",r="",n="";const i=null!=t&&""!==t;if(i){const{typeAttribute0:i,typeAttribute2:l}=e;a=fo,d=t=>{e._handleUrlAnchorClick(t)},s=P(t),o=null!=i&&""!==i?i:s,r=e.typeAttribute1||"_self",n=""===l?"":l||t}e._handleUrlAnchorClick=a,e.handleUrlAnchorClick=d,e.showUrlLink=i,e.urlLabel=o,e.urlLink=s,e.urlTarget=r,e.urlTooltip=n}}(h,_))}function Qo(e,t,a,d=""){let o=d;if(o&&!o.endsWith(";")&&(o+=";"),!o&&e.isCustomBareLayout&&(o="padding: 0;"),a){const{columnWidth:e}=t;e>0&&(o+=`width:${e}px;`)}return o}function Yo(e){const{columns:t}=e;e.rows.forEach(e=>{e.cells.forEach((a,d)=>{const o=t[d],s=jo(ho(o).style,e)||"";a.style=Qo(a,o,!0,s)})})}function Xo(e){e.renderModeRoleBased&&e.rows&&e.rows.forEach(e=>{e.cells.forEach(e=>{const t="string"==typeof(a=e.class)?{__proto__:vd,[a]:!0}:Object.assign({__proto__:vd},a);var a;t.add("cell"),e.class=t.toString()})})}const Go={tableHeight:{observerProp:"_heightObserver",callback:Fd,targetRefs:["scrollerY","tableElement"]},width:{observerProp:"_widthObserver",callback:function(){const{_columnWidthManager:e,state:t,widthsData:a,template:d,validRefs:o}=this;e.adjustColumnsSizeAfterResize(this,t.columns,a),this._recalculateHeaderHeight=!0,t.renderModeRoleBased&&Yo(t);const s=zd(d,o);t.tableWrapperWidth=s?.offsetWidth,t.shouldResetHeights=!0},targetRefs:["widthObserver","scrollerX"]}};class Zo{constructor(e,t){this._connected=!1;const{callback:a,targetRefs:d}=Go[t],o=a.bind(e);if(this._resizeObserver=new se(()=>{const{refs:t,template:a}=e;this._connected&&Wd(a,t)&&o()}),e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];this._resizeObserver.observe(a)}this._connected=!0}observe(e){this._resizeObserver?this._resizeObserver.observe(e):this._resizeSensor&&this._resizeSensor.reattach(e),this._connected=!0}disconnect(){this._resizeObserver?this._resizeObserver.disconnect():this._resizeSensor&&(this._resizeSensor.detach(),this._resizeSensor=void 0),this._connected=!1}isConnected(){return this._connected}}function Jo(e,t){const{observerProp:a,targetRefs:d}=Go[t],o=e[a];if(o){if(!o.isConnected()&&e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];o.observe(a)}}else e[a]=new Zo(e,t)}function es(e){const t=Object.keys(Go),{length:a}=t;for(let d=0;d<a;d+=1){const{observerProp:a}=Go[t[d]];e[a]&&e[a].disconnect()}}function ts(e,t){const a={totalFixedWidth:0,totalFixedColumns:0,totalResizedWidth:0,totalResizedColumns:0,totalFlexibleColumns:0,minColumnWidth:e.minColumnWidth,maxColumnWidth:e.maxColumnWidth,wrapTextMaxLines:e.wrapTextMaxLines};for(let e=0;e<t.length;e+=1){const d=t[e],{fixedWidth:o,initialWidth:s}=d;o&&isFinite(o)?(a.totalFixedWidth+=o,a.totalFixedColumns+=1):d.isResized?(a.totalResizedWidth+=d.columnWidth,a.totalResizedColumns+=1):s&&isFinite(s)?(a.totalResizedWidth+=s,a.totalResizedColumns+=1):a.totalFlexibleColumns+=1}return a}function as(e){const{fixedWidth:t,initialWidth:a}=e;if(t&&isFinite(t))return t;const d=isFinite(a)?a:null;return e.isResized&&e.columnWidth||d}function ds(e){let t=0;for(let a=0,{length:d}=e;a<d;a+=1)t+=e[a];return t}function os(e,t,a){return Math.max(e-t,a)}function ss(e,t,a){return Math.min(e+t,a)}class rs{constructor(e,t,a=3){this.columnWidthRatios=[],this.columnWidthData={},this.columnWidthsDistribution={},this.columnWidthData={minColumnWidth:e,maxColumnWidth:t,wrapTextMaxLines:a},this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}set minColumnWidth(e){this.columnWidthData.minColumnWidth=e}set maxColumnWidth(e){this.columnWidthData.maxColumnWidth=e}set wrapTextMaxLines(e){this.columnWidthData.wrapTextMaxLines=e||3}getAdjustedColumnWidths(e,t,a){const d=ts(this.columnWidthData,t),o=function(e,t){const a=t.totalFlexibleColumns*t.minColumnWidth+t.totalFixedWidth+t.totalResizedWidth;return 0===t.totalFlexibleColumns?a:Math.max(a,e)}(e.getAvailableWidthFromDom(),d);if(this.resetColumnWidthsDistribution(),(a||0===this.columnWidthRatios.length)&&this.calculateColumnWidthRatios(e,t,d),a&&this.columnWidthRatios.length!==t.length)return{columnWidths:[]};const s=this.distributeWidthFromRatios(o,t,d),r=ds(s);return o>r?this.redistributeExtraWidth(o,s,t):o<r&&this.redistributeDeficitWidth(o,s,t),{columnWidths:s}}getRatios(e,t){const{length:a}=e,d=Array(a);for(let o=0;o<a;o+=1)d[o]=100*e[o]/t;return d}calculateColumnWidthRatios(e,t,a){const{wrapTextMaxLines:d}=a,o=e.getDataCellWidths();for(let e=0,{length:a}=o;e<a;e+=1){const a=t[e];if(a)if(a.wrapText){const t=o[e];o[e]=t/d}else{const{fixedWidth:t}=a;t&&isFinite(t)&&(o[e]=t)}}this.setColumnWidthRatios(e,o,a)}setColumnWidthRatios(e,t,a){this.columnWidthRatios=[];const d=e.getTableElementWidth();if(d>0){const{totalFixedWidth:o,totalResizedWidth:s}=a;if(0===t.length){const t=e.getHeaderCellWidths();if(t.length>0){const e=t.reduce((e,t)=>e+=t,0)-o-s;this.columnWidthRatios=this.getRatios(t,e)}}else{const e=t.reduce((e,t)=>e+=t,0),a=Math.min(d,e)-o-s;this.columnWidthRatios=this.getRatios(t,a)}}}resetColumnWidthsDistribution(){this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}distributeWidthFromRatios(e,t,a){const d=[];for(let o=0;o<t.length;o+=1){const s=as(t[o])||this.getColumnWidthFromRatio(e,a,o);d[o]=s}return d}getColumnWidthFromRatio(e,t,a){const{totalFixedWidth:d,totalResizedWidth:o,minColumnWidth:s,maxColumnWidth:r}=t,n=this.columnWidthRatios[a],i=e-d-o,l=Math.floor(i*n/100)+20,{colsWithMinWidth:c,colsWithMaxWidth:u}=this.columnWidthsDistribution;l<s+Math.ceil(.5*s)&&c.push(a);return l>r-Math.ceil(.5*r)&&u.push(a),Ad(l,s,r)}redistributeExtraWidth(e,t,a){const{colsWithMinWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=ts(this.columnWidthData,a),{maxColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=ds(t),c=0,u=0,b=0;if(o>0){c=e-l,b=o,u=Math.floor(c/b);for(let e=0;e<o;e+=1){const a=d[e],o=t[a],s=ss(o,u,r);l+=s-o,t[a]=s}}if(c=e-l,c>0){const e=n+i,{length:d}=a;b=d-e,u=Math.floor(c/b);for(let e=0;e<d;e+=1){const d=a[e],o=t[e];if(!as(d)){const a=ss(o,u,r);l+=a-o,t[e]=a}}}}redistributeDeficitWidth(e,t,a){const{colsWithMaxWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=ts(this.columnWidthData,a),{minColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=ds(t),c=e-l,u=0,b=0;if(o>0){u=o,b=Math.floor(Math.abs(c)/u);for(let e=0,{length:a}=d;e<a;e+=1){const a=d[e],o=t[a],s=os(o,b,r);l-=o-s,t[a]=s}}c=e-l;const h=n+i;if(c<0){const{colsWithMinWidth:e}=this.columnWidthsDistribution;u=a.length-(h+e.length),b=Math.floor(Math.abs(c)/u);for(let d=0;d<a.length;d+=1){const o=a[d],s=t[d];if(!e.includes(d)&&!as(o)){const e=os(s,b,r);l-=s-e,t[d]=e}}}}}class ns{constructor(e,t){this.widthsData={},this.widthsData={minColumnWidth:e,maxColumnWidth:t}}set minColumnWidth(e){this.widthsData.minColumnWidth=e}set maxColumnWidth(e){this.widthsData.maxColumnWidth=e}getAdjustedColumnWidths(e,t){const a=ts(this.widthsData,t),d=function(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s}=t,r=o*s+a+d;return 0===t.totalFlexibleColumns?r:Math.max(r,e)}(e.getAvailableWidthFromDom(),a),o=this.getFlexibleColumnWidth(a,d),s=[];for(let e=0;e<t.length;e+=1){const a=as(t[e])||o;s[e]=a}return{columnWidths:s}}getFlexibleColumnWidth(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s,maxColumnWidth:r}=e,n=t-a-d,i=Math.floor(n/o),l=Math.max(i,s);return Math.min(r,l)}}const is="auto",ls="fixed";function cs(e,t,a){const{columnWidths:d}=a,{length:o}=e;if(d.length!==o)return;let s=0;const r=K();for(let a=0;a<o;a+=1){const o=e[a],n=d[a];t.columnWidths[a]=n,o.columnWidth=n,o.style=n?`width: ${n}px;`:"",r&&(o.offset=s),s+=n}t.tableWidth=s}class us{constructor(e){this.columnWidthMode=ls,this.isResizingUpdateQueued=!1,this.isAutoResizingUpdateQueued=!1;const t=e.minColumnWidth||Md.minColumnWidth,a=e.maxColumnWidth||Md.maxColumnWidth,d=new ns(t,a),o=new rs(t,a);this.widthStrategies={[ls]:d,[is]:o}}get columnWidthStrategy(){return this.widthStrategies[this.columnWidthMode]}set minColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].minColumnWidth=e}}set maxColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].maxColumnWidth=e}}set wrapTextMaxLines(e){this.widthStrategies[is].wrapTextMaxLines=e}shouldFireResizeEvent(e,t){return this.columnWidthMode===ls&&e.columnWidths.length!==t.length}adjustColumnsSize(e,t,a,d){const{columnWidthStrategy:o,isAutoResizingUpdateQueued:s,isResizingUpdateQueued:r}=this;if(r){let r;r=this.shouldResizeWithUpdate(e,t,d)?o.getAdjustedColumnWidths(this.getDatatableInterface(e,t),a,s):{columnWidths:d.columnWidths},cs(a,d,r)}this.isAutoResizingUpdateQueued=!1,this.isResizingUpdateQueued=!1}adjustColumnsSizeAfterResize(e,t,a){cs(t,a,this.columnWidthStrategy.getAdjustedColumnWidths(this.getDatatableInterface(e.template,e.refs),t))}handleDataChange(e){this.columnWidthMode===is&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleColumnsChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleWidthModeChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleRowNumberOffsetChange(e,t){const a=function(e){if(e.showRowNumberColumn){const{columns:t}=e;for(let e=0,{length:a}=t;e<a;e+=1)if(t[e].type===Qd)return e}return-1}(e);if(-1!==a){const{columns:d}=e,o=d[a],s=function(e){const t=String(e.rows.length+e.rowNumberOffset).length;return Math.max(10*t+12,40)}(e);o.initialWidth!==s&&(o.initialWidth=Math.max(s,o.minWidth),t.columnWidths.length>0&&(this.isResizingUpdateQueued=!0))}}handleCheckboxColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleActionsColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleRowNumberColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(a))}setAutoResizingUpdate(e){this.columnWidthMode===is&&(this.isAutoResizingUpdateQueued=!0);for(let t=0;t<e.length;t+=1){const a=e[t];as(a)||(a.columnWidth=null,a.style="")}}hasDataChanged(e,t){const{length:a}=e,{length:d}=t;return d>0&&(0===a||a!==d)}shouldResizeWithUpdate(e,t,a){return!(a.columnWidths.length>0)||Wd(e,t)}getDatatableInterface(e,t){return{getAvailableWidthFromDom:()=>zd(e,t).offsetWidth,getDataCellWidths(){const e=t.tableBody.firstChild;if(e){const t=e.children,{length:a}=t,d=Array(a);for(let e=0;e<a;e+=1)d[e]=t[e].offsetWidth;return d}return[]},getHeaderCellWidths(){const e=t.headerRow.children,a=[];for(let t=0;t<e.length;t+=1){const d=e[t].firstChild.getDomWidth();d&&a.push(d)}return a},getTableElementWidth:()=>(t?.tableElement||e.querySelector(".kdds-table")).offsetWidth}}}function bs(e){e.stopPropagation();const{action:t,rowKeyValue:a}=e.detail,d=Ud(this.state,a);this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(t),row:o(d)}}))}function hs(e){e.stopPropagation();const{actionsProviderFunction:t,doneCallback:a,rowKeyValue:d,saveContainerPosition:s}=e.detail,r=Ud(this.state,d);s(this.getViewableRect()),t(o(r),a)}function ks(e){e.stopPropagation();const{state:t}=this,{colKeyValue:a,rowKeyValue:d}=e.detail,s=Ud(t,d),r=ko(t,a),n=this._rawColumns[r];this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(n.typeAttributes),row:o(s)}}))}const ps="selectAllRows",ms="deselectAllRows",gs="rowSelect",vs="rowDeselect";function fs(e){e.stopPropagation(),function(e){const{maxRowSelection:t,rows:a}=e,d={};for(let e=0,{length:o}=a;e<o;e+=1){const o=a[e];void 0===t||e<t?(d[o.key]=!0,Ds(o,!0)):(o.isDisabled=!0,Ds(o,!1))}e.selectedRowsKeys=d}(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:ps})}function ys(e){e.stopPropagation(),Cs(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:ms})}function xs(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d}=e,{start:o,end:s}=Vs(e,t,a),r=e.maxRowSelection||d.length;let n,i=o;for(;i<=s&&!n;)As(e,d[i].key),n=to(e)>=r,i+=1}(t,d&&Ls(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:gs,value:a})}function _s(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d,selectedRowsKeys:o}=e,{start:s,end:r}=Vs(e,t,a);for(let t=s;t<=r;t+=1){const a=d[t];Ds(a,!1),o[a.key]=!1,to(e)===e.maxRowSelection-1&&Rs(e)}}(t,d&&Ls(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:vs,value:a})}function ws(){$s(this.state)}function Cs(e){const{rows:t}=e;for(let e=0,{length:a}=t;e<a;e+=1){const a=t[e];a.isDisabled=!1,Ds(a,!1)}e.selectedRowsKeys={}}function As(e,t){const a=Pd(e,t),d=to(e),o=e.maxRowSelection||e.rows.length;Ds(a,!0);let{selectedRowsKeys:s}=e;const{singleRowSelectionMode:r}=e;if(o>1||1===o&&r===Zd)s[a.key]||(s[a.key]=!0,d+1===o&&Ts(e));else{if(1===d){Ds(Pd(e,Object.keys(s)[0]),!1),s={},e.selectedRowsKeys=s}s[a.key]=!0}}function Ts(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!0)}}function Rs(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!1)}}function zs(e,t){if(Array.isArray(t)){const{maxRowSelection:a}=e,d=to(e);let o=function(e,t){const a=[],{rows:d}=e;if(d.length){const{indexes:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]&&a.push(o)}}return a}(e,t);o.length>a&&(o=o.slice(0,a));const s=function(e){const t={};for(let a=0,{length:d}=e;a<d;a+=1)t[e[a]]=!0;return t}(o),r=function(e,t){const a=[],{selectedRowsKeys:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]||a.push(o)}return a}(e,o),n=function(e,t){const a=[],{selectedRowsKeys:d}=e,o=Object.keys(d);for(let e=0,{length:s}=o;e<s;e+=1){const s=o[e];d[s]&&!t[s]&&a.push(s)}return a}(e,s);!function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ds(Pd(e,t[a]),!0)}(e,r),function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ds(Pd(e,t[a]),!1)}(e,n),e.selectedRowsKeys=s;const{length:i}=o;i===a&&oo(e)?Ts(e):i<a&&d===a&&Rs(e)}else Cs(e)}function Is(e,t){const a={};for(let d=0,{length:o}=e;d<o;d+=1){a[e[d][t]]=!0}return a}function Ls(e){const{lastSelectedRowKey:t}=e;return void 0!==t&&void 0!==Pd(e,t)?t:void 0}function Ss(e,t){const a=oo(e),d=a?Zd:Jd,{rows:o}=e;let s,r=!1;e.renderModeInline&&!e.hideCheckboxColumn&&(r=!0,s=e.showRowNumberColumn?1:0);for(let n=0,{length:i}=o;n<i;n+=1){const i=o[n];i.inputType=d,i.isDisabled=eo(e,i.key),r&&xo(e,i.cells[s],a,t)}}function $s(e){const t=e.columns||{};for(let a=0;a<t.length;a+=1){const d=t[a];if(d.type===Xd){const{maxRowSelection:o,rows:{length:s}}=e,r=o&&o<s?o:s,n=to(e),i=Object.assign({},d);return i.bulkSelection=n?n===r?"all":"some":"none",i.isBulkSelectionDisabled=0===o||0===s,void(t[a]=i)}}}function Vs(e,t,a){const d=t===Bd?0:jd(e,t),o=jd(e,a);return{start:Math.min(d,o),end:Math.max(d,o)}}function Ms(e,t,a){const d=Od(e,t,a);d&&(d.ariaSelected="true")}function Es(e,t,a){const d=Od(e,t,a);d&&(d.ariaSelected=!1)}function Ds(e,t){e.ariaSelected=t,e.classnames="kdds-hint-parent"+(t?" kdds-is-selected":""),e.isSelected=t}const Ks=new Set(["action","boolean","button","button-icon","date-local","rowNumber"]),Ws={clipText:S.clipText,wrapText:S.wrapText};function Ns(e){if(function(e){Ks.has(e.type)?e.wrapText=!1:e.wrapText=D(e.wrapText)}(e),e.hideDefaultActions||Ks.has(e.type))return[];const t=e.wrapText||!1,{clipText:a,wrapText:d}=Ws;return[{label:d,title:d,checked:t,name:"wrapText"},{label:a,title:a,checked:!t,name:"clipText"}]}function Hs(e,t,a){const{name:d}=t,o="wrapText"===d;if(o||"clipText"===d){const{state:t}=e,d=po(t,a),s=t.columns[d];s.wrapText!==o&&(t.shouldResetHeights=!0,s.wrapText=o,function(e,t){const a=po(e,t);if(-1===a)return;const{columns:d}=e,o=d[a],{internalActions:s}=o.actions;for(let e=0;e<s.length;e+=1){const t=s[e],{name:a}=t;"wrapText"===a?t.checked=o.wrapText:"clipText"===a&&(t.checked=!o.wrapText)}(function(e,t){const{data:a,rows:d}=e;for(let o=0;o<d.length;o+=1)qo(e,o,t,a[o])})(e,a),o.actions=Object.assign({},o.actions)}(t,a))}e._recalculateHeaderHeight=!0}function Fs(e){e.stopPropagation();const{action:t,actionType:a,colKeyValue:d}=e.detail;"customer"!==a&&Hs(this,t,d),function(e,t,a){const d=ko(e.state,a),s=e.columns[d];e.dispatchEvent(new CustomEvent("headeraction",{detail:{action:o(t),columnDefinition:o(s)}}))}(this,t,d)}function Bs(e){e.stopPropagation(),e.preventDefault();const t=2.125*e.detail.actionsCount+1.0625*e.detail.dividersCount+1;this._actionsMinHeightStyle=`min-height: ${t}rem`,e.detail.saveContainerPosition(this.getViewableRect())}function Os(){this._actionsMinHeightStyle=""}function js(e,t,a){e.dispatchEvent(new CustomEvent("privatetogglecell",{bubbles:!0,composed:!0,cancelable:!0,detail:{name:t,nextState:!a}}))}function Ps(e){const{firstVisibleIndex:t}=e,a=Math.max(t-e.bufferSize,0),d=[0],o=e.offsets[a];if(d[a]=o,e.heightCache={},e.offsets=d,e.offsetRanges=[{start:0,end:0}],a>0&&e.offsetRanges.push({start:a,end:a}),e.virtualize&&e.rows.length){const t=e.rows.length-a,d=e.rowHeight*t;e.tableHeight=o+d}}function Us(e,t,a,d){const o={start:a[0].rowIndex,end:a[a.length-1].rowIndex+1};let s,r=0;const n=function(e,t){let a=0,d=e.length-1;for(;a<=d;){const o=Math.floor((a+d)/2),s=e[o].start<=t,r=e[o+1]&&e[o+1].start<=t;if(s&&!r)return o;s?a=o+1:d=o-1}return-1}(t.offsetRanges,o.start),i=e.querySelectorAll('[data-rowgroup-body] [role="row"]');for(let e=0;e<a.length;e++){const d=a[e];if(!t.heightCache[d.key]&&0!==t.heightCache[d.key]){const a=i[e];if(a){let{height:e}=a.getBoundingClientRect();d.rowIndex&&d.rowIndex===o.start&&e++,t.heightCache[d.key]=e,Ys(t,d,n,e),r+=e-t.rowHeight,s=d.rowIndex+2}}}t.tableHeight+=r,function(e,t,a,d,o){const{offsets:s,offsetRanges:r}=e,n=r[t],i=r[t+1],l=n&&Xs(n,a),c=i&&Xs(a,i);if(c&&o)for(let e=d;e<=i.end;e++)s[e]=s[e]+o;l&&c?(i.start=n.start,i.end=Math.max(a.end,i.end),e.offsetRanges.splice(t,1)):l?n.end=Math.max(n.end,a.end):c?(i.start=a.start,i.end=Math.max(a.end,i.end),t+=1):(e.offsetRanges.splice(t+1,0,a),t+=1);if(t>=0)for(let e=t+1;e<r.length;e++){const{start:t,end:a}=r[e];for(let e=t;e<=a;e++)s[e]=s[e]+o}}(t,n,o,s,r),function(e,t,a,d){const o=d?.scrollerY||e.querySelector(".kdds-scrollable_y");o.scrollTop=t.offsets[t.firstVisibleIndex]+t.firstRowOffset;const s=!!a[0].rowIndex;a.forEach((e,a)=>{let d=t.offsets[e.rowIndex];s&&!a&&(d+=1),e.style=`position:absolute;top:${d}px;`})}(e,t,a,d)}function qs(e,t){const{offsetRanges:a,offsets:d,rowHeight:o}=e;let s=0,r=a.length-1;for(;s<=r;){const n=Math.floor((s+r)/2),i=a[n],l=a[n+1],c=d[i.start],u=d[i.end],b=c<=t,h=b&&t<=u,k=!l||t<d[l.start],p=b&&k;if(h)return Qs(e,i,t);if(p){const a=t-u,d=Math.floor(a/o);return e.firstRowOffset=a%o,i.end+d}t<c?r=n-1:s=n+1}return-1}function Qs(e,t,a){let{start:d,end:o}=t;const{offsets:s}=e;for(;d<=o;){const t=Math.floor((d+o)/2),r=s[t]<=a,n=s[t+1]&&s[t+1]<=a;if(r&&!n)return e.firstRowOffset=a-s[t],t;r?d=t+1:o=t-1}return-1}function Ys(e,t,a,d){const o=e.offsetRanges[a];let s=e.offsets[t.rowIndex];if(!s&&(s=0,o)){s=e.offsets[o.end]+(t.rowIndex-o.end)*e.rowHeight,e.offsets[t.rowIndex]=s}e.offsets[t.rowIndex+1]=s+d}function Xs(e,t){return e.start<=t.start&&t.start<=e.end||e.start<=t.end&&t.end<=e.end}const Gs="NAVIGATION",Zs="ACTION",Js=K()?{RIGHT:-1,LEFT:1,USE_CURRENT:0,RESET:2,TAB_FORWARD:-1,TAB_BACKWARD:1}:{RIGHT:1,LEFT:-1,USE_CURRENT:0,RESET:2,TAB_FORWARD:1,TAB_BACKWARD:-1};function er(e){e.stopPropagation(),function(e,t){const{refs:a,state:d,template:o}=e;switch(t.detail.keyCode){case 37:ar(d,o,a,t);break;case 39:dr(d,o,a,t);break;case 38:or(d,o,a,t);break;case 40:sr(d,o,a,t);break;case 13:case 32:rr(d,o,a,t);break;case 27:nr(d,o,a,t);break;case 9:ir(d,o,a,t)}}(this,e)}function tr(e){X(e.target)&&function(e,t){const{refs:a,state:d,template:o}=e,{activeCell:{colKeyValue:s,rowKeyValue:r}}=d,{keyCode:n,shiftKey:i}=t,l={detail:{colKeyValue:s,rowKeyValue:r,keyCode:n,shiftKey:i},preventDefault:()=>{},stopPropagation:()=>{}};switch(t.keyCode){case 37:t.preventDefault(),ar(d,o,a,l);break;case 39:t.preventDefault(),dr(d,o,a,l);break;case 38:t.preventDefault(),or(d,o,a,l);break;case 40:t.preventDefault(),sr(d,o,a,l);break;case 13:case 32:t.preventDefault(),rr(d,o,a,l);break;case 27:l.detail.keyEvent=t,nr(d,o,a,l);break;case 9:ir(d,o,a,l)}}(this,e)}function ar(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Od(e,o,s);if(0===r&&function(e){return e.keyboardMode===Gs&&e.treeColumn}(e))Vr(e,t),function(e){e.treeColumn&&e.keyboardMode===Gs&&(e.rowMode=!0)}(e),Dr(e,t,a);else{const d=function(e,t){return K()?Qr(e.columns.length,t):Yr(t)}(e,r);if(void 0===d)return;Vr(e,t),e.activeCell=Od(e,o,e.columns[d].colKeyValue),$r(e,t,a,Js.LEFT)}}function dr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Od(e,o,s),n=function(e,t){return K()?Yr(t):Qr(e.columns.length,t)}(e,r);void 0!==n&&(Vr(e,t),e.activeCell=Od(e,o,e.columns[n].colKeyValue),$r(e,t,a,Js.RIGHT))}function or(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Od(e,o,s),i=function(e,t){return-1===t?void 0:t-1}(0,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),Vr(e,t),e.activeCell=Od(e,-1===i?Bd:e.rows[i].key,s),$r(e,t,a,Js.USE_CURRENT))}function sr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Od(e,o,s),i=function(e,t){const a=e.rows.length;return t+1<a?t+1:void 0}(e,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),Vr(e,t),e.activeCell=Od(e,-1===i?Bd:e.rows[i].key,s),$r(e,t,a,Js.USE_CURRENT))}function rr(e,t,a,d){if(e.keyboardMode===Gs){e.keyboardMode=Zs;const{keyCode:a,keyEvent:o}=d.detail,{rowIndex:s,colIndex:r}=e.activeCell;o&&o.preventDefault();const n={action:void 0};32===a?n.action="space":13===a&&(n.action="enter"),gr(e,t,n),jr(e,s,r,-1)}}function nr(e,t,a,d){e.keyboardMode===Zs&&(d.detail.keyEvent.stopPropagation(),e.keyboardMode=Gs,gr(e,t),$r(e,t,a,Js.RESET))}function ir(e,t,a,d){d.preventDefault(),d.stopPropagation();const{detail:o}=d,s=o.shiftKey?"BACKWARD":"FORWARD";const r=function(e,t){const{rowIndex:a,colIndex:d}=e.activeCell,{nextRowIndex:o,nextColIndex:s}=ur(e,t);if(-1===a&&0===d&&-1!==o&&0!==s||-1!==a&&-1===o&&0===s)return!0;return!1}(e,s);if(e.keyboardMode===Zs)if(!1===r){const{keyEvent:d}=o;d&&d.preventDefault(),"BACKWARD"===s?cr(e,t,a):lr(e,t,a)}else e.keyboardMode=Gs,gr(e,t),e.isExitingActionMode=!0;else e.isExitingActionMode=!0}function lr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=ur(e,"FORWARD");Vr(e,t),e.activeCell=Od(e,-1===o?Bd:e.rows[o].key,e.columns[d].colKeyValue),$r(e,t,a,Js.TAB_FORWARD,{action:"tab"})}function cr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=ur(e,"BACKWARD");Vr(e,t),e.activeCell=Od(e,-1===o?Bd:e.rows[o].key,e.columns[d].colKeyValue),$r(e,t,a,Js.TAB_BACKWARD,{action:"tab"})}function ur(e,t="FORWARD"){const{rowIndex:a,colIndex:d}=e.activeCell;return"BACKWARD"===t?function(e,t,a){const d=e.columns.length;if(a>0)return{nextRowIndex:t,nextColIndex:a-1};return{nextRowIndex:Xr(e,t),nextColIndex:d-1}}(e,a,d):function(e,t,a){const d=e.columns.length;if(d>a+1)return{nextRowIndex:t,nextColIndex:a+1};return{nextRowIndex:Gr(e,t),nextColIndex:0}}(e,a,d)}function br(e,t){const{refs:a,state:d,template:o}=e,{localName:s}=t.target;if(s&&-1!==s.indexOf("tr")&&Zr(d))switch(t.detail.keyCode){case 37:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n,rowLevel:i}=o.detail;if(r&&n)js(e,s,n);else if(i>1){const{treeColumn:e}=t;if(e){const{colKeyValue:o}=e,{rowIndex:r}=Od(t,s,o),n=function(e,t,a){const d=a-1,{rows:o}=e;for(let e=d;e>=0;e--)if(o[e].level===t-1)return e;return-1}(t,i,r);-1!==n&&(Kr(t,a),t.activeCell=Od(t,t.rows[n].key,o),Dr(t,a,d))}}}(e,d,o,a,t);break;case 39:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n}=o.detail;r&&!n?js(e,s,n):(Kr(t,a),Jr(t),$r(t,a,d,Js.USE_CURRENT))}(e,d,o,a,t);break;case 38:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Od(e,o,d),n=Xr(e,s);-1!==n&&(Kr(e,t),e.activeCell=Od(e,e.rows[n].key,d),Dr(e,t,a))}}(d,o,a,t);break;case 40:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Od(e,o,d),n=Gr(e,s);-1!==n&&(Kr(e,t),e.activeCell=Od(e,e.rows[n].key,d),Dr(e,t,a))}}(d,o,a,t)}}function hr(e){e.activeCell=function(e){const{columns:t}=e,{length:a}=t;if(a){let d=0,o=!1;for(let e=0;e<a;e+=1)if(d=e,!0!==t[e].internal){o=!0;break}o||(d=0);const{rows:s}=e;return Od(e,s.length>0?s[0].key:Bd,t[d].colKeyValue)}}(e)}function kr(e,t){const{activeCell:a}=t;return a?function(e,t,a){const d=e.querySelector(`${Td(t)} ${function(e){return`[data-col-key-value="${wd(e)}"]`}(a)}`);return d||void 0}(e,a.rowKeyValue,a.colKeyValue):void 0}function pr(e,t,a){const{activeCell:d}=e;if(d){const{rowKeyValue:e,colKeyValue:o}=d;return e.toString()===t.toString()&&o===a}return!1}function mr(e){const{activeCell:t}=e;if(e.hasReceivedFocus)t&&vr(e)||(t&&e.cellToFocusNext?function(e){const{rowIndex:t,colIndex:a}=e.cellToFocusNext,{columns:d,rows:o}=e,{length:s}=o;let r=t;r>s-1&&(r=s-1);const{length:n}=d;let i=a;i>n-1&&(i=n-1);const l=function(e,t,a){const{columns:d,rows:o}=e;if(o.length>t&&d.length&&d.length>a){const s=-1===t?Bd:o[t].key,{colKeyValue:r}=d[a];return e.indexes[`${s}-${r}`]}}(e,r,i);l?e.activeCell=l:hr(e);e.keyboardMode=Gs}(e):hr(e));else{if(t&&vr(e)){const{rowIndex:a,colIndex:d}=t;jr(e,a,d,-1)}hr(e)}}function gr(e,t,a){const d=fr(kr(t,e));if(d){const{keyboardMode:t}=e;"function"==typeof d.setMode?d.setMode(t,a):Sr(e.activeCell,d,t,a)}}function vr(e){const{activeCell:t,indexes:a}=e;if(t){const d=a[t.cellKeyValue];return d&&(e.activeCell=d),void 0!==d}return!1}function fr(e){return e?e.firstElementChild:void 0}function yr(e){return e.closest('[role="gridcell"],[role="columnheader"],[role="rowheader"]')||void 0}function xr(e){return e.currentInputIndex>0}function _r(e){const{actionableElementsCount:t}=e;return t>1&&e.currentInputIndex<t-1}function wr(e,t,a){const{rowKeyValue:d,colKeyValue:o}=e,{keyCode:s,shiftKey:r}=a;t.dispatchEvent(new CustomEvent("privatecellkeydown",{bubbles:!0,composed:!0,cancelable:!0,detail:{rowKeyValue:d,colKeyValue:o,keyCode:s,shiftKey:r,keyEvent:a}}))}function Cr(e){const{state:t}=this,a=t.renderModeInline?yr(e.target):void 0;if(a){const e=fr(a);!function(e,t){const{rowKeyValue:a,colKeyValue:d}=e;t.dispatchEvent(new CustomEvent("privatecellfocusedbyclick",{bubbles:!0,composed:!0,detail:{rowKeyValue:a,colKeyValue:d}}))}(Od(t,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue),e)}}function Ar(e){const{state:t}=this,a=t.renderModeInline?yr(e.target):void 0;if(a){const e=fr(a),t=Od(this.state,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue);t.keyboardMode===Zs&&Lr(t,e,t.currentInputIndex)}}function Tr(e){const{state:t}=this,{target:a}=e,d=t.renderModeInline&&"KD-PRIMITIVE-CELL-FACTORY"!==a.tagName&&!a.getAttribute("role")?yr(e.target):void 0;if(void 0===d)return;const o=fr(d),s=Od(t,d.parentElement.dataset.rowKeyValue,d.dataset.colKeyValue),{keyboardMode:r}=s,{keyCode:n,shiftKey:i}=e;if(r===Zs){let t=n!==Y.shift;n===Y.left?function(e){return K()?_r(e):xr(e)}(s)&&(e.preventDefault(),K()?zr(s,o):Ir(s,o),t=!1):n===Y.right?function(e){return K()?xr(e):_r(e)}(s)&&(e.preventDefault(),K()?Ir(s,o):zr(s,o),t=!1):n===Y.tab&&(i?xr(s)&&(e.preventDefault(),Ir(s,o),t=!1):_r(s)&&(e.preventDefault(),zr(s,o),t=!1)),t&&wr(s,o,e)}else r===Gs&&(n!==Y.left&&n!==Y.right&&n!==Y.up&&n!==Y.down&&n!==Y.enter||wr(s,o,e))}function Rr(e){const t=Array.from(e.querySelectorAll('[data-navigation="enable"]')),a=e.querySelector("kd-primitive-custom-cell");if(a){a.getActionableElements().forEach(e=>t.push(e))}return t}function zr(e,t){Lr(e,t,e.currentInputIndex+1)}function Ir(e,t){Lr(e,t,e.currentInputIndex-1)}function Lr(e,t,a){const d=Rr(t),{length:o}=d;e.actionableElementsCount=o,o&&(a>0&&a<o?(d[a].focus(),e.currentInputIndex=a):(d[0].focus(),e.currentInputIndex=0))}function Sr(e,t,a,d){const o=d||{action:"none"};if(e.keyboardMode=a,a===Zs){e.internalTabIndex=0,setTimeout(()=>{Lr(e,t,e.currentInputIndex)},0);const a=Rr(t),{length:d}=a;if("tab"===o.action)for(let e=0;e<d;e+=1){const t=a[e];if(t.getAttribute("data-action-edit")){t.click();break}}else if(1===d){const e=a[0];-1!==(e.getAttribute("data-action-triggers")||"").indexOf(o.action)&&e.click()}}else e.internalTabIndex=-1}function $r(e,t,a,d,o,s=!0){const{keyboardMode:r}=e,{rowIndex:n,colIndex:i}=e.activeCell;let l,c=kr(t,e);e.activeCell.hasFocus=!(o&&an(e)),jr(e,n,i),s&&!c&&an(e)?(!function(e,t,a,d){const{firstVisibleIndex:o,bufferSize:s,renderedRowCount:r,rowHeight:n}=e;let i=d*n;if(o>d){const e=r-2*s;i=Math.max(i-e*n,0)}const l=Id(t,a);l.scrollTop=i,qs(e,i)}(e,t,a,n),l=function(e,t){return new Promise(a=>{const d=Date.now(),o=setInterval(()=>{(kr(e,t)||d-Date.now()>1e3)&&(clearInterval(o),a())},0)})}(t,e)):l=Promise.resolve();const u=c&&c.parentElement.dataset.rowKeyValue;return l.then(()=>new Promise(a=>{setTimeout(()=>{if(c&&qd(e,u,c.dataset.colKeyValue)||(c=kr(t,e)),c){const t=fr(c),{activeCell:a}=e;t&&(d&&("function"==typeof t.resetCurrentInputIndex?t.resetCurrentInputIndex(d,r):function(e,t,a,d){if(-1===a){const{length:a}=Rr(t);e.currentInputIndex=a?a-1:0}else 1!==a&&2!==a||(e.currentInputIndex=0);d===Zs&&e.keyboardMode===Zs&&Lr(e,t,e.currentInputIndex)}(a,c,d,r)),"function"==typeof t.addFocusStyles&&t.addFocusStyles()),c.classList.add(_),c.focus({preventScroll:!s}),t&&("function"==typeof t.setMode?t.setMode(r,o):Sr(a,t,r,o))}a()},0)}))}function Vr(e,t){const{activeCell:a}=e;if(a){const{rowIndex:d,colIndex:o}=a;e.activeCell.hasFocus=!1;let s=kr(t,e);const r=s&&s.parentElement.dataset.rowKeyValue;setTimeout(()=>{if(s&&qd(e,r,s.dataset.colKeyValue)||(s=kr(t,e)),s){const{activeElement:t}=document,a=fr(s);a&&("function"==typeof a.removeFocusStyles?(t===a&&a.blur(),a.removeFocusStyles(!0)):(e.activeCell.internalTabIndex=-1,s.contains(t)&&s.blur())),s.classList.remove(_)}},0),jr(e,d,o,-1)}}function Mr(e,t){const{activeCell:a}=e;if(a&&!e.cellToFocusNext&&Wr(e,t)){const{length:t}=e.rows,d=t-1,{length:o}=e.columns;let{rowIndex:s,colIndex:r}=a;r=0,s===d&&(s=d,r=o?o-1:0),e.cellToFocusNext={rowIndex:s,colIndex:r}}}function Er(e){e.activeCell&&e.cellToFocusNext&&vr(e)&&(e.cellToFocusNext=null)}function Dr(e,t,a){const{rowIndex:d}=e.activeCell,o=tn(t,e);Pr(e,d),setTimeout(()=>{o.focus({preventScroll:!0}),function(e,t,a,d){const o=Id(t,a),s=o.parentElement.getBoundingClientRect(),r=d.getBoundingClientRect();r.top<s.top+80?o.scrollTop-=20:r.bottom>s.bottom-80&&(o.scrollTop+=20);qs(e,o.scrollTop)}(e,t,a,o)},0)}function Kr(e,t){const{activeCell:a}=e;a&&(setTimeout(()=>{const a=tn(t,e);document.activeElement===a&&a.blur()},0),Pr(e,a.rowIndex,-1))}function Wr(e,t){return e.cellClicked||Nr(t)}function Nr(e){const t=G();for(let a=0,{length:d}=t;a<d;a+=1)if(e.contains(t[a]))return!0;return!1}function Hr(e){const{state:t}=this;if(t.hasReceivedFocus=!0,t.isExitingActionMode=!1,Nr(e.currentTarget)&&X(e.target)){if(t.activeCell&&!t.rowMode){t.activeCell.hasFocus=!0;const e=kr(this.template,t);if(e){const a=fr(e);a&&("function"==typeof a.addFocusStyles&&a.addFocusStyles(),e.tabIndex=0),e.classList.add(_),this._suppressScroll?this._suppressScroll=!1:Fr(t,this.template,this.refs,e)}}!function(e){e.cellClicked=!1}(t)}}function Fr(e,t,a,d){if(e.activeCell?.colIndex===e.columns?.length-1){const e=zd(t,a);e.scrollLeft=e.scrollWidth}else{const e=a?.outerContainer||t.querySelector("div.dt-outer-container"),o=d.getBoundingClientRect(),s=e.getBoundingClientRect();(o.left<s.left||o.right>s.right)&&d.scrollIntoView({block:"nearest",inline:"nearest"})}}function Br(e){const{state:t}=this,{currentTarget:a,relatedTarget:d}=e,o=d&&a.contains(d);if((!d||d&&!o||d&&o&&t.isExitingActionMode)&&t.activeCell&&!t.rowMode){const e=kr(this.template,t);if(e){const t=fr(e);t&&"function"==typeof t.removeFocusStyles&&t.removeFocusStyles(),e.classList.remove(_)}}}function Or(e){e.cellClicked=!0}function jr(e,t,a,d=0){en(t)?e.columns[a].tabIndex=d:e.rows[t].cells[a].tabIndex=d}function Pr(e,t,a=0){en(t)||(e.rows[t].tabIndex=a)}function Ur(e,t=0){e.activeCell&&!vr(e)&&mr(e),dn(e,t)}function qr(e,t=0){e.activeCell&&!vr(e)&&mr(e),function(e,t=0){const{activeCell:a}=e;a&&Zr(e)&&Pr(e,a.rowIndex,t)}(e,t)}function Qr(e,t){return e>t+1?t+1:void 0}function Yr(e){return e>0?e-1:void 0}function Xr(e,t){const{length:a}=e.rows;return-1===t?a-1:t-1}function Gr(e,t){const{length:a}=e.rows;return t+1<a?t+1:-1}function Zr(e){return e.keyboardMode===Gs&&!0===e.rowMode}function Jr(e){e.rowMode=!1}function en(e){return-1===e}function tn(e,t){let a;const{activeCell:d}=t;return d&&(a=e.querySelector(Td(d.rowKeyValue))),a||void 0}function an(e){const{activeCell:t}=e;return!!t&&qd(e,t.rowKeyValue,t.colKeyValue)}function dn(e,t=0){const{activeCell:a}=e;a&&!Zr(e)&&jr(e,a.rowIndex,a.colIndex,t)}const on='[data-iedit-panel="true"]';function sn(e){bn(this,yr(e.target))}function rn(e){pn(this);const{reason:t,rowKeyValue:a,colKeyValue:d}=e.detail;un(this,t,a,d),this._draftValues=this.draftValues}function nn(e){const{state:t}=this;if(e.detail.checked)!function(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&Ms(e,s,t)}}(t);else{const{inlineEdit:e}=t;fn(this.state),Ms(t,e.rowKeyValue,e.colKeyValue)}}function ln(e){const{state:t}=this,{inlineEdit:a}=t,{isPanelVisible:d}=a;if(!d)return;let o=0;const{target:s}=e;if(s.classList.contains("kdds-scrollable_y")){const e=s.scrollTop;null==this._lastScrollY?this._lastScrollY=e:s.scrollHeight>s.offsetHeight&&(o=Math.abs(this._lastScrollY-e))}else{const e=s.scrollLeft;null==this._lastScrollX?this._lastScrollX=e:s.scrollWidth>s.offsetWidth&&(o=Math.abs(this._lastScrollX-e))}if(o>5){const{rowKeyValue:e,colKeyValue:t}=a;this._lastScrollX=null,this._lastScrollY=null,pn(this),un(this,"lost-focus",e,t)}else r=this,requestAnimationFrame(()=>{const{_positionRelationship:e}=r;e&&e.reposition()});var r}function cn(e){const{inlineEdit:t}=e.state;t.isPanelVisible&&un(e,"lost-focus",t.rowKeyValue,t.colKeyValue)}function un(e,t,a,d){const{state:o,template:s,refs:r}=e,{inlineEdit:n}=o;if(qd(o,a,d)&&"edit-canceled"!==t&&!("lost-focus"===t&&n.massEditEnabled)){const t=s.querySelector(on),r=t.validity.valid,n=Od(o,a,d).value,{isMassEditChecked:i,value:l}=t;if(r&&(l!==n||i)){const t={[a]:{[d]:l}};if(i){const e=ao(o);for(let a=0;a<e.length;a+=1){t[e[a]]={[d]:l}}}!function(e,t){const{dirtyValues:a}=e.inlineEdit,d=Object.keys(t);for(let e=0;e<d.length;e+=1){const o=d[e];Object.prototype.hasOwnProperty.call(a,o)||(a[o]={}),Object.assign(a[o],t[o])}}(o,t),function(e,t){e.dispatchEvent(new CustomEvent("cellchange",{detail:{draftValues:gn(e.state,t)}}))}(e,t),Po(o,e._privateTypes)}}"lost-focus"!==t&&("tab-pressed-next"===t?lr(o,s,r):"tab-pressed-prev"===t?cr(o,s,r):$r(o,s,r,Js.USE_CURRENT)),fn(o),Es(o,a,d),n.isPanelVisible=!1}function bn(e,t){!function(e,t){requestAnimationFrame(()=>{pn(e),e._positionRelationship=pe(e,{target:t,element:()=>e.template.querySelector(on).getPositionedElement(),autoFlip:!0,align:{horizontal:me.Left,vertical:me.Top},targetAlign:{horizontal:me.Left,vertical:me.Top}})})}(e,t);const{state:a,template:d,_privateTypes:o}=e,{inlineEdit:s}=a;s.isPanelVisible&&un(e,"lost-focus",s.rowKeyValue,s.colKeyValue);const{rowKeyValue:r}=t.parentElement.dataset,{colKeyValue:n}=t.dataset,i=Od(a,r,n),{colIndex:l}=i,c=a.columns[l];s.isPanelVisible=!0,s.rowKeyValue=r,s.colKeyValue=n,s.columnDef=c,s.editedValue=i.value,s.customErrorValidationMessage=i.customErrorValidationMessage,s.massEditSelectedRows=to(a),s.massEditEnabled=s.massEditSelectedRows>1&&function(e,t){return!!e.selectedRowsKeys[t]}(a,r),s.cellRect=t.getBoundingClientRect();const{typeAttributes:u}=c||{};u&&(s.resolvedTypeAttributes=function(e,t,a,d,o){const s=e.columns[a],r=o&&d.getType(s.type),n=r&&r.typeAttributes;if(n){const a={},{length:d}=n,s=d?Ud(e,t):void 0;if(s)for(let e=0;e<d;e+=1){const t=n[e],d=o[t];d&&(a[t]=vn(s,d))}return a}return o}(a,r,l,o,u)),Ms(a,r,n),setTimeout(()=>{const t=d.querySelector("kd-primitive-datatable-iedit-panel");t.isEditableValid?t.focus():un(e,"edit-canceled",s.rowKeyValue,s.colKeyValue)},0)}function hn(e){const{state:t}=e;if(t.data&&t.data.length>0)if(function(e){const{activeCell:t}=e;return!!t&&t.editable}(t))kn(e);else{const a=function(e){const{state:t}=e,{columns:a}=t,d=[];for(let e=0,{length:t}=a;e<t;e+=1){const t=a[e];t.editable&&d.push(t)}const{length:o}=d;if(o>0){const{rows:e}=t;for(let a=0;a<e.length;a+=1){const s=e[a],{key:r}=s;for(let e=0;e<o;e+=1){const{colKeyValue:a}=d[e],o=Od(t,r,a);if(o&&o.editable)return o}}}return}(e);a&&(t.activeCell=a,kn(e))}}async function kn(e){const{state:t,template:a,refs:d}=e;await $r(t,a,d,Js.USE_CURRENT);bn(e,kr(a,t))}function pn(e){const{_positionRelationship:t}=e;t&&(ke(t),e._positionRelationship=void 0)}function mn(e,t){const{columns:a,keyField:d}=e,o=Array.isArray(t)?t:[],s={};for(let e=0;e<o.length;e+=1){const t=o[e],r=Object.keys(t),n={};for(let e=0,{length:d}=r;e<d;e+=1){const d=r[e];for(let e=0;e<a.length;e+=1){const o=a[e];if(o.columnKey===d||!o.columnKey&&o.fieldName===d){n[o.colKeyValue]=t[d];break}}}delete n[d],s[t[d]]=n}e.inlineEdit.dirtyValues=s}function gn(e,t){const{columns:a,keyField:d}=e,o=[],s=Object.keys(t);for(let r=0,{length:n}=s;r<n;r+=1){const n=s[r],i=t[n],l=Object.keys(i),{length:c}=l;if(c){const t={};for(let d=0;d<c;d+=1){const o=l[d],s=po(e,o);if(-1!==s){const{name:e}=a[s];t[e]=i[o]}}t[d]=n,o.push(t)}}return o}function vn(e,t){let a={};if(!Cd(t))return void 0===t?a:t;if(Array.isArray(t))return t.map(t=>vn(e,t));const d=Object.keys(t);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o],r=t[s];if(void 0!==r)if("fieldName"===s)a=e[r];else if(Cd(r)){const{fieldName:t}=r;a[s]=t?e[t]:vn(e,r)}else a[s]=r}return a}function fn(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&Es(e,s,t)}}function yn(e,t){e.renderModeRoleBased?e.virtualize=Q(t,{fallbackValue:"",validValues:["vertical"]}):e.virtualize=""}class xn{constructor(){this.threshold=305,this.wrapperHeight=0,this.previousCache={renderedRowCount:0,totalRowCount:0,firstRowKey:""}}configure(e,t,a){const{rowHeight:d,bufferSize:o}=a;yn(e,a.virtualize),function(e,t){e.enableViewportRendering=D(t)}(e,a.viewportRendering),(e.virtualize||e.enableViewportRendering)&&this.initializeResizeObserver(e,t);const s=void 0!==o?o:5;e.bufferSize=Sd("bufferSize",s,"non-negative",5),"number"==typeof d&&(e.rowHeight=d,this.threshold=10*d)}updateViewportRendering(e,t,a){this.hasDataChanged(e.rows)||a?this.updateRenderedRows(e,this.getRowCountWithBuffer(e)):this.previousCache.totalRowCount<e.rows.length&&this.isWithinThreshold(t)?this.updateRenderedRows(e,this.previousCache.renderedRowCount+this.getRowCountWithBuffer(e)):this.updateRenderedRows(e,this.previousCache.renderedRowCount)}handleScroll(e,t){const{rows:a,renderedRowCount:d}=e;this.isWithinThreshold(t.target.firstChild)&&d<a.length&&this.updateRenderedRows(e,d+this.getRowCountWithBuffer(e))}getRenderedRange(e){const{firstVisibleIndex:t,bufferSize:a,renderedRowCount:d,rows:o,rowHeight:s,heightCache:r}=e,n=Math.max(t-a,0);let i=t-a+d;if(r[o[t]&&o[t].key]){let e=t,d=0,n=o[e]&&r[o[e].key];for(;n&&d<this.wrapperHeight;)d+=n,e+=1,n=o[e]&&r[o[e].key];if(d>=this.wrapperHeight)i=e+a;else{i=e+Math.ceil((this.wrapperHeight-d)/s)+a}}return d===o.length&&i<=o.length-a&&(i=d),{firstIndex:n,lastIndex:i}}updateRenderedRows(e,t){const{rows:a}=e,d=a.length,o=t?Math.min(t,d):d;e.enableViewportRendering?e.renderedRowCount<o&&(e.renderedRowCount=o,this.previousCache.renderedRowCount=o):(e.renderedRowCount=o,this.previousCache.renderedRowCount=o),this.previousCache.totalRowCount=d,a.length>0&&(this.previousCache.firstRowKey=a[0].key)}updateWrapperHeight(e){this.wrapperHeight=e()}initializeResizeObserver(e,t){this._heightResizeObserver||(this._heightResizeObserver=new se(()=>{if(this._resizeObserverConnected){this.updateWrapperHeight(t);const a=this.getRowCountWithBuffer(e);Ps(e),(a>e.renderedRowCount||e.virtualize)&&this.updateRenderedRows(e,a)}}))}connectResizeObserver(e){const{_heightResizeObserver:t}=this;t&&(t.observe(e),this._resizeObserverConnected=!0)}disconnectResizeObserver(){const{_heightResizeObserver:e}=this;e&&(this._resizeObserverConnected=!1,e.disconnect())}getRowCountInViewport(e){return Math.ceil(this.wrapperHeight/e.rowHeight)}getRowCountWithBuffer(e){const t=e.virtualize?2:1;return this.getRowCountInViewport(e)+e.bufferSize*t}isWithinThreshold(e){return $d(e)<=this.threshold}hasDataChanged(e){return e.length>0&&this.previousCache.firstRowKey!==e[0].key}hasWrapperHeight(){return!!this.wrapperHeight}}function _n(e){const{columns:t,defaultSortDirection:a,sortedBy:d,sortedDirection:o}=e,s=Array.isArray(d);for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];if(r.sortable&&s&&d.includes(r.name)&&o){const e=d.indexOf(r.name),t=o[e];r.sorted=e+1,r.sortAriaLabel="desc"===t?"descending":"ascending",r.sortedDirection=t}else r.sortable&&!s&&d===r.name?(r.sorted=!0,r.sortAriaLabel="desc"===o?"descending":"ascending",r.sortedDirection=o):(r.sorted=!1,r.sortAriaLabel=r.sortable?"other":null,r.sortedDirection=a)}}const{PrivateLookupItemPickedEvent:wn}=V,Cn={ariaLiveNavigationMode:S.ariaLiveNavigationMode,ariaLiveActionMode:S.ariaLiveActionMode},{setContext:An,assertContext:Tn}=J;class Rn extends ge{get columnWidthsMode(){return this.widthsData.columnWidthsMode}set columnWidthsMode(e){const{widthsData:t}=this,a=Q(e,{fallbackValue:"fixed",validValues:["fixed","auto"]});this._columnWidthManager.columnWidthMode=a,t.columnWidthsMode!==a&&this._columnWidthManager.handleWidthModeChange(this.state.columns),t.columnWidthsMode=a}get expandable(){return this._expandable}set expandable(e){this._expandable=e,((e,t)=>{const{defaultExpandedRowKeys:a=[],defaultExpandAllRows:d}=t,{data:o,keyField:s}=e,r=new Set(a);d&&r.size!==o.length&&o.forEach(e=>{r.add(e[s])}),e.expandedRowKeys=r})(this.state,e),this.updateColumns(this._rawColumns)}get rangeSelection(){return this._rangeSelection}set rangeSelection(e){this._rangeSelection=e}get columns(){return this._rawColumns}set columns(e){const t=Array.isArray(e)?e:[];this._rawColumns=t,this.updateColumns(t),this._columnWidthManager.handleColumnsChange(this.state.columns)}get data(){return this.state.data}set data(e){const{_customerSelectedRows:t,state:a}=this,{data:d,columns:o}=a,s=Vd(e),r=function(e,t){const a=Vd(e),d=Vd(t);try{return!(!a.length||!d.length)&&JSON.stringify(a[0])===JSON.stringify(d[0])}catch(e){return!1}}(d,s);a.data=s,!r&&s.length&&o?.length&&this._columnWidthManager.handleDataChange(o),"string"==typeof a.keyField&&this.isConnected&&this.updateRows(),r?function(e,t,a){const d=a.length-t.length;e.tableHeight+=d*e.rowHeight}(a,d,s):(a.heightCache={},a.offsets=[0],a.offsetRanges=[{start:0,end:0}],a.firstVisibleIndex=0,a.tableHeight=a.rowHeight*s.length),t&&this.setSelectedRows(t)}get defaultSortDirection(){return this.state.defaultSortDirection}set defaultSortDirection(e){const{state:t}=this;!function(e,t){"asc"!==t&&"desc"!==t||(e.defaultSortDirection=t)}(t,e),_n(t)}get draftValues(){return gn(e=this.state,e.inlineEdit.dirtyValues);var e}set draftValues(e){const{state:t}=this;this._draftValues=e,mn(t,e),this.isConnected&&"string"==typeof t.keyField&&this.updateRowsAndCells(),dn(t)}get enableInfiniteLoading(){return this.state.enableInfiniteLoading}set enableInfiniteLoading(e){const{state:t}=this;!function(e,t){e.enableInfiniteLoading=D(t)}(t,e),this.isConnected&&Fd.call(this)}get errors(){return this.state.errors}set errors(e){const{state:t}=this;!function(e,t){e.errors=Object.assign({rows:{},table:{}},t)}(t,e),this.isConnected&&Uo(t)}get hideCheckboxColumn(){return this.state.hideCheckboxColumn}set hideCheckboxColumn(e){const{_rawColumns:t,state:a}=this,d=D(e);this._columnWidthManager.handleCheckboxColumnChange(a.hideCheckboxColumn,d,a.columns),a.hideCheckboxColumn=d,this.isConnected?this.updateColumns(t):t&&(a.hadTreeDataTypePreviously=!1,a.treeColumn=void 0,co({state:a,rawColumns:t,types:this._privateTypes,expandable:this._expandable}))}get showActionsMenu(){return this.state.showActionsMenu}set showActionsMenu(e){const{state:t}=this,a=D(e);this._columnWidthManager.handleActionsColumnChange(t.showActionsMenu,a,t.columns),t.showActionsMenu=a,this.updateColumns(this._rawColumns)}get hideTableHeader(){return this.state.hideTableHeader}set hideTableHeader(e){this.state.hideTableHeader=D(e)}get wrapTableHeader(){return this.state.wrapTableHeader}set wrapTableHeader(e){const t=this.state.wrapTableHeader,a=Q(e,{fallbackValue:"none",validValues:["all","by-column","none"]});this.state.wrapTableHeader=a,a!==t&&(this._recalculateHeaderHeight=!0)}get loading(){return this.state.loading}set loading(e){!function(e,t){e.loading=D(t)}(this.state,e)}get keyField(){return this.state.keyField}set keyField(e){const{state:t}=this;!function(e,t){e.keyField="string"==typeof t?t:void 0}(t,e),mn(t,this._draftValues),this.isConnected&&this.updateRows()}get loadMoreOffset(){return Nd(this.state)}set loadMoreOffset(e){!function(e,t){Ld(t),e.loadMoreOffset=Ld(t)?parseInt(t,10):20}(this.state,e)}get maxColumnWidth(){return this.widthsData.maxColumnWidth}set maxColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.maxColumnWidth=Sd("maxColumnWidth",a,"non-negative",Md.maxColumnWidth),Dd(e,t)}(this.state.columns,t,e),this._columnWidthManager.maxColumnWidth=t.maxColumnWidth}get maxRowSelection(){return this.state.maxRowSelection}set maxRowSelection(e){const{state:t,_customerSelectedRows:a}=this,d=to(t);!function(e,t,a){const d=ao(e);if(Cs(e),Ld(t)){const o=e.maxRowSelection,s=Number(t);e.maxRowSelection=s;const r=Math.min(d.length,s);for(let t=0;t<r;t+=1)As(e,d[t]);(function(e,t){return 0===e||0===t||1===e&&(t>1||void 0===t)||1===t&&(e>1||void 0===e)})(o,s)&&(Ss(e,a),$s(e))}else e.maxRowSelection=void 0}(t,e,this._datatableId),d>0?this.fireSelectedRowsChange(this.getSelectedRows()):!this.isConnected&&t.data.length&&a&&(this._maxRowSelectionShouldFireEvent=!0)}get singleRowSelectionMode(){return this.state.singleRowSelectionMode}set singleRowSelectionMode(e){const{state:t}=this;t.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),function(e,t,a){Q(t,{fallbackValue:Jd,validValues:[Zd,Jd]})!==e.singleRowSelectionMode&&(e.singleRowSelectionMode=t,Ss(e,a),$s(e))}(t,e,this._datatableId)}get minColumnWidth(){return this.widthsData.minColumnWidth}set minColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.minColumnWidth=Sd("minColumnWidth",a,"non-negative",Md.minColumnWidth),Dd(e,t)}(this.state.columns,t,e),this._columnWidthManager.minColumnWidth=t.minColumnWidth}get renderConfig(){return this._renderConfig}set renderConfig(e){Cd(e)&&(this._renderManager.configure(this.state,this.getWrapperHeight,e),this._renderManager.updateViewportRendering(this.state,this.gridContainer,!0),this._renderConfig=e)}get renderMode(){return this._renderMode}set renderMode(e){const{_renderConfig:t,state:a}=this,d=Q(e,{fallbackValue:"default",validValues:["default","inline","role-based","role-based-inline"]}),o=function(e){return xd.test(e)}(d),s=function(e){return _d.test(e)}(d);this._renderMode=d,a.hasRenderedFirstTime=!1,a.hasRenderedTable=!1,a.renderModeInline=o,a.renderModeRoleBased=s,this.isConnected&&this.updateRowsAndCells(),t&&yn(a,t.virtualize),Xo(a)}get resizeColumnDisabled(){return this.widthsData.resizeColumnDisabled}set resizeColumnDisabled(e){!function(e,t){e.resizeColumnDisabled=D(t)}(this.widthsData,e)}get resizeStep(){return this.widthsData.resizeStep}set resizeStep(e){!function(e,t){e.resizeStep=Sd("resizeStep",t,"non-negative",Md.resizeStep)}(this.widthsData,e)}get rowNumberOffset(){return this.state.rowNumberOffset}set rowNumberOffset(e){const{state:t}=this;!function(e,t){e.rowNumberOffset=Sd("rowNumberOffset",t,"non-negative",0)}(t,e),this._columnWidthManager.handleRowNumberOffsetChange(t,this.widthsData)}get selectedRows(){return ao(this.state)}set selectedRows(e){this._customerSelectedRows=e,this.setSelectedRows(e)}get showRowNumberColumn(){return this.state.showRowNumberColumn}set showRowNumberColumn(e){const{state:t,_rawColumns:a}=this,{length:d}=a;if(t.showRowNumberColumn)for(let e=0;e<d;e+=1)if(a[e].editable)return;this._columnWidthManager.handleRowNumberColumnChange(t.rowNumberOffset,e,t.columns),t.showRowNumberColumn=D(e),this.isConnected?this.updateColumns(a):a&&(t.hadTreeDataTypePreviously=!1,t.treeColumn=void 0,co({state:t,rawColumns:a,types:this._privateTypes,expandable:this._expandable}))}get sortedBy(){return this.state.sortedBy}set sortedBy(e){const{state:t}=this;!function(e,t){"string"==typeof t||Array.isArray(t)?e.sortedBy=t:e.sortedBy=void 0}(t,e),_n(t)}get sortedDirection(){return this.state.sortedDirection}set sortedDirection(e){const{state:t}=this;!function(e,t){"string"!=typeof t||"asc"!==t&&"desc"!==t?Array.isArray(t)&&(t.forEach(e=>{}),e.sortedDirection=t):e.sortedDirection=t}(t,e),_n(t)}get suppressBottomBar(){return this._suppressBottomBar}set suppressBottomBar(e){this._suppressBottomBar=D(e)}get wrapTextMaxLines(){return this.state.wrapTextMaxLines}set wrapTextMaxLines(e){const{state:t}=this;!function(e,t){e.wrapTextMaxLines=Sd("wrapTextMaxLines",t,"positive",void 0),e.shouldResetHeights=!0}(t,e),this._columnWidthManager.wrapTextMaxLines=t.wrapTextMaxLines,this.isConnected&&Uo(t)}focus(){const{state:e}=this;mr(e),$r(e,this.template,this.refs)}getSelectedRows(){const{state:e}=this;let t;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),t=re?o(e.data):e.data;const{rows:a}=e,d=[];for(let e=0,{length:o}=a;e<o;e+=1){a[e].isSelected&&d.push(t[e])}return d}openInlineEdit(){this.state.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),hn(this)}scrollToTop(){const e=Id(this.template,this.validRefs);e&&(e.scrollTop=0)}get gridContainer(){return re?Rd(Id(this.template,this.validRefs)):null}get computedTableContainerClass(){return E({"kdds-table_header-fixed_container":!this.state.hideTableHeader,"kdds-scrollable_x":!this._isResizing})}get computedTableClass(){const{state:e}=this,{rangeSelection:t}=e,a=e.hideTableHeader?"hidden":"fixed";return E({"kdds-table":!0,"kdds-no-row-hover":0===this.renderedRows.length,[`kdds-table_header-${a}`]:!0,"kdds-table_bordered":!0,"kdds-table_edit":!0,"kdds-table_resizable-cols":!this.widthsData.resizeColumnDisabled,"kdds-tree kdds-table_tree":!!e.treeColumn,"kdds-rangeselection_active":t.length&&!(1===t.length&&$o(t))})}get computedTableRole(){return this.state.treeColumn?"treegrid":"grid"}get computedTableStyle(){let e=`table-layout: ${this._columnWidthManager.isAutoResizingUpdateQueued?"auto":"fixed"};`;const{tableWidth:t}=this.widthsData;return t&&(e+=`width: ${t}px;`),e}get computedTbodyStyle(){const{state:e}=this,{rowNumberOffset:t}=e;let a="";if(e.showRowNumberColumn&&t>=0){const{firstVisibleIndex:d,bufferSize:o}=e;a+=`counter-reset: row-number ${Math.max(d-o,0)+t};`}if(e.virtualize){const{tableHeight:t}=e;a+=`position:relative;height:${t}px`}return a}get computedScrollerYStyle(){const e=this._actionsMinHeightStyle?`${this._actionsMinHeightStyle};`:"";if(this._columnWidthManager.isAutoResizingUpdateQueued)return`${e}overflow-x: auto;`;const{tableWidth:t}=this.widthsData;return this.tableNoData?`${e}overflow: unset;`:t?`${e}width: ${t}px;`:`${e}`}get computedScrollerXStyle(){let e="height: 100%;";return this.showStatusBar&&(e+="padding-bottom: 3rem;"),this._columnWidthManager.isAutoResizingUpdateQueued&&(e+="overflow-x: auto;"),"none"!==this.state.wrapTableHeader&&(e+=`padding-top: max(2rem, ${this._headerHeight}px);`),e}get computedCheckboxColumnHeaderId(){return`${this._datatableId}-check-column-header`}get computedAriaLiveClassForNavMode(){const e=this.state.keyboardMode===Gs;return E({"kdds-hide":!e,"kdds-assistive-text":e})}get computedAriaLiveClassForActionMode(){const e=this.state.keyboardMode===Zs;return E({"kdds-hide":!e,"kdds-assistive-text":e})}get ariaRowCount(){const{state:e}=this;return e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),e.rows.length+1}get hasValidKeyField(){return"string"==typeof this.state.keyField}get hasResizebleColumns(){return!this.widthsData.resizeColumnDisabled}get validRefs(){return this._hasRendered?this.refs:null}get renderedRows(){const{state:e}=this;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells();const{virtualize:t,rows:a,renderedRowCount:d}=e;if(t){const{firstIndex:t,lastIndex:d}=this._renderManager.getRenderedRange(e);return this._shouldResetFocus=!0,a.slice(t,d)}return e.enableViewportRendering?a.slice(0,d):a}get showSelectAllCheckbox(){return oo(this.state)}get showStatusBar(){return!this._suppressBottomBar&&(e=this.state,Z(e.inlineEdit.dirtyValues));var e}get tableError(){return this.state.errors.table}get i18n(){return Cn}get tableNoData(){return 0===this.renderedRows.length}constructor(){super(),this.state=mo(),this.widthsData={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0},this._actionsMinHeightStyle="",this._columnWidthManager=void 0,this._customerSelectedRows=null,this._datatableId=M("lgt-datatable"),this._draftValues=[],this._headerHeight=0,this._isResizing=!1,this._positionRelationship=void 0,this._privateTypes={},this._rawColumns=[],this._renderConfig=void 0,this._renderManager=void 0,this._renderMode="default",this._renderedTemplate=gd,this._shouldResetFocus=!1,this._suppressBottomBar=!1,this._widthObserver=void 0,this._hasSetInitialCustomTypes=!1,this._shouldResetCustomTypes=!1,this._recalculateHeaderHeight=!1,this._maxRowSelectionShouldFireEvent=!1,this._expandable=null,this._rangeSelection=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaDescribedBy=null,this.handleCellButtonClick=ks,this.handlePrivateDatatableEditCell=sn,this.handleHeaderActionMenuClosed=Os,this.handleHeaderActionMenuOpening=Bs,this.handleHeaderActionTriggered=Fs,this.handleKeydownOnCell=er,this.handleLoadDynamicActions=hs,this.handlePrimitiveDatatableCellClick=Cr,this.handlePrimitiveDatatableCellFocus=Ar,this.handlePrimitiveDatatableCellKeydown=Tr,this.handleRowSelectionChange=ws,this.handleRowActionTriggered=bs,this.handleTableKeydown=tr,this.handleTableFocusIn=Hr,this.handleMassCheckboxChange=nn,this.handleRowExpand=e=>{e.stopPropagation(),e.preventDefault();const{onExpand:t}=this._expandable,{detail:a={}}=e,{rowKeyValue:d,nextState:o}=a;t&&t(e),!o&&this.state.expandedRowKeys.has(d)?this.state.expandedRowKeys.delete(d):this.state.expandedRowKeys.add(d),this.updateRowsAndCells()},this._columnWidthManager=new us(this.widthsData),this._privateTypes=new Io(this.constructor.customTypes),this._hasSetInitialCustomTypes=!!this._privateTypes.privateCustomTypes.size,this._renderManager=new xn,re&&(this.getWrapperHeight=()=>{const e=zd(this.template,this.refs),t=this.state.hideTableHeader?0:parseFloat(getComputedStyle(e).paddingTop)||32;return e.offsetHeight-t}),An(this)}connectedCallback(){super.connectedCallback();const{_customerSelectedRows:e,state:t,template:a}=this;if(this.addEventListener("rowselection",e=>{this.handleRowSelectionChange(e)}),re&&(a.addEventListener("selectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("selectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("resizecol",e=>{this.handleResizeColumn(e)}),a.addEventListener("privateupdatecolsort",e=>{this.handleUpdateColumnSort(e)}),a.addEventListener("privatecellkeydown",e=>{this.handleKeydownOnCell(e)}),a.addEventListener("privatecellfocusedbyclick",e=>{this.handleCellFocusByClick(e)}),a.addEventListener("privatecellfalseblurred",e=>{this.handleFalseCellBlur(e)}),a.addEventListener("click",e=>{this.handlePrimitiveDatatableCellClick(e)}),a.addEventListener("focus",e=>{this.handlePrimitiveDatatableCellFocus(e)}),a.addEventListener("keydown",e=>{this.handlePrimitiveDatatableCellKeydown(e)}),a.addEventListener("privatecellactiontriggered",e=>{this.handleRowActionTriggered(e)}),a.addEventListener("privatecellactionmenuopening",e=>{this.handleLoadDynamicActions(e)}),a.addEventListener("privatecellbuttonclicked",e=>{this.handleCellButtonClick(e)}),a.addEventListener("privatecellheaderactionmenuopening",e=>{this.handleHeaderActionMenuOpening(e)}),a.addEventListener("privatecellheaderactionmenuclosed",e=>{this.handleHeaderActionMenuClosed(e)}),a.addEventListener("privatecellheaderactiontriggered",e=>{this.handleHeaderActionTriggered(e)}),a.addEventListener("privateopensortingmodal",e=>{this.handleOpenSortingModal(e)}),a.addEventListener("privateeditcell",e=>{this.handlePrivateDatatableEditCell(e)}),a.addEventListener("privaterowexpand",e=>{this.handleRowExpand(e)})),this.updateColumnsAndRows(),(t.enableViewportRendering||t.virtualize)&&(t.renderedRowCount=1),e){this.setSelectedRows(e);to(this.state)>0&&this._maxRowSelectionShouldFireEvent&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._maxRowSelectionShouldFireEvent=!1)}}render(){const e=this._columnWidthManager.isAutoResizingUpdateQueued;this._hasRendered||(this._hasRendered=!0);const t=this.state.renderModeRoleBased&&!e?Ut:gd;return t!==this._renderedTemplate&&(this._shouldResetCustomTypes=!this._privateTypes.privateCustomTypes.size,es(this),this._renderManager.disconnectResizeObserver(),this._renderedTemplate=t),t}renderedCallback(){const{_columnWidthManager:e,gridContainer:t,refs:a,state:d,template:o,widthsData:s}=this;if(!this._hasSetInitialCustomTypes&&(this.setCustomTypes(),this._hasSetInitialCustomTypes=!0,this._privateTypes.privateCustomTypes.size&&"auto"===s.columnWidthsMode))return;ee(t,{"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledBy,"aria-describedby":this.ariaDescribedBy});const{renderModeInline:r}=d;if(e.isResizingUpdateQueued){const{columns:t}=d,r=e.shouldFireResizeEvent(s,t);e.adjustColumnsSize(o,a,t,s),d.shouldResetHeights=!0,d.renderModeRoleBased&&Yo(d),r&&this.fireOnResize(!1),this._recalculateHeaderHeight=!0,this.updateTableAndScrollerStyleOnRender()}if(function(e){const t=Object.keys(Go),{length:a}=t;for(let d=0;d<a;d+=1)Jo(e,t[d])}(this),this._customerSelectedRows=null,d.cellToFocusNext=void 0,this._shouldResetFocus){this._shouldResetFocus=!1;const{activeCell:e}=d;if(e&&e.hasFocus&&!d.inlineEdit.isPanelVisible){const e=kr(o,d),t=fr(e);!r&&e&&t&&!t.classList.contains(_)&&$r(d,o,a,null,null,!1)}}const{hasRenderedFirstTime:n,hasRenderedTable:i}=d,l=!!d.virtualize,{length:c}=d.rows;d.hasRenderedFirstTime=!0,d.hasRenderedTable=!0;let u=!1;if(l||d.enableViewportRendering){const{_renderManager:e}=this;if(c&&l&&this.updateVirtualizedRowHeights(),!n){const t=a?.outerContainer||o.querySelector("div.dt-outer-container");e.connectResizeObserver(t)}e.hasWrapperHeight()||(u=!0)}requestAnimationFrame(()=>{if(u){const{_renderManager:e}=this;e.updateWrapperHeight(this.getWrapperHeight),d.renderedRowCount&&e.updateViewportRendering(d,t,!0)}this.updateHeaderHeight(),c&&r&&!i&&(this.updateCheckboxCellsAriaAttrs(),ae(o)&&(this.updateLookupCellsLinkInfo(),this.updateUrlCellsLinkInfo()))})}updateHeaderHeight(){if("none"!==this.state.wrapTableHeader&&this._recalculateHeaderHeight){const e=this.refs.headerRow?.children||[];let t=0;for(let a=0;a<e.length;a+=1){const d=e[a].firstChild.getDomHeight();d>t&&(t=d)}this._headerHeight=t+16,this._recalculateHeaderHeight=!1}else this._recalculateHeaderHeight&&(this._headerHeight=0,this._recalculateHeaderHeight=!1)}updateTableAndScrollerStyleOnRender(){const e=Id(this.template,this.refs),t=Rd(e);t&&(t.style=this.computedTableStyle),e&&(e.style=this.computedScrollerYStyle)}disconnectedCallback(){es(this),this._renderManager.disconnectResizeObserver()}handleTableCellMouseDown(e){const{rangeSelectedChange:t,suppressMultiRangeSelection:a}=this.rangeSelection||{};!a&&t&&Do({event:e,dt:this,rangeSelectedChange:t})}handleCustomTypesChange(){this._shouldResetCustomTypes?this.setCustomTypes():this._shouldResetCustomTypes=!0}handleKeydownOnDataRow(e){const{state:t}=this;if(t.keyboardMode===Gs&&t.rowMode){e.stopPropagation();const{currentTarget:t}=e;br(this,{target:t,detail:{keyCode:e.keyCode,keyEvent:e,rowExpanded:"true"===t.getAttribute("aria-expanded"),rowHasChildren:!!t.getAttribute("aria-expanded"),rowKeyValue:t.getAttribute("data-row-key-value"),rowLevel:t.getAttribute("aria-level")}})}}handleHorizontalScroll(e){Tn(this),ln.call(this,e)}handleVerticalScroll(e){Tn(this);const{state:t}=this;t.enableInfiniteLoading&&Hd.call(this,e),ln.call(this,e),t.virtualize?t.firstVisibleIndex=qs(this.state,e.target.scrollTop):t.enableViewportRendering&&this._renderManager.handleScroll(t,e)}handleTableCellClick(e){const{target:t}=e;if(X(t)){const e=t,{template:a,state:d}=this;d.hasReceivedFocus=!0;const{rowKeyValue:o}=e.parentElement.dataset,{colKeyValue:s}=e.dataset;if(d.rowMode||!pr(d,o,s)){const{activeCell:e}=d;e&&d.rowMode&&(Jr(d),Pr(d,e.rowIndex,-1)),this.setActiveCell(o,s)}Wr(d,a)||Or(d),Fr(d,a,this.refs,e)}}handleUpdateColumnSort(e){e.stopPropagation();const{fieldName:t,columnKey:a,sortDirection:d}=e.detail;this.fireSortedColumnChange(t,a,d)}handleOpenSortingModal(e){e.stopPropagation()}handleResizeColumn(e){e.stopPropagation();const{state:t}=this,{colIndex:a,widthDelta:d}=e.detail;0!==d&&(Ed(t.columns,this.widthsData,a,d),t.renderModeRoleBased&&Yo(t),this.fireOnResize(!0),this.fixHeaderForSafari(),this._recalculateHeaderHeight=!0)}handleResizeStart(e){e.stopPropagation(),this._isResizing=!0}handleResizeEnd(e){e.stopPropagation(),this._isResizing=!1,this.state.shouldResetHeights=!0}handleSelectionCellClick(e){this.handleCellFocusByClick(e);const{type:t}=e;"selectrow"===t?xs.call(this,e):"deselectrow"===t?_s.call(this,e):"selectallrows"===t?fs.call(this,e):"deselectallrows"===t&&ys.call(this,e)}handleCellFocusByClick(e){e.stopPropagation();const{state:t}=this;t.hasReceivedFocus=!0;const{rowKeyValue:a,colKeyValue:d,needsRefocusOnCellElement:o}=e.detail;if(!pr(t,a,d)){const{activeCell:e}=t;e&&t.rowMode&&(Jr(t),Pr(t,e.rowIndex,-1)),this.setActiveCell(a,d),function(e,t,a){if(a){const a=kr(t,e);a&&a.focus(),setTimeout(()=>{Or(e)},0)}else Wr(e,t)||Or(e)}(t,this.template,o)}const s=yr(e.target);Fr(t,this.template,this.refs,s)}handleFalseCellBlur(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,colKeyValue:d}=e.detail;pr(t,a,d)||this.setActiveCell(a,d),$r(t,this.template,this.refs)}handleTableFocusOut(e){Br.call(this,e);const{activeCell:t}=this.state;t&&(t.hasFocus=this._shouldResetFocus)}handleInlineEditFinish(e){Tn(this),rn.call(this,e)}handleInlineEditSave(e){e.stopPropagation(),e.preventDefault(),cn(this);const{draftValues:t}=this;this.dispatchEvent(new CustomEvent("save",{detail:{draftValues:t}}))}handleInlineEditCancel(e){e.stopPropagation(),e.preventDefault(),cn(this);const t=new CustomEvent("cancel",{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented||function(e){const{state:t,_privateTypes:a}=e;!function(e){e.errors={rows:{},table:{}}}(t),t.inlineEdit.dirtyValues={},e._draftValues=[],Po(t,a)}(this),dn(this.state)}handlePrivateLookupItemPicked(e){e.stopPropagation(),e.preventDefault();const{recordId:t}=e.detail,{rowIndex:a,rowKeyValue:d}=this.computeRowLookupItemPickedInformation(e.currentTarget);this.dispatchEvent(new CustomEvent(V.PrivateLookupItemPickedEvent.NAME,{composed:!0,cancelable:!0,bubbles:!0,detail:{recordId:t,rowIndex:a,rowKeyValue:d}}))}handleInlinedCheckboxClick(e){const{state:t}=this;e.stopPropagation();const{currentTarget:a}=e,{parentElement:d}=a,{parentElement:o}=d,{colKeyValue:s}=o.dataset,{rowKeyValue:r}=o.parentElement.dataset,n=Pd(t,r);this.fireInlinedCheckboxSelection(a,n.isSelected,{rowKeyValue:r,colKeyValue:s,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerClick(e){const{state:t}=this,{currentTarget:a}=e,{parentElement:d}=a,{rowKeyValue:o}=d.parentElement.dataset,s=Pd(t,o);if(s.isDisabled)return;e.preventDefault();const{colKeyValue:r}=d.dataset,{firstElementChild:n}=a;this.fireInlinedCheckboxSelection(n,s.isSelected,{rowKeyValue:o,colKeyValue:r,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerMouseDown(e){this.state.renderModeInline&&e.shiftKey&&e.preventDefault()}handleInlinedEditButtonClick(e){const{state:t}=this,a=t.renderModeInline?yr(e.target):void 0;if(a){t.hasReceivedFocus=!0;fr(a).dispatchEvent(new CustomEvent("privateeditcell",{bubbles:!0,composed:!0,detail:{rowKeyValue:a.parentElement.dataset.rowKeyValue,colKeyValue:a.dataset.colKeyValue}}))}}fireInlinedCheckboxSelection(e,t,a){const d=t?"deselectrow":"selectrow";e.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0,detail:a}))}fireSelectedRowsChange(e,t={}){re&&this.dispatchEvent(new CustomEvent("rowselection",{detail:{selectedRows:e,config:t}}))}fireSortedColumnChange(e,t,a){const d=new CustomEvent("sort",{detail:{fieldNames:[e],sortDirections:[a],isMultiColumnSort:!1,fieldName:e,columnKey:t,sortDirection:a}});this.dispatchEvent(d)}fireOnResize(e){this.dispatchEvent(new CustomEvent("resize",{detail:{columnWidths:Kd(this.state.columns,this.widthsData),isUserTriggered:!!e}}))}updateRows(){this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes()}updateRowsBeforeIndexes(){re&&Mr(this.state,this.template)}updateRowsAfterIndexes(){const{state:e,widthsData:t}=this;(e.enableViewportRendering||e.virtualize)&&this._renderManager.updateViewportRendering(e,this.gridContainer,!!e.virtualize),this._columnWidthManager.handleRowNumberOffsetChange(e,t),Er(e),function(e,t){let a=!1;const{keyField:d,selectedRowsKeys:o,maxRowSelection:s}=e,{length:r}=t;if(Object.keys(o).length!==r)a=!0,e.selectedRowsKeys=Is(t,d);else for(let s=0;s<r;s+=1)if(!o[t[s][d]]){a=!0,e.selectedRowsKeys=Is(t,d);break}if(a){const t=s||e.rows.length;oo(e)&&(r<t?Rs(e):Ts(e))}return $s(e),{ifChanged(e){a&&"function"==typeof e&&e(t)}}}(e,this.getSelectedRows()).ifChanged(()=>{this._rowSelectionEventPending||(this._rowSelectionEventPending=!0,Promise.resolve().then(()=>{this._rowSelectionEventPending&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._rowSelectionEventPending=!1)}))}),mr(e),e.keyboardMode===Gs&&(Ur(e),qr(e)),re&&e.activeCell&&e.cellToFocusNext&&$r(e,this.template,this.refs)}updateColumns(e){co({state:this.state,rawColumns:e,types:this._privateTypes,expandable:this._expandable}),this.isConnected&&(this.updateColumnsBeforeIndexes(),this.updateRowsAndCells(),this.updateColumnsAfterIndexes())}updateColumnsBeforeIndexes(){const{state:e}=this;re&&Mr(e,this.template),function(e){e.treeColumn?!1!==e.rowMode||e.hadTreeDataTypePreviously||(e.rowMode=!0):e.rowMode=!1}(e),mn(e,this._draftValues),function(e){const{columns:t}=e,{length:a}=t;for(let e=0;e<a;e+=1){const a=t[e];a.actions.internalActions=Ns(a)}}(e)}updateColumnsAfterIndexes(){const{state:e,widthsData:t}=this;$s(e),this._columnWidthManager.handleRowNumberOffsetChange(e,t),Dd(e.columns,t),Er(e),e.data.length>0&&e.columns.length!==t.columnWidths.length&&mr(e),e.keyboardMode===Gs&&(Ur(e),qr(e)),re&&e.activeCell&&e.cellToFocusNext&&$r(e,this.template,this.refs)}updateColumnsAndRows(){this.updateColumnsBeforeIndexes(this._rawColumns),this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes(),this.updateColumnsAfterIndexes()}updateRowsAndCells(){const{state:e}=this;e.hasRenderedTable=!1,Po(e,this._privateTypes,this._datatableId)}updateVirtualizedRowHeights(){const{state:e}=this,t=e.virtualize&&this.renderedRows.length;e.shouldResetHeights?(Ps(e),e.shouldResetHeights=!1):t&&Us(this.template,e,this.renderedRows,this.refs)}setSelectedRows(e){zs(this.state,e),this.handleRowSelectionChange()}setActiveCell(e,t){const{state:a,template:d}=this,o=Od(a,e,t);Vr(a,d),a.activeCell=o,function(e,t){e.activeCell.hasFocus=!0;const a=kr(t,e);a&&a.classList.add(_)}(a,d),jr(a,o.rowIndex,o.colIndex,0)}setCustomTypes(){const e=this.template.querySelector('slot[name="customdatatypes"]');if(e){const t=e.assignedNodes();if(t.length){let e=t[0];if($.ENABLE_TREE_GRID_CUSTOM_TYPES&&"SLOT"===e?.tagName){const t=e.assignedNodes();e=t.length?t[0]:{}}"function"==typeof e.getDataTypes&&(this._privateTypes=new Io(e.getDataTypes()),this.updateColumns(this._rawColumns),this._columnWidthManager.handleColumnsChange(this.state.columns,this.validRefs))}else this._shouldResetCustomTypes=!0}}getViewableRect(){const{refs:e,template:t}=this,a=Id(t,e).getBoundingClientRect(),d=zd(t,e).getBoundingClientRect();return{left:d.left,right:d.right,top:a.top,bottom:a.bottom}}fixHeaderForSafari(){if(te){const e=this.template.querySelector("thead");e&&(e.style.display="none",requestAnimationFrame(()=>{e.style.display=""}))}}computeRowLookupItemPickedInformation(e){const{dataset:t}=e,a=Number.parseInt(t.rowNumber,10)-1,{rowKeyValue:d}=t;return{rowIndex:a,rowKeyValue:d}}updateCheckboxCellsAriaAttrs(){const{computedCheckboxColumnHeaderId:e,state:t,template:a}=this,{checkboxCells:d}=t,{length:o}=d,s=o?a.querySelectorAll('[data-inline-type="primitive-cell-checkbox"]'):[];let r;for(let t=0,{length:a}=s;t<a;t+=1){const a=d[t],o=s[t],{firstElementChild:n}=o;if(void 0===r){const{lastElementChild:e}=o,{id:t}=e;r=t.slice(t.lastIndexOf("-"))}n.setAttribute("aria-labelledby",`${a.checkboxLabelId}${r} ${e}`)}}updateLookupCellsLinkInfo(){Tn(this);const{state:e,template:t}=this,{lookupCells:a}=e,{length:d}=a,o=d?t.querySelectorAll('[data-inline-type="formatted-lookup"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e],{value:s}=t;t._handleLookupAnchorClick=()=>{d.dispatchEvent(new wn({recordId:s}))},"enable"===d.getAttribute("data-navigation")&&d.removeAttribute("data-navigation"),s&&de(d,{stateType:"standard__recordPage",attributes:{recordId:s,actionName:"view"}}).then(e=>{const{dispatcher:a,url:o}=e,r=!(!a||!o);t.lookupIsNavigable=r,t.lookupLink=o,t._handleLookupAnchorClick=e=>{d.dispatchEvent(new wn({recordId:s})),a.call(d,e)},r?d.setAttribute("data-navigation","enable"):d.removeAttribute("data-navigation")})}}updateUrlCellsLinkInfo(){const{state:e,template:t}=this,{shownUrlCells:a}=e,{length:d}=a,o=d?t.querySelectorAll('[data-inline-type="formatted-url"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e];oe(d,{url:t.urlLink,target:t.urlTarget}).then(e=>{const{dispatcher:a,url:o}=e;t._handleUrlAnchorClick=e=>{a.call(d,e)},t.urlLink=o})}}}s(Rn,{publicProps:{ariaLabel:{config:0},ariaLabelledBy:{config:0},columnWidthsMode:{config:3},expandable:{config:3},rangeSelection:{config:3},columns:{config:3},data:{config:3},defaultSortDirection:{config:3},draftValues:{config:3},enableInfiniteLoading:{config:3},errors:{config:3},hideCheckboxColumn:{config:3},showActionsMenu:{config:3},hideTableHeader:{config:3},wrapTableHeader:{config:3},loading:{config:3},keyField:{config:3},loadMoreOffset:{config:3},maxColumnWidth:{config:3},maxRowSelection:{config:3},singleRowSelectionMode:{config:3},minColumnWidth:{config:3},renderConfig:{config:3},renderMode:{config:3},resizeColumnDisabled:{config:3},resizeStep:{config:3},rowNumberOffset:{config:3},selectedRows:{config:3},showRowNumberColumn:{config:3},sortedBy:{config:3},sortedDirection:{config:3},suppressBottomBar:{config:3},wrapTextMaxLines:{config:3}},publicMethods:["focus","getSelectedRows","openInlineEdit","scrollToTop"],track:{state:1,widthsData:1},fields:["_actionsMinHeightStyle","_columnWidthManager","_customerSelectedRows","_datatableId","_draftValues","_headerHeight","_isResizing","_positionRelationship","_privateTypes","_rawColumns","_renderConfig","_renderManager","_renderMode","_renderedTemplate","_shouldResetFocus","_suppressBottomBar","_widthObserver","_hasSetInitialCustomTypes","_shouldResetCustomTypes","_recalculateHeaderHeight","_maxRowSelectionShouldFireEvent","_expandable","_rangeSelection","ariaDescribedBy","handleCellButtonClick","handlePrivateDatatableEditCell","handleHeaderActionMenuClosed","handleHeaderActionMenuOpening","handleHeaderActionTriggered","handleKeydownOnCell","handleLoadDynamicActions","handlePrimitiveDatatableCellClick","handlePrimitiveDatatableCellFocus","handlePrimitiveDatatableCellKeydown","handleRowSelectionChange","handleRowActionTriggered","handleTableKeydown","handleTableFocusIn","handleMassCheckboxChange","handleRowExpand"]});const zn=d(Rn,{tmpl:r,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\datatable-",apiVersion:63});export{zn as default};