@wcardinal/wcardinal-ui 0.408.0 → 0.410.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 (189) hide show
  1. package/dist/types/wcardinal/ui/d-base-snippet-container.d.ts +1 -0
  2. package/dist/types/wcardinal/ui/d-base.d.ts +1 -0
  3. package/dist/types/wcardinal/ui/shape/e-shape-buffer.d.ts +3 -9
  4. package/dist/types/wcardinal/ui/shape/e-shape-container.d.ts +1 -1
  5. package/dist/types/wcardinal/ui/shape/e-shape-points-formatter-curve-bezier-quadratic.d.ts +2 -0
  6. package/dist/types/wcardinal/ui/shape/e-shape-points-formatters.d.ts +2 -1
  7. package/dist/types/wcardinal/ui/shape/e-shape-points-style.d.ts +7 -1
  8. package/dist/types/wcardinal/ui/shape/index.d.ts +1 -0
  9. package/dist/types/wcardinal/ui/shape/variant/build-bar.d.ts +1 -2
  10. package/dist/types/wcardinal/ui/shape/variant/build-circle.d.ts +1 -2
  11. package/dist/types/wcardinal/ui/shape/variant/build-color.d.ts +1 -1
  12. package/dist/types/wcardinal/ui/shape/variant/build-image-sdf.d.ts +0 -1
  13. package/dist/types/wcardinal/ui/shape/variant/build-line-of-any.d.ts +17 -1
  14. package/dist/types/wcardinal/ui/shape/variant/build-line.d.ts +2 -3
  15. package/dist/types/wcardinal/ui/shape/variant/build-null.d.ts +0 -1
  16. package/dist/types/wcardinal/ui/shape/variant/build-rectangle-rounded.d.ts +2 -3
  17. package/dist/types/wcardinal/ui/shape/variant/build-rectangle.d.ts +4 -5
  18. package/dist/types/wcardinal/ui/shape/variant/build-semicircle.d.ts +1 -2
  19. package/dist/types/wcardinal/ui/shape/variant/build-text.d.ts +0 -1
  20. package/dist/types/wcardinal/ui/shape/variant/build-triangle-rounded.d.ts +1 -2
  21. package/dist/types/wcardinal/ui/shape/variant/build-triangle.d.ts +1 -2
  22. package/dist/types/wcardinal/ui/shape/variant/builder-bar.d.ts +1 -1
  23. package/dist/types/wcardinal/ui/shape/variant/builder-base.d.ts +1 -2
  24. package/dist/types/wcardinal/ui/shape/variant/builder-line-of-any.d.ts +1 -2
  25. package/dist/types/wcardinal/ui/shape/variant/builder-line-of-rectangle-roundeds.d.ts +1 -1
  26. package/dist/types/wcardinal/ui/shape/variant/builder-line-of-rectangles.d.ts +1 -1
  27. package/dist/types/wcardinal/ui/shape/variant/builder-line-of-triangle-roundeds.d.ts +1 -1
  28. package/dist/types/wcardinal/ui/shape/variant/builder-line.d.ts +1 -2
  29. package/dist/types/wcardinal/ui/shape/variant/builder-marker-base.d.ts +1 -1
  30. package/dist/types/wcardinal/ui/shape/variant/builder-marker-rectangle.d.ts +1 -1
  31. package/dist/types/wcardinal/ui/shape/variant/builder-rectangle-pivoted.d.ts +1 -1
  32. package/dist/types/wcardinal/ui/shape/variant/builder-rectangle-rounded.d.ts +1 -1
  33. package/dist/types/wcardinal/ui/shape/variant/builder-rectangle.d.ts +1 -1
  34. package/dist/types/wcardinal/ui/shape/variant/builder-text.d.ts +1 -2
  35. package/dist/types/wcardinal/ui/shape/variant/builder-triangle-rounded.d.ts +1 -1
  36. package/dist/types/wcardinal/ui/shape/variant/builder.d.ts +9 -18
  37. package/dist/types/wcardinal/ui/shape/variant/index.d.ts +0 -1
  38. package/dist/types/wcardinal/ui/shape/variant/to-dash.d.ts +1 -2
  39. package/dist/types/wcardinal/ui/shape/variant/to-normal-packed.d.ts +1 -0
  40. package/dist/types/wcardinal/ui/shape/variant/to-normal.d.ts +1 -0
  41. package/dist/types/wcardinal/ui/shape/variant/to-packed.d.ts +2 -0
  42. package/dist/types/wcardinal/ui/shape/variant/to-vector-length.d.ts +1 -0
  43. package/dist/types/wcardinal/ui/shape/variant/to-vector.d.ts +1 -0
  44. package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-en-us-shape-points-formatter.d.ts +2 -1
  45. package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-ja-jp-shape-points-formatter.d.ts +2 -1
  46. package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-shape-points-formatter.d.ts +2 -1
  47. package/dist/types/wcardinal/ui/theme/white/e-theme-white-en-us-shape-points-formatter.d.ts +2 -1
  48. package/dist/types/wcardinal/ui/theme/white/e-theme-white-ja-jp-shape-points-formatter.d.ts +2 -1
  49. package/dist/types/wcardinal/ui/theme/white/e-theme-white-shape-points-formatter.d.ts +2 -1
  50. package/dist/wcardinal/ui/d-base-snippet-container.js +11 -3
  51. package/dist/wcardinal/ui/d-base-snippet-container.js.map +1 -1
  52. package/dist/wcardinal/ui/d-base.js +4 -0
  53. package/dist/wcardinal/ui/d-base.js.map +1 -1
  54. package/dist/wcardinal/ui/d-scroll-bar.js +1 -0
  55. package/dist/wcardinal/ui/d-scroll-bar.js.map +1 -1
  56. package/dist/wcardinal/ui/shape/e-shape-buffer.js +10 -30
  57. package/dist/wcardinal/ui/shape/e-shape-buffer.js.map +1 -1
  58. package/dist/wcardinal/ui/shape/e-shape-container.js +1 -1
  59. package/dist/wcardinal/ui/shape/e-shape-container.js.map +1 -1
  60. package/dist/wcardinal/ui/shape/e-shape-points-formatter-curve-bezier-quadratic.js +165 -0
  61. package/dist/wcardinal/ui/shape/e-shape-points-formatter-curve-bezier-quadratic.js.map +1 -0
  62. package/dist/wcardinal/ui/shape/e-shape-points-formatters.js +7 -2
  63. package/dist/wcardinal/ui/shape/e-shape-points-formatters.js.map +1 -1
  64. package/dist/wcardinal/ui/shape/e-shape-points-style.js +12 -4
  65. package/dist/wcardinal/ui/shape/e-shape-points-style.js.map +1 -1
  66. package/dist/wcardinal/ui/shape/e-shape-renderer.js +4 -5
  67. package/dist/wcardinal/ui/shape/e-shape-renderer.js.map +1 -1
  68. package/dist/wcardinal/ui/shape/index.js +1 -0
  69. package/dist/wcardinal/ui/shape/index.js.map +1 -1
  70. package/dist/wcardinal/ui/shape/variant/build-bar.js +37 -63
  71. package/dist/wcardinal/ui/shape/variant/build-bar.js.map +1 -1
  72. package/dist/wcardinal/ui/shape/variant/build-circle.js +63 -40
  73. package/dist/wcardinal/ui/shape/variant/build-circle.js.map +1 -1
  74. package/dist/wcardinal/ui/shape/variant/build-color.js +8 -11
  75. package/dist/wcardinal/ui/shape/variant/build-color.js.map +1 -1
  76. package/dist/wcardinal/ui/shape/variant/build-image-sdf.js +30 -37
  77. package/dist/wcardinal/ui/shape/variant/build-image-sdf.js.map +1 -1
  78. package/dist/wcardinal/ui/shape/variant/build-line-of-any.js +244 -25
  79. package/dist/wcardinal/ui/shape/variant/build-line-of-any.js.map +1 -1
  80. package/dist/wcardinal/ui/shape/variant/build-line.js +149 -129
  81. package/dist/wcardinal/ui/shape/variant/build-line.js.map +1 -1
  82. package/dist/wcardinal/ui/shape/variant/build-null.js +0 -7
  83. package/dist/wcardinal/ui/shape/variant/build-null.js.map +1 -1
  84. package/dist/wcardinal/ui/shape/variant/build-rectangle-rounded.js +917 -849
  85. package/dist/wcardinal/ui/shape/variant/build-rectangle-rounded.js.map +1 -1
  86. package/dist/wcardinal/ui/shape/variant/build-rectangle.js +279 -353
  87. package/dist/wcardinal/ui/shape/variant/build-rectangle.js.map +1 -1
  88. package/dist/wcardinal/ui/shape/variant/build-semicircle.js +45 -31
  89. package/dist/wcardinal/ui/shape/variant/build-semicircle.js.map +1 -1
  90. package/dist/wcardinal/ui/shape/variant/build-text.js +6 -13
  91. package/dist/wcardinal/ui/shape/variant/build-text.js.map +1 -1
  92. package/dist/wcardinal/ui/shape/variant/build-triangle-rounded.js +255 -128
  93. package/dist/wcardinal/ui/shape/variant/build-triangle-rounded.js.map +1 -1
  94. package/dist/wcardinal/ui/shape/variant/build-triangle.js +55 -35
  95. package/dist/wcardinal/ui/shape/variant/build-triangle.js.map +1 -1
  96. package/dist/wcardinal/ui/shape/variant/builder-bar.js +8 -11
  97. package/dist/wcardinal/ui/shape/variant/builder-bar.js.map +1 -1
  98. package/dist/wcardinal/ui/shape/variant/builder-base.js +18 -22
  99. package/dist/wcardinal/ui/shape/variant/builder-base.js.map +1 -1
  100. package/dist/wcardinal/ui/shape/variant/builder-circle.js +4 -7
  101. package/dist/wcardinal/ui/shape/variant/builder-circle.js.map +1 -1
  102. package/dist/wcardinal/ui/shape/variant/builder-image-sdf.js +3 -6
  103. package/dist/wcardinal/ui/shape/variant/builder-image-sdf.js.map +1 -1
  104. package/dist/wcardinal/ui/shape/variant/builder-line-of-any.js +13 -17
  105. package/dist/wcardinal/ui/shape/variant/builder-line-of-any.js.map +1 -1
  106. package/dist/wcardinal/ui/shape/variant/builder-line-of-circles.js +5 -12
  107. package/dist/wcardinal/ui/shape/variant/builder-line-of-circles.js.map +1 -1
  108. package/dist/wcardinal/ui/shape/variant/builder-line-of-rectangle-roundeds.js +10 -26
  109. package/dist/wcardinal/ui/shape/variant/builder-line-of-rectangle-roundeds.js.map +1 -1
  110. package/dist/wcardinal/ui/shape/variant/builder-line-of-rectangles.js +9 -25
  111. package/dist/wcardinal/ui/shape/variant/builder-line-of-rectangles.js.map +1 -1
  112. package/dist/wcardinal/ui/shape/variant/builder-line-of-triangle-roundeds.js +9 -25
  113. package/dist/wcardinal/ui/shape/variant/builder-line-of-triangle-roundeds.js.map +1 -1
  114. package/dist/wcardinal/ui/shape/variant/builder-line-of-triangles.js +5 -12
  115. package/dist/wcardinal/ui/shape/variant/builder-line-of-triangles.js.map +1 -1
  116. package/dist/wcardinal/ui/shape/variant/builder-line.js +13 -27
  117. package/dist/wcardinal/ui/shape/variant/builder-line.js.map +1 -1
  118. package/dist/wcardinal/ui/shape/variant/builder-marker-base.js +27 -19
  119. package/dist/wcardinal/ui/shape/variant/builder-marker-base.js.map +1 -1
  120. package/dist/wcardinal/ui/shape/variant/builder-marker-circle.js +4 -7
  121. package/dist/wcardinal/ui/shape/variant/builder-marker-circle.js.map +1 -1
  122. package/dist/wcardinal/ui/shape/variant/builder-marker-rectangle.js +7 -13
  123. package/dist/wcardinal/ui/shape/variant/builder-marker-rectangle.js.map +1 -1
  124. package/dist/wcardinal/ui/shape/variant/builder-marker-triangle.js +4 -7
  125. package/dist/wcardinal/ui/shape/variant/builder-marker-triangle.js.map +1 -1
  126. package/dist/wcardinal/ui/shape/variant/builder-rectangle-pivoted.js +7 -13
  127. package/dist/wcardinal/ui/shape/variant/builder-rectangle-pivoted.js.map +1 -1
  128. package/dist/wcardinal/ui/shape/variant/builder-rectangle-rounded.js +6 -12
  129. package/dist/wcardinal/ui/shape/variant/builder-rectangle-rounded.js.map +1 -1
  130. package/dist/wcardinal/ui/shape/variant/builder-rectangle.js +7 -13
  131. package/dist/wcardinal/ui/shape/variant/builder-rectangle.js.map +1 -1
  132. package/dist/wcardinal/ui/shape/variant/builder-semicircle.js +4 -7
  133. package/dist/wcardinal/ui/shape/variant/builder-semicircle.js.map +1 -1
  134. package/dist/wcardinal/ui/shape/variant/builder-text.js +19 -28
  135. package/dist/wcardinal/ui/shape/variant/builder-text.js.map +1 -1
  136. package/dist/wcardinal/ui/shape/variant/builder-triangle-rounded.js +7 -12
  137. package/dist/wcardinal/ui/shape/variant/builder-triangle-rounded.js.map +1 -1
  138. package/dist/wcardinal/ui/shape/variant/builder-triangle.js +4 -7
  139. package/dist/wcardinal/ui/shape/variant/builder-triangle.js.map +1 -1
  140. package/dist/wcardinal/ui/shape/variant/builder.js +18 -14
  141. package/dist/wcardinal/ui/shape/variant/builder.js.map +1 -1
  142. package/dist/wcardinal/ui/shape/variant/index.js +0 -1
  143. package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
  144. package/dist/wcardinal/ui/shape/variant/to-dash.js +8 -9
  145. package/dist/wcardinal/ui/shape/variant/to-dash.js.map +1 -1
  146. package/dist/wcardinal/ui/shape/variant/to-normal-packed.js +7 -0
  147. package/dist/wcardinal/ui/shape/variant/to-normal-packed.js.map +1 -0
  148. package/dist/wcardinal/ui/shape/variant/to-normal.js +15 -0
  149. package/dist/wcardinal/ui/shape/variant/to-normal.js.map +1 -0
  150. package/dist/wcardinal/ui/shape/variant/to-packed.js +7 -0
  151. package/dist/wcardinal/ui/shape/variant/to-packed.js.map +1 -0
  152. package/dist/wcardinal/ui/shape/variant/to-vector-length.js +4 -0
  153. package/dist/wcardinal/ui/shape/variant/to-vector-length.js.map +1 -0
  154. package/dist/wcardinal/ui/shape/variant/to-vector.js +6 -0
  155. package/dist/wcardinal/ui/shape/variant/to-vector.js.map +1 -0
  156. package/dist/wcardinal/ui/theme/dark/e-theme-dark-en-us-shape-points-formatter.js +5 -2
  157. package/dist/wcardinal/ui/theme/dark/e-theme-dark-en-us-shape-points-formatter.js.map +1 -1
  158. package/dist/wcardinal/ui/theme/dark/e-theme-dark-ja-jp-shape-points-formatter.js +5 -2
  159. package/dist/wcardinal/ui/theme/dark/e-theme-dark-ja-jp-shape-points-formatter.js.map +1 -1
  160. package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-points-formatter.js.map +1 -1
  161. package/dist/wcardinal/ui/theme/white/e-theme-white-en-us-shape-points-formatter.js +5 -2
  162. package/dist/wcardinal/ui/theme/white/e-theme-white-en-us-shape-points-formatter.js.map +1 -1
  163. package/dist/wcardinal/ui/theme/white/e-theme-white-ja-jp-shape-points-formatter.js +5 -2
  164. package/dist/wcardinal/ui/theme/white/e-theme-white-ja-jp-shape-points-formatter.js.map +1 -1
  165. package/dist/wcardinal/ui/theme/white/e-theme-white-shape-points-formatter.js.map +1 -1
  166. package/dist/wcardinal-ui-theme-dark-en-us.js +6 -3
  167. package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
  168. package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
  169. package/dist/wcardinal-ui-theme-dark-ja-jp.js +6 -3
  170. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
  171. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
  172. package/dist/wcardinal-ui-theme-dark.js +6 -3
  173. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  174. package/dist/wcardinal-ui-theme-white-en-us.js +6 -3
  175. package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
  176. package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
  177. package/dist/wcardinal-ui-theme-white-ja-jp.js +6 -3
  178. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
  179. package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
  180. package/dist/wcardinal-ui-theme-white.js +6 -3
  181. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  182. package/dist/wcardinal-ui.cjs.js +2526 -2114
  183. package/dist/wcardinal-ui.js +2502 -2102
  184. package/dist/wcardinal-ui.min.js +2 -2
  185. package/dist/wcardinal-ui.min.js.map +1 -1
  186. package/package.json +1 -1
  187. package/dist/types/wcardinal/ui/shape/variant/copy-clipping.d.ts +0 -1
  188. package/dist/wcardinal/ui/shape/variant/copy-clipping.js +0 -20
  189. package/dist/wcardinal/ui/shape/variant/copy-clipping.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.408.0
