@wcardinal/wcardinal-ui 0.164.0 → 0.167.0

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 (106) hide show
  1. package/dist/types/wcardinal/ui/d-dialog-gesture-impl.d.ts +28 -0
  2. package/dist/types/wcardinal/ui/d-dialog-gesture-mode.d.ts +5 -0
  3. package/dist/types/wcardinal/ui/d-dialog-gesture.d.ts +29 -0
  4. package/dist/types/wcardinal/ui/d-dialog.d.ts +43 -10
  5. package/dist/types/wcardinal/ui/d-table-column.d.ts +2 -1
  6. package/dist/types/wcardinal/ui/index.d.ts +3 -0
  7. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-boolean.d.ts +2 -1
  8. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-date.d.ts +2 -1
  9. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-datetime.d.ts +2 -1
  10. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-integer.d.ts +2 -1
  11. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-real.d.ts +2 -1
  12. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-text.d.ts +2 -1
  13. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-time.d.ts +2 -1
  14. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog.d.ts +1 -1
  15. package/dist/types/wcardinal/ui/shape/e-shape.d.ts +3 -3
  16. package/dist/types/wcardinal/ui/shape/variant/e-shape-base.d.ts +4 -4
  17. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-editor.d.ts +0 -1
  18. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog.d.ts +12 -4
  19. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime-label.d.ts +2 -0
  20. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime-space.d.ts +2 -0
  21. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-time.d.ts +1 -0
  22. package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog.d.ts +12 -4
  23. package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-datetime-label.d.ts +2 -0
  24. package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-datetime-space.d.ts +2 -0
  25. package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-time.d.ts +1 -0
  26. package/dist/wcardinal/ui/d-chart-plot-area-container.js +1 -1
  27. package/dist/wcardinal/ui/d-chart-plot-area-container.js.map +1 -1
  28. package/dist/wcardinal/ui/d-dialog-gesture-impl.js +133 -0
  29. package/dist/wcardinal/ui/d-dialog-gesture-impl.js.map +1 -0
  30. package/dist/wcardinal/ui/d-dialog-gesture-mode.js +9 -0
  31. package/dist/wcardinal/ui/d-dialog-gesture-mode.js.map +1 -0
  32. package/dist/wcardinal/ui/d-dialog-gesture.js +6 -0
  33. package/dist/wcardinal/ui/d-dialog-gesture.js.map +1 -0
  34. package/dist/wcardinal/ui/d-dialog-input.js +7 -1
  35. package/dist/wcardinal/ui/d-dialog-input.js.map +1 -1
  36. package/dist/wcardinal/ui/d-dialog.js +196 -84
  37. package/dist/wcardinal/ui/d-dialog.js.map +1 -1
  38. package/dist/wcardinal/ui/d-image-base.js +3 -1
  39. package/dist/wcardinal/ui/d-image-base.js.map +1 -1
  40. package/dist/wcardinal/ui/d-picker-color.js +5 -2
  41. package/dist/wcardinal/ui/d-picker-color.js.map +1 -1
  42. package/dist/wcardinal/ui/d-scroll-bar-thumb.js +0 -1
  43. package/dist/wcardinal/ui/d-scroll-bar-thumb.js.map +1 -1
  44. package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +1 -1
  45. package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
  46. package/dist/wcardinal/ui/d-table-column.js.map +1 -1
  47. package/dist/wcardinal/ui/index.js +3 -0
  48. package/dist/wcardinal/ui/index.js.map +1 -1
  49. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-boolean.js +2 -2
  50. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-boolean.js.map +1 -1
  51. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-date.js +2 -2
  52. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-date.js.map +1 -1
  53. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-datetime.js +2 -2
  54. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-datetime.js.map +1 -1
  55. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-integer.js +2 -2
  56. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-integer.js.map +1 -1
  57. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-real.js +2 -2
  58. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-real.js.map +1 -1
  59. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-text.js +2 -2
  60. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-text.js.map +1 -1
  61. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-time.js +2 -2
  62. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-time.js.map +1 -1
  63. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog.js +1 -1
  64. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog.js.map +1 -1
  65. package/dist/wcardinal/ui/shape/e-shape.js.map +1 -1
  66. package/dist/wcardinal/ui/shape/variant/e-shape-base.js +7 -7
  67. package/dist/wcardinal/ui/shape/variant/e-shape-base.js.map +1 -1
  68. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js +2 -4
  69. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js.map +1 -1
  70. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog.js +42 -7
  71. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog.js.map +1 -1
  72. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color-gradient.js +1 -1
  73. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color-gradient.js.map +1 -1
  74. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js +1 -1
  75. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
  76. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime-label.js +4 -0
  77. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime-label.js.map +1 -1
  78. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime-space.js +4 -0
  79. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime-space.js.map +1 -1
  80. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-time.js +4 -1
  81. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-time.js.map +1 -1
  82. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog.js +42 -7
  83. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog.js.map +1 -1
  84. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color-gradient.js +1 -1
  85. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color-gradient.js.map +1 -1
  86. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js +1 -1
  87. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
  88. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime-label.js +4 -0
  89. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime-label.js.map +1 -1
  90. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime-space.js +4 -0
  91. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime-space.js.map +1 -1
  92. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-time.js +4 -1
  93. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-time.js.map +1 -1
  94. package/dist/wcardinal/ui/util/util-html-element.js +3 -1
  95. package/dist/wcardinal/ui/util/util-html-element.js.map +1 -1
  96. package/dist/wcardinal-ui-theme-dark.js +57 -11
  97. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  98. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  99. package/dist/wcardinal-ui-theme-white.js +57 -11
  100. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  101. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  102. package/dist/wcardinal-ui.cjs.js +4288 -3953
  103. package/dist/wcardinal-ui.js +19213 -18958
  104. package/dist/wcardinal-ui.min.js +2 -2
  105. package/dist/wcardinal-ui.min.js.map +1 -1
  106. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.164.0
2
+ Winter Cardinal UI v0.167.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
6
6
  Material Design icons by Google
7
7
  Apache license version 2.0.
8
8
  */
