@wcardinal/wcardinal-ui 0.460.0-beta.0 → 0.461.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 (95) hide show
  1. package/dist/types/wcardinal/ui/d-application-layer.d.ts +5 -4
  2. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub-base.d.ts +1 -1
  3. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub-primary.d.ts +1 -1
  4. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub-secondary.d.ts +1 -1
  5. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub.d.ts +2 -1
  6. package/dist/types/wcardinal/ui/d-diagram-canvas-editor.d.ts +2 -1
  7. package/dist/types/wcardinal/ui/d-diagram-canvas.d.ts +3 -1
  8. package/dist/types/wcardinal/ui/d-diagram.d.ts +1 -0
  9. package/dist/types/wcardinal/ui/d-view-to-target.d.ts +1 -1
  10. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-base.d.ts +5 -3
  11. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dropped.d.ts +19 -0
  12. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open.d.ts +4 -0
  13. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime.d.ts +22 -3
  14. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open.d.ts +7 -0
  15. package/dist/types/wcardinal/ui/shape/action/index.d.ts +1 -0
  16. package/dist/types/wcardinal/ui/shape/e-shape-runtime-impl.d.ts +3 -1
  17. package/dist/types/wcardinal/ui/shape/e-shape-runtime.d.ts +3 -1
  18. package/dist/types/wcardinal/ui/shape/e-shape-state-set-impl-observable.d.ts +5 -0
  19. package/dist/types/wcardinal/ui/shape/e-shape-state-set.d.ts +4 -0
  20. package/dist/types/wcardinal/ui/shape/e-shape-state.d.ts +1 -0
  21. package/dist/types/wcardinal/ui/theme/common/new-shape-drag-image.d.ts +1 -0
  22. package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value-open.d.ts +9 -0
  23. package/dist/types/wcardinal/ui/theme/dark/index-zz-zz.d.ts +1 -0
  24. package/dist/types/wcardinal/ui/theme/white/e-theme-white-shape-action-value-open.d.ts +9 -0
  25. package/dist/types/wcardinal/ui/theme/white/index-zz-zz.d.ts +1 -0
  26. package/dist/types/wcardinal/ui/util/util-file-opener.d.ts +3 -1
  27. package/dist/wcardinal/ui/d-application-layer.js +30 -8
  28. package/dist/wcardinal/ui/d-application-layer.js.map +1 -1
  29. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub-base.js.map +1 -1
  30. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub-primary.js.map +1 -1
  31. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub-secondary.js.map +1 -1
  32. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub.js.map +1 -1
  33. package/dist/wcardinal/ui/d-diagram-canvas-editor.js.map +1 -1
  34. package/dist/wcardinal/ui/d-diagram-canvas.js +66 -14
  35. package/dist/wcardinal/ui/d-diagram-canvas.js.map +1 -1
  36. package/dist/wcardinal/ui/d-diagram.js +7 -0
  37. package/dist/wcardinal/ui/d-diagram.js.map +1 -1
  38. package/dist/wcardinal/ui/d-view-to-target.js.map +1 -1
  39. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-base.js +6 -0
  40. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-base.js.map +1 -1
  41. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dropped.js +17 -0
  42. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dropped.js.map +1 -0
  43. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open.js +39 -0
  44. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open.js.map +1 -1
  45. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime.js.map +1 -1
  46. package/dist/wcardinal/ui/shape/action/e-shape-action-value-open.js.map +1 -1
  47. package/dist/wcardinal/ui/shape/action/index.js +1 -0
  48. package/dist/wcardinal/ui/shape/action/index.js.map +1 -1
  49. package/dist/wcardinal/ui/shape/e-shape-runtime-impl.js +32 -0
  50. package/dist/wcardinal/ui/shape/e-shape-runtime-impl.js.map +1 -1
  51. package/dist/wcardinal/ui/shape/e-shape-runtime.js.map +1 -1
  52. package/dist/wcardinal/ui/shape/e-shape-state-set-impl-observable.js +31 -0
  53. package/dist/wcardinal/ui/shape/e-shape-state-set-impl-observable.js.map +1 -1
  54. package/dist/wcardinal/ui/shape/e-shape-state-set.js.map +1 -1
  55. package/dist/wcardinal/ui/shape/e-shape-state.js +1 -0
  56. package/dist/wcardinal/ui/shape/e-shape-state.js.map +1 -1
  57. package/dist/wcardinal/ui/theme/common/new-shape-drag-image.js +26 -0
  58. package/dist/wcardinal/ui/theme/common/new-shape-drag-image.js.map +1 -0
  59. package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value-open.js +32 -0
  60. package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value-open.js.map +1 -0
  61. package/dist/wcardinal/ui/theme/dark/index-zz-zz.js +1 -0
  62. package/dist/wcardinal/ui/theme/dark/index-zz-zz.js.map +1 -1
  63. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-shape-action-value.js +2 -0
  64. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-shape-action-value.js.map +1 -1
  65. package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value-open.js +32 -0
  66. package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value-open.js.map +1 -0
  67. package/dist/wcardinal/ui/theme/white/index-zz-zz.js +1 -0
  68. package/dist/wcardinal/ui/theme/white/index-zz-zz.js.map +1 -1
  69. package/dist/wcardinal/ui/theme/white/load/load-theme-white-shape-action-value.js +2 -0
  70. package/dist/wcardinal/ui/theme/white/load/load-theme-white-shape-action-value.js.map +1 -1
  71. package/dist/wcardinal/ui/util/util-file-downloader.js +21 -1
  72. package/dist/wcardinal/ui/util/util-file-downloader.js.map +1 -1
  73. package/dist/wcardinal/ui/util/util-file-opener.js +5 -3
  74. package/dist/wcardinal/ui/util/util-file-opener.js.map +1 -1
  75. package/dist/wcardinal-ui-theme-dark-en-us.js +57 -1
  76. package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
  77. package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
  78. package/dist/wcardinal-ui-theme-dark-ja-jp.js +57 -1
  79. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
  80. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
  81. package/dist/wcardinal-ui-theme-dark.js +57 -1
  82. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  83. package/dist/wcardinal-ui-theme-white-en-us.js +57 -1
  84. package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
  85. package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
  86. package/dist/wcardinal-ui-theme-white-ja-jp.js +57 -1
  87. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
  88. package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
  89. package/dist/wcardinal-ui-theme-white.js +57 -1
  90. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  91. package/dist/wcardinal-ui.cjs.js +38861 -38548
  92. package/dist/wcardinal-ui.js +254 -27
  93. package/dist/wcardinal-ui.min.js +2 -2
  94. package/dist/wcardinal-ui.min.js.map +1 -1
  95. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.460.0-beta.0