2
+ Winter Cardinal UI v0.410.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(n){"use strict";var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:n.SCALE_MODES.LINEAR,mipmap:n.MIPMAP_MODES.OFF}),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var u=n.u[t];if(null!=u)return this.t[t]=new u;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.set=function(n,t){return this.t[n]=t,this},n.prototype.getClass=function(t){var r=n.u[t];if(null!=r)return r;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.setClass=function(t,r){return n.u[t]=r,this},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,o=wcardinal.ui.DBorderMask,c=wcardinal.ui.DCornerMask,f=wcardinal.ui.DLayoutClearType,a=wcardinal.ui.DShadowImpl,l=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=13421772,n.ACTIVE_COLOR=0,n.BORDER_COLOR=4868682,n.BACKGROUND_COLOR=3026478,n.BACKGROUND_COLOR_ON_BOARD=2039583,n.HIGHLIGHT_COLOR=2267123,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=5592405,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=14290446,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=l.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),h=function(){function n(){}return n.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic","Meiryo",sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),D=function(n,r,u){var e=2*r;t.add(n,e,e,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*u,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*u,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*u,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*u,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*u,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*u,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*u,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(e,'" height="').concat(e,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};D("shadow_weak",24,.72),D("shadow",48,.72),t.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 d=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return o.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return c.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return o.NONE},r.prototype.getClearType=function(){return f.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return i.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new a(t.mappings.shadow,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new a(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(h),m=function(){r.set("DBase",d)},k=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return e(t,n),t.prototype.getBackgroundColor=function(){return this.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return i.BOTH},t}(d),T=function(){r.set("DBoard",k)};const p=wcardinal.ui.DAlignHorizontal,g=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,w=wcardinal.ui.DAlignWith,y=wcardinal.ui.DDynamicTextStyleWordWrap,I=wcardinal.ui.toString;var C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return y.NONE},t.prototype.getTextFormatter=function(){return I},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(d),v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageRotation=function(n){return 0},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getSecondaryImageRotation=function(n){return this.getImageRotation(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageRotation=function(n){return this.getImageRotation(n)},t}(C),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=l.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=l.brighten(t,u),e.OUTLINE_COLOR=l.darken(t,.75),e}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return g.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(v),x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(B),S=function(){r.set("DButtonAmbient",x)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var M=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}(),E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return M.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return M.getImageSource(n)},t}(x),_=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(E),L=function(){r.set("DButtonCheckRight",_)},P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return n.call(this,15702682,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),U=function(){r.set("DButtonDanger",F)},N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(B),A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(N),H=function(){r.set("DButtonFile",A)},R=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(x),z=function(){r.set("DButtonLink",R)},G=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),V=function(){r.set("DButtonPrimary",G)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var O=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(x),q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(O),Y=function(){r.set("DButtonRadioRight",q)},X=function(){r.set("DButtonRadio",O)},W=function(n){function t(){return n.call(this,12096758,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):0},t}(B),K=function(){r.set("DButtonSecondary",W)},Z=function(){r.set("DButton",N)},j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getInteractive=function(){return i.BOTH},t}(d),J=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return i.BOTH},t}(d),Q=function(){r.set("DCanvasContainer",J),r.set("DCanvas",j)},$=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d);const nn=wcardinal.ui.DChartAxisPosition,tn=wcardinal.ui.DChartAxisTickPosition,rn=wcardinal.ui.EShapeTextAlignHorizontal,un=wcardinal.ui.EShapeTextAlignVertical,en=wcardinal.ui.EShapeTextDirection;var on=function(){function n(){}return n.prototype.getPosition=function(){return nn.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(on),fn=function(n,t,r){var u=Math.abs(t-n)/r;if(u<=10)return u<=1.33?1:u<=2.86?2:u<=6.67?5:10;if(u<=100)return u<=13.33?10:u<=28.57?20:u<=66.67?50:100;if(u<=1e3)return u<=133.33?100:u<=285.71?200:u<=666.67?500:1e3;if(u<=1e4)return u<=1333.33?1e3:u<=2857.14?2e3:u<=6666.66?5e3:1e4;if(u<=12e4)return u<=13333.33?1e4:u<=24e3?2e4:u<=4e4?3e4:u<=72e3?6e4:u<=102857.14?9e4:12e4;if(u<=108e5)return u<=171428.57?12e4:u<=4e5?3e5:u<=8e5?6e5:u<=144e4?12e5:u<=24e5?18e5:u<=432e4?36e5:u<=6171428.57?54e5:u<=8e6?72e5:u<=9818181.82?9e6:108e5;var e=36e5,i=u/e;if(i<=24)return i<=1.33?e: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 o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return fn},t}(cn),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPosition=function(){return nn.LEFT},t.prototype.getLabelDirection=function(){return en.BOTTOM_TO_TOP},t}(on),sn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),hn=function(){function n(){}return n.prototype.toStep=function(n,t,r){var u=Math.abs(t-n)/r,e=Math.floor(Math.log(u)/Math.LN10),i=Math.pow(10,e),o=u/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),Dn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(d);const pn=wcardinal.ui.EShapeStrokeStyle,gn=wcardinal.ui.EShapeBar,bn=wcardinal.ui.EShapeBarPosition;var wn=function(){},yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.TOP,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.LEFT,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn);const Cn=wcardinal.ui.EShapeCircle;var vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new Cn;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(wn),Bn=function(){r.set("DChart",$),r.set("DChartAxisX",cn),r.set("DChartAxisXDatetime",an),r.set("DChartAxisY",ln),r.set("DChartCoordinate",sn),r.set("DChartCoordinateTick",hn),r.set("DChartCoordinateTransform",Dn),r.set("DChartLegend",dn),r.set("DChartLegendItem",mn),r.set("DChartOverview",kn),r.set("DChartPlotArea",Tn),r.set("DChartSelectionGridlineX",yn),r.set("DChartSelectionGridlineY",In),r.set("DChartSelectionMarker",vn)},xn=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Sn=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(l.brighten(n[t],.75));for(t=10;t<20;++t)n.push(l.brighten(n[t],.45));for(t=10;t<20;++t)n.push(l.brighten(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.45));for(t=10;t<20;++t)n.push(l.darken(n[t],.75));return n},n}(),Mn=function(){r.set("DColorRecent",xn),r.set("DColorStandard",Sn)};const En=wcardinal.ui.DAnimationFadeIn,_n=wcardinal.ui.DDialogAlign,Ln=wcardinal.ui.DDialogCloseOn,Pn=wcardinal.ui.DDialogGestureMode,Fn=wcardinal.ui.DDialogMode,Un=wcardinal.ui.DDialogState;var Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMode=function(){return Fn.MODAL},t.prototype.closeOn=function(n){switch(n){case Fn.MODAL:case Fn.MENU:return Ln.ESC|Ln.CLICK_OUTSIDE;case Fn.MODELESS:return Ln.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Fn.MODAL:case Fn.MODELESS:return!0;case Fn.MENU:return!1}},t.prototype.getGestureMode=function(n){return Pn.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return _n.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Fn.MODAL:return new En;case Fn.MODELESS:case Fn.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(Un.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(Un.MENU)?null:3750201},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return i.BOTH},t}(d),An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(Nn),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(An);const Rn=wcardinal.ui.DLayoutDirection;var zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(d),Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(zn),Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Gn),On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(Vn),qn=function(){r.set("DDialogFittedContent",On),r.set("DDialogFitted",Hn)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(An),Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Wn=function(){r.set("DDialogInputBoolean",Xn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Zn=function(){r.set("DDialogInputInteger",Kn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Jn=function(){r.set("DDialogInputReal",jn)},Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),$n=function(){r.set("DDialogInputText",Qn)},nt=function(){r.set("DDialog",Nn)};t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var tt=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return e(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(B),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(tt),ut=function(){r.set("DDropdown",rt)},et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(v);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?3026478:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return c.ALL},t}(it),ct=function(){r.set("DExpandableHeader",ot),r.set("DExpandable",et)};const ft=wcardinal.ui.DHtmlElementState,at=wcardinal.ui.UtilHtmlElementWhen;var lt=function(){return null},st=function(n){var t=document.createElement("div");return n.appendChild(t),t},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return lt},t.prototype.setElementStyle=function(n,t,r,u,e,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ft.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,u=n.y-t.y;return"left:".concat(r,"px; top:").concat(u,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var r=t.id;return"-webkit-clip-path: url(#".concat(r,"); clip-path: url(#").concat(r,");")}return""},t.prototype.getClipperCreator=function(){return st},t.prototype.setClipperStyle=function(n,t,r,u,e,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return st},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return st},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return at.FOCUSED},t.prototype.getSelect=function(){return!1},t}(v),Dt=function(){r.set("DHtmlElement",ht)},dt=function(){r.set("DImage",it)},mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(zn),kt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(mt),Tt=function(){r.set("DInputAndLabel",kt)},pt=function(){return null},gt=function(n){return n},bt=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.017),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:null},t.prototype.getOutlineColor=function(t){return t.isInvalid?s.INVALID_COLOR:n.prototype.getOutlineColor.call(this,t)},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return gt},t.prototype.getEditingValidator=function(){return pt},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1.5px solid transparent; box-sizing: border-box;"},t}(ht),wt="d-theme-dark-input",yt="".concat(wt,"-element"),It=function(n){var t=n.getElementsByClassName(yt);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",yt),n.appendChild(r),r},Ct=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},vt="".concat(wt,"-clipper"),Bt=function(n){return Ct(n,vt)},xt="".concat(wt,"-before"),St=function(n){return Ct(n,xt)},Mt="".concat(wt,"-after"),Et=function(n){return Ct(n,Mt)},_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return It},t.prototype.getClipperCreator=function(){return Bt},t.prototype.getBeforeCreator=function(){return St},t.prototype.getAfterCreator=function(){return Et},t}(bt),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(_t),Pt=function(n){var t=parseInt(n,10);return t==t?t:0},Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Pt},t}(Lt),Ut=function(){r.set("DInputInteger",Ft)},Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Nt),Ht=function(){r.set("DInputLabel",At)},Rt=function(n){var t=parseFloat(n);return t==t?t:0},zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Rt},t}(Lt),Gt=function(){r.set("DInputReal",zt)},Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(_t);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Ot=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Vt),qt=function(){r.set("DInputSearch",Ot)},Yt="d-theme-dark-input-text-area",Xt="".concat(Yt,"-element"),Wt=function(n){var t=n.getElementsByClassName(Xt);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Xt),n.appendChild(r),r},Kt=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Zt="".concat(Yt,"-clipper"),jt=function(n){return Kt(n,Zt)},Jt="".concat(Yt,"-before"),Qt=function(n){return Kt(n,Jt)},$t="".concat(Yt,"-after"),nr=function(n){return Kt(n,$t)},tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return y.NORMAL},t.prototype.getElementCreator=function(){return Wt},t.prototype.getClipperCreator=function(){return jt},t.prototype.getBeforeCreator=function(){return Qt},t.prototype.getAfterCreator=function(){return nr},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case y.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(bt),rr=function(){r.set("DInputTextArea",tr)},ur=function(){r.set("DInputText",Vt)},er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return f.BOTH},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ir=function(){r.set("DLayout",zn),r.set("DLayoutHorizontal",mt),r.set("DLayoutSpace",er),r.set("DLayoutVertical",Gn)};const or=wcardinal.ui.UtilGestureMode;var cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return or.TOUCH},t}(d),fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(cr),ar=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=l.brighten(n,.0075),this.D=1,this.m=l.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:l.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=l.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=16777215,this.l=0,this.h=16777215,this.D=.0075,this.m=s.INVALID_COLOR,this.k=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.p=r?1:s.HIGHLIGHT_ALPHA,this.g=s.WEAK_HIGHLIGHT_COLOR,this.I=s.WEAK_HIGHLIGHT_ALPHA),this.C=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.B=s.COLOR,this.S=s.ACTIVE_COLOR):(this.B=s.COLOR,this.S=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.m:n.isActive?this.T:n.isHovered?this.g:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.D:this.l:0:n.isInvalid?this.k:n.isActive?this.p:n.isHovered?this.I:this.i?n.isAlternated?this.D:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return o.NONE},n.prototype.getColor=function(n){return n.isActive?this.S:this.B},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.C:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return c.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),lr=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ar(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),sr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new ar(null,!1,!0)},t}(lr),hr=function(){r.set("DListItemAmbient",sr),r.set("DListItem",lr),r.set("DList",fr)},Dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(mt),dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(N),mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Gn),kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):t.isActive?this.getColorActive(t):n.prototype.getColor.call(this,t)},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(it),Tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(kr),pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(Tr);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var gr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(pr),br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),yr=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();yr.init();var Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?yr.getImageOpened():yr.getImageClosed()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(kr),Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(gr);const vr=wcardinal.ui.DBaseState,Br=wcardinal.ui.DThemes;var xr=function(n){function t(){var t=n.call(this)||this;return t._=Br.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageSource=function(n){return n.is(vr.NEW_WINDOW)?this._.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t}(pr),Sr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(xr);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var Mr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Tr),Er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Mr),_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(kr),Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(_r),Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(er),Fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Pr),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(pr),Nr=function(){r.set("DMenu",mr),r.set("DMenuItem",Tr),r.set("DMenuItemCheck",gr),r.set("DMenuItemLink",xr),r.set("DMenuItemMenu",Mr),r.set("DMenuItemSeparator",_r),r.set("DMenuItemSpace",Pr),r.set("DMenuItemText",pr),r.set("DMenuItemExpandableBody",wr),r.set("DMenuItemExpandableHeader",Ir),r.set("DMenuItemExpandableItemCheck",Cr),r.set("DMenuItemExpandableItemLink",Sr),r.set("DMenuItemExpandableItemMenu",Er),r.set("DMenuItemExpandableItemSeparator",Lr),r.set("DMenuItemExpandableItemSpace",Fr),r.set("DMenuItemExpandableItemText",Ur),r.set("DMenuItemExpandable",br)},Ar=function(){r.set("DMenuBarItem",dr),r.set("DMenuBar",Dr),Nr()},Hr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t}(cr),Rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Gn),zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gr),Gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(br),Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Cr),Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Sr),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Er),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Lr),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Fr),Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ur),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(xr),Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Mr),jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(_r),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Pr),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(pr),$r=function(){r.set("DMenuSided",Hr),r.set("DMenuSidedContent",Rr),r.set("DMenuSidedItemCheck",zr),r.set("DMenuSidedItemLink",Kr),r.set("DMenuSidedItemMenu",Zr),r.set("DMenuSidedItemSeparator",jr),r.set("DMenuSidedItemSpace",Jr),r.set("DMenuSidedItemText",Qr),r.set("DMenuSidedItemExpandable",Gr),r.set("DMenuSidedItemExpandableItemCheck",Vr),r.set("DMenuSidedItemExpandableItemLink",Or),r.set("DMenuSidedItemExpandableItemMenu",qr),r.set("DMenuSidedItemExpandableItemSeparator",Yr),r.set("DMenuSidedItemExpandableItemSpace",Xr),r.set("DMenuSidedItemExpandableItemText",Wr)},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(mt);t.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 tu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getInteractive=function(){return i.NONE},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getImageAlignWith=function(){return w.BORDER},r}(v);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var ru=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(x);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var uu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(x),eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(x);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var iu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(x);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var ou=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(x),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t}(v),fu=function(){r.set("DPagination",nu),r.set("DPaginationPage",cu),r.set("DPaginationDots",tu),r.set("DPaginationButtonLast",ru),r.set("DPaginationButtonNext",uu),r.set("DPaginationButtonPage",eu),r.set("DPaginationButtonPrevious",iu),r.set("DPaginationButtonTop",ou)},au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(d),su=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=l.brighten(s.WEAK_HIGHLIGHT_COLOR,.25),t.BORDER_COLOR_DISABLED=l.darken(t.BORDER_COLOR,.75),t.BORDER_COLOR_HOVERED=l.darken(t.BORDER_COLOR,.25),t.BORDER_COLOR_OTHER=l.darken(t.BORDER_COLOR,.5),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return n.inDisabled?this.BORDER_COLOR_DISABLED:n.isHovered||n.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},t.prototype.getBorderAlpha=function(n){return 1},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),hu=function(){r.set("DScrollBar",lu),r.set("DScrollBarThumb",su)},Du=function(){r.set("DPane",cr),r.set("DContent",au),hu()};const du=wcardinal.ui.isString;var mu=function(n){if(n){var t=n.text.value;if(du(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return mu},t.prototype.newTextValue=function(){return null},t}(tt),Tu=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text.value;if(du(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return Tu},t.prototype.newTextValue=function(){return[]},t}(tt),gu=function(){r.set("DSelectMultiple",pu),r.set("DSelect",ku),ut()};const bu=wcardinal.ui.EShapeActionOpenDialogExtensions,wu=wcardinal.ui.EShapeActionOpenExtensions,yu=wcardinal.ui.EShapeActionValueBlinkType,Iu=wcardinal.ui.EShapeActionValueChangeColorTarget,Cu=wcardinal.ui.EShapeActionValueChangeColorType,vu=wcardinal.ui.EShapeActionValueChangeTextType,Bu=wcardinal.ui.EShapeActionValueGestureOperationType,xu=wcardinal.ui.EShapeActionValueGestureType,Su=wcardinal.ui.EShapeActionValueMiscType,Mu=wcardinal.ui.EShapeActionValueOnInputAction,Eu=wcardinal.ui.EShapeActionValueOpenDialogType,_u=wcardinal.ui.EShapeActionValueOpenType,Lu=wcardinal.ui.EShapeActionValueOpetyped,Pu=wcardinal.ui.EShapeActionValueShowHideType,Fu=wcardinal.ui.EShapeActionValueSubtyped,Uu=wcardinal.ui.EShapeActionValueTransformMoveType,Nu=wcardinal.ui.EShapeActionValueTransformResizeType,Au=wcardinal.ui.EShapeActionValueTransformRotateType,Hu=wcardinal.ui.EShapeActionValueTransformType,Ru=wcardinal.ui.EShapeActionValueType;var zu=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof Fu){var r,u=n.subtype;if(n instanceof Lu){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case Ru.SHOW_HIDE:return"".concat(u,": ").concat(this.toShowHideTypeLabel(t));case Ru.BLINK:return"".concat(u,": ").concat(this.toBlinkTypeLabel(t));case Ru.CHANGE_COLOR:case Ru.CHANGE_COLOR_LEGACY:return"".concat(u,": ").concat(this.toChangeColorTypeLabel(t));case Ru.CHANGE_TEXT:return"".concat(u,": ").concat(this.toChangeTextTypeLabel(t));case Ru.OPEN:return"".concat(u,": ").concat(this.toOpenTypeLabel(t));case Ru.GESTURE:return"".concat(u,": ").concat(this.toGestureTypeLabel(t));case Ru.MISC:return"".concat(u,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case Ru.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case Hu.ROTATE:return"".concat(e,": ").concat(this.toTransformRotateTypeLabel(r));case Hu.MOVE:return"".concat(e,": ").concat(this.toTransformMoveTypeLabel(r));case Hu.RESIZE:return"".concat(e,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Ru.SHOW_HIDE:return"Show / hide";case Ru.BLINK:return"Blink";case Ru.TRANSFORM:return"Transform";case Ru.OPEN:return"Open";case Ru.CHANGE_COLOR:case Ru.CHANGE_COLOR_LEGACY:return"Change color";case Ru.CHANGE_TEXT:return"Change text";case Ru.CHANGE_CURSOR:return"Change cursor";case Ru.EMIT_EVENT:return"Emit an event";case Ru.GESTURE:return"Gesture";case Ru.MISC:return"Misc.";default:return Ru.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case yu.VISIBILITY:return"Visibility";case yu.BRIGHTEN:return"Brighten";case yu.DARKEN:return"Darken";case yu.OPACITY:return"Opacity";case yu.COLOR_FILL:return"Fill";case yu.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case Pu.SHAPE_SHOW:return"Show";case Pu.SHAPE_HIDE:return"Hide";case Pu.SHAPE:return"Shape";case Pu.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case Hu.RESIZE:return"Resize";case Hu.MOVE:return"Move";case Hu.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Au.RELATIVE:return"Relative";case Au.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Uu.RELATIVE_X:return"Relative X";case Uu.RELATIVE_Y:return"Relative Y";case Uu.ABSOLUTE_X:return"Absolute X";case Uu.ABSOLUTE_Y:return"Absolute Y";case Uu.FORWARD_OR_BACKWARD:return"Forward / backward";case Uu.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case Nu.ABSOLUTE_SIZE:return"Height & width";case Nu.RELATIVE_SIZE:return"Height & width (%)";case Nu.ABSOLUTE_HEIGHT:return"Height";case Nu.RELATIVE_HEIGHT:return"Height (%)";case Nu.ABSOLUTE_WIDTH:return"Width";case Nu.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===Cu.NONE)return"None";var t="",r="";return n&Cu.FILL&&(t+=r+"Fill",r=", "),n&Cu.STROKE&&(t+=r+"Stroke",r=", "),n&Cu.TEXT&&(t+=r+"Text",r=", "),n&Cu.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Iu.COLOR_AND_ALPHA:return"Color";case Iu.COLOR:return"RGB";case Iu.ALPHA:return"Alpha";case Iu.CODE:return"Dynamic color";case Iu.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case vu.TEXT:return"Text";case vu.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case _u.DIAGRAM_LEGACY:return"Diagram";case _u.PAGE_LEGACY:return"Page (New window)";case _u.PAGE_INPLACE_LEGACY:return"Page (In-place)";case _u.DIALOG_TEXT:return"Dialog (Text)";case _u.DIALOG_INTEGER:return"Dialog (Integer)";case _u.DIALOG_REAL:return"Dialog (Real)";case _u.DIALOG_BOOLEAN:return"Dialog (Boolean)";case _u.DIALOG_DATE:return"Dialog (Date)";case _u.DIALOG_TIME:return"Dialog (Time)";case _u.DIALOG_DATETIME:return"Dialog (Datetime)";case _u.DIAGRAM:return"Diagram";case _u.PAGE:return"Page";case _u.DIALOG:return"Dialog";default:if(_u.EXTENSION<=n){var t=wu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Eu.TEXT:return"Text";case Eu.INTEGER:return"Integer";case Eu.REAL:return"Real";case Eu.BOOLEAN:return"Boolean";case Eu.DATE:return"Date";case Eu.TIME:return"Time";case Eu.DATETIME:return"Datetime";default:if(Eu.EXTENSION<=n){var t=bu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case xu.SHAPE:return"Shape";case xu.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case Bu.DRAG:return"Drag";case Bu.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case Su.INPUT_TEXT:return"Input (Text)";case Su.INPUT_INTEGER:return"Input (Integer)";case Su.INPUT_REAL:return"Input (Real)";case Su.EMIT_EVENT:return this.toOnInputActionLabel(Mu.EMIT_EVENT);case Su.WRITE_BOTH:return this.toOnInputActionLabel(Mu.WRITE_BOTH);case Su.WRITE_LOCAL:return this.toOnInputActionLabel(Mu.WRITE_LOCAL);case Su.WRITE_REMOTE:return this.toOnInputActionLabel(Mu.WRITE_REMOTE);case Su.HTML_ELEMENT:return"HTML element";case Su.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Su.SHOW_HIDE_LAYER:return"Show / hide layers";case Su.GESTURE_LAYER:return"Layer gesture";case Su.GESTURE:return"Gesture";case Su.EXECUTE:return"Execute"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case at.CLICKED:return"Clicked";case at.DOUBLE_CLICKED:return"Double clicked";case at.FOCUSED:return"Focused";case at.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case Mu.EMIT_EVENT:return"Emit event";case Mu.WRITE_BOTH:return"Write (Both)";case Mu.WRITE_LOCAL:return"Write (Local)";case Mu.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),Gu=function(){r.set("EShapeActionValue",zu)};const Vu=wcardinal.ui.EShapeStrokeSide;var Ou=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.2},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Vu.ALL},n.prototype.getStrokeStyle=function(){return pn.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),qu=function(){r.set("EShape",Ou)},Yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(d),Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Yu),Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Ku=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=l.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Zu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return Ku.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(N),ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ku.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(N),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(ju),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(ju),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getAlpha=function(n){return n.inDisabled?.38:1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Yu),te=function(){r.set("DSlider",Yu),r.set("DSliderValue",$u),r.set("DSliderLabel",Wu),r.set("DSliderThumb",Zu),r.set("DSliderVertical",ne),r.set("DSliderHorizontal",Xu),r.set("DSliderTrack",ju),r.set("DSliderTrackVertical",Qu),r.set("DSliderTrackHorizontal",Ju)},re=function(){r.set("DText",Nt)};const ue=wcardinal.ui.DTableState;var ee=function(){function n(){}return n.init=function(){yr.init()},n.getImageSource=function(n){return n.is(ue.HAS_CHILDREN)?n.is(ue.OPENED)?yr.getImageOpened():yr.getImageClosed():null},n}(),ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return ee.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(ar),oe=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ie(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(cr),ce=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ie(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ce);ee.init();var ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return this.M.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.M.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.M.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.M.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.M.getSecondaryImageMarginHorizontal()},t}(fe),le=function(){r.set("DTree",oe),r.set("DTreeItemText",ce),r.set("DTreeItemButton",fe),r.set("DTreeItemNonEditable",ae)};const se=wcardinal.ui.UtilGestureModifier;var he=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return se.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return se.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return se.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return or.ON},n.prototype.getGestureModifier=function(){return se.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),De=function(){r.set("DView",he)},de=function(){Br.setDefaultThemeClass(r)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var me=function(n){return"#".concat(l.toCode(n.color)," A").concat(n.alpha.toFixed(2))},ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return me},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(N),Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const pe=wcardinal.ui.DColorType;var ge=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e){var i=(e+u)%2==0?"#5f5f5f":"#454545";r+='<rect x="'.concat(9*e,'" y="').concat(9*u,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),t.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),t.add("picker_color_alpha_checkerboard",234,18,ge(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",36,36,ge(4,4),9,9,18,18),t.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),t.add("picker_color_sample_checkerboard",45,63,ge(5,7)),t.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />'),t.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var be=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 162},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainBaseTexture=function(){return t.mappings.picker_color_main_base},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentTexture=function(){return t.mappings.picker_color_recent},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardOldTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleCheckerboardNewTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleOldTexture=function(){return t.mappings.picker_color_sample},r.prototype.getSampleNewTexture=function(){return t.mappings.picker_color_sample},r.prototype.getStandardColorCount=function(){return 80},r.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},r.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},r.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},r.prototype.getStandardTexture=function(){return t.mappings.picker_color_standard},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.toColorTypeLabel=function(n){switch(n){case pe.STANDARD:return"Standard";case pe.CUSTOM:return"Custom"}},t}(be),ye=function(){r.set("DPickerColor",we)},Ie=function(){r.set("DDialogColor",Te),ye()},Ce=function(){r.set("DButtonColor",ke),Ie()};const ve=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Be=function(){return""},xe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return Be},r.prototype.newTextValue=function(){return new ve},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(N),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),Me=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),Ee=function(){r.set("DPickerColorGradient",Me),ye()},_e=function(){r.set("DDialogColorGradient",Se),Ee()},Le=function(){r.set("DButtonColorGradient",xe),_e()};const Pe=wcardinal.ui.DPickerDates;var Fe=function(n){return Pe.format(n)},Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return Fe},t.prototype.newTextValue=function(){return new Date},t}(N),Ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const Ae=wcardinal.ui.DPickerDatetimeMask;var He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getMask=function(){return Ae.HOURS|Ae.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(d),Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t}(He),ze=["January","February","March","April","May","June","July","August","September","October","November","December"],Ge=["Su","Mo","Tu","We","Th","Fr","Sa"],Ve=function(n){return"".concat(ze[n.getMonth()]," ").concat(n.getFullYear())},Oe=function(){},qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDayLabels=function(){return Ge},t.prototype.getLabelFormatter=function(){return Ve},t.prototype.getDateDecorator=function(){return Oe},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getDayStart=function(){return 0},t.prototype.getMask=function(){return Ae.DATE|n.prototype.getMask.call(this)},t}(Re),Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMask=function(){return Ae.DATE},t}(qe);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var Xe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(x);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var Ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return i.NONE},t}(Nt),je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Nt),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return i.NONE},t}(d),Qe=function(){r.set("DPickerTime",Re)},$e=function(){r.set("DPickerDatetimeButtonBack",Xe),r.set("DPickerDatetimeButtonDate",We),r.set("DPickerDatetimeButtonNext",Ke),r.set("DPickerDatetimeLabelDate",je),r.set("DPickerDatetimeLabel",Ze),r.set("DPickerDatetimeSpace",Je),r.set("DPickerDatetime",qe),Qe()},ni=function(){r.set("DPickerDate",Ye),$e()},ti=function(){r.set("DDialogDate",Ne),ni()},ri=function(){r.set("DButtonDate",Ue),ti()};const ui=wcardinal.ui.DPickerDatetimes;var ei=function(n,t){return ui.format(n,t.getDatetimeMask())},ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return ei},t.prototype.newTextValue=function(){return new Date},t}(N),oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),ci=function(){r.set("DDialogDatetime",oi),$e()},fi=function(){r.set("DButtonDatetime",ii),ci()};const ai=wcardinal.ui.toLabel;var li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return ai},t.prototype.newTextValue=function(){return null},t}(N),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(fr),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new ar(null,!1,!0)},t.prototype.getCornerMask=function(){return c.NONE},t}(lr),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isDismissable=function(){return!1},t.prototype.isCategoryDismissable=function(){return!0},t}(An),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDismissLabel=function(){return"None"},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(Di),mi=function(){r.set("DDialogSelect",di),r.set("DDialogSelectList",si),r.set("DDialogSelectListItem",hi)},ki=function(){r.set("DButtonSelect",li),mi()};const Ti=wcardinal.ui.DPickerTimes;var pi=function(n,t){return Ti.format(n,t.getDatetimeMask())},gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return pi},t.prototype.newTextValue=function(){return new Date},t}(N),bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),wi=function(){r.set("DDialogTime",bi),Qe()},yi=function(){r.set("DButtonTime",gi),wi()},Ii=function(){S(),L(),P(),Le(),Ce(),ki(),U(),ri(),fi(),H(),z(),V(),Y(),X(),K(),yi(),Z()},Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCanvasBackgroundColor=function(){return 3026478},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(J),vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ci),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return s.BACKGROUND_COLOR},t.prototype.getLocalBoundsLimit=function(){return 0},t}(j),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Bi),Si=function(){},Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCurveLabel=function(){return"Curve"},t}(Si),Ei=function(){r.set("EShapePointsFormatter",Mi)},_i=function(){r.set("DDiagram",vi),r.set("DDiagramCanvas",xi),Ei(),qu()},Li=function(n,t,r){var u=Math.max(t,r);if(0<n){for(var e=u/1e3,i=0;i<10&&n<e;++i)n*=10;if(e<=n)return n}return u},Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return pn.DASHED|pn.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Li},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Bi),Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t}(Ci),Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Fi),Ni=function(){r.set("DDiagramEditor",Ui),r.set("DDiagramCanvasEditor",Pi),Gu(),Ei(),qu()},Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(){return null},t.prototype.getCornerMask=function(){return c.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(v);t.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 Hi=function(n,t){return n-34},Ri=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return Hi},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(x),zi=function(n){return n-1},Gi=function(n){return n-16},Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return zi},t.prototype.getWidth=function(){return Gi},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return s.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(n){n.isFocusable=!1},t}(v),Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isButtonSpaceLeftEnabled=function(){return!0},t.prototype.isButtonSpaceRightEnabled=function(){return!0},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(mt),qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t}(Oi),Yi=function(){r.set("DDialogLayeredContent",Vn),r.set("DDialogLayeredFooter",qi),r.set("DDialogLayeredHeaderButtonClose",Ri),r.set("DDialogLayeredHeaderSeparator",Vi),r.set("DDialogLayeredHeader",Ai),r.set("DDialogLayered",An)},Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(it),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return""},t}(An),Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t}(Wi),Zi=function(){r.set("DDialogConfirm",Ki),r.set("DDialogConfirmMessage",Xi)},ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(Ki),Ji=function(){r.set("DDialogConfirmDelete",ji)},Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(Ki),$i=function(){r.set("DDialogConfirmDiscard",Qi)},no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Wi),to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}(no),ro=function(){r.set("DDialogMessage",to)};t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>');var uo=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(Xi),eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Wi),io=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return io},t}(eo),co=function(){r.set("DDialogProcessing",oo),r.set("DDialogProcessingMessage",uo)},fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Qn),ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(fo),lo=function(){r.set("DDialogSaveAs",ao)},so=function(){_e(),Ie(),Ji(),$i(),Zi(),ti(),ci(),qn(),Wn(),Zn(),Jn(),$n(),Yi(),ro(),co(),lo(),mi(),wi(),nt()},ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(mt),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"OFF"},t}(Do),ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"ON"},t}(ko),po=function(){r.set("DInputBoolean",ho),r.set("DInputBooleanButtonOn",To),r.set("DInputBooleanButtonOff",mo)},go=function(){Tt(),po(),Ut(),Ht(),Gt(),qt(),rr(),ur()};const bo=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var wo=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:bo.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:bo.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:bo.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n}(),yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabelOpenLink=function(){return"Open"},t.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},t.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},t}(wo),Io=function(){r.set("DLink",yo)},Co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getInteractive=function(){return i.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Co),Bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(vo),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Co),So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(xo),Mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Co),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Mo),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFontSize=function(){return 18},t}(Co),Lo=function(n){function t(){var t=n.call(this)||this;return t.L=Br.get("DNoteError"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(_o),Po=function(n){function t(){var t=n.call(this)||this;return t.L=Br.get("DNoteNoItemsFound"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(_o),Fo=function(n){function t(){var t=n.call(this)||this;return t.L=Br.get("DNoteSearching"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(_o),Uo=function(){r.set("DNote",Co),r.set("DNoteError",Bo),r.set("DNoteNoItemsFound",So),r.set("DNoteSearching",Eo),r.set("DNoteSmallError",Lo),r.set("DNoteSmallNoItemsFound",Po),r.set("DNoteSmallSearching",Fo)},No=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t}(cr),Ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return c.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),Ho=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(ue.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(ue.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(ue.END)?o.ALL:o.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return c.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=l.brighten(t.BACKGROUND_COLOR,.03),n.BACKGROUND_COLOR_FROZEN_ODD=l.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.03),n.BORDER_COLOR=l.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.035),n}(),Ro=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return Ho.getImageTintColor(n,!0)},n}(),zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Ro.init();var Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Ro.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ro.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(zo);Ro.init();var Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Ro.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ro.getImageSource(n)},t}(rt),Oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Ro.init();var qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Ro.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ro.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Oo),Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getImageTintColor=function(n){return Ho.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(v),Xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Yo),Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Ho.getImageTintColor(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(E),Ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(ke),Zo=function(n){return Pe.format(n)},jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getTextFormatter=function(){return Zo},t.prototype.newTextValue=function(){return new Date},t}(N),Jo=function(n,t){return ui.format(n,t.getDatetimeMask())},Qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getTextFormatter=function(){return Jo},t.prototype.newTextValue=function(){return new Date},t}(N),$o=function(n){return String(Number(n)+1)},nc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return $o},t.prototype.newTextValue=function(){return 0},t}(v),tc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(Ft),rc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(zt),uc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(Vt),ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(tr);ee.init();var ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(d),oc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Vt),cc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageSource=function(n){return ee.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),fc=function(n){function t(){var t=n.call(this)||this;return t._=Br.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageTintColor=function(n){return Ho.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return this._.getImageSource(n)},t}(Xo),ac=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(ku),lc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(pu),sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t}(Yo),hc=function(n,t){return Ti.format(n,t.getDatetimeMask())},Dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getTextFormatter=function(){return hc},t.prototype.newTextValue=function(){return new Date},t}(N);ee.init();var dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return ee.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Xo),mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(mt),kc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(mc),Tc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return o.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(mc),pc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Tc);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var gc=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=l.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=l.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.05),t}return e(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(ue.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(ue.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(ue.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(ue.END)?o.ALL:o.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return p.CENTER},r.prototype.getCornerMask=function(){return c.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(ue.CHECKABLE)?M.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(ue.CHECKABLE)?M.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(ue.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(ue.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return w.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(ue.CHECKABLE)||n.is(ue.SORTABLE))?"pointer":""},r}(it),bc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gc),wc=function(){r.set("DTableBodyCellActionDialog",Go),r.set("DTableBodyCellActionMenu",Vo),r.set("DTableBodyCellActionPromise",qo),r.set("DTableBodyCellButton",Xo),r.set("DTableBodyCellCheck",Wo),r.set("DTableBodyCellColor",Ko),r.set("DTableBodyCellDate",jo),r.set("DTableBodyCellDatetime",Qo),r.set("DTableBodyCellIndex",nc),r.set("DTableBodyCellInputInteger",tc),r.set("DTableBodyCellInputReal",rc),r.set("DTableBodyCellInputTextArea",ec),r.set("DTableBodyCellInputText",uc),r.set("DTableBodyCellInputTreeMarker",cc),r.set("DTableBodyCellInputTreeInput",oc),r.set("DTableBodyCellInputTree",ic),r.set("DTableBodyCellLink",fc),r.set("DTableBodyCellSelectDialog",zo),r.set("DTableBodyCellSelectMenu",ac),r.set("DTableBodyCellSelectMultiple",lc),r.set("DTableBodyCellSelectPromise",Oo),r.set("DTableBodyCellTextArea",sc),r.set("DTableBodyCellText",Yo),r.set("DTableBodyCellTree",dc),r.set("DTableBodyCellTime",Dc),r.set("DTableBodyRow",kc),r.set("DTableBody",Ao),r.set("DTableCategoryCell",bc),r.set("DTableCategory",pc),r.set("DTableHeaderCell",gc),r.set("DTableHeader",Tc),r.set("DTableRow",mc),r.set("DTable",No),P(),Ce(),ri(),fi(),Ut(),Gt(),rr(),ur(),mi(),Nr()};t.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>'),t.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>'),t.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 yc=function(n){return n.isProcessing?t.mappings.button_process_processing:n.isSucceeded?t.mappings.button_process_success:t.mappings.button_process_fail},Ic=function(n){var t=n.valueOf(vr.PROCESSING);return null!=t?t*Math.PI*.02:0},Cc=function(){function n(){}return n.prototype.getProcessDoneDelay=function(){return 400},n.prototype.getProcessCloseDelay=function(){return 3e3},n.prototype.isProcessTextEnabled=function(){return!1},n.prototype.isProcessImageEnabled=function(){return!0},n.prototype.getProcessImageIndex=function(){return 0},n.prototype.newProcessImageSource=function(){return yc},n.prototype.newProcessImageRotation=function(){return Ic},n}(),vc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newProcessTextValue=function(){return io},t}(Cc),Bc=function(){r.set("DIndicatorProcessing",vc)},xc=function(){de(),m(),T(),Ii(),De(),Q(),Bn(),Mn(),Ni(),_i(),so(),ct(),Dt(),dt(),Bc(),go(),ir(),Io(),hr(),le(),Ar(),$r(),Nr(),Uo(),Du(),fu(),Ee(),ye(),ni(),$e(),Qe(),gu(),wc(),re(),te()},Sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Wi),Mc={__proto__:null,loadThemeDarkBase:m,loadThemeDarkBoard:T,loadThemeDarkButtonAmbient:S,loadThemeDarkButtonCheckRight:L,loadThemeDarkButtonCheck:P,loadThemeDarkButtonDanger:U,loadThemeDarkButtonFile:H,loadThemeDarkButtonLink:z,loadThemeDarkButtonPrimary:V,loadThemeDarkButtonRadioRight:Y,loadThemeDarkButtonRadio:X,loadThemeDarkButtonSecondary:K,loadThemeDarkButton:Z,loadThemeDarkCanvasContainer:Q,loadThemeDarkChart:Bn,loadThemeDarkColor:Mn,loadThemeDarkDialogFitted:qn,loadThemeDarkDialogInputBoolean:Wn,loadThemeDarkDialogInputInteger:Zn,loadThemeDarkDialogInputReal:Jn,loadThemeDarkDialogInputText:$n,loadThemeDarkDialog:nt,loadThemeDarkDropdown:ut,loadThemeDarkExpandable:ct,loadThemeDarkHtmlElement:Dt,loadThemeDarkImage:dt,loadThemeDarkInputAndLabel:Tt,loadThemeDarkInputInteger:Ut,loadThemeDarkInputLabel:Ht,loadThemeDarkInputReal:Gt,loadThemeDarkInputSearch:qt,loadThemeDarkInputTextArea:rr,loadThemeDarkInputText:ur,loadThemeDarkLayout:ir,loadThemeDarkList:hr,loadThemeDarkMenuBar:Ar,loadThemeDarkMenuSided:$r,loadThemeDarkMenu:Nr,loadThemeDarkPagination:fu,loadThemeDarkPane:Du,loadThemeDarkScrollBar:hu,loadThemeDarkSelect:gu,loadThemeDarkShapeActionValue:Gu,loadThemeDarkShape:qu,loadThemeDarkSlider:te,loadThemeDarkText:re,loadThemeDarkTree:le,loadThemeDarkView:De,loadThemeDark:de,loadThemeDarkEnUsAll:xc,loadThemeDarkEnUsButtonAll:Ii,loadThemeDarkEnUsButtonColorGradient:Le,loadThemeDarkEnUsButtonColor:Ce,loadThemeDarkEnUsButtonDate:ri,loadThemeDarkEnUsButtonDatetime:fi,loadThemeDarkEnUsButtonSelect:ki,loadThemeDarkEnUsButtonTime:yi,loadThemeDarkEnUsDiagramEditor:Ni,loadThemeDarkEnUsDiagram:_i,loadThemeDarkEnUsDialogAll:so,loadThemeDarkEnUsDialogColorGradient:_e,loadThemeDarkEnUsDialogColor:Ie,loadThemeDarkEnUsDialogConfirmDelete:Ji,loadThemeDarkEnUsDialogConfirmDiscard:$i,loadThemeDarkEnUsDialogConfirm:Zi,loadThemeDarkEnUsDialogDate:ti,loadThemeDarkEnUsDialogDatetime:ci,loadThemeDarkEnUsDialogLayered:Yi,loadThemeDarkEnUsDialogMessage:ro,loadThemeDarkEnUsDialogProcessing:co,loadThemeDarkEnUsDialogSaveAs:lo,loadThemeDarkEnUsDialogSelect:mi,loadThemeDarkEnUsDialogTime:wi,loadThemeDarkEnUsIndicatorProcessing:Bc,loadThemeDarkEnUsInputAll:go,loadThemeDarkEnUsInputBoolean:po,loadThemeDarkEnUsLink:Io,loadThemeDarkEnUsNote:Uo,loadThemeDarkEnUsPickerColorGradient:Ee,loadThemeDarkEnUsPickerColor:ye,loadThemeDarkEnUsPickerDate:ni,loadThemeDarkEnUsPickerDatetime:$e,loadThemeDarkEnUsPickerTime:Qe,loadThemeDarkEnUsShapePointsFormatter:Ei,loadThemeDarkEnUsTable:wc,DThemeDarkAtlas:t,DThemeDarkBase:d,DThemeDarkBoard:k,DThemeDarkButtonAmbient:x,DThemeDarkButtonBase:B,DThemeDarkButtonCheckRight:_,DThemeDarkButtonCheck:E,DThemeDarkButtonChecks:M,DThemeDarkButtonColorGradient:xe,DThemeDarkButtonColor:ke,DThemeDarkButtonDanger:F,DThemeDarkButtonDate:Ue,DThemeDarkButtonDatetime:ii,DThemeDarkButtonFile:A,DThemeDarkButtonLink:R,DThemeDarkButtonPrimary:G,DThemeDarkButtonRadioRight:q,DThemeDarkButtonRadio:O,DThemeDarkButtonSecondary:W,DThemeDarkButtonSelect:li,DThemeDarkButtonTime:gi,DThemeDarkButton:N,DThemeDarkCanvasContainer:J,DThemeDarkCanvas:j,DThemeDarkChartAxisBase:on,DThemeDarkChartAxisXDatetime:an,DThemeDarkChartAxisX:cn,DThemeDarkChartAxisY:ln,DThemeDarkChartCoordinateTick:hn,DThemeDarkChartCoordinateTransform:Dn,DThemeDarkChartCoordinate:sn,DThemeDarkChartLegendItem:mn,DThemeDarkChartLegend:dn,DThemeDarkChartOverview:kn,DThemeDarkChartPlotArea:Tn,DThemeDarkChartSelectionGridlineX:yn,DThemeDarkChartSelectionGridlineY:In,DThemeDarkChartSelectionMarker:vn,DThemeDarkChartSelectionShape:wn,DThemeDarkChart:$,DThemeDarkColorRecent:xn,DThemeDarkColorStandard:Sn,DThemeDarkConstants:s,DThemeDarkContent:au,DThemeDarkDiagramBase:Ci,DThemeDarkDiagramCanvasBase:Bi,DThemeDarkDiagramCanvasEditor:Pi,DThemeDarkDiagramCanvas:xi,DThemeDarkDiagramEditor:Fi,DThemeDarkDiagram:vi,DThemeDarkDialogColorGradient:Se,DThemeDarkDialogColor:Te,DThemeDarkDialogConfirmDelete:Sc,DThemeDarkDialogConfirmMessage:Xi,DThemeDarkDialogConfirm:Wi,DThemeDarkDialogDate:Ne,DThemeDarkDialogDatetime:oi,DThemeDarkDialogFittedContent:On,DThemeDarkDialogFitted:Hn,DThemeDarkDialogInputBoolean:Xn,DThemeDarkDialogInputInteger:Kn,DThemeDarkDialogInputReal:jn,DThemeDarkDialogInputText:Qn,DThemeDarkDialogInput:Yn,DThemeDarkDialogLayeredContent:Vn,DThemeDarkDialogLayeredFooter:Oi,DThemeDarkDialogLayeredHeaderButtonClose:Ri,DThemeDarkDialogLayeredHeaderSeparator:Vi,DThemeDarkDialogLayeredHeader:Ai,DThemeDarkDialogLayered:An,DThemeDarkDialogMessage:no,DThemeDarkDialogProcessingMessage:uo,DThemeDarkDialogProcessing:eo,DThemeDarkDialogSaveAs:fo,DThemeDarkDialogSelectListItem:hi,DThemeDarkDialogSelectList:si,DThemeDarkDialogSelect:Di,DThemeDarkDialogTime:bi,DThemeDarkDialog:Nn,DThemeDarkDropdownBase:tt,DThemeDarkDropdown:rt,DThemeDarkExpandableHeader:ot,DThemeDarkExpandable:et,DThemeDarkExpandables:yr,DThemeDarkFont:h,DThemeDarkHtmlElement:ht,DThemeDarkImageBase:v,DThemeDarkImage:it,DThemeDarkIndicatorProcess:Cc,DThemeDarkInputAndLabel:kt,DThemeDarkInputBooleanButtonOff:Do,DThemeDarkInputBooleanButtonOn:ko,DThemeDarkInputBoolean:ho,DThemeDarkInputInput:_t,DThemeDarkInputInteger:Ft,DThemeDarkInputLabel:At,DThemeDarkInputNumber:Lt,DThemeDarkInputReal:zt,DThemeDarkInputSearch:Ot,DThemeDarkInputTextArea:tr,DThemeDarkInputText:Vt,DThemeDarkInput:bt,DThemeDarkLayoutHorizontal:mt,DThemeDarkLayoutSpace:er,DThemeDarkLayoutVertical:Gn,DThemeDarkLayout:zn,DThemeDarkLink:wo,DThemeDarkListItemAmbient:sr,DThemeDarkListItem:lr,DThemeDarkListItems:ar,DThemeDarkList:fr,DThemeDarkMenuBarItem:dr,DThemeDarkMenuBar:Dr,DThemeDarkMenuItemBase:kr,DThemeDarkMenuItemCheck:gr,DThemeDarkMenuItemExpandableBody:wr,DThemeDarkMenuItemExpandableHeader:Ir,DThemeDarkMenuItemExpandableItemCheck:Cr,DThemeDarkMenuItemExpandableItemLink:Sr,DThemeDarkMenuItemExpandableItemMenu:Er,DThemeDarkMenuItemExpandableItemSeparator:Lr,DThemeDarkMenuItemExpandableItemSpace:Fr,DThemeDarkMenuItemExpandableItemText:Ur,DThemeDarkMenuItemExpandable:br,DThemeDarkMenuItemLink:xr,DThemeDarkMenuItemMenu:Mr,DThemeDarkMenuItemSeparator:_r,DThemeDarkMenuItemSpace:Pr,DThemeDarkMenuItemText:pr,DThemeDarkMenuItem:Tr,DThemeDarkMenuSidedContent:Rr,DThemeDarkMenuSidedItemCheck:zr,DThemeDarkMenuSidedItemExpandableItemCheck:Vr,DThemeDarkMenuSidedItemExpandableItemLink:Or,DThemeDarkMenuSidedItemExpandableItemMenu:qr,DThemeDarkMenuSidedItemExpandableItemSeparator:Yr,DThemeDarkMenuSidedItemExpandableItemSpace:Xr,DThemeDarkMenuSidedItemExpandableItemText:Wr,DThemeDarkMenuSidedItemExpandable:Gr,DThemeDarkMenuSidedItemLink:Kr,DThemeDarkMenuSidedItemMenu:Zr,DThemeDarkMenuSidedItemSeparator:jr,DThemeDarkMenuSidedItemSpace:Jr,DThemeDarkMenuSidedItemText:Qr,DThemeDarkMenuSided:Hr,DThemeDarkMenu:mr,DThemeDarkNoteError:vo,DThemeDarkNoteNoItemsFound:xo,DThemeDarkNoteSearching:Mo,DThemeDarkNoteSmallError:Lo,DThemeDarkNoteSmallNoItemsFound:Po,DThemeDarkNoteSmallSearching:Fo,DThemeDarkNoteSmall:_o,DThemeDarkNote:Co,DThemeDarkPaginationButtonLast:ru,DThemeDarkPaginationButtonNext:uu,DThemeDarkPaginationButtonPage:eu,DThemeDarkPaginationButtonPrevious:iu,DThemeDarkPaginationButtonTop:ou,DThemeDarkPaginationDots:tu,DThemeDarkPaginationPage:cu,DThemeDarkPagination:nu,DThemeDarkPane:cr,DThemeDarkPickerColorGradient:Me,DThemeDarkPickerColor:be,DThemeDarkPickerDatetimeButtonBack:Xe,DThemeDarkPickerDatetimeButtonDate:We,DThemeDarkPickerDatetimeButtonNext:Ke,DThemeDarkPickerDatetimeLabelDate:je,DThemeDarkPickerDatetimeLabel:Ze,DThemeDarkPickerDatetimeSpace:Je,DThemeDarkPickerTime:He,DThemeDarkScrollBarThumb:su,DThemeDarkScrollBar:lu,DThemeDarkSelectMultiple:pu,DThemeDarkSelect:ku,DThemeDarkSliderHorizontal:Xu,DThemeDarkSliderLabel:Wu,DThemeDarkSliderThumb:Zu,DThemeDarkSliderTrackHorizontal:Ju,DThemeDarkSliderTrackVertical:Qu,DThemeDarkSliderTrack:ju,DThemeDarkSliderValue:$u,DThemeDarkSliderVertical:ne,DThemeDarkSlider:Yu,DThemeDarkSliders:Ku,DThemeDarkTableBodyCellActionDialog:Go,DThemeDarkTableBodyCellActionMenu:Vo,DThemeDarkTableBodyCellActionPromise:qo,DThemeDarkTableBodyCellActions:Ro,DThemeDarkTableBodyCellButton:Xo,DThemeDarkTableBodyCellCheck:Wo,DThemeDarkTableBodyCellColor:Ko,DThemeDarkTableBodyCellDate:jo,DThemeDarkTableBodyCellDatetime:Qo,DThemeDarkTableBodyCellIndex:nc,DThemeDarkTableBodyCellInputInteger:tc,DThemeDarkTableBodyCellInputReal:rc,DThemeDarkTableBodyCellInputTextArea:ec,DThemeDarkTableBodyCellInputText:uc,DThemeDarkTableBodyCellInputTreeInput:oc,DThemeDarkTableBodyCellInputTreeMarker:cc,DThemeDarkTableBodyCellInputTree:ic,DThemeDarkTableBodyCellLink:fc,DThemeDarkTableBodyCellSelectDialog:zo,DThemeDarkTableBodyCellSelectMenu:ac,DThemeDarkTableBodyCellSelectMultiple:lc,DThemeDarkTableBodyCellSelectPromise:Oo,DThemeDarkTableBodyCellTextArea:sc,DThemeDarkTableBodyCellText:Yo,DThemeDarkTableBodyCellTime:Dc,DThemeDarkTableBodyCellTree:dc,DThemeDarkTableBodyCellTrees:ee,DThemeDarkTableBodyCells:Ho,DThemeDarkTableBodyRow:kc,DThemeDarkTableBody:Ao,DThemeDarkTableCategoryCell:bc,DThemeDarkTableCategory:pc,DThemeDarkTableHeaderCell:gc,DThemeDarkTableHeader:Tc,DThemeDarkTableRow:mc,DThemeDarkTable:No,DThemeDarkTextBase:C,DThemeDarkText:Nt,DThemeDarkTreeItemButton:fe,DThemeDarkTreeItemNonEditable:ae,DThemeDarkTreeItemText:ce,DThemeDarkTreeItems:ie,DThemeDarkTree:oe,DThemeDarkView:he,DThemeDark:r,EThemeDarkShapeActionValue:zu,EThemeDarkShapePointsFormatter:Si,EThemeDarkShape:Ou,DThemeDarkEnUsDiagramEditor:Ui,DThemeDarkEnUsDialogConfirmDelete:ji,DThemeDarkEnUsDialogConfirmDiscard:Qi,DThemeDarkEnUsDialogConfirm:Ki,DThemeDarkEnUsDialogLayeredFooter:qi,DThemeDarkEnUsDialogMessage:to,dThemeDarkEnUsDialogProcessingMessage:io,DThemeDarkEnUsDialogProcessing:oo,DThemeDarkEnUsDialogSaveAs:ao,DThemeDarkEnUsDialogSelect:di,DThemeDarkEnUsIndicatorProcessing:vc,DThemeDarkEnUsInputBooleanButtonOff:mo,DThemeDarkEnUsInputBooleanButtonOn:To,DThemeDarkEnUsLink:yo,DThemeDarkEnUsNoteError:Bo,DThemeDarkEnUsNoteNoItemsFound:So,DThemeDarkEnUsNoteSearching:Eo,DThemeDarkEnUsPickerColor:we,DThemeDarkEnUsPickerDate:Ye,DThemeDarkEnUsPickerDatetime:qe,DThemeDarkEnUsPickerTime:Re,EThemeDarkEnUsShapePointsFormatter:Mi};xc();var Ec=window;Ec.wcardinal=Ec.wcardinal||{};var _c=Ec.wcardinal.ui=Ec.wcardinal.ui||{},Lc=Mc;for(var Pc in Lc)_c[Pc]=Lc[Pc]}(PIXI);
9
+ !function(n){"use strict";var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:n.SCALE_MODES.LINEAR,mipmap:n.MIPMAP_MODES.OFF}),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var u=n.u[t];if(null!=u)return this.t[t]=new u;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.set=function(n,t){return this.t[n]=t,this},n.prototype.getClass=function(t){var r=n.u[t];if(null!=r)return r;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.setClass=function(t,r){return n.u[t]=r,this},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,o=wcardinal.ui.DBorderMask,c=wcardinal.ui.DCornerMask,f=wcardinal.ui.DLayoutClearType,a=wcardinal.ui.DShadowImpl,l=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=13421772,n.ACTIVE_COLOR=0,n.BORDER_COLOR=4868682,n.BACKGROUND_COLOR=3026478,n.BACKGROUND_COLOR_ON_BOARD=2039583,n.HIGHLIGHT_COLOR=2267123,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=5592405,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=14290446,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=l.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),h=function(){function n(){}return n.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic","Meiryo",sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),D=function(n,r,u){var e=2*r;t.add(n,e,e,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*u,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*u,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*u,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*u,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*u,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*u,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*u,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(e,'" height="').concat(e,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};D("shadow_weak",24,.72),D("shadow",48,.72),t.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 d=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return o.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return c.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return o.NONE},r.prototype.getClearType=function(){return f.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return i.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new a(t.mappings.shadow,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new a(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(h),m=function(){r.set("DBase",d)},k=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return e(t,n),t.prototype.getBackgroundColor=function(){return this.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return i.BOTH},t}(d),T=function(){r.set("DBoard",k)};const p=wcardinal.ui.DAlignHorizontal,g=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,w=wcardinal.ui.DAlignWith,y=wcardinal.ui.DDynamicTextStyleWordWrap,I=wcardinal.ui.toString;var C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return y.NONE},t.prototype.getTextFormatter=function(){return I},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(d),v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageRotation=function(n){return 0},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getSecondaryImageRotation=function(n){return this.getImageRotation(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageRotation=function(n){return this.getImageRotation(n)},t}(C),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=l.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=l.brighten(t,u),e.OUTLINE_COLOR=l.darken(t,.75),e}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return g.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(v),x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(B),S=function(){r.set("DButtonAmbient",x)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var M=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}(),E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return M.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return M.getImageSource(n)},t}(x),_=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(E),L=function(){r.set("DButtonCheckRight",_)},P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return n.call(this,15702682,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),U=function(){r.set("DButtonDanger",F)},N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(B),A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(N),H=function(){r.set("DButtonFile",A)},R=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(x),z=function(){r.set("DButtonLink",R)},G=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),V=function(){r.set("DButtonPrimary",G)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var O=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(x),q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(O),Y=function(){r.set("DButtonRadioRight",q)},X=function(){r.set("DButtonRadio",O)},W=function(n){function t(){return n.call(this,12096758,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):0},t}(B),K=function(){r.set("DButtonSecondary",W)},Z=function(){r.set("DButton",N)},j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getInteractive=function(){return i.BOTH},t}(d),J=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return i.BOTH},t}(d),Q=function(){r.set("DCanvasContainer",J),r.set("DCanvas",j)},$=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d);const nn=wcardinal.ui.DChartAxisPosition,tn=wcardinal.ui.DChartAxisTickPosition,rn=wcardinal.ui.EShapeTextAlignHorizontal,un=wcardinal.ui.EShapeTextAlignVertical,en=wcardinal.ui.EShapeTextDirection;var on=function(){function n(){}return n.prototype.getPosition=function(){return nn.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(on),fn=function(n,t,r){var u=Math.abs(t-n)/r;if(u<=10)return u<=1.33?1:u<=2.86?2:u<=6.67?5:10;if(u<=100)return u<=13.33?10:u<=28.57?20:u<=66.67?50:100;if(u<=1e3)return u<=133.33?100:u<=285.71?200:u<=666.67?500:1e3;if(u<=1e4)return u<=1333.33?1e3:u<=2857.14?2e3:u<=6666.66?5e3:1e4;if(u<=12e4)return u<=13333.33?1e4:u<=24e3?2e4:u<=4e4?3e4:u<=72e3?6e4:u<=102857.14?9e4:12e4;if(u<=108e5)return u<=171428.57?12e4:u<=4e5?3e5:u<=8e5?6e5:u<=144e4?12e5:u<=24e5?18e5:u<=432e4?36e5:u<=6171428.57?54e5:u<=8e6?72e5:u<=9818181.82?9e6:108e5;var e=36e5,i=u/e;if(i<=24)return i<=1.33?e: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 o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return fn},t}(cn),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPosition=function(){return nn.LEFT},t.prototype.getLabelDirection=function(){return en.BOTTOM_TO_TOP},t}(on),sn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),hn=function(){function n(){}return n.prototype.toStep=function(n,t,r){var u=Math.abs(t-n)/r,e=Math.floor(Math.log(u)/Math.LN10),i=Math.pow(10,e),o=u/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),Dn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(d);const pn=wcardinal.ui.EShapeStrokeStyle,gn=wcardinal.ui.EShapeBar,bn=wcardinal.ui.EShapeBarPosition;var wn=function(){},yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.TOP,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.LEFT,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn);const Cn=wcardinal.ui.EShapeCircle;var vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new Cn;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(wn),Bn=function(){r.set("DChart",$),r.set("DChartAxisX",cn),r.set("DChartAxisXDatetime",an),r.set("DChartAxisY",ln),r.set("DChartCoordinate",sn),r.set("DChartCoordinateTick",hn),r.set("DChartCoordinateTransform",Dn),r.set("DChartLegend",dn),r.set("DChartLegendItem",mn),r.set("DChartOverview",kn),r.set("DChartPlotArea",Tn),r.set("DChartSelectionGridlineX",yn),r.set("DChartSelectionGridlineY",In),r.set("DChartSelectionMarker",vn)},xn=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Sn=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(l.brighten(n[t],.75));for(t=10;t<20;++t)n.push(l.brighten(n[t],.45));for(t=10;t<20;++t)n.push(l.brighten(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.45));for(t=10;t<20;++t)n.push(l.darken(n[t],.75));return n},n}(),Mn=function(){r.set("DColorRecent",xn),r.set("DColorStandard",Sn)};const En=wcardinal.ui.DAnimationFadeIn,_n=wcardinal.ui.DDialogAlign,Ln=wcardinal.ui.DDialogCloseOn,Pn=wcardinal.ui.DDialogGestureMode,Fn=wcardinal.ui.DDialogMode,Un=wcardinal.ui.DDialogState;var Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMode=function(){return Fn.MODAL},t.prototype.closeOn=function(n){switch(n){case Fn.MODAL:case Fn.MENU:return Ln.ESC|Ln.CLICK_OUTSIDE;case Fn.MODELESS:return Ln.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Fn.MODAL:case Fn.MODELESS:return!0;case Fn.MENU:return!1}},t.prototype.getGestureMode=function(n){return Pn.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return _n.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Fn.MODAL:return new En;case Fn.MODELESS:case Fn.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(Un.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(Un.MENU)?null:3750201},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return i.BOTH},t}(d),An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(Nn),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(An);const Rn=wcardinal.ui.DLayoutDirection;var zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(d),Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(zn),Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Gn),On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(Vn),qn=function(){r.set("DDialogFittedContent",On),r.set("DDialogFitted",Hn)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(An),Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Wn=function(){r.set("DDialogInputBoolean",Xn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Zn=function(){r.set("DDialogInputInteger",Kn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Jn=function(){r.set("DDialogInputReal",jn)},Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),$n=function(){r.set("DDialogInputText",Qn)},nt=function(){r.set("DDialog",Nn)};t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var tt=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return e(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(B),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(tt),ut=function(){r.set("DDropdown",rt)},et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(v);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?3026478:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return c.ALL},t}(it),ct=function(){r.set("DExpandableHeader",ot),r.set("DExpandable",et)};const ft=wcardinal.ui.DHtmlElementState,at=wcardinal.ui.UtilHtmlElementWhen;var lt=function(){return null},st=function(n){var t=document.createElement("div");return n.appendChild(t),t},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return lt},t.prototype.setElementStyle=function(n,t,r,u,e,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ft.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,u=n.y-t.y;return"left:".concat(r,"px; top:").concat(u,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var r=t.id;return"-webkit-clip-path: url(#".concat(r,"); clip-path: url(#").concat(r,");")}return""},t.prototype.getClipperCreator=function(){return st},t.prototype.setClipperStyle=function(n,t,r,u,e,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return st},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return st},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return at.FOCUSED},t.prototype.getSelect=function(){return!1},t}(v),Dt=function(){r.set("DHtmlElement",ht)},dt=function(){r.set("DImage",it)},mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(zn),kt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(mt),Tt=function(){r.set("DInputAndLabel",kt)},pt=function(){return null},gt=function(n){return n},bt=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.017),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:null},t.prototype.getOutlineColor=function(t){return t.isInvalid?s.INVALID_COLOR:n.prototype.getOutlineColor.call(this,t)},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return gt},t.prototype.getEditingValidator=function(){return pt},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1.5px solid transparent; box-sizing: border-box;"},t}(ht),wt="d-theme-dark-input",yt="".concat(wt,"-element"),It=function(n){var t=n.getElementsByClassName(yt);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",yt),n.appendChild(r),r},Ct=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},vt="".concat(wt,"-clipper"),Bt=function(n){return Ct(n,vt)},xt="".concat(wt,"-before"),St=function(n){return Ct(n,xt)},Mt="".concat(wt,"-after"),Et=function(n){return Ct(n,Mt)},_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return It},t.prototype.getClipperCreator=function(){return Bt},t.prototype.getBeforeCreator=function(){return St},t.prototype.getAfterCreator=function(){return Et},t}(bt),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(_t),Pt=function(n){var t=parseInt(n,10);return t==t?t:0},Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Pt},t}(Lt),Ut=function(){r.set("DInputInteger",Ft)},Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Nt),Ht=function(){r.set("DInputLabel",At)},Rt=function(n){var t=parseFloat(n);return t==t?t:0},zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Rt},t}(Lt),Gt=function(){r.set("DInputReal",zt)},Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(_t);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Ot=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Vt),qt=function(){r.set("DInputSearch",Ot)},Yt="d-theme-dark-input-text-area",Xt="".concat(Yt,"-element"),Wt=function(n){var t=n.getElementsByClassName(Xt);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Xt),n.appendChild(r),r},Kt=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Zt="".concat(Yt,"-clipper"),jt=function(n){return Kt(n,Zt)},Jt="".concat(Yt,"-before"),Qt=function(n){return Kt(n,Jt)},$t="".concat(Yt,"-after"),nr=function(n){return Kt(n,$t)},tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return y.NORMAL},t.prototype.getElementCreator=function(){return Wt},t.prototype.getClipperCreator=function(){return jt},t.prototype.getBeforeCreator=function(){return Qt},t.prototype.getAfterCreator=function(){return nr},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case y.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(bt),rr=function(){r.set("DInputTextArea",tr)},ur=function(){r.set("DInputText",Vt)},er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return f.BOTH},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ir=function(){r.set("DLayout",zn),r.set("DLayoutHorizontal",mt),r.set("DLayoutSpace",er),r.set("DLayoutVertical",Gn)};const or=wcardinal.ui.UtilGestureMode;var cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return or.TOUCH},t}(d),fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(cr),ar=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=l.brighten(n,.0075),this.D=1,this.m=l.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:l.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=l.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=16777215,this.l=0,this.h=16777215,this.D=.0075,this.m=s.INVALID_COLOR,this.k=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.p=r?1:s.HIGHLIGHT_ALPHA,this.g=s.WEAK_HIGHLIGHT_COLOR,this.I=s.WEAK_HIGHLIGHT_ALPHA),this.C=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.B=s.COLOR,this.S=s.ACTIVE_COLOR):(this.B=s.COLOR,this.S=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.m:n.isActive?this.T:n.isHovered?this.g:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.D:this.l:0:n.isInvalid?this.k:n.isActive?this.p:n.isHovered?this.I:this.i?n.isAlternated?this.D:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return o.NONE},n.prototype.getColor=function(n){return n.isActive?this.S:this.B},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.C:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return c.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),lr=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ar(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),sr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new ar(null,!1,!0)},t}(lr),hr=function(){r.set("DListItemAmbient",sr),r.set("DListItem",lr),r.set("DList",fr)},Dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(mt),dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(N),mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Gn),kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):t.isActive?this.getColorActive(t):n.prototype.getColor.call(this,t)},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(it),Tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(kr),pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(Tr);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var gr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(pr),br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),yr=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();yr.init();var Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?yr.getImageOpened():yr.getImageClosed()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(kr),Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(gr);const vr=wcardinal.ui.DBaseState,Br=wcardinal.ui.DThemes;var xr=function(n){function t(){var t=n.call(this)||this;return t._=Br.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageSource=function(n){return n.is(vr.NEW_WINDOW)?this._.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t}(pr),Sr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(xr);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var Mr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Tr),Er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Mr),_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(kr),Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(_r),Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(er),Fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Pr),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(pr),Nr=function(){r.set("DMenu",mr),r.set("DMenuItem",Tr),r.set("DMenuItemCheck",gr),r.set("DMenuItemLink",xr),r.set("DMenuItemMenu",Mr),r.set("DMenuItemSeparator",_r),r.set("DMenuItemSpace",Pr),r.set("DMenuItemText",pr),r.set("DMenuItemExpandableBody",wr),r.set("DMenuItemExpandableHeader",Ir),r.set("DMenuItemExpandableItemCheck",Cr),r.set("DMenuItemExpandableItemLink",Sr),r.set("DMenuItemExpandableItemMenu",Er),r.set("DMenuItemExpandableItemSeparator",Lr),r.set("DMenuItemExpandableItemSpace",Fr),r.set("DMenuItemExpandableItemText",Ur),r.set("DMenuItemExpandable",br)},Ar=function(){r.set("DMenuBarItem",dr),r.set("DMenuBar",Dr),Nr()},Hr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t}(cr),Rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Gn),zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gr),Gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(br),Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Cr),Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Sr),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Er),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Lr),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Fr),Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ur),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(xr),Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Mr),jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(_r),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Pr),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(pr),$r=function(){r.set("DMenuSided",Hr),r.set("DMenuSidedContent",Rr),r.set("DMenuSidedItemCheck",zr),r.set("DMenuSidedItemLink",Kr),r.set("DMenuSidedItemMenu",Zr),r.set("DMenuSidedItemSeparator",jr),r.set("DMenuSidedItemSpace",Jr),r.set("DMenuSidedItemText",Qr),r.set("DMenuSidedItemExpandable",Gr),r.set("DMenuSidedItemExpandableItemCheck",Vr),r.set("DMenuSidedItemExpandableItemLink",Or),r.set("DMenuSidedItemExpandableItemMenu",qr),r.set("DMenuSidedItemExpandableItemSeparator",Yr),r.set("DMenuSidedItemExpandableItemSpace",Xr),r.set("DMenuSidedItemExpandableItemText",Wr)},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(mt);t.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 tu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getInteractive=function(){return i.NONE},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getImageAlignWith=function(){return w.BORDER},r}(v);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var ru=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(x);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var uu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(x),eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(x);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var iu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(x);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var ou=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(x),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t}(v),fu=function(){r.set("DPagination",nu),r.set("DPaginationPage",cu),r.set("DPaginationDots",tu),r.set("DPaginationButtonLast",ru),r.set("DPaginationButtonNext",uu),r.set("DPaginationButtonPage",eu),r.set("DPaginationButtonPrevious",iu),r.set("DPaginationButtonTop",ou)},au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(d),su=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=l.brighten(s.WEAK_HIGHLIGHT_COLOR,.25),t.BORDER_COLOR_DISABLED=l.darken(t.BORDER_COLOR,.75),t.BORDER_COLOR_HOVERED=l.darken(t.BORDER_COLOR,.25),t.BORDER_COLOR_OTHER=l.darken(t.BORDER_COLOR,.5),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return n.inDisabled?this.BORDER_COLOR_DISABLED:n.isHovered||n.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},t.prototype.getBorderAlpha=function(n){return 1},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),hu=function(){r.set("DScrollBar",lu),r.set("DScrollBarThumb",su)},Du=function(){r.set("DPane",cr),r.set("DContent",au),hu()};const du=wcardinal.ui.isString;var mu=function(n){if(n){var t=n.text.value;if(du(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return mu},t.prototype.newTextValue=function(){return null},t}(tt),Tu=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text.value;if(du(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return Tu},t.prototype.newTextValue=function(){return[]},t}(tt),gu=function(){r.set("DSelectMultiple",pu),r.set("DSelect",ku),ut()};const bu=wcardinal.ui.EShapeActionOpenDialogExtensions,wu=wcardinal.ui.EShapeActionOpenExtensions,yu=wcardinal.ui.EShapeActionValueBlinkType,Iu=wcardinal.ui.EShapeActionValueChangeColorTarget,Cu=wcardinal.ui.EShapeActionValueChangeColorType,vu=wcardinal.ui.EShapeActionValueChangeTextType,Bu=wcardinal.ui.EShapeActionValueGestureOperationType,xu=wcardinal.ui.EShapeActionValueGestureType,Su=wcardinal.ui.EShapeActionValueMiscType,Mu=wcardinal.ui.EShapeActionValueOnInputAction,Eu=wcardinal.ui.EShapeActionValueOpenDialogType,_u=wcardinal.ui.EShapeActionValueOpenType,Lu=wcardinal.ui.EShapeActionValueOpetyped,Pu=wcardinal.ui.EShapeActionValueShowHideType,Fu=wcardinal.ui.EShapeActionValueSubtyped,Uu=wcardinal.ui.EShapeActionValueTransformMoveType,Nu=wcardinal.ui.EShapeActionValueTransformResizeType,Au=wcardinal.ui.EShapeActionValueTransformRotateType,Hu=wcardinal.ui.EShapeActionValueTransformType,Ru=wcardinal.ui.EShapeActionValueType;var zu=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof Fu){var r,u=n.subtype;if(n instanceof Lu){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case Ru.SHOW_HIDE:return"".concat(u,": ").concat(this.toShowHideTypeLabel(t));case Ru.BLINK:return"".concat(u,": ").concat(this.toBlinkTypeLabel(t));case Ru.CHANGE_COLOR:case Ru.CHANGE_COLOR_LEGACY:return"".concat(u,": ").concat(this.toChangeColorTypeLabel(t));case Ru.CHANGE_TEXT:return"".concat(u,": ").concat(this.toChangeTextTypeLabel(t));case Ru.OPEN:return"".concat(u,": ").concat(this.toOpenTypeLabel(t));case Ru.GESTURE:return"".concat(u,": ").concat(this.toGestureTypeLabel(t));case Ru.MISC:return"".concat(u,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case Ru.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case Hu.ROTATE:return"".concat(e,": ").concat(this.toTransformRotateTypeLabel(r));case Hu.MOVE:return"".concat(e,": ").concat(this.toTransformMoveTypeLabel(r));case Hu.RESIZE:return"".concat(e,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Ru.SHOW_HIDE:return"Show / hide";case Ru.BLINK:return"Blink";case Ru.TRANSFORM:return"Transform";case Ru.OPEN:return"Open";case Ru.CHANGE_COLOR:case Ru.CHANGE_COLOR_LEGACY:return"Change color";case Ru.CHANGE_TEXT:return"Change text";case Ru.CHANGE_CURSOR:return"Change cursor";case Ru.EMIT_EVENT:return"Emit an event";case Ru.GESTURE:return"Gesture";case Ru.MISC:return"Misc.";default:return Ru.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case yu.VISIBILITY:return"Visibility";case yu.BRIGHTEN:return"Brighten";case yu.DARKEN:return"Darken";case yu.OPACITY:return"Opacity";case yu.COLOR_FILL:return"Fill";case yu.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case Pu.SHAPE_SHOW:return"Show";case Pu.SHAPE_HIDE:return"Hide";case Pu.SHAPE:return"Shape";case Pu.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case Hu.RESIZE:return"Resize";case Hu.MOVE:return"Move";case Hu.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Au.RELATIVE:return"Relative";case Au.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Uu.RELATIVE_X:return"Relative X";case Uu.RELATIVE_Y:return"Relative Y";case Uu.ABSOLUTE_X:return"Absolute X";case Uu.ABSOLUTE_Y:return"Absolute Y";case Uu.FORWARD_OR_BACKWARD:return"Forward / backward";case Uu.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case Nu.ABSOLUTE_SIZE:return"Height & width";case Nu.RELATIVE_SIZE:return"Height & width (%)";case Nu.ABSOLUTE_HEIGHT:return"Height";case Nu.RELATIVE_HEIGHT:return"Height (%)";case Nu.ABSOLUTE_WIDTH:return"Width";case Nu.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===Cu.NONE)return"None";var t="",r="";return n&Cu.FILL&&(t+=r+"Fill",r=", "),n&Cu.STROKE&&(t+=r+"Stroke",r=", "),n&Cu.TEXT&&(t+=r+"Text",r=", "),n&Cu.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Iu.COLOR_AND_ALPHA:return"Color";case Iu.COLOR:return"RGB";case Iu.ALPHA:return"Alpha";case Iu.CODE:return"Dynamic color";case Iu.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case vu.TEXT:return"Text";case vu.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case _u.DIAGRAM_LEGACY:return"Diagram";case _u.PAGE_LEGACY:return"Page (New window)";case _u.PAGE_INPLACE_LEGACY:return"Page (In-place)";case _u.DIALOG_TEXT:return"Dialog (Text)";case _u.DIALOG_INTEGER:return"Dialog (Integer)";case _u.DIALOG_REAL:return"Dialog (Real)";case _u.DIALOG_BOOLEAN:return"Dialog (Boolean)";case _u.DIALOG_DATE:return"Dialog (Date)";case _u.DIALOG_TIME:return"Dialog (Time)";case _u.DIALOG_DATETIME:return"Dialog (Datetime)";case _u.DIAGRAM:return"Diagram";case _u.PAGE:return"Page";case _u.DIALOG:return"Dialog";default:if(_u.EXTENSION<=n){var t=wu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Eu.TEXT:return"Text";case Eu.INTEGER:return"Integer";case Eu.REAL:return"Real";case Eu.BOOLEAN:return"Boolean";case Eu.DATE:return"Date";case Eu.TIME:return"Time";case Eu.DATETIME:return"Datetime";default:if(Eu.EXTENSION<=n){var t=bu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case xu.SHAPE:return"Shape";case xu.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case Bu.DRAG:return"Drag";case Bu.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case Su.INPUT_TEXT:return"Input (Text)";case Su.INPUT_INTEGER:return"Input (Integer)";case Su.INPUT_REAL:return"Input (Real)";case Su.EMIT_EVENT:return this.toOnInputActionLabel(Mu.EMIT_EVENT);case Su.WRITE_BOTH:return this.toOnInputActionLabel(Mu.WRITE_BOTH);case Su.WRITE_LOCAL:return this.toOnInputActionLabel(Mu.WRITE_LOCAL);case Su.WRITE_REMOTE:return this.toOnInputActionLabel(Mu.WRITE_REMOTE);case Su.HTML_ELEMENT:return"HTML element";case Su.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Su.SHOW_HIDE_LAYER:return"Show / hide layers";case Su.GESTURE_LAYER:return"Layer gesture";case Su.GESTURE:return"Gesture";case Su.EXECUTE:return"Execute"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case at.CLICKED:return"Clicked";case at.DOUBLE_CLICKED:return"Double clicked";case at.FOCUSED:return"Focused";case at.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case Mu.EMIT_EVENT:return"Emit event";case Mu.WRITE_BOTH:return"Write (Both)";case Mu.WRITE_LOCAL:return"Write (Local)";case Mu.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),Gu=function(){r.set("EShapeActionValue",zu)};const Vu=wcardinal.ui.EShapeStrokeSide;var Ou=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.2},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Vu.ALL},n.prototype.getStrokeStyle=function(){return pn.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),qu=function(){r.set("EShape",Ou)},Yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(d),Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Yu),Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Ku=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=l.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Zu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return Ku.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(N),ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ku.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(N),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(ju),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(ju),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getAlpha=function(n){return n.inDisabled?.38:1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Yu),te=function(){r.set("DSlider",Yu),r.set("DSliderValue",$u),r.set("DSliderLabel",Wu),r.set("DSliderThumb",Zu),r.set("DSliderVertical",ne),r.set("DSliderHorizontal",Xu),r.set("DSliderTrack",ju),r.set("DSliderTrackVertical",Qu),r.set("DSliderTrackHorizontal",Ju)},re=function(){r.set("DText",Nt)};const ue=wcardinal.ui.DTableState;var ee=function(){function n(){}return n.init=function(){yr.init()},n.getImageSource=function(n){return n.is(ue.HAS_CHILDREN)?n.is(ue.OPENED)?yr.getImageOpened():yr.getImageClosed():null},n}(),ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return ee.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(ar),oe=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ie(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(cr),ce=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ie(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ce);ee.init();var ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return this.M.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.M.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.M.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.M.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.M.getSecondaryImageMarginHorizontal()},t}(fe),le=function(){r.set("DTree",oe),r.set("DTreeItemText",ce),r.set("DTreeItemButton",fe),r.set("DTreeItemNonEditable",ae)};const se=wcardinal.ui.UtilGestureModifier;var he=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return se.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return se.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return se.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return or.ON},n.prototype.getGestureModifier=function(){return se.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),De=function(){r.set("DView",he)},de=function(){Br.setDefaultThemeClass(r)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var me=function(n){return"#".concat(l.toCode(n.color)," A").concat(n.alpha.toFixed(2))},ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return me},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(N),Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const pe=wcardinal.ui.DColorType;var ge=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e){var i=(e+u)%2==0?"#5f5f5f":"#454545";r+='<rect x="'.concat(9*e,'" y="').concat(9*u,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),t.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),t.add("picker_color_alpha_checkerboard",234,18,ge(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",36,36,ge(4,4),9,9,18,18),t.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),t.add("picker_color_sample_checkerboard",45,63,ge(5,7)),t.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />'),t.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var be=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 162},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainBaseTexture=function(){return t.mappings.picker_color_main_base},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentTexture=function(){return t.mappings.picker_color_recent},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardOldTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleCheckerboardNewTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleOldTexture=function(){return t.mappings.picker_color_sample},r.prototype.getSampleNewTexture=function(){return t.mappings.picker_color_sample},r.prototype.getStandardColorCount=function(){return 80},r.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},r.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},r.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},r.prototype.getStandardTexture=function(){return t.mappings.picker_color_standard},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.toColorTypeLabel=function(n){switch(n){case pe.STANDARD:return"Standard";case pe.CUSTOM:return"Custom"}},t}(be),ye=function(){r.set("DPickerColor",we)},Ie=function(){r.set("DDialogColor",Te),ye()},Ce=function(){r.set("DButtonColor",ke),Ie()};const ve=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Be=function(){return""},xe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return Be},r.prototype.newTextValue=function(){return new ve},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(N),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),Me=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),Ee=function(){r.set("DPickerColorGradient",Me),ye()},_e=function(){r.set("DDialogColorGradient",Se),Ee()},Le=function(){r.set("DButtonColorGradient",xe),_e()};const Pe=wcardinal.ui.DPickerDates;var Fe=function(n){return Pe.format(n)},Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return Fe},t.prototype.newTextValue=function(){return new Date},t}(N),Ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const Ae=wcardinal.ui.DPickerDatetimeMask;var He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getMask=function(){return Ae.HOURS|Ae.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(d),Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t}(He),ze=["January","February","March","April","May","June","July","August","September","October","November","December"],Ge=["Su","Mo","Tu","We","Th","Fr","Sa"],Ve=function(n){return"".concat(ze[n.getMonth()]," ").concat(n.getFullYear())},Oe=function(){},qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDayLabels=function(){return Ge},t.prototype.getLabelFormatter=function(){return Ve},t.prototype.getDateDecorator=function(){return Oe},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getDayStart=function(){return 0},t.prototype.getMask=function(){return Ae.DATE|n.prototype.getMask.call(this)},t}(Re),Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMask=function(){return Ae.DATE},t}(qe);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var Xe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(x);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var Ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return i.NONE},t}(Nt),je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Nt),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return i.NONE},t}(d),Qe=function(){r.set("DPickerTime",Re)},$e=function(){r.set("DPickerDatetimeButtonBack",Xe),r.set("DPickerDatetimeButtonDate",We),r.set("DPickerDatetimeButtonNext",Ke),r.set("DPickerDatetimeLabelDate",je),r.set("DPickerDatetimeLabel",Ze),r.set("DPickerDatetimeSpace",Je),r.set("DPickerDatetime",qe),Qe()},ni=function(){r.set("DPickerDate",Ye),$e()},ti=function(){r.set("DDialogDate",Ne),ni()},ri=function(){r.set("DButtonDate",Ue),ti()};const ui=wcardinal.ui.DPickerDatetimes;var ei=function(n,t){return ui.format(n,t.getDatetimeMask())},ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return ei},t.prototype.newTextValue=function(){return new Date},t}(N),oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),ci=function(){r.set("DDialogDatetime",oi),$e()},fi=function(){r.set("DButtonDatetime",ii),ci()};const ai=wcardinal.ui.toLabel;var li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return ai},t.prototype.newTextValue=function(){return null},t}(N),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(fr),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new ar(null,!1,!0)},t.prototype.getCornerMask=function(){return c.NONE},t}(lr),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isDismissable=function(){return!1},t.prototype.isCategoryDismissable=function(){return!0},t}(An),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDismissLabel=function(){return"None"},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(Di),mi=function(){r.set("DDialogSelect",di),r.set("DDialogSelectList",si),r.set("DDialogSelectListItem",hi)},ki=function(){r.set("DButtonSelect",li),mi()};const Ti=wcardinal.ui.DPickerTimes;var pi=function(n,t){return Ti.format(n,t.getDatetimeMask())},gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return pi},t.prototype.newTextValue=function(){return new Date},t}(N),bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),wi=function(){r.set("DDialogTime",bi),Qe()},yi=function(){r.set("DButtonTime",gi),wi()},Ii=function(){S(),L(),P(),Le(),Ce(),ki(),U(),ri(),fi(),H(),z(),V(),Y(),X(),K(),yi(),Z()},Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCanvasBackgroundColor=function(){return 3026478},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(J),vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ci),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return s.BACKGROUND_COLOR},t.prototype.getLocalBoundsLimit=function(){return 0},t}(j),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Bi),Si=function(){},Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCurveSplineLabel=function(){return"Spline Curve"},t.prototype.getCurveBezierQuadraticLabel=function(){return"Quadratic Bezier Curve"},t}(Si),Ei=function(){r.set("EShapePointsFormatter",Mi)},_i=function(){r.set("DDiagram",vi),r.set("DDiagramCanvas",xi),Ei(),qu()},Li=function(n,t,r){var u=Math.max(t,r);if(0<n){for(var e=u/1e3,i=0;i<10&&n<e;++i)n*=10;if(e<=n)return n}return u},Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return pn.DASHED|pn.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Li},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Bi),Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t}(Ci),Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Fi),Ni=function(){r.set("DDiagramEditor",Ui),r.set("DDiagramCanvasEditor",Pi),Gu(),Ei(),qu()},Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(){return null},t.prototype.getCornerMask=function(){return c.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(v);t.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 Hi=function(n,t){return n-34},Ri=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return Hi},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(x),zi=function(n){return n-1},Gi=function(n){return n-16},Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return zi},t.prototype.getWidth=function(){return Gi},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return s.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(n){n.isFocusable=!1},t}(v),Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isButtonSpaceLeftEnabled=function(){return!0},t.prototype.isButtonSpaceRightEnabled=function(){return!0},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(mt),qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t}(Oi),Yi=function(){r.set("DDialogLayeredContent",Vn),r.set("DDialogLayeredFooter",qi),r.set("DDialogLayeredHeaderButtonClose",Ri),r.set("DDialogLayeredHeaderSeparator",Vi),r.set("DDialogLayeredHeader",Ai),r.set("DDialogLayered",An)},Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(it),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return""},t}(An),Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t}(Wi),Zi=function(){r.set("DDialogConfirm",Ki),r.set("DDialogConfirmMessage",Xi)},ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(Ki),Ji=function(){r.set("DDialogConfirmDelete",ji)},Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(Ki),$i=function(){r.set("DDialogConfirmDiscard",Qi)},no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Wi),to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}(no),ro=function(){r.set("DDialogMessage",to)};t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>');var uo=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(Xi),eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Wi),io=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return io},t}(eo),co=function(){r.set("DDialogProcessing",oo),r.set("DDialogProcessingMessage",uo)},fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Qn),ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(fo),lo=function(){r.set("DDialogSaveAs",ao)},so=function(){_e(),Ie(),Ji(),$i(),Zi(),ti(),ci(),qn(),Wn(),Zn(),Jn(),$n(),Yi(),ro(),co(),lo(),mi(),wi(),nt()},ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(mt),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"OFF"},t}(Do),ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"ON"},t}(ko),po=function(){r.set("DInputBoolean",ho),r.set("DInputBooleanButtonOn",To),r.set("DInputBooleanButtonOff",mo)},go=function(){Tt(),po(),Ut(),Ht(),Gt(),qt(),rr(),ur()};const bo=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var wo=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:bo.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:bo.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:bo.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n}(),yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabelOpenLink=function(){return"Open"},t.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},t.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},t}(wo),Io=function(){r.set("DLink",yo)},Co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getInteractive=function(){return i.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Co),Bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(vo),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Co),So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(xo),Mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Co),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Mo),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFontSize=function(){return 18},t}(Co),Lo=function(n){function t(){var t=n.call(this)||this;return t.L=Br.get("DNoteError"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(_o),Po=function(n){function t(){var t=n.call(this)||this;return t.L=Br.get("DNoteNoItemsFound"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(_o),Fo=function(n){function t(){var t=n.call(this)||this;return t.L=Br.get("DNoteSearching"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(_o),Uo=function(){r.set("DNote",Co),r.set("DNoteError",Bo),r.set("DNoteNoItemsFound",So),r.set("DNoteSearching",Eo),r.set("DNoteSmallError",Lo),r.set("DNoteSmallNoItemsFound",Po),r.set("DNoteSmallSearching",Fo)},No=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t}(cr),Ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return c.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),Ho=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(ue.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(ue.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(ue.END)?o.ALL:o.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return c.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=l.brighten(t.BACKGROUND_COLOR,.03),n.BACKGROUND_COLOR_FROZEN_ODD=l.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.03),n.BORDER_COLOR=l.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.035),n}(),Ro=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return Ho.getImageTintColor(n,!0)},n}(),zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Ro.init();var Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Ro.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ro.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(zo);Ro.init();var Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Ro.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ro.getImageSource(n)},t}(rt),Oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Ro.init();var qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Ro.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ro.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Oo),Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getImageTintColor=function(n){return Ho.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(v),Xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Yo),Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Ho.getImageTintColor(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(E),Ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(ke),Zo=function(n){return Pe.format(n)},jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getTextFormatter=function(){return Zo},t.prototype.newTextValue=function(){return new Date},t}(N),Jo=function(n,t){return ui.format(n,t.getDatetimeMask())},Qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getTextFormatter=function(){return Jo},t.prototype.newTextValue=function(){return new Date},t}(N),$o=function(n){return String(Number(n)+1)},nc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return $o},t.prototype.newTextValue=function(){return 0},t}(v),tc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(Ft),rc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(zt),uc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(Vt),ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t}(tr);ee.init();var ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(d),oc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Vt),cc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageSource=function(n){return ee.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),fc=function(n){function t(){var t=n.call(this)||this;return t._=Br.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageTintColor=function(n){return Ho.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return this._.getImageSource(n)},t}(Xo),ac=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(ku),lc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(pu),sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t}(Yo),hc=function(n,t){return Ti.format(n,t.getDatetimeMask())},Dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Ho.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ho.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ho.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ho.getBorderMask(n)},t.prototype.getColor=function(n){return Ho.getColor(n)},t.prototype.getAlpha=function(n){return Ho.getAlpha(n)},t.prototype.getHeight=function(){return Ho.getHeight()},t.prototype.getCornerMask=function(){return Ho.getCornerMask()},t.prototype.getTextFormatter=function(){return hc},t.prototype.newTextValue=function(){return new Date},t}(N);ee.init();var dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return ee.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Xo),mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(mt),kc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(mc),Tc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return o.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(mc),pc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Tc);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var gc=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=l.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=l.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.05),t}return e(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(ue.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(ue.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(ue.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(ue.END)?o.ALL:o.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return p.CENTER},r.prototype.getCornerMask=function(){return c.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(ue.CHECKABLE)?M.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(ue.CHECKABLE)?M.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(ue.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(ue.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return w.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(ue.CHECKABLE)||n.is(ue.SORTABLE))?"pointer":""},r}(it),bc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gc),wc=function(){r.set("DTableBodyCellActionDialog",Go),r.set("DTableBodyCellActionMenu",Vo),r.set("DTableBodyCellActionPromise",qo),r.set("DTableBodyCellButton",Xo),r.set("DTableBodyCellCheck",Wo),r.set("DTableBodyCellColor",Ko),r.set("DTableBodyCellDate",jo),r.set("DTableBodyCellDatetime",Qo),r.set("DTableBodyCellIndex",nc),r.set("DTableBodyCellInputInteger",tc),r.set("DTableBodyCellInputReal",rc),r.set("DTableBodyCellInputTextArea",ec),r.set("DTableBodyCellInputText",uc),r.set("DTableBodyCellInputTreeMarker",cc),r.set("DTableBodyCellInputTreeInput",oc),r.set("DTableBodyCellInputTree",ic),r.set("DTableBodyCellLink",fc),r.set("DTableBodyCellSelectDialog",zo),r.set("DTableBodyCellSelectMenu",ac),r.set("DTableBodyCellSelectMultiple",lc),r.set("DTableBodyCellSelectPromise",Oo),r.set("DTableBodyCellTextArea",sc),r.set("DTableBodyCellText",Yo),r.set("DTableBodyCellTree",dc),r.set("DTableBodyCellTime",Dc),r.set("DTableBodyRow",kc),r.set("DTableBody",Ao),r.set("DTableCategoryCell",bc),r.set("DTableCategory",pc),r.set("DTableHeaderCell",gc),r.set("DTableHeader",Tc),r.set("DTableRow",mc),r.set("DTable",No),P(),Ce(),ri(),fi(),Ut(),Gt(),rr(),ur(),mi(),Nr()};t.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>'),t.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>'),t.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 yc=function(n){return n.isProcessing?t.mappings.button_process_processing:n.isSucceeded?t.mappings.button_process_success:t.mappings.button_process_fail},Ic=function(n){var t=n.valueOf(vr.PROCESSING);return null!=t?t*Math.PI*.02:0},Cc=function(){function n(){}return n.prototype.getProcessDoneDelay=function(){return 400},n.prototype.getProcessCloseDelay=function(){return 3e3},n.prototype.isProcessTextEnabled=function(){return!1},n.prototype.isProcessImageEnabled=function(){return!0},n.prototype.getProcessImageIndex=function(){return 0},n.prototype.newProcessImageSource=function(){return yc},n.prototype.newProcessImageRotation=function(){return Ic},n}(),vc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newProcessTextValue=function(){return io},t}(Cc),Bc=function(){r.set("DIndicatorProcessing",vc)},xc=function(){de(),m(),T(),Ii(),De(),Q(),Bn(),Mn(),Ni(),_i(),so(),ct(),Dt(),dt(),Bc(),go(),ir(),Io(),hr(),le(),Ar(),$r(),Nr(),Uo(),Du(),fu(),Ee(),ye(),ni(),$e(),Qe(),gu(),wc(),re(),te()},Sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Wi),Mc={__proto__:null,loadThemeDarkBase:m,loadThemeDarkBoard:T,loadThemeDarkButtonAmbient:S,loadThemeDarkButtonCheckRight:L,loadThemeDarkButtonCheck:P,loadThemeDarkButtonDanger:U,loadThemeDarkButtonFile:H,loadThemeDarkButtonLink:z,loadThemeDarkButtonPrimary:V,loadThemeDarkButtonRadioRight:Y,loadThemeDarkButtonRadio:X,loadThemeDarkButtonSecondary:K,loadThemeDarkButton:Z,loadThemeDarkCanvasContainer:Q,loadThemeDarkChart:Bn,loadThemeDarkColor:Mn,loadThemeDarkDialogFitted:qn,loadThemeDarkDialogInputBoolean:Wn,loadThemeDarkDialogInputInteger:Zn,loadThemeDarkDialogInputReal:Jn,loadThemeDarkDialogInputText:$n,loadThemeDarkDialog:nt,loadThemeDarkDropdown:ut,loadThemeDarkExpandable:ct,loadThemeDarkHtmlElement:Dt,loadThemeDarkImage:dt,loadThemeDarkInputAndLabel:Tt,loadThemeDarkInputInteger:Ut,loadThemeDarkInputLabel:Ht,loadThemeDarkInputReal:Gt,loadThemeDarkInputSearch:qt,loadThemeDarkInputTextArea:rr,loadThemeDarkInputText:ur,loadThemeDarkLayout:ir,loadThemeDarkList:hr,loadThemeDarkMenuBar:Ar,loadThemeDarkMenuSided:$r,loadThemeDarkMenu:Nr,loadThemeDarkPagination:fu,loadThemeDarkPane:Du,loadThemeDarkScrollBar:hu,loadThemeDarkSelect:gu,loadThemeDarkShapeActionValue:Gu,loadThemeDarkShape:qu,loadThemeDarkSlider:te,loadThemeDarkText:re,loadThemeDarkTree:le,loadThemeDarkView:De,loadThemeDark:de,loadThemeDarkEnUsAll:xc,loadThemeDarkEnUsButtonAll:Ii,loadThemeDarkEnUsButtonColorGradient:Le,loadThemeDarkEnUsButtonColor:Ce,loadThemeDarkEnUsButtonDate:ri,loadThemeDarkEnUsButtonDatetime:fi,loadThemeDarkEnUsButtonSelect:ki,loadThemeDarkEnUsButtonTime:yi,loadThemeDarkEnUsDiagramEditor:Ni,loadThemeDarkEnUsDiagram:_i,loadThemeDarkEnUsDialogAll:so,loadThemeDarkEnUsDialogColorGradient:_e,loadThemeDarkEnUsDialogColor:Ie,loadThemeDarkEnUsDialogConfirmDelete:Ji,loadThemeDarkEnUsDialogConfirmDiscard:$i,loadThemeDarkEnUsDialogConfirm:Zi,loadThemeDarkEnUsDialogDate:ti,loadThemeDarkEnUsDialogDatetime:ci,loadThemeDarkEnUsDialogLayered:Yi,loadThemeDarkEnUsDialogMessage:ro,loadThemeDarkEnUsDialogProcessing:co,loadThemeDarkEnUsDialogSaveAs:lo,loadThemeDarkEnUsDialogSelect:mi,loadThemeDarkEnUsDialogTime:wi,loadThemeDarkEnUsIndicatorProcessing:Bc,loadThemeDarkEnUsInputAll:go,loadThemeDarkEnUsInputBoolean:po,loadThemeDarkEnUsLink:Io,loadThemeDarkEnUsNote:Uo,loadThemeDarkEnUsPickerColorGradient:Ee,loadThemeDarkEnUsPickerColor:ye,loadThemeDarkEnUsPickerDate:ni,loadThemeDarkEnUsPickerDatetime:$e,loadThemeDarkEnUsPickerTime:Qe,loadThemeDarkEnUsShapePointsFormatter:Ei,loadThemeDarkEnUsTable:wc,DThemeDarkAtlas:t,DThemeDarkBase:d,DThemeDarkBoard:k,DThemeDarkButtonAmbient:x,DThemeDarkButtonBase:B,DThemeDarkButtonCheckRight:_,DThemeDarkButtonCheck:E,DThemeDarkButtonChecks:M,DThemeDarkButtonColorGradient:xe,DThemeDarkButtonColor:ke,DThemeDarkButtonDanger:F,DThemeDarkButtonDate:Ue,DThemeDarkButtonDatetime:ii,DThemeDarkButtonFile:A,DThemeDarkButtonLink:R,DThemeDarkButtonPrimary:G,DThemeDarkButtonRadioRight:q,DThemeDarkButtonRadio:O,DThemeDarkButtonSecondary:W,DThemeDarkButtonSelect:li,DThemeDarkButtonTime:gi,DThemeDarkButton:N,DThemeDarkCanvasContainer:J,DThemeDarkCanvas:j,DThemeDarkChartAxisBase:on,DThemeDarkChartAxisXDatetime:an,DThemeDarkChartAxisX:cn,DThemeDarkChartAxisY:ln,DThemeDarkChartCoordinateTick:hn,DThemeDarkChartCoordinateTransform:Dn,DThemeDarkChartCoordinate:sn,DThemeDarkChartLegendItem:mn,DThemeDarkChartLegend:dn,DThemeDarkChartOverview:kn,DThemeDarkChartPlotArea:Tn,DThemeDarkChartSelectionGridlineX:yn,DThemeDarkChartSelectionGridlineY:In,DThemeDarkChartSelectionMarker:vn,DThemeDarkChartSelectionShape:wn,DThemeDarkChart:$,DThemeDarkColorRecent:xn,DThemeDarkColorStandard:Sn,DThemeDarkConstants:s,DThemeDarkContent:au,DThemeDarkDiagramBase:Ci,DThemeDarkDiagramCanvasBase:Bi,DThemeDarkDiagramCanvasEditor:Pi,DThemeDarkDiagramCanvas:xi,DThemeDarkDiagramEditor:Fi,DThemeDarkDiagram:vi,DThemeDarkDialogColorGradient:Se,DThemeDarkDialogColor:Te,DThemeDarkDialogConfirmDelete:Sc,DThemeDarkDialogConfirmMessage:Xi,DThemeDarkDialogConfirm:Wi,DThemeDarkDialogDate:Ne,DThemeDarkDialogDatetime:oi,DThemeDarkDialogFittedContent:On,DThemeDarkDialogFitted:Hn,DThemeDarkDialogInputBoolean:Xn,DThemeDarkDialogInputInteger:Kn,DThemeDarkDialogInputReal:jn,DThemeDarkDialogInputText:Qn,DThemeDarkDialogInput:Yn,DThemeDarkDialogLayeredContent:Vn,DThemeDarkDialogLayeredFooter:Oi,DThemeDarkDialogLayeredHeaderButtonClose:Ri,DThemeDarkDialogLayeredHeaderSeparator:Vi,DThemeDarkDialogLayeredHeader:Ai,DThemeDarkDialogLayered:An,DThemeDarkDialogMessage:no,DThemeDarkDialogProcessingMessage:uo,DThemeDarkDialogProcessing:eo,DThemeDarkDialogSaveAs:fo,DThemeDarkDialogSelectListItem:hi,DThemeDarkDialogSelectList:si,DThemeDarkDialogSelect:Di,DThemeDarkDialogTime:bi,DThemeDarkDialog:Nn,DThemeDarkDropdownBase:tt,DThemeDarkDropdown:rt,DThemeDarkExpandableHeader:ot,DThemeDarkExpandable:et,DThemeDarkExpandables:yr,DThemeDarkFont:h,DThemeDarkHtmlElement:ht,DThemeDarkImageBase:v,DThemeDarkImage:it,DThemeDarkIndicatorProcess:Cc,DThemeDarkInputAndLabel:kt,DThemeDarkInputBooleanButtonOff:Do,DThemeDarkInputBooleanButtonOn:ko,DThemeDarkInputBoolean:ho,DThemeDarkInputInput:_t,DThemeDarkInputInteger:Ft,DThemeDarkInputLabel:At,DThemeDarkInputNumber:Lt,DThemeDarkInputReal:zt,DThemeDarkInputSearch:Ot,DThemeDarkInputTextArea:tr,DThemeDarkInputText:Vt,DThemeDarkInput:bt,DThemeDarkLayoutHorizontal:mt,DThemeDarkLayoutSpace:er,DThemeDarkLayoutVertical:Gn,DThemeDarkLayout:zn,DThemeDarkLink:wo,DThemeDarkListItemAmbient:sr,DThemeDarkListItem:lr,DThemeDarkListItems:ar,DThemeDarkList:fr,DThemeDarkMenuBarItem:dr,DThemeDarkMenuBar:Dr,DThemeDarkMenuItemBase:kr,DThemeDarkMenuItemCheck:gr,DThemeDarkMenuItemExpandableBody:wr,DThemeDarkMenuItemExpandableHeader:Ir,DThemeDarkMenuItemExpandableItemCheck:Cr,DThemeDarkMenuItemExpandableItemLink:Sr,DThemeDarkMenuItemExpandableItemMenu:Er,DThemeDarkMenuItemExpandableItemSeparator:Lr,DThemeDarkMenuItemExpandableItemSpace:Fr,DThemeDarkMenuItemExpandableItemText:Ur,DThemeDarkMenuItemExpandable:br,DThemeDarkMenuItemLink:xr,DThemeDarkMenuItemMenu:Mr,DThemeDarkMenuItemSeparator:_r,DThemeDarkMenuItemSpace:Pr,DThemeDarkMenuItemText:pr,DThemeDarkMenuItem:Tr,DThemeDarkMenuSidedContent:Rr,DThemeDarkMenuSidedItemCheck:zr,DThemeDarkMenuSidedItemExpandableItemCheck:Vr,DThemeDarkMenuSidedItemExpandableItemLink:Or,DThemeDarkMenuSidedItemExpandableItemMenu:qr,DThemeDarkMenuSidedItemExpandableItemSeparator:Yr,DThemeDarkMenuSidedItemExpandableItemSpace:Xr,DThemeDarkMenuSidedItemExpandableItemText:Wr,DThemeDarkMenuSidedItemExpandable:Gr,DThemeDarkMenuSidedItemLink:Kr,DThemeDarkMenuSidedItemMenu:Zr,DThemeDarkMenuSidedItemSeparator:jr,DThemeDarkMenuSidedItemSpace:Jr,DThemeDarkMenuSidedItemText:Qr,DThemeDarkMenuSided:Hr,DThemeDarkMenu:mr,DThemeDarkNoteError:vo,DThemeDarkNoteNoItemsFound:xo,DThemeDarkNoteSearching:Mo,DThemeDarkNoteSmallError:Lo,DThemeDarkNoteSmallNoItemsFound:Po,DThemeDarkNoteSmallSearching:Fo,DThemeDarkNoteSmall:_o,DThemeDarkNote:Co,DThemeDarkPaginationButtonLast:ru,DThemeDarkPaginationButtonNext:uu,DThemeDarkPaginationButtonPage:eu,DThemeDarkPaginationButtonPrevious:iu,DThemeDarkPaginationButtonTop:ou,DThemeDarkPaginationDots:tu,DThemeDarkPaginationPage:cu,DThemeDarkPagination:nu,DThemeDarkPane:cr,DThemeDarkPickerColorGradient:Me,DThemeDarkPickerColor:be,DThemeDarkPickerDatetimeButtonBack:Xe,DThemeDarkPickerDatetimeButtonDate:We,DThemeDarkPickerDatetimeButtonNext:Ke,DThemeDarkPickerDatetimeLabelDate:je,DThemeDarkPickerDatetimeLabel:Ze,DThemeDarkPickerDatetimeSpace:Je,DThemeDarkPickerTime:He,DThemeDarkScrollBarThumb:su,DThemeDarkScrollBar:lu,DThemeDarkSelectMultiple:pu,DThemeDarkSelect:ku,DThemeDarkSliderHorizontal:Xu,DThemeDarkSliderLabel:Wu,DThemeDarkSliderThumb:Zu,DThemeDarkSliderTrackHorizontal:Ju,DThemeDarkSliderTrackVertical:Qu,DThemeDarkSliderTrack:ju,DThemeDarkSliderValue:$u,DThemeDarkSliderVertical:ne,DThemeDarkSlider:Yu,DThemeDarkSliders:Ku,DThemeDarkTableBodyCellActionDialog:Go,DThemeDarkTableBodyCellActionMenu:Vo,DThemeDarkTableBodyCellActionPromise:qo,DThemeDarkTableBodyCellActions:Ro,DThemeDarkTableBodyCellButton:Xo,DThemeDarkTableBodyCellCheck:Wo,DThemeDarkTableBodyCellColor:Ko,DThemeDarkTableBodyCellDate:jo,DThemeDarkTableBodyCellDatetime:Qo,DThemeDarkTableBodyCellIndex:nc,DThemeDarkTableBodyCellInputInteger:tc,DThemeDarkTableBodyCellInputReal:rc,DThemeDarkTableBodyCellInputTextArea:ec,DThemeDarkTableBodyCellInputText:uc,DThemeDarkTableBodyCellInputTreeInput:oc,DThemeDarkTableBodyCellInputTreeMarker:cc,DThemeDarkTableBodyCellInputTree:ic,DThemeDarkTableBodyCellLink:fc,DThemeDarkTableBodyCellSelectDialog:zo,DThemeDarkTableBodyCellSelectMenu:ac,DThemeDarkTableBodyCellSelectMultiple:lc,DThemeDarkTableBodyCellSelectPromise:Oo,DThemeDarkTableBodyCellTextArea:sc,DThemeDarkTableBodyCellText:Yo,DThemeDarkTableBodyCellTime:Dc,DThemeDarkTableBodyCellTree:dc,DThemeDarkTableBodyCellTrees:ee,DThemeDarkTableBodyCells:Ho,DThemeDarkTableBodyRow:kc,DThemeDarkTableBody:Ao,DThemeDarkTableCategoryCell:bc,DThemeDarkTableCategory:pc,DThemeDarkTableHeaderCell:gc,DThemeDarkTableHeader:Tc,DThemeDarkTableRow:mc,DThemeDarkTable:No,DThemeDarkTextBase:C,DThemeDarkText:Nt,DThemeDarkTreeItemButton:fe,DThemeDarkTreeItemNonEditable:ae,DThemeDarkTreeItemText:ce,DThemeDarkTreeItems:ie,DThemeDarkTree:oe,DThemeDarkView:he,DThemeDark:r,EThemeDarkShapeActionValue:zu,EThemeDarkShapePointsFormatter:Si,EThemeDarkShape:Ou,DThemeDarkEnUsDiagramEditor:Ui,DThemeDarkEnUsDialogConfirmDelete:ji,DThemeDarkEnUsDialogConfirmDiscard:Qi,DThemeDarkEnUsDialogConfirm:Ki,DThemeDarkEnUsDialogLayeredFooter:qi,DThemeDarkEnUsDialogMessage:to,dThemeDarkEnUsDialogProcessingMessage:io,DThemeDarkEnUsDialogProcessing:oo,DThemeDarkEnUsDialogSaveAs:ao,DThemeDarkEnUsDialogSelect:di,DThemeDarkEnUsIndicatorProcessing:vc,DThemeDarkEnUsInputBooleanButtonOff:mo,DThemeDarkEnUsInputBooleanButtonOn:To,DThemeDarkEnUsLink:yo,DThemeDarkEnUsNoteError:Bo,DThemeDarkEnUsNoteNoItemsFound:So,DThemeDarkEnUsNoteSearching:Eo,DThemeDarkEnUsPickerColor:we,DThemeDarkEnUsPickerDate:Ye,DThemeDarkEnUsPickerDatetime:qe,DThemeDarkEnUsPickerTime:Re,EThemeDarkEnUsShapePointsFormatter:Mi};xc();var Ec=window;Ec.wcardinal=Ec.wcardinal||{};var _c=Ec.wcardinal.ui=Ec.wcardinal.ui||{},Lc=Mc;for(var Pc in Lc)_c[Pc]=Lc[Pc]}(PIXI);
10
10
  //# sourceMappingURL=wcardinal-ui-theme-dark-en-us.min.js.map