9
- !function(){"use strict";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(256,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var e=n.u[t];if(null!=e)return this.t[t]=new e;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),e=function(){n.setDefaultThemeClass(r)},u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,l=wcardinal.ui.DLayoutClearType,h=wcardinal.ui.DShadowImpl,a=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=4473924,n.ACTIVE_COLOR=16777215,n.BORDER_COLOR=15066597,n.BACKGROUND_COLOR=15921906,n.BACKGROUND_COLOR_ON_BOARD=16777215,n.HIGHLIGHT_COLOR=3381759,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=13421772,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=16755370,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=a.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),d=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),m=function(n,r,e){var u=2*r;t.add(n,u,u,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(e,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(u,'" height="').concat(u,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};m("shadow_weak",8,.15),m("shadow",12,.15),t.add("background",16,16,'<g><defs><radialGradient id="234sfdhjfpijsrnsedsd435jseflkm"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#234sfdhjfpijsrnsedsd435jseflkm)"/></g>');var D=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return l.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new h(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new h(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(d),T=function(){r.set("DBase",D)},p=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return o.BOTH},t}(D),g=function(){r.set("DBoard",p)};const W=wcardinal.ui.DAlignHorizontal,b=wcardinal.ui.DButtonBaseWhen,k=wcardinal.ui.DAlignVertical,w=wcardinal.ui.DAlignWith,I=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return k.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return I.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(D),y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return k.MIDDLE},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(x),C=function(n){function t(t,r,e){void 0===t&&(t=16777215),void 0===r&&(r=.017),void 0===e&&(e=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=a.darken(t,r),u.BACKGROUND_COLOR_PRESSED=a.darken(t,e),u.OUTLINE_COLOR=a.brighten(t,.75),u}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return b.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(y),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),S=function(){r.set("DButton",B)},M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(C),_=function(){r.set("DButtonAmbient",M)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var L=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}();t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return L.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return L.getImageSource(n)},t}(M),P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(E),A=function(){r.set("DButtonCheckRight",F)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var N=function(n){return"#".concat(a.toCode(n.color)," A").concat(n.alpha.toFixed(2))},R=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return N},r.prototype.newTextValue=function(){return{color:16777215,alpha:1}},r}(B);const z=wcardinal.ui.DDialogCloseOn,H=wcardinal.ui.DDialogMode,G=wcardinal.ui.DDialogState;var V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return H.MODAL},t.prototype.closeOn=function(){return z.ESC|z.CLICK_OUTSIDE},t.prototype.isSticky=function(){return!1},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getBackgroundColor=function(n){return n.is(G.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(G.MENU)?null:16448250},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getX=function(){return"center"},t.prototype.getY=function(){return"center"},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(D),O=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return"Cacnel"},t.prototype.getLayoutX=function(){return"padding"},t.prototype.getLayoutY=function(){return"padding"},t.prototype.getLayoutWidth=function(){return"padding"},t.prototype.getLayoutHeight=function(){return"auto"},t.prototype.getLayoutMargin=function(){},t}(V),j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),Y=function(n,t){for(var r="<g>",e=0;e<t;++e)for(var u=0;u<n;++u){var i=(u+e)%2==0?"#bfbfbf":"#a5a5a5";r+='<rect x="'.concat(9*u,'" y="').concat(9*e,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",234,156,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="156" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="234" height="156" fill="url(#2rfcfe9874bw)" /></g>'),t.add("picker_color_alpha_checkerboard",234,18,Y(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,Y(2,2)),t.add("picker_color_recent_null",18,18,'<g><rect x="1.2" y="1.2" width="15.6" height="15.6" stroke="#fff" stroke-width="0.8" fill="none" /><line x1="16.8" y1="1.2" x2="1.2" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /><line x1="1.2" y1="1.2" x2="16.8" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /></g>'),t.add("picker_color_sample_checkerboard",45,63,Y(5,7)),t.add("picker_color_sample_null",54,54,'<g><rect x="3.6" y="3.6" width="46.8" height="46.8" stroke="#fff" stroke-width="2.4" fill="none" /><line x1="50.4" y1="3.6" x2="3.6" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /><line x1="3.6" y1="3.6" x2="50.4" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /></g>'),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />');var X=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 156},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentNullTexture=function(){return t.mappings.picker_color_recent_null},r.prototype.getRecents=function(){return[]},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleNullTexture=function(){return t.mappings.picker_color_sample_null},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),K=function(){r.set("DPickerColor",X)},J=function(){r.set("DDialogColor",j),K()},U=function(){r.set("DButtonColor",R),J()};const q=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Q=function(){return""},Z=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return Q},r.prototype.newTextValue=function(){return new q},r.prototype.getCheckerColors=function(){return[.75,.65]},r}(B),$=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),nn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.75,.65]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),tn=function(){r.set("DPickerColorGradient",nn),K()},rn=function(){r.set("DDialogColorGradient",$),tn()},en=function(){r.set("DButtonColorGradient",Z),rn()},un=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(C),on=function(){r.set("DButtonDanger",un)};const cn=wcardinal.ui.DPickerDates;var fn=function(n){return cn.format(n)},ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return fn},t.prototype.newTextValue=function(){return new Date},t}(B),hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O);const an=wcardinal.ui.DPickerDatetimeMask;var sn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t.prototype.getMask=function(){return an.HOURS|an.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(D),dn=["January","February","March","April","May","June","July","August","September","October","November","December"],mn=["Su","Mo","Tu","We","Th","Fr","Sa"],Dn=function(n){return"".concat(dn[n.getMonth()]," ").concat(n.getFullYear())},Tn=function(){},pn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return mn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return Dn},t.prototype.getDateDecorator=function(){return Tn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return an.DATE|n.prototype.getMask.call(this)},t}(sn),gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return an.DATE},t}(pn);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var Wn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(M);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var kn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t}(wn),vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(wn),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),yn=function(){r.set("DPickerTime",sn)},Cn=function(){r.set("DPickerDatetimeButtonBack",Wn),r.set("DPickerDatetimeButtonDate",bn),r.set("DPickerDatetimeButtonNext",kn),r.set("DPickerDatetimeLabelDate",vn),r.set("DPickerDatetimeLabel",In),r.set("DPickerDatetimeSpace",xn),r.set("DPickerDatetime",pn),yn()},Bn=function(){r.set("DPickerDate",gn),Cn()},Sn=function(){r.set("DDialogDate",hn),Bn()},Mn=function(){r.set("DButtonDate",ln),Sn()};const _n=wcardinal.ui.DPickerDatetimes;var Ln=function(n,t){return _n.format(n,t.getDatetimeMask())},En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ln},t.prototype.newTextValue=function(){return new Date},t}(B),Pn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),Fn=function(){r.set("DDialogDatetime",Pn),Cn()},An=function(){r.set("DButtonDatetime",En),Fn()},Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),Rn=function(){r.set("DButtonFile",Nn)},zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),Hn=function(){r.set("DButtonLink",zn)},Gn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(C),Vn=function(){r.set("DButtonPrimary",Gn)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var On=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(M),jn=function(){r.set("DButtonRadio",On)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(On),Xn=function(){r.set("DButtonRadioRight",Yn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),Jn=function(){r.set("DButtonSecondary",Kn)};const Un=wcardinal.ui.toLabel;var qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Un},t.prototype.newTextValue=function(){return null},t}(B),Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(O);const Zn=wcardinal.ui.UtilGestureMode;var $n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return Zn.TOUCH},t}(D),nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}($n),tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(nt),rt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=a.blend(n,0,.0175),this.m=1,this.D=a.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.T=1,this.p=r?s.HIGHLIGHT_COLOR:a.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.g=1,this.W=a.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=s.INVALID_COLOR,this.T=s.INVALID_ALPHA,this.p=s.HIGHLIGHT_COLOR,this.g=r?1:s.HIGHLIGHT_ALPHA,this.W=s.WEAK_HIGHLIGHT_COLOR,this.k=s.WEAK_HIGHLIGHT_ALPHA),this.I=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.C=s.COLOR,this.B=s.ACTIVE_COLOR):(this.C=s.COLOR,this.B=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.D:n.isActive?this.p:n.isHovered?this.W:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.m:this.l:0:n.isInvalid?this.T:n.isActive?this.g:n.isHovered?this.k:this.i?n.isAlternated?this.m:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return c.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.C},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.I:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),et=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new rt(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(y),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new rt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(et),it=function(){r.set("DDialogSelect",Qn),r.set("DDialogSelectList",tt),r.set("DDialogSelectListItem",ut)};const ot=wcardinal.ui.DPickerTimes;var ct=function(n,t){return ot.format(n,t.getDatetimeMask())},ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ct},t.prototype.newTextValue=function(){return new Date},t}(B),lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),ht=function(){r.set("DDialogTime",lt),yn()},at=function(){r.set("DButtonTime",ft),ht()},st=function(){_(),A(),P(),en(),U(),r.set("DButtonSelect",qn),it(),on(),Mn(),An(),Rn(),Hn(),Vn(),Xn(),jn(),Jn(),at(),S()},dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(D),mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getCornerMask=function(){return f.ALL},t}(D),Dt=function(){r.set("DCanvasContainer",mt),r.set("DCanvas",dt)},Tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const pt=wcardinal.ui.DChartAxisPosition,gt=wcardinal.ui.DChartAxisTickPosition,Wt=wcardinal.ui.EShapeTextAlignHorizontal,bt=wcardinal.ui.EShapeTextAlignVertical,kt=wcardinal.ui.EShapeTextDirection;var wt=function(){function n(){}return n.prototype.getPosition=function(){return pt.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case pt.TOP:case pt.BOTTOM:return Wt.CENTER;case pt.LEFT:return Wt.OUTSIDE_LEFT;case pt.RIGHT:return Wt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case pt.TOP:return bt.OUTSIDE_TOP;case pt.BOTTOM:return bt.OUTSIDE_BOTTOM;case pt.LEFT:case pt.RIGHT:return bt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return kt.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return gt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case pt.TOP:case pt.BOTTOM:return Wt.CENTER;case pt.LEFT:return Wt.OUTSIDE_LEFT;case pt.RIGHT:return Wt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case pt.TOP:return bt.OUTSIDE_TOP;case pt.BOTTOM:return bt.OUTSIDE_BOTTOM;case pt.LEFT:case pt.RIGHT:return bt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return kt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%fsi"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return gt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),It=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(wt),vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms.%mi"},t}(It),xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return pt.LEFT},t.prototype.getLabelDirection=function(){return kt.BOTTOM_TO_TOP},t}(wt),yt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),Ct=function(){function n(){}return n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),Bt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const Et=wcardinal.ui.EShapeBar,Pt=wcardinal.ui.EShapeBarPosition;var Ft=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new Et;return t.points.position=Pt.TOP,t.stroke.alpha=.5,t},n}(),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ft),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new Et;return t.points.position=Pt.LEFT,t.stroke.alpha=.5,t},t}(Ft);const Rt=wcardinal.ui.EShapeCircle;var zt=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new Rt;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(mt),Gt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ht),Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t}(dt),Ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Vt);const jt=wcardinal.ui.EShapeStrokeSide,Yt=wcardinal.ui.EShapeStrokeStyle;var Xt=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 5197647},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return jt.ALL},n.prototype.getStrokeStyle=function(){return Yt.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getCursor=function(){return""},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Kt=function(){r.set("EShape",Xt)},Jt=function(){r.set("DDiagram",Gt),r.set("DDiagramCanvas",Ot),Kt()},Ut=function(n,t,r){var e=Math.max(t,r);if(0<n){for(var u=e/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return e},qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){return 1.25},t.prototype.getSnapGridMajorStyle=function(){return Yt.DASHED|Yt.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Ut},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Vt),Qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(Ht);const Zt=wcardinal.ui.EShapeActionValueBlinkType,$t=wcardinal.ui.EShapeActionValueChangeColorTarget,nr=wcardinal.ui.EShapeActionValueChangeColorType,tr=wcardinal.ui.EShapeActionValueChangeTextType,rr=wcardinal.ui.EShapeActionValueMiscType,er=wcardinal.ui.EShapeActionValueOnInputAction,ur=wcardinal.ui.EShapeActionValueOpenType,ir=wcardinal.ui.EShapeActionValueOpetyped,or=wcardinal.ui.EShapeActionValueShowHideType,cr=wcardinal.ui.EShapeActionValueSubtyped,fr=wcardinal.ui.EShapeActionValueTransformMoveType,lr=wcardinal.ui.EShapeActionValueTransformResizeType,hr=wcardinal.ui.EShapeActionValueTransformRotateType,ar=wcardinal.ui.EShapeActionValueTransformType,sr=wcardinal.ui.EShapeActionValueType,dr=wcardinal.ui.UtilHtmlElementWhen;var mr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof cr){var r,e=n.subtype;if(n instanceof ir){if(null!=(r=this.toOpetypedLabel(t,e,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,e,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var e=this.toTypeLabel(n);switch(n){case sr.SHOW_HIDE:return"".concat(this.toShowHideTypeLabel(t));case sr.BLINK:return"".concat(e,": ").concat(this.toBlinkTypeLabel(t));case sr.CHANGE_COLOR:case sr.CHANGE_COLOR_LEGACY:return"".concat(e,": ").concat(this.toChangeColorTypeLabel(t));case sr.MISC:return"".concat(e,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,e){switch(n){case sr.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case ar.ROTATE:return"".concat(u,": ").concat(this.toTransformRotateTypeLabel(r));case ar.MOVE:return"".concat(u,": ").concat(this.toTransformMoveTypeLabel(r));case ar.RESIZE:return"".concat(u,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case sr.SHOW_HIDE:return"Show / hide";case sr.BLINK:return"Blink";case sr.TRANSFORM:return"Transform";case sr.OPEN:return"Open";case sr.CHANGE_COLOR:case sr.CHANGE_COLOR_LEGACY:return"Change color";case sr.CHANGE_TEXT:return"Change text";case sr.CHANGE_CURSOR:return"Change cursor";case sr.EMIT_EVENT:return"Emit an event";case sr.MISC:return"Misc."}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case Zt.VISIBILITY:return"Visibility";case Zt.BRIGHTEN:return"Brighten";case Zt.DARKEN:return"Darken";case Zt.OPACITY:return"Opacity";case Zt.COLOR_FILL:return"Fill";case Zt.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case or.SHOW:return"Show";case or.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case ar.RESIZE:return"Resize";case ar.MOVE:return"Move";case ar.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case hr.RELATIVE:return"Relative";case hr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case fr.RELATIVE_X:return"Relative X";case fr.RELATIVE_Y:return"Relative Y";case fr.ABSOLUTE_X:return"Absolute X";case fr.ABSOLUTE_Y:return"Absolute Y";case fr.FORWARD_OR_BACKWARD:return"Forward / backward";case fr.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case lr.ABSOLUTE_SIZE:return"Height & width";case lr.RELATIVE_SIZE:return"Height & width (%)";case lr.ABSOLUTE_HEIGHT:return"Height";case lr.RELATIVE_HEIGHT:return"Height (%)";case lr.ABSOLUTE_WIDTH:return"Width";case lr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===nr.NONE)return"None";var t="",r="";return n&nr.FILL&&(t+=r+"Fill",r=", "),n&nr.STROKE&&(t+=r+"Stroke",r=", "),n&nr.TEXT&&(t+=r+"Text",r=", "),n&nr.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case $t.COLOR_AND_ALPHA:return"Color";case $t.COLOR:return"RGB";case $t.ALPHA:return"Alpha";case $t.CODE:return"Dynamic color";case $t.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case tr.TEXT:return"Text";case tr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case ur.DIAGRAM:return"Diagram";case ur.PAGE:return"Page (New window)";case ur.PAGE_INPLACE:return"Page (In-place)";case ur.DIALOG_TEXT:return"Dialog (Text)";case ur.DIALOG_INTEGER:return"Dialog (Integer)";case ur.DIALOG_REAL:return"Dialog (Real)";case ur.DIALOG_BOOLEAN:return"Dialog (Boolean)";case ur.DIALOG_DATE:return"Dialog (Date)";case ur.DIALOG_TIME:return"Dialog (Time)";case ur.DIALOG_DATETIME:return"Dialog (Datetime)"}},n.prototype.toMiscTypeLabel=function(n){switch(n){case rr.INPUT_TEXT:return"Input (Text)";case rr.INPUT_INTEGER:return"Input (Integer)";case rr.INPUT_REAL:return"Input (Real)";case rr.EMIT_EVENT:return this.toOnInputActionLabel(er.EMIT_EVENT);case rr.WRITE_BOTH:return this.toOnInputActionLabel(er.WRITE_BOTH);case rr.WRITE_LOCAL:return this.toOnInputActionLabel(er.WRITE_LOCAL);case rr.WRITE_REMOTE:return this.toOnInputActionLabel(er.WRITE_REMOTE);case rr.HTML_ELEMENT:return"HTML element";case rr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case rr.LAYER_SHOW_HIDE:return"Show / hide layers";case rr.LAYER_GESTURE:return"Layer gesture";case rr.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case dr.CLICKED:return"Clicked";case dr.DOUBLE_CLICKED:return"Double clicked";case dr.FOCUSED:return"Focused";case dr.ALWAYS:return"Always"}},n.prototype.toOnInputActionLabel=function(n){switch(n){case er.EMIT_EVENT:return"Emit event";case er.WRITE_BOTH:return"Write (Both)";case er.WRITE_LOCAL:return"Write (Local)";case er.WRITE_REMOTE:return"Write (Remote)"}},n}(),Dr=function(){r.set("EShapeActionValue",mr)},Tr=function(){r.set("DDiagramEditor",Qt),r.set("DDiagramCanvasEditor",qt),Dr(),Kt()},pr=function(){r.set("DDialog",V)},gr=function(){r.set("DDialogCommand",O)},Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Yes"},t.prototype.getCancel=function(){return"No"},t.prototype.getMessage=function(){return""},t}(O),br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(br),wr=function(){r.set("DDialogConfirm",Wr),r.set("DDialogConfirmMessage",kr)},Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(Wr),vr=function(){r.set("DDialogConfirmDelete",Ir)},xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(Wr),yr=function(){r.set("DDialogConfirmDiscard",xr)},Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getMarginVertical=function(){return 0},t.prototype.getMarginHorizontal=function(){return 32},t}(O),Br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Cr),Sr=function(){r.set("DDialogInputBoolean",Br)},Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Cr),_r=function(){r.set("DDialogInputInteger",Mr)},Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Cr),Er=function(){r.set("DDialogInputReal",Lr)},Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Cr),Fr=function(){r.set("DDialogInputText",Pr)},Ar=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t}(Wr),Nr=function(){r.set("DDialogMessage",Ar)},Rr=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t.prototype.getMessage=function(){return Rr},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Wr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>'),t.add("fail_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Hr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:n.isFailed?t.mappings.fail_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(kr),Gr=function(){r.set("DDialogProcessing",zr),r.set("DDialogProcessingMessage",Hr)},Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Pr),Or=function(){r.set("DDialogSaveAs",Vr)},jr=function(){rn(),J(),gr(),vr(),yr(),wr(),Sn(),Fn(),Sr(),_r(),Er(),Fr(),Nr(),Gr(),Or(),it(),ht(),pr()};const Yr=wcardinal.ui.DLayoutDirection;var Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Yr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(D),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Yr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Xr),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return f.ALL},t}(Kr);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?16316664:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return f.ALL},t}(br),qr=function(){r.set("DExpandableHeader",Ur),r.set("DExpandable",Jr)};const Qr=wcardinal.ui.DHtmlElementState;var Zr=function(){return null},$r=function(n){var t=document.createElement("div");return n.appendChild(t),t},ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Zr},t.prototype.setElementStyle=function(n,t,r,e,u,i){var o=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,e,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t);n.setAttribute("style",o),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(Qr.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,e=n.y-t.y;return"left:".concat(r,"px; top:").concat(e,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,e){return"position: absolute;"+this.getElementStylePositionPosition(t,e)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getClipperCreator=function(){return $r},t.prototype.setClipperStyle=function(n,t,r,e,u,i){var o="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",o)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.getBeforeCreator=function(){return $r},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return $r},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return dr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(y),te=function(){r.set("DImage",br)},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Yr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Xr),ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(re),ue=function(){r.set("DInputAndLabel",ee)},ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(re),oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(B),ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(B),fe=function(){r.set("DInputBoolean",ie),r.set("DInputBooleanButtonOn",ce),r.set("DInputBooleanButtonOff",oe)},le=function(){return null},he=function(n){return n},ae=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:s.BORDER_COLOR},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return he},t.prototype.getEditingValidator=function(){return le},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}(ne),se="d-theme-white-input-input",de="".concat(se,"-element"),me=function(n){var t=n.getElementsByClassName(de);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",de),n.appendChild(r),r},De=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},Te="".concat(se,"-clipper"),pe=function(n){return De(n,Te)},ge="".concat(se,"-before"),We=function(n){return De(n,ge)},be="".concat(se,"-after"),ke=function(n){return De(n,be)},we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return me},t.prototype.getClipperCreator=function(){return pe},t.prototype.getBeforeCreator=function(){return We},t.prototype.getAfterCreator=function(){return ke},t}(ae),Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(we),ve=function(n){var t=parseInt(n,10);return t==t?t:0},xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return ve},t}(Ie),ye=function(){r.set("DInputInteger",xe)},Ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(wn),Be=function(){r.set("DInputLabel",Ce)},Se=function(n){var t=parseFloat(n);return t==t?t:0},Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Se},t}(Ie),_e=function(){r.set("DInputReal",Me)},Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(we);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Ee=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Le),Pe=function(){r.set("DInputSearch",Ee)},Fe=function(){r.set("DInputText",Le)},Ae="d-theme-white-input-text-area",Ne="".concat(Ae,"-element"),Re=function(n){var t=n.getElementsByClassName(Ne);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Ne),n.appendChild(r),r},ze=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},He="".concat(Ae,"-clipper"),Ge=function(n){return ze(n,He)},Ve="".concat(Ae,"-before"),Oe=function(n){return ze(n,Ve)},je="".concat(Ae,"-after"),Ye=function(n){return ze(n,je)},Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return k.TOP},t.prototype.getTextStyleWordWrap=function(){return I.NORMAL},t.prototype.getElementCreator=function(){return Re},t.prototype.getClipperCreator=function(){return Ge},t.prototype.getBeforeCreator=function(){return Oe},t.prototype.getAfterCreator=function(){return Ye},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case I.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(ae),Ke=function(){r.set("DInputTextArea",Xe)},Je=function(){ue(),fe(),ye(),Be(),_e(),Pe(),Ke(),Fe()},Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return l.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),qe=function(){r.set("DLayout",Xr),r.set("DLayoutHorizontal",re),r.set("DLayoutSpace",Ue),r.set("DLayoutVertical",Kr)};const Qe=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var Ze=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Qe.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Qe.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenInNewWindow()}},{value:Qe.COPY_LINK_ADDRESS,text:{value:this.getOpenCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenInNewWindow=function(){return"Open in new window"},n.prototype.getOpenCopyLinkAddress=function(){return"Copy link address"},n}(),$e=function(){r.set("DLink",Ze)},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new rt(null,!1,!0)},t}(et),tu=function(){r.set("DListItemAmbient",nu),r.set("DListItem",et),r.set("DList",nt)},ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Kr),eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?s.COLOR:n.isActive?this.getColorActive(n):s.COLOR},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(br),uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(eu),iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(uu);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var ou=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(iu),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Kr),fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Kr),lu=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();lu.init();var hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?lu.getImageOpened():lu.getImageClosed()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(eu),au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(ou);const su=wcardinal.ui.DBaseState;var du=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(su.NEW_WINDOW)?this.M.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r}(iu),mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(du);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var Du=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(uu),Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Du),pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(eu),gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(pu),Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ue),bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Wu),ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(iu),wu=function(){r.set("DMenu",ru),r.set("DMenuItem",uu),r.set("DMenuItemCheck",ou),r.set("DMenuItemLink",du),r.set("DMenuItemMenu",Du),r.set("DMenuItemSeparator",pu),r.set("DMenuItemSpace",Wu),r.set("DMenuItemText",iu),r.set("DMenuItemExpandableBody",fu),r.set("DMenuItemExpandableHeader",hu),r.set("DMenuItemExpandableItemCheck",au),r.set("DMenuItemExpandableItemLink",mu),r.set("DMenuItemExpandableItemMenu",Tu),r.set("DMenuItemExpandableItemSeparator",gu),r.set("DMenuItemExpandableItemSpace",bu),r.set("DMenuItemExpandableItemText",ku),r.set("DMenuItemExpandable",cu)},Iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16645629},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(re),vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(B),xu=function(){r.set("DMenuBarItem",vu),r.set("DMenuBar",Iu),wu()},yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}($n),Cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Kr),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ou),Su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(cu),Mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(au),_u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(mu),Lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Tu),Eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(gu),Pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(bu),Fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ku),Au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(du),Nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Du),Ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(pu),zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Wu),Hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(iu),Gu=function(){r.set("DMenuSided",yu),r.set("DMenuSidedContent",Cu),r.set("DMenuSidedItemCheck",Bu),r.set("DMenuSidedItemLink",Au),r.set("DMenuSidedItemMenu",Nu),r.set("DMenuSidedItemSeparator",Ru),r.set("DMenuSidedItemSpace",zu),r.set("DMenuSidedItemText",Hu),r.set("DMenuSidedItemExpandable",Su),r.set("DMenuSidedItemExpandableItemCheck",Mu),r.set("DMenuSidedItemExpandableItemLink",_u),r.set("DMenuSidedItemExpandableItemMenu",Lu),r.set("DMenuSidedItemExpandableItemSeparator",Eu),r.set("DMenuSidedItemExpandableItemSpace",Pu),r.set("DMenuSidedItemExpandableItemText",Fu)},Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return k.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Vu),ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Vu),Yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Vu),Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(Vu),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Xu),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Xu),Uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Xu),qu=function(){r.set("DNote",Vu),r.set("DNoteError",Ou),r.set("DNoteNoItemsFound",ju),r.set("DNoteSearching",Yu),r.set("DNoteSmallError",Ku),r.set("DNoteSmallNoItemsFound",Ju),r.set("DNoteSmallSearching",Uu)},Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(re);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="15" r="1.1" fill="#fff" stroke="none" /></g>');var Zu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r}(y);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var $u=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(M);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var ni=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(M),ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(M);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var ri=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(M);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var ei=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(M),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t}(y),ii=function(){r.set("DPagination",Qu),r.set("DPaginationPage",ui),r.set("DPaginationDots",Zu),r.set("DPaginationButtonLast",$u),r.set("DPaginationButtonNext",ni),r.set("DPaginationButtonPage",ti),r.set("DPaginationButtonPrevious",ri),r.set("DPaginationButtonTop",ei)},oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(D),fi=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=a.darken(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),li=function(){r.set("DScrollBar",ci),r.set("DScrollBarThumb",fi)},hi=function(){r.set("DPane",$n),r.set("DContent",oi),li()};const ai=wcardinal.ui.isString;t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var si=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(C),di=function(n){if(n){var t=n.text;if(ai(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return di},t.prototype.newTextValue=function(){return null},t}(si),Di=function(n){if(n){for(var t="",r="",e=0,u=n.length;e<u;++e){var i=n[e],o=i.text;if(ai(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Di},t.prototype.newTextValue=function(){return[]},t}(si),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(si),gi=function(){r.set("DDropdown",pi)},Wi=function(){r.set("DSelectMultiple",Ti),r.set("DSelect",mi),gi()},bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(D),ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(bi),wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return k.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),Ii=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=a.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=a.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=a.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR_ON_BOARD,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var vi=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return Ii.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return W.CENTER},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)+2},r}(B),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ii.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(B),yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(xi),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(xi),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"AUTO"},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?11184810:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return k.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(bi),Mi=function(){r.set("DSlider",bi),r.set("DSliderValue",Bi),r.set("DSliderLabel",wi),r.set("DSliderThumb",vi),r.set("DSliderVertical",Si),r.set("DSliderHorizontal",ki),r.set("DSliderTrack",xi),r.set("DSliderTrackVertical",Ci),r.set("DSliderTrackHorizontal",yi)},_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}($n),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return f.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D);const Ei=wcardinal.ui.DTableState;var Pi=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(Ei.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(Ei.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return n.is(Ei.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(Ei.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=a.darken(t.BACKGROUND_COLOR,.01),n.BACKGROUND_COLOR_FROZEN_ODD=a.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.01),n.BORDER_COLOR=a.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.035),n}(),Fi=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return Pi.getImageTintColor(n,!0)},n}(),Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);Fi.init();var Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Fi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Fi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Ai);Fi.init();var Ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Fi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Fi.getImageSource(n)},t}(pi),zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);Fi.init();var Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Fi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Fi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(zi),Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getImageTintColor=function(n){return Pi.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(y),Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Gi),Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Pi.getImageTintColor(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t}(E),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t}(R),Yi=function(n){return cn.format(n)},Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getTextFormatter=function(){return Yi},t.prototype.newTextValue=function(){return new Date},t}(B),Ki=function(n,t){return _n.format(n,t.getDatetimeMask())},Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getTextFormatter=function(){return Ki},t.prototype.newTextValue=function(){return new Date},t}(B),Ui=function(n){return String(Number(n)+1)},qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Ui},t.prototype.newTextValue=function(){return 0},t}(y),Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t}(xe),Zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t}(Me),$i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t}(Le),no=function(){function n(){}return n.init=function(){lu.init()},n.getImageSource=function(n){return n.is(Ei.HAS_CHILDREN)?n.is(Ei.OPENED)?lu.getImageOpened():lu.getImageClosed():null},n}();no.init();var to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(D),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Le),eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageSource=function(n){return no.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(C),uo=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return Pi.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this.M.getImageSource(n)},r}(Vi),io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(mi),oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Ti),co=function(n,t){return ot.format(n,t.getDatetimeMask())},fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Pi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Pi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Pi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Pi.getBorderMask(n)},t.prototype.getColor=function(n){return Pi.getColor(n)},t.prototype.getAlpha=function(n){return Pi.getAlpha(n)},t.prototype.getHeight=function(){return Pi.getHeight()},t.prototype.getCornerMask=function(){return Pi.getCornerMask()},t.prototype.getTextFormatter=function(){return co},t.prototype.newTextValue=function(){return new Date},t}(B);no.init();var lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return no.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Vi),ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(re),ao=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(ho),so=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(ho),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(so);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var Do=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t.BACKGROUND_COLOR_PRESSED=a.darken(t.BACKGROUND_COLOR,.034),t.BACKGROUND_COLOR_FROZEN=a.darken(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.055),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(Ei.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(Ei.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(Ei.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(Ei.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return W.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getSecondaryImageTintColor=function(t){return t.is(Ei.CHECKABLE)?L.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(Ei.CHECKABLE)?L.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return k.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(Ei.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(Ei.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return w.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(Ei.CHECKABLE)||n.is(Ei.SORTABLE))?"pointer":""},r}(br),To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Do),po=function(){r.set("DTableBodyCellActionDialog",Ni),r.set("DTableBodyCellActionMenu",Ri),r.set("DTableBodyCellActionPromise",Hi),r.set("DTableBodyCellButton",Vi),r.set("DTableBodyCellCheck",Oi),r.set("DTableBodyCellColor",ji),r.set("DTableBodyCellDate",Xi),r.set("DTableBodyCellDatetime",Ji),r.set("DTableBodyCellIndex",qi),r.set("DTableBodyCellInputInteger",Qi),r.set("DTableBodyCellInputReal",Zi),r.set("DTableBodyCellInputText",$i),r.set("DTableBodyCellInputTreeMarker",eo),r.set("DTableBodyCellInputTreeInput",ro),r.set("DTableBodyCellInputTree",to),r.set("DTableBodyCellLink",uo),r.set("DTableBodyCellSelectDialog",Ai),r.set("DTableBodyCellSelectMenu",io),r.set("DTableBodyCellSelectMultiple",oo),r.set("DTableBodyCellSelectPromise",zi),r.set("DTableBodyCellText",Gi),r.set("DTableBodyCellTree",lo),r.set("DTableBodyCellTime",fo),r.set("DTableBodyRow",ao),r.set("DTableBody",Li),r.set("DTableCategoryCell",To),r.set("DTableCategory",mo),r.set("DTableHeaderCell",Do),r.set("DTableHeader",so),r.set("DTableRow",ho),r.set("DTable",_i),P(),U(),Mn(),An(),ye(),_e(),Fe(),it(),wu()},go=function(){r.set("DText",wn)};no.init();var Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return no.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(rt),bo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new Wo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}($n),ko=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new Wo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(y),wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ko);no.init();var Io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return this.S.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.S.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.S.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.S.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.S.getSecondaryImageMarginHorizontal()},t}(wo),vo=function(){r.set("DTree",bo),r.set("DTreeItemText",ko),r.set("DTreeItemButton",wo),r.set("DTreeItemNonEditable",Io)};const xo=wcardinal.ui.UtilGestureModifier;var yo=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return xo.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return xo.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return xo.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return Zn.ON},n.prototype.getGestureModifier=function(){return xo.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),Co=function(){e(),T(),g(),st(),r.set("DView",yo),Dt(),r.set("DChart",Tt),r.set("DChartAxisX",It),r.set("DChartAxisXDatetime",vt),r.set("DChartAxisY",xt),r.set("DChartCoordinate",yt),r.set("DChartCoordinateTick",Ct),r.set("DChartCoordinateTransform",Bt),r.set("DChartLegend",St),r.set("DChartLegendItem",Mt),r.set("DChartOverview",_t),r.set("DChartPlotArea",Lt),r.set("DChartSelectionGridlineX",At),r.set("DChartSelectionGridlineY",Nt),r.set("DChartSelectionMarker",zt),Tr(),Jt(),jr(),qr(),r.set("DHtmlElement",ne),te(),Je(),qe(),$e(),tu(),vo(),xu(),Gu(),wu(),qu(),hi(),ii(),tn(),K(),Bn(),Cn(),yn(),Wi(),po(),go(),Mi()},Bo={__proto__:null,loadThemeWhiteAll:Co,loadThemeWhiteBase:T,loadThemeWhiteBoard:g,loadThemeWhiteButtonAll:st,loadThemeWhiteButtonAmbient:_,loadThemeWhiteButtonCheckRight:A,loadThemeWhiteButtonCheck:P,loadThemeWhiteButtonColorGradient:en,loadThemeWhiteButtonColor:U,loadThemeWhiteButtonDanger:on,loadThemeWhiteButtonDate:Mn,loadThemeWhiteButtonDatetime:An,loadThemeWhiteButtonFile:Rn,loadThemeWhiteButtonLink:Hn,loadThemeWhiteButtonPrimary:Vn,loadThemeWhiteButtonRadioRight:Xn,loadThemeWhiteButtonRadio:jn,loadThemeWhiteButtonSecondary:Jn,loadThemeWhiteButtonTime:at,loadThemeWhiteButton:S,loadThemeWhiteCanvasContainer:Dt,loadThemeWhiteDiagramEditor:Tr,loadThemeWhiteDiagram:Jt,loadThemeWhiteDialogAll:jr,loadThemeWhiteDialogColorGradient:rn,loadThemeWhiteDialogColor:J,loadThemeWhiteDialogCommand:gr,loadThemeWhiteDialogConfirmDelete:vr,loadThemeWhiteDialogConfirmDiscard:yr,loadThemeWhiteDialogConfirm:wr,loadThemeWhiteDialogDate:Sn,loadThemeWhiteDialogDatetime:Fn,loadThemeWhiteDialogInputBoolean:Sr,loadThemeWhiteDialogInputInteger:_r,loadThemeWhiteDialogInputReal:Er,loadThemeWhiteDialogInputText:Fr,loadThemeWhiteDialogMessage:Nr,loadThemeWhiteDialogProcessing:Gr,loadThemeWhiteDialogSaveAs:Or,loadThemeWhiteDialogSelect:it,loadThemeWhiteDialogTime:ht,loadThemeWhiteDialog:pr,loadThemeWhiteDropdown:gi,loadThemeWhiteExpandable:qr,loadThemeWhiteImage:te,loadThemeWhiteInputAll:Je,loadThemeWhiteInputAndLabel:ue,loadThemeWhiteInputBoolean:fe,loadThemeWhiteInputInteger:ye,loadThemeWhiteInputLabel:Be,loadThemeWhiteInputReal:_e,loadThemeWhiteInputSearch:Pe,loadThemeWhiteInputTextArea:Ke,loadThemeWhiteInputText:Fe,loadThemeWhiteLayout:qe,loadThemeWhiteLink:$e,loadThemeWhiteList:tu,loadThemeWhiteTree:vo,loadThemeWhiteMenuBar:xu,loadThemeWhiteMenuSided:Gu,loadThemeWhiteMenu:wu,loadThemeWhiteNote:qu,loadThemeWhitePane:hi,loadThemeWhitePagination:ii,loadThemeWhitePickerColorGradient:tn,loadThemeWhitePickerColor:K,loadThemeWhitePickerDate:Bn,loadThemeWhitePickerDatetime:Cn,loadThemeWhitePickerTime:yn,loadThemeWhiteScrollBar:li,loadThemeWhiteSelect:Wi,loadThemeWhiteShapeActionValue:Dr,loadThemeWhiteShape:Kt,loadThemeWhiteSlider:Mi,loadThemeWhiteTable:po,loadThemeWhiteText:go,loadThemeWhite:e,DThemeWhiteAtlas:t,DThemeWhiteBase:D,DThemeWhiteBoard:p,DThemeWhiteButtonAmbient:M,DThemeWhiteButtonBase:C,DThemeWhiteButtonCheck:E,DThemeWhiteButtonCheckRight:F,DThemeWhiteButtonChecks:L,DThemeWhiteButtonColorGradient:Z,DThemeWhiteButtonColor:R,DThemeWhiteButtonDanger:un,DThemeWhiteButtonDate:ln,DThemeWhiteButtonDatetime:En,DThemeWhiteButtonFile:Nn,DThemeWhiteButtonLink:zn,DThemeWhiteButtonPrimary:Gn,DThemeWhiteButtonRadioRight:Yn,DThemeWhiteButtonRadio:On,DThemeWhiteButtonSecondary:Kn,DThemeWhiteButtonTime:ft,DThemeWhiteButton:B,DThemeWhiteCanvasContainer:mt,DThemeWhiteCanvas:dt,DThemeWhiteChartAxisBase:wt,DThemeWhiteChartAxisXDatetime:vt,DThemeWhiteChartAxisX:It,DThemeWhiteChartAxisY:xt,DThemeWhiteChartCoordinateTick:Ct,DThemeWhiteChartCoordinateTransform:Bt,DThemeWhiteChartCoordinate:yt,DThemeWhiteChartLegendItem:Mt,DThemeWhiteChartLegend:St,DThemeWhiteChartOverview:_t,DThemeWhiteChartPlotArea:Lt,DThemeWhiteChart:Tt,DThemeWhiteContent:oi,DThemeWhiteDiagramBase:Ht,DThemeWhiteDiagramCanvasBase:Vt,DThemeWhiteDiagramCanvasEditor:qt,DThemeWhiteDiagramCanvas:Ot,DThemeWhiteDiagramEditor:Qt,DThemeWhiteDiagram:Gt,DThemeWhiteDialogColorGradient:$,DThemeWhiteDialogColor:j,DThemeWhiteDialogCommand:O,DThemeWhiteDialogConfirmDelete:Ir,DThemeWhiteDialogConfirmDiscard:xr,DThemeWhiteDialogConfirmMessage:kr,DThemeWhiteDialogConfirm:Wr,DThemeWhiteDialogDate:hn,DThemeWhiteDialogDatetime:Pn,DThemeWhiteDialogInputBoolean:Br,DThemeWhiteDialogInputInteger:Mr,DThemeWhiteDialogInputReal:Lr,DThemeWhiteDialogInputText:Pr,DThemeWhiteDialogInput:Cr,DThemeWhiteDialogMessage:Ar,DThemeWhiteDialogProcessingMessage:Hr,DThemeWhiteDialogProcessing:zr,DThemeWhiteDialogSaveAs:Vr,DThemeWhiteDialogSelectListItem:ut,DThemeWhiteDialogSelectList:tt,DThemeWhiteDialogSelect:Qn,DThemeWhiteDialogTime:lt,DThemeWhiteDialog:V,DThemeWhiteDropdown:pi,DThemeWhiteExpandableHeader:Ur,DThemeWhiteExpandable:Jr,DThemeWhiteFont:d,DThemeWhiteHtmlElement:ne,DThemeWhiteImageBase:y,DThemeWhiteImage:br,DThemeWhiteInputAndLabel:ee,DThemeWhiteInputBooleanButtonOff:oe,DThemeWhiteInputBooleanButtonOn:ce,DThemeWhiteInputBoolean:ie,DThemeWhiteInputInput:we,DThemeWhiteInputInteger:xe,DThemeWhiteInputLabel:Ce,DThemeWhiteInputNumber:Ie,DThemeWhiteInputReal:Me,DThemeWhiteInputSearch:Ee,DThemeWhiteInputTextArea:Xe,DThemeWhiteInputText:Le,DThemeWhiteInput:ae,DThemeWhiteLayoutHorizontal:re,DThemeWhiteLayoutSpace:Ue,DThemeWhiteLayoutVertical:Kr,DThemeWhiteLayout:Xr,DThemeWhiteLink:Ze,DThemeWhiteListItemAmbient:nu,DThemeWhiteListItem:et,DThemeWhiteListItems:rt,DThemeWhiteList:nt,DThemeWhiteMenuBarItem:vu,DThemeWhiteMenuBar:Iu,DThemeWhiteMenuItemBase:eu,DThemeWhiteMenuItemCheck:ou,DThemeWhiteMenuItemExpandableBody:fu,DThemeWhiteMenuItemExpandableHeader:hu,DThemeWhiteMenuItemExpandableItemCheck:au,DThemeWhiteMenuItemExpandableItemLink:mu,DThemeWhiteMenuItemExpandableItemMenu:Tu,DThemeWhiteMenuItemExpandableItemSeparator:gu,DThemeWhiteMenuItemExpandableItemSpace:bu,DThemeWhiteMenuItemExpandableItemText:ku,DThemeWhiteMenuItemExpandable:cu,DThemeWhiteMenuItemLink:du,DThemeWhiteMenuItemMenu:Du,DThemeWhiteMenuItemSeparator:pu,DThemeWhiteMenuItemSpace:Wu,DThemeWhiteMenuItemText:iu,DThemeWhiteMenuItem:uu,DThemeWhiteMenuSidedContent:Cu,DThemeWhiteMenuSidedItemCheck:Bu,DThemeWhiteMenuSidedItemExpandableItemCheck:Mu,DThemeWhiteMenuSidedItemExpandableItemLink:_u,DThemeWhiteMenuSidedItemExpandableItemMenu:Lu,DThemeWhiteMenuSidedItemExpandableItemSeparator:Eu,DThemeWhiteMenuSidedItemExpandableItemSpace:Pu,DThemeWhiteMenuSidedItemExpandableItemText:Fu,DThemeWhiteMenuSidedItemExpandable:Su,DThemeWhiteMenuSidedItemLink:Au,DThemeWhiteMenuSidedItemMenu:Nu,DThemeWhiteMenuSidedItemSeparator:Ru,DThemeWhiteMenuSidedItemSpace:zu,DThemeWhiteMenuSidedItemText:Hu,DThemeWhiteMenuSided:yu,DThemeWhiteMenu:ru,DThemeWhiteNoteError:Ou,DThemeWhiteNoteNoItemsFound:ju,DThemeWhiteNoteSearching:Yu,DThemeWhiteNoteSmallError:Ku,DThemeWhiteNoteSmallNoItemsFound:Ju,DThemeWhiteNoteSmallSearching:Uu,DThemeWhiteNoteSmall:Xu,DThemeWhiteNote:Vu,DThemeWhitePaginationButtonLast:$u,DThemeWhitePaginationButtonNext:ni,DThemeWhitePaginationButtonPage:ti,DThemeWhitePaginationButtonPrevious:ri,DThemeWhitePaginationButtonTop:ei,DThemeWhitePaginationDots:Zu,DThemeWhitePaginationPage:ui,DThemeWhitePagination:Qu,DThemeWhitePane:$n,DThemeWhitePickerColorGradient:nn,DThemeWhitePickerColor:X,DThemeWhitePickerDate:gn,DThemeWhitePickerDatetimeButtonBack:Wn,DThemeWhitePickerDatetimeButtonDate:bn,DThemeWhitePickerDatetimeButtonNext:kn,DThemeWhitePickerDatetimeLabelDate:vn,DThemeWhitePickerDatetimeLabel:In,DThemeWhitePickerDatetimeSpace:xn,DThemeWhitePickerDatetime:pn,DThemeWhitePickerTime:sn,DThemeWhiteScrollBarThumb:fi,DThemeWhiteScrollBar:ci,DThemeWhiteSelectMultiple:Ti,DThemeWhiteSelect:mi,DThemeWhiteSlider:bi,DThemeWhiteSliderHorizontal:ki,DThemeWhiteSliderLabel:wi,DThemeWhiteSliderThumb:vi,DThemeWhiteSliderTrack:xi,DThemeWhiteSliderTrackHorizontal:yi,DThemeWhiteSliderTrackVertical:Ci,DThemeWhiteSliderValue:Bi,DThemeWhiteSliderVertical:Si,DThemeWhiteTableBodyCellButton:Vi,DThemeWhiteTableBodyCellCheck:Oi,DThemeWhiteTableBodyCellColor:ji,DThemeWhiteTableBodyCellDate:Xi,DThemeWhiteTableBodyCellDatetime:Ji,DThemeWhiteTableBodyCellIndex:qi,DThemeWhiteTableBodyCellInputInteger:Qi,DThemeWhiteTableBodyCellInputReal:Zi,DThemeWhiteTableBodyCellInputText:$i,DThemeWhiteTableBodyCellLink:uo,DThemeWhiteTableBodyCellSelectDialog:Ai,DThemeWhiteTableBodyCellSelectMenu:io,DThemeWhiteTableBodyCellSelectPromise:zi,DThemeWhiteTableBodyCellText:Gi,DThemeWhiteTableBodyCellTime:fo,DThemeWhiteTableBodyCells:Pi,DThemeWhiteTableBodyRow:ao,DThemeWhiteTableBody:Li,DThemeWhiteTableCategoryCell:To,DThemeWhiteTableCategory:mo,DThemeWhiteTableHeaderCell:Do,DThemeWhiteTableHeader:so,DThemeWhiteTableRow:ho,DThemeWhiteTable:_i,DThemeWhiteTextBase:x,DThemeWhiteText:wn,DThemeWhiteTreeItemButton:wo,DThemeWhiteTreeItemNonEditable:Io,DThemeWhiteTreeItemText:ko,DThemeWhiteTreeItems:Wo,DThemeWhiteTree:bo,DThemeWhiteView:yo,DThemeWhite:r,EThemeWhiteShapeActionValue:mr,EThemeWhiteShape:Xt};Co();var So=window;So.wcardinal=So.wcardinal||{};var Mo=So.wcardinal.ui=So.wcardinal.ui||{},_o=Bo;for(var Lo in _o)Mo[Lo]=_o[Lo]}();
9
+ !function(){"use strict";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(256,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var e=n.u[t];if(null!=e)return this.t[t]=new e;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),e=function(){n.setDefaultThemeClass(r)},u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,l=wcardinal.ui.DLayoutClearType,h=wcardinal.ui.DShadowImpl,a=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=4473924,n.ACTIVE_COLOR=16777215,n.BORDER_COLOR=15066597,n.BACKGROUND_COLOR=15921906,n.BACKGROUND_COLOR_ON_BOARD=16777215,n.HIGHLIGHT_COLOR=3381759,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=13421772,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=16755370,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=a.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),d=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),m=function(n,r,e){var u=2*r;t.add(n,u,u,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(e,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(u,'" height="').concat(u,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};m("shadow_weak",8,.15),m("shadow",12,.15),t.add("background",16,16,'<g><defs><radialGradient id="234sfdhjfpijsrnsedsd435jseflkm"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#234sfdhjfpijsrnsedsd435jseflkm)"/></g>');var D=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return l.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new h(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new h(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(d),T=function(){r.set("DBase",D)},p=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return o.BOTH},t}(D),g=function(){r.set("DBoard",p)};const W=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,I=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return I.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(D),y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return k.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(x),C=function(n){function t(t,r,e){void 0===t&&(t=16777215),void 0===r&&(r=.017),void 0===e&&(e=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=a.darken(t,r),u.BACKGROUND_COLOR_PRESSED=a.darken(t,e),u.OUTLINE_COLOR=a.brighten(t,.75),u}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return w.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(y),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),S=function(){r.set("DButton",B)},M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(C),_=function(){r.set("DButtonAmbient",M)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var L=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}();t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return L.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return L.getImageSource(n)},t}(M),P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(E),A=function(){r.set("DButtonCheckRight",F)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var N=function(n){return"#".concat(a.toCode(n.color)," A").concat(n.alpha.toFixed(2))},R=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return N},r.prototype.newTextValue=function(){return{color:16777215,alpha:1}},r}(B);const z=wcardinal.ui.DAnimationFadeIn,H=wcardinal.ui.DDialogAlign,G=wcardinal.ui.DDialogCloseOn,V=wcardinal.ui.DDialogGestureMode,O=wcardinal.ui.DDialogMode,j=wcardinal.ui.DDialogState;var Y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return O.MODAL},t.prototype.closeOn=function(n){switch(n){case O.MODAL:case O.MENU:return G.ESC|G.CLICK_OUTSIDE;case O.MODELESS:return G.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case O.MODAL:case O.MODELESS:return!0;case O.MENU:return!1}},t.prototype.getGestureMode=function(n){return V.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return H.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case O.MODAL:return new z;case O.MODELESS:case O.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(j.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(j.MENU)?null:16448250},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(D),X=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return"Cacnel"},t.prototype.getLayoutX=function(){return"padding"},t.prototype.getLayoutY=function(){return"padding"},t.prototype.getLayoutWidth=function(){return"padding"},t.prototype.getLayoutHeight=function(){return"auto"},t.prototype.getLayoutMargin=function(){},t}(Y),K=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(X),J=function(n,t){for(var r="<g>",e=0;e<t;++e)for(var u=0;u<n;++u){var i=(u+e)%2==0?"#bfbfbf":"#a5a5a5";r+='<rect x="'.concat(9*u,'" y="').concat(9*e,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",234,156,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="156" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="234" height="156" fill="url(#2rfcfe9874bw)" /></g>'),t.add("picker_color_alpha_checkerboard",234,18,J(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,J(2,2)),t.add("picker_color_recent_null",18,18,'<g><rect x="1.2" y="1.2" width="15.6" height="15.6" stroke="#fff" stroke-width="0.8" fill="none" /><line x1="16.8" y1="1.2" x2="1.2" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /><line x1="1.2" y1="1.2" x2="16.8" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /></g>'),t.add("picker_color_sample_checkerboard",45,63,J(5,7)),t.add("picker_color_sample_null",54,54,'<g><rect x="3.6" y="3.6" width="46.8" height="46.8" stroke="#fff" stroke-width="2.4" fill="none" /><line x1="50.4" y1="3.6" x2="3.6" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /><line x1="3.6" y1="3.6" x2="50.4" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /></g>'),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />');var U=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 156},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentNullTexture=function(){return t.mappings.picker_color_recent_null},r.prototype.getRecents=function(){return[]},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleNullTexture=function(){return t.mappings.picker_color_sample_null},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),q=function(){r.set("DPickerColor",U)},Q=function(){r.set("DDialogColor",K),q()},Z=function(){r.set("DButtonColor",R),Q()};const $=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var nn=function(){return""},tn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return nn},r.prototype.newTextValue=function(){return new $},r.prototype.getCheckerColors=function(){return[.75,.65]},r}(B),rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(X),en=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.75,.65]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),un=function(){r.set("DPickerColorGradient",en),q()},on=function(){r.set("DDialogColorGradient",rn),un()},cn=function(){r.set("DButtonColorGradient",tn),on()},fn=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(C),ln=function(){r.set("DButtonDanger",fn)};const hn=wcardinal.ui.DPickerDates;var an=function(n){return hn.format(n)},sn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return an},t.prototype.newTextValue=function(){return new Date},t}(B),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(X);const mn=wcardinal.ui.DPickerDatetimeMask;var Dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t.prototype.getMask=function(){return mn.HOURS|mn.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(D),Tn=["January","February","March","April","May","June","July","August","September","October","November","December"],pn=["Su","Mo","Tu","We","Th","Fr","Sa"],gn=function(n){return"".concat(Tn[n.getMonth()]," ").concat(n.getFullYear())},Wn=function(){},wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return pn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return gn},t.prototype.getDateDecorator=function(){return Wn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return mn.DATE|n.prototype.getMask.call(this)},t}(Dn),bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return mn.DATE},t}(wn);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var kn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(M);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var vn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return o.NONE},t}(xn),Cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(xn),Bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return o.NONE},t}(D),Sn=function(){r.set("DPickerTime",Dn)},Mn=function(){r.set("DPickerDatetimeButtonBack",kn),r.set("DPickerDatetimeButtonDate",In),r.set("DPickerDatetimeButtonNext",vn),r.set("DPickerDatetimeLabelDate",Cn),r.set("DPickerDatetimeLabel",yn),r.set("DPickerDatetimeSpace",Bn),r.set("DPickerDatetime",wn),Sn()},_n=function(){r.set("DPickerDate",bn),Mn()},Ln=function(){r.set("DDialogDate",dn),_n()},En=function(){r.set("DButtonDate",sn),Ln()};const Pn=wcardinal.ui.DPickerDatetimes;var Fn=function(n,t){return Pn.format(n,t.getDatetimeMask())},An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Fn},t.prototype.newTextValue=function(){return new Date},t}(B),Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(X),Rn=function(){r.set("DDialogDatetime",Nn),Mn()},zn=function(){r.set("DButtonDatetime",An),Rn()},Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),Gn=function(){r.set("DButtonFile",Hn)},Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),On=function(){r.set("DButtonLink",Vn)},jn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(C),Yn=function(){r.set("DButtonPrimary",jn)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Xn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(M),Kn=function(){r.set("DButtonRadio",Xn)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(Xn),Un=function(){r.set("DButtonRadioRight",Jn)},qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),Qn=function(){r.set("DButtonSecondary",qn)};const Zn=wcardinal.ui.toLabel;var $n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Zn},t.prototype.newTextValue=function(){return null},t}(B),nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(X);const tt=wcardinal.ui.UtilGestureMode;var rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return tt.TOUCH},t}(D),et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(rt),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(et),it=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=a.blend(n,0,.0175),this.m=1,this.D=a.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.T=1,this.p=r?s.HIGHLIGHT_COLOR:a.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.g=1,this.W=a.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=s.INVALID_COLOR,this.T=s.INVALID_ALPHA,this.p=s.HIGHLIGHT_COLOR,this.g=r?1:s.HIGHLIGHT_ALPHA,this.W=s.WEAK_HIGHLIGHT_COLOR,this.k=s.WEAK_HIGHLIGHT_ALPHA),this.I=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.C=s.COLOR,this.B=s.ACTIVE_COLOR):(this.C=s.COLOR,this.B=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.D:n.isActive?this.p:n.isHovered?this.W:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.m:this.l:0:n.isInvalid?this.T:n.isActive?this.g:n.isHovered?this.k:this.i?n.isAlternated?this.m:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return c.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.C},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.I:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),ot=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new it(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(y),ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new it(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(ot),ft=function(){r.set("DDialogSelect",nt),r.set("DDialogSelectList",ut),r.set("DDialogSelectListItem",ct)};const lt=wcardinal.ui.DPickerTimes;var ht=function(n,t){return lt.format(n,t.getDatetimeMask())},at=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ht},t.prototype.newTextValue=function(){return new Date},t}(B),st=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(X),dt=function(){r.set("DDialogTime",st),Sn()},mt=function(){r.set("DButtonTime",at),dt()},Dt=function(){_(),A(),P(),cn(),Z(),r.set("DButtonSelect",$n),ft(),ln(),En(),zn(),Gn(),On(),Yn(),Un(),Kn(),Qn(),mt(),S()},Tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(D),pt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getCornerMask=function(){return f.ALL},t}(D),gt=function(){r.set("DCanvasContainer",pt),r.set("DCanvas",Tt)},Wt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const wt=wcardinal.ui.DChartAxisPosition,bt=wcardinal.ui.DChartAxisTickPosition,kt=wcardinal.ui.EShapeTextAlignHorizontal,It=wcardinal.ui.EShapeTextAlignVertical,vt=wcardinal.ui.EShapeTextDirection;var xt=function(){function n(){}return n.prototype.getPosition=function(){return wt.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case wt.TOP:case wt.BOTTOM:return kt.CENTER;case wt.LEFT:return kt.OUTSIDE_LEFT;case wt.RIGHT:return kt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case wt.TOP:return It.OUTSIDE_TOP;case wt.BOTTOM:return It.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return It.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return vt.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return bt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case wt.TOP:case wt.BOTTOM:return kt.CENTER;case wt.LEFT:return kt.OUTSIDE_LEFT;case wt.RIGHT:return kt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case wt.TOP:return It.OUTSIDE_TOP;case wt.BOTTOM:return It.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return It.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return vt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%fsi"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return bt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),yt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xt),Ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms.%mi"},t}(yt),Bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return wt.LEFT},t.prototype.getLabelDirection=function(){return vt.BOTTOM_TO_TOP},t}(xt),St=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),Mt=function(){function n(){}return n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),_t=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Pt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const At=wcardinal.ui.EShapeBar,Nt=wcardinal.ui.EShapeBarPosition;var Rt=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new At;return t.points.position=Nt.TOP,t.stroke.alpha=.5,t},n}(),zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Rt),Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new At;return t.points.position=Nt.LEFT,t.stroke.alpha=.5,t},t}(Rt);const Gt=wcardinal.ui.EShapeCircle;var Vt=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new Gt;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),Ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(pt),jt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ot),Yt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t}(Tt),Xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Yt);const Kt=wcardinal.ui.EShapeStrokeSide,Jt=wcardinal.ui.EShapeStrokeStyle;var Ut=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 5197647},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Kt.ALL},n.prototype.getStrokeStyle=function(){return Jt.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getCursor=function(){return""},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),qt=function(){r.set("EShape",Ut)},Qt=function(){r.set("DDiagram",jt),r.set("DDiagramCanvas",Xt),qt()},Zt=function(n,t,r){var e=Math.max(t,r);if(0<n){for(var u=e/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return e},$t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){return 1.25},t.prototype.getSnapGridMajorStyle=function(){return Jt.DASHED|Jt.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Zt},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Yt),nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(Ot);const tr=wcardinal.ui.EShapeActionValueBlinkType,rr=wcardinal.ui.EShapeActionValueChangeColorTarget,er=wcardinal.ui.EShapeActionValueChangeColorType,ur=wcardinal.ui.EShapeActionValueChangeTextType,ir=wcardinal.ui.EShapeActionValueMiscType,or=wcardinal.ui.EShapeActionValueOnInputAction,cr=wcardinal.ui.EShapeActionValueOpenType,fr=wcardinal.ui.EShapeActionValueOpetyped,lr=wcardinal.ui.EShapeActionValueShowHideType,hr=wcardinal.ui.EShapeActionValueSubtyped,ar=wcardinal.ui.EShapeActionValueTransformMoveType,sr=wcardinal.ui.EShapeActionValueTransformResizeType,dr=wcardinal.ui.EShapeActionValueTransformRotateType,mr=wcardinal.ui.EShapeActionValueTransformType,Dr=wcardinal.ui.EShapeActionValueType,Tr=wcardinal.ui.UtilHtmlElementWhen;var pr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof hr){var r,e=n.subtype;if(n instanceof fr){if(null!=(r=this.toOpetypedLabel(t,e,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,e,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var e=this.toTypeLabel(n);switch(n){case Dr.SHOW_HIDE:return"".concat(this.toShowHideTypeLabel(t));case Dr.BLINK:return"".concat(e,": ").concat(this.toBlinkTypeLabel(t));case Dr.CHANGE_COLOR:case Dr.CHANGE_COLOR_LEGACY:return"".concat(e,": ").concat(this.toChangeColorTypeLabel(t));case Dr.MISC:return"".concat(e,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,e){switch(n){case Dr.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case mr.ROTATE:return"".concat(u,": ").concat(this.toTransformRotateTypeLabel(r));case mr.MOVE:return"".concat(u,": ").concat(this.toTransformMoveTypeLabel(r));case mr.RESIZE:return"".concat(u,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Dr.SHOW_HIDE:return"Show / hide";case Dr.BLINK:return"Blink";case Dr.TRANSFORM:return"Transform";case Dr.OPEN:return"Open";case Dr.CHANGE_COLOR:case Dr.CHANGE_COLOR_LEGACY:return"Change color";case Dr.CHANGE_TEXT:return"Change text";case Dr.CHANGE_CURSOR:return"Change cursor";case Dr.EMIT_EVENT:return"Emit an event";case Dr.MISC:return"Misc."}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case tr.VISIBILITY:return"Visibility";case tr.BRIGHTEN:return"Brighten";case tr.DARKEN:return"Darken";case tr.OPACITY:return"Opacity";case tr.COLOR_FILL:return"Fill";case tr.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case lr.SHOW:return"Show";case lr.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case mr.RESIZE:return"Resize";case mr.MOVE:return"Move";case mr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case dr.RELATIVE:return"Relative";case dr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case ar.RELATIVE_X:return"Relative X";case ar.RELATIVE_Y:return"Relative Y";case ar.ABSOLUTE_X:return"Absolute X";case ar.ABSOLUTE_Y:return"Absolute Y";case ar.FORWARD_OR_BACKWARD:return"Forward / backward";case ar.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case sr.ABSOLUTE_SIZE:return"Height & width";case sr.RELATIVE_SIZE:return"Height & width (%)";case sr.ABSOLUTE_HEIGHT:return"Height";case sr.RELATIVE_HEIGHT:return"Height (%)";case sr.ABSOLUTE_WIDTH:return"Width";case sr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===er.NONE)return"None";var t="",r="";return n&er.FILL&&(t+=r+"Fill",r=", "),n&er.STROKE&&(t+=r+"Stroke",r=", "),n&er.TEXT&&(t+=r+"Text",r=", "),n&er.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case rr.COLOR_AND_ALPHA:return"Color";case rr.COLOR:return"RGB";case rr.ALPHA:return"Alpha";case rr.CODE:return"Dynamic color";case rr.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case ur.TEXT:return"Text";case ur.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case cr.DIAGRAM:return"Diagram";case cr.PAGE:return"Page (New window)";case cr.PAGE_INPLACE:return"Page (In-place)";case cr.DIALOG_TEXT:return"Dialog (Text)";case cr.DIALOG_INTEGER:return"Dialog (Integer)";case cr.DIALOG_REAL:return"Dialog (Real)";case cr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case cr.DIALOG_DATE:return"Dialog (Date)";case cr.DIALOG_TIME:return"Dialog (Time)";case cr.DIALOG_DATETIME:return"Dialog (Datetime)"}},n.prototype.toMiscTypeLabel=function(n){switch(n){case ir.INPUT_TEXT:return"Input (Text)";case ir.INPUT_INTEGER:return"Input (Integer)";case ir.INPUT_REAL:return"Input (Real)";case ir.EMIT_EVENT:return this.toOnInputActionLabel(or.EMIT_EVENT);case ir.WRITE_BOTH:return this.toOnInputActionLabel(or.WRITE_BOTH);case ir.WRITE_LOCAL:return this.toOnInputActionLabel(or.WRITE_LOCAL);case ir.WRITE_REMOTE:return this.toOnInputActionLabel(or.WRITE_REMOTE);case ir.HTML_ELEMENT:return"HTML element";case ir.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case ir.LAYER_SHOW_HIDE:return"Show / hide layers";case ir.LAYER_GESTURE:return"Layer gesture";case ir.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case Tr.CLICKED:return"Clicked";case Tr.DOUBLE_CLICKED:return"Double clicked";case Tr.FOCUSED:return"Focused";case Tr.ALWAYS:return"Always"}},n.prototype.toOnInputActionLabel=function(n){switch(n){case or.EMIT_EVENT:return"Emit event";case or.WRITE_BOTH:return"Write (Both)";case or.WRITE_LOCAL:return"Write (Local)";case or.WRITE_REMOTE:return"Write (Remote)"}},n}(),gr=function(){r.set("EShapeActionValue",pr)},Wr=function(){r.set("DDiagramEditor",nr),r.set("DDiagramCanvasEditor",$t),gr(),qt()},wr=function(){r.set("DDialog",Y)},br=function(){r.set("DDialogCommand",X)},kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Yes"},t.prototype.getCancel=function(){return"No"},t.prototype.getMessage=function(){return""},t}(X),Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ir),xr=function(){r.set("DDialogConfirm",kr),r.set("DDialogConfirmMessage",vr)},yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(kr),Cr=function(){r.set("DDialogConfirmDelete",yr)},Br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(kr),Sr=function(){r.set("DDialogConfirmDiscard",Br)},Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getMarginVertical=function(){return 0},t.prototype.getMarginHorizontal=function(){return 32},t}(X),_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Mr),Lr=function(){r.set("DDialogInputBoolean",_r)},Er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Mr),Pr=function(){r.set("DDialogInputInteger",Er)},Fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Mr),Ar=function(){r.set("DDialogInputReal",Fr)},Nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Mr),Rr=function(){r.set("DDialogInputText",Nr)},zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t}(kr),Hr=function(){r.set("DDialogMessage",zr)},Gr=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t.prototype.getMessage=function(){return Gr},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(kr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>'),t.add("fail_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Or=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:n.isFailed?t.mappings.fail_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(vr),jr=function(){r.set("DDialogProcessing",Vr),r.set("DDialogProcessingMessage",Or)},Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Nr),Xr=function(){r.set("DDialogSaveAs",Yr)},Kr=function(){on(),Q(),br(),Cr(),Sr(),xr(),Ln(),Rn(),Lr(),Pr(),Ar(),Rr(),Hr(),jr(),Xr(),ft(),dt(),wr()};const Jr=wcardinal.ui.DLayoutDirection;var Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Jr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(D),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Jr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Ur),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return f.ALL},t}(qr);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?16316664:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return f.ALL},t}(Ir),$r=function(){r.set("DExpandableHeader",Zr),r.set("DExpandable",Qr)};const ne=wcardinal.ui.DHtmlElementState;var te=function(){return null},re=function(n){var t=document.createElement("div");return n.appendChild(t),t},ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return te},t.prototype.setElementStyle=function(n,t,r,e,u,i){var o=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,e,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t);n.setAttribute("style",o),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ne.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,e=n.y-t.y;return"left:".concat(r,"px; top:").concat(e,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,e){return"position: absolute;"+this.getElementStylePositionPosition(t,e)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getClipperCreator=function(){return re},t.prototype.setClipperStyle=function(n,t,r,e,u,i){var o="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",o)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.getBeforeCreator=function(){return re},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return re},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return Tr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(y),ue=function(){r.set("DImage",Ir)},ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Jr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Ur),oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(ie),ce=function(){r.set("DInputAndLabel",oe)},fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(ie),le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(B),he=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(B),ae=function(){r.set("DInputBoolean",fe),r.set("DInputBooleanButtonOn",he),r.set("DInputBooleanButtonOff",le)},se=function(){return null},de=function(n){return n},me=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:s.BORDER_COLOR},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return de},t.prototype.getEditingValidator=function(){return se},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}(ee),De="d-theme-white-input-input",Te="".concat(De,"-element"),pe=function(n){var t=n.getElementsByClassName(Te);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Te),n.appendChild(r),r},ge=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},We="".concat(De,"-clipper"),we=function(n){return ge(n,We)},be="".concat(De,"-before"),ke=function(n){return ge(n,be)},Ie="".concat(De,"-after"),ve=function(n){return ge(n,Ie)},xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return pe},t.prototype.getClipperCreator=function(){return we},t.prototype.getBeforeCreator=function(){return ke},t.prototype.getAfterCreator=function(){return ve},t}(me),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(xe),Ce=function(n){var t=parseInt(n,10);return t==t?t:0},Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Ce},t}(ye),Se=function(){r.set("DInputInteger",Be)},Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(xn),_e=function(){r.set("DInputLabel",Me)},Le=function(n){var t=parseFloat(n);return t==t?t:0},Ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Le},t}(ye),Pe=function(){r.set("DInputReal",Ee)},Fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(xe);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Ae=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Fe),Ne=function(){r.set("DInputSearch",Ae)},Re=function(){r.set("DInputText",Fe)},ze="d-theme-white-input-text-area",He="".concat(ze,"-element"),Ge=function(n){var t=n.getElementsByClassName(He);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",He),n.appendChild(r),r},Ve=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},Oe="".concat(ze,"-clipper"),je=function(n){return Ve(n,Oe)},Ye="".concat(ze,"-before"),Xe=function(n){return Ve(n,Ye)},Ke="".concat(ze,"-after"),Je=function(n){return Ve(n,Ke)},Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return I.NORMAL},t.prototype.getElementCreator=function(){return Ge},t.prototype.getClipperCreator=function(){return je},t.prototype.getBeforeCreator=function(){return Xe},t.prototype.getAfterCreator=function(){return Je},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case I.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(me),qe=function(){r.set("DInputTextArea",Ue)},Qe=function(){ce(),ae(),Se(),_e(),Pe(),Ne(),qe(),Re()},Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return l.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),$e=function(){r.set("DLayout",Ur),r.set("DLayoutHorizontal",ie),r.set("DLayoutSpace",Ze),r.set("DLayoutVertical",qr)};const nu=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var tu=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:nu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:nu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenInNewWindow()}},{value:nu.COPY_LINK_ADDRESS,text:{value:this.getOpenCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenInNewWindow=function(){return"Open in new window"},n.prototype.getOpenCopyLinkAddress=function(){return"Copy link address"},n}(),ru=function(){r.set("DLink",tu)},eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new it(null,!1,!0)},t}(ot),uu=function(){r.set("DListItemAmbient",eu),r.set("DListItem",ot),r.set("DList",et)},iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(qr),ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?s.COLOR:n.isActive?this.getColorActive(n):s.COLOR},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Ir),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(ou),fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(cu);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var lu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(fu),hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(qr),au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(qr),su=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();su.init();var du=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?su.getImageOpened():su.getImageClosed()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(ou),mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(lu);const Du=wcardinal.ui.DBaseState;var Tu=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(Du.NEW_WINDOW)?this.M.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r}(fu),pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Tu);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var gu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(cu),Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(gu),wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ou),bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(wu),ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ze),Iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ku),vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(fu),xu=function(){r.set("DMenu",iu),r.set("DMenuItem",cu),r.set("DMenuItemCheck",lu),r.set("DMenuItemLink",Tu),r.set("DMenuItemMenu",gu),r.set("DMenuItemSeparator",wu),r.set("DMenuItemSpace",ku),r.set("DMenuItemText",fu),r.set("DMenuItemExpandableBody",au),r.set("DMenuItemExpandableHeader",du),r.set("DMenuItemExpandableItemCheck",mu),r.set("DMenuItemExpandableItemLink",pu),r.set("DMenuItemExpandableItemMenu",Wu),r.set("DMenuItemExpandableItemSeparator",bu),r.set("DMenuItemExpandableItemSpace",Iu),r.set("DMenuItemExpandableItemText",vu),r.set("DMenuItemExpandable",hu)},yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16645629},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(ie),Cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(B),Bu=function(){r.set("DMenuBarItem",Cu),r.set("DMenuBar",yu),xu()},Su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(rt),Mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(qr),_u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(lu),Lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(hu),Eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(mu),Pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(pu),Fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Wu),Au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(bu),Nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Iu),Ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(vu),zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Tu),Hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(gu),Gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(wu),Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ku),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fu),ju=function(){r.set("DMenuSided",Su),r.set("DMenuSidedContent",Mu),r.set("DMenuSidedItemCheck",_u),r.set("DMenuSidedItemLink",zu),r.set("DMenuSidedItemMenu",Hu),r.set("DMenuSidedItemSeparator",Gu),r.set("DMenuSidedItemSpace",Vu),r.set("DMenuSidedItemText",Ou),r.set("DMenuSidedItemExpandable",Lu),r.set("DMenuSidedItemExpandableItemCheck",Eu),r.set("DMenuSidedItemExpandableItemLink",Pu),r.set("DMenuSidedItemExpandableItemMenu",Fu),r.set("DMenuSidedItemExpandableItemSeparator",Au),r.set("DMenuSidedItemExpandableItemSpace",Nu),r.set("DMenuSidedItemExpandableItemText",Ru)},Yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return k.TEXT},t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Yu),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Yu),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Yu),Uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(Yu),qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Uu),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Uu),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Uu),$u=function(){r.set("DNote",Yu),r.set("DNoteError",Xu),r.set("DNoteNoItemsFound",Ku),r.set("DNoteSearching",Ju),r.set("DNoteSmallError",qu),r.set("DNoteSmallNoItemsFound",Qu),r.set("DNoteSmallSearching",Zu)},ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(ie);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="15" r="1.1" fill="#fff" stroke="none" /></g>');var ti=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r}(y);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var ri=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(M);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var ei=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(M),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(M);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var ii=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(M);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var oi=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(M),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t}(y),fi=function(){r.set("DPagination",ni),r.set("DPaginationPage",ci),r.set("DPaginationDots",ti),r.set("DPaginationButtonLast",ri),r.set("DPaginationButtonNext",ei),r.set("DPaginationButtonPage",ui),r.set("DPaginationButtonPrevious",ii),r.set("DPaginationButtonTop",oi)},li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(D),ai=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=a.darken(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),si=function(){r.set("DScrollBar",hi),r.set("DScrollBarThumb",ai)},di=function(){r.set("DPane",rt),r.set("DContent",li),si()};const mi=wcardinal.ui.isString;t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var Di=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(C),Ti=function(n){if(n){var t=n.text;if(mi(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ti},t.prototype.newTextValue=function(){return null},t}(Di),gi=function(n){if(n){for(var t="",r="",e=0,u=n.length;e<u;++e){var i=n[e],o=i.text;if(mi(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return gi},t.prototype.newTextValue=function(){return[]},t}(Di),wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Di),bi=function(){r.set("DDropdown",wi)},ki=function(){r.set("DSelectMultiple",Wi),r.set("DSelect",pi),bi()},Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(D),vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Ii),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),yi=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=a.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=a.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=a.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR_ON_BOARD,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Ci=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return yi.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return W.CENTER},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)+2},r}(B),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(B),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Bi),Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Bi),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"AUTO"},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?11184810:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Ii),Ei=function(){r.set("DSlider",Ii),r.set("DSliderValue",_i),r.set("DSliderLabel",xi),r.set("DSliderThumb",Ci),r.set("DSliderVertical",Li),r.set("DSliderHorizontal",vi),r.set("DSliderTrack",Bi),r.set("DSliderTrackVertical",Mi),r.set("DSliderTrackHorizontal",Si)},Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(rt),Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return f.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D);const Ai=wcardinal.ui.DTableState;var Ni=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(Ai.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(Ai.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return n.is(Ai.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(Ai.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=a.darken(t.BACKGROUND_COLOR,.01),n.BACKGROUND_COLOR_FROZEN_ODD=a.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.01),n.BORDER_COLOR=a.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.035),n}(),Ri=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return Ni.getImageTintColor(n,!0)},n}(),zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);Ri.init();var Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Ri.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ri.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(zi);Ri.init();var Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Ri.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ri.getImageSource(n)},t}(wi),Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);Ri.init();var Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Ri.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ri.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Vi),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getImageTintColor=function(n){return Ni.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(y),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ji),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Ni.getImageTintColor(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t}(E),Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t}(R),Ji=function(n){return hn.format(n)},Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getTextFormatter=function(){return Ji},t.prototype.newTextValue=function(){return new Date},t}(B),qi=function(n,t){return Pn.format(n,t.getDatetimeMask())},Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getTextFormatter=function(){return qi},t.prototype.newTextValue=function(){return new Date},t}(B),Zi=function(n){return String(Number(n)+1)},$i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Zi},t.prototype.newTextValue=function(){return 0},t}(y),no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t}(Be),to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t}(Ee),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t}(Fe),eo=function(){function n(){}return n.init=function(){su.init()},n.getImageSource=function(n){return n.is(Ai.HAS_CHILDREN)?n.is(Ai.OPENED)?su.getImageOpened():su.getImageClosed():null},n}();eo.init();var uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(D),io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Fe),oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageSource=function(n){return eo.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(C),co=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return Ni.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this.M.getImageSource(n)},r}(Yi),fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(pi),lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Wi),ho=function(n,t){return lt.format(n,t.getDatetimeMask())},ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ni.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ni.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ni.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ni.getBorderMask(n)},t.prototype.getColor=function(n){return Ni.getColor(n)},t.prototype.getAlpha=function(n){return Ni.getAlpha(n)},t.prototype.getHeight=function(){return Ni.getHeight()},t.prototype.getCornerMask=function(){return Ni.getCornerMask()},t.prototype.getTextFormatter=function(){return ho},t.prototype.newTextValue=function(){return new Date},t}(B);eo.init();var so=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return eo.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Yi),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(ie),Do=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(mo),To=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(mo),po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(To);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var go=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t.BACKGROUND_COLOR_PRESSED=a.darken(t.BACKGROUND_COLOR,.034),t.BACKGROUND_COLOR_FROZEN=a.darken(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.055),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(Ai.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(Ai.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(Ai.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(Ai.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return W.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getSecondaryImageTintColor=function(t){return t.is(Ai.CHECKABLE)?L.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(Ai.CHECKABLE)?L.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(Ai.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(Ai.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(Ai.CHECKABLE)||n.is(Ai.SORTABLE))?"pointer":""},r}(Ir),Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(go),wo=function(){r.set("DTableBodyCellActionDialog",Hi),r.set("DTableBodyCellActionMenu",Gi),r.set("DTableBodyCellActionPromise",Oi),r.set("DTableBodyCellButton",Yi),r.set("DTableBodyCellCheck",Xi),r.set("DTableBodyCellColor",Ki),r.set("DTableBodyCellDate",Ui),r.set("DTableBodyCellDatetime",Qi),r.set("DTableBodyCellIndex",$i),r.set("DTableBodyCellInputInteger",no),r.set("DTableBodyCellInputReal",to),r.set("DTableBodyCellInputText",ro),r.set("DTableBodyCellInputTreeMarker",oo),r.set("DTableBodyCellInputTreeInput",io),r.set("DTableBodyCellInputTree",uo),r.set("DTableBodyCellLink",co),r.set("DTableBodyCellSelectDialog",zi),r.set("DTableBodyCellSelectMenu",fo),r.set("DTableBodyCellSelectMultiple",lo),r.set("DTableBodyCellSelectPromise",Vi),r.set("DTableBodyCellText",ji),r.set("DTableBodyCellTree",so),r.set("DTableBodyCellTime",ao),r.set("DTableBodyRow",Do),r.set("DTableBody",Fi),r.set("DTableCategoryCell",Wo),r.set("DTableCategory",po),r.set("DTableHeaderCell",go),r.set("DTableHeader",To),r.set("DTableRow",mo),r.set("DTable",Pi),P(),Z(),En(),zn(),Se(),Pe(),Re(),ft(),xu()},bo=function(){r.set("DText",xn)};eo.init();var ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return eo.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(it),Io=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new ko(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(rt),vo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new ko(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(y),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(vo);eo.init();var yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return this.S.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.S.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.S.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.S.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.S.getSecondaryImageMarginHorizontal()},t}(xo),Co=function(){r.set("DTree",Io),r.set("DTreeItemText",vo),r.set("DTreeItemButton",xo),r.set("DTreeItemNonEditable",yo)};const Bo=wcardinal.ui.UtilGestureModifier;var So=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return Bo.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return Bo.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return Bo.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return tt.ON},n.prototype.getGestureModifier=function(){return Bo.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),Mo=function(){e(),T(),g(),Dt(),r.set("DView",So),gt(),r.set("DChart",Wt),r.set("DChartAxisX",yt),r.set("DChartAxisXDatetime",Ct),r.set("DChartAxisY",Bt),r.set("DChartCoordinate",St),r.set("DChartCoordinateTick",Mt),r.set("DChartCoordinateTransform",_t),r.set("DChartLegend",Lt),r.set("DChartLegendItem",Et),r.set("DChartOverview",Pt),r.set("DChartPlotArea",Ft),r.set("DChartSelectionGridlineX",zt),r.set("DChartSelectionGridlineY",Ht),r.set("DChartSelectionMarker",Vt),Wr(),Qt(),Kr(),$r(),r.set("DHtmlElement",ee),ue(),Qe(),$e(),ru(),uu(),Co(),Bu(),ju(),xu(),$u(),di(),fi(),un(),q(),_n(),Mn(),Sn(),ki(),wo(),bo(),Ei()},_o={__proto__:null,loadThemeWhiteAll:Mo,loadThemeWhiteBase:T,loadThemeWhiteBoard:g,loadThemeWhiteButtonAll:Dt,loadThemeWhiteButtonAmbient:_,loadThemeWhiteButtonCheckRight:A,loadThemeWhiteButtonCheck:P,loadThemeWhiteButtonColorGradient:cn,loadThemeWhiteButtonColor:Z,loadThemeWhiteButtonDanger:ln,loadThemeWhiteButtonDate:En,loadThemeWhiteButtonDatetime:zn,loadThemeWhiteButtonFile:Gn,loadThemeWhiteButtonLink:On,loadThemeWhiteButtonPrimary:Yn,loadThemeWhiteButtonRadioRight:Un,loadThemeWhiteButtonRadio:Kn,loadThemeWhiteButtonSecondary:Qn,loadThemeWhiteButtonTime:mt,loadThemeWhiteButton:S,loadThemeWhiteCanvasContainer:gt,loadThemeWhiteDiagramEditor:Wr,loadThemeWhiteDiagram:Qt,loadThemeWhiteDialogAll:Kr,loadThemeWhiteDialogColorGradient:on,loadThemeWhiteDialogColor:Q,loadThemeWhiteDialogCommand:br,loadThemeWhiteDialogConfirmDelete:Cr,loadThemeWhiteDialogConfirmDiscard:Sr,loadThemeWhiteDialogConfirm:xr,loadThemeWhiteDialogDate:Ln,loadThemeWhiteDialogDatetime:Rn,loadThemeWhiteDialogInputBoolean:Lr,loadThemeWhiteDialogInputInteger:Pr,loadThemeWhiteDialogInputReal:Ar,loadThemeWhiteDialogInputText:Rr,loadThemeWhiteDialogMessage:Hr,loadThemeWhiteDialogProcessing:jr,loadThemeWhiteDialogSaveAs:Xr,loadThemeWhiteDialogSelect:ft,loadThemeWhiteDialogTime:dt,loadThemeWhiteDialog:wr,loadThemeWhiteDropdown:bi,loadThemeWhiteExpandable:$r,loadThemeWhiteImage:ue,loadThemeWhiteInputAll:Qe,loadThemeWhiteInputAndLabel:ce,loadThemeWhiteInputBoolean:ae,loadThemeWhiteInputInteger:Se,loadThemeWhiteInputLabel:_e,loadThemeWhiteInputReal:Pe,loadThemeWhiteInputSearch:Ne,loadThemeWhiteInputTextArea:qe,loadThemeWhiteInputText:Re,loadThemeWhiteLayout:$e,loadThemeWhiteLink:ru,loadThemeWhiteList:uu,loadThemeWhiteTree:Co,loadThemeWhiteMenuBar:Bu,loadThemeWhiteMenuSided:ju,loadThemeWhiteMenu:xu,loadThemeWhiteNote:$u,loadThemeWhitePane:di,loadThemeWhitePagination:fi,loadThemeWhitePickerColorGradient:un,loadThemeWhitePickerColor:q,loadThemeWhitePickerDate:_n,loadThemeWhitePickerDatetime:Mn,loadThemeWhitePickerTime:Sn,loadThemeWhiteScrollBar:si,loadThemeWhiteSelect:ki,loadThemeWhiteShapeActionValue:gr,loadThemeWhiteShape:qt,loadThemeWhiteSlider:Ei,loadThemeWhiteTable:wo,loadThemeWhiteText:bo,loadThemeWhite:e,DThemeWhiteAtlas:t,DThemeWhiteBase:D,DThemeWhiteBoard:p,DThemeWhiteButtonAmbient:M,DThemeWhiteButtonBase:C,DThemeWhiteButtonCheck:E,DThemeWhiteButtonCheckRight:F,DThemeWhiteButtonChecks:L,DThemeWhiteButtonColorGradient:tn,DThemeWhiteButtonColor:R,DThemeWhiteButtonDanger:fn,DThemeWhiteButtonDate:sn,DThemeWhiteButtonDatetime:An,DThemeWhiteButtonFile:Hn,DThemeWhiteButtonLink:Vn,DThemeWhiteButtonPrimary:jn,DThemeWhiteButtonRadioRight:Jn,DThemeWhiteButtonRadio:Xn,DThemeWhiteButtonSecondary:qn,DThemeWhiteButtonTime:at,DThemeWhiteButton:B,DThemeWhiteCanvasContainer:pt,DThemeWhiteCanvas:Tt,DThemeWhiteChartAxisBase:xt,DThemeWhiteChartAxisXDatetime:Ct,DThemeWhiteChartAxisX:yt,DThemeWhiteChartAxisY:Bt,DThemeWhiteChartCoordinateTick:Mt,DThemeWhiteChartCoordinateTransform:_t,DThemeWhiteChartCoordinate:St,DThemeWhiteChartLegendItem:Et,DThemeWhiteChartLegend:Lt,DThemeWhiteChartOverview:Pt,DThemeWhiteChartPlotArea:Ft,DThemeWhiteChart:Wt,DThemeWhiteContent:li,DThemeWhiteDiagramBase:Ot,DThemeWhiteDiagramCanvasBase:Yt,DThemeWhiteDiagramCanvasEditor:$t,DThemeWhiteDiagramCanvas:Xt,DThemeWhiteDiagramEditor:nr,DThemeWhiteDiagram:jt,DThemeWhiteDialogColorGradient:rn,DThemeWhiteDialogColor:K,DThemeWhiteDialogCommand:X,DThemeWhiteDialogConfirmDelete:yr,DThemeWhiteDialogConfirmDiscard:Br,DThemeWhiteDialogConfirmMessage:vr,DThemeWhiteDialogConfirm:kr,DThemeWhiteDialogDate:dn,DThemeWhiteDialogDatetime:Nn,DThemeWhiteDialogInputBoolean:_r,DThemeWhiteDialogInputInteger:Er,DThemeWhiteDialogInputReal:Fr,DThemeWhiteDialogInputText:Nr,DThemeWhiteDialogInput:Mr,DThemeWhiteDialogMessage:zr,DThemeWhiteDialogProcessingMessage:Or,DThemeWhiteDialogProcessing:Vr,DThemeWhiteDialogSaveAs:Yr,DThemeWhiteDialogSelectListItem:ct,DThemeWhiteDialogSelectList:ut,DThemeWhiteDialogSelect:nt,DThemeWhiteDialogTime:st,DThemeWhiteDialog:Y,DThemeWhiteDropdown:wi,DThemeWhiteExpandableHeader:Zr,DThemeWhiteExpandable:Qr,DThemeWhiteFont:d,DThemeWhiteHtmlElement:ee,DThemeWhiteImageBase:y,DThemeWhiteImage:Ir,DThemeWhiteInputAndLabel:oe,DThemeWhiteInputBooleanButtonOff:le,DThemeWhiteInputBooleanButtonOn:he,DThemeWhiteInputBoolean:fe,DThemeWhiteInputInput:xe,DThemeWhiteInputInteger:Be,DThemeWhiteInputLabel:Me,DThemeWhiteInputNumber:ye,DThemeWhiteInputReal:Ee,DThemeWhiteInputSearch:Ae,DThemeWhiteInputTextArea:Ue,DThemeWhiteInputText:Fe,DThemeWhiteInput:me,DThemeWhiteLayoutHorizontal:ie,DThemeWhiteLayoutSpace:Ze,DThemeWhiteLayoutVertical:qr,DThemeWhiteLayout:Ur,DThemeWhiteLink:tu,DThemeWhiteListItemAmbient:eu,DThemeWhiteListItem:ot,DThemeWhiteListItems:it,DThemeWhiteList:et,DThemeWhiteMenuBarItem:Cu,DThemeWhiteMenuBar:yu,DThemeWhiteMenuItemBase:ou,DThemeWhiteMenuItemCheck:lu,DThemeWhiteMenuItemExpandableBody:au,DThemeWhiteMenuItemExpandableHeader:du,DThemeWhiteMenuItemExpandableItemCheck:mu,DThemeWhiteMenuItemExpandableItemLink:pu,DThemeWhiteMenuItemExpandableItemMenu:Wu,DThemeWhiteMenuItemExpandableItemSeparator:bu,DThemeWhiteMenuItemExpandableItemSpace:Iu,DThemeWhiteMenuItemExpandableItemText:vu,DThemeWhiteMenuItemExpandable:hu,DThemeWhiteMenuItemLink:Tu,DThemeWhiteMenuItemMenu:gu,DThemeWhiteMenuItemSeparator:wu,DThemeWhiteMenuItemSpace:ku,DThemeWhiteMenuItemText:fu,DThemeWhiteMenuItem:cu,DThemeWhiteMenuSidedContent:Mu,DThemeWhiteMenuSidedItemCheck:_u,DThemeWhiteMenuSidedItemExpandableItemCheck:Eu,DThemeWhiteMenuSidedItemExpandableItemLink:Pu,DThemeWhiteMenuSidedItemExpandableItemMenu:Fu,DThemeWhiteMenuSidedItemExpandableItemSeparator:Au,DThemeWhiteMenuSidedItemExpandableItemSpace:Nu,DThemeWhiteMenuSidedItemExpandableItemText:Ru,DThemeWhiteMenuSidedItemExpandable:Lu,DThemeWhiteMenuSidedItemLink:zu,DThemeWhiteMenuSidedItemMenu:Hu,DThemeWhiteMenuSidedItemSeparator:Gu,DThemeWhiteMenuSidedItemSpace:Vu,DThemeWhiteMenuSidedItemText:Ou,DThemeWhiteMenuSided:Su,DThemeWhiteMenu:iu,DThemeWhiteNoteError:Xu,DThemeWhiteNoteNoItemsFound:Ku,DThemeWhiteNoteSearching:Ju,DThemeWhiteNoteSmallError:qu,DThemeWhiteNoteSmallNoItemsFound:Qu,DThemeWhiteNoteSmallSearching:Zu,DThemeWhiteNoteSmall:Uu,DThemeWhiteNote:Yu,DThemeWhitePaginationButtonLast:ri,DThemeWhitePaginationButtonNext:ei,DThemeWhitePaginationButtonPage:ui,DThemeWhitePaginationButtonPrevious:ii,DThemeWhitePaginationButtonTop:oi,DThemeWhitePaginationDots:ti,DThemeWhitePaginationPage:ci,DThemeWhitePagination:ni,DThemeWhitePane:rt,DThemeWhitePickerColorGradient:en,DThemeWhitePickerColor:U,DThemeWhitePickerDate:bn,DThemeWhitePickerDatetimeButtonBack:kn,DThemeWhitePickerDatetimeButtonDate:In,DThemeWhitePickerDatetimeButtonNext:vn,DThemeWhitePickerDatetimeLabelDate:Cn,DThemeWhitePickerDatetimeLabel:yn,DThemeWhitePickerDatetimeSpace:Bn,DThemeWhitePickerDatetime:wn,DThemeWhitePickerTime:Dn,DThemeWhiteScrollBarThumb:ai,DThemeWhiteScrollBar:hi,DThemeWhiteSelectMultiple:Wi,DThemeWhiteSelect:pi,DThemeWhiteSlider:Ii,DThemeWhiteSliderHorizontal:vi,DThemeWhiteSliderLabel:xi,DThemeWhiteSliderThumb:Ci,DThemeWhiteSliderTrack:Bi,DThemeWhiteSliderTrackHorizontal:Si,DThemeWhiteSliderTrackVertical:Mi,DThemeWhiteSliderValue:_i,DThemeWhiteSliderVertical:Li,DThemeWhiteTableBodyCellButton:Yi,DThemeWhiteTableBodyCellCheck:Xi,DThemeWhiteTableBodyCellColor:Ki,DThemeWhiteTableBodyCellDate:Ui,DThemeWhiteTableBodyCellDatetime:Qi,DThemeWhiteTableBodyCellIndex:$i,DThemeWhiteTableBodyCellInputInteger:no,DThemeWhiteTableBodyCellInputReal:to,DThemeWhiteTableBodyCellInputText:ro,DThemeWhiteTableBodyCellLink:co,DThemeWhiteTableBodyCellSelectDialog:zi,DThemeWhiteTableBodyCellSelectMenu:fo,DThemeWhiteTableBodyCellSelectPromise:Vi,DThemeWhiteTableBodyCellText:ji,DThemeWhiteTableBodyCellTime:ao,DThemeWhiteTableBodyCells:Ni,DThemeWhiteTableBodyRow:Do,DThemeWhiteTableBody:Fi,DThemeWhiteTableCategoryCell:Wo,DThemeWhiteTableCategory:po,DThemeWhiteTableHeaderCell:go,DThemeWhiteTableHeader:To,DThemeWhiteTableRow:mo,DThemeWhiteTable:Pi,DThemeWhiteTextBase:x,DThemeWhiteText:xn,DThemeWhiteTreeItemButton:xo,DThemeWhiteTreeItemNonEditable:yo,DThemeWhiteTreeItemText:vo,DThemeWhiteTreeItems:ko,DThemeWhiteTree:Io,DThemeWhiteView:So,DThemeWhite:r,EThemeWhiteShapeActionValue:pr,EThemeWhiteShape:Ut};Mo();var Lo=window;Lo.wcardinal=Lo.wcardinal||{};var Eo=Lo.wcardinal.ui=Lo.wcardinal.ui||{},Po=_o;for(var Fo in Po)Eo[Fo]=Po[Fo]}();
10
10
  //# sourceMappingURL=wcardinal-ui-theme-white.min.js.map