2
+ Winter Cardinal UI v0.461.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(t){"use strict";var e=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:t.SCALE_MODES.LINEAR,mipmap:t.MIPMAP_MODES.OFF}),n=function(){function t(){this._instances={}}return t.prototype.get=function(e){var n=this._instances[e];if(null!=n)return n;var r=t._classes[e];if(null!=r)return this._instances[e]=new r;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.set=function(t,e){return this._instances[t]=e,this},t.prototype.getClass=function(e){var n=t._classes[e];if(null!=n)return n;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.setClass=function(e,n){return t._classes[e]=n,this},t.prototype.getAtlas=function(){return e},t.set=function(t,e){this._classes[t]=e},t._classes={},t}(),r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,u=wcardinal.ui.DBorderMask,a=wcardinal.ui.DCornerMask,p=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,c=wcardinal.ui.UtilRgb;var g=function(){function t(){}return t.COLOR=13421772,t.ACTIVE_COLOR=0,t.BORDER_COLOR=4868682,t.BACKGROUND_COLOR=3026478,t.BACKGROUND_COLOR_ON_BOARD=2039583,t.HIGHLIGHT_COLOR=2267123,t.HIGHLIGHT_ALPHA=.2,t.HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_COLOR=5592405,t.WEAK_HIGHLIGHT_ALPHA=.2,t.WEAK_HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.INVALID_COLOR=14290446,t.INVALID_ALPHA=.2,t.INVALID_BLENDED=c.blend(t.BACKGROUND_COLOR,t.INVALID_COLOR,t.INVALID_ALPHA),t.INVALID_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.INVALID_COLOR,t.INVALID_ALPHA),t}(),s=function(){function t(){}return t.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic UI","Meiryo UI",sans-serif'},t.prototype.getFontSize=function(){return 14},t.prototype.getColor=function(t){return g.COLOR},t.prototype.getFontWeight=function(){return"normal"},t.prototype.getFontStyle=function(){return"normal"},t.prototype.getFontVariant=function(){return"normal"},t.prototype.getAlpha=function(t){return t.inDisabled?.5:1},t.prototype.getLineHeight=function(){return 30},t}(),f=function(t,n,r){var o=2*n;e.add(t,o,o,"<g><defs>"+'<radialGradient id="'.concat(t,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*r,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*r,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*r,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*r,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*r,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*r,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*r,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(o,'" height="').concat(o,'" fill="url(#').concat(t,'_filter)"/>')+"</g>")};f("shadow_weak",24,.72),f("shadow",48,.72),e.add("background",16,16,'<g><defs><radialGradient id="background_filter"><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(#background_filter)"/></g>');var h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getX=function(){return 0},n.prototype.getY=function(){return 0},n.prototype.getHeight=function(){return 100},n.prototype.getWidth=function(){return 100},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBackgroundTexture=function(){return e.mappings.background},n.prototype.getBorderColor=function(t){return null},n.prototype.getBorderAlpha=function(t){return 1},n.prototype.getBorderWidth=function(t){return 1},n.prototype.getBorderAlign=function(t){return 0},n.prototype.getBorderMask=function(t){return u.NONE},n.prototype.getBorderTexture=function(){return e.mappings.background},n.prototype.getPaddingLeft=function(){return 0},n.prototype.getPaddingRight=function(){return 0},n.prototype.getPaddingTop=function(){return 0},n.prototype.getPaddingBottom=function(){return 0},n.prototype.getCornerRadius=function(){return 3},n.prototype.getCornerMask=function(){return a.NONE},n.prototype.getOutlineColor=function(t){return g.HIGHLIGHT_COLOR},n.prototype.getOutlineAlpha=function(t){return t.isFocused?1:0},n.prototype.getOutlineWidth=function(t){return 1},n.prototype.getOutlineOffset=function(t){return 0},n.prototype.getOutlineAlign=function(t){return 0},n.prototype.getOutlineMask=function(t){return u.NONE},n.prototype.getClearType=function(){return p.NONE},n.prototype.getShadow=function(){return null},n.prototype.getInteractive=function(){return i.SELF},n.prototype.newState=function(t){},n.prototype.getTitle=function(){return""},n.prototype.getWeight=function(){return-1},n.prototype.newShadow=function(){return new l(e.mappings.shadow,48,48,0,4.8)},n.prototype.newShadowWeak=function(){return new l(e.mappings.shadow_weak,24,24,0,2.4)},n.prototype.getCursor=function(t){return""},n}(s),y=function(){n.set("DBase",h)},d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.COLOR=2894892,e}return o(e,t),e.prototype.getBackgroundColor=function(){return this.COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getInteractive=function(){return i.BOTH},e}(h),D=function(){n.set("DBoard",d)};const T=wcardinal.ui.DAlignHorizontal,C=wcardinal.ui.DButtonBaseWhen,m=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,O=wcardinal.ui.DDynamicTextStyleWordWrap,A=wcardinal.ui.toString;var I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getTextStyleClipping=function(){return!0},e.prototype.getTextStyleFitting=function(){return!1},e.prototype.getTextStyleWordWrap=function(){return O.NONE},e.prototype.getTextFormatter=function(){return A},e.prototype.getTextValue=function(t){},e.prototype.newTextValue=function(){},e}(h),E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageAlignHorizontal=function(){return T.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.getImageAlignWith=function(){return k.TEXT},e.prototype.getImageMarginHorizontal=function(){return 5},e.prototype.getImageMarginVertial=function(){return 5},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return this.getAlpha(t)},e.prototype.getImageRotation=function(t){return 0},e.prototype.getImageSource=function(t){return null},e.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getSecondaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getSecondaryImageRotation=function(t){return this.getImageRotation(t)},e.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getTertiaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getTertiaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getTertiaryImageRotation=function(t){return this.getImageRotation(t)},e}(I),_=function(t){function e(e,n,r){void 0===e&&(e=4737096),void 0===n&&(n=.017),void 0===r&&(r=.034);var o=t.call(this)||this;return o.BACKGROUND_COLOR=e,o.BACKGROUND_COLOR_HOVERED=c.brighten(e,n),o.BACKGROUND_COLOR_PRESSED=c.brighten(e,r),o.OUTLINE_COLOR=c.darken(e,.75),o}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getColor=function(e){return e.inDisabled||!e.isActive?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return t.isActive?this.getOutlineColorActive(t):this.getOutlineColorNonActive(t)},e.prototype.getOutlineColorActive=function(t){return this.OUTLINE_COLOR},e.prototype.getOutlineColorNonActive=function(e){return t.prototype.getOutlineColor.call(this,e)},e.prototype.getOutlineOffset=function(t){return t.isActive?this.getOutlineOffsetActive(t):this.getOutlineOffsetNonActive(t)},e.prototype.getOutlineOffsetActive=function(t){return-1},e.prototype.getOutlineOffsetNonActive=function(e){return t.prototype.getOutlineOffset.call(this,e)},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return 100},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.isToggle=function(){return!1},e.prototype.getWhen=function(){return C.CLICKED},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(E),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?g.HIGHLIGHT_COLOR:g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){if(t.inEnabled){if(t.isActive)return 1;if(t.isPressed)return 2*g.WEAK_HIGHLIGHT_ALPHA;if(t.isHovered)return g.WEAK_HIGHLIGHT_ALPHA}return 0},e.prototype.getBorderColor=function(t){return null},e}(_),S=function(){n.set("DButtonAmbient",B)};e.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>'),e.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 t(){}return t.getImageTintColor=function(t){return t.inDisabled||t.inReadOnly||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},t.getImageSource=function(t){return t.isActive?e.mappings.button_check_mark_on:e.mappings.button_check_mark_off},t}(),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},e.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},e.prototype.getImageTintColor=function(t){return L.getImageTintColor(t)},e.prototype.isToggle=function(){return!0},e.prototype.getImageSource=function(t){return L.getImageSource(t)},e}(B),H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageAlignWith=function(){return k.PADDING},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e}(R),b=function(){n.set("DButtonCheckRight",H)},M=function(){n.set("DButtonCheck",R)},N=function(t){function e(){return t.call(this,15702682,.1,.2)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(_),w=function(){n.set("DButtonDanger",N)},G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(_),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(G),P=function(){n.set("DButtonFile",v)},x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(B),U=function(){n.set("DButtonLink",x)},W=function(t){function e(){return t.call(this,g.HIGHLIGHT_COLOR,.1,.2)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(_),F=function(){n.set("DButtonPrimary",W)};e.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>'),e.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 V=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},n.prototype.getColor=function(t){return g.COLOR},n.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},n.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},n.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},n.prototype.getImageTintColor=function(t){return t.inDisabled||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.isToggle=function(){return!0},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.button_radio_mark_on:e.mappings.button_radio_mark_off},n}(B),K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageAlignWith=function(){return k.PADDING},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e}(V),z=function(){n.set("DButtonRadioRight",K)},j=function(){n.set("DButtonRadio",V)},X=function(t){function e(){return t.call(this,12096758,.1,.2)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):0},e}(_),Y=function(){n.set("DButtonSecondary",X)},Z=function(){n.set("DButton",G)},q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(){return 4737096},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getInteractive=function(){return i.BOTH},e}(h),Q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 32},e.prototype.getPaddingTop=function(){return 32},e.prototype.getPaddingRight=function(){return 32},e.prototype.getPaddingBottom=function(){return 32},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getInteractive=function(){return i.BOTH},e}(h),J=function(){n.set("DCanvasContainer",Q),n.set("DCanvas",q)},$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return 80},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingBottom=function(){return 70},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h);const tt=wcardinal.ui.DChartAxisPosition,et=wcardinal.ui.DChartAxisTickPosition,nt=wcardinal.ui.EShapeTextAlignHorizontal,rt=wcardinal.ui.EShapeTextAlignVertical,ot=wcardinal.ui.EShapeTextDirection;var it=function(){function t(){}return t.prototype.getPosition=function(){return tt.BOTTOM},t.prototype.getPadding=function(){return 75},t.prototype.getLabelAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getLabelAlignVertical=function(t){switch(t){case tt.TOP:return rt.OUTSIDE_TOP;case tt.BOTTOM:return rt.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return rt.MIDDLE}},t.prototype.getLabelPaddingHorizontal=function(){return 60},t.prototype.getLabelPaddingVertical=function(){return 50},t.prototype.getLabelDirection=function(){return ot.LEFT_TO_RIGHT},t.prototype.getLabelColor=function(){return this.getStrokeColor()},t.prototype.getStyle=function(){},t.prototype.getStrokeEnable=function(){return!0},t.prototype.getStrokeColor=function(){},t.prototype.getStrokeAlpha=function(){},t.prototype.getStrokeWidth=function(){},t.prototype.getStrokeAlign=function(){},t.prototype.getStrokeSide=function(){},t.prototype.getStrokeStyle=function(){},t.prototype.getTickEnable=function(){return!0},t.prototype.getMajorTickCount=function(){return 3},t.prototype.getMajorTickCapacity=function(t){return 2*t},t.prototype.getMajorTickStep=function(){},t.prototype.getMajorTickSize=function(){return 10},t.prototype.getMajorTickPosition=function(){return et.OUTSIDE},t.prototype.getMajorTickStyle=function(){},t.prototype.getMajorTickTextAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getMajorTickTextAlignVertical=function(t){switch(t){case tt.TOP:return rt.OUTSIDE_TOP;case tt.BOTTOM:return rt.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return rt.MIDDLE}},t.prototype.getMajorTickTextDirection=function(){return ot.LEFT_TO_RIGHT},t.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickTextFormat=function(){return"%.2f"},t.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},t.prototype.getMajorTickTextPaddingVertical=function(){return 15},t.prototype.getMajorTickStrokeEnable=function(){return!0},t.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMajorTickGridlineEnable=function(){return!0},t.prototype.getMajorTickGridlineStyle=function(){},t.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},t.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},t.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMinorTickCount=function(){return 3},t.prototype.getMinorTickStep=function(){},t.prototype.getMinorTickSize=function(){return 5},t.prototype.getMinorTickPosition=function(){return et.OUTSIDE},t.prototype.getMinorTickStyle=function(){},t.prototype.getMinorTickTextAlignHorizontal=function(t){return this.getMajorTickTextAlignHorizontal(t)},t.prototype.getMinorTickTextAlignVertical=function(t){return this.getMajorTickTextAlignVertical(t)},t.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},t.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickTextFormat=function(){},t.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},t.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},t.prototype.getMinorTickStrokeEnable=function(){return!0},t.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},t}(),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(it),at=function(t,e,n){var r=Math.abs(e-t)/n;if(r<=10)return r<=1.33?1:r<=2.86?2:r<=6.67?5:10;if(r<=100)return r<=13.33?10:r<=28.57?20:r<=66.67?50:100;if(r<=1e3)return r<=133.33?100:r<=285.71?200:r<=666.67?500:1e3;if(r<=1e4)return r<=1333.33?1e3:r<=2857.14?2e3:r<=6666.66?5e3:1e4;if(r<=12e4)return r<=13333.33?1e4:r<=24e3?2e4:r<=4e4?3e4:r<=72e3?6e4:r<=102857.14?9e4:12e4;if(r<=108e5)return r<=171428.57?12e4:r<=4e5?3e5:r<=8e5?6e5:r<=144e4?12e5:r<=24e5?18e5:r<=432e4?36e5:r<=6171428.57?54e5:r<=8e6?72e5:r<=9818181.82?9e6:108e5;var o=36e5,i=r/o;if(i<=24)return i<=1.33?o:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var u=i/24,a=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),p=u/a;return p<=1.33?864e5*a:p<=2.86?1728e5*a:p<=6.67?432e6*a:864e6*a},pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},e.prototype.getMajorTickStep=function(){return at},e}(ut),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPosition=function(){return tt.LEFT},e.prototype.getLabelDirection=function(){return ot.BOTTOM_TO_TOP},e}(it),ct=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),gt=function(){function t(){}return t.prototype.toStep=function(t,e,n){var r=Math.abs(e-t)/n,o=Math.floor(Math.log(r)/Math.LN10),i=Math.pow(10,o),u=r/i;return u<=1.33?i:u<=2.86?2*i:u<=6.67?5*i:10*i},t}(),st=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(h),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(h),yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(h),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"padding"},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingBottom=function(){return 10},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getMargin=function(){return 20},e}(h);const Dt=wcardinal.ui.EShapeStrokeStyle,Tt=wcardinal.ui.EShapeBar,Ct=wcardinal.ui.EShapeBarPosition;var mt=function(){},kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Tt;return e.points.position=Ct.TOP,e.stroke.style=Dt.DASHED,e.stroke.alpha=.75,e},e}(mt),Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Tt;return e.points.position=Ct.LEFT,e.stroke.style=Dt.DASHED,e.stroke.alpha=.75,e},e}(mt);const At=wcardinal.ui.EShapeCircle;var It=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isEnabled=function(t){return t.isActive},e.prototype.newShape=function(t){var e=new At;return e.size.set(14,14),e.fill.enable=!1,e.stroke.alpha=.75,e},e}(mt),Et=function(){n.set("DChart",$),n.set("DChartAxisX",ut),n.set("DChartAxisXDatetime",pt),n.set("DChartAxisY",lt),n.set("DChartCoordinate",ct),n.set("DChartCoordinateTick",gt),n.set("DChartCoordinateTransform",st),n.set("DChartLegend",ft),n.set("DChartLegendItem",ht),n.set("DChartOverview",yt),n.set("DChartPlotArea",dt),n.set("DChartSelectionGridlineX",kt),n.set("DChartSelectionGridlineY",Ot),n.set("DChartSelectionMarker",It)},_t=function(){function t(){}return t.prototype.getCapacity=function(){return 10},t.prototype.newColors=function(){return[]},t}(),Bt=function(){function t(){}return t.prototype.newColors=function(){for(var t=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],e=10;e<20;++e)t.push(c.brighten(t[e],.75));for(e=10;e<20;++e)t.push(c.brighten(t[e],.45));for(e=10;e<20;++e)t.push(c.brighten(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.45));for(e=10;e<20;++e)t.push(c.darken(t[e],.75));return t},t}(),St=function(){n.set("DColorRecent",_t),n.set("DColorStandard",Bt)};const Lt=wcardinal.ui.DAnimationFadeIn,Rt=wcardinal.ui.DDialogAlign,Ht=wcardinal.ui.DDialogCloseOn,bt=wcardinal.ui.DDialogGestureMode,Mt=wcardinal.ui.DDialogMode,Nt=wcardinal.ui.DDialogState;var wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMode=function(){return Mt.MODAL},e.prototype.closeOn=function(t){switch(t){case Mt.MODAL:case Mt.MENU:return Ht.ESC|Ht.CLICK_OUTSIDE;case Mt.MODELESS:return Ht.NONE}},e.prototype.isSticky=function(t){return!1},e.prototype.isAlwaysOnTop=function(){return!1},e.prototype.isGestureEnabled=function(t){switch(t){case Mt.MODAL:case Mt.MODELESS:return!0;case Mt.MENU:return!1}},e.prototype.getGestureMode=function(t){return bt.DIRTY},e.prototype.getOffsetX=function(t){return 5},e.prototype.getOffsetY=function(t){return 5},e.prototype.getAlign=function(t){return Rt.BOTTOM},e.prototype.newAnimation=function(t){switch(t){case Mt.MODAL:return new Lt;case Mt.MODELESS:case Mt.MENU:return null}},e.prototype.getBackgroundColor=function(t){return t.is(Nt.MENU)?g.BACKGROUND_COLOR_ON_BOARD:g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.is(Nt.MENU)?null:3750201},e.prototype.getOutlineColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getX=function(){return 0},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 400},e.prototype.getHeight=function(){return"auto"},e.prototype.getShadow=function(){return this.newShadow()},e.prototype.getInteractive=function(){return i.BOTH},e}(h),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLayout=function(){},e.prototype.getHeader=function(){return null},e.prototype.getContent=function(){},e.prototype.getFooter=function(){},e}(wt),vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"auto"},e}(Gt);const Pt=wcardinal.ui.DLayoutDirection;var xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 5},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getDirection=function(){return Pt.VERTICAL},e.prototype.getCornerAdjust=function(){return!1},e.prototype.getMultiplicity=function(){return 1},e.prototype.getReverse=function(){return!1},e}(h),Ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDirection=function(){return Pt.VERTICAL},e.prototype.getWidth=function(){return"auto"},e}(xt),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(Ut),Ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"auto"},e}(Wt),Vt=function(){n.set("DDialogFittedContent",Ft),n.set("DDialogFitted",vt)},Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLabel=function(){return""},e.prototype.getInputMargin=function(){return 32},e}(Gt),zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),jt=function(){n.set("DDialogInputBoolean",zt)},Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),Yt=function(){n.set("DDialogInputInteger",Xt)},Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),qt=function(){n.set("DDialogInputReal",Zt)},Qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),Jt=function(){n.set("DDialogInputText",Qt)},$t=function(){n.set("DDialog",wt)};e.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var te=function(t){function n(){return t.call(this,g.BACKGROUND_COLOR_ON_BOARD)||this}return o(n,t),n.prototype.getSecondaryImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},n.prototype.getSecondaryImageMarginHorizontal=function(){return-20},n.prototype.getPaddingLeft=function(){return 25},n.prototype.getPaddingRight=function(){return 25},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dropdown_mark},n}(_),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return""},e}(te),ne=function(){n.set("DDropdown",ee)},re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?984832:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getCornerMask=function(){return a.ALL},e}(Ut),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(E);e.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>'),e.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 ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isHovered||t.inActive?3026478:null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getCornerMask=function(){return a.ALL},e}(oe),ue=function(){n.set("DExpandableHeader",ie),n.set("DExpandable",re)};const ae=wcardinal.ui.DHtmlElementState,pe=wcardinal.ui.UtilHtmlElementWhen;var le=function(){return null},ce=function(t){var e=document.createElement("div");return t.appendChild(e),e},ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getElementCreator=function(){return le},e.prototype.setElementStyle=function(t,e,n,r,o,i,u){var a=this.getElementStylePointerEvent(e)+this.getElementStylePosition(e,r,o,i)+this.getElementStyleMargin(e)+this.getElementStyleText(e)+this.getElementStyleBackground(e)+this.getElementStyleBorder(e)+this.getElementStylePadding(e,n)+this.getElementStyleOutline(e)+this.getElementStyleClipPath(e,u);t.setAttribute("style",a),e.inReadOnly?t.setAttribute("readonly","readonly"):t.removeAttribute("readonly"),e.inDisabled?t.setAttribute("disabled","disabled"):t.removeAttribute("disabled")},e.prototype.getElementStylePointerEvent=function(t){return t.is(ae.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},e.prototype.getElementStyleBackground=function(t){return"background-color: transparent;"},e.prototype.getElementStyleBorder=function(t){return"border: none; box-sizing: border-box;"},e.prototype.getElementStylePadding=function(t,e){return e?"getLeft"in e?"padding: ".concat(e.getTop(),"px ").concat(e.getRight(),"px ")+"".concat(e.getBottom(),"px ").concat(e.getLeft(),"px;"):"padding: ".concat(e.vertical,"px ").concat(e.horizontal,"px;"):"padding: 0px;"},e.prototype.getElementStyleOutline=function(t){return"outline: none;"},e.prototype.getElementStylePositionPosition=function(t,e){if(t){if(e){var n=t.x-e.x,r=t.y-e.y;return"left:".concat(n,"px; top:").concat(r,"px;")}return"left:".concat(t.x,"px; top: ").concat(t.y,"px;")}return"left: 0px; top: 0px;"},e.prototype.getElementStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getElementStylePositionTransform=function(t){return t?"transform: matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.tx,",").concat(t.ty,");"):""},e.prototype.getElementStylePosition=function(t,e,n,r){return"position: absolute;"+this.getElementStylePositionPosition(e,r)+this.getElementStylePositionSize(e)+this.getElementStylePositionTransform(n)},e.prototype.getElementStyleText=function(t){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(t).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},e.prototype.getElementStyleMargin=function(t){return"margin: 0;"},e.prototype.getElementStyleClipPath=function(t,e){if(null!=e){var n=e.id;return"-webkit-clip-path: url(#".concat(n,"); clip-path: url(#").concat(n,");")}return""},e.prototype.getClipperCreator=function(){return ce},e.prototype.setClipperStyle=function(t,e,n,r,o,i,u){var a="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);t.setAttribute("style",a)},e.prototype.getClipperStyleOverflow=function(t){return t?"overflow: hidden;":"overflow: visible;"},e.prototype.getClipperStylePositionPosition=function(t){return t?"left: ".concat(t.x,"px; top: ").concat(t.y,"px;"):"left: 0px; top: 0px;"},e.prototype.getClipperStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;")+"line-height: ".concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getClipperStylePosition=function(t){return"position: absolute;"+this.getClipperStylePositionPosition(t)+this.getClipperStylePositionSize(t)},e.prototype.isClipperExEnabled=function(){return!1},e.prototype.getBeforeCreator=function(){return ce},e.prototype.setBeforeStyle=function(t){t.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;"),t.setAttribute("tabindex","0")},e.prototype.getAfterCreator=function(){return ce},e.prototype.setAfterStyle=function(t){this.setBeforeStyle(t)},e.prototype.getWhen=function(){return pe.FOCUSED},e.prototype.getSelect=function(){return!1},e}(E),se=function(){n.set("DHtmlElement",ge)},fe=function(){n.set("DImage",oe)},he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDirection=function(){return Pt.HORIZONTAL},e.prototype.getHeight=function(){return"auto"},e}(xt),ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e}(he),de=function(){n.set("DInputAndLabel",ye)},De=function(){return null},Te=function(t){return t},Ce=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_HOVERED=c.brighten(e.BACKGROUND_COLOR,.017),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled||t.inReadOnly?null:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.isInvalid?g.INVALID_COLOR:null},e.prototype.getOutlineColor=function(e){return e.isInvalid?g.INVALID_COLOR:t.prototype.getOutlineColor.call(this,e)},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getWidth=function(){return 100},e.prototype.getPlaceholder=function(){return""},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCursor=function(t){return t.isActionable?"text":""},e.prototype.getEditingFormatter=function(){return this.getTextFormatter()},e.prototype.getEditingUnformatter=function(){return Te},e.prototype.getEditingValidator=function(){return De},e.prototype.getSelect=function(){return!0},e.prototype.getElementStyleBorder=function(t){return"border: 1.5px solid transparent; box-sizing: border-box;"},e}(ge),me="d-theme-dark-input",ke="".concat(me,"-element"),Oe=function(t){var e=t.getElementsByClassName(ke);if(0<e.length)return e[0];var n=document.createElement("input");return n.setAttribute("spellcheck","false"),n.setAttribute("class",ke),t.appendChild(n),n},Ae=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var r=document.createElement("div");return r.setAttribute("class",e),t.appendChild(r),r},Ie="".concat(me,"-clipper"),Ee=function(t){return Ae(t,Ie)},_e="".concat(me,"-before"),Be=function(t){return Ae(t,_e)},Se="".concat(me,"-after"),Le=function(t){return Ae(t,Se)},Re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getElementCreator=function(){return Oe},e.prototype.getClipperCreator=function(){return Ee},e.prototype.getBeforeCreator=function(){return Be},e.prototype.getAfterCreator=function(){return Le},e}(Ce),He=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getStep=function(){return null},e.prototype.getMin=function(){return null},e.prototype.getMax=function(){return null},e.prototype.newTextValue=function(){return 0},e}(Re),be=function(t){var e=parseInt(t,10);return e==e?e:0},Me=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getEditingUnformatter=function(){return be},e}(He),Ne=function(){n.set("DInputInteger",Me)},we=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(I),Ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.RIGHT},e.prototype.getWidth=function(){return 60},e.prototype.getHeight=function(){return this.getLineHeight()},e}(we),ve=function(){n.set("DInputLabel",Ge)},Pe=function(t){var e=parseFloat(t);return e==e?e:0},xe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getEditingUnformatter=function(){return Pe},e}(He),Ue=function(){n.set("DInputReal",xe)},We=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return""},e}(Re);e.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 Fe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getPaddingRight=function(){return 31},n.prototype.getImageSource=function(t){return e.mappings.input_search},n.prototype.getImageAlignWith=function(){return k.BORDER},n.prototype.getImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 6},n}(We),Ve=function(){n.set("DInputSearch",Fe)},Ke="d-theme-dark-input-text-area",ze="".concat(Ke,"-element"),je=function(t){var e=t.getElementsByClassName(ze);if(0<e.length)return e[0];var n=document.createElement("textarea");return n.setAttribute("spellcheck","false"),n.setAttribute("class",ze),t.appendChild(n),n},Xe=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var r=document.createElement("div");return r.setAttribute("class",e),t.appendChild(r),r},Ye="".concat(Ke,"-clipper"),Ze=function(t){return Xe(t,Ye)},qe="".concat(Ke,"-before"),Qe=function(t){return Xe(t,qe)},Je="".concat(Ke,"-after"),$e=function(t){return Xe(t,Je)},tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getTextStyleWordWrap=function(){return O.NORMAL},e.prototype.getElementCreator=function(){return je},e.prototype.getClipperCreator=function(){return Ze},e.prototype.getBeforeCreator=function(){return Qe},e.prototype.getAfterCreator=function(){return $e},e.prototype.newTextValue=function(){return""},e.prototype.getElementStyleText=function(e){return t.prototype.getElementStyleText.call(this,e)+this.getElementStyleTextResize(e)+this.getElementStyleTextWordWrap(e)},e.prototype.getElementStyleTextResize=function(t){return"resize: none;"},e.prototype.getElementStyleTextWordWrap=function(t){var e="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case O.NORMAL:e+="word-break: normal;";break;default:e+="word-break: break-all;"}return e},e}(Ce),en=function(){n.set("DInputTextArea",tn)},nn=function(){n.set("DInputText",We)},rn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),on=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 0},e.prototype.getHeight=function(){return 0},e.prototype.getClearType=function(){return p.BOTH},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),un=function(){n.set("DLayout",xt),n.set("DLayoutHorizontal",he),n.set("DLayoutSpace",on),n.set("DLayoutVertical",Ut),n.set("DLayoutBoard",rn)};const an=wcardinal.ui.UtilGestureMode;var pn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getOutlineAlign=function(t){return 1},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.getWheelSpeed=function(){return 2.24},e.prototype.getGestureMode=function(){return an.TOUCH},e}(h),ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(pn),cn=function(){function t(t,e,n){this._isStripeEnabled=e,null!=t?(this._backgroundColorEven=t,this._backgroundAlphaEven=1,this._backgroundColorOdd=c.brighten(t,.0075),this._backgroundAlphaOdd=1,this._invalidColor=c.blend(t,g.INVALID_COLOR,g.INVALID_ALPHA),this._invalidAlpha=1,this._highlightColor=n?g.HIGHLIGHT_COLOR:c.blend(t,g.HIGHLIGHT_COLOR,g.HIGHLIGHT_ALPHA),this._highlightAlpha=1,this._weakHighlightColor=c.blend(t,g.WEAK_HIGHLIGHT_COLOR,g.WEAK_HIGHLIGHT_ALPHA),this._weakHighlightAlpha=1):(this._backgroundColorEven=16777215,this._backgroundAlphaEven=0,this._backgroundColorOdd=16777215,this._backgroundAlphaOdd=.0075,this._invalidColor=g.INVALID_COLOR,this._invalidAlpha=g.INVALID_ALPHA,this._highlightColor=g.HIGHLIGHT_COLOR,this._highlightAlpha=n?1:g.HIGHLIGHT_ALPHA,this._weakHighlightColor=g.WEAK_HIGHLIGHT_COLOR,this._weakHighlightAlpha=g.WEAK_HIGHLIGHT_ALPHA),this._imageTintColorWeak=g.COLOR,this._imageTintColorHighlight=n?g.ACTIVE_COLOR:g.COLOR,n?(this._color=g.COLOR,this._colorActive=g.ACTIVE_COLOR):(this._color=g.COLOR,this._colorActive=g.COLOR)}return t.prototype.getBackgroundColor=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null:t.isInvalid?this._invalidColor:t.isActive?this._highlightColor:t.isHovered?this._weakHighlightColor:this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null},t.prototype.getBackgroundAlpha=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0:t.isInvalid?this._invalidAlpha:t.isActive?this._highlightAlpha:t.isHovered?this._weakHighlightAlpha:this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0},t.prototype.getBorderColor=function(t){return null},t.prototype.getBorderMask=function(t){return u.NONE},t.prototype.getColor=function(t){return t.isActive?this._colorActive:this._color},t.prototype.getAlpha=function(t){return t.inEnabled?1:0},t.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?this._imageTintColorWeak:this._imageTintColorHighlight},t.prototype.getHeight=function(){return 30},t.prototype.getCornerMask=function(){return a.ALL},t.prototype.getCursor=function(t){return t.isActionable?"pointer":""},t}(),gn=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return o(e,t),e.prototype.newStyle=function(){return new cn(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(E),sn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e}(gn),fn=function(){n.set("DListItemAmbient",sn),n.set("DListItem",gn),n.set("DList",ln)},hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getMargin=function(){return 0},e.prototype.getPaddingLeft=function(){return 5},e.prototype.getPaddingRight=function(){return 5},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(he),yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBorderColor=function(){return null},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"100%"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e.prototype.getTextStyleClipping=function(){return!1},e}(G),dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getOffsetX=function(){return 5},e.prototype.getOffsetY=function(){return 5},e.prototype.getPaddingTop=function(){return 5},e.prototype.getPaddingBottom=function(){return 5},e.prototype.getWidth=function(){return 200},e.prototype.getHeight=function(){return"auto"},e.prototype.getMargin=function(){return 0},e.prototype.getShadow=function(){return this.newShadowWeak()},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(Ut),Dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?this.getBackgroundColorActive(t):t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inDisabled?g.WEAK_HIGHLIGHT_ALPHA:t.isActive?this.getBackgroundAlphaActive(t):g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBackgroundAlphaActive=function(t){return g.HIGHLIGHT_ALPHA},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):e.isActive?this.getColorActive(e):t.prototype.getColor.call(this,e)},e.prototype.getColorActive=function(t){return g.COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(oe),Tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlphaActive=function(t){return 1},e.prototype.getColorActive=function(t){return g.ACTIVE_COLOR},e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e}(Dn),Cn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},e.prototype.getShortcutColor=function(t){return this.getColor(t)},e.prototype.getShortcutAlpha=function(t){return.5*this.getAlpha(t)},e}(Tn);e.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>'),e.add("menu_item_mark_check_inactive",14,14,"<g></g>");var mn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getBackgroundColorActive=function(t){return t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},n.prototype.getBackgroundAlphaActive=function(t){return g.WEAK_HIGHLIGHT_ALPHA},n.prototype.getColorActive=function(t){return g.COLOR},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.menu_item_mark_check_active:e.mappings.menu_item_mark_check_inactive},n.prototype.getImageAlignWith=function(){return k.BORDER},n.prototype.getImageMarginHorizontal=function(){return 7},n}(Cn),kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?984832:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return a.ALL},e}(Ut),On=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return a.ALL},e}(Ut),An=function(){function t(){}return t.init=function(){e.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>'),e.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>')},t.getImageOpened=function(){return e.mappings.expandable_opened},t.getImageClosed=function(){return e.mappings.expandable_closed},t}();An.init();var In=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e.prototype.getImageSource=function(t){return t.inActive?An.getImageOpened():An.getImageClosed()},e.prototype.getImageAlignWith=function(){return k.BORDER},e.prototype.getImageMarginHorizontal=function(){return 7},e}(Dn),En=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e.prototype.getImageMarginHorizontal=function(){return t.prototype.getImageMarginHorizontal.call(this)+16},e}(mn);const _n=wcardinal.ui.DBaseState,Bn=wcardinal.ui.DThemes;var Sn=function(t){function e(){var e=t.call(this)||this;return e._link=Bn.getInstance().get("DLink"),e}return o(e,t),e.prototype.getImageSource=function(t){return t.is(_n.NEW_WINDOW)?this._link.getImageSource(t):null},e.prototype.getImageTintAlpha=function(e){return e.isHovered?t.prototype.getImageTintAlpha.call(this,e):0},e.prototype.getImageAlignWith=function(){return k.BORDER},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e}(Cn),Ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Sn);e.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 Rn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getImageSource=function(t){return e.mappings.menu_item_mark_next},n.prototype.getImageAlignWith=function(){return k.BORDER},n.prototype.getImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 12},n}(Tn),Hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Rn),bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBorderColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBorderAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Dn),Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(bn),Nn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(on),wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Nn),Gn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Cn),vn=function(){n.set("DMenu",dn),n.set("DMenuItem",Tn),n.set("DMenuItemCheck",mn),n.set("DMenuItemLink",Sn),n.set("DMenuItemMenu",Rn),n.set("DMenuItemSeparator",bn),n.set("DMenuItemSpace",Nn),n.set("DMenuItemText",Cn),n.set("DMenuItemExpandableBody",On),n.set("DMenuItemExpandableHeader",In),n.set("DMenuItemExpandableItemCheck",En),n.set("DMenuItemExpandableItemLink",Ln),n.set("DMenuItemExpandableItemMenu",Hn),n.set("DMenuItemExpandableItemSeparator",Mn),n.set("DMenuItemExpandableItemSpace",wn),n.set("DMenuItemExpandableItemText",Gn),n.set("DMenuItemExpandable",kn)},Pn=function(){n.set("DMenuBarItem",yn),n.set("DMenuBar",hn),vn()},xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e}(pn),Un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getMargin=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Ut),Wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(mn),Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(kn),Vn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(En),Kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ln),zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Hn),jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Mn),Xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(wn),Yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Gn),Zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Sn),qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Rn),Qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(bn),Jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Nn),$n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Cn),tr=function(){n.set("DMenuSided",xn),n.set("DMenuSidedContent",Un),n.set("DMenuSidedItemCheck",Wn),n.set("DMenuSidedItemLink",Zn),n.set("DMenuSidedItemMenu",qn),n.set("DMenuSidedItemSeparator",Qn),n.set("DMenuSidedItemSpace",Jn),n.set("DMenuSidedItemText",$n),n.set("DMenuSidedItemExpandable",Fn),n.set("DMenuSidedItemExpandableItemCheck",Vn),n.set("DMenuSidedItemExpandableItemLink",Kn),n.set("DMenuSidedItemExpandableItemMenu",zn),n.set("DMenuSidedItemExpandableItemSeparator",jn),n.set("DMenuSidedItemExpandableItemSpace",Xn),n.set("DMenuSidedItemExpandableItemText",Yn)},er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getMargin=function(){return 10},e.prototype.getButtonSpace=function(){return 10},e}(he);e.add("pagination_dots",21,21,'<g><circle cx="2" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="11" r="1.1" fill="#fff" stroke="none" /></g>');var nr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getInteractive=function(){return i.NONE},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n.prototype.getImageSource=function(t){return e.mappings.pagination_dots},n.prototype.getImageAlignHorizontal=function(){return T.CENTER},n.prototype.getImageAlignWith=function(){return k.BORDER},n}(E);e.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 rr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_last},n}(B);e.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 or=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_next},n}(B),ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 30},e.prototype.newTextValue=function(){return 0},e.prototype.getTextStyleClipping=function(){return!1},e}(B);e.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 ur=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_previous},n}(B);e.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 ar=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_top},n}(B),pr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e}(E),lr=function(){n.set("DPagination",er),n.set("DPaginationPage",pr),n.set("DPaginationDots",nr),n.set("DPaginationButtonLast",rr),n.set("DPaginationButtonNext",or),n.set("DPaginationButtonPage",ir),n.set("DPaginationButtonPrevious",ur),n.set("DPaginationButtonTop",ar)},cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),gr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return 16777215},e.prototype.getBackgroundAlpha=function(t){return 0},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getFadeOutDelay=function(){return 1500},e}(h),sr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BORDER_COLOR=c.brighten(g.WEAK_HIGHLIGHT_COLOR,.25),e.BORDER_COLOR_DISABLED=c.darken(e.BORDER_COLOR,.75),e.BORDER_COLOR_HOVERED=c.darken(e.BORDER_COLOR,.25),e.BORDER_COLOR_OTHER=c.darken(e.BORDER_COLOR,.5),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return t.inDisabled?this.BORDER_COLOR_DISABLED:t.isHovered||t.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},e.prototype.getBorderAlpha=function(t){return 1},e.prototype.getBorderWidth=function(t){return 3},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getThumbMinimumLength=function(){return 16},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),fr=function(){n.set("DScrollBar",gr),n.set("DScrollBarThumb",sr)},hr=function(){n.set("DPane",pn),n.set("DContent",cr),fr()};const yr=wcardinal.ui.isString;var dr=function(t){if(t){var e=t.text.value;if(yr(e))return e;if(null!=e){var n=e(t.state);if(null!=n)return n}}return""},Dr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return dr},e.prototype.newTextValue=function(){return null},e}(te),Tr=function(t){if(t){for(var e="",n="",r=0,o=t.length;r<o;++r){var i=t[r],u=i.text.value;if(yr(u))e+=n+u,n=", ";else if(null!=u){var a=u(i.state);null!=a&&(e+=n+a,n=", ")}}return e}return""},Cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return Tr},e.prototype.newTextValue=function(){return[]},e}(te),mr=function(){n.set("DSelectMultiple",Cr),n.set("DSelect",Dr),ne()};const kr=wcardinal.ui.EShapeActionMiscExtensions,Or=wcardinal.ui.EShapeActionOpenDialogExtensions,Ar=wcardinal.ui.EShapeActionOpenExtensions,Ir=wcardinal.ui.EShapeActionValueBlinkType,Er=wcardinal.ui.EShapeActionValueChangeColorTarget,_r=wcardinal.ui.EShapeActionValueChangeColorType,Br=wcardinal.ui.EShapeActionValueChangeTextType,Sr=wcardinal.ui.EShapeActionValueGestureOperationType,Lr=wcardinal.ui.EShapeActionValueGestureType,Rr=wcardinal.ui.EShapeActionValueMiscType,Hr=wcardinal.ui.EShapeActionValueOnInputAction,br=wcardinal.ui.EShapeActionValueOpenDialogType,Mr=wcardinal.ui.EShapeActionValueOpenType,Nr=wcardinal.ui.EShapeActionValueOpetyped,wr=wcardinal.ui.EShapeActionValueShowHideType,Gr=wcardinal.ui.EShapeActionValueSubtyped,vr=wcardinal.ui.EShapeActionValueTransformMoveType,Pr=wcardinal.ui.EShapeActionValueTransformResizeType,xr=wcardinal.ui.EShapeActionValueTransformRotateType,Ur=wcardinal.ui.EShapeActionValueTransformType,Wr=wcardinal.ui.EShapeActionValueType;var Fr=function(){function t(){}return t.prototype.toLabel=function(t){var e=t.type;if(t instanceof Gr){var n,r=t.subtype;if(t instanceof Nr){if(null!=(n=this.toOpetypedLabel(e,r,t.opetype,t)))return n}else if(null!=(n=this.toSubtypedLabel(e,r,t)))return n}return this.toTypedLabel(e,t)},t.prototype.toTypedLabel=function(t,e){return"".concat(this.toTypeLabel(t),": ").concat(this.toConditionLabel(e.condition))},t.prototype.toSubtypedLabel=function(t,e,n){var r=this.toTypeLabel(t);switch(t){case Wr.SHOW_HIDE:return"".concat(r,": ").concat(this.toShowHideTypeLabel(e));case Wr.BLINK:return"".concat(r,": ").concat(this.toBlinkTypeLabel(e));case Wr.CHANGE_COLOR:case Wr.CHANGE_COLOR_LEGACY:return"".concat(r,": ").concat(this.toChangeColorTypeLabel(e));case Wr.CHANGE_TEXT:return"".concat(r,": ").concat(this.toChangeTextTypeLabel(e));case Wr.OPEN:return"".concat(r,": ").concat(this.toOpenTypeLabel(e));case Wr.GESTURE:return"".concat(r,": ").concat(this.toGestureTypeLabel(e));case Wr.MISC:return"".concat(r,": ").concat(this.toMiscTypeLabel(e))}return null},t.prototype.toOpetypedLabel=function(t,e,n,r){switch(t){case Wr.TRANSFORM:var o=this.toTransformTypeLabel(e);switch(e){case Ur.ROTATE:return"".concat(o,": ").concat(this.toTransformRotateTypeLabel(n));case Ur.MOVE:return"".concat(o,": ").concat(this.toTransformMoveTypeLabel(n));case Ur.RESIZE:return"".concat(o,": ").concat(this.toTransformResizeTypeLabel(n))}}return null},t.prototype.toTypeLabel=function(t){switch(t){case Wr.SHOW_HIDE:return"Show / hide";case Wr.BLINK:return"Blink";case Wr.TRANSFORM:return"Transform";case Wr.OPEN:return"Open";case Wr.CHANGE_COLOR:case Wr.CHANGE_COLOR_LEGACY:return"Change color";case Wr.CHANGE_FILL_PERCENT:return"Change fill percent";case Wr.CHANGE_TEXT:return"Change text";case Wr.CHANGE_CURSOR:return"Change cursor";case Wr.EMIT_EVENT:return"Emit an event";case Wr.GESTURE:return"Gesture";case Wr.MISC:return"Misc.";default:return Wr.EXTENSION<=t?"Extension":"Unknown"}},t.prototype.toConditionLabel=function(t){return 20<t.length?t.substring(0,20)+"...":t},t.prototype.toBlinkTypeLabel=function(t){switch(t){case Ir.VISIBILITY:return"Visibility";case Ir.BRIGHTEN:return"Brighten";case Ir.DARKEN:return"Darken";case Ir.OPACITY:return"Opacity";case Ir.COLOR_FILL:return"Fill";case Ir.COLOR_STROKE:return"Stroke"}},t.prototype.toShowHideTypeLabel=function(t){switch(t){case wr.SHAPE_SHOW:return"Show";case wr.SHAPE_HIDE:return"Hide";case wr.SHAPE:return"Shape";case wr.LAYER:return"Layer"}},t.prototype.toTransformTypeLabel=function(t){switch(t){case Ur.RESIZE:return"Resize";case Ur.MOVE:return"Move";case Ur.ROTATE:return"Rotate"}},t.prototype.toTransformRotateTypeLabel=function(t){switch(t){case xr.RELATIVE:return"Relative";case xr.ABSOLUTE:return"Absolute"}},t.prototype.toTransformMoveTypeLabel=function(t){switch(t){case vr.RELATIVE_X:return"Relative X";case vr.RELATIVE_Y:return"Relative Y";case vr.ABSOLUTE_X:return"Absolute X";case vr.ABSOLUTE_Y:return"Absolute Y";case vr.FORWARD_OR_BACKWARD:return"Forward / backward";case vr.LEFT_OR_RIGHT:return"Left / right"}},t.prototype.toTransformResizeTypeLabel=function(t){switch(t){case Pr.ABSOLUTE_SIZE:return"Height & width";case Pr.RELATIVE_SIZE:return"Height & width (%)";case Pr.ABSOLUTE_HEIGHT:return"Height";case Pr.RELATIVE_HEIGHT:return"Height (%)";case Pr.ABSOLUTE_WIDTH:return"Width";case Pr.RELATIVE_WIDTH:return"Width (%)"}},t.prototype.toChangeColorTypeLabel=function(t){if(t===_r.NONE)return"None";var e="",n="";return t&_r.FILL&&(e+=n+"Fill",n=", "),t&_r.STROKE&&(e+=n+"Stroke",n=", "),t&_r.TEXT&&(e+=n+"Text",n=", "),t&_r.TEXT_OUTLINE&&(e+=n+"Text outline"),e},t.prototype.toChangeColorTargetLabel=function(t){switch(t){case Er.COLOR_AND_ALPHA:return"Color";case Er.COLOR:return"RGB";case Er.ALPHA:return"Alpha";case Er.CODE:return"Dynamic color";case Er.BRIGHTNESS:return"Brightness"}},t.prototype.toChangeTextTypeLabel=function(t){switch(t){case Br.TEXT:return"Text";case Br.NUMBER:return"Number"}},t.prototype.toOpenTypeLabel=function(t){switch(t){case Mr.DIAGRAM_LEGACY:return"Diagram";case Mr.PAGE_LEGACY:return"Page (New window)";case Mr.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Mr.DIALOG_TEXT:return"Dialog (Text)";case Mr.DIALOG_INTEGER:return"Dialog (Integer)";case Mr.DIALOG_REAL:return"Dialog (Real)";case Mr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Mr.DIALOG_DATE:return"Dialog (Date)";case Mr.DIALOG_TIME:return"Dialog (Time)";case Mr.DIALOG_DATETIME:return"Dialog (Datetime)";case Mr.DIAGRAM:return"Diagram";case Mr.PAGE:return"Page";case Mr.DIALOG:return"Dialog";default:if(Mr.EXTENSION<=t){var e=Ar.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toOpenDialogTypeLabel=function(t){switch(t){case br.TEXT:return"Text";case br.INTEGER:return"Integer";case br.REAL:return"Real";case br.BOOLEAN:return"Boolean";case br.DATE:return"Date";case br.TIME:return"Time";case br.DATETIME:return"Datetime";default:if(br.EXTENSION<=t){var e=Or.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toGestureTypeLabel=function(t){switch(t){case Lr.SHAPE:return"Shape";case Lr.LAYER:return"Layer"}},t.prototype.toGestureOperationTypeLabel=function(t){switch(t){case Sr.DRAG:return"Drag";case Sr.PINCH:return"Pinch"}return"Unknown"},t.prototype.toMiscTypeLabel=function(t){switch(t){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(Hr.EMIT_EVENT);case Rr.WRITE_BOTH:return this.toOnInputActionLabel(Hr.WRITE_BOTH);case Rr.WRITE_LOCAL:return this.toOnInputActionLabel(Hr.WRITE_LOCAL);case Rr.WRITE_REMOTE:return this.toOnInputActionLabel(Hr.WRITE_REMOTE);case Rr.HTML_ELEMENT:return"HTML element";case Rr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Rr.SHOW_HIDE_LAYER:return"Show / hide layers";case Rr.GESTURE_LAYER:return"Layer gesture";case Rr.GESTURE:return"Gesture";case Rr.EXECUTE:return"Execute";default:if(Rr.EXTENSION<=t){var e=kr.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toHtmlElementWhenLabel=function(t){switch(t){case pe.CLICKED:return"Clicked";case pe.DOUBLE_CLICKED:return"Double clicked";case pe.FOCUSED:return"Focused";case pe.ALWAYS:return"Always"}return"Unknown"},t.prototype.toOnInputActionLabel=function(t){switch(t){case Hr.EMIT_EVENT:return"Emit event";case Hr.WRITE_BOTH:return"Write (Both)";case Hr.WRITE_LOCAL:return"Write (Local)";case Hr.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},t}(),Vr=function(){n.set("EShapeActionValue",Fr)};const Kr=wcardinal.ui.EShapeFillDirection,zr=wcardinal.ui.EShapeStrokeSide;var jr=function(){function t(){}return t.prototype.getFillColor=function(){return 16777215},t.prototype.getFillAlpha=function(){return.2},t.prototype.getFillDirection=function(){return Kr.BOTTOM},t.prototype.getFillPercent=function(){return 1},t.prototype.getStrokeColor=function(){return 14540253},t.prototype.getStrokeAlpha=function(){return 1},t.prototype.getStrokeWidth=function(){return 2},t.prototype.getStrokeAlign=function(){return 0},t.prototype.getStrokeSide=function(){return zr.ALL},t.prototype.getStrokeStyle=function(){return Dt.NONE},t.prototype.getTextValue=function(){return""},t.prototype.getTextColor=function(){return this.getStrokeColor()},t.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},t.prototype.getTextFamily=function(){return"auto"},t.prototype.getTextSize=function(){return 14},t.prototype.getRadius=function(){return.25},t.prototype.getSizeX=function(){return 100},t.prototype.getSizeY=function(){return 100},t.prototype.getHighlightColor=function(){return 2000880},t.prototype.getCurveSegmentCount=function(){return 24},t}(),Xr=function(){n.set("EShape",jr)},Yr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.getOutlineColor=function(t){return null},e}(h),Zr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return 33},e.prototype.getWidth=function(){return 300},e.prototype.getX=function(){return"CENTER"},e}(Yr),qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return 30},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(I),Qr=function(){function t(){}return t.getBackgroundColor=function(t,e){return t.isActive||e?t.inDisabled?this.BACKGROUND_COLOR:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:t.inDisabled?this.BACKGROUND_COLOR_DISABLED:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.BACKGROUND_COLOR_ACTIVE=g.HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_ACTIVE_HOVERED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.1),t.BACKGROUND_COLOR_ACTIVE_PRESSED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.2),t.BACKGROUND_COLOR=g.WEAK_HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_HOVERED=c.darken(t.BACKGROUND_COLOR,.1),t.BACKGROUND_COLOR_PRESSED=c.darken(t.BACKGROUND_COLOR,.2),t.BACKGROUND_COLOR_DISABLED=c.blend(t.BACKGROUND_COLOR,g.BACKGROUND_COLOR,.5),t}();e.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Jr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getX=function(){return"CENTER"},n.prototype.getY=function(){return"CENTER"},n.prototype.getWidth=function(){return 16},n.prototype.getHeight=function(){return 16},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getImageSource=function(t){return e.mappings.slider_thumb},n.prototype.getImageTintColor=function(t){return Qr.getBackgroundColor(t,!0)},n.prototype.getImageTintAlpha=function(t){return 1},n.prototype.getImageAlignHorizontal=function(){return T.CENTER},n.prototype.getOutlineColor=function(t){return null},n}(G),$r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Qr.getBackgroundColor(t)},e.prototype.getBorderColor=function(t){return null},e.prototype.getOutlineColor=function(e){return t.prototype.getOutlineColorNonActive.call(this,e)},e.prototype.getOutlineOffset=function(e){return t.prototype.getOutlineOffsetNonActive.call(this,e)},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(G),to=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return 0},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 5},e}($r),eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 5},e.prototype.getHeight=function(){return"100%"},e}($r),no=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return 2*this.getLineHeight()},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getBackgroundColor=function(t){return t.inDisabled?6579300:g.HIGHLIGHT_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getAlpha=function(t){return t.inDisabled?.38:1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getPrecision=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(I),ro=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return 322},e.prototype.getWidth=function(){return 35},e}(Yr),oo=function(){n.set("DSlider",Yr),n.set("DSliderValue",no),n.set("DSliderLabel",qr),n.set("DSliderThumb",Jr),n.set("DSliderVertical",ro),n.set("DSliderHorizontal",Zr),n.set("DSliderTrack",$r),n.set("DSliderTrackVertical",eo),n.set("DSliderTrackHorizontal",to)},io=function(){n.set("DText",we)};const uo=wcardinal.ui.DTableState;var ao=function(){function t(){}return t.init=function(){An.init()},t.getImageSource=function(t){return t.is(uo.HAS_CHILDREN)?t.is(uo.OPENED)?An.getImageOpened():An.getImageClosed():null},t}(),po=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getSecondaryImageSource=function(t){return ao.getImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this.getColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return.5*this.getAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},e.prototype.getSecondaryImageMarginHorizontal=function(){return-19},e}(cn),lo=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return o(e,t),e.prototype.newStyle=function(){return new po(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(pn),co=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return o(e,t),e.prototype.newStyle=function(){return new po(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(E),go=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(co);ao.init();var so=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getSecondaryImageSource=function(t){return this._style.getSecondaryImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this._style.getSecondaryImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this._style.getSecondaryImageTintAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return this._style.getSecondaryImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this._style.getSecondaryImageMarginHorizontal()},e}(go),fo=function(){n.set("DTree",lo),n.set("DTreeItemText",co),n.set("DTreeItemButton",go),n.set("DTreeItemNonEditable",so)};const ho=wcardinal.ui.UtilGestureModifier;var yo=function(){function t(){}return t.prototype.isWheelZoomEnabled=function(){return!0},t.prototype.getWheelZoomSpeed=function(){return.004},t.prototype.getWheelZoomModifier=function(){return ho.NOT_NONE},t.prototype.isWheelTranslationEnabled=function(){return!0},t.prototype.getWheelTranslationSpeed=function(){return 2.24},t.prototype.getWheelTranslationModifier=function(){return ho.NONE},t.prototype.isDblClickZoomEnabled=function(){return!0},t.prototype.getDblClickZoomSpeed=function(){return 2},t.prototype.getDblClickZoomModifier=function(){return ho.NONE},t.prototype.getDblClickZoomDuration=function(){return 333},t.prototype.getZoomMin=function(){return.01},t.prototype.getZoomMax=function(){return 100},t.prototype.getZoomKeepRatio=function(){return!0},t.prototype.getGestureMode=function(){return an.ON},t.prototype.getGestureModifier=function(){return ho.NONE},t.prototype.getGestureDuration=function(){return 1},t}(),Do=function(){n.set("DView",yo)},To=function(){Bn.setDefaultThemeClass(n)},Co=function(t,e,n,r,o,i,u,a){var p=null!=u?u:0,l=.5*p,c=Math.max(0,3-l),g=n-p-c-c,s=r-p-c-c;return e+=l,'<path d="M'.concat(t+=l+c,",").concat(e," h").concat(g," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",").concat(c," v").concat(s," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",").concat(c," h-").concat(g," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",-").concat(c," v-").concat(s," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",-").concat(c,'z" fill="').concat(o,'"')+(i?' stroke="'.concat(i,'"'):"")+(null!=u?' stroke-width="'.concat(u,'"'):"")+(null!=a?' stroke-opacity="'.concat(a,'"'):"")+" />"};e.add("button_color_sample",21,21,Co(3,3,15,15,"#fff","#eee",1));var mo=function(t){return"#".concat(c.toCode(t.color)," A").concat(t.alpha.toFixed(2))},ko=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getImageTintColor=function(t){return 16777215},n.prototype.getImageSource=function(t){return e.mappings.button_color_sample},n.prototype.getTextFormatter=function(){return mo},n.prototype.newTextValue=function(){return{color:14606046,alpha:1}},n}(G),Oo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt);const Ao=wcardinal.ui.DColorType;var Io=!1,Eo=function(t,e,n,r,o){return function(t,e,n,r,o,i,u){var a="";return Io||(Io=!0,a='<defs><pattern id="rounded-checkerboard-pattern" patternUnits="userSpaceOnUse" width="18" height="18">'+'<rect x="0" y="0" width="9" height="9" fill="'.concat(n,'" />')+'<rect x="9" y="0" width="9" height="9" fill="'.concat(r,'" />')+'<rect x="0" y="9" width="9" height="9" fill="'.concat(r,'" />')+'<rect x="9" y="9" width="9" height="9" fill="'.concat(n,'" />')+"</pattern></defs>"),a+Co(0,0,t,e,"url(#rounded-checkerboard-pattern)",o,i,u)}(t,e,"#5f5f5f","#454545",n,r,o)};e.add("picker_color_main",234,162,'<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>'+Co(0,0,234,162,"url(#fs7w3iusfdnb)")+Co(0,0,234,162,"url(#2rfcfe9874bw)")+"</g>"),e.add("picker_color_main_base",234,162,'<rect x="0" y="0" width="236" height="164" fill="#fff" />'),e.add("picker_color_alpha_checkerboard",234,18,Eo(234,18)),e.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>'),e.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>'+Co(0,0,234,18,"url(#ni2rbisdf3)")+"</g>"),e.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),e.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" />'),e.add("picker_color_recent_checkerboard",18,18,Eo(18,18)),e.add("picker_color_recent",18,18,Co(0,0,18,18,"#fff","#eee",1)),e.add("picker_color_sample_checkerboard",42,66,Eo(42,66,"#fff",1,0)),e.add("picker_color_sample",42,66,Co(0,0,42,66,"#fff","#eee",1)),e.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" />'),e.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" />'),e.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" />'),e.add("picker_color_standard",18,18,Co(0,0,18,18,"#fff","#eee",1));var _o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getMainWidth=function(){return 234},n.prototype.getMainHeight=function(){return 162},n.prototype.getMainTexture=function(){return e.mappings.picker_color_main},n.prototype.getMainBaseTexture=function(){return e.mappings.picker_color_main_base},n.prototype.getMainPointerTexture=function(){return e.mappings.picker_color_pointer},n.prototype.getMainPointerColor=function(){return 16777215},n.prototype.getMainPointerAlpha=function(){return 1},n.prototype.getBaseHeight=function(){return 18},n.prototype.getBaseMargin=function(){return 6},n.prototype.getBaseTexture=function(){return e.mappings.picker_color_base},n.prototype.getBasePointerTexture=function(){return e.mappings.picker_color_base_pointer},n.prototype.getBasePointerColor=function(){return 16777215},n.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getAlphaHeight=function(){return this.getBaseHeight()},n.prototype.getAlphaMargin=function(){return this.getBaseMargin()},n.prototype.getAlphaTexture=function(){return e.mappings.picker_color_alpha},n.prototype.getAlphaCheckerboardTexture=function(){return e.mappings.picker_color_alpha_checkerboard},n.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},n.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},n.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getRecentMargin=function(){return this.getBaseMargin()},n.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},n.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},n.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},n.prototype.getRecentColorCount=function(){return 10},n.prototype.getRecentCheckerboardTexture=function(){return e.mappings.picker_color_recent_checkerboard},n.prototype.getRecentTexture=function(){return e.mappings.picker_color_recent},n.prototype.getInputMargin=function(){return this.getBaseMargin()},n.prototype.getInputLabelWidth=function(){return 18},n.prototype.getSampleWidth=function(){return 42},n.prototype.getSampleHeight=function(){return 66},n.prototype.getSampleMargin=function(){return this.getBaseMargin()},n.prototype.getSampleCheckerboardOldTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleCheckerboardNewTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleOldTexture=function(){return e.mappings.picker_color_sample},n.prototype.getSampleNewTexture=function(){return e.mappings.picker_color_sample},n.prototype.getStandardColorCount=function(){return 80},n.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},n.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},n.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},n.prototype.getStandardTexture=function(){return e.mappings.picker_color_standard},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),Bo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.toColorTypeLabel=function(t){switch(t){case Ao.STANDARD:return"Standard";case Ao.CUSTOM:return"Custom"}},e}(_o),So=function(){n.set("DPickerColor",Bo)},Lo=function(){n.set("DDialogColor",Oo),So()},Ro=function(){n.set("DButtonColor",ko),Lo()};const Ho=wcardinal.ui.DColorGradientObservable;e.add("button_color_gradient_sample",21,21,Co(3,3,15,15,"#fff","#eee",1));var bo=function(){return""},Mo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getViewBaseTexture=function(){return e.mappings.button_color_gradient_sample},n.prototype.getTextFormatter=function(){return bo},n.prototype.newTextValue=function(){return new Ho},n.prototype.getCheckerColors=function(){return[225877,.27]},n}(G),No=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt),wo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getGradientPointsWidth=function(){return 30},n.prototype.getGradientPointsMargin=function(){return 24},n.prototype.getGradientAnchorTexture=function(){return e.mappings.picker_color_anchor},n.prototype.getGradientAnchorOutlinedTexture=function(){return e.mappings.picker_color_anchor_outlined},n.prototype.getGradientAnchorOutlineTexture=function(){return e.mappings.picker_color_anchor_outline},n.prototype.getGradientDirectionMargin=function(){return 5},n.prototype.getGradientDirectionTexture=function(){return e.mappings.picker_color_direction},n.prototype.getGradientRecentColumn=function(){return 4},n.prototype.getGradientRecentWidth=function(){return 30},n.prototype.getGradientRecentMargin=function(){return 5},n.prototype.getGradientRecentCount=function(){return 16},n.prototype.getGradientRecents=function(){return[]},n.prototype.getGradientCheckerColors=function(){return[.37255,.27]},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),Go=function(){n.set("DPickerColorGradient",wo),So()},vo=function(){n.set("DDialogColorGradient",No),Go()},Po=function(){n.set("DButtonColorGradient",Mo),vo()};const xo=wcardinal.ui.DPickerDates;var Uo=function(t){return xo.format(t)},Wo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return Uo},e.prototype.newTextValue=function(){return new Date},e}(G),Fo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt);const Vo=wcardinal.ui.DPickerDatetimeMask;var Ko=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getMargin=function(){return 8},e.prototype.getMask=function(){return Vo.HOURS|Vo.MINUTES},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"auto"},e.prototype.getLowerBound=function(){return null},e.prototype.isLowerBoundInclusive=function(){return!1},e.prototype.getUpperBound=function(){return null},e.prototype.isUpperBoundInclusive=function(){return!1},e}(h),zo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},e.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},e.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},e}(Ko),jo=["January","February","March","April","May","June","July","August","September","October","November","December"],Xo=["Su","Mo","Tu","We","Th","Fr","Sa"],Yo=function(t){return"".concat(jo[t.getMonth()]," ").concat(t.getFullYear())},Zo=function(){},qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDayLabels=function(){return Xo},e.prototype.getLabelFormatter=function(){return Yo},e.prototype.getDateDecorator=function(){return Zo},e.prototype.getBackButtonOptions=function(){return{title:"Previous"}},e.prototype.getNextButtonOptions=function(){return{title:"Next"}},e.prototype.getDayStart=function(){return 0},e.prototype.getMask=function(){return Vo.DATE|t.prototype.getMask.call(this)},e}(zo),Qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMask=function(){return Vo.DATE},e}(qo);e.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 Jo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return k.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return T.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_back},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(B),$o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.isToggle=function(){return!0},e}(B);e.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 ti=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return k.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return T.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_next},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(B),ei=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getFontSize=function(){return Math.round(1.25*t.prototype.getFontSize.call(this))},e.prototype.newTextValue=function(){return new Date},e.prototype.getInteractive=function(){return i.NONE},e}(we),ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e}(we),ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getInteractive=function(){return i.NONE},e}(h),oi=function(){n.set("DPickerTime",zo)},ii=function(){n.set("DPickerDatetimeButtonBack",Jo),n.set("DPickerDatetimeButtonDate",$o),n.set("DPickerDatetimeButtonNext",ti),n.set("DPickerDatetimeLabelDate",ni),n.set("DPickerDatetimeLabel",ei),n.set("DPickerDatetimeSpace",ri),n.set("DPickerDatetime",qo),oi()},ui=function(){n.set("DPickerDate",Qo),ii()},ai=function(){n.set("DDialogDate",Fo),ui()},pi=function(){n.set("DButtonDate",Wo),ai()};const li=wcardinal.ui.DPickerDatetimes;var ci=function(t,e){return li.format(t,e.getDatetimeMask())},gi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return ci},e.prototype.newTextValue=function(){return new Date},e}(G),si=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt),fi=function(){n.set("DDialogDatetime",si),ii()},hi=function(){n.set("DButtonDatetime",gi),fi()};const yi=wcardinal.ui.toLabel;var di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return yi},e.prototype.newTextValue=function(){return null},e}(G),Di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 250},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(ln),Ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e.prototype.getCornerMask=function(){return a.NONE},e}(gn),Ci=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 480},e.prototype.getFooter=function(){return null},e.prototype.getInputMargin=function(){return 19},e.prototype.isDismissable=function(){return!1},e.prototype.isCategoryDismissable=function(){return!0},e}(Gt),mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDismissLabel=function(){return"None"},e.prototype.getCategoryDismissLabel=function(){return"All"},e}(Ci),ki=function(){n.set("DDialogSelect",mi),n.set("DDialogSelectList",Di),n.set("DDialogSelectListItem",Ti)},Oi=function(){n.set("DButtonSelect",di),ki()};const Ai=wcardinal.ui.DPickerTimes;var Ii=function(t,e){return Ai.format(t,e.getDatetimeMask())},Ei=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return Ii},e.prototype.newTextValue=function(){return new Date},e}(G),_i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt),Bi=function(){n.set("DDialogTime",_i),oi()},Si=function(){n.set("DButtonTime",Ei),Bi()},Li=function(){S(),b(),M(),Po(),Ro(),Oi(),w(),pi(),hi(),P(),U(),F(),z(),j(),Y(),Si(),Z()},Ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCanvasBackgroundColor=function(){return 3026478},e.prototype.getCanvasBackgroundAlpha=function(){return 1},e.prototype.isAmbient=function(){return!0},e.prototype.getCanvasShadow=function(){return"WEAK"},e}(Q),Hi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ri),bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isAmbient=function(){return!0},e.prototype.getBackgroundBase=function(){return g.BACKGROUND_COLOR},e.prototype.getLocalBoundsLimit=function(){return 0},e}(q),Mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(bi),Ni=function(){},wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCurveSplineLabel=function(){return"Spline Curve"},e.prototype.getCurveBezierQuadraticLabel=function(){return"Quadratic Bezier Curve"},e}(Ni),Gi=function(){n.set("EShapePointsFormatter",wi)},vi=function(){n.set("DDiagram",Hi),n.set("DDiagramCanvas",Mi),Gi(),Xr()},Pi=function(t,e,n,r){var o=Math.max(e,n);if(0<t){t*=function(t){if(t<=0||1<=t)return 1;var e=1/t;return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,(e|=e>>32)-(e>>1)}(r);for(var i=o/1e3,u=0;u<10&&t<i;++u)t*=10;if(i<=t)return t}return o},xi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.getLocalBoundsLimit=function(){return 1e3},e.prototype.getOutlineColor=function(t){return null},e.prototype.getSnapGridMajorInterval=function(){return 10},e.prototype.getSnapGridMajorColor=function(){return 10066329},e.prototype.getSnapGridMajorAlpha=function(){return.5},e.prototype.getSnapGridMajorWidth=function(){var t;return Math.max(1,2/(null!==(t=window.devicePixelRatio)&&void 0!==t?t:1))},e.prototype.getSnapGridMajorStyle=function(){return Dt.DASHED|Dt.NON_SCALING},e.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},e.prototype.getSnapGridMinorAlpha=function(){return.125},e.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},e.prototype.getSnapGridSize=function(){return Pi},e.prototype.getSnapTargetColor=function(){return g.HIGHLIGHT_COLOR},e.prototype.getSnapTargetAlpha=function(){return 1},e.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},e}(bi),Ui=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.isThumbnailEnabled=function(){return!1},e.prototype.getThumbnailSize=function(){return null},e.prototype.isSnapEnabled=function(){return!0},e.prototype.isSnapGridVisible=function(){return!0},e.prototype.isSnapGridEnabled=function(){return!0},e.prototype.getSnapGridSize=function(){return 10},e.prototype.isSnapTargetVisible=function(){return!0},e.prototype.isSnapTargetEnabled=function(){return!0},e}(Ri),Wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBaseLayerLabel=function(){return"Base Layer"},e}(Ui),Fi=function(){n.set("DDiagramEditor",Wi),n.set("DDiagramCanvasEditor",xi),Vr(),Gi(),Xr()},Vi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return 38},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getBackgroundColor=function(){return null},e.prototype.getCornerMask=function(){return a.BOTTOM},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(t){t.isFocusable=!1},e}(E);e.add("dialog_layered_header_button_close",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="15 2 5 12"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 2 15 12"></polyline></g>');var Ki=function(t,e){return t-34},zi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getX=function(){return Ki},n.prototype.getY=function(){return"center"},n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getSecondaryImageAlignHorizontal=function(){return T.CENTER},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dialog_layered_header_button_close},n}(B),ji=function(t){return t-1},Xi=function(t){return t-16},Yi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return 8},e.prototype.getY=function(){return ji},e.prototype.getWidth=function(){return Xi},e.prototype.getHeight=function(){return 1},e.prototype.getBackgroundColor=function(t){return g.BORDER_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(t){t.isFocusable=!1},e}(E),Zi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isButtonSpaceLeftEnabled=function(){return!0},e.prototype.isButtonSpaceRightEnabled=function(){return!0},e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(he),qi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getButtonOk=function(){return"OK"},e.prototype.getButtonCancel=function(){return"Cancel"},e}(Zi),Qi=function(){n.set("DDialogLayeredContent",Wt),n.set("DDialogLayeredFooter",qi),n.set("DDialogLayeredHeaderButtonClose",zi),n.set("DDialogLayeredHeaderSeparator",Yi),n.set("DDialogLayeredHeader",Vi),n.set("DDialogLayered",Gt)},Ji=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(oe),$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMessage=function(){return""},e}(Gt),tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},e}($i),eu=function(){n.set("DDialogConfirm",tu),n.set("DDialogConfirmMessage",Ji)},nu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},e}(tu),ru=function(){n.set("DDialogConfirmDelete",nu)},ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},e}(tu),iu=function(){n.set("DDialogConfirmDiscard",ou)},uu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}($i),au=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e}(uu),pu=function(){n.set("DDialogMessage",au)};e.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>');var lu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getHeight=function(){return 90},n.prototype.getImageSource=function(t){return t.isSucceeded?e.mappings.success_mark:null},n.prototype.getImageTintAlpha=function(t){return.75},n}(Ji),cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDoneDelay=function(){return 400},e.prototype.getCloseDelay=function(){return 600},e}($i),gu=function(t){return t.isSucceeded?"Processed successfully":t.isFailed?"Failed to process the request":"Processing..."},su=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e.prototype.getMessage=function(){return gu},e}(cu),fu=function(){n.set("DDialogProcessing",su),n.set("DDialogProcessingMessage",lu)},hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Qt),yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},e}(hu),du=function(){n.set("DDialogSaveAs",yu)},Du=function(){vo(),Lo(),ru(),iu(),eu(),ai(),fi(),Vt(),jt(),Yt(),qt(),Jt(),Qi(),pu(),fu(),du(),ki(),Bi(),$t()},Tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCornerAdjust=function(){return!0},e.prototype.getMargin=function(){return 0},e}(he),Cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isToggle=function(){return!0},e}(G),mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"OFF"},e}(Cu),ku=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isToggle=function(){return!0},e}(G),Ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"ON"},e}(ku),Au=function(){n.set("DInputBoolean",Tu),n.set("DInputBooleanButtonOn",Ou),n.set("DInputBooleanButtonOff",mu)},Iu=function(){de(),Au(),Ne(),ve(),Ue(),Ve(),en(),nn()};const Eu=wcardinal.ui.DLinkMenuItemId;e.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 _u=function(){function t(){}return t.prototype.getImageSource=function(t){return e.mappings.link_mark},t.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Eu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Eu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Eu.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},t}(),Bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLabelOpenLink=function(){return"Open"},e.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},e.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},e}(_u),Su=function(){n.set("DLink",Bu)},Lu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"100%"},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getInteractive=function(){return i.NONE},e.prototype.getAlpha=function(){return.2},e.prototype.getFontSize=function(){return 26},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getImageTintAlpha=function(t){return.2},e.prototype.getImageAlignWith=function(){return k.TEXT},e.prototype.getImageAlignHorizontal=function(){return T.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(E),Ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Lu),Hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"Something went wrong"},e}(Ru),bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Lu),Mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"No items found"},e}(bu),Nu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Lu),wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"Searching"},e}(Nu),Gu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFontSize=function(){return 18},e}(Lu),vu=function(t){function e(){var e=t.call(this)||this;return e._note=Bn.get("DNoteError"),e}return o(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(Gu),Pu=function(t){function e(){var e=t.call(this)||this;return e._note=Bn.get("DNoteNoItemsFound"),e}return o(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(Gu),xu=function(t){function e(){var e=t.call(this)||this;return e._note=Bn.get("DNoteSearching"),e}return o(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(Gu),Uu=function(){n.set("DNote",Lu),n.set("DNoteError",Hu),n.set("DNoteNoItemsFound",Mu),n.set("DNoteSearching",wu),n.set("DNoteSmallError",vu),n.set("DNoteSmallNoItemsFound",Pu),n.set("DNoteSmallSearching",xu)},Wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e}(pn),Fu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getCornerMask=function(){return a.TOP},e.prototype.getBorderColor=function(t){return null},e.prototype.getRowHeight=function(){return 30},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),Vu=function(){function t(){}var e;return t.getBackgroundColor=function(t){return t.inDisabled?t.is(uo.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:t.isInvalid?g.INVALID_BLENDED_ON_BOARD:t.underActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.onHovered||t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.is(uo.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},t.getBackgroundAlpha=function(t){return 1},t.getBorderColor=function(t){return this.BORDER_COLOR},t.getBorderMask=function(t){return t.is(uo.END)?u.ALL:u.NOT_RIGHT},t.getColor=function(t){return g.COLOR},t.getAlpha=function(t){return t.in(uo.HAS_DATA)?t.inEnabled?1:.5:0},t.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?6579300:g.HIGHLIGHT_COLOR},t.getHeight=function(){return"padding"},t.getCornerMask=function(){return a.ALL},e=t,t.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_FROZEN_EVEN=c.brighten(e.BACKGROUND_COLOR,.03),t.BACKGROUND_COLOR_FROZEN_ODD=c.brighten(e.BACKGROUND_COLOR_FROZEN_EVEN,.03),t.BORDER_COLOR=c.darken(e.BACKGROUND_COLOR,.035),t.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.035),t}(),Ku=function(){function t(){}return t.init=function(){e.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>')},t.getImageSource=function(t){return e.mappings.action_mark},t.getImageTintColor=function(t){return Vu.getImageTintColor(t,!0)},t}(),zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(G);Ku.init();var ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getImageSource=function(t){return Ku.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(zu);Ku.init();var Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getImageSource=function(t){return Ku.getImageSource(t)},e}(ee),Yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(G);Ku.init();var Zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getImageSource=function(t){return Ku.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(Yu),qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getImageTintColor=function(t){return Vu.getImageTintColor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e}(E),Qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(qu),Ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getImageTintColor=function(t){return Vu.getImageTintColor(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e}(R),$u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e}(ko),ta=function(t){return xo.format(t)},ea=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getTextFormatter=function(){return ta},e.prototype.newTextValue=function(){return new Date},e}(G),na=function(t,e){return li.format(t,e.getDatetimeMask())},ra=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getTextFormatter=function(){return na},e.prototype.newTextValue=function(){return new Date},e}(G),oa=function(t){return String(Number(t)+1)},ia=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getTextFormatter=function(){return oa},e.prototype.newTextValue=function(){return 0},e}(E),ua=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.RIGHT},e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e}(Me),aa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.RIGHT},e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e}(xe),pa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e}(We),la=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e}(tn);ao.init();var ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getLevelPadding=function(t){return 24+20*t},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1,e.isFocusReverse=!0},e}(h),ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getPaddingLeft=function(){return 0},e}(We),sa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return null},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getImageAlignWith=function(){return k.BORDER},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e.prototype.getImageSource=function(t){return ao.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(_),fa=function(t){function e(){var e=t.call(this)||this;return e._link=Bn.getInstance().get("DLink"),e}return o(e,t),e.prototype.getImageTintColor=function(t){return Vu.getImageTintColor(t,!0)},e.prototype.getImageSource=function(t){return this._link.getImageSource(t)},e}(Qu),ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(Dr),ya=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(Cr),da=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e}(qu),Da=function(t,e){return Ai.format(t,e.getDatetimeMask())},Ta=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Vu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Vu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Vu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Vu.getBorderMask(t)},e.prototype.getColor=function(t){return Vu.getColor(t)},e.prototype.getAlpha=function(t){return Vu.getAlpha(t)},e.prototype.getHeight=function(){return Vu.getHeight()},e.prototype.getCornerMask=function(){return Vu.getCornerMask()},e.prototype.getTextFormatter=function(){return Da},e.prototype.newTextValue=function(){return new Date},e}(G);ao.init();var Ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.getImageAlignWith=function(){return k.PADDING},e.prototype.getImageMarginHorizontal=function(){return-19},e.prototype.getImageSource=function(t){return ao.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(Qu),ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusReverse=!0},e}(he),ka=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR_EVEN=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_ODD=c.brighten(g.BACKGROUND_COLOR_ON_BOARD,.01),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:t.isActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},e.prototype.getWidth=function(){return"100%"},e}(ma),Oa=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.brighten(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.05),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return this.BORDER_COLOR},e.prototype.getBorderMask=function(t){return u.NOT_BOTTOM},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 30},e.prototype.getCursor=function(e){return e.is(uo.RESIZING)?"col-resize":t.prototype.getCursor.call(this,e)},e}(ma),Aa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Oa);e.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),e.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var Ia=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.brighten(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BACKGROUND_COLOR_HOVERED=c.brighten(e.BACKGROUND_COLOR,.08),e.BACKGROUND_COLOR_PRESSED=c.brighten(e.BACKGROUND_COLOR,.32),e.BACKGROUND_COLOR_FROZEN=c.brighten(e.BACKGROUND_COLOR,.02),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.05),e.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.05),e}return o(n,t),n.prototype.getBackgroundColor=function(t){return t.inDisabled||t.on(uo.RESIZING)?t.is(uo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:t.is(uo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBorderColor=function(t){return t.is(uo.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.prototype.getBorderMask=function(t){return t.is(uo.END)?u.ALL:u.NOT_RIGHT},n.prototype.getTextAlignHorizontal=function(){return T.CENTER},n.prototype.getCornerMask=function(){return a.ALL},n.prototype.getHeight=function(){return"padding"},n.prototype.getPaddingLeft=function(){return 10},n.prototype.getPaddingRight=function(){return 10},n.prototype.newTextValue=function(){return null},n.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.getSecondaryImageTintColor=function(e){return e.is(uo.CHECKABLE)?L.getImageTintColor(e):t.prototype.getSecondaryImageTintColor.call(this,e)},n.prototype.getSecondaryImageSource=function(t){return t.is(uo.CHECKABLE)?L.getImageSource(t):null},n.prototype.getSecondaryImageAlignHorizontal=function(){return T.LEFT},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},n.prototype.getTertiaryImageSource=function(t){return t.is(uo.SORTED_ASCENDING)?e.mappings.sorted_ascending:t.is(uo.SORTED_DESCENDING)?e.mappings.sorted_descending:null},n.prototype.getTertiaryImageTintColor=function(e){return t.prototype.getImageTintColor.call(this,e)},n.prototype.getTertiaryImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},n.prototype.getCursor=function(t){return t.isActionable?t.is(uo.HOVERED_ON_EDGE)||t.on(uo.RESIZING)?"col-resize":t.is(uo.CHECKABLE)||t.is(uo.SORTABLE)?"pointer":"":""},n.prototype.getEdgeWidth=function(){return 10},n}(oe),Ea=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ia),_a=function(){n.set("DTableBodyCellActionDialog",ju),n.set("DTableBodyCellActionMenu",Xu),n.set("DTableBodyCellActionPromise",Zu),n.set("DTableBodyCellButton",Qu),n.set("DTableBodyCellCheck",Ju),n.set("DTableBodyCellColor",$u),n.set("DTableBodyCellDate",ea),n.set("DTableBodyCellDatetime",ra),n.set("DTableBodyCellIndex",ia),n.set("DTableBodyCellInputInteger",ua),n.set("DTableBodyCellInputReal",aa),n.set("DTableBodyCellInputTextArea",la),n.set("DTableBodyCellInputText",pa),n.set("DTableBodyCellInputTreeMarker",sa),n.set("DTableBodyCellInputTreeInput",ga),n.set("DTableBodyCellInputTree",ca),n.set("DTableBodyCellLink",fa),n.set("DTableBodyCellSelectDialog",zu),n.set("DTableBodyCellSelectMenu",ha),n.set("DTableBodyCellSelectMultiple",ya),n.set("DTableBodyCellSelectPromise",Yu),n.set("DTableBodyCellTextArea",da),n.set("DTableBodyCellText",qu),n.set("DTableBodyCellTree",Ca),n.set("DTableBodyCellTime",Ta),n.set("DTableBodyRow",ka),n.set("DTableBody",Fu),n.set("DTableCategoryCell",Ea),n.set("DTableCategory",Aa),n.set("DTableHeaderCell",Ia),n.set("DTableHeader",Oa),n.set("DTableRow",ma),n.set("DTable",Wu),M(),Ro(),pi(),hi(),Ne(),Ue(),en(),nn(),ki(),vn()};e.add("button_process_processing",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z" fill="#fff"/></g>'),e.add("button_process_success",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" fill="#fff" /></g>'),e.add("button_process_fail",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" fill="#fff" /></g>');var Ba=function(t){return t.isProcessing?e.mappings.button_process_processing:t.isSucceeded?e.mappings.button_process_success:e.mappings.button_process_fail},Sa=function(t){var e=t.valueOf(_n.PROCESSING);return null!=e?e*Math.PI*.02:0},La=function(){function t(){}return t.prototype.getProcessDoneDelay=function(){return 400},t.prototype.getProcessCloseDelay=function(){return 3e3},t.prototype.isProcessTextEnabled=function(){return!1},t.prototype.isProcessImageEnabled=function(){return!0},t.prototype.getProcessImageIndex=function(){return 0},t.prototype.newProcessImageSource=function(){return Ba},t.prototype.newProcessImageRotation=function(){return Sa},t}(),Ra=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newProcessTextValue=function(){return gu},e}(La),Ha=function(){n.set("DIndicatorProcessing",Ra)},ba=function(){To(),y(),D(),Li(),Do(),J(),Et(),St(),Fi(),vi(),Du(),ue(),se(),fe(),Ha(),Iu(),un(),Su(),fn(),fo(),Pn(),tr(),vn(),Uu(),hr(),lr(),Go(),So(),ui(),ii(),oi(),mr(),_a(),io(),oo()},Ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}($i),Na={__proto__:null,loadThemeDarkBase:y,loadThemeDarkBoard:D,loadThemeDarkButtonAmbient:S,loadThemeDarkButtonCheckRight:b,loadThemeDarkButtonCheck:M,loadThemeDarkButtonDanger:w,loadThemeDarkButtonFile:P,loadThemeDarkButtonLink:U,loadThemeDarkButtonPrimary:F,loadThemeDarkButtonRadioRight:z,loadThemeDarkButtonRadio:j,loadThemeDarkButtonSecondary:Y,loadThemeDarkButton:Z,loadThemeDarkCanvasContainer:J,loadThemeDarkChart:Et,loadThemeDarkColor:St,loadThemeDarkDialogFitted:Vt,loadThemeDarkDialogInputBoolean:jt,loadThemeDarkDialogInputInteger:Yt,loadThemeDarkDialogInputReal:qt,loadThemeDarkDialogInputText:Jt,loadThemeDarkDialog:$t,loadThemeDarkDropdown:ne,loadThemeDarkExpandable:ue,loadThemeDarkHtmlElement:se,loadThemeDarkImage:fe,loadThemeDarkInputAndLabel:de,loadThemeDarkInputInteger:Ne,loadThemeDarkInputLabel:ve,loadThemeDarkInputReal:Ue,loadThemeDarkInputSearch:Ve,loadThemeDarkInputTextArea:en,loadThemeDarkInputText:nn,loadThemeDarkLayout:un,loadThemeDarkList:fn,loadThemeDarkMenuBar:Pn,loadThemeDarkMenuSided:tr,loadThemeDarkMenu:vn,loadThemeDarkPagination:lr,loadThemeDarkPane:hr,loadThemeDarkScrollBar:fr,loadThemeDarkSelect:mr,loadThemeDarkShapeActionValue:Vr,loadThemeDarkShape:Xr,loadThemeDarkSlider:oo,loadThemeDarkText:io,loadThemeDarkTree:fo,loadThemeDarkView:Do,loadThemeDark:To,loadThemeDarkEnUsAll:ba,loadThemeDarkEnUsButtonAll:Li,loadThemeDarkEnUsButtonColorGradient:Po,loadThemeDarkEnUsButtonColor:Ro,loadThemeDarkEnUsButtonDate:pi,loadThemeDarkEnUsButtonDatetime:hi,loadThemeDarkEnUsButtonSelect:Oi,loadThemeDarkEnUsButtonTime:Si,loadThemeDarkEnUsDiagramEditor:Fi,loadThemeDarkEnUsDiagram:vi,loadThemeDarkEnUsDialogAll:Du,loadThemeDarkEnUsDialogColorGradient:vo,loadThemeDarkEnUsDialogColor:Lo,loadThemeDarkEnUsDialogConfirmDelete:ru,loadThemeDarkEnUsDialogConfirmDiscard:iu,loadThemeDarkEnUsDialogConfirm:eu,loadThemeDarkEnUsDialogDate:ai,loadThemeDarkEnUsDialogDatetime:fi,loadThemeDarkEnUsDialogLayered:Qi,loadThemeDarkEnUsDialogMessage:pu,loadThemeDarkEnUsDialogProcessing:fu,loadThemeDarkEnUsDialogSaveAs:du,loadThemeDarkEnUsDialogSelect:ki,loadThemeDarkEnUsDialogTime:Bi,loadThemeDarkEnUsIndicatorProcessing:Ha,loadThemeDarkEnUsInputAll:Iu,loadThemeDarkEnUsInputBoolean:Au,loadThemeDarkEnUsLink:Su,loadThemeDarkEnUsNote:Uu,loadThemeDarkEnUsPickerColorGradient:Go,loadThemeDarkEnUsPickerColor:So,loadThemeDarkEnUsPickerDate:ui,loadThemeDarkEnUsPickerDatetime:ii,loadThemeDarkEnUsPickerTime:oi,loadThemeDarkEnUsShapePointsFormatter:Gi,loadThemeDarkEnUsTable:_a,DThemeDarkAtlas:e,DThemeDarkBase:h,DThemeDarkBoard:d,DThemeDarkButtonAmbient:B,DThemeDarkButtonBase:_,DThemeDarkButtonCheckRight:H,DThemeDarkButtonCheck:R,DThemeDarkButtonChecks:L,DThemeDarkButtonColorGradient:Mo,DThemeDarkButtonColor:ko,DThemeDarkButtonDanger:N,DThemeDarkButtonDate:Wo,DThemeDarkButtonDatetime:gi,DThemeDarkButtonFile:v,DThemeDarkButtonLink:x,DThemeDarkButtonPrimary:W,DThemeDarkButtonRadioRight:K,DThemeDarkButtonRadio:V,DThemeDarkButtonSecondary:X,DThemeDarkButtonSelect:di,DThemeDarkButtonTime:Ei,DThemeDarkButton:G,DThemeDarkCanvasContainer:Q,DThemeDarkCanvas:q,DThemeDarkChartAxisBase:it,DThemeDarkChartAxisXDatetime:pt,DThemeDarkChartAxisX:ut,DThemeDarkChartAxisY:lt,DThemeDarkChartCoordinateTick:gt,DThemeDarkChartCoordinateTransform:st,DThemeDarkChartCoordinate:ct,DThemeDarkChartLegendItem:ht,DThemeDarkChartLegend:ft,DThemeDarkChartOverview:yt,DThemeDarkChartPlotArea:dt,DThemeDarkChartSelectionGridlineX:kt,DThemeDarkChartSelectionGridlineY:Ot,DThemeDarkChartSelectionMarker:It,DThemeDarkChartSelectionShape:mt,DThemeDarkChart:$,DThemeDarkColorRecent:_t,DThemeDarkColorStandard:Bt,DThemeDarkConstants:g,DThemeDarkContent:cr,DThemeDarkDiagramBase:Ri,DThemeDarkDiagramCanvasBase:bi,DThemeDarkDiagramCanvasEditor:xi,DThemeDarkDiagramCanvas:Mi,DThemeDarkDiagramEditor:Ui,DThemeDarkDiagram:Hi,DThemeDarkDialogColorGradient:No,DThemeDarkDialogColor:Oo,DThemeDarkDialogConfirmDelete:Ma,DThemeDarkDialogConfirmMessage:Ji,DThemeDarkDialogConfirm:$i,DThemeDarkDialogDate:Fo,DThemeDarkDialogDatetime:si,DThemeDarkDialogFittedContent:Ft,DThemeDarkDialogFitted:vt,DThemeDarkDialogInputBoolean:zt,DThemeDarkDialogInputInteger:Xt,DThemeDarkDialogInputReal:Zt,DThemeDarkDialogInputText:Qt,DThemeDarkDialogInput:Kt,DThemeDarkDialogLayeredContent:Wt,DThemeDarkDialogLayeredFooter:Zi,DThemeDarkDialogLayeredHeaderButtonClose:zi,DThemeDarkDialogLayeredHeaderSeparator:Yi,DThemeDarkDialogLayeredHeader:Vi,DThemeDarkDialogLayered:Gt,DThemeDarkDialogMessage:uu,DThemeDarkDialogProcessingMessage:lu,DThemeDarkDialogProcessing:cu,DThemeDarkDialogSaveAs:hu,DThemeDarkDialogSelectListItem:Ti,DThemeDarkDialogSelectList:Di,DThemeDarkDialogSelect:Ci,DThemeDarkDialogTime:_i,DThemeDarkDialog:wt,DThemeDarkDropdownBase:te,DThemeDarkDropdown:ee,DThemeDarkExpandableHeader:ie,DThemeDarkExpandable:re,DThemeDarkExpandables:An,DThemeDarkFont:s,DThemeDarkHtmlElement:ge,DThemeDarkImageBase:E,DThemeDarkImage:oe,DThemeDarkIndicatorProcess:La,DThemeDarkInputAndLabel:ye,DThemeDarkInputBooleanButtonOff:Cu,DThemeDarkInputBooleanButtonOn:ku,DThemeDarkInputBoolean:Tu,DThemeDarkInputInput:Re,DThemeDarkInputInteger:Me,DThemeDarkInputLabel:Ge,DThemeDarkInputNumber:He,DThemeDarkInputReal:xe,DThemeDarkInputSearch:Fe,DThemeDarkInputTextArea:tn,DThemeDarkInputText:We,DThemeDarkInput:Ce,DThemeDarkLayoutBoard:rn,DThemeDarkLayoutHorizontal:he,DThemeDarkLayoutSpace:on,DThemeDarkLayoutVertical:Ut,DThemeDarkLayout:xt,DThemeDarkLink:_u,DThemeDarkListItemAmbient:sn,DThemeDarkListItem:gn,DThemeDarkListItems:cn,DThemeDarkList:ln,DThemeDarkMenuBarItem:yn,DThemeDarkMenuBar:hn,DThemeDarkMenuItemBase:Dn,DThemeDarkMenuItemCheck:mn,DThemeDarkMenuItemExpandableBody:On,DThemeDarkMenuItemExpandableHeader:In,DThemeDarkMenuItemExpandableItemCheck:En,DThemeDarkMenuItemExpandableItemLink:Ln,DThemeDarkMenuItemExpandableItemMenu:Hn,DThemeDarkMenuItemExpandableItemSeparator:Mn,DThemeDarkMenuItemExpandableItemSpace:wn,DThemeDarkMenuItemExpandableItemText:Gn,DThemeDarkMenuItemExpandable:kn,DThemeDarkMenuItemLink:Sn,DThemeDarkMenuItemMenu:Rn,DThemeDarkMenuItemSeparator:bn,DThemeDarkMenuItemSpace:Nn,DThemeDarkMenuItemText:Cn,DThemeDarkMenuItem:Tn,DThemeDarkMenuSidedContent:Un,DThemeDarkMenuSidedItemCheck:Wn,DThemeDarkMenuSidedItemExpandableItemCheck:Vn,DThemeDarkMenuSidedItemExpandableItemLink:Kn,DThemeDarkMenuSidedItemExpandableItemMenu:zn,DThemeDarkMenuSidedItemExpandableItemSeparator:jn,DThemeDarkMenuSidedItemExpandableItemSpace:Xn,DThemeDarkMenuSidedItemExpandableItemText:Yn,DThemeDarkMenuSidedItemExpandable:Fn,DThemeDarkMenuSidedItemLink:Zn,DThemeDarkMenuSidedItemMenu:qn,DThemeDarkMenuSidedItemSeparator:Qn,DThemeDarkMenuSidedItemSpace:Jn,DThemeDarkMenuSidedItemText:$n,DThemeDarkMenuSided:xn,DThemeDarkMenu:dn,DThemeDarkNoteError:Ru,DThemeDarkNoteNoItemsFound:bu,DThemeDarkNoteSearching:Nu,DThemeDarkNoteSmallError:vu,DThemeDarkNoteSmallNoItemsFound:Pu,DThemeDarkNoteSmallSearching:xu,DThemeDarkNoteSmall:Gu,DThemeDarkNote:Lu,DThemeDarkPaginationButtonLast:rr,DThemeDarkPaginationButtonNext:or,DThemeDarkPaginationButtonPage:ir,DThemeDarkPaginationButtonPrevious:ur,DThemeDarkPaginationButtonTop:ar,DThemeDarkPaginationDots:nr,DThemeDarkPaginationPage:pr,DThemeDarkPagination:er,DThemeDarkPane:pn,DThemeDarkPickerColorGradient:wo,DThemeDarkPickerColor:_o,DThemeDarkPickerDatetimeButtonBack:Jo,DThemeDarkPickerDatetimeButtonDate:$o,DThemeDarkPickerDatetimeButtonNext:ti,DThemeDarkPickerDatetimeLabelDate:ni,DThemeDarkPickerDatetimeLabel:ei,DThemeDarkPickerDatetimeSpace:ri,DThemeDarkPickerTime:Ko,DThemeDarkScrollBarThumb:sr,DThemeDarkScrollBar:gr,DThemeDarkSelectMultiple:Cr,DThemeDarkSelect:Dr,DThemeDarkSliderHorizontal:Zr,DThemeDarkSliderLabel:qr,DThemeDarkSliderThumb:Jr,DThemeDarkSliderTrackHorizontal:to,DThemeDarkSliderTrackVertical:eo,DThemeDarkSliderTrack:$r,DThemeDarkSliderValue:no,DThemeDarkSliderVertical:ro,DThemeDarkSlider:Yr,DThemeDarkSliders:Qr,DThemeDarkTableBodyCellActionDialog:ju,DThemeDarkTableBodyCellActionMenu:Xu,DThemeDarkTableBodyCellActionPromise:Zu,DThemeDarkTableBodyCellActions:Ku,DThemeDarkTableBodyCellButton:Qu,DThemeDarkTableBodyCellCheck:Ju,DThemeDarkTableBodyCellColor:$u,DThemeDarkTableBodyCellDate:ea,DThemeDarkTableBodyCellDatetime:ra,DThemeDarkTableBodyCellIndex:ia,DThemeDarkTableBodyCellInputInteger:ua,DThemeDarkTableBodyCellInputReal:aa,DThemeDarkTableBodyCellInputTextArea:la,DThemeDarkTableBodyCellInputText:pa,DThemeDarkTableBodyCellInputTreeInput:ga,DThemeDarkTableBodyCellInputTreeMarker:sa,DThemeDarkTableBodyCellInputTree:ca,DThemeDarkTableBodyCellLink:fa,DThemeDarkTableBodyCellSelectDialog:zu,DThemeDarkTableBodyCellSelectMenu:ha,DThemeDarkTableBodyCellSelectMultiple:ya,DThemeDarkTableBodyCellSelectPromise:Yu,DThemeDarkTableBodyCellTextArea:da,DThemeDarkTableBodyCellText:qu,DThemeDarkTableBodyCellTime:Ta,DThemeDarkTableBodyCellTree:Ca,DThemeDarkTableBodyCellTrees:ao,DThemeDarkTableBodyCells:Vu,DThemeDarkTableBodyRow:ka,DThemeDarkTableBody:Fu,DThemeDarkTableCategoryCell:Ea,DThemeDarkTableCategory:Aa,DThemeDarkTableHeaderCell:Ia,DThemeDarkTableHeader:Oa,DThemeDarkTableRow:ma,DThemeDarkTable:Wu,DThemeDarkTextBase:I,DThemeDarkText:we,DThemeDarkTreeItemButton:go,DThemeDarkTreeItemNonEditable:so,DThemeDarkTreeItemText:co,DThemeDarkTreeItems:po,DThemeDarkTree:lo,DThemeDarkView:yo,DThemeDark:n,EThemeDarkShapeActionValue:Fr,EThemeDarkShapePointsFormatter:Ni,EThemeDarkShape:jr,DThemeDarkEnUsDiagramEditor:Wi,DThemeDarkEnUsDialogConfirmDelete:nu,DThemeDarkEnUsDialogConfirmDiscard:ou,DThemeDarkEnUsDialogConfirm:tu,DThemeDarkEnUsDialogLayeredFooter:qi,DThemeDarkEnUsDialogMessage:au,dThemeDarkEnUsDialogProcessingMessage:gu,DThemeDarkEnUsDialogProcessing:su,DThemeDarkEnUsDialogSaveAs:yu,DThemeDarkEnUsDialogSelect:mi,DThemeDarkEnUsIndicatorProcessing:Ra,DThemeDarkEnUsInputBooleanButtonOff:mu,DThemeDarkEnUsInputBooleanButtonOn:Ou,DThemeDarkEnUsLink:Bu,DThemeDarkEnUsNoteError:Hu,DThemeDarkEnUsNoteNoItemsFound:Mu,DThemeDarkEnUsNoteSearching:wu,DThemeDarkEnUsPickerColor:Bo,DThemeDarkEnUsPickerDate:Qo,DThemeDarkEnUsPickerDatetime:qo,DThemeDarkEnUsPickerTime:zo,EThemeDarkEnUsShapePointsFormatter:wi};ba();var wa=window;wa.wcardinal=wa.wcardinal||{};var Ga=wa.wcardinal.ui=wa.wcardinal.ui||{},va=Na;for(var Pa in va)Ga[Pa]=va[Pa]}(PIXI);
9
+ !function(t){"use strict";var e=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:t.SCALE_MODES.LINEAR,mipmap:t.MIPMAP_MODES.OFF}),n=function(){function t(){this._instances={}}return t.prototype.get=function(e){var n=this._instances[e];if(null!=n)return n;var r=t._classes[e];if(null!=r)return this._instances[e]=new r;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.set=function(t,e){return this._instances[t]=e,this},t.prototype.getClass=function(e){var n=t._classes[e];if(null!=n)return n;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.setClass=function(e,n){return t._classes[e]=n,this},t.prototype.getAtlas=function(){return e},t.set=function(t,e){this._classes[t]=e},t._classes={},t}(),r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,u=wcardinal.ui.DBorderMask,a=wcardinal.ui.DCornerMask,p=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,c=wcardinal.ui.UtilRgb;var g=function(){function t(){}return t.COLOR=13421772,t.ACTIVE_COLOR=0,t.BORDER_COLOR=4868682,t.BACKGROUND_COLOR=3026478,t.BACKGROUND_COLOR_ON_BOARD=2039583,t.HIGHLIGHT_COLOR=2267123,t.HIGHLIGHT_ALPHA=.2,t.HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_COLOR=5592405,t.WEAK_HIGHLIGHT_ALPHA=.2,t.WEAK_HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.INVALID_COLOR=14290446,t.INVALID_ALPHA=.2,t.INVALID_BLENDED=c.blend(t.BACKGROUND_COLOR,t.INVALID_COLOR,t.INVALID_ALPHA),t.INVALID_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.INVALID_COLOR,t.INVALID_ALPHA),t}(),s=function(){function t(){}return t.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic UI","Meiryo UI",sans-serif'},t.prototype.getFontSize=function(){return 14},t.prototype.getColor=function(t){return g.COLOR},t.prototype.getFontWeight=function(){return"normal"},t.prototype.getFontStyle=function(){return"normal"},t.prototype.getFontVariant=function(){return"normal"},t.prototype.getAlpha=function(t){return t.inDisabled?.5:1},t.prototype.getLineHeight=function(){return 30},t}(),f=function(t,n,r){var o=2*n;e.add(t,o,o,"<g><defs>"+'<radialGradient id="'.concat(t,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*r,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*r,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*r,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*r,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*r,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*r,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*r,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(o,'" height="').concat(o,'" fill="url(#').concat(t,'_filter)"/>')+"</g>")};f("shadow_weak",24,.72),f("shadow",48,.72),e.add("background",16,16,'<g><defs><radialGradient id="background_filter"><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(#background_filter)"/></g>');var h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getX=function(){return 0},n.prototype.getY=function(){return 0},n.prototype.getHeight=function(){return 100},n.prototype.getWidth=function(){return 100},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBackgroundTexture=function(){return e.mappings.background},n.prototype.getBorderColor=function(t){return null},n.prototype.getBorderAlpha=function(t){return 1},n.prototype.getBorderWidth=function(t){return 1},n.prototype.getBorderAlign=function(t){return 0},n.prototype.getBorderMask=function(t){return u.NONE},n.prototype.getBorderTexture=function(){return e.mappings.background},n.prototype.getPaddingLeft=function(){return 0},n.prototype.getPaddingRight=function(){return 0},n.prototype.getPaddingTop=function(){return 0},n.prototype.getPaddingBottom=function(){return 0},n.prototype.getCornerRadius=function(){return 3},n.prototype.getCornerMask=function(){return a.NONE},n.prototype.getOutlineColor=function(t){return g.HIGHLIGHT_COLOR},n.prototype.getOutlineAlpha=function(t){return t.isFocused?1:0},n.prototype.getOutlineWidth=function(t){return 1},n.prototype.getOutlineOffset=function(t){return 0},n.prototype.getOutlineAlign=function(t){return 0},n.prototype.getOutlineMask=function(t){return u.NONE},n.prototype.getClearType=function(){return p.NONE},n.prototype.getShadow=function(){return null},n.prototype.getInteractive=function(){return i.SELF},n.prototype.newState=function(t){},n.prototype.getTitle=function(){return""},n.prototype.getWeight=function(){return-1},n.prototype.newShadow=function(){return new l(e.mappings.shadow,48,48,0,4.8)},n.prototype.newShadowWeak=function(){return new l(e.mappings.shadow_weak,24,24,0,2.4)},n.prototype.getCursor=function(t){return""},n}(s),y=function(){n.set("DBase",h)},d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.COLOR=2894892,e}return o(e,t),e.prototype.getBackgroundColor=function(){return this.COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getInteractive=function(){return i.BOTH},e}(h),D=function(){n.set("DBoard",d)};const T=wcardinal.ui.DAlignHorizontal,C=wcardinal.ui.DButtonBaseWhen,m=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,O=wcardinal.ui.DDynamicTextStyleWordWrap,A=wcardinal.ui.toString;var I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getTextStyleClipping=function(){return!0},e.prototype.getTextStyleFitting=function(){return!1},e.prototype.getTextStyleWordWrap=function(){return O.NONE},e.prototype.getTextFormatter=function(){return A},e.prototype.getTextValue=function(t){},e.prototype.newTextValue=function(){},e}(h),E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageAlignHorizontal=function(){return T.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.getImageAlignWith=function(){return k.TEXT},e.prototype.getImageMarginHorizontal=function(){return 5},e.prototype.getImageMarginVertial=function(){return 5},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return this.getAlpha(t)},e.prototype.getImageRotation=function(t){return 0},e.prototype.getImageSource=function(t){return null},e.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getSecondaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getSecondaryImageRotation=function(t){return this.getImageRotation(t)},e.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getTertiaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getTertiaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getTertiaryImageRotation=function(t){return this.getImageRotation(t)},e}(I),_=function(t){function e(e,n,r){void 0===e&&(e=4737096),void 0===n&&(n=.017),void 0===r&&(r=.034);var o=t.call(this)||this;return o.BACKGROUND_COLOR=e,o.BACKGROUND_COLOR_HOVERED=c.brighten(e,n),o.BACKGROUND_COLOR_PRESSED=c.brighten(e,r),o.OUTLINE_COLOR=c.darken(e,.75),o}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getColor=function(e){return e.inDisabled||!e.isActive?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return t.isActive?this.getOutlineColorActive(t):this.getOutlineColorNonActive(t)},e.prototype.getOutlineColorActive=function(t){return this.OUTLINE_COLOR},e.prototype.getOutlineColorNonActive=function(e){return t.prototype.getOutlineColor.call(this,e)},e.prototype.getOutlineOffset=function(t){return t.isActive?this.getOutlineOffsetActive(t):this.getOutlineOffsetNonActive(t)},e.prototype.getOutlineOffsetActive=function(t){return-1},e.prototype.getOutlineOffsetNonActive=function(e){return t.prototype.getOutlineOffset.call(this,e)},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return 100},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.isToggle=function(){return!1},e.prototype.getWhen=function(){return C.CLICKED},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(E),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?g.HIGHLIGHT_COLOR:g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){if(t.inEnabled){if(t.isActive)return 1;if(t.isPressed)return 2*g.WEAK_HIGHLIGHT_ALPHA;if(t.isHovered)return g.WEAK_HIGHLIGHT_ALPHA}return 0},e.prototype.getBorderColor=function(t){return null},e}(_),S=function(){n.set("DButtonAmbient",B)};e.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>'),e.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 t(){}return t.getImageTintColor=function(t){return t.inDisabled||t.inReadOnly||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},t.getImageSource=function(t){return t.isActive?e.mappings.button_check_mark_on:e.mappings.button_check_mark_off},t}(),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},e.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},e.prototype.getImageTintColor=function(t){return L.getImageTintColor(t)},e.prototype.isToggle=function(){return!0},e.prototype.getImageSource=function(t){return L.getImageSource(t)},e}(B),H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageAlignWith=function(){return k.PADDING},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e}(R),b=function(){n.set("DButtonCheckRight",H)},M=function(){n.set("DButtonCheck",R)},N=function(t){function e(){return t.call(this,15702682,.1,.2)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(_),w=function(){n.set("DButtonDanger",N)},G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(_),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(G),x=function(){n.set("DButtonFile",v)},P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(B),U=function(){n.set("DButtonLink",P)},F=function(t){function e(){return t.call(this,g.HIGHLIGHT_COLOR,.1,.2)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(_),W=function(){n.set("DButtonPrimary",F)};e.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>'),e.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 V=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},n.prototype.getColor=function(t){return g.COLOR},n.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},n.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},n.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},n.prototype.getImageTintColor=function(t){return t.inDisabled||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.isToggle=function(){return!0},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.button_radio_mark_on:e.mappings.button_radio_mark_off},n}(B),K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageAlignWith=function(){return k.PADDING},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e}(V),z=function(){n.set("DButtonRadioRight",K)},j=function(){n.set("DButtonRadio",V)},X=function(t){function e(){return t.call(this,12096758,.1,.2)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):0},e}(_),Z=function(){n.set("DButtonSecondary",X)},Y=function(){n.set("DButton",G)},q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(){return 4737096},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getInteractive=function(){return i.BOTH},e}(h),Q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 32},e.prototype.getPaddingTop=function(){return 32},e.prototype.getPaddingRight=function(){return 32},e.prototype.getPaddingBottom=function(){return 32},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getInteractive=function(){return i.BOTH},e}(h),J=function(){n.set("DCanvasContainer",Q),n.set("DCanvas",q)},$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return 80},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingBottom=function(){return 70},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h);const tt=wcardinal.ui.DChartAxisPosition,et=wcardinal.ui.DChartAxisTickPosition,nt=wcardinal.ui.EShapeTextAlignHorizontal,rt=wcardinal.ui.EShapeTextAlignVertical,ot=wcardinal.ui.EShapeTextDirection;var it=function(){function t(){}return t.prototype.getPosition=function(){return tt.BOTTOM},t.prototype.getPadding=function(){return 75},t.prototype.getLabelAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getLabelAlignVertical=function(t){switch(t){case tt.TOP:return rt.OUTSIDE_TOP;case tt.BOTTOM:return rt.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return rt.MIDDLE}},t.prototype.getLabelPaddingHorizontal=function(){return 60},t.prototype.getLabelPaddingVertical=function(){return 50},t.prototype.getLabelDirection=function(){return ot.LEFT_TO_RIGHT},t.prototype.getLabelColor=function(){return this.getStrokeColor()},t.prototype.getStyle=function(){},t.prototype.getStrokeEnable=function(){return!0},t.prototype.getStrokeColor=function(){},t.prototype.getStrokeAlpha=function(){},t.prototype.getStrokeWidth=function(){},t.prototype.getStrokeAlign=function(){},t.prototype.getStrokeSide=function(){},t.prototype.getStrokeStyle=function(){},t.prototype.getTickEnable=function(){return!0},t.prototype.getMajorTickCount=function(){return 3},t.prototype.getMajorTickCapacity=function(t){return 2*t},t.prototype.getMajorTickStep=function(){},t.prototype.getMajorTickSize=function(){return 10},t.prototype.getMajorTickPosition=function(){return et.OUTSIDE},t.prototype.getMajorTickStyle=function(){},t.prototype.getMajorTickTextAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getMajorTickTextAlignVertical=function(t){switch(t){case tt.TOP:return rt.OUTSIDE_TOP;case tt.BOTTOM:return rt.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return rt.MIDDLE}},t.prototype.getMajorTickTextDirection=function(){return ot.LEFT_TO_RIGHT},t.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickTextFormat=function(){return"%.2f"},t.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},t.prototype.getMajorTickTextPaddingVertical=function(){return 15},t.prototype.getMajorTickStrokeEnable=function(){return!0},t.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMajorTickGridlineEnable=function(){return!0},t.prototype.getMajorTickGridlineStyle=function(){},t.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},t.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},t.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMinorTickCount=function(){return 3},t.prototype.getMinorTickStep=function(){},t.prototype.getMinorTickSize=function(){return 5},t.prototype.getMinorTickPosition=function(){return et.OUTSIDE},t.prototype.getMinorTickStyle=function(){},t.prototype.getMinorTickTextAlignHorizontal=function(t){return this.getMajorTickTextAlignHorizontal(t)},t.prototype.getMinorTickTextAlignVertical=function(t){return this.getMajorTickTextAlignVertical(t)},t.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},t.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickTextFormat=function(){},t.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},t.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},t.prototype.getMinorTickStrokeEnable=function(){return!0},t.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},t}(),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(it),at=function(t,e,n){var r=Math.abs(e-t)/n;if(r<=10)return r<=1.33?1:r<=2.86?2:r<=6.67?5:10;if(r<=100)return r<=13.33?10:r<=28.57?20:r<=66.67?50:100;if(r<=1e3)return r<=133.33?100:r<=285.71?200:r<=666.67?500:1e3;if(r<=1e4)return r<=1333.33?1e3:r<=2857.14?2e3:r<=6666.66?5e3:1e4;if(r<=12e4)return r<=13333.33?1e4:r<=24e3?2e4:r<=4e4?3e4:r<=72e3?6e4:r<=102857.14?9e4:12e4;if(r<=108e5)return r<=171428.57?12e4:r<=4e5?3e5:r<=8e5?6e5:r<=144e4?12e5:r<=24e5?18e5:r<=432e4?36e5:r<=6171428.57?54e5:r<=8e6?72e5:r<=9818181.82?9e6:108e5;var o=36e5,i=r/o;if(i<=24)return i<=1.33?o:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var u=i/24,a=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),p=u/a;return p<=1.33?864e5*a:p<=2.86?1728e5*a:p<=6.67?432e6*a:864e6*a},pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},e.prototype.getMajorTickStep=function(){return at},e}(ut),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPosition=function(){return tt.LEFT},e.prototype.getLabelDirection=function(){return ot.BOTTOM_TO_TOP},e}(it),ct=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),gt=function(){function t(){}return t.prototype.toStep=function(t,e,n){var r=Math.abs(e-t)/n,o=Math.floor(Math.log(r)/Math.LN10),i=Math.pow(10,o),u=r/i;return u<=1.33?i:u<=2.86?2*i:u<=6.67?5*i:10*i},t}(),st=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(h),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(h),yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(h),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"padding"},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingBottom=function(){return 10},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getMargin=function(){return 20},e}(h);const Dt=wcardinal.ui.EShapeStrokeStyle,Tt=wcardinal.ui.EShapeBar,Ct=wcardinal.ui.EShapeBarPosition;var mt=function(){},kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Tt;return e.points.position=Ct.TOP,e.stroke.style=Dt.DASHED,e.stroke.alpha=.75,e},e}(mt),Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Tt;return e.points.position=Ct.LEFT,e.stroke.style=Dt.DASHED,e.stroke.alpha=.75,e},e}(mt);const At=wcardinal.ui.EShapeCircle;var It=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isEnabled=function(t){return t.isActive},e.prototype.newShape=function(t){var e=new At;return e.size.set(14,14),e.fill.enable=!1,e.stroke.alpha=.75,e},e}(mt),Et=function(){n.set("DChart",$),n.set("DChartAxisX",ut),n.set("DChartAxisXDatetime",pt),n.set("DChartAxisY",lt),n.set("DChartCoordinate",ct),n.set("DChartCoordinateTick",gt),n.set("DChartCoordinateTransform",st),n.set("DChartLegend",ft),n.set("DChartLegendItem",ht),n.set("DChartOverview",yt),n.set("DChartPlotArea",dt),n.set("DChartSelectionGridlineX",kt),n.set("DChartSelectionGridlineY",Ot),n.set("DChartSelectionMarker",It)},_t=function(){function t(){}return t.prototype.getCapacity=function(){return 10},t.prototype.newColors=function(){return[]},t}(),Bt=function(){function t(){}return t.prototype.newColors=function(){for(var t=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],e=10;e<20;++e)t.push(c.brighten(t[e],.75));for(e=10;e<20;++e)t.push(c.brighten(t[e],.45));for(e=10;e<20;++e)t.push(c.brighten(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.45));for(e=10;e<20;++e)t.push(c.darken(t[e],.75));return t},t}(),St=function(){n.set("DColorRecent",_t),n.set("DColorStandard",Bt)};const Lt=wcardinal.ui.DAnimationFadeIn,Rt=wcardinal.ui.DDialogAlign,Ht=wcardinal.ui.DDialogCloseOn,bt=wcardinal.ui.DDialogGestureMode,Mt=wcardinal.ui.DDialogMode,Nt=wcardinal.ui.DDialogState;var wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMode=function(){return Mt.MODAL},e.prototype.closeOn=function(t){switch(t){case Mt.MODAL:case Mt.MENU:return Ht.ESC|Ht.CLICK_OUTSIDE;case Mt.MODELESS:return Ht.NONE}},e.prototype.isSticky=function(t){return!1},e.prototype.isAlwaysOnTop=function(){return!1},e.prototype.isGestureEnabled=function(t){switch(t){case Mt.MODAL:case Mt.MODELESS:return!0;case Mt.MENU:return!1}},e.prototype.getGestureMode=function(t){return bt.DIRTY},e.prototype.getOffsetX=function(t){return 5},e.prototype.getOffsetY=function(t){return 5},e.prototype.getAlign=function(t){return Rt.BOTTOM},e.prototype.newAnimation=function(t){switch(t){case Mt.MODAL:return new Lt;case Mt.MODELESS:case Mt.MENU:return null}},e.prototype.getBackgroundColor=function(t){return t.is(Nt.MENU)?g.BACKGROUND_COLOR_ON_BOARD:g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.is(Nt.MENU)?null:3750201},e.prototype.getOutlineColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getX=function(){return 0},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 400},e.prototype.getHeight=function(){return"auto"},e.prototype.getShadow=function(){return this.newShadow()},e.prototype.getInteractive=function(){return i.BOTH},e}(h),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLayout=function(){},e.prototype.getHeader=function(){return null},e.prototype.getContent=function(){},e.prototype.getFooter=function(){},e}(wt),vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"auto"},e}(Gt);const xt=wcardinal.ui.DLayoutDirection;var Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 5},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getDirection=function(){return xt.VERTICAL},e.prototype.getCornerAdjust=function(){return!1},e.prototype.getMultiplicity=function(){return 1},e.prototype.getReverse=function(){return!1},e}(h),Ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDirection=function(){return xt.VERTICAL},e.prototype.getWidth=function(){return"auto"},e}(Pt),Ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(Ut),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"auto"},e}(Ft),Vt=function(){n.set("DDialogFittedContent",Wt),n.set("DDialogFitted",vt)},Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLabel=function(){return""},e.prototype.getInputMargin=function(){return 32},e}(Gt),zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),jt=function(){n.set("DDialogInputBoolean",zt)},Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),Zt=function(){n.set("DDialogInputInteger",Xt)},Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),qt=function(){n.set("DDialogInputReal",Yt)},Qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Kt),Jt=function(){n.set("DDialogInputText",Qt)},$t=function(){n.set("DDialog",wt)};e.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var te=function(t){function n(){return t.call(this,g.BACKGROUND_COLOR_ON_BOARD)||this}return o(n,t),n.prototype.getSecondaryImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},n.prototype.getSecondaryImageMarginHorizontal=function(){return-20},n.prototype.getPaddingLeft=function(){return 25},n.prototype.getPaddingRight=function(){return 25},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dropdown_mark},n}(_),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return""},e}(te),ne=function(){n.set("DDropdown",ee)},re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?984832:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getCornerMask=function(){return a.ALL},e}(Ut),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(E);e.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>'),e.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 ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isHovered||t.inActive?3026478:null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getCornerMask=function(){return a.ALL},e}(oe),ue=function(){n.set("DExpandableHeader",ie),n.set("DExpandable",re)};const ae=wcardinal.ui.DHtmlElementState,pe=wcardinal.ui.UtilHtmlElementWhen;var le=function(){return null},ce=function(t){var e=document.createElement("div");return t.appendChild(e),e},ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getElementCreator=function(){return le},e.prototype.setElementStyle=function(t,e,n,r,o,i,u){var a=this.getElementStylePointerEvent(e)+this.getElementStylePosition(e,r,o,i)+this.getElementStyleMargin(e)+this.getElementStyleText(e)+this.getElementStyleBackground(e)+this.getElementStyleBorder(e)+this.getElementStylePadding(e,n)+this.getElementStyleOutline(e)+this.getElementStyleClipPath(e,u);t.setAttribute("style",a),e.inReadOnly?t.setAttribute("readonly","readonly"):t.removeAttribute("readonly"),e.inDisabled?t.setAttribute("disabled","disabled"):t.removeAttribute("disabled")},e.prototype.getElementStylePointerEvent=function(t){return t.is(ae.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},e.prototype.getElementStyleBackground=function(t){return"background-color: transparent;"},e.prototype.getElementStyleBorder=function(t){return"border: none; box-sizing: border-box;"},e.prototype.getElementStylePadding=function(t,e){return e?"getLeft"in e?"padding: ".concat(e.getTop(),"px ").concat(e.getRight(),"px ")+"".concat(e.getBottom(),"px ").concat(e.getLeft(),"px;"):"padding: ".concat(e.vertical,"px ").concat(e.horizontal,"px;"):"padding: 0px;"},e.prototype.getElementStyleOutline=function(t){return"outline: none;"},e.prototype.getElementStylePositionPosition=function(t,e){if(t){if(e){var n=t.x-e.x,r=t.y-e.y;return"left:".concat(n,"px; top:").concat(r,"px;")}return"left:".concat(t.x,"px; top: ").concat(t.y,"px;")}return"left: 0px; top: 0px;"},e.prototype.getElementStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getElementStylePositionTransform=function(t){return t?"transform: matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.tx,",").concat(t.ty,");"):""},e.prototype.getElementStylePosition=function(t,e,n,r){return"position: absolute;"+this.getElementStylePositionPosition(e,r)+this.getElementStylePositionSize(e)+this.getElementStylePositionTransform(n)},e.prototype.getElementStyleText=function(t){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(t).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},e.prototype.getElementStyleMargin=function(t){return"margin: 0;"},e.prototype.getElementStyleClipPath=function(t,e){if(null!=e){var n=e.id;return"-webkit-clip-path: url(#".concat(n,"); clip-path: url(#").concat(n,");")}return""},e.prototype.getClipperCreator=function(){return ce},e.prototype.setClipperStyle=function(t,e,n,r,o,i,u){var a="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);t.setAttribute("style",a)},e.prototype.getClipperStyleOverflow=function(t){return t?"overflow: hidden;":"overflow: visible;"},e.prototype.getClipperStylePositionPosition=function(t){return t?"left: ".concat(t.x,"px; top: ").concat(t.y,"px;"):"left: 0px; top: 0px;"},e.prototype.getClipperStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;")+"line-height: ".concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getClipperStylePosition=function(t){return"position: absolute;"+this.getClipperStylePositionPosition(t)+this.getClipperStylePositionSize(t)},e.prototype.isClipperExEnabled=function(){return!1},e.prototype.getBeforeCreator=function(){return ce},e.prototype.setBeforeStyle=function(t){t.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;"),t.setAttribute("tabindex","0")},e.prototype.getAfterCreator=function(){return ce},e.prototype.setAfterStyle=function(t){this.setBeforeStyle(t)},e.prototype.getWhen=function(){return pe.FOCUSED},e.prototype.getSelect=function(){return!1},e}(E),se=function(){n.set("DHtmlElement",ge)},fe=function(){n.set("DImage",oe)},he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDirection=function(){return xt.HORIZONTAL},e.prototype.getHeight=function(){return"auto"},e}(Pt),ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e}(he),de=function(){n.set("DInputAndLabel",ye)},De=function(){return null},Te=function(t){return t},Ce=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_HOVERED=c.brighten(e.BACKGROUND_COLOR,.017),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled||t.inReadOnly?null:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.isInvalid?g.INVALID_COLOR:null},e.prototype.getOutlineColor=function(e){return e.isInvalid?g.INVALID_COLOR:t.prototype.getOutlineColor.call(this,e)},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getWidth=function(){return 100},e.prototype.getPlaceholder=function(){return""},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCursor=function(t){return t.isActionable?"text":""},e.prototype.getEditingFormatter=function(){return this.getTextFormatter()},e.prototype.getEditingUnformatter=function(){return Te},e.prototype.getEditingValidator=function(){return De},e.prototype.getSelect=function(){return!0},e.prototype.getElementStyleBorder=function(t){return"border: 1.5px solid transparent; box-sizing: border-box;"},e}(ge),me="d-theme-dark-input",ke="".concat(me,"-element"),Oe=function(t){var e=t.getElementsByClassName(ke);if(0<e.length)return e[0];var n=document.createElement("input");return n.setAttribute("spellcheck","false"),n.setAttribute("class",ke),t.appendChild(n),n},Ae=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var r=document.createElement("div");return r.setAttribute("class",e),t.appendChild(r),r},Ie="".concat(me,"-clipper"),Ee=function(t){return Ae(t,Ie)},_e="".concat(me,"-before"),Be=function(t){return Ae(t,_e)},Se="".concat(me,"-after"),Le=function(t){return Ae(t,Se)},Re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getElementCreator=function(){return Oe},e.prototype.getClipperCreator=function(){return Ee},e.prototype.getBeforeCreator=function(){return Be},e.prototype.getAfterCreator=function(){return Le},e}(Ce),He=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getStep=function(){return null},e.prototype.getMin=function(){return null},e.prototype.getMax=function(){return null},e.prototype.newTextValue=function(){return 0},e}(Re),be=function(t){var e=parseInt(t,10);return e==e?e:0},Me=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getEditingUnformatter=function(){return be},e}(He),Ne=function(){n.set("DInputInteger",Me)},we=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(I),Ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.RIGHT},e.prototype.getWidth=function(){return 60},e.prototype.getHeight=function(){return this.getLineHeight()},e}(we),ve=function(){n.set("DInputLabel",Ge)},xe=function(t){var e=parseFloat(t);return e==e?e:0},Pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getEditingUnformatter=function(){return xe},e}(He),Ue=function(){n.set("DInputReal",Pe)},Fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return""},e}(Re);e.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 We=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getPaddingRight=function(){return 31},n.prototype.getImageSource=function(t){return e.mappings.input_search},n.prototype.getImageAlignWith=function(){return k.BORDER},n.prototype.getImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 6},n}(Fe),Ve=function(){n.set("DInputSearch",We)},Ke="d-theme-dark-input-text-area",ze="".concat(Ke,"-element"),je=function(t){var e=t.getElementsByClassName(ze);if(0<e.length)return e[0];var n=document.createElement("textarea");return n.setAttribute("spellcheck","false"),n.setAttribute("class",ze),t.appendChild(n),n},Xe=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var r=document.createElement("div");return r.setAttribute("class",e),t.appendChild(r),r},Ze="".concat(Ke,"-clipper"),Ye=function(t){return Xe(t,Ze)},qe="".concat(Ke,"-before"),Qe=function(t){return Xe(t,qe)},Je="".concat(Ke,"-after"),$e=function(t){return Xe(t,Je)},tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getTextStyleWordWrap=function(){return O.NORMAL},e.prototype.getElementCreator=function(){return je},e.prototype.getClipperCreator=function(){return Ye},e.prototype.getBeforeCreator=function(){return Qe},e.prototype.getAfterCreator=function(){return $e},e.prototype.newTextValue=function(){return""},e.prototype.getElementStyleText=function(e){return t.prototype.getElementStyleText.call(this,e)+this.getElementStyleTextResize(e)+this.getElementStyleTextWordWrap(e)},e.prototype.getElementStyleTextResize=function(t){return"resize: none;"},e.prototype.getElementStyleTextWordWrap=function(t){var e="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case O.NORMAL:e+="word-break: normal;";break;default:e+="word-break: break-all;"}return e},e}(Ce),en=function(){n.set("DInputTextArea",tn)},nn=function(){n.set("DInputText",Fe)},rn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),on=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 0},e.prototype.getHeight=function(){return 0},e.prototype.getClearType=function(){return p.BOTH},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),un=function(){n.set("DLayout",Pt),n.set("DLayoutHorizontal",he),n.set("DLayoutSpace",on),n.set("DLayoutVertical",Ut),n.set("DLayoutBoard",rn)};const an=wcardinal.ui.UtilGestureMode;var pn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getOutlineAlign=function(t){return 1},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.getWheelSpeed=function(){return 2.24},e.prototype.getGestureMode=function(){return an.TOUCH},e}(h),ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(pn),cn=function(){function t(t,e,n){this._isStripeEnabled=e,null!=t?(this._backgroundColorEven=t,this._backgroundAlphaEven=1,this._backgroundColorOdd=c.brighten(t,.0075),this._backgroundAlphaOdd=1,this._invalidColor=c.blend(t,g.INVALID_COLOR,g.INVALID_ALPHA),this._invalidAlpha=1,this._highlightColor=n?g.HIGHLIGHT_COLOR:c.blend(t,g.HIGHLIGHT_COLOR,g.HIGHLIGHT_ALPHA),this._highlightAlpha=1,this._weakHighlightColor=c.blend(t,g.WEAK_HIGHLIGHT_COLOR,g.WEAK_HIGHLIGHT_ALPHA),this._weakHighlightAlpha=1):(this._backgroundColorEven=16777215,this._backgroundAlphaEven=0,this._backgroundColorOdd=16777215,this._backgroundAlphaOdd=.0075,this._invalidColor=g.INVALID_COLOR,this._invalidAlpha=g.INVALID_ALPHA,this._highlightColor=g.HIGHLIGHT_COLOR,this._highlightAlpha=n?1:g.HIGHLIGHT_ALPHA,this._weakHighlightColor=g.WEAK_HIGHLIGHT_COLOR,this._weakHighlightAlpha=g.WEAK_HIGHLIGHT_ALPHA),this._imageTintColorWeak=g.COLOR,this._imageTintColorHighlight=n?g.ACTIVE_COLOR:g.COLOR,n?(this._color=g.COLOR,this._colorActive=g.ACTIVE_COLOR):(this._color=g.COLOR,this._colorActive=g.COLOR)}return t.prototype.getBackgroundColor=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null:t.isInvalid?this._invalidColor:t.isActive?this._highlightColor:t.isHovered?this._weakHighlightColor:this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null},t.prototype.getBackgroundAlpha=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0:t.isInvalid?this._invalidAlpha:t.isActive?this._highlightAlpha:t.isHovered?this._weakHighlightAlpha:this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0},t.prototype.getBorderColor=function(t){return null},t.prototype.getBorderMask=function(t){return u.NONE},t.prototype.getColor=function(t){return t.isActive?this._colorActive:this._color},t.prototype.getAlpha=function(t){return t.inEnabled?1:0},t.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?this._imageTintColorWeak:this._imageTintColorHighlight},t.prototype.getHeight=function(){return 30},t.prototype.getCornerMask=function(){return a.ALL},t.prototype.getCursor=function(t){return t.isActionable?"pointer":""},t}(),gn=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return o(e,t),e.prototype.newStyle=function(){return new cn(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(E),sn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e}(gn),fn=function(){n.set("DListItemAmbient",sn),n.set("DListItem",gn),n.set("DList",ln)},hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getMargin=function(){return 0},e.prototype.getPaddingLeft=function(){return 5},e.prototype.getPaddingRight=function(){return 5},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(he),yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBorderColor=function(){return null},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"100%"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e.prototype.getTextStyleClipping=function(){return!1},e}(G),dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getOffsetX=function(){return 5},e.prototype.getOffsetY=function(){return 5},e.prototype.getPaddingTop=function(){return 5},e.prototype.getPaddingBottom=function(){return 5},e.prototype.getWidth=function(){return 200},e.prototype.getHeight=function(){return"auto"},e.prototype.getMargin=function(){return 0},e.prototype.getShadow=function(){return this.newShadowWeak()},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(Ut),Dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?this.getBackgroundColorActive(t):t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inDisabled?g.WEAK_HIGHLIGHT_ALPHA:t.isActive?this.getBackgroundAlphaActive(t):g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBackgroundAlphaActive=function(t){return g.HIGHLIGHT_ALPHA},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):e.isActive?this.getColorActive(e):t.prototype.getColor.call(this,e)},e.prototype.getColorActive=function(t){return g.COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getTextAlignHorizontal=function(){return T.LEFT},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(oe),Tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlphaActive=function(t){return 1},e.prototype.getColorActive=function(t){return g.ACTIVE_COLOR},e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e}(Dn),Cn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},e.prototype.getShortcutColor=function(t){return this.getColor(t)},e.prototype.getShortcutAlpha=function(t){return.5*this.getAlpha(t)},e}(Tn);e.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>'),e.add("menu_item_mark_check_inactive",14,14,"<g></g>");var mn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getBackgroundColorActive=function(t){return t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},n.prototype.getBackgroundAlphaActive=function(t){return g.WEAK_HIGHLIGHT_ALPHA},n.prototype.getColorActive=function(t){return g.COLOR},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.menu_item_mark_check_active:e.mappings.menu_item_mark_check_inactive},n.prototype.getImageAlignWith=function(){return k.BORDER},n.prototype.getImageMarginHorizontal=function(){return 7},n}(Cn),kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?984832:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return a.ALL},e}(Ut),On=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return a.ALL},e}(Ut),An=function(){function t(){}return t.init=function(){e.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>'),e.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>')},t.getImageOpened=function(){return e.mappings.expandable_opened},t.getImageClosed=function(){return e.mappings.expandable_closed},t}();An.init();var In=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e.prototype.getImageSource=function(t){return t.inActive?An.getImageOpened():An.getImageClosed()},e.prototype.getImageAlignWith=function(){return k.BORDER},e.prototype.getImageMarginHorizontal=function(){return 7},e}(Dn),En=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e.prototype.getImageMarginHorizontal=function(){return t.prototype.getImageMarginHorizontal.call(this)+16},e}(mn);const _n=wcardinal.ui.DBaseState,Bn=wcardinal.ui.DThemes;var Sn=function(t){function e(){var e=t.call(this)||this;return e._link=Bn.getInstance().get("DLink"),e}return o(e,t),e.prototype.getImageSource=function(t){return t.is(_n.NEW_WINDOW)?this._link.getImageSource(t):null},e.prototype.getImageTintAlpha=function(e){return e.isHovered?t.prototype.getImageTintAlpha.call(this,e):0},e.prototype.getImageAlignWith=function(){return k.BORDER},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e}(Cn),Ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Sn);e.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 Rn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getImageSource=function(t){return e.mappings.menu_item_mark_next},n.prototype.getImageAlignWith=function(){return k.BORDER},n.prototype.getImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 12},n}(Tn),Hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Rn),bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBorderColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBorderAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Dn),Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(bn),Nn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(on),wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Nn),Gn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Cn),vn=function(){n.set("DMenu",dn),n.set("DMenuItem",Tn),n.set("DMenuItemCheck",mn),n.set("DMenuItemLink",Sn),n.set("DMenuItemMenu",Rn),n.set("DMenuItemSeparator",bn),n.set("DMenuItemSpace",Nn),n.set("DMenuItemText",Cn),n.set("DMenuItemExpandableBody",On),n.set("DMenuItemExpandableHeader",In),n.set("DMenuItemExpandableItemCheck",En),n.set("DMenuItemExpandableItemLink",Ln),n.set("DMenuItemExpandableItemMenu",Hn),n.set("DMenuItemExpandableItemSeparator",Mn),n.set("DMenuItemExpandableItemSpace",wn),n.set("DMenuItemExpandableItemText",Gn),n.set("DMenuItemExpandable",kn)},xn=function(){n.set("DMenuBarItem",yn),n.set("DMenuBar",hn),vn()},Pn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e}(pn),Un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getMargin=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Ut),Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(mn),Wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(kn),Vn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(En),Kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ln),zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Hn),jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Mn),Xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(wn),Zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Gn),Yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Sn),qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Rn),Qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(bn),Jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Nn),$n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Cn),tr=function(){n.set("DMenuSided",Pn),n.set("DMenuSidedContent",Un),n.set("DMenuSidedItemCheck",Fn),n.set("DMenuSidedItemLink",Yn),n.set("DMenuSidedItemMenu",qn),n.set("DMenuSidedItemSeparator",Qn),n.set("DMenuSidedItemSpace",Jn),n.set("DMenuSidedItemText",$n),n.set("DMenuSidedItemExpandable",Wn),n.set("DMenuSidedItemExpandableItemCheck",Vn),n.set("DMenuSidedItemExpandableItemLink",Kn),n.set("DMenuSidedItemExpandableItemMenu",zn),n.set("DMenuSidedItemExpandableItemSeparator",jn),n.set("DMenuSidedItemExpandableItemSpace",Xn),n.set("DMenuSidedItemExpandableItemText",Zn)},er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getMargin=function(){return 10},e.prototype.getButtonSpace=function(){return 10},e}(he);e.add("pagination_dots",21,21,'<g><circle cx="2" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="11" r="1.1" fill="#fff" stroke="none" /></g>');var nr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getInteractive=function(){return i.NONE},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n.prototype.getImageSource=function(t){return e.mappings.pagination_dots},n.prototype.getImageAlignHorizontal=function(){return T.CENTER},n.prototype.getImageAlignWith=function(){return k.BORDER},n}(E);e.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 rr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_last},n}(B);e.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 or=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_next},n}(B),ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 30},e.prototype.newTextValue=function(){return 0},e.prototype.getTextStyleClipping=function(){return!1},e}(B);e.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 ur=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_previous},n}(B);e.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 ar=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_top},n}(B),pr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e}(E),lr=function(){n.set("DPagination",er),n.set("DPaginationPage",pr),n.set("DPaginationDots",nr),n.set("DPaginationButtonLast",rr),n.set("DPaginationButtonNext",or),n.set("DPaginationButtonPage",ir),n.set("DPaginationButtonPrevious",ur),n.set("DPaginationButtonTop",ar)},cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),gr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return 16777215},e.prototype.getBackgroundAlpha=function(t){return 0},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getFadeOutDelay=function(){return 1500},e}(h),sr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BORDER_COLOR=c.brighten(g.WEAK_HIGHLIGHT_COLOR,.25),e.BORDER_COLOR_DISABLED=c.darken(e.BORDER_COLOR,.75),e.BORDER_COLOR_HOVERED=c.darken(e.BORDER_COLOR,.25),e.BORDER_COLOR_OTHER=c.darken(e.BORDER_COLOR,.5),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return t.inDisabled?this.BORDER_COLOR_DISABLED:t.isHovered||t.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},e.prototype.getBorderAlpha=function(t){return 1},e.prototype.getBorderWidth=function(t){return 3},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getThumbMinimumLength=function(){return 16},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),fr=function(){n.set("DScrollBar",gr),n.set("DScrollBarThumb",sr)},hr=function(){n.set("DPane",pn),n.set("DContent",cr),fr()};const yr=wcardinal.ui.isString;var dr=function(t){if(t){var e=t.text.value;if(yr(e))return e;if(null!=e){var n=e(t.state);if(null!=n)return n}}return""},Dr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return dr},e.prototype.newTextValue=function(){return null},e}(te),Tr=function(t){if(t){for(var e="",n="",r=0,o=t.length;r<o;++r){var i=t[r],u=i.text.value;if(yr(u))e+=n+u,n=", ";else if(null!=u){var a=u(i.state);null!=a&&(e+=n+a,n=", ")}}return e}return""},Cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return Tr},e.prototype.newTextValue=function(){return[]},e}(te),mr=function(){n.set("DSelectMultiple",Cr),n.set("DSelect",Dr),ne()};const kr=wcardinal.ui.EShapeActionMiscExtensions,Or=wcardinal.ui.EShapeActionOpenDialogExtensions,Ar=wcardinal.ui.EShapeActionOpenExtensions,Ir=wcardinal.ui.EShapeActionValueBlinkType,Er=wcardinal.ui.EShapeActionValueChangeColorTarget,_r=wcardinal.ui.EShapeActionValueChangeColorType,Br=wcardinal.ui.EShapeActionValueChangeTextType,Sr=wcardinal.ui.EShapeActionValueGestureOperationType,Lr=wcardinal.ui.EShapeActionValueGestureType,Rr=wcardinal.ui.EShapeActionValueMiscType,Hr=wcardinal.ui.EShapeActionValueOnInputAction,br=wcardinal.ui.EShapeActionValueOpenDialogType,Mr=wcardinal.ui.EShapeActionValueOpenType,Nr=wcardinal.ui.EShapeActionValueOpetyped,wr=wcardinal.ui.EShapeActionValueShowHideType,Gr=wcardinal.ui.EShapeActionValueSubtyped,vr=wcardinal.ui.EShapeActionValueTransformMoveType,xr=wcardinal.ui.EShapeActionValueTransformResizeType,Pr=wcardinal.ui.EShapeActionValueTransformRotateType,Ur=wcardinal.ui.EShapeActionValueTransformType,Fr=wcardinal.ui.EShapeActionValueType;var Wr=function(){function t(){}return t.prototype.toLabel=function(t){var e=t.type;if(t instanceof Gr){var n,r=t.subtype;if(t instanceof Nr){if(null!=(n=this.toOpetypedLabel(e,r,t.opetype,t)))return n}else if(null!=(n=this.toSubtypedLabel(e,r,t)))return n}return this.toTypedLabel(e,t)},t.prototype.toTypedLabel=function(t,e){return"".concat(this.toTypeLabel(t),": ").concat(this.toConditionLabel(e.condition))},t.prototype.toSubtypedLabel=function(t,e,n){var r=this.toTypeLabel(t);switch(t){case Fr.SHOW_HIDE:return"".concat(r,": ").concat(this.toShowHideTypeLabel(e));case Fr.BLINK:return"".concat(r,": ").concat(this.toBlinkTypeLabel(e));case Fr.CHANGE_COLOR:case Fr.CHANGE_COLOR_LEGACY:return"".concat(r,": ").concat(this.toChangeColorTypeLabel(e));case Fr.CHANGE_TEXT:return"".concat(r,": ").concat(this.toChangeTextTypeLabel(e));case Fr.OPEN:return"".concat(r,": ").concat(this.toOpenTypeLabel(e));case Fr.GESTURE:return"".concat(r,": ").concat(this.toGestureTypeLabel(e));case Fr.MISC:return"".concat(r,": ").concat(this.toMiscTypeLabel(e))}return null},t.prototype.toOpetypedLabel=function(t,e,n,r){switch(t){case Fr.TRANSFORM:var o=this.toTransformTypeLabel(e);switch(e){case Ur.ROTATE:return"".concat(o,": ").concat(this.toTransformRotateTypeLabel(n));case Ur.MOVE:return"".concat(o,": ").concat(this.toTransformMoveTypeLabel(n));case Ur.RESIZE:return"".concat(o,": ").concat(this.toTransformResizeTypeLabel(n))}}return null},t.prototype.toTypeLabel=function(t){switch(t){case Fr.SHOW_HIDE:return"Show / hide";case Fr.BLINK:return"Blink";case Fr.TRANSFORM:return"Transform";case Fr.OPEN:return"Open";case Fr.CHANGE_COLOR:case Fr.CHANGE_COLOR_LEGACY:return"Change color";case Fr.CHANGE_FILL_PERCENT:return"Change fill percent";case Fr.CHANGE_TEXT:return"Change text";case Fr.CHANGE_CURSOR:return"Change cursor";case Fr.EMIT_EVENT:return"Emit an event";case Fr.GESTURE:return"Gesture";case Fr.MISC:return"Misc.";default:return Fr.EXTENSION<=t?"Extension":"Unknown"}},t.prototype.toConditionLabel=function(t){return 20<t.length?t.substring(0,20)+"...":t},t.prototype.toBlinkTypeLabel=function(t){switch(t){case Ir.VISIBILITY:return"Visibility";case Ir.BRIGHTEN:return"Brighten";case Ir.DARKEN:return"Darken";case Ir.OPACITY:return"Opacity";case Ir.COLOR_FILL:return"Fill";case Ir.COLOR_STROKE:return"Stroke"}},t.prototype.toShowHideTypeLabel=function(t){switch(t){case wr.SHAPE_SHOW:return"Show";case wr.SHAPE_HIDE:return"Hide";case wr.SHAPE:return"Shape";case wr.LAYER:return"Layer"}},t.prototype.toTransformTypeLabel=function(t){switch(t){case Ur.RESIZE:return"Resize";case Ur.MOVE:return"Move";case Ur.ROTATE:return"Rotate"}},t.prototype.toTransformRotateTypeLabel=function(t){switch(t){case Pr.RELATIVE:return"Relative";case Pr.ABSOLUTE:return"Absolute"}},t.prototype.toTransformMoveTypeLabel=function(t){switch(t){case vr.RELATIVE_X:return"Relative X";case vr.RELATIVE_Y:return"Relative Y";case vr.ABSOLUTE_X:return"Absolute X";case vr.ABSOLUTE_Y:return"Absolute Y";case vr.FORWARD_OR_BACKWARD:return"Forward / backward";case vr.LEFT_OR_RIGHT:return"Left / right"}},t.prototype.toTransformResizeTypeLabel=function(t){switch(t){case xr.ABSOLUTE_SIZE:return"Height & width";case xr.RELATIVE_SIZE:return"Height & width (%)";case xr.ABSOLUTE_HEIGHT:return"Height";case xr.RELATIVE_HEIGHT:return"Height (%)";case xr.ABSOLUTE_WIDTH:return"Width";case xr.RELATIVE_WIDTH:return"Width (%)"}},t.prototype.toChangeColorTypeLabel=function(t){if(t===_r.NONE)return"None";var e="",n="";return t&_r.FILL&&(e+=n+"Fill",n=", "),t&_r.STROKE&&(e+=n+"Stroke",n=", "),t&_r.TEXT&&(e+=n+"Text",n=", "),t&_r.TEXT_OUTLINE&&(e+=n+"Text outline"),e},t.prototype.toChangeColorTargetLabel=function(t){switch(t){case Er.COLOR_AND_ALPHA:return"Color";case Er.COLOR:return"RGB";case Er.ALPHA:return"Alpha";case Er.CODE:return"Dynamic color";case Er.BRIGHTNESS:return"Brightness"}},t.prototype.toChangeTextTypeLabel=function(t){switch(t){case Br.TEXT:return"Text";case Br.NUMBER:return"Number"}},t.prototype.toOpenTypeLabel=function(t){switch(t){case Mr.DIAGRAM_LEGACY:return"Diagram";case Mr.PAGE_LEGACY:return"Page (New window)";case Mr.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Mr.DIALOG_TEXT:return"Dialog (Text)";case Mr.DIALOG_INTEGER:return"Dialog (Integer)";case Mr.DIALOG_REAL:return"Dialog (Real)";case Mr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Mr.DIALOG_DATE:return"Dialog (Date)";case Mr.DIALOG_TIME:return"Dialog (Time)";case Mr.DIALOG_DATETIME:return"Dialog (Datetime)";case Mr.DIAGRAM:return"Diagram";case Mr.PAGE:return"Page";case Mr.DIALOG:return"Dialog";default:if(Mr.EXTENSION<=t){var e=Ar.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toOpenDialogTypeLabel=function(t){switch(t){case br.TEXT:return"Text";case br.INTEGER:return"Integer";case br.REAL:return"Real";case br.BOOLEAN:return"Boolean";case br.DATE:return"Date";case br.TIME:return"Time";case br.DATETIME:return"Datetime";default:if(br.EXTENSION<=t){var e=Or.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toGestureTypeLabel=function(t){switch(t){case Lr.SHAPE:return"Shape";case Lr.LAYER:return"Layer"}},t.prototype.toGestureOperationTypeLabel=function(t){switch(t){case Sr.DRAG:return"Drag";case Sr.PINCH:return"Pinch"}return"Unknown"},t.prototype.toMiscTypeLabel=function(t){switch(t){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(Hr.EMIT_EVENT);case Rr.WRITE_BOTH:return this.toOnInputActionLabel(Hr.WRITE_BOTH);case Rr.WRITE_LOCAL:return this.toOnInputActionLabel(Hr.WRITE_LOCAL);case Rr.WRITE_REMOTE:return this.toOnInputActionLabel(Hr.WRITE_REMOTE);case Rr.HTML_ELEMENT:return"HTML element";case Rr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Rr.SHOW_HIDE_LAYER:return"Show / hide layers";case Rr.GESTURE_LAYER:return"Layer gesture";case Rr.GESTURE:return"Gesture";case Rr.EXECUTE:return"Execute";default:if(Rr.EXTENSION<=t){var e=kr.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toHtmlElementWhenLabel=function(t){switch(t){case pe.CLICKED:return"Clicked";case pe.DOUBLE_CLICKED:return"Double clicked";case pe.FOCUSED:return"Focused";case pe.ALWAYS:return"Always"}return"Unknown"},t.prototype.toOnInputActionLabel=function(t){switch(t){case Hr.EMIT_EVENT:return"Emit event";case Hr.WRITE_BOTH:return"Write (Both)";case Hr.WRITE_LOCAL:return"Write (Local)";case Hr.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},t}(),Vr=function(){function t(){}return t.prototype.getDragDataFormat=function(){return"application/x-shape-action-open"},t.prototype.getDragEffectAllowed=function(){return"link"},t.prototype.getDragImage=function(){return void 0===this._dragImage&&(this._dragImage=function(t){var e=document.createElement("canvas");e.width=24,e.height=24;var n=e.getContext("2d");return null!=n&&(n.fillStyle=t,n.save(),n.scale(.025,.025),n.translate(0,960),n.fill(new Path2D("M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z")),n.restore()),e.style.position="absolute",e.style.top="-24px",e.style.left="-24px",e.style.zIndex="-1",e.style.pointerEvents="none",e.style.userSelect="none",e}("#"+c.toCode(g.COLOR))),this._dragImage},t.prototype.getDragImageOffsetX=function(){return 12},t.prototype.getDragImageOffsetY=function(){return 12},t}(),Kr=function(){n.set("EShapeActionValue",Wr),n.set("EShapeActionValueOpen",Vr)};const zr=wcardinal.ui.EShapeFillDirection,jr=wcardinal.ui.EShapeStrokeSide;var Xr=function(){function t(){}return t.prototype.getFillColor=function(){return 16777215},t.prototype.getFillAlpha=function(){return.2},t.prototype.getFillDirection=function(){return zr.BOTTOM},t.prototype.getFillPercent=function(){return 1},t.prototype.getStrokeColor=function(){return 14540253},t.prototype.getStrokeAlpha=function(){return 1},t.prototype.getStrokeWidth=function(){return 2},t.prototype.getStrokeAlign=function(){return 0},t.prototype.getStrokeSide=function(){return jr.ALL},t.prototype.getStrokeStyle=function(){return Dt.NONE},t.prototype.getTextValue=function(){return""},t.prototype.getTextColor=function(){return this.getStrokeColor()},t.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},t.prototype.getTextFamily=function(){return"auto"},t.prototype.getTextSize=function(){return 14},t.prototype.getRadius=function(){return.25},t.prototype.getSizeX=function(){return 100},t.prototype.getSizeY=function(){return 100},t.prototype.getHighlightColor=function(){return 2000880},t.prototype.getCurveSegmentCount=function(){return 24},t}(),Zr=function(){n.set("EShape",Xr)},Yr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.getOutlineColor=function(t){return null},e}(h),qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return 33},e.prototype.getWidth=function(){return 300},e.prototype.getX=function(){return"CENTER"},e}(Yr),Qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return 30},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(I),Jr=function(){function t(){}return t.getBackgroundColor=function(t,e){return t.isActive||e?t.inDisabled?this.BACKGROUND_COLOR:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:t.inDisabled?this.BACKGROUND_COLOR_DISABLED:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.BACKGROUND_COLOR_ACTIVE=g.HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_ACTIVE_HOVERED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.1),t.BACKGROUND_COLOR_ACTIVE_PRESSED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.2),t.BACKGROUND_COLOR=g.WEAK_HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_HOVERED=c.darken(t.BACKGROUND_COLOR,.1),t.BACKGROUND_COLOR_PRESSED=c.darken(t.BACKGROUND_COLOR,.2),t.BACKGROUND_COLOR_DISABLED=c.blend(t.BACKGROUND_COLOR,g.BACKGROUND_COLOR,.5),t}();e.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var $r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getX=function(){return"CENTER"},n.prototype.getY=function(){return"CENTER"},n.prototype.getWidth=function(){return 16},n.prototype.getHeight=function(){return 16},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getImageSource=function(t){return e.mappings.slider_thumb},n.prototype.getImageTintColor=function(t){return Jr.getBackgroundColor(t,!0)},n.prototype.getImageTintAlpha=function(t){return 1},n.prototype.getImageAlignHorizontal=function(){return T.CENTER},n.prototype.getOutlineColor=function(t){return null},n}(G),to=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Jr.getBackgroundColor(t)},e.prototype.getBorderColor=function(t){return null},e.prototype.getOutlineColor=function(e){return t.prototype.getOutlineColorNonActive.call(this,e)},e.prototype.getOutlineOffset=function(e){return t.prototype.getOutlineOffsetNonActive.call(this,e)},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(G),eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return 0},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 5},e}(to),no=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 5},e.prototype.getHeight=function(){return"100%"},e}(to),ro=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return 2*this.getLineHeight()},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getBackgroundColor=function(t){return t.inDisabled?6579300:g.HIGHLIGHT_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getAlpha=function(t){return t.inDisabled?.38:1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getPrecision=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(I),oo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return 322},e.prototype.getWidth=function(){return 35},e}(Yr),io=function(){n.set("DSlider",Yr),n.set("DSliderValue",ro),n.set("DSliderLabel",Qr),n.set("DSliderThumb",$r),n.set("DSliderVertical",oo),n.set("DSliderHorizontal",qr),n.set("DSliderTrack",to),n.set("DSliderTrackVertical",no),n.set("DSliderTrackHorizontal",eo)},uo=function(){n.set("DText",we)};const ao=wcardinal.ui.DTableState;var po=function(){function t(){}return t.init=function(){An.init()},t.getImageSource=function(t){return t.is(ao.HAS_CHILDREN)?t.is(ao.OPENED)?An.getImageOpened():An.getImageClosed():null},t}(),lo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getSecondaryImageSource=function(t){return po.getImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this.getColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return.5*this.getAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},e.prototype.getSecondaryImageMarginHorizontal=function(){return-19},e}(cn),co=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return o(e,t),e.prototype.newStyle=function(){return new lo(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(pn),go=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return o(e,t),e.prototype.newStyle=function(){return new lo(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(E),so=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(go);po.init();var fo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getSecondaryImageSource=function(t){return this._style.getSecondaryImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this._style.getSecondaryImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this._style.getSecondaryImageTintAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return this._style.getSecondaryImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this._style.getSecondaryImageMarginHorizontal()},e}(so),ho=function(){n.set("DTree",co),n.set("DTreeItemText",go),n.set("DTreeItemButton",so),n.set("DTreeItemNonEditable",fo)};const yo=wcardinal.ui.UtilGestureModifier;var Do=function(){function t(){}return t.prototype.isWheelZoomEnabled=function(){return!0},t.prototype.getWheelZoomSpeed=function(){return.004},t.prototype.getWheelZoomModifier=function(){return yo.NOT_NONE},t.prototype.isWheelTranslationEnabled=function(){return!0},t.prototype.getWheelTranslationSpeed=function(){return 2.24},t.prototype.getWheelTranslationModifier=function(){return yo.NONE},t.prototype.isDblClickZoomEnabled=function(){return!0},t.prototype.getDblClickZoomSpeed=function(){return 2},t.prototype.getDblClickZoomModifier=function(){return yo.NONE},t.prototype.getDblClickZoomDuration=function(){return 333},t.prototype.getZoomMin=function(){return.01},t.prototype.getZoomMax=function(){return 100},t.prototype.getZoomKeepRatio=function(){return!0},t.prototype.getGestureMode=function(){return an.ON},t.prototype.getGestureModifier=function(){return yo.NONE},t.prototype.getGestureDuration=function(){return 1},t}(),To=function(){n.set("DView",Do)},Co=function(){Bn.setDefaultThemeClass(n)},mo=function(t,e,n,r,o,i,u,a){var p=null!=u?u:0,l=.5*p,c=Math.max(0,3-l),g=n-p-c-c,s=r-p-c-c;return e+=l,'<path d="M'.concat(t+=l+c,",").concat(e," h").concat(g," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",").concat(c," v").concat(s," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",").concat(c," h-").concat(g," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",-").concat(c," v-").concat(s," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",-").concat(c,'z" fill="').concat(o,'"')+(i?' stroke="'.concat(i,'"'):"")+(null!=u?' stroke-width="'.concat(u,'"'):"")+(null!=a?' stroke-opacity="'.concat(a,'"'):"")+" />"};e.add("button_color_sample",21,21,mo(3,3,15,15,"#fff","#eee",1));var ko=function(t){return"#".concat(c.toCode(t.color)," A").concat(t.alpha.toFixed(2))},Oo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getImageTintColor=function(t){return 16777215},n.prototype.getImageSource=function(t){return e.mappings.button_color_sample},n.prototype.getTextFormatter=function(){return ko},n.prototype.newTextValue=function(){return{color:14606046,alpha:1}},n}(G),Ao=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt);const Io=wcardinal.ui.DColorType;var Eo=!1,_o=function(t,e,n,r,o){return function(t,e,n,r,o,i,u){var a="";return Eo||(Eo=!0,a='<defs><pattern id="rounded-checkerboard-pattern" patternUnits="userSpaceOnUse" width="18" height="18">'+'<rect x="0" y="0" width="9" height="9" fill="'.concat(n,'" />')+'<rect x="9" y="0" width="9" height="9" fill="'.concat(r,'" />')+'<rect x="0" y="9" width="9" height="9" fill="'.concat(r,'" />')+'<rect x="9" y="9" width="9" height="9" fill="'.concat(n,'" />')+"</pattern></defs>"),a+mo(0,0,t,e,"url(#rounded-checkerboard-pattern)",o,i,u)}(t,e,"#5f5f5f","#454545",n,r,o)};e.add("picker_color_main",234,162,'<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>'+mo(0,0,234,162,"url(#fs7w3iusfdnb)")+mo(0,0,234,162,"url(#2rfcfe9874bw)")+"</g>"),e.add("picker_color_main_base",234,162,'<rect x="0" y="0" width="236" height="164" fill="#fff" />'),e.add("picker_color_alpha_checkerboard",234,18,_o(234,18)),e.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>'),e.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>'+mo(0,0,234,18,"url(#ni2rbisdf3)")+"</g>"),e.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),e.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" />'),e.add("picker_color_recent_checkerboard",18,18,_o(18,18)),e.add("picker_color_recent",18,18,mo(0,0,18,18,"#fff","#eee",1)),e.add("picker_color_sample_checkerboard",42,66,_o(42,66,"#fff",1,0)),e.add("picker_color_sample",42,66,mo(0,0,42,66,"#fff","#eee",1)),e.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" />'),e.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" />'),e.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" />'),e.add("picker_color_standard",18,18,mo(0,0,18,18,"#fff","#eee",1));var Bo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getMainWidth=function(){return 234},n.prototype.getMainHeight=function(){return 162},n.prototype.getMainTexture=function(){return e.mappings.picker_color_main},n.prototype.getMainBaseTexture=function(){return e.mappings.picker_color_main_base},n.prototype.getMainPointerTexture=function(){return e.mappings.picker_color_pointer},n.prototype.getMainPointerColor=function(){return 16777215},n.prototype.getMainPointerAlpha=function(){return 1},n.prototype.getBaseHeight=function(){return 18},n.prototype.getBaseMargin=function(){return 6},n.prototype.getBaseTexture=function(){return e.mappings.picker_color_base},n.prototype.getBasePointerTexture=function(){return e.mappings.picker_color_base_pointer},n.prototype.getBasePointerColor=function(){return 16777215},n.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getAlphaHeight=function(){return this.getBaseHeight()},n.prototype.getAlphaMargin=function(){return this.getBaseMargin()},n.prototype.getAlphaTexture=function(){return e.mappings.picker_color_alpha},n.prototype.getAlphaCheckerboardTexture=function(){return e.mappings.picker_color_alpha_checkerboard},n.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},n.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},n.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getRecentMargin=function(){return this.getBaseMargin()},n.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},n.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},n.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},n.prototype.getRecentColorCount=function(){return 10},n.prototype.getRecentCheckerboardTexture=function(){return e.mappings.picker_color_recent_checkerboard},n.prototype.getRecentTexture=function(){return e.mappings.picker_color_recent},n.prototype.getInputMargin=function(){return this.getBaseMargin()},n.prototype.getInputLabelWidth=function(){return 18},n.prototype.getSampleWidth=function(){return 42},n.prototype.getSampleHeight=function(){return 66},n.prototype.getSampleMargin=function(){return this.getBaseMargin()},n.prototype.getSampleCheckerboardOldTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleCheckerboardNewTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleOldTexture=function(){return e.mappings.picker_color_sample},n.prototype.getSampleNewTexture=function(){return e.mappings.picker_color_sample},n.prototype.getStandardColorCount=function(){return 80},n.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},n.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},n.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},n.prototype.getStandardTexture=function(){return e.mappings.picker_color_standard},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),So=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.toColorTypeLabel=function(t){switch(t){case Io.STANDARD:return"Standard";case Io.CUSTOM:return"Custom"}},e}(Bo),Lo=function(){n.set("DPickerColor",So)},Ro=function(){n.set("DDialogColor",Ao),Lo()},Ho=function(){n.set("DButtonColor",Oo),Ro()};const bo=wcardinal.ui.DColorGradientObservable;e.add("button_color_gradient_sample",21,21,mo(3,3,15,15,"#fff","#eee",1));var Mo=function(){return""},No=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getViewBaseTexture=function(){return e.mappings.button_color_gradient_sample},n.prototype.getTextFormatter=function(){return Mo},n.prototype.newTextValue=function(){return new bo},n.prototype.getCheckerColors=function(){return[225877,.27]},n}(G),wo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt),Go=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getGradientPointsWidth=function(){return 30},n.prototype.getGradientPointsMargin=function(){return 24},n.prototype.getGradientAnchorTexture=function(){return e.mappings.picker_color_anchor},n.prototype.getGradientAnchorOutlinedTexture=function(){return e.mappings.picker_color_anchor_outlined},n.prototype.getGradientAnchorOutlineTexture=function(){return e.mappings.picker_color_anchor_outline},n.prototype.getGradientDirectionMargin=function(){return 5},n.prototype.getGradientDirectionTexture=function(){return e.mappings.picker_color_direction},n.prototype.getGradientRecentColumn=function(){return 4},n.prototype.getGradientRecentWidth=function(){return 30},n.prototype.getGradientRecentMargin=function(){return 5},n.prototype.getGradientRecentCount=function(){return 16},n.prototype.getGradientRecents=function(){return[]},n.prototype.getGradientCheckerColors=function(){return[.37255,.27]},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),vo=function(){n.set("DPickerColorGradient",Go),Lo()},xo=function(){n.set("DDialogColorGradient",wo),vo()},Po=function(){n.set("DButtonColorGradient",No),xo()};const Uo=wcardinal.ui.DPickerDates;var Fo=function(t){return Uo.format(t)},Wo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return Fo},e.prototype.newTextValue=function(){return new Date},e}(G),Vo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt);const Ko=wcardinal.ui.DPickerDatetimeMask;var zo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getMargin=function(){return 8},e.prototype.getMask=function(){return Ko.HOURS|Ko.MINUTES},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"auto"},e.prototype.getLowerBound=function(){return null},e.prototype.isLowerBoundInclusive=function(){return!1},e.prototype.getUpperBound=function(){return null},e.prototype.isUpperBoundInclusive=function(){return!1},e}(h),jo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},e.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},e.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},e}(zo),Xo=["January","February","March","April","May","June","July","August","September","October","November","December"],Zo=["Su","Mo","Tu","We","Th","Fr","Sa"],Yo=function(t){return"".concat(Xo[t.getMonth()]," ").concat(t.getFullYear())},qo=function(){},Qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDayLabels=function(){return Zo},e.prototype.getLabelFormatter=function(){return Yo},e.prototype.getDateDecorator=function(){return qo},e.prototype.getBackButtonOptions=function(){return{title:"Previous"}},e.prototype.getNextButtonOptions=function(){return{title:"Next"}},e.prototype.getDayStart=function(){return 0},e.prototype.getMask=function(){return Ko.DATE|t.prototype.getMask.call(this)},e}(jo),Jo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMask=function(){return Ko.DATE},e}(Qo);e.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 $o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return k.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return T.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_back},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(B),ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.isToggle=function(){return!0},e}(B);e.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 ei=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return k.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return T.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_next},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(B),ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getFontSize=function(){return Math.round(1.25*t.prototype.getFontSize.call(this))},e.prototype.newTextValue=function(){return new Date},e.prototype.getInteractive=function(){return i.NONE},e}(we),ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e}(we),oi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getInteractive=function(){return i.NONE},e}(h),ii=function(){n.set("DPickerTime",jo)},ui=function(){n.set("DPickerDatetimeButtonBack",$o),n.set("DPickerDatetimeButtonDate",ti),n.set("DPickerDatetimeButtonNext",ei),n.set("DPickerDatetimeLabelDate",ri),n.set("DPickerDatetimeLabel",ni),n.set("DPickerDatetimeSpace",oi),n.set("DPickerDatetime",Qo),ii()},ai=function(){n.set("DPickerDate",Jo),ui()},pi=function(){n.set("DDialogDate",Vo),ai()},li=function(){n.set("DButtonDate",Wo),pi()};const ci=wcardinal.ui.DPickerDatetimes;var gi=function(t,e){return ci.format(t,e.getDatetimeMask())},si=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return gi},e.prototype.newTextValue=function(){return new Date},e}(G),fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt),hi=function(){n.set("DDialogDatetime",fi),ui()},yi=function(){n.set("DButtonDatetime",si),hi()};const di=wcardinal.ui.toLabel;var Di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return di},e.prototype.newTextValue=function(){return null},e}(G),Ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 250},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(ln),Ci=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e.prototype.getCornerMask=function(){return a.NONE},e}(gn),mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return 480},e.prototype.getFooter=function(){return null},e.prototype.getInputMargin=function(){return 19},e.prototype.isDismissable=function(){return!1},e.prototype.isCategoryDismissable=function(){return!0},e}(Gt),ki=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDismissLabel=function(){return"None"},e.prototype.getCategoryDismissLabel=function(){return"All"},e}(mi),Oi=function(){n.set("DDialogSelect",ki),n.set("DDialogSelectList",Ti),n.set("DDialogSelectListItem",Ci)},Ai=function(){n.set("DButtonSelect",Di),Oi()};const Ii=wcardinal.ui.DPickerTimes;var Ei=function(t,e){return Ii.format(t,e.getDatetimeMask())},_i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextFormatter=function(){return Ei},e.prototype.newTextValue=function(){return new Date},e}(G),Bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(vt),Si=function(){n.set("DDialogTime",Bi),ii()},Li=function(){n.set("DButtonTime",_i),Si()},Ri=function(){S(),b(),M(),Po(),Ho(),Ai(),w(),li(),yi(),x(),U(),W(),z(),j(),Z(),Li(),Y()},Hi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCanvasBackgroundColor=function(){return 3026478},e.prototype.getCanvasBackgroundAlpha=function(){return 1},e.prototype.isAmbient=function(){return!0},e.prototype.getCanvasShadow=function(){return"WEAK"},e}(Q),bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Hi),Mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isAmbient=function(){return!0},e.prototype.getBackgroundBase=function(){return g.BACKGROUND_COLOR},e.prototype.getLocalBoundsLimit=function(){return 0},e}(q),Ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Mi),wi=function(){},Gi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCurveSplineLabel=function(){return"Spline Curve"},e.prototype.getCurveBezierQuadraticLabel=function(){return"Quadratic Bezier Curve"},e}(wi),vi=function(){n.set("EShapePointsFormatter",Gi)},xi=function(){n.set("DDiagram",bi),n.set("DDiagramCanvas",Ni),vi(),Zr()},Pi=function(t,e,n,r){var o=Math.max(e,n);if(0<t){t*=function(t){if(t<=0||1<=t)return 1;var e=1/t;return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,(e|=e>>32)-(e>>1)}(r);for(var i=o/1e3,u=0;u<10&&t<i;++u)t*=10;if(i<=t)return t}return o},Ui=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.getLocalBoundsLimit=function(){return 1e3},e.prototype.getOutlineColor=function(t){return null},e.prototype.getSnapGridMajorInterval=function(){return 10},e.prototype.getSnapGridMajorColor=function(){return 10066329},e.prototype.getSnapGridMajorAlpha=function(){return.5},e.prototype.getSnapGridMajorWidth=function(){var t;return Math.max(1,2/(null!==(t=window.devicePixelRatio)&&void 0!==t?t:1))},e.prototype.getSnapGridMajorStyle=function(){return Dt.DASHED|Dt.NON_SCALING},e.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},e.prototype.getSnapGridMinorAlpha=function(){return.125},e.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},e.prototype.getSnapGridSize=function(){return Pi},e.prototype.getSnapTargetColor=function(){return g.HIGHLIGHT_COLOR},e.prototype.getSnapTargetAlpha=function(){return 1},e.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},e}(Mi),Fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.isThumbnailEnabled=function(){return!1},e.prototype.getThumbnailSize=function(){return null},e.prototype.isSnapEnabled=function(){return!0},e.prototype.isSnapGridVisible=function(){return!0},e.prototype.isSnapGridEnabled=function(){return!0},e.prototype.getSnapGridSize=function(){return 10},e.prototype.isSnapTargetVisible=function(){return!0},e.prototype.isSnapTargetEnabled=function(){return!0},e}(Hi),Wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBaseLayerLabel=function(){return"Base Layer"},e}(Fi),Vi=function(){n.set("DDiagramEditor",Wi),n.set("DDiagramCanvasEditor",Ui),Kr(),vi(),Zr()},Ki=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return 38},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getBackgroundColor=function(){return null},e.prototype.getCornerMask=function(){return a.BOTTOM},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(t){t.isFocusable=!1},e}(E);e.add("dialog_layered_header_button_close",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="15 2 5 12"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 2 15 12"></polyline></g>');var zi=function(t,e){return t-34},ji=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getX=function(){return zi},n.prototype.getY=function(){return"center"},n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getSecondaryImageAlignHorizontal=function(){return T.CENTER},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dialog_layered_header_button_close},n}(B),Xi=function(t){return t-1},Zi=function(t){return t-16},Yi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return 8},e.prototype.getY=function(){return Xi},e.prototype.getWidth=function(){return Zi},e.prototype.getHeight=function(){return 1},e.prototype.getBackgroundColor=function(t){return g.BORDER_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(t){t.isFocusable=!1},e}(E),qi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isButtonSpaceLeftEnabled=function(){return!0},e.prototype.isButtonSpaceRightEnabled=function(){return!0},e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(he),Qi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getButtonOk=function(){return"OK"},e.prototype.getButtonCancel=function(){return"Cancel"},e}(qi),Ji=function(){n.set("DDialogLayeredContent",Ft),n.set("DDialogLayeredFooter",Qi),n.set("DDialogLayeredHeaderButtonClose",ji),n.set("DDialogLayeredHeaderSeparator",Yi),n.set("DDialogLayeredHeader",Ki),n.set("DDialogLayered",Gt)},$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(oe),tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMessage=function(){return""},e}(Gt),eu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},e}(tu),nu=function(){n.set("DDialogConfirm",eu),n.set("DDialogConfirmMessage",$i)},ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},e}(eu),ou=function(){n.set("DDialogConfirmDelete",ru)},iu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},e}(eu),uu=function(){n.set("DDialogConfirmDiscard",iu)},au=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(tu),pu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e}(au),lu=function(){n.set("DDialogMessage",pu)};e.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>');var cu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.getHeight=function(){return 90},n.prototype.getImageSource=function(t){return t.isSucceeded?e.mappings.success_mark:null},n.prototype.getImageTintAlpha=function(t){return.75},n}($i),gu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getDoneDelay=function(){return 400},e.prototype.getCloseDelay=function(){return 600},e}(tu),su=function(t){return t.isSucceeded?"Processed successfully":t.isFailed?"Failed to process the request":"Processing..."},fu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e.prototype.getMessage=function(){return su},e}(gu),hu=function(){n.set("DDialogProcessing",fu),n.set("DDialogProcessingMessage",cu)},yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Qt),du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},e}(yu),Du=function(){n.set("DDialogSaveAs",du)},Tu=function(){xo(),Ro(),ou(),uu(),nu(),pi(),hi(),Vt(),jt(),Zt(),qt(),Jt(),Ji(),lu(),hu(),Du(),Oi(),Si(),$t()},Cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCornerAdjust=function(){return!0},e.prototype.getMargin=function(){return 0},e}(he),mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isToggle=function(){return!0},e}(G),ku=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"OFF"},e}(mu),Ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isToggle=function(){return!0},e}(G),Au=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"ON"},e}(Ou),Iu=function(){n.set("DInputBoolean",Cu),n.set("DInputBooleanButtonOn",Au),n.set("DInputBooleanButtonOff",ku)},Eu=function(){de(),Iu(),Ne(),ve(),Ue(),Ve(),en(),nn()};const _u=wcardinal.ui.DLinkMenuItemId;e.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 Bu=function(){function t(){}return t.prototype.getImageSource=function(t){return e.mappings.link_mark},t.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:_u.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:_u.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:_u.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},t}(),Su=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLabelOpenLink=function(){return"Open"},e.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},e.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},e}(Bu),Lu=function(){n.set("DLink",Su)},Ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"100%"},e.prototype.getTextAlignHorizontal=function(){return T.CENTER},e.prototype.getInteractive=function(){return i.NONE},e.prototype.getAlpha=function(){return.2},e.prototype.getFontSize=function(){return 26},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getImageTintAlpha=function(t){return.2},e.prototype.getImageAlignWith=function(){return k.TEXT},e.prototype.getImageAlignHorizontal=function(){return T.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(E),Hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ru),bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"Something went wrong"},e}(Hu),Mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ru),Nu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"No items found"},e}(Mu),wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ru),Gu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newTextValue=function(){return"Searching"},e}(wu),vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getFontSize=function(){return 18},e}(Ru),xu=function(t){function e(){var e=t.call(this)||this;return e._note=Bn.get("DNoteError"),e}return o(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(vu),Pu=function(t){function e(){var e=t.call(this)||this;return e._note=Bn.get("DNoteNoItemsFound"),e}return o(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(vu),Uu=function(t){function e(){var e=t.call(this)||this;return e._note=Bn.get("DNoteSearching"),e}return o(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(vu),Fu=function(){n.set("DNote",Ru),n.set("DNoteError",bu),n.set("DNoteNoItemsFound",Nu),n.set("DNoteSearching",Gu),n.set("DNoteSmallError",xu),n.set("DNoteSmallNoItemsFound",Pu),n.set("DNoteSmallSearching",Uu)},Wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e}(pn),Vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getCornerMask=function(){return a.TOP},e.prototype.getBorderColor=function(t){return null},e.prototype.getRowHeight=function(){return 30},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),Ku=function(){function t(){}var e;return t.getBackgroundColor=function(t){return t.inDisabled?t.is(ao.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:t.isInvalid?g.INVALID_BLENDED_ON_BOARD:t.underActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.onHovered||t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.is(ao.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},t.getBackgroundAlpha=function(t){return 1},t.getBorderColor=function(t){return this.BORDER_COLOR},t.getBorderMask=function(t){return t.is(ao.END)?u.ALL:u.NOT_RIGHT},t.getColor=function(t){return g.COLOR},t.getAlpha=function(t){return t.in(ao.HAS_DATA)?t.inEnabled?1:.5:0},t.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?6579300:g.HIGHLIGHT_COLOR},t.getHeight=function(){return"padding"},t.getCornerMask=function(){return a.ALL},e=t,t.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_FROZEN_EVEN=c.brighten(e.BACKGROUND_COLOR,.03),t.BACKGROUND_COLOR_FROZEN_ODD=c.brighten(e.BACKGROUND_COLOR_FROZEN_EVEN,.03),t.BORDER_COLOR=c.darken(e.BACKGROUND_COLOR,.035),t.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.035),t}(),zu=function(){function t(){}return t.init=function(){e.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>')},t.getImageSource=function(t){return e.mappings.action_mark},t.getImageTintColor=function(t){return Ku.getImageTintColor(t,!0)},t}(),ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(G);zu.init();var Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageTintColor=function(t){return zu.getImageTintColor(t)},e.prototype.getImageSource=function(t){return zu.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(ju);zu.init();var Zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getImageTintColor=function(t){return zu.getImageTintColor(t)},e.prototype.getImageSource=function(t){return zu.getImageSource(t)},e}(ee),Yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(G);zu.init();var qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getImageTintColor=function(t){return zu.getImageTintColor(t)},e.prototype.getImageSource=function(t){return zu.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(Yu),Qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e}(E),Ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(Qu),$u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(R),ta=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(Oo),ea=function(t){return Uo.format(t)},na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getTextFormatter=function(){return ea},e.prototype.newTextValue=function(){return new Date},e}(G),ra=function(t,e){return ci.format(t,e.getDatetimeMask())},oa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getTextFormatter=function(){return ra},e.prototype.newTextValue=function(){return new Date},e}(G),ia=function(t){return String(Number(t)+1)},ua=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getTextFormatter=function(){return ia},e.prototype.newTextValue=function(){return 0},e}(E),aa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.RIGHT},e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(Me),pa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignHorizontal=function(){return T.RIGHT},e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(Pe),la=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(Fe),ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(tn);po.init();var ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getLevelPadding=function(t){return 24+20*t},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1,e.isFocusReverse=!0},e}(h),sa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getPaddingLeft=function(){return 0},e}(Fe),fa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return null},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getImageAlignWith=function(){return k.BORDER},e.prototype.getImageAlignHorizontal=function(){return T.RIGHT},e.prototype.getImageSource=function(t){return po.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(_),ha=function(t){function e(){var e=t.call(this)||this;return e._link=Bn.getInstance().get("DLink"),e}return o(e,t),e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t,!0)},e.prototype.getImageSource=function(t){return this._link.getImageSource(t)},e}(Ju),ya=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(Dr),da=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(Cr),Da=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e}(Qu),Ta=function(t,e){return Ii.format(t,e.getDatetimeMask())},Ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getTextFormatter=function(){return Ta},e.prototype.newTextValue=function(){return new Date},e}(G);po.init();var ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.getImageAlignWith=function(){return k.PADDING},e.prototype.getImageMarginHorizontal=function(){return-19},e.prototype.getImageSource=function(t){return po.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(Ju),ka=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return a.ALL},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusReverse=!0},e}(he),Oa=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR_EVEN=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_ODD=c.brighten(g.BACKGROUND_COLOR_ON_BOARD,.01),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:t.isActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},e.prototype.getWidth=function(){return"100%"},e}(ka),Aa=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.brighten(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.05),e}return o(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return this.BORDER_COLOR},e.prototype.getBorderMask=function(t){return u.NOT_BOTTOM},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 30},e.prototype.getCursor=function(e){return e.is(ao.RESIZING)?"col-resize":t.prototype.getCursor.call(this,e)},e}(ka),Ia=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Aa);e.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),e.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var Ea=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.brighten(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BACKGROUND_COLOR_HOVERED=c.brighten(e.BACKGROUND_COLOR,.08),e.BACKGROUND_COLOR_PRESSED=c.brighten(e.BACKGROUND_COLOR,.32),e.BACKGROUND_COLOR_FROZEN=c.brighten(e.BACKGROUND_COLOR,.02),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.05),e.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.05),e}return o(n,t),n.prototype.getBackgroundColor=function(t){return t.inDisabled||t.on(ao.RESIZING)?t.is(ao.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:t.is(ao.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBorderColor=function(t){return t.is(ao.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.prototype.getBorderMask=function(t){return t.is(ao.END)?u.ALL:u.NOT_RIGHT},n.prototype.getTextAlignHorizontal=function(){return T.CENTER},n.prototype.getCornerMask=function(){return a.ALL},n.prototype.getHeight=function(){return"padding"},n.prototype.getPaddingLeft=function(){return 10},n.prototype.getPaddingRight=function(){return 10},n.prototype.newTextValue=function(){return null},n.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.getSecondaryImageTintColor=function(e){return e.is(ao.CHECKABLE)?L.getImageTintColor(e):t.prototype.getSecondaryImageTintColor.call(this,e)},n.prototype.getSecondaryImageSource=function(t){return t.is(ao.CHECKABLE)?L.getImageSource(t):null},n.prototype.getSecondaryImageAlignHorizontal=function(){return T.LEFT},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},n.prototype.getTertiaryImageSource=function(t){return t.is(ao.SORTED_ASCENDING)?e.mappings.sorted_ascending:t.is(ao.SORTED_DESCENDING)?e.mappings.sorted_descending:null},n.prototype.getTertiaryImageTintColor=function(e){return t.prototype.getImageTintColor.call(this,e)},n.prototype.getTertiaryImageAlignHorizontal=function(){return T.RIGHT},n.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},n.prototype.getCursor=function(t){return t.isActionable?t.is(ao.HOVERED_ON_EDGE)||t.on(ao.RESIZING)?"col-resize":t.is(ao.CHECKABLE)||t.is(ao.SORTABLE)?"pointer":"":""},n.prototype.getEdgeWidth=function(){return 10},n}(oe),_a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ea),Ba=function(){n.set("DTableBodyCellActionDialog",Xu),n.set("DTableBodyCellActionMenu",Zu),n.set("DTableBodyCellActionPromise",qu),n.set("DTableBodyCellButton",Ju),n.set("DTableBodyCellCheck",$u),n.set("DTableBodyCellColor",ta),n.set("DTableBodyCellDate",na),n.set("DTableBodyCellDatetime",oa),n.set("DTableBodyCellIndex",ua),n.set("DTableBodyCellInputInteger",aa),n.set("DTableBodyCellInputReal",pa),n.set("DTableBodyCellInputTextArea",ca),n.set("DTableBodyCellInputText",la),n.set("DTableBodyCellInputTreeMarker",fa),n.set("DTableBodyCellInputTreeInput",sa),n.set("DTableBodyCellInputTree",ga),n.set("DTableBodyCellLink",ha),n.set("DTableBodyCellSelectDialog",ju),n.set("DTableBodyCellSelectMenu",ya),n.set("DTableBodyCellSelectMultiple",da),n.set("DTableBodyCellSelectPromise",Yu),n.set("DTableBodyCellTextArea",Da),n.set("DTableBodyCellText",Qu),n.set("DTableBodyCellTree",ma),n.set("DTableBodyCellTime",Ca),n.set("DTableBodyRow",Oa),n.set("DTableBody",Vu),n.set("DTableCategoryCell",_a),n.set("DTableCategory",Ia),n.set("DTableHeaderCell",Ea),n.set("DTableHeader",Aa),n.set("DTableRow",ka),n.set("DTable",Wu),M(),Ho(),li(),yi(),Ne(),Ue(),en(),nn(),Oi(),vn()};e.add("button_process_processing",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z" fill="#fff"/></g>'),e.add("button_process_success",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" fill="#fff" /></g>'),e.add("button_process_fail",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" fill="#fff" /></g>');var Sa=function(t){return t.isProcessing?e.mappings.button_process_processing:t.isSucceeded?e.mappings.button_process_success:e.mappings.button_process_fail},La=function(t){var e=t.valueOf(_n.PROCESSING);return null!=e?e*Math.PI*.02:0},Ra=function(){function t(){}return t.prototype.getProcessDoneDelay=function(){return 400},t.prototype.getProcessCloseDelay=function(){return 3e3},t.prototype.isProcessTextEnabled=function(){return!1},t.prototype.isProcessImageEnabled=function(){return!0},t.prototype.getProcessImageIndex=function(){return 0},t.prototype.newProcessImageSource=function(){return Sa},t.prototype.newProcessImageRotation=function(){return La},t}(),Ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.newProcessTextValue=function(){return su},e}(Ra),ba=function(){n.set("DIndicatorProcessing",Ha)},Ma=function(){Co(),y(),D(),Ri(),To(),J(),Et(),St(),Vi(),xi(),Tu(),ue(),se(),fe(),ba(),Eu(),un(),Lu(),fn(),ho(),xn(),tr(),vn(),Fu(),hr(),lr(),vo(),Lo(),ai(),ui(),ii(),mr(),Ba(),uo(),io()},Na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(tu),wa={__proto__:null,loadThemeDarkBase:y,loadThemeDarkBoard:D,loadThemeDarkButtonAmbient:S,loadThemeDarkButtonCheckRight:b,loadThemeDarkButtonCheck:M,loadThemeDarkButtonDanger:w,loadThemeDarkButtonFile:x,loadThemeDarkButtonLink:U,loadThemeDarkButtonPrimary:W,loadThemeDarkButtonRadioRight:z,loadThemeDarkButtonRadio:j,loadThemeDarkButtonSecondary:Z,loadThemeDarkButton:Y,loadThemeDarkCanvasContainer:J,loadThemeDarkChart:Et,loadThemeDarkColor:St,loadThemeDarkDialogFitted:Vt,loadThemeDarkDialogInputBoolean:jt,loadThemeDarkDialogInputInteger:Zt,loadThemeDarkDialogInputReal:qt,loadThemeDarkDialogInputText:Jt,loadThemeDarkDialog:$t,loadThemeDarkDropdown:ne,loadThemeDarkExpandable:ue,loadThemeDarkHtmlElement:se,loadThemeDarkImage:fe,loadThemeDarkInputAndLabel:de,loadThemeDarkInputInteger:Ne,loadThemeDarkInputLabel:ve,loadThemeDarkInputReal:Ue,loadThemeDarkInputSearch:Ve,loadThemeDarkInputTextArea:en,loadThemeDarkInputText:nn,loadThemeDarkLayout:un,loadThemeDarkList:fn,loadThemeDarkMenuBar:xn,loadThemeDarkMenuSided:tr,loadThemeDarkMenu:vn,loadThemeDarkPagination:lr,loadThemeDarkPane:hr,loadThemeDarkScrollBar:fr,loadThemeDarkSelect:mr,loadThemeDarkShapeActionValue:Kr,loadThemeDarkShape:Zr,loadThemeDarkSlider:io,loadThemeDarkText:uo,loadThemeDarkTree:ho,loadThemeDarkView:To,loadThemeDark:Co,loadThemeDarkEnUsAll:Ma,loadThemeDarkEnUsButtonAll:Ri,loadThemeDarkEnUsButtonColorGradient:Po,loadThemeDarkEnUsButtonColor:Ho,loadThemeDarkEnUsButtonDate:li,loadThemeDarkEnUsButtonDatetime:yi,loadThemeDarkEnUsButtonSelect:Ai,loadThemeDarkEnUsButtonTime:Li,loadThemeDarkEnUsDiagramEditor:Vi,loadThemeDarkEnUsDiagram:xi,loadThemeDarkEnUsDialogAll:Tu,loadThemeDarkEnUsDialogColorGradient:xo,loadThemeDarkEnUsDialogColor:Ro,loadThemeDarkEnUsDialogConfirmDelete:ou,loadThemeDarkEnUsDialogConfirmDiscard:uu,loadThemeDarkEnUsDialogConfirm:nu,loadThemeDarkEnUsDialogDate:pi,loadThemeDarkEnUsDialogDatetime:hi,loadThemeDarkEnUsDialogLayered:Ji,loadThemeDarkEnUsDialogMessage:lu,loadThemeDarkEnUsDialogProcessing:hu,loadThemeDarkEnUsDialogSaveAs:Du,loadThemeDarkEnUsDialogSelect:Oi,loadThemeDarkEnUsDialogTime:Si,loadThemeDarkEnUsIndicatorProcessing:ba,loadThemeDarkEnUsInputAll:Eu,loadThemeDarkEnUsInputBoolean:Iu,loadThemeDarkEnUsLink:Lu,loadThemeDarkEnUsNote:Fu,loadThemeDarkEnUsPickerColorGradient:vo,loadThemeDarkEnUsPickerColor:Lo,loadThemeDarkEnUsPickerDate:ai,loadThemeDarkEnUsPickerDatetime:ui,loadThemeDarkEnUsPickerTime:ii,loadThemeDarkEnUsShapePointsFormatter:vi,loadThemeDarkEnUsTable:Ba,DThemeDarkAtlas:e,DThemeDarkBase:h,DThemeDarkBoard:d,DThemeDarkButtonAmbient:B,DThemeDarkButtonBase:_,DThemeDarkButtonCheckRight:H,DThemeDarkButtonCheck:R,DThemeDarkButtonChecks:L,DThemeDarkButtonColorGradient:No,DThemeDarkButtonColor:Oo,DThemeDarkButtonDanger:N,DThemeDarkButtonDate:Wo,DThemeDarkButtonDatetime:si,DThemeDarkButtonFile:v,DThemeDarkButtonLink:P,DThemeDarkButtonPrimary:F,DThemeDarkButtonRadioRight:K,DThemeDarkButtonRadio:V,DThemeDarkButtonSecondary:X,DThemeDarkButtonSelect:Di,DThemeDarkButtonTime:_i,DThemeDarkButton:G,DThemeDarkCanvasContainer:Q,DThemeDarkCanvas:q,DThemeDarkChartAxisBase:it,DThemeDarkChartAxisXDatetime:pt,DThemeDarkChartAxisX:ut,DThemeDarkChartAxisY:lt,DThemeDarkChartCoordinateTick:gt,DThemeDarkChartCoordinateTransform:st,DThemeDarkChartCoordinate:ct,DThemeDarkChartLegendItem:ht,DThemeDarkChartLegend:ft,DThemeDarkChartOverview:yt,DThemeDarkChartPlotArea:dt,DThemeDarkChartSelectionGridlineX:kt,DThemeDarkChartSelectionGridlineY:Ot,DThemeDarkChartSelectionMarker:It,DThemeDarkChartSelectionShape:mt,DThemeDarkChart:$,DThemeDarkColorRecent:_t,DThemeDarkColorStandard:Bt,DThemeDarkConstants:g,DThemeDarkContent:cr,DThemeDarkDiagramBase:Hi,DThemeDarkDiagramCanvasBase:Mi,DThemeDarkDiagramCanvasEditor:Ui,DThemeDarkDiagramCanvas:Ni,DThemeDarkDiagramEditor:Fi,DThemeDarkDiagram:bi,DThemeDarkDialogColorGradient:wo,DThemeDarkDialogColor:Ao,DThemeDarkDialogConfirmDelete:Na,DThemeDarkDialogConfirmMessage:$i,DThemeDarkDialogConfirm:tu,DThemeDarkDialogDate:Vo,DThemeDarkDialogDatetime:fi,DThemeDarkDialogFittedContent:Wt,DThemeDarkDialogFitted:vt,DThemeDarkDialogInputBoolean:zt,DThemeDarkDialogInputInteger:Xt,DThemeDarkDialogInputReal:Yt,DThemeDarkDialogInputText:Qt,DThemeDarkDialogInput:Kt,DThemeDarkDialogLayeredContent:Ft,DThemeDarkDialogLayeredFooter:qi,DThemeDarkDialogLayeredHeaderButtonClose:ji,DThemeDarkDialogLayeredHeaderSeparator:Yi,DThemeDarkDialogLayeredHeader:Ki,DThemeDarkDialogLayered:Gt,DThemeDarkDialogMessage:au,DThemeDarkDialogProcessingMessage:cu,DThemeDarkDialogProcessing:gu,DThemeDarkDialogSaveAs:yu,DThemeDarkDialogSelectListItem:Ci,DThemeDarkDialogSelectList:Ti,DThemeDarkDialogSelect:mi,DThemeDarkDialogTime:Bi,DThemeDarkDialog:wt,DThemeDarkDropdownBase:te,DThemeDarkDropdown:ee,DThemeDarkExpandableHeader:ie,DThemeDarkExpandable:re,DThemeDarkExpandables:An,DThemeDarkFont:s,DThemeDarkHtmlElement:ge,DThemeDarkImageBase:E,DThemeDarkImage:oe,DThemeDarkIndicatorProcess:Ra,DThemeDarkInputAndLabel:ye,DThemeDarkInputBooleanButtonOff:mu,DThemeDarkInputBooleanButtonOn:Ou,DThemeDarkInputBoolean:Cu,DThemeDarkInputInput:Re,DThemeDarkInputInteger:Me,DThemeDarkInputLabel:Ge,DThemeDarkInputNumber:He,DThemeDarkInputReal:Pe,DThemeDarkInputSearch:We,DThemeDarkInputTextArea:tn,DThemeDarkInputText:Fe,DThemeDarkInput:Ce,DThemeDarkLayoutBoard:rn,DThemeDarkLayoutHorizontal:he,DThemeDarkLayoutSpace:on,DThemeDarkLayoutVertical:Ut,DThemeDarkLayout:Pt,DThemeDarkLink:Bu,DThemeDarkListItemAmbient:sn,DThemeDarkListItem:gn,DThemeDarkListItems:cn,DThemeDarkList:ln,DThemeDarkMenuBarItem:yn,DThemeDarkMenuBar:hn,DThemeDarkMenuItemBase:Dn,DThemeDarkMenuItemCheck:mn,DThemeDarkMenuItemExpandableBody:On,DThemeDarkMenuItemExpandableHeader:In,DThemeDarkMenuItemExpandableItemCheck:En,DThemeDarkMenuItemExpandableItemLink:Ln,DThemeDarkMenuItemExpandableItemMenu:Hn,DThemeDarkMenuItemExpandableItemSeparator:Mn,DThemeDarkMenuItemExpandableItemSpace:wn,DThemeDarkMenuItemExpandableItemText:Gn,DThemeDarkMenuItemExpandable:kn,DThemeDarkMenuItemLink:Sn,DThemeDarkMenuItemMenu:Rn,DThemeDarkMenuItemSeparator:bn,DThemeDarkMenuItemSpace:Nn,DThemeDarkMenuItemText:Cn,DThemeDarkMenuItem:Tn,DThemeDarkMenuSidedContent:Un,DThemeDarkMenuSidedItemCheck:Fn,DThemeDarkMenuSidedItemExpandableItemCheck:Vn,DThemeDarkMenuSidedItemExpandableItemLink:Kn,DThemeDarkMenuSidedItemExpandableItemMenu:zn,DThemeDarkMenuSidedItemExpandableItemSeparator:jn,DThemeDarkMenuSidedItemExpandableItemSpace:Xn,DThemeDarkMenuSidedItemExpandableItemText:Zn,DThemeDarkMenuSidedItemExpandable:Wn,DThemeDarkMenuSidedItemLink:Yn,DThemeDarkMenuSidedItemMenu:qn,DThemeDarkMenuSidedItemSeparator:Qn,DThemeDarkMenuSidedItemSpace:Jn,DThemeDarkMenuSidedItemText:$n,DThemeDarkMenuSided:Pn,DThemeDarkMenu:dn,DThemeDarkNoteError:Hu,DThemeDarkNoteNoItemsFound:Mu,DThemeDarkNoteSearching:wu,DThemeDarkNoteSmallError:xu,DThemeDarkNoteSmallNoItemsFound:Pu,DThemeDarkNoteSmallSearching:Uu,DThemeDarkNoteSmall:vu,DThemeDarkNote:Ru,DThemeDarkPaginationButtonLast:rr,DThemeDarkPaginationButtonNext:or,DThemeDarkPaginationButtonPage:ir,DThemeDarkPaginationButtonPrevious:ur,DThemeDarkPaginationButtonTop:ar,DThemeDarkPaginationDots:nr,DThemeDarkPaginationPage:pr,DThemeDarkPagination:er,DThemeDarkPane:pn,DThemeDarkPickerColorGradient:Go,DThemeDarkPickerColor:Bo,DThemeDarkPickerDatetimeButtonBack:$o,DThemeDarkPickerDatetimeButtonDate:ti,DThemeDarkPickerDatetimeButtonNext:ei,DThemeDarkPickerDatetimeLabelDate:ri,DThemeDarkPickerDatetimeLabel:ni,DThemeDarkPickerDatetimeSpace:oi,DThemeDarkPickerTime:zo,DThemeDarkScrollBarThumb:sr,DThemeDarkScrollBar:gr,DThemeDarkSelectMultiple:Cr,DThemeDarkSelect:Dr,DThemeDarkSliderHorizontal:qr,DThemeDarkSliderLabel:Qr,DThemeDarkSliderThumb:$r,DThemeDarkSliderTrackHorizontal:eo,DThemeDarkSliderTrackVertical:no,DThemeDarkSliderTrack:to,DThemeDarkSliderValue:ro,DThemeDarkSliderVertical:oo,DThemeDarkSlider:Yr,DThemeDarkSliders:Jr,DThemeDarkTableBodyCellActionDialog:Xu,DThemeDarkTableBodyCellActionMenu:Zu,DThemeDarkTableBodyCellActionPromise:qu,DThemeDarkTableBodyCellActions:zu,DThemeDarkTableBodyCellButton:Ju,DThemeDarkTableBodyCellCheck:$u,DThemeDarkTableBodyCellColor:ta,DThemeDarkTableBodyCellDate:na,DThemeDarkTableBodyCellDatetime:oa,DThemeDarkTableBodyCellIndex:ua,DThemeDarkTableBodyCellInputInteger:aa,DThemeDarkTableBodyCellInputReal:pa,DThemeDarkTableBodyCellInputTextArea:ca,DThemeDarkTableBodyCellInputText:la,DThemeDarkTableBodyCellInputTreeInput:sa,DThemeDarkTableBodyCellInputTreeMarker:fa,DThemeDarkTableBodyCellInputTree:ga,DThemeDarkTableBodyCellLink:ha,DThemeDarkTableBodyCellSelectDialog:ju,DThemeDarkTableBodyCellSelectMenu:ya,DThemeDarkTableBodyCellSelectMultiple:da,DThemeDarkTableBodyCellSelectPromise:Yu,DThemeDarkTableBodyCellTextArea:Da,DThemeDarkTableBodyCellText:Qu,DThemeDarkTableBodyCellTime:Ca,DThemeDarkTableBodyCellTree:ma,DThemeDarkTableBodyCellTrees:po,DThemeDarkTableBodyCells:Ku,DThemeDarkTableBodyRow:Oa,DThemeDarkTableBody:Vu,DThemeDarkTableCategoryCell:_a,DThemeDarkTableCategory:Ia,DThemeDarkTableHeaderCell:Ea,DThemeDarkTableHeader:Aa,DThemeDarkTableRow:ka,DThemeDarkTable:Wu,DThemeDarkTextBase:I,DThemeDarkText:we,DThemeDarkTreeItemButton:so,DThemeDarkTreeItemNonEditable:fo,DThemeDarkTreeItemText:go,DThemeDarkTreeItems:lo,DThemeDarkTree:co,DThemeDarkView:Do,DThemeDark:n,EThemeDarkShapeActionValueOpen:Vr,EThemeDarkShapeActionValue:Wr,EThemeDarkShapePointsFormatter:wi,EThemeDarkShape:Xr,DThemeDarkEnUsDiagramEditor:Wi,DThemeDarkEnUsDialogConfirmDelete:ru,DThemeDarkEnUsDialogConfirmDiscard:iu,DThemeDarkEnUsDialogConfirm:eu,DThemeDarkEnUsDialogLayeredFooter:Qi,DThemeDarkEnUsDialogMessage:pu,dThemeDarkEnUsDialogProcessingMessage:su,DThemeDarkEnUsDialogProcessing:fu,DThemeDarkEnUsDialogSaveAs:du,DThemeDarkEnUsDialogSelect:ki,DThemeDarkEnUsIndicatorProcessing:Ha,DThemeDarkEnUsInputBooleanButtonOff:ku,DThemeDarkEnUsInputBooleanButtonOn:Au,DThemeDarkEnUsLink:Su,DThemeDarkEnUsNoteError:bu,DThemeDarkEnUsNoteNoItemsFound:Nu,DThemeDarkEnUsNoteSearching:Gu,DThemeDarkEnUsPickerColor:So,DThemeDarkEnUsPickerDate:Jo,DThemeDarkEnUsPickerDatetime:Qo,DThemeDarkEnUsPickerTime:jo,EThemeDarkEnUsShapePointsFormatter:Gi};Ma();var Ga=window;Ga.wcardinal=Ga.wcardinal||{};var va=Ga.wcardinal.ui=Ga.wcardinal.ui||{},xa=wa;for(var Pa in xa)va[Pa]=xa[Pa]}(PIXI);
10
10
  //# sourceMappingURL=wcardinal-ui-theme-dark-en-us.min.js